diff --git a/.travis.yml b/.travis.yml index 8a82bfef3..f00d2deae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,18 +2,25 @@ language: ruby rvm: - 2.3.0 - 2.2 - - 2.0.0 - 2.1 + - 2.0.0 - jruby-9000 env: - - RAILS_VERSION="~>4.0.0" - - RAILS_VERSION="~>4.1.0" - - RAILS_VERSION="~>4.2.0" + global: + - JRUBY_OPTS='-X-C -J-Xmx1024m -J-XX:+UseConcMarkSweepGC' + matrix: + - RAILS_VERSION="~>4.0.0" + - RAILS_VERSION="~>4.1.0" + - RAILS_VERSION="~>4.2.0" +matrix: + exclude: + - rvm: 2.0.0 + env: RAILS_VERSION="~>4.2.0" script: "bundle exec rake spec:all" before_install: - - sudo apt-get update - - sudo apt-get install idn - - gem update bundler + - sudo apt-get update + - sudo apt-get install idn + - gem update bundler notifications: email: recipients: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b7385351..625c6a53b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,84 @@ -# 0.10.0 +# 0.11.0 * *Breaking Change* - Fix handling of large numbers during code generation. Previously the uint64/int64 formats were passed through as strings. They are now coerced to/from Fixnum/Bignum types -* Remove Hurley as dependency. May cause inor breaking changes if directly accessing the underlying +* Remove Hurley as dependency. May cause minor breaking changes if directly accessing the underlying client connection. * Drop compatibility with Rails 3.x since that is no longer supported by the Rails community. -* Upgrade representable to 3.0 * Upgrade mime-types to 3.0 -* Move Thor & ActiveSupport to development depenencies. Using the code gengerator +* Move Thor & ActiveSupport to development dependencies. Using the code gengerator now requires using the Bundle file or install the gem with dev dependencies. * Treat 429 status codes as rate limit errors * Fix a potential download corruption if download interrupted and retried against a URL that does not return partial content. +# 0.10.2 +* Regenerate APIs + +# 0.10.1 +* Regenerate APIs +* Add `cloudkms:v1` + +# 0.10.0 +* Regenerate APIs +* Some exceptions are more descriptive for specific errors +* `representable` dependency bumped to `~> 3.0` + * Breaking change for `skip_undefined` option under `to_json`: + + Should now pass `foo.to_json(user_options: { skip_undefined: true })` + instead of `foo.to_json(skip_undefined: true)` +* `retriable` dependency bumped to `>= 2.0, < 4.0` + +# 0.9.28 +* Fix file permissions issue + +# 0.9.27 +* Allow abnormal page token cases for paging methods +* Regenerate APIs + +# 0.9.26 +* Update gem to reflect changes in 0.9.25 + +# 0.9.25 +* Regenerate APIs +* Add `cloudkms:v1beta1` +* Add `manufacturers:v1` + +# 0.9.24 +* Regenerate APIs +* Add `dfareporting:v2.7` +* Fix file permissions issue present in released gems for versions `0.9.21` through `0.9.23` + +# 0.9.23 +* Regenerate APIs +* Add `dns:v2beta1` + +# 0.9.22 +* Regenerate APIs + +# 0.9.21 +* Regenerate APIs + +# 0.9.20 +* Regenerate APIs +* Add Slides API + +# 0.9.19 +* Regenerate APIs +* Add Adexchangebuyer2 API + +# 0.9.15 +* Add datastore v1 +* Regenerate APIs + +# 0.9.14 +* Fix error handling with downloads, no longer fails silently +* Prevent form-encoding query parameters for APIs that don't expect it +* Regenerate APIs + +# 0.9.13 +* Fix fetch_all to work correctly with the genomics API +* Add speech & language APIs, regenerate APIs + # 0.9.12 * Regenerated APIs diff --git a/Gemfile b/Gemfile index 238047f1a..04db01b79 100644 --- a/Gemfile +++ b/Gemfile @@ -25,7 +25,7 @@ end platforms :jruby do group :development do - gem 'jruby-openssl' + gem 'jruby-openssl' end end diff --git a/README.md b/README.md index 1da9ea32b..1b9b19a8f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ migrate to the latest version. Add this line to your application's Gemfile: ```ruby -gem 'google-api-client', '~> 0.9' +gem 'google-api-client', '~> 0.10' ``` @@ -53,6 +53,14 @@ metadata = drive.insert_file(metadata, upload_source: 'test.txt', content_type: # Download a file drive.get_file(metadata.id, download_dest: '/tmp/myfile.txt') ``` +### Naming conventions vs JSON representation + +Object properties in the ruby client use the standard ruby convention for naming -- snake_case. This differs from the underlying JSON representation which typically uses camelCase for properties. There are a few notable exceptions to this rule: + +* For properties that are defined as hashes with user-defined keys, no translation is performed on the key. +* For embedded field masks in requests (for example, the Sheets API), specify the camelCase form when referencing fields. + +Outside those exceptions, if a property is specified using camelCase in a request, it will be ignored during serialization and omitted from the request. ### Media @@ -306,7 +314,7 @@ A URL can also be specified: ## License This library is licensed under Apache 2.0. Full license text is -available in [LICENSE.txt](LICENSE.txt). +available in [LICENSE](LICENSE). ## Contributing diff --git a/api_names.yaml b/api_names.yaml index 2ec57a2b0..6fa76328f 100644 --- a/api_names.yaml +++ b/api_names.yaml @@ -416,7 +416,6 @@ "/compute:beta/compute.instanceGroups.listInstances": list_instance_group_instances "/compute:beta/compute.instanceGroups.removeInstances": remove_instance_group_instances "/compute:beta/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports -"/compute:v1/DiskMoveRequest": move_disk_request "/compute:v1/InstanceMoveRequest": move_instance_request "/compute:v1/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request "/compute:v1/TargetPoolsAddInstanceRequest": add_target_pools_instance_request @@ -496,76 +495,58 @@ "/container:v1/container.projects.zones.operations.list": list_zone_operations "/container:v1/container.projects.zones.tokens.get": get_zone_token "/content:v2/AccountsAuthInfoResponse": accounts_auth_info_response -"/content:v2/AccountsCustomBatchRequest": accounts_custom_batch_request "/content:v2/AccountsCustomBatchRequest": batch_accounts_request "/content:v2/AccountsCustomBatchRequestEntry": accounts_batch_request_entry "/content:v2/AccountsCustomBatchRequestEntry/method": request_method "/content:v2/AccountsCustomBatchResponse": batch_accounts_response -"/content:v2/AccountsCustomBatchResponse": batch_accounts_response "/content:v2/AccountsCustomBatchResponseEntry": accounts_batch_response_entry "/content:v2/AccountsListResponse": list_accounts_response "/content:v2/AccountshippingCustomBatchRequest": batch_account_shipping_request -"/content:v2/AccountshippingCustomBatchRequest": batch_account_shipping_request "/content:v2/AccountshippingCustomBatchRequestEntry": account_shipping_batch_request_entry "/content:v2/AccountshippingCustomBatchRequestEntry/method": request_method "/content:v2/AccountshippingCustomBatchResponse": batch_account_shipping_response -"/content:v2/AccountshippingCustomBatchResponse": batch_account_shipping_response "/content:v2/AccountshippingCustomBatchResponseEntry": account_shipping_batch_response_entry "/content:v2/AccountshippingListResponse": list_account_shipping_response "/content:v2/AccountstatusesCustomBatchRequest": batch_account_statuses_request -"/content:v2/AccountstatusesCustomBatchRequest": batch_account_statuses_request "/content:v2/AccountstatusesCustomBatchRequestEntry": account_statuses_batch_request_entry "/content:v2/AccountstatusesCustomBatchRequestEntry/method": request_method "/content:v2/AccountstatusesCustomBatchResponse": batch_account_statuses_response -"/content:v2/AccountstatusesCustomBatchResponse": batch_account_statuses_response "/content:v2/AccountstatusesCustomBatchResponseEntry": account_statuses_batch_response_entry "/content:v2/AccountstatusesListResponse": list_account_statuses_response "/content:v2/AccounttaxCustomBatchRequest": batch_account_tax_request -"/content:v2/AccounttaxCustomBatchRequest": batch_account_tax_request "/content:v2/AccounttaxCustomBatchRequestEntry": account_tax_batch_request_entry "/content:v2/AccounttaxCustomBatchRequestEntry/method": request_method "/content:v2/AccounttaxCustomBatchResponse": batch_account_tax_response -"/content:v2/AccounttaxCustomBatchResponse": batch_account_tax_response "/content:v2/AccounttaxCustomBatchResponseEntry": account_tax_batch_response_entry "/content:v2/AccounttaxListResponse": list_account_tax_response "/content:v2/DatafeedsCustomBatchRequest": batch_datafeeds_request -"/content:v2/DatafeedsCustomBatchRequest": batch_datafeeds_request "/content:v2/DatafeedsCustomBatchRequestEntry": datafeeds_batch_request_entry "/content:v2/DatafeedsCustomBatchRequestEntry/method": request_method "/content:v2/DatafeedsCustomBatchResponse": batch_datafeeds_response -"/content:v2/DatafeedsCustomBatchResponse": batch_datafeeds_response "/content:v2/DatafeedsCustomBatchResponseEntry": datafeeds_batch_response_entry "/content:v2/DatafeedsListResponse": list_datafeeds_response "/content:v2/DatafeedstatusesCustomBatchRequest": batch_datafeed_statuses_request -"/content:v2/DatafeedstatusesCustomBatchRequest": batch_datafeed_statuses_request "/content:v2/DatafeedstatusesCustomBatchRequestEntry": datafeed_statuses_batch_request_entry "/content:v2/DatafeedstatusesCustomBatchRequestEntry/method": request_method "/content:v2/DatafeedstatusesCustomBatchResponse": batch_datafeed_statuses_response -"/content:v2/DatafeedstatusesCustomBatchResponse": batch_datafeed_statuses_response "/content:v2/DatafeedstatusesCustomBatchResponseEntry": datafeed_statuses_batch_response_entry "/content:v2/DatafeedstatusesListResponse": list_datafeed_statuses_response "/content:v2/InventoryCustomBatchRequest": batch_inventory_request -"/content:v2/InventoryCustomBatchRequest": batch_inventory_request "/content:v2/InventoryCustomBatchRequestEntry": inventory_batch_request_entry "/content:v2/InventoryCustomBatchResponse": batch_inventory_response -"/content:v2/InventoryCustomBatchResponse": batch_inventory_response "/content:v2/InventoryCustomBatchResponseEntry": inventory_batch_response_entry "/content:v2/InventorySetRequest": set_inventory_request "/content:v2/InventorySetResponse": set_inventory_response "/content:v2/ProductsCustomBatchRequest": batch_products_request -"/content:v2/ProductsCustomBatchRequest": batch_products_request "/content:v2/ProductsCustomBatchRequestEntry": products_batch_request_entry "/content:v2/ProductsCustomBatchRequestEntry/method": request_method "/content:v2/ProductsCustomBatchResponse": batch_products_response -"/content:v2/ProductsCustomBatchResponse": batch_products_response "/content:v2/ProductsCustomBatchResponseEntry": products_batch_response_entry "/content:v2/ProductsListResponse": list_products_response "/content:v2/ProductstatusesCustomBatchRequest": batch_product_statuses_request -"/content:v2/ProductstatusesCustomBatchRequest": batch_product_statuses_request "/content:v2/ProductstatusesCustomBatchRequestEntry": product_statuses_batch_request_entry "/content:v2/ProductstatusesCustomBatchRequestEntry/method": request_method "/content:v2/ProductstatusesCustomBatchResponse": batch_product_statuses_response -"/content:v2/ProductstatusesCustomBatchResponse": batch_product_statuses_response "/content:v2/ProductstatusesCustomBatchResponseEntry": product_statuses_batch_response_entry "/content:v2/ProductstatusesListResponse": list_product_statuses_response "/content:v2/content.accounts.authinfo": get_account_authinfo @@ -619,15 +600,16 @@ "/dataproc:v1/dataproc.projects.regions.operations.list": list_operations "/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation "/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request "/datastore:v1beta2/BeginTransactionResponse": begin_transaction_response -"/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response -"/deploymentmanager:v2/ManifestsListResponse": list_manifests_response -"/deploymentmanager:v2/OperationsListResponse": list_operations_response -"/deploymentmanager:v2/ResourcesListResponse": list_resources_response -"/deploymentmanager:v2/TypesListResponse": list_types_response +"/datastore:v1/AllocateIdsRequest": allocate_ids_request +"/datastore:v1/AllocateIdsResponse": allocate_ids_response +"/datastore:v1/BeginTransactionRequest": begin_transaction_request +"/datastore:v1/BeginTransactionResponse": begin_transaction_response "/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response "/deploymentmanager:v2/ManifestsListResponse": list_manifests_response "/deploymentmanager:v2/OperationsListResponse": list_operations_response @@ -810,7 +792,7 @@ "/genomics:v1/genomics.variantsets.search": search_variant_sets "/genomics:v1/genomics.referencesets.search": search_reference_sets "/gmail:v1/gmail.users.getProfile": get_user_profile -"/groupssettings:v1?force_alt_json" : true +"/groupssettings:v1?force_alt_json": true "/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest": set_project_config_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest": create_auth_uri_request "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest": delete_account_request @@ -1050,3 +1032,37113 @@ "/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission "/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions +"/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech +"/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech +"/youtubePartner:v1/fields": fields +"/youtubePartner:v1/key": key +"/youtubePartner:v1/quotaUser": quota_user +"/youtubePartner:v1/userIp": user_ip +"/youtubePartner:v1/youtubePartner.assetLabels.insert": insert_asset_label +"/youtubePartner:v1/youtubePartner.assetLabels.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetLabels.list": list_asset_labels +"/youtubePartner:v1/youtubePartner.assetLabels.list/labelPrefix": label_prefix +"/youtubePartner:v1/youtubePartner.assetLabels.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetLabels.list/q": q +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get": get_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch": patch_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update": update_asset_match_policy +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetMatchPolicy.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.delete": delete_asset_relationship +"/youtubePartner:v1/youtubePartner.assetRelationships.delete/assetRelationshipId": asset_relationship_id +"/youtubePartner:v1/youtubePartner.assetRelationships.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.insert": insert_asset_relationship +"/youtubePartner:v1/youtubePartner.assetRelationships.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.list": list_asset_relationships +"/youtubePartner:v1/youtubePartner.assetRelationships.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetRelationships.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetRelationships.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assetSearch.list": list_asset_searches +"/youtubePartner:v1/youtubePartner.assetSearch.list/createdAfter": created_after +"/youtubePartner:v1/youtubePartner.assetSearch.list/createdBefore": created_before +"/youtubePartner:v1/youtubePartner.assetSearch.list/hasConflicts": has_conflicts +"/youtubePartner:v1/youtubePartner.assetSearch.list/includeAnyProvidedlabel": include_any_providedlabel +"/youtubePartner:v1/youtubePartner.assetSearch.list/isrcs": isrcs +"/youtubePartner:v1/youtubePartner.assetSearch.list/labels": labels +"/youtubePartner:v1/youtubePartner.assetSearch.list/metadataSearchFields": metadata_search_fields +"/youtubePartner:v1/youtubePartner.assetSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetSearch.list/ownershipRestriction": ownership_restriction +"/youtubePartner:v1/youtubePartner.assetSearch.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assetSearch.list/q": q +"/youtubePartner:v1/youtubePartner.assetSearch.list/sort": sort +"/youtubePartner:v1/youtubePartner.assetSearch.list/type": type +"/youtubePartner:v1/youtubePartner.assetShares.list": list_asset_shares +"/youtubePartner:v1/youtubePartner.assetShares.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetShares.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetShares.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.assets.get": get_asset +"/youtubePartner:v1/youtubePartner.assets.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.get/fetchMatchPolicy": fetch_match_policy +"/youtubePartner:v1/youtubePartner.assets.get/fetchMetadata": fetch_metadata +"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnership": fetch_ownership +"/youtubePartner:v1/youtubePartner.assets.get/fetchOwnershipConflicts": fetch_ownership_conflicts +"/youtubePartner:v1/youtubePartner.assets.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.insert": insert_asset +"/youtubePartner:v1/youtubePartner.assets.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.list": list_assets +"/youtubePartner:v1/youtubePartner.assets.list/fetchMatchPolicy": fetch_match_policy +"/youtubePartner:v1/youtubePartner.assets.list/fetchMetadata": fetch_metadata +"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnership": fetch_ownership +"/youtubePartner:v1/youtubePartner.assets.list/fetchOwnershipConflicts": fetch_ownership_conflicts +"/youtubePartner:v1/youtubePartner.assets.list/id": id +"/youtubePartner:v1/youtubePartner.assets.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.patch": patch_asset +"/youtubePartner:v1/youtubePartner.assets.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assets.update": update_asset +"/youtubePartner:v1/youtubePartner.assets.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assets.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.delete": delete_campaign +"/youtubePartner:v1/youtubePartner.campaigns.delete/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.get": get_campaign +"/youtubePartner:v1/youtubePartner.campaigns.get/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.insert": insert_campaign +"/youtubePartner:v1/youtubePartner.campaigns.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.list": list_campaigns +"/youtubePartner:v1/youtubePartner.campaigns.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.campaigns.patch": patch_campaign +"/youtubePartner:v1/youtubePartner.campaigns.patch/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.campaigns.update": update_campaign +"/youtubePartner:v1/youtubePartner.campaigns.update/campaignId": campaign_id +"/youtubePartner:v1/youtubePartner.campaigns.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimHistory.get": get_claim_history +"/youtubePartner:v1/youtubePartner.claimHistory.get/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claimHistory.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimSearch.list": list_claim_searches +"/youtubePartner:v1/youtubePartner.claimSearch.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.claimSearch.list/contentType": content_type +"/youtubePartner:v1/youtubePartner.claimSearch.list/createdAfter": created_after +"/youtubePartner:v1/youtubePartner.claimSearch.list/createdBefore": created_before +"/youtubePartner:v1/youtubePartner.claimSearch.list/inactiveReasons": inactive_reasons +"/youtubePartner:v1/youtubePartner.claimSearch.list/includeThirdPartyClaims": include_third_party_claims +"/youtubePartner:v1/youtubePartner.claimSearch.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claimSearch.list/origin": origin +"/youtubePartner:v1/youtubePartner.claimSearch.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.claimSearch.list/partnerUploaded": partner_uploaded +"/youtubePartner:v1/youtubePartner.claimSearch.list/q": q +"/youtubePartner:v1/youtubePartner.claimSearch.list/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.claimSearch.list/sort": sort +"/youtubePartner:v1/youtubePartner.claimSearch.list/status": status +"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedAfter": status_modified_after +"/youtubePartner:v1/youtubePartner.claimSearch.list/statusModifiedBefore": status_modified_before +"/youtubePartner:v1/youtubePartner.claimSearch.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.claims.get": get_claim +"/youtubePartner:v1/youtubePartner.claims.get/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.insert": insert_claim +"/youtubePartner:v1/youtubePartner.claims.insert/isManualClaim": is_manual_claim +"/youtubePartner:v1/youtubePartner.claims.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.list": list_claims +"/youtubePartner:v1/youtubePartner.claims.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.claims.list/id": id +"/youtubePartner:v1/youtubePartner.claims.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.claims.list/q": q +"/youtubePartner:v1/youtubePartner.claims.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.claims.patch": patch_claim +"/youtubePartner:v1/youtubePartner.claims.patch/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.claims.update": update_claim +"/youtubePartner:v1/youtubePartner.claims.update/claimId": claim_id +"/youtubePartner:v1/youtubePartner.claims.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get": get_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch": patch_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update": update_content_owner_advertising_option +"/youtubePartner:v1/youtubePartner.contentOwnerAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.get": get_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.get/contentOwnerId": content_owner_id +"/youtubePartner:v1/youtubePartner.contentOwners.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.contentOwners.list": list_content_owners +"/youtubePartner:v1/youtubePartner.contentOwners.list/fetchMine": fetch_mine +"/youtubePartner:v1/youtubePartner.contentOwners.list/id": id +"/youtubePartner:v1/youtubePartner.contentOwners.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert": insert_live_cuepoint +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/channelId": channel_id +"/youtubePartner:v1/youtubePartner.liveCuepoints.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.metadataHistory.list": list_metadata_histories +"/youtubePartner:v1/youtubePartner.metadataHistory.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.metadataHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.delete": delete_order +"/youtubePartner:v1/youtubePartner.orders.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.delete/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.get": get_order +"/youtubePartner:v1/youtubePartner.orders.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.get/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.insert": insert_order +"/youtubePartner:v1/youtubePartner.orders.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.list": list_orders +"/youtubePartner:v1/youtubePartner.orders.list/channelId": channel_id +"/youtubePartner:v1/youtubePartner.orders.list/contentType": content_type +"/youtubePartner:v1/youtubePartner.orders.list/country": country +"/youtubePartner:v1/youtubePartner.orders.list/customId": custom_id +"/youtubePartner:v1/youtubePartner.orders.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.orders.list/priority": priority +"/youtubePartner:v1/youtubePartner.orders.list/productionHouse": production_house +"/youtubePartner:v1/youtubePartner.orders.list/q": q +"/youtubePartner:v1/youtubePartner.orders.list/status": status +"/youtubePartner:v1/youtubePartner.orders.list/videoId": video_id +"/youtubePartner:v1/youtubePartner.orders.patch": patch_order +"/youtubePartner:v1/youtubePartner.orders.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.patch/orderId": order_id +"/youtubePartner:v1/youtubePartner.orders.update": update_order +"/youtubePartner:v1/youtubePartner.orders.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.orders.update/orderId": order_id +"/youtubePartner:v1/youtubePartner.ownership.get": get_ownership +"/youtubePartner:v1/youtubePartner.ownership.get/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownership.patch": patch_ownership +"/youtubePartner:v1/youtubePartner.ownership.patch/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownership.update": update_ownership +"/youtubePartner:v1/youtubePartner.ownership.update/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownership.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.ownershipHistory.list": list_ownership_histories +"/youtubePartner:v1/youtubePartner.ownershipHistory.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.ownershipHistory.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.get": get_policy +"/youtubePartner:v1/youtubePartner.policies.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.get/policyId": policy_id +"/youtubePartner:v1/youtubePartner.policies.insert": insert_policy +"/youtubePartner:v1/youtubePartner.policies.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.list": list_policies +"/youtubePartner:v1/youtubePartner.policies.list/id": id +"/youtubePartner:v1/youtubePartner.policies.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.list/sort": sort +"/youtubePartner:v1/youtubePartner.policies.patch": patch_policy +"/youtubePartner:v1/youtubePartner.policies.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.patch/policyId": policy_id +"/youtubePartner:v1/youtubePartner.policies.update": update_policy +"/youtubePartner:v1/youtubePartner.policies.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.policies.update/policyId": policy_id +"/youtubePartner:v1/youtubePartner.publishers.get": get_publisher +"/youtubePartner:v1/youtubePartner.publishers.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.publishers.get/publisherId": publisher_id +"/youtubePartner:v1/youtubePartner.publishers.list": list_publishers +"/youtubePartner:v1/youtubePartner.publishers.list/caeNumber": cae_number +"/youtubePartner:v1/youtubePartner.publishers.list/id": id +"/youtubePartner:v1/youtubePartner.publishers.list/ipiNumber": ipi_number +"/youtubePartner:v1/youtubePartner.publishers.list/maxResults": max_results +"/youtubePartner:v1/youtubePartner.publishers.list/namePrefix": name_prefix +"/youtubePartner:v1/youtubePartner.publishers.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.publishers.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.referenceConflicts.get": get_reference_conflict +"/youtubePartner:v1/youtubePartner.referenceConflicts.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.referenceConflicts.get/referenceConflictId": reference_conflict_id +"/youtubePartner:v1/youtubePartner.referenceConflicts.list": list_reference_conflicts +"/youtubePartner:v1/youtubePartner.referenceConflicts.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.referenceConflicts.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.references.get": get_reference +"/youtubePartner:v1/youtubePartner.references.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.get/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.insert": insert_reference +"/youtubePartner:v1/youtubePartner.references.insert/claimId": claim_id +"/youtubePartner:v1/youtubePartner.references.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.list": list_references +"/youtubePartner:v1/youtubePartner.references.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.references.list/id": id +"/youtubePartner:v1/youtubePartner.references.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.list/pageToken": page_token +"/youtubePartner:v1/youtubePartner.references.patch": patch_reference +"/youtubePartner:v1/youtubePartner.references.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.patch/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.patch/releaseClaims": release_claims +"/youtubePartner:v1/youtubePartner.references.update": update_reference +"/youtubePartner:v1/youtubePartner.references.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.references.update/referenceId": reference_id +"/youtubePartner:v1/youtubePartner.references.update/releaseClaims": release_claims +"/youtubePartner:v1/youtubePartner.validator.validate": validate_validator +"/youtubePartner:v1/youtubePartner.validator.validate/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get": get_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.get/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds": get_video_advertising_option_enabled_ads +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.getEnabledAds/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch": patch_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.patch/videoId": video_id +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update": update_video_advertising_option +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.videoAdvertisingOptions.update/videoId": video_id +"/youtubePartner:v1/youtubePartner.whitelists.delete": delete_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.delete/id": id +"/youtubePartner:v1/youtubePartner.whitelists.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.get": get_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.get/id": id +"/youtubePartner:v1/youtubePartner.whitelists.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.insert": insert_whitelist +"/youtubePartner:v1/youtubePartner.whitelists.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.list": list_whitelists +"/youtubePartner:v1/youtubePartner.whitelists.list/id": id +"/youtubePartner:v1/youtubePartner.whitelists.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.whitelists.list/pageToken": page_token +"/youtubePartner:v1/AdBreak": ad_break +"/youtubePartner:v1/AdBreak/midrollSeconds": midroll_seconds +"/youtubePartner:v1/AdBreak/position": position +"/youtubePartner:v1/AdBreak/slot": slot +"/youtubePartner:v1/AdBreak/slot/slot": slot +"/youtubePartner:v1/AdSlot": ad_slot +"/youtubePartner:v1/AdSlot/id": id +"/youtubePartner:v1/AdSlot/type": type +"/youtubePartner:v1/AllowedAdvertisingOptions": allowed_advertising_options +"/youtubePartner:v1/AllowedAdvertisingOptions/adsOnEmbeds": ads_on_embeds +"/youtubePartner:v1/AllowedAdvertisingOptions/kind": kind +"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats": lic_ad_formats +"/youtubePartner:v1/AllowedAdvertisingOptions/licAdFormats/lic_ad_format": lic_ad_format +"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats": ugc_ad_formats +"/youtubePartner:v1/AllowedAdvertisingOptions/ugcAdFormats/ugc_ad_format": ugc_ad_format +"/youtubePartner:v1/Asset": asset +"/youtubePartner:v1/Asset/aliasId": alias_id +"/youtubePartner:v1/Asset/aliasId/alias_id": alias_id +"/youtubePartner:v1/Asset/id": id +"/youtubePartner:v1/Asset/kind": kind +"/youtubePartner:v1/Asset/label": label +"/youtubePartner:v1/Asset/label/label": label +"/youtubePartner:v1/Asset/matchPolicy": match_policy +"/youtubePartner:v1/Asset/matchPolicyEffective": match_policy_effective +"/youtubePartner:v1/Asset/matchPolicyMine": match_policy_mine +"/youtubePartner:v1/Asset/metadata": metadata +"/youtubePartner:v1/Asset/metadataEffective": metadata_effective +"/youtubePartner:v1/Asset/metadataMine": metadata_mine +"/youtubePartner:v1/Asset/ownership": ownership +"/youtubePartner:v1/Asset/ownershipConflicts": ownership_conflicts +"/youtubePartner:v1/Asset/ownershipEffective": ownership_effective +"/youtubePartner:v1/Asset/ownershipMine": ownership_mine +"/youtubePartner:v1/Asset/status": status +"/youtubePartner:v1/Asset/timeCreated": time_created +"/youtubePartner:v1/Asset/type": type +"/youtubePartner:v1/AssetLabel": asset_label +"/youtubePartner:v1/AssetLabel/kind": kind +"/youtubePartner:v1/AssetLabel/labelName": label_name +"/youtubePartner:v1/AssetLabelListResponse": asset_label_list_response +"/youtubePartner:v1/AssetLabelListResponse/items": items +"/youtubePartner:v1/AssetLabelListResponse/items/item": item +"/youtubePartner:v1/AssetLabelListResponse/kind": kind +"/youtubePartner:v1/AssetListResponse": asset_list_response +"/youtubePartner:v1/AssetListResponse/items": items +"/youtubePartner:v1/AssetListResponse/items/item": item +"/youtubePartner:v1/AssetListResponse/kind": kind +"/youtubePartner:v1/AssetMatchPolicy": asset_match_policy +"/youtubePartner:v1/AssetMatchPolicy/kind": kind +"/youtubePartner:v1/AssetMatchPolicy/policyId": policy_id +"/youtubePartner:v1/AssetMatchPolicy/rules": rules +"/youtubePartner:v1/AssetMatchPolicy/rules/rule": rule +"/youtubePartner:v1/AssetRelationship": asset_relationship +"/youtubePartner:v1/AssetRelationship/childAssetId": child_asset_id +"/youtubePartner:v1/AssetRelationship/id": id +"/youtubePartner:v1/AssetRelationship/kind": kind +"/youtubePartner:v1/AssetRelationship/parentAssetId": parent_asset_id +"/youtubePartner:v1/AssetRelationshipListResponse": asset_relationship_list_response +"/youtubePartner:v1/AssetRelationshipListResponse/items": items +"/youtubePartner:v1/AssetRelationshipListResponse/items/item": item +"/youtubePartner:v1/AssetRelationshipListResponse/kind": kind +"/youtubePartner:v1/AssetRelationshipListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetRelationshipListResponse/pageInfo": page_info +"/youtubePartner:v1/AssetSearchResponse": asset_search_response +"/youtubePartner:v1/AssetSearchResponse/items": items +"/youtubePartner:v1/AssetSearchResponse/items/item": item +"/youtubePartner:v1/AssetSearchResponse/kind": kind +"/youtubePartner:v1/AssetSearchResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetSearchResponse/pageInfo": page_info +"/youtubePartner:v1/AssetShare": asset_share +"/youtubePartner:v1/AssetShare/kind": kind +"/youtubePartner:v1/AssetShare/shareId": share_id +"/youtubePartner:v1/AssetShare/viewId": view_id +"/youtubePartner:v1/AssetShareListResponse": asset_share_list_response +"/youtubePartner:v1/AssetShareListResponse/items": items +"/youtubePartner:v1/AssetShareListResponse/items/item": item +"/youtubePartner:v1/AssetShareListResponse/kind": kind +"/youtubePartner:v1/AssetShareListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetShareListResponse/pageInfo": page_info +"/youtubePartner:v1/AssetSnippet": asset_snippet +"/youtubePartner:v1/AssetSnippet/customId": custom_id +"/youtubePartner:v1/AssetSnippet/id": id +"/youtubePartner:v1/AssetSnippet/isrc": isrc +"/youtubePartner:v1/AssetSnippet/iswc": iswc +"/youtubePartner:v1/AssetSnippet/kind": kind +"/youtubePartner:v1/AssetSnippet/timeCreated": time_created +"/youtubePartner:v1/AssetSnippet/title": title +"/youtubePartner:v1/AssetSnippet/type": type +"/youtubePartner:v1/Campaign": campaign +"/youtubePartner:v1/Campaign/campaignData": campaign_data +"/youtubePartner:v1/Campaign/id": id +"/youtubePartner:v1/Campaign/kind": kind +"/youtubePartner:v1/Campaign/status": status +"/youtubePartner:v1/Campaign/timeCreated": time_created +"/youtubePartner:v1/Campaign/timeLastModified": time_last_modified +"/youtubePartner:v1/CampaignData": campaign_data +"/youtubePartner:v1/CampaignData/campaignSource": campaign_source +"/youtubePartner:v1/CampaignData/expireTime": expire_time +"/youtubePartner:v1/CampaignData/name": name +"/youtubePartner:v1/CampaignData/promotedContent": promoted_content +"/youtubePartner:v1/CampaignData/promotedContent/promoted_content": promoted_content +"/youtubePartner:v1/CampaignData/startTime": start_time +"/youtubePartner:v1/CampaignList": campaign_list +"/youtubePartner:v1/CampaignList/items": items +"/youtubePartner:v1/CampaignList/items/item": item +"/youtubePartner:v1/CampaignList/kind": kind +"/youtubePartner:v1/CampaignSource": campaign_source +"/youtubePartner:v1/CampaignSource/sourceType": source_type +"/youtubePartner:v1/CampaignSource/sourceValue": source_value +"/youtubePartner:v1/CampaignSource/sourceValue/source_value": source_value +"/youtubePartner:v1/CampaignTargetLink": campaign_target_link +"/youtubePartner:v1/CampaignTargetLink/targetId": target_id +"/youtubePartner:v1/CampaignTargetLink/targetType": target_type +"/youtubePartner:v1/Claim": claim +"/youtubePartner:v1/Claim/appliedPolicy": applied_policy +"/youtubePartner:v1/Claim/assetId": asset_id +"/youtubePartner:v1/Claim/blockOutsideOwnership": block_outside_ownership +"/youtubePartner:v1/Claim/contentType": content_type +"/youtubePartner:v1/Claim/id": id +"/youtubePartner:v1/Claim/isPartnerUploaded": is_partner_uploaded +"/youtubePartner:v1/Claim/kind": kind +"/youtubePartner:v1/Claim/matchInfo": match_info +"/youtubePartner:v1/Claim/matchInfo/longestMatch": longest_match +"/youtubePartner:v1/Claim/matchInfo/longestMatch/durationSecs": duration_secs +"/youtubePartner:v1/Claim/matchInfo/longestMatch/referenceOffset": reference_offset +"/youtubePartner:v1/Claim/matchInfo/longestMatch/userVideoOffset": user_video_offset +"/youtubePartner:v1/Claim/matchInfo/matchSegments": match_segments +"/youtubePartner:v1/Claim/matchInfo/matchSegments/match_segment": match_segment +"/youtubePartner:v1/Claim/matchInfo/referenceId": reference_id +"/youtubePartner:v1/Claim/matchInfo/totalMatch": total_match +"/youtubePartner:v1/Claim/matchInfo/totalMatch/referenceDurationSecs": reference_duration_secs +"/youtubePartner:v1/Claim/matchInfo/totalMatch/userVideoDurationSecs": user_video_duration_secs +"/youtubePartner:v1/Claim/origin": origin +"/youtubePartner:v1/Claim/origin/source": source +"/youtubePartner:v1/Claim/policy": policy +"/youtubePartner:v1/Claim/status": status +"/youtubePartner:v1/Claim/timeCreated": time_created +"/youtubePartner:v1/Claim/videoId": video_id +"/youtubePartner:v1/ClaimEvent": claim_event +"/youtubePartner:v1/ClaimEvent/kind": kind +"/youtubePartner:v1/ClaimEvent/reason": reason +"/youtubePartner:v1/ClaimEvent/source": source +"/youtubePartner:v1/ClaimEvent/source/contentOwnerId": content_owner_id +"/youtubePartner:v1/ClaimEvent/source/type": type +"/youtubePartner:v1/ClaimEvent/source/userEmail": user_email +"/youtubePartner:v1/ClaimEvent/time": time +"/youtubePartner:v1/ClaimEvent/type": type +"/youtubePartner:v1/ClaimEvent/typeDetails": type_details +"/youtubePartner:v1/ClaimEvent/typeDetails/appealExplanation": appeal_explanation +"/youtubePartner:v1/ClaimEvent/typeDetails/disputeNotes": dispute_notes +"/youtubePartner:v1/ClaimEvent/typeDetails/disputeReason": dispute_reason +"/youtubePartner:v1/ClaimEvent/typeDetails/updateStatus": update_status +"/youtubePartner:v1/ClaimHistory": claim_history +"/youtubePartner:v1/ClaimHistory/event": event +"/youtubePartner:v1/ClaimHistory/event/event": event +"/youtubePartner:v1/ClaimHistory/id": id +"/youtubePartner:v1/ClaimHistory/kind": kind +"/youtubePartner:v1/ClaimHistory/uploaderChannelId": uploader_channel_id +"/youtubePartner:v1/ClaimListResponse": claim_list_response +"/youtubePartner:v1/ClaimListResponse/items": items +"/youtubePartner:v1/ClaimListResponse/items/item": item +"/youtubePartner:v1/ClaimListResponse/kind": kind +"/youtubePartner:v1/ClaimListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ClaimListResponse/pageInfo": page_info +"/youtubePartner:v1/ClaimListResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/ClaimSearchResponse": claim_search_response +"/youtubePartner:v1/ClaimSearchResponse/items": items +"/youtubePartner:v1/ClaimSearchResponse/items/item": item +"/youtubePartner:v1/ClaimSearchResponse/kind": kind +"/youtubePartner:v1/ClaimSearchResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ClaimSearchResponse/pageInfo": page_info +"/youtubePartner:v1/ClaimSearchResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/ClaimSnippet": claim_snippet +"/youtubePartner:v1/ClaimSnippet/assetId": asset_id +"/youtubePartner:v1/ClaimSnippet/contentType": content_type +"/youtubePartner:v1/ClaimSnippet/id": id +"/youtubePartner:v1/ClaimSnippet/isPartnerUploaded": is_partner_uploaded +"/youtubePartner:v1/ClaimSnippet/kind": kind +"/youtubePartner:v1/ClaimSnippet/origin": origin +"/youtubePartner:v1/ClaimSnippet/origin/source": source +"/youtubePartner:v1/ClaimSnippet/status": status +"/youtubePartner:v1/ClaimSnippet/thirdPartyClaim": third_party_claim +"/youtubePartner:v1/ClaimSnippet/timeCreated": time_created +"/youtubePartner:v1/ClaimSnippet/timeStatusLastModified": time_status_last_modified +"/youtubePartner:v1/ClaimSnippet/videoId": video_id +"/youtubePartner:v1/ClaimSnippet/videoTitle": video_title +"/youtubePartner:v1/ClaimSnippet/videoViews": video_views +"/youtubePartner:v1/ClaimedVideoDefaults": claimed_video_defaults +"/youtubePartner:v1/ClaimedVideoDefaults/autoGeneratedBreaks": auto_generated_breaks +"/youtubePartner:v1/ClaimedVideoDefaults/channelOverride": channel_override +"/youtubePartner:v1/ClaimedVideoDefaults/kind": kind +"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults": new_video_defaults +"/youtubePartner:v1/ClaimedVideoDefaults/newVideoDefaults/new_video_default": new_video_default +"/youtubePartner:v1/Conditions": conditions +"/youtubePartner:v1/Conditions/contentMatchType": content_match_type +"/youtubePartner:v1/Conditions/contentMatchType/content_match_type": content_match_type +"/youtubePartner:v1/Conditions/matchDuration": match_duration +"/youtubePartner:v1/Conditions/matchDuration/match_duration": match_duration +"/youtubePartner:v1/Conditions/matchPercent": match_percent +"/youtubePartner:v1/Conditions/matchPercent/match_percent": match_percent +"/youtubePartner:v1/Conditions/referenceDuration": reference_duration +"/youtubePartner:v1/Conditions/referenceDuration/reference_duration": reference_duration +"/youtubePartner:v1/Conditions/referencePercent": reference_percent +"/youtubePartner:v1/Conditions/referencePercent/reference_percent": reference_percent +"/youtubePartner:v1/Conditions/requiredTerritories": required_territories +"/youtubePartner:v1/ConflictingOwnership": conflicting_ownership +"/youtubePartner:v1/ConflictingOwnership/owner": owner +"/youtubePartner:v1/ConflictingOwnership/ratio": ratio +"/youtubePartner:v1/ContentOwner": content_owner +"/youtubePartner:v1/ContentOwner/conflictNotificationEmail": conflict_notification_email +"/youtubePartner:v1/ContentOwner/displayName": display_name +"/youtubePartner:v1/ContentOwner/disputeNotificationEmails": dispute_notification_emails +"/youtubePartner:v1/ContentOwner/disputeNotificationEmails/dispute_notification_email": dispute_notification_email +"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails": fingerprint_report_notification_emails +"/youtubePartner:v1/ContentOwner/fingerprintReportNotificationEmails/fingerprint_report_notification_email": fingerprint_report_notification_email +"/youtubePartner:v1/ContentOwner/id": id +"/youtubePartner:v1/ContentOwner/kind": kind +"/youtubePartner:v1/ContentOwner/primaryNotificationEmails": primary_notification_emails +"/youtubePartner:v1/ContentOwner/primaryNotificationEmails/primary_notification_email": primary_notification_email +"/youtubePartner:v1/ContentOwnerAdvertisingOption": content_owner_advertising_option +"/youtubePartner:v1/ContentOwnerAdvertisingOption/allowedOptions": allowed_options +"/youtubePartner:v1/ContentOwnerAdvertisingOption/claimedVideoOptions": claimed_video_options +"/youtubePartner:v1/ContentOwnerAdvertisingOption/id": id +"/youtubePartner:v1/ContentOwnerAdvertisingOption/kind": kind +"/youtubePartner:v1/ContentOwnerListResponse": content_owner_list_response +"/youtubePartner:v1/ContentOwnerListResponse/items": items +"/youtubePartner:v1/ContentOwnerListResponse/items/item": item +"/youtubePartner:v1/ContentOwnerListResponse/kind": kind +"/youtubePartner:v1/CountriesRestriction": countries_restriction +"/youtubePartner:v1/CountriesRestriction/adFormats": ad_formats +"/youtubePartner:v1/CountriesRestriction/adFormats/ad_format": ad_format +"/youtubePartner:v1/CountriesRestriction/territories": territories +"/youtubePartner:v1/CountriesRestriction/territories/territory": territory +"/youtubePartner:v1/CuepointSettings": cuepoint_settings +"/youtubePartner:v1/CuepointSettings/cueType": cue_type +"/youtubePartner:v1/CuepointSettings/durationSecs": duration_secs +"/youtubePartner:v1/CuepointSettings/offsetTimeMs": offset_time_ms +"/youtubePartner:v1/CuepointSettings/walltime": walltime +"/youtubePartner:v1/Date": date +"/youtubePartner:v1/Date/day": day +"/youtubePartner:v1/Date/month": month +"/youtubePartner:v1/Date/year": year +"/youtubePartner:v1/DateRange": date_range +"/youtubePartner:v1/DateRange/end": end +"/youtubePartner:v1/DateRange/kind": kind +"/youtubePartner:v1/DateRange/start": start +"/youtubePartner:v1/ExcludedInterval": excluded_interval +"/youtubePartner:v1/ExcludedInterval/high": high +"/youtubePartner:v1/ExcludedInterval/low": low +"/youtubePartner:v1/ExcludedInterval/origin": origin +"/youtubePartner:v1/ExcludedInterval/timeCreated": time_created +"/youtubePartner:v1/IntervalCondition": interval_condition +"/youtubePartner:v1/IntervalCondition/high": high +"/youtubePartner:v1/IntervalCondition/low": low +"/youtubePartner:v1/LiveCuepoint": live_cuepoint +"/youtubePartner:v1/LiveCuepoint/broadcastId": broadcast_id +"/youtubePartner:v1/LiveCuepoint/id": id +"/youtubePartner:v1/LiveCuepoint/kind": kind +"/youtubePartner:v1/LiveCuepoint/settings": settings +"/youtubePartner:v1/MatchSegment": match_segment +"/youtubePartner:v1/MatchSegment/channel": channel +"/youtubePartner:v1/MatchSegment/reference_segment": reference_segment +"/youtubePartner:v1/MatchSegment/video_segment": video_segment +"/youtubePartner:v1/Metadata": metadata +"/youtubePartner:v1/Metadata/actor": actor +"/youtubePartner:v1/Metadata/actor/actor": actor +"/youtubePartner:v1/Metadata/album": album +"/youtubePartner:v1/Metadata/artist": artist +"/youtubePartner:v1/Metadata/artist/artist": artist +"/youtubePartner:v1/Metadata/broadcaster": broadcaster +"/youtubePartner:v1/Metadata/broadcaster/broadcaster": broadcaster +"/youtubePartner:v1/Metadata/category": category +"/youtubePartner:v1/Metadata/contentType": content_type +"/youtubePartner:v1/Metadata/copyrightDate": copyright_date +"/youtubePartner:v1/Metadata/customId": custom_id +"/youtubePartner:v1/Metadata/description": description +"/youtubePartner:v1/Metadata/director": director +"/youtubePartner:v1/Metadata/director/director": director +"/youtubePartner:v1/Metadata/eidr": eidr +"/youtubePartner:v1/Metadata/endYear": end_year +"/youtubePartner:v1/Metadata/episodeNumber": episode_number +"/youtubePartner:v1/Metadata/episodesAreUntitled": episodes_are_untitled +"/youtubePartner:v1/Metadata/genre": genre +"/youtubePartner:v1/Metadata/genre/genre": genre +"/youtubePartner:v1/Metadata/grid": grid +"/youtubePartner:v1/Metadata/hfa": hfa +"/youtubePartner:v1/Metadata/infoUrl": info_url +"/youtubePartner:v1/Metadata/isan": isan +"/youtubePartner:v1/Metadata/isrc": isrc +"/youtubePartner:v1/Metadata/iswc": iswc +"/youtubePartner:v1/Metadata/keyword": keyword +"/youtubePartner:v1/Metadata/keyword/keyword": keyword +"/youtubePartner:v1/Metadata/label": label +"/youtubePartner:v1/Metadata/notes": notes +"/youtubePartner:v1/Metadata/originalReleaseMedium": original_release_medium +"/youtubePartner:v1/Metadata/producer": producer +"/youtubePartner:v1/Metadata/producer/producer": producer +"/youtubePartner:v1/Metadata/ratings": ratings +"/youtubePartner:v1/Metadata/ratings/rating": rating +"/youtubePartner:v1/Metadata/releaseDate": release_date +"/youtubePartner:v1/Metadata/seasonNumber": season_number +"/youtubePartner:v1/Metadata/showCustomId": show_custom_id +"/youtubePartner:v1/Metadata/showTitle": show_title +"/youtubePartner:v1/Metadata/spokenLanguage": spoken_language +"/youtubePartner:v1/Metadata/startYear": start_year +"/youtubePartner:v1/Metadata/subtitledLanguage": subtitled_language +"/youtubePartner:v1/Metadata/subtitledLanguage/subtitled_language": subtitled_language +"/youtubePartner:v1/Metadata/title": title +"/youtubePartner:v1/Metadata/tmsId": tms_id +"/youtubePartner:v1/Metadata/totalEpisodesExpected": total_episodes_expected +"/youtubePartner:v1/Metadata/upc": upc +"/youtubePartner:v1/Metadata/writer": writer +"/youtubePartner:v1/Metadata/writer/writer": writer +"/youtubePartner:v1/MetadataHistory": metadata_history +"/youtubePartner:v1/MetadataHistory/kind": kind +"/youtubePartner:v1/MetadataHistory/metadata": metadata +"/youtubePartner:v1/MetadataHistory/origination": origination +"/youtubePartner:v1/MetadataHistory/timeProvided": time_provided +"/youtubePartner:v1/MetadataHistoryListResponse": metadata_history_list_response +"/youtubePartner:v1/MetadataHistoryListResponse/items": items +"/youtubePartner:v1/MetadataHistoryListResponse/items/item": item +"/youtubePartner:v1/MetadataHistoryListResponse/kind": kind +"/youtubePartner:v1/Order": order +"/youtubePartner:v1/Order/availGroupId": avail_group_id +"/youtubePartner:v1/Order/channelId": channel_id +"/youtubePartner:v1/Order/contentType": content_type +"/youtubePartner:v1/Order/country": country +"/youtubePartner:v1/Order/customId": custom_id +"/youtubePartner:v1/Order/dvdReleaseDate": dvd_release_date +"/youtubePartner:v1/Order/estDates": est_dates +"/youtubePartner:v1/Order/events": events +"/youtubePartner:v1/Order/events/event": event +"/youtubePartner:v1/Order/id": id +"/youtubePartner:v1/Order/kind": kind +"/youtubePartner:v1/Order/movie": movie +"/youtubePartner:v1/Order/originalReleaseDate": original_release_date +"/youtubePartner:v1/Order/priority": priority +"/youtubePartner:v1/Order/productionHouse": production_house +"/youtubePartner:v1/Order/purchaseOrder": purchase_order +"/youtubePartner:v1/Order/requirements": requirements +"/youtubePartner:v1/Order/show": show +"/youtubePartner:v1/Order/status": status +"/youtubePartner:v1/Order/videoId": video_id +"/youtubePartner:v1/Order/vodDates": vod_dates +"/youtubePartner:v1/OrderListResponse": order_list_response +"/youtubePartner:v1/OrderListResponse/items": items +"/youtubePartner:v1/OrderListResponse/items/item": item +"/youtubePartner:v1/OrderListResponse/kind": kind +"/youtubePartner:v1/OrderListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/OrderListResponse/pageInfo": page_info +"/youtubePartner:v1/OrderListResponse/previousPageToken": previous_page_token +"/youtubePartner:v1/Origination": origination +"/youtubePartner:v1/Origination/owner": owner +"/youtubePartner:v1/Origination/source": source +"/youtubePartner:v1/OwnershipConflicts": ownership_conflicts +"/youtubePartner:v1/OwnershipConflicts/general": general +"/youtubePartner:v1/OwnershipConflicts/general/general": general +"/youtubePartner:v1/OwnershipConflicts/kind": kind +"/youtubePartner:v1/OwnershipConflicts/mechanical": mechanical +"/youtubePartner:v1/OwnershipConflicts/mechanical/mechanical": mechanical +"/youtubePartner:v1/OwnershipConflicts/performance": performance +"/youtubePartner:v1/OwnershipConflicts/performance/performance": performance +"/youtubePartner:v1/OwnershipConflicts/synchronization": synchronization +"/youtubePartner:v1/OwnershipConflicts/synchronization/synchronization": synchronization +"/youtubePartner:v1/OwnershipHistoryListResponse": ownership_history_list_response +"/youtubePartner:v1/OwnershipHistoryListResponse/items": items +"/youtubePartner:v1/OwnershipHistoryListResponse/items/item": item +"/youtubePartner:v1/OwnershipHistoryListResponse/kind": kind +"/youtubePartner:v1/PageInfo": page_info +"/youtubePartner:v1/PageInfo/resultsPerPage": results_per_page +"/youtubePartner:v1/PageInfo/startIndex": start_index +"/youtubePartner:v1/PageInfo/totalResults": total_results +"/youtubePartner:v1/Policy": policy +"/youtubePartner:v1/Policy/description": description +"/youtubePartner:v1/Policy/id": id +"/youtubePartner:v1/Policy/kind": kind +"/youtubePartner:v1/Policy/name": name +"/youtubePartner:v1/Policy/rules": rules +"/youtubePartner:v1/Policy/rules/rule": rule +"/youtubePartner:v1/Policy/timeUpdated": time_updated +"/youtubePartner:v1/PolicyList": policy_list +"/youtubePartner:v1/PolicyList/items": items +"/youtubePartner:v1/PolicyList/items/item": item +"/youtubePartner:v1/PolicyList/kind": kind +"/youtubePartner:v1/PolicyRule": policy_rule +"/youtubePartner:v1/PolicyRule/action": action +"/youtubePartner:v1/PolicyRule/conditions": conditions +"/youtubePartner:v1/PolicyRule/subaction": subaction +"/youtubePartner:v1/PolicyRule/subaction/subaction": subaction +"/youtubePartner:v1/PromotedContent": promoted_content +"/youtubePartner:v1/PromotedContent/link": link +"/youtubePartner:v1/PromotedContent/link/link": link +"/youtubePartner:v1/Publisher": publisher +"/youtubePartner:v1/Publisher/caeNumber": cae_number +"/youtubePartner:v1/Publisher/id": id +"/youtubePartner:v1/Publisher/ipiNumber": ipi_number +"/youtubePartner:v1/Publisher/kind": kind +"/youtubePartner:v1/Publisher/name": name +"/youtubePartner:v1/PublisherList": publisher_list +"/youtubePartner:v1/PublisherList/items": items +"/youtubePartner:v1/PublisherList/items/item": item +"/youtubePartner:v1/PublisherList/kind": kind +"/youtubePartner:v1/PublisherList/nextPageToken": next_page_token +"/youtubePartner:v1/PublisherList/pageInfo": page_info +"/youtubePartner:v1/Rating": rating +"/youtubePartner:v1/Rating/rating": rating +"/youtubePartner:v1/Rating/ratingSystem": rating_system +"/youtubePartner:v1/Reference": reference +"/youtubePartner:v1/Reference/assetId": asset_id +"/youtubePartner:v1/Reference/audioswapEnabled": audioswap_enabled +"/youtubePartner:v1/Reference/claimId": claim_id +"/youtubePartner:v1/Reference/contentType": content_type +"/youtubePartner:v1/Reference/duplicateLeader": duplicate_leader +"/youtubePartner:v1/Reference/excludedIntervals": excluded_intervals +"/youtubePartner:v1/Reference/excludedIntervals/excluded_interval": excluded_interval +"/youtubePartner:v1/Reference/fpDirect": fp_direct +"/youtubePartner:v1/Reference/hashCode": hash_code +"/youtubePartner:v1/Reference/id": id +"/youtubePartner:v1/Reference/ignoreFpMatch": ignore_fp_match +"/youtubePartner:v1/Reference/kind": kind +"/youtubePartner:v1/Reference/length": length +"/youtubePartner:v1/Reference/origination": origination +"/youtubePartner:v1/Reference/status": status +"/youtubePartner:v1/Reference/statusReason": status_reason +"/youtubePartner:v1/Reference/urgent": urgent +"/youtubePartner:v1/Reference/videoId": video_id +"/youtubePartner:v1/ReferenceConflict": reference_conflict +"/youtubePartner:v1/ReferenceConflict/conflictingReferenceId": conflicting_reference_id +"/youtubePartner:v1/ReferenceConflict/expiryTime": expiry_time +"/youtubePartner:v1/ReferenceConflict/id": id +"/youtubePartner:v1/ReferenceConflict/kind": kind +"/youtubePartner:v1/ReferenceConflict/matches": matches +"/youtubePartner:v1/ReferenceConflict/matches/match": match +"/youtubePartner:v1/ReferenceConflict/originalReferenceId": original_reference_id +"/youtubePartner:v1/ReferenceConflict/status": status +"/youtubePartner:v1/ReferenceConflictListResponse": reference_conflict_list_response +"/youtubePartner:v1/ReferenceConflictListResponse/items": items +"/youtubePartner:v1/ReferenceConflictListResponse/items/item": item +"/youtubePartner:v1/ReferenceConflictListResponse/kind": kind +"/youtubePartner:v1/ReferenceConflictListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ReferenceConflictListResponse/pageInfo": page_info +"/youtubePartner:v1/ReferenceConflictMatch": reference_conflict_match +"/youtubePartner:v1/ReferenceConflictMatch/conflicting_reference_offset_ms": conflicting_reference_offset_ms +"/youtubePartner:v1/ReferenceConflictMatch/length_ms": length_ms +"/youtubePartner:v1/ReferenceConflictMatch/original_reference_offset_ms": original_reference_offset_ms +"/youtubePartner:v1/ReferenceConflictMatch/type": type +"/youtubePartner:v1/ReferenceListResponse": reference_list_response +"/youtubePartner:v1/ReferenceListResponse/items": items +"/youtubePartner:v1/ReferenceListResponse/items/item": item +"/youtubePartner:v1/ReferenceListResponse/kind": kind +"/youtubePartner:v1/ReferenceListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/ReferenceListResponse/pageInfo": page_info +"/youtubePartner:v1/Requirements": requirements +"/youtubePartner:v1/Requirements/caption": caption +"/youtubePartner:v1/Requirements/hdTranscode": hd_transcode +"/youtubePartner:v1/Requirements/posterArt": poster_art +"/youtubePartner:v1/Requirements/spotlightArt": spotlight_art +"/youtubePartner:v1/Requirements/spotlightReview": spotlight_review +"/youtubePartner:v1/Requirements/trailer": trailer +"/youtubePartner:v1/RightsOwnership": rights_ownership +"/youtubePartner:v1/RightsOwnership/general": general +"/youtubePartner:v1/RightsOwnership/general/general": general +"/youtubePartner:v1/RightsOwnership/kind": kind +"/youtubePartner:v1/RightsOwnership/mechanical": mechanical +"/youtubePartner:v1/RightsOwnership/mechanical/mechanical": mechanical +"/youtubePartner:v1/RightsOwnership/performance": performance +"/youtubePartner:v1/RightsOwnership/performance/performance": performance +"/youtubePartner:v1/RightsOwnership/synchronization": synchronization +"/youtubePartner:v1/RightsOwnership/synchronization/synchronization": synchronization +"/youtubePartner:v1/RightsOwnershipHistory": rights_ownership_history +"/youtubePartner:v1/RightsOwnershipHistory/kind": kind +"/youtubePartner:v1/RightsOwnershipHistory/origination": origination +"/youtubePartner:v1/RightsOwnershipHistory/ownership": ownership +"/youtubePartner:v1/RightsOwnershipHistory/timeProvided": time_provided +"/youtubePartner:v1/Segment": segment +"/youtubePartner:v1/Segment/duration": duration +"/youtubePartner:v1/Segment/kind": kind +"/youtubePartner:v1/Segment/start": start +"/youtubePartner:v1/ShowDetails": show_details +"/youtubePartner:v1/ShowDetails/episodeNumber": episode_number +"/youtubePartner:v1/ShowDetails/episodeTitle": episode_title +"/youtubePartner:v1/ShowDetails/seasonNumber": season_number +"/youtubePartner:v1/ShowDetails/title": title +"/youtubePartner:v1/StateCompleted": state_completed +"/youtubePartner:v1/StateCompleted/state": state +"/youtubePartner:v1/StateCompleted/timeCompleted": time_completed +"/youtubePartner:v1/TerritoryCondition": territory_condition +"/youtubePartner:v1/TerritoryCondition/territories": territories +"/youtubePartner:v1/TerritoryCondition/territories/territory": territory +"/youtubePartner:v1/TerritoryCondition/type": type +"/youtubePartner:v1/TerritoryConflicts": territory_conflicts +"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership": conflicting_ownership +"/youtubePartner:v1/TerritoryConflicts/conflictingOwnership/conflicting_ownership": conflicting_ownership +"/youtubePartner:v1/TerritoryConflicts/territory": territory +"/youtubePartner:v1/TerritoryOwners": territory_owners +"/youtubePartner:v1/TerritoryOwners/owner": owner +"/youtubePartner:v1/TerritoryOwners/publisher": publisher +"/youtubePartner:v1/TerritoryOwners/ratio": ratio +"/youtubePartner:v1/TerritoryOwners/territories": territories +"/youtubePartner:v1/TerritoryOwners/territories/territory": territory +"/youtubePartner:v1/TerritoryOwners/type": type +"/youtubePartner:v1/ValidateError": validate_error +"/youtubePartner:v1/ValidateError/columnName": column_name +"/youtubePartner:v1/ValidateError/columnNumber": column_number +"/youtubePartner:v1/ValidateError/lineNumber": line_number +"/youtubePartner:v1/ValidateError/message": message +"/youtubePartner:v1/ValidateError/messageCode": message_code +"/youtubePartner:v1/ValidateError/severity": severity +"/youtubePartner:v1/ValidateRequest": validate_request +"/youtubePartner:v1/ValidateRequest/content": content +"/youtubePartner:v1/ValidateRequest/kind": kind +"/youtubePartner:v1/ValidateRequest/locale": locale +"/youtubePartner:v1/ValidateRequest/uploaderName": uploader_name +"/youtubePartner:v1/ValidateResponse": validate_response +"/youtubePartner:v1/ValidateResponse/errors": errors +"/youtubePartner:v1/ValidateResponse/errors/error": error +"/youtubePartner:v1/ValidateResponse/kind": kind +"/youtubePartner:v1/ValidateResponse/status": status +"/youtubePartner:v1/VideoAdvertisingOption": video_advertising_option +"/youtubePartner:v1/VideoAdvertisingOption/adBreaks": ad_breaks +"/youtubePartner:v1/VideoAdvertisingOption/adBreaks/ad_break": ad_break +"/youtubePartner:v1/VideoAdvertisingOption/adFormats": ad_formats +"/youtubePartner:v1/VideoAdvertisingOption/adFormats/ad_format": ad_format +"/youtubePartner:v1/VideoAdvertisingOption/autoGeneratedBreaks": auto_generated_breaks +"/youtubePartner:v1/VideoAdvertisingOption/breakPosition": break_position +"/youtubePartner:v1/VideoAdvertisingOption/breakPosition/break_position": break_position +"/youtubePartner:v1/VideoAdvertisingOption/id": id +"/youtubePartner:v1/VideoAdvertisingOption/kind": kind +"/youtubePartner:v1/VideoAdvertisingOption/tpAdServerVideoId": tp_ad_server_video_id +"/youtubePartner:v1/VideoAdvertisingOption/tpTargetingUrl": tp_targeting_url +"/youtubePartner:v1/VideoAdvertisingOption/tpUrlParameters": tp_url_parameters +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse": video_advertising_option_get_enabled_ads_response +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks": ad_breaks +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adBreaks/ad_break": ad_break +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/adsOnEmbeds": ads_on_embeds +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction": countries_restriction +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/countriesRestriction/countries_restriction": countries_restriction +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/id": id +"/youtubePartner:v1/VideoAdvertisingOptionGetEnabledAdsResponse/kind": kind +"/youtubePartner:v1/Whitelist": whitelist +"/youtubePartner:v1/Whitelist/id": id +"/youtubePartner:v1/Whitelist/kind": kind +"/youtubePartner:v1/Whitelist/title": title +"/youtubePartner:v1/WhitelistListResponse": whitelist_list_response +"/youtubePartner:v1/WhitelistListResponse/items": items +"/youtubePartner:v1/WhitelistListResponse/items/item": item +"/youtubePartner:v1/WhitelistListResponse/kind": kind +"/youtubePartner:v1/WhitelistListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/WhitelistListResponse/pageInfo": page_info +"/compute:beta/fields": fields +"/compute:beta/key": key +"/compute:beta/quotaUser": quota_user +"/compute:beta/userIp": user_ip +"/compute:beta/compute.addresses.aggregatedList/filter": filter +"/compute:beta/compute.addresses.aggregatedList/maxResults": max_results +"/compute:beta/compute.addresses.aggregatedList/orderBy": order_by +"/compute:beta/compute.addresses.aggregatedList/pageToken": page_token +"/compute:beta/compute.addresses.aggregatedList/project": project +"/compute:beta/compute.addresses.delete": delete_address +"/compute:beta/compute.addresses.delete/address": address +"/compute:beta/compute.addresses.delete/project": project +"/compute:beta/compute.addresses.delete/region": region +"/compute:beta/compute.addresses.get": get_address +"/compute:beta/compute.addresses.get/address": address +"/compute:beta/compute.addresses.get/project": project +"/compute:beta/compute.addresses.get/region": region +"/compute:beta/compute.addresses.insert": insert_address +"/compute:beta/compute.addresses.insert/project": project +"/compute:beta/compute.addresses.insert/region": region +"/compute:beta/compute.addresses.list": list_addresses +"/compute:beta/compute.addresses.list/filter": filter +"/compute:beta/compute.addresses.list/maxResults": max_results +"/compute:beta/compute.addresses.list/orderBy": order_by +"/compute:beta/compute.addresses.list/pageToken": page_token +"/compute:beta/compute.addresses.list/project": project +"/compute:beta/compute.addresses.list/region": region +"/compute:beta/compute.addresses.testIamPermissions": test_address_iam_permissions +"/compute:beta/compute.addresses.testIamPermissions/project": project +"/compute:beta/compute.addresses.testIamPermissions/region": region +"/compute:beta/compute.addresses.testIamPermissions/resource": resource +"/compute:beta/compute.autoscalers.aggregatedList/filter": filter +"/compute:beta/compute.autoscalers.aggregatedList/maxResults": max_results +"/compute:beta/compute.autoscalers.aggregatedList/orderBy": order_by +"/compute:beta/compute.autoscalers.aggregatedList/pageToken": page_token +"/compute:beta/compute.autoscalers.aggregatedList/project": project +"/compute:beta/compute.autoscalers.delete": delete_autoscaler +"/compute:beta/compute.autoscalers.delete/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.delete/project": project +"/compute:beta/compute.autoscalers.delete/zone": zone +"/compute:beta/compute.autoscalers.get": get_autoscaler +"/compute:beta/compute.autoscalers.get/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.get/project": project +"/compute:beta/compute.autoscalers.get/zone": zone +"/compute:beta/compute.autoscalers.insert": insert_autoscaler +"/compute:beta/compute.autoscalers.insert/project": project +"/compute:beta/compute.autoscalers.insert/zone": zone +"/compute:beta/compute.autoscalers.list": list_autoscalers +"/compute:beta/compute.autoscalers.list/filter": filter +"/compute:beta/compute.autoscalers.list/maxResults": max_results +"/compute:beta/compute.autoscalers.list/orderBy": order_by +"/compute:beta/compute.autoscalers.list/pageToken": page_token +"/compute:beta/compute.autoscalers.list/project": project +"/compute:beta/compute.autoscalers.list/zone": zone +"/compute:beta/compute.autoscalers.patch": patch_autoscaler +"/compute:beta/compute.autoscalers.patch/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.patch/project": project +"/compute:beta/compute.autoscalers.patch/zone": zone +"/compute:beta/compute.autoscalers.testIamPermissions": test_autoscaler_iam_permissions +"/compute:beta/compute.autoscalers.testIamPermissions/project": project +"/compute:beta/compute.autoscalers.testIamPermissions/resource": resource +"/compute:beta/compute.autoscalers.testIamPermissions/zone": zone +"/compute:beta/compute.autoscalers.update": update_autoscaler +"/compute:beta/compute.autoscalers.update/autoscaler": autoscaler +"/compute:beta/compute.autoscalers.update/project": project +"/compute:beta/compute.autoscalers.update/zone": zone +"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket +"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.delete/project": project +"/compute:beta/compute.backendBuckets.get": get_backend_bucket +"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.get/project": project +"/compute:beta/compute.backendBuckets.insert": insert_backend_bucket +"/compute:beta/compute.backendBuckets.insert/project": project +"/compute:beta/compute.backendBuckets.list": list_backend_buckets +"/compute:beta/compute.backendBuckets.list/filter": filter +"/compute:beta/compute.backendBuckets.list/maxResults": max_results +"/compute:beta/compute.backendBuckets.list/orderBy": order_by +"/compute:beta/compute.backendBuckets.list/pageToken": page_token +"/compute:beta/compute.backendBuckets.list/project": project +"/compute:beta/compute.backendBuckets.patch": patch_backend_bucket +"/compute:beta/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.patch/project": project +"/compute:beta/compute.backendBuckets.update": update_backend_bucket +"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.update/project": project +"/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:beta/compute.backendServices.aggregatedList/filter": filter +"/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:beta/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:beta/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:beta/compute.backendServices.aggregatedList/project": project +"/compute:beta/compute.backendServices.delete": delete_backend_service +"/compute:beta/compute.backendServices.delete/backendService": backend_service +"/compute:beta/compute.backendServices.delete/project": project +"/compute:beta/compute.backendServices.get": get_backend_service +"/compute:beta/compute.backendServices.get/backendService": backend_service +"/compute:beta/compute.backendServices.get/project": project +"/compute:beta/compute.backendServices.getHealth/backendService": backend_service +"/compute:beta/compute.backendServices.getHealth/project": project +"/compute:beta/compute.backendServices.insert": insert_backend_service +"/compute:beta/compute.backendServices.insert/project": project +"/compute:beta/compute.backendServices.list": list_backend_services +"/compute:beta/compute.backendServices.list/filter": filter +"/compute:beta/compute.backendServices.list/maxResults": max_results +"/compute:beta/compute.backendServices.list/orderBy": order_by +"/compute:beta/compute.backendServices.list/pageToken": page_token +"/compute:beta/compute.backendServices.list/project": project +"/compute:beta/compute.backendServices.patch": patch_backend_service +"/compute:beta/compute.backendServices.patch/backendService": backend_service +"/compute:beta/compute.backendServices.patch/project": project +"/compute:beta/compute.backendServices.testIamPermissions": test_backend_service_iam_permissions +"/compute:beta/compute.backendServices.testIamPermissions/project": project +"/compute:beta/compute.backendServices.testIamPermissions/resource": resource +"/compute:beta/compute.backendServices.update": update_backend_service +"/compute:beta/compute.backendServices.update/backendService": backend_service +"/compute:beta/compute.backendServices.update/project": project +"/compute:beta/compute.diskTypes.aggregatedList/filter": filter +"/compute:beta/compute.diskTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.diskTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.diskTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.diskTypes.aggregatedList/project": project +"/compute:beta/compute.diskTypes.get": get_disk_type +"/compute:beta/compute.diskTypes.get/diskType": disk_type +"/compute:beta/compute.diskTypes.get/project": project +"/compute:beta/compute.diskTypes.get/zone": zone +"/compute:beta/compute.diskTypes.list": list_disk_types +"/compute:beta/compute.diskTypes.list/filter": filter +"/compute:beta/compute.diskTypes.list/maxResults": max_results +"/compute:beta/compute.diskTypes.list/orderBy": order_by +"/compute:beta/compute.diskTypes.list/pageToken": page_token +"/compute:beta/compute.diskTypes.list/project": project +"/compute:beta/compute.diskTypes.list/zone": zone +"/compute:beta/compute.disks.aggregatedList/filter": filter +"/compute:beta/compute.disks.aggregatedList/maxResults": max_results +"/compute:beta/compute.disks.aggregatedList/orderBy": order_by +"/compute:beta/compute.disks.aggregatedList/pageToken": page_token +"/compute:beta/compute.disks.aggregatedList/project": project +"/compute:beta/compute.disks.createSnapshot/disk": disk +"/compute:beta/compute.disks.createSnapshot/guestFlush": guest_flush +"/compute:beta/compute.disks.createSnapshot/project": project +"/compute:beta/compute.disks.createSnapshot/zone": zone +"/compute:beta/compute.disks.delete": delete_disk +"/compute:beta/compute.disks.delete/disk": disk +"/compute:beta/compute.disks.delete/project": project +"/compute:beta/compute.disks.delete/zone": zone +"/compute:beta/compute.disks.get": get_disk +"/compute:beta/compute.disks.get/disk": disk +"/compute:beta/compute.disks.get/project": project +"/compute:beta/compute.disks.get/zone": zone +"/compute:beta/compute.disks.insert": insert_disk +"/compute:beta/compute.disks.insert/project": project +"/compute:beta/compute.disks.insert/sourceImage": source_image +"/compute:beta/compute.disks.insert/zone": zone +"/compute:beta/compute.disks.list": list_disks +"/compute:beta/compute.disks.list/filter": filter +"/compute:beta/compute.disks.list/maxResults": max_results +"/compute:beta/compute.disks.list/orderBy": order_by +"/compute:beta/compute.disks.list/pageToken": page_token +"/compute:beta/compute.disks.list/project": project +"/compute:beta/compute.disks.list/zone": zone +"/compute:beta/compute.disks.resize": resize_disk +"/compute:beta/compute.disks.resize/disk": disk +"/compute:beta/compute.disks.resize/project": project +"/compute:beta/compute.disks.resize/zone": zone +"/compute:beta/compute.disks.setLabels": set_disk_labels +"/compute:beta/compute.disks.setLabels/project": project +"/compute:beta/compute.disks.setLabels/resource": resource +"/compute:beta/compute.disks.setLabels/zone": zone +"/compute:beta/compute.disks.testIamPermissions": test_disk_iam_permissions +"/compute:beta/compute.disks.testIamPermissions/project": project +"/compute:beta/compute.disks.testIamPermissions/resource": resource +"/compute:beta/compute.disks.testIamPermissions/zone": zone +"/compute:beta/compute.firewalls.delete": delete_firewall +"/compute:beta/compute.firewalls.delete/firewall": firewall +"/compute:beta/compute.firewalls.delete/project": project +"/compute:beta/compute.firewalls.get": get_firewall +"/compute:beta/compute.firewalls.get/firewall": firewall +"/compute:beta/compute.firewalls.get/project": project +"/compute:beta/compute.firewalls.insert": insert_firewall +"/compute:beta/compute.firewalls.insert/project": project +"/compute:beta/compute.firewalls.list": list_firewalls +"/compute:beta/compute.firewalls.list/filter": filter +"/compute:beta/compute.firewalls.list/maxResults": max_results +"/compute:beta/compute.firewalls.list/orderBy": order_by +"/compute:beta/compute.firewalls.list/pageToken": page_token +"/compute:beta/compute.firewalls.list/project": project +"/compute:beta/compute.firewalls.patch": patch_firewall +"/compute:beta/compute.firewalls.patch/firewall": firewall +"/compute:beta/compute.firewalls.patch/project": project +"/compute:beta/compute.firewalls.testIamPermissions": test_firewall_iam_permissions +"/compute:beta/compute.firewalls.testIamPermissions/project": project +"/compute:beta/compute.firewalls.testIamPermissions/resource": resource +"/compute:beta/compute.firewalls.update": update_firewall +"/compute:beta/compute.firewalls.update/firewall": firewall +"/compute:beta/compute.firewalls.update/project": project +"/compute:beta/compute.forwardingRules.aggregatedList/filter": filter +"/compute:beta/compute.forwardingRules.aggregatedList/maxResults": max_results +"/compute:beta/compute.forwardingRules.aggregatedList/orderBy": order_by +"/compute:beta/compute.forwardingRules.aggregatedList/pageToken": page_token +"/compute:beta/compute.forwardingRules.aggregatedList/project": project +"/compute:beta/compute.forwardingRules.delete": delete_forwarding_rule +"/compute:beta/compute.forwardingRules.delete/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.delete/project": project +"/compute:beta/compute.forwardingRules.delete/region": region +"/compute:beta/compute.forwardingRules.get": get_forwarding_rule +"/compute:beta/compute.forwardingRules.get/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.get/project": project +"/compute:beta/compute.forwardingRules.get/region": region +"/compute:beta/compute.forwardingRules.insert": insert_forwarding_rule +"/compute:beta/compute.forwardingRules.insert/project": project +"/compute:beta/compute.forwardingRules.insert/region": region +"/compute:beta/compute.forwardingRules.list": list_forwarding_rules +"/compute:beta/compute.forwardingRules.list/filter": filter +"/compute:beta/compute.forwardingRules.list/maxResults": max_results +"/compute:beta/compute.forwardingRules.list/orderBy": order_by +"/compute:beta/compute.forwardingRules.list/pageToken": page_token +"/compute:beta/compute.forwardingRules.list/project": project +"/compute:beta/compute.forwardingRules.list/region": region +"/compute:beta/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:beta/compute.forwardingRules.setTarget/project": project +"/compute:beta/compute.forwardingRules.setTarget/region": region +"/compute:beta/compute.forwardingRules.testIamPermissions": test_forwarding_rule_iam_permissions +"/compute:beta/compute.forwardingRules.testIamPermissions/project": project +"/compute:beta/compute.forwardingRules.testIamPermissions/region": region +"/compute:beta/compute.forwardingRules.testIamPermissions/resource": resource +"/compute:beta/compute.globalAddresses.delete": delete_global_address +"/compute:beta/compute.globalAddresses.delete/address": address +"/compute:beta/compute.globalAddresses.delete/project": project +"/compute:beta/compute.globalAddresses.get": get_global_address +"/compute:beta/compute.globalAddresses.get/address": address +"/compute:beta/compute.globalAddresses.get/project": project +"/compute:beta/compute.globalAddresses.insert": insert_global_address +"/compute:beta/compute.globalAddresses.insert/project": project +"/compute:beta/compute.globalAddresses.list": list_global_addresses +"/compute:beta/compute.globalAddresses.list/filter": filter +"/compute:beta/compute.globalAddresses.list/maxResults": max_results +"/compute:beta/compute.globalAddresses.list/orderBy": order_by +"/compute:beta/compute.globalAddresses.list/pageToken": page_token +"/compute:beta/compute.globalAddresses.list/project": project +"/compute:beta/compute.globalAddresses.testIamPermissions": test_global_address_iam_permissions +"/compute:beta/compute.globalAddresses.testIamPermissions/project": project +"/compute:beta/compute.globalAddresses.testIamPermissions/resource": resource +"/compute:beta/compute.globalForwardingRules.delete": delete_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.delete/project": project +"/compute:beta/compute.globalForwardingRules.get": get_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.get/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.get/project": project +"/compute:beta/compute.globalForwardingRules.insert": insert_global_forwarding_rule +"/compute:beta/compute.globalForwardingRules.insert/project": project +"/compute:beta/compute.globalForwardingRules.list": list_global_forwarding_rules +"/compute:beta/compute.globalForwardingRules.list/filter": filter +"/compute:beta/compute.globalForwardingRules.list/maxResults": max_results +"/compute:beta/compute.globalForwardingRules.list/orderBy": order_by +"/compute:beta/compute.globalForwardingRules.list/pageToken": page_token +"/compute:beta/compute.globalForwardingRules.list/project": project +"/compute:beta/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:beta/compute.globalForwardingRules.setTarget/project": project +"/compute:beta/compute.globalForwardingRules.testIamPermissions": test_global_forwarding_rule_iam_permissions +"/compute:beta/compute.globalForwardingRules.testIamPermissions/project": project +"/compute:beta/compute.globalForwardingRules.testIamPermissions/resource": resource +"/compute:beta/compute.globalOperations.aggregatedList/filter": filter +"/compute:beta/compute.globalOperations.aggregatedList/maxResults": max_results +"/compute:beta/compute.globalOperations.aggregatedList/orderBy": order_by +"/compute:beta/compute.globalOperations.aggregatedList/pageToken": page_token +"/compute:beta/compute.globalOperations.aggregatedList/project": project +"/compute:beta/compute.globalOperations.delete": delete_global_operation +"/compute:beta/compute.globalOperations.delete/operation": operation +"/compute:beta/compute.globalOperations.delete/project": project +"/compute:beta/compute.globalOperations.get": get_global_operation +"/compute:beta/compute.globalOperations.get/operation": operation +"/compute:beta/compute.globalOperations.get/project": project +"/compute:beta/compute.globalOperations.list": list_global_operations +"/compute:beta/compute.globalOperations.list/filter": filter +"/compute:beta/compute.globalOperations.list/maxResults": max_results +"/compute:beta/compute.globalOperations.list/orderBy": order_by +"/compute:beta/compute.globalOperations.list/pageToken": page_token +"/compute:beta/compute.globalOperations.list/project": project +"/compute:beta/compute.healthChecks.delete": delete_health_check +"/compute:beta/compute.healthChecks.delete/healthCheck": health_check +"/compute:beta/compute.healthChecks.delete/project": project +"/compute:beta/compute.healthChecks.get": get_health_check +"/compute:beta/compute.healthChecks.get/healthCheck": health_check +"/compute:beta/compute.healthChecks.get/project": project +"/compute:beta/compute.healthChecks.insert": insert_health_check +"/compute:beta/compute.healthChecks.insert/project": project +"/compute:beta/compute.healthChecks.list": list_health_checks +"/compute:beta/compute.healthChecks.list/filter": filter +"/compute:beta/compute.healthChecks.list/maxResults": max_results +"/compute:beta/compute.healthChecks.list/orderBy": order_by +"/compute:beta/compute.healthChecks.list/pageToken": page_token +"/compute:beta/compute.healthChecks.list/project": project +"/compute:beta/compute.healthChecks.patch": patch_health_check +"/compute:beta/compute.healthChecks.patch/healthCheck": health_check +"/compute:beta/compute.healthChecks.patch/project": project +"/compute:beta/compute.healthChecks.testIamPermissions": test_health_check_iam_permissions +"/compute:beta/compute.healthChecks.testIamPermissions/project": project +"/compute:beta/compute.healthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.healthChecks.update": update_health_check +"/compute:beta/compute.healthChecks.update/healthCheck": health_check +"/compute:beta/compute.healthChecks.update/project": project +"/compute:beta/compute.httpHealthChecks.delete": delete_http_health_check +"/compute:beta/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.delete/project": project +"/compute:beta/compute.httpHealthChecks.get": get_http_health_check +"/compute:beta/compute.httpHealthChecks.get/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.get/project": project +"/compute:beta/compute.httpHealthChecks.insert": insert_http_health_check +"/compute:beta/compute.httpHealthChecks.insert/project": project +"/compute:beta/compute.httpHealthChecks.list": list_http_health_checks +"/compute:beta/compute.httpHealthChecks.list/filter": filter +"/compute:beta/compute.httpHealthChecks.list/maxResults": max_results +"/compute:beta/compute.httpHealthChecks.list/orderBy": order_by +"/compute:beta/compute.httpHealthChecks.list/pageToken": page_token +"/compute:beta/compute.httpHealthChecks.list/project": project +"/compute:beta/compute.httpHealthChecks.patch": patch_http_health_check +"/compute:beta/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.patch/project": project +"/compute:beta/compute.httpHealthChecks.testIamPermissions": test_http_health_check_iam_permissions +"/compute:beta/compute.httpHealthChecks.testIamPermissions/project": project +"/compute:beta/compute.httpHealthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.httpHealthChecks.update": update_http_health_check +"/compute:beta/compute.httpHealthChecks.update/httpHealthCheck": http_health_check +"/compute:beta/compute.httpHealthChecks.update/project": project +"/compute:beta/compute.httpsHealthChecks.delete": delete_https_health_check +"/compute:beta/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.delete/project": project +"/compute:beta/compute.httpsHealthChecks.get": get_https_health_check +"/compute:beta/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.get/project": project +"/compute:beta/compute.httpsHealthChecks.insert": insert_https_health_check +"/compute:beta/compute.httpsHealthChecks.insert/project": project +"/compute:beta/compute.httpsHealthChecks.list": list_https_health_checks +"/compute:beta/compute.httpsHealthChecks.list/filter": filter +"/compute:beta/compute.httpsHealthChecks.list/maxResults": max_results +"/compute:beta/compute.httpsHealthChecks.list/orderBy": order_by +"/compute:beta/compute.httpsHealthChecks.list/pageToken": page_token +"/compute:beta/compute.httpsHealthChecks.list/project": project +"/compute:beta/compute.httpsHealthChecks.patch": patch_https_health_check +"/compute:beta/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.patch/project": project +"/compute:beta/compute.httpsHealthChecks.testIamPermissions": test_https_health_check_iam_permissions +"/compute:beta/compute.httpsHealthChecks.testIamPermissions/project": project +"/compute:beta/compute.httpsHealthChecks.testIamPermissions/resource": resource +"/compute:beta/compute.httpsHealthChecks.update": update_https_health_check +"/compute:beta/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check +"/compute:beta/compute.httpsHealthChecks.update/project": project +"/compute:beta/compute.images.delete": delete_image +"/compute:beta/compute.images.delete/image": image +"/compute:beta/compute.images.delete/project": project +"/compute:beta/compute.images.deprecate": deprecate_image +"/compute:beta/compute.images.deprecate/image": image +"/compute:beta/compute.images.deprecate/project": project +"/compute:beta/compute.images.get": get_image +"/compute:beta/compute.images.get/image": image +"/compute:beta/compute.images.get/project": project +"/compute:beta/compute.images.getFromFamily": get_image_from_family +"/compute:beta/compute.images.getFromFamily/family": family +"/compute:beta/compute.images.getFromFamily/project": project +"/compute:beta/compute.images.insert": insert_image +"/compute:beta/compute.images.insert/project": project +"/compute:beta/compute.images.list": list_images +"/compute:beta/compute.images.list/filter": filter +"/compute:beta/compute.images.list/maxResults": max_results +"/compute:beta/compute.images.list/orderBy": order_by +"/compute:beta/compute.images.list/pageToken": page_token +"/compute:beta/compute.images.list/project": project +"/compute:beta/compute.images.setLabels": set_image_labels +"/compute:beta/compute.images.setLabels/project": project +"/compute:beta/compute.images.setLabels/resource": resource +"/compute:beta/compute.images.testIamPermissions": test_image_iam_permissions +"/compute:beta/compute.images.testIamPermissions/project": project +"/compute:beta/compute.images.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.abandonInstances/project": project +"/compute:beta/compute.instanceGroupManagers.abandonInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.aggregatedList/filter": filter +"/compute:beta/compute.instanceGroupManagers.aggregatedList/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.aggregatedList/orderBy": order_by +"/compute:beta/compute.instanceGroupManagers.aggregatedList/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.aggregatedList/project": project +"/compute:beta/compute.instanceGroupManagers.delete": delete_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.delete/project": project +"/compute:beta/compute.instanceGroupManagers.delete/zone": zone +"/compute:beta/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.deleteInstances/project": project +"/compute:beta/compute.instanceGroupManagers.deleteInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.get": get_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.get/project": project +"/compute:beta/compute.instanceGroupManagers.get/zone": zone +"/compute:beta/compute.instanceGroupManagers.insert": insert_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.insert/project": project +"/compute:beta/compute.instanceGroupManagers.insert/zone": zone +"/compute:beta/compute.instanceGroupManagers.list": list_instance_group_managers +"/compute:beta/compute.instanceGroupManagers.list/filter": filter +"/compute:beta/compute.instanceGroupManagers.list/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.list/orderBy": order_by +"/compute:beta/compute.instanceGroupManagers.list/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.list/project": project +"/compute:beta/compute.instanceGroupManagers.list/zone": zone +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/filter": filter +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/project": project +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.recreateInstances/project": project +"/compute:beta/compute.instanceGroupManagers.recreateInstances/zone": zone +"/compute:beta/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.resize/project": project +"/compute:beta/compute.instanceGroupManagers.resize/size": size +"/compute:beta/compute.instanceGroupManagers.resize/zone": zone +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced": resize_instance_group_manager_advanced +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/project": project +"/compute:beta/compute.instanceGroupManagers.resizeAdvanced/zone": zone +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies": set_instance_group_manager_auto_healing_policies +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/project": project +"/compute:beta/compute.instanceGroupManagers.setAutoHealingPolicies/zone": zone +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/project": project +"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate/zone": zone +"/compute:beta/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.setTargetPools/project": project +"/compute:beta/compute.instanceGroupManagers.setTargetPools/zone": zone +"/compute:beta/compute.instanceGroupManagers.testIamPermissions": test_instance_group_manager_iam_permissions +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/project": project +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroupManagers.testIamPermissions/zone": zone +"/compute:beta/compute.instanceGroups.addInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.addInstances/project": project +"/compute:beta/compute.instanceGroups.addInstances/zone": zone +"/compute:beta/compute.instanceGroups.aggregatedList/filter": filter +"/compute:beta/compute.instanceGroups.aggregatedList/maxResults": max_results +"/compute:beta/compute.instanceGroups.aggregatedList/orderBy": order_by +"/compute:beta/compute.instanceGroups.aggregatedList/pageToken": page_token +"/compute:beta/compute.instanceGroups.aggregatedList/project": project +"/compute:beta/compute.instanceGroups.delete": delete_instance_group +"/compute:beta/compute.instanceGroups.delete/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.delete/project": project +"/compute:beta/compute.instanceGroups.delete/zone": zone +"/compute:beta/compute.instanceGroups.get": get_instance_group +"/compute:beta/compute.instanceGroups.get/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.get/project": project +"/compute:beta/compute.instanceGroups.get/zone": zone +"/compute:beta/compute.instanceGroups.insert": insert_instance_group +"/compute:beta/compute.instanceGroups.insert/project": project +"/compute:beta/compute.instanceGroups.insert/zone": zone +"/compute:beta/compute.instanceGroups.list": list_instance_groups +"/compute:beta/compute.instanceGroups.list/filter": filter +"/compute:beta/compute.instanceGroups.list/maxResults": max_results +"/compute:beta/compute.instanceGroups.list/orderBy": order_by +"/compute:beta/compute.instanceGroups.list/pageToken": page_token +"/compute:beta/compute.instanceGroups.list/project": project +"/compute:beta/compute.instanceGroups.list/zone": zone +"/compute:beta/compute.instanceGroups.listInstances/filter": filter +"/compute:beta/compute.instanceGroups.listInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.listInstances/maxResults": max_results +"/compute:beta/compute.instanceGroups.listInstances/orderBy": order_by +"/compute:beta/compute.instanceGroups.listInstances/pageToken": page_token +"/compute:beta/compute.instanceGroups.listInstances/project": project +"/compute:beta/compute.instanceGroups.listInstances/zone": zone +"/compute:beta/compute.instanceGroups.removeInstances/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.removeInstances/project": project +"/compute:beta/compute.instanceGroups.removeInstances/zone": zone +"/compute:beta/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:beta/compute.instanceGroups.setNamedPorts/project": project +"/compute:beta/compute.instanceGroups.setNamedPorts/zone": zone +"/compute:beta/compute.instanceGroups.testIamPermissions": test_instance_group_iam_permissions +"/compute:beta/compute.instanceGroups.testIamPermissions/project": project +"/compute:beta/compute.instanceGroups.testIamPermissions/resource": resource +"/compute:beta/compute.instanceGroups.testIamPermissions/zone": zone +"/compute:beta/compute.instanceTemplates.delete": delete_instance_template +"/compute:beta/compute.instanceTemplates.delete/instanceTemplate": instance_template +"/compute:beta/compute.instanceTemplates.delete/project": project +"/compute:beta/compute.instanceTemplates.get": get_instance_template +"/compute:beta/compute.instanceTemplates.get/instanceTemplate": instance_template +"/compute:beta/compute.instanceTemplates.get/project": project +"/compute:beta/compute.instanceTemplates.insert": insert_instance_template +"/compute:beta/compute.instanceTemplates.insert/project": project +"/compute:beta/compute.instanceTemplates.list": list_instance_templates +"/compute:beta/compute.instanceTemplates.list/filter": filter +"/compute:beta/compute.instanceTemplates.list/maxResults": max_results +"/compute:beta/compute.instanceTemplates.list/orderBy": order_by +"/compute:beta/compute.instanceTemplates.list/pageToken": page_token +"/compute:beta/compute.instanceTemplates.list/project": project +"/compute:beta/compute.instanceTemplates.testIamPermissions": test_instance_template_iam_permissions +"/compute:beta/compute.instanceTemplates.testIamPermissions/project": project +"/compute:beta/compute.instanceTemplates.testIamPermissions/resource": resource +"/compute:beta/compute.instances.addAccessConfig/instance": instance +"/compute:beta/compute.instances.addAccessConfig/networkInterface": network_interface +"/compute:beta/compute.instances.addAccessConfig/project": project +"/compute:beta/compute.instances.addAccessConfig/zone": zone +"/compute:beta/compute.instances.aggregatedList/filter": filter +"/compute:beta/compute.instances.aggregatedList/maxResults": max_results +"/compute:beta/compute.instances.aggregatedList/orderBy": order_by +"/compute:beta/compute.instances.aggregatedList/pageToken": page_token +"/compute:beta/compute.instances.aggregatedList/project": project +"/compute:beta/compute.instances.attachDisk/instance": instance +"/compute:beta/compute.instances.attachDisk/project": project +"/compute:beta/compute.instances.attachDisk/zone": zone +"/compute:beta/compute.instances.delete": delete_instance +"/compute:beta/compute.instances.delete/instance": instance +"/compute:beta/compute.instances.delete/project": project +"/compute:beta/compute.instances.delete/zone": zone +"/compute:beta/compute.instances.deleteAccessConfig/accessConfig": access_config +"/compute:beta/compute.instances.deleteAccessConfig/instance": instance +"/compute:beta/compute.instances.deleteAccessConfig/networkInterface": network_interface +"/compute:beta/compute.instances.deleteAccessConfig/project": project +"/compute:beta/compute.instances.deleteAccessConfig/zone": zone +"/compute:beta/compute.instances.detachDisk/deviceName": device_name +"/compute:beta/compute.instances.detachDisk/instance": instance +"/compute:beta/compute.instances.detachDisk/project": project +"/compute:beta/compute.instances.detachDisk/zone": zone +"/compute:beta/compute.instances.get": get_instance +"/compute:beta/compute.instances.get/instance": instance +"/compute:beta/compute.instances.get/project": project +"/compute:beta/compute.instances.get/zone": zone +"/compute:beta/compute.instances.getSerialPortOutput/instance": instance +"/compute:beta/compute.instances.getSerialPortOutput/port": port +"/compute:beta/compute.instances.getSerialPortOutput/project": project +"/compute:beta/compute.instances.getSerialPortOutput/start": start +"/compute:beta/compute.instances.getSerialPortOutput/zone": zone +"/compute:beta/compute.instances.insert": insert_instance +"/compute:beta/compute.instances.insert/project": project +"/compute:beta/compute.instances.insert/zone": zone +"/compute:beta/compute.instances.list": list_instances +"/compute:beta/compute.instances.list/filter": filter +"/compute:beta/compute.instances.list/maxResults": max_results +"/compute:beta/compute.instances.list/orderBy": order_by +"/compute:beta/compute.instances.list/pageToken": page_token +"/compute:beta/compute.instances.list/project": project +"/compute:beta/compute.instances.list/zone": zone +"/compute:beta/compute.instances.reset": reset_instance +"/compute:beta/compute.instances.reset/instance": instance +"/compute:beta/compute.instances.reset/project": project +"/compute:beta/compute.instances.reset/zone": zone +"/compute:beta/compute.instances.setDiskAutoDelete/autoDelete": auto_delete +"/compute:beta/compute.instances.setDiskAutoDelete/deviceName": device_name +"/compute:beta/compute.instances.setDiskAutoDelete/instance": instance +"/compute:beta/compute.instances.setDiskAutoDelete/project": project +"/compute:beta/compute.instances.setDiskAutoDelete/zone": zone +"/compute:beta/compute.instances.setLabels": set_instance_labels +"/compute:beta/compute.instances.setLabels/instance": instance +"/compute:beta/compute.instances.setLabels/project": project +"/compute:beta/compute.instances.setLabels/zone": zone +"/compute:beta/compute.instances.setMachineType": set_instance_machine_type +"/compute:beta/compute.instances.setMachineType/instance": instance +"/compute:beta/compute.instances.setMachineType/project": project +"/compute:beta/compute.instances.setMachineType/zone": zone +"/compute:beta/compute.instances.setMetadata/instance": instance +"/compute:beta/compute.instances.setMetadata/project": project +"/compute:beta/compute.instances.setMetadata/zone": zone +"/compute:beta/compute.instances.setScheduling/instance": instance +"/compute:beta/compute.instances.setScheduling/project": project +"/compute:beta/compute.instances.setScheduling/zone": zone +"/compute:beta/compute.instances.setServiceAccount": set_instance_service_account +"/compute:beta/compute.instances.setServiceAccount/instance": instance +"/compute:beta/compute.instances.setServiceAccount/project": project +"/compute:beta/compute.instances.setServiceAccount/zone": zone +"/compute:beta/compute.instances.setTags/instance": instance +"/compute:beta/compute.instances.setTags/project": project +"/compute:beta/compute.instances.setTags/zone": zone +"/compute:beta/compute.instances.start": start_instance +"/compute:beta/compute.instances.start/instance": instance +"/compute:beta/compute.instances.start/project": project +"/compute:beta/compute.instances.start/zone": zone +"/compute:beta/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key +"/compute:beta/compute.instances.startWithEncryptionKey/instance": instance +"/compute:beta/compute.instances.startWithEncryptionKey/project": project +"/compute:beta/compute.instances.startWithEncryptionKey/zone": zone +"/compute:beta/compute.instances.stop": stop_instance +"/compute:beta/compute.instances.stop/instance": instance +"/compute:beta/compute.instances.stop/project": project +"/compute:beta/compute.instances.stop/zone": zone +"/compute:beta/compute.instances.testIamPermissions": test_instance_iam_permissions +"/compute:beta/compute.instances.testIamPermissions/project": project +"/compute:beta/compute.instances.testIamPermissions/resource": resource +"/compute:beta/compute.instances.testIamPermissions/zone": zone +"/compute:beta/compute.licenses.get": get_license +"/compute:beta/compute.licenses.get/license": license +"/compute:beta/compute.licenses.get/project": project +"/compute:beta/compute.machineTypes.aggregatedList/filter": filter +"/compute:beta/compute.machineTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.machineTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.machineTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.machineTypes.aggregatedList/project": project +"/compute:beta/compute.machineTypes.get": get_machine_type +"/compute:beta/compute.machineTypes.get/machineType": machine_type +"/compute:beta/compute.machineTypes.get/project": project +"/compute:beta/compute.machineTypes.get/zone": zone +"/compute:beta/compute.machineTypes.list": list_machine_types +"/compute:beta/compute.machineTypes.list/filter": filter +"/compute:beta/compute.machineTypes.list/maxResults": max_results +"/compute:beta/compute.machineTypes.list/orderBy": order_by +"/compute:beta/compute.machineTypes.list/pageToken": page_token +"/compute:beta/compute.machineTypes.list/project": project +"/compute:beta/compute.machineTypes.list/zone": zone +"/compute:beta/compute.networks.delete": delete_network +"/compute:beta/compute.networks.delete/network": network +"/compute:beta/compute.networks.delete/project": project +"/compute:beta/compute.networks.get": get_network +"/compute:beta/compute.networks.get/network": network +"/compute:beta/compute.networks.get/project": project +"/compute:beta/compute.networks.insert": insert_network +"/compute:beta/compute.networks.insert/project": project +"/compute:beta/compute.networks.list": list_networks +"/compute:beta/compute.networks.list/filter": filter +"/compute:beta/compute.networks.list/maxResults": max_results +"/compute:beta/compute.networks.list/orderBy": order_by +"/compute:beta/compute.networks.list/pageToken": page_token +"/compute:beta/compute.networks.list/project": project +"/compute:beta/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:beta/compute.networks.switchToCustomMode/network": network +"/compute:beta/compute.networks.switchToCustomMode/project": project +"/compute:beta/compute.networks.testIamPermissions": test_network_iam_permissions +"/compute:beta/compute.networks.testIamPermissions/project": project +"/compute:beta/compute.networks.testIamPermissions/resource": resource +"/compute:beta/compute.projects.get": get_project +"/compute:beta/compute.projects.get/project": project +"/compute:beta/compute.projects.getXpnHost": get_project_xpn_host +"/compute:beta/compute.projects.getXpnHost/project": project +"/compute:beta/compute.projects.listXpnHosts": list_project_xpn_hosts +"/compute:beta/compute.projects.listXpnHosts/project": project +"/compute:beta/compute.projects.moveDisk/project": project +"/compute:beta/compute.projects.moveInstance/project": project +"/compute:beta/compute.projects.setCommonInstanceMetadata/project": project +"/compute:beta/compute.projects.setUsageExportBucket/project": project +"/compute:beta/compute.regionAutoscalers.delete": delete_region_autoscaler +"/compute:beta/compute.regionAutoscalers.delete/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.delete/project": project +"/compute:beta/compute.regionAutoscalers.delete/region": region +"/compute:beta/compute.regionAutoscalers.get": get_region_autoscaler +"/compute:beta/compute.regionAutoscalers.get/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.get/project": project +"/compute:beta/compute.regionAutoscalers.get/region": region +"/compute:beta/compute.regionAutoscalers.insert": insert_region_autoscaler +"/compute:beta/compute.regionAutoscalers.insert/project": project +"/compute:beta/compute.regionAutoscalers.insert/region": region +"/compute:beta/compute.regionAutoscalers.list": list_region_autoscalers +"/compute:beta/compute.regionAutoscalers.list/filter": filter +"/compute:beta/compute.regionAutoscalers.list/maxResults": max_results +"/compute:beta/compute.regionAutoscalers.list/orderBy": order_by +"/compute:beta/compute.regionAutoscalers.list/pageToken": page_token +"/compute:beta/compute.regionAutoscalers.list/project": project +"/compute:beta/compute.regionAutoscalers.list/region": region +"/compute:beta/compute.regionAutoscalers.patch": patch_region_autoscaler +"/compute:beta/compute.regionAutoscalers.patch/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.patch/project": project +"/compute:beta/compute.regionAutoscalers.patch/region": region +"/compute:beta/compute.regionAutoscalers.testIamPermissions": test_region_autoscaler_iam_permissions +"/compute:beta/compute.regionAutoscalers.testIamPermissions/project": project +"/compute:beta/compute.regionAutoscalers.testIamPermissions/region": region +"/compute:beta/compute.regionAutoscalers.testIamPermissions/resource": resource +"/compute:beta/compute.regionAutoscalers.update": update_region_autoscaler +"/compute:beta/compute.regionAutoscalers.update/autoscaler": autoscaler +"/compute:beta/compute.regionAutoscalers.update/project": project +"/compute:beta/compute.regionAutoscalers.update/region": region +"/compute:beta/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:beta/compute.regionBackendServices.delete/backendService": backend_service +"/compute:beta/compute.regionBackendServices.delete/project": project +"/compute:beta/compute.regionBackendServices.delete/region": region +"/compute:beta/compute.regionBackendServices.get": get_region_backend_service +"/compute:beta/compute.regionBackendServices.get/backendService": backend_service +"/compute:beta/compute.regionBackendServices.get/project": project +"/compute:beta/compute.regionBackendServices.get/region": region +"/compute:beta/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:beta/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:beta/compute.regionBackendServices.getHealth/project": project +"/compute:beta/compute.regionBackendServices.getHealth/region": region +"/compute:beta/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:beta/compute.regionBackendServices.insert/project": project +"/compute:beta/compute.regionBackendServices.insert/region": region +"/compute:beta/compute.regionBackendServices.list": list_region_backend_services +"/compute:beta/compute.regionBackendServices.list/filter": filter +"/compute:beta/compute.regionBackendServices.list/maxResults": max_results +"/compute:beta/compute.regionBackendServices.list/orderBy": order_by +"/compute:beta/compute.regionBackendServices.list/pageToken": page_token +"/compute:beta/compute.regionBackendServices.list/project": project +"/compute:beta/compute.regionBackendServices.list/region": region +"/compute:beta/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:beta/compute.regionBackendServices.patch/backendService": backend_service +"/compute:beta/compute.regionBackendServices.patch/project": project +"/compute:beta/compute.regionBackendServices.patch/region": region +"/compute:beta/compute.regionBackendServices.testIamPermissions": test_region_backend_service_iam_permissions +"/compute:beta/compute.regionBackendServices.testIamPermissions/project": project +"/compute:beta/compute.regionBackendServices.testIamPermissions/region": region +"/compute:beta/compute.regionBackendServices.testIamPermissions/resource": resource +"/compute:beta/compute.regionBackendServices.update": update_region_backend_service +"/compute:beta/compute.regionBackendServices.update/backendService": backend_service +"/compute:beta/compute.regionBackendServices.update/project": project +"/compute:beta/compute.regionBackendServices.update/region": region +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.delete/project": project +"/compute:beta/compute.regionInstanceGroupManagers.delete/region": region +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.deleteInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.get/project": project +"/compute:beta/compute.regionInstanceGroupManagers.get/region": region +"/compute:beta/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.insert/project": project +"/compute:beta/compute.regionInstanceGroupManagers.insert/region": region +"/compute:beta/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers +"/compute:beta/compute.regionInstanceGroupManagers.list/filter": filter +"/compute:beta/compute.regionInstanceGroupManagers.list/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.list/orderBy": order_by +"/compute:beta/compute.regionInstanceGroupManagers.list/pageToken": page_token +"/compute:beta/compute.regionInstanceGroupManagers.list/project": project +"/compute:beta/compute.regionInstanceGroupManagers.list/region": region +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.patch": patch_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/project": project +"/compute:beta/compute.regionInstanceGroupManagers.patch/region": region +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/project": project +"/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.resize/project": project +"/compute:beta/compute.regionInstanceGroupManagers.resize/region": region +"/compute:beta/compute.regionInstanceGroupManagers.resize/size": size +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies": set_region_instance_group_manager_auto_healing_policies +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setAutoHealingPolicies/region": region +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/project": project +"/compute:beta/compute.regionInstanceGroupManagers.setTargetPools/region": region +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions": test_region_instance_group_manager_iam_permissions +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/project": project +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/region": region +"/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/resource": resource +"/compute:beta/compute.regionInstanceGroupManagers.update": update_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/project": project +"/compute:beta/compute.regionInstanceGroupManagers.update/region": region +"/compute:beta/compute.regionInstanceGroups.get": get_region_instance_group +"/compute:beta/compute.regionInstanceGroups.get/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.get/project": project +"/compute:beta/compute.regionInstanceGroups.get/region": region +"/compute:beta/compute.regionInstanceGroups.list": list_region_instance_groups +"/compute:beta/compute.regionInstanceGroups.list/filter": filter +"/compute:beta/compute.regionInstanceGroups.list/maxResults": max_results +"/compute:beta/compute.regionInstanceGroups.list/orderBy": order_by +"/compute:beta/compute.regionInstanceGroups.list/pageToken": page_token +"/compute:beta/compute.regionInstanceGroups.list/project": project +"/compute:beta/compute.regionInstanceGroups.list/region": region +"/compute:beta/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances +"/compute:beta/compute.regionInstanceGroups.listInstances/filter": filter +"/compute:beta/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.listInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroups.listInstances/orderBy": order_by +"/compute:beta/compute.regionInstanceGroups.listInstances/pageToken": page_token +"/compute:beta/compute.regionInstanceGroups.listInstances/project": project +"/compute:beta/compute.regionInstanceGroups.listInstances/region": region +"/compute:beta/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/project": project +"/compute:beta/compute.regionInstanceGroups.setNamedPorts/region": region +"/compute:beta/compute.regionInstanceGroups.testIamPermissions": test_region_instance_group_iam_permissions +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/project": project +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/region": region +"/compute:beta/compute.regionInstanceGroups.testIamPermissions/resource": resource +"/compute:beta/compute.regionOperations.delete": delete_region_operation +"/compute:beta/compute.regionOperations.delete/operation": operation +"/compute:beta/compute.regionOperations.delete/project": project +"/compute:beta/compute.regionOperations.delete/region": region +"/compute:beta/compute.regionOperations.get": get_region_operation +"/compute:beta/compute.regionOperations.get/operation": operation +"/compute:beta/compute.regionOperations.get/project": project +"/compute:beta/compute.regionOperations.get/region": region +"/compute:beta/compute.regionOperations.list": list_region_operations +"/compute:beta/compute.regionOperations.list/filter": filter +"/compute:beta/compute.regionOperations.list/maxResults": max_results +"/compute:beta/compute.regionOperations.list/orderBy": order_by +"/compute:beta/compute.regionOperations.list/pageToken": page_token +"/compute:beta/compute.regionOperations.list/project": project +"/compute:beta/compute.regionOperations.list/region": region +"/compute:beta/compute.regions.get": get_region +"/compute:beta/compute.regions.get/project": project +"/compute:beta/compute.regions.get/region": region +"/compute:beta/compute.regions.list": list_regions +"/compute:beta/compute.regions.list/filter": filter +"/compute:beta/compute.regions.list/maxResults": max_results +"/compute:beta/compute.regions.list/orderBy": order_by +"/compute:beta/compute.regions.list/pageToken": page_token +"/compute:beta/compute.regions.list/project": project +"/compute:beta/compute.routers.aggregatedList/filter": filter +"/compute:beta/compute.routers.aggregatedList/maxResults": max_results +"/compute:beta/compute.routers.aggregatedList/orderBy": order_by +"/compute:beta/compute.routers.aggregatedList/pageToken": page_token +"/compute:beta/compute.routers.aggregatedList/project": project +"/compute:beta/compute.routers.delete": delete_router +"/compute:beta/compute.routers.delete/project": project +"/compute:beta/compute.routers.delete/region": region +"/compute:beta/compute.routers.delete/router": router +"/compute:beta/compute.routers.get": get_router +"/compute:beta/compute.routers.get/project": project +"/compute:beta/compute.routers.get/region": region +"/compute:beta/compute.routers.get/router": router +"/compute:beta/compute.routers.getRouterStatus/project": project +"/compute:beta/compute.routers.getRouterStatus/region": region +"/compute:beta/compute.routers.getRouterStatus/router": router +"/compute:beta/compute.routers.insert": insert_router +"/compute:beta/compute.routers.insert/project": project +"/compute:beta/compute.routers.insert/region": region +"/compute:beta/compute.routers.list": list_routers +"/compute:beta/compute.routers.list/filter": filter +"/compute:beta/compute.routers.list/maxResults": max_results +"/compute:beta/compute.routers.list/orderBy": order_by +"/compute:beta/compute.routers.list/pageToken": page_token +"/compute:beta/compute.routers.list/project": project +"/compute:beta/compute.routers.list/region": region +"/compute:beta/compute.routers.patch": patch_router +"/compute:beta/compute.routers.patch/project": project +"/compute:beta/compute.routers.patch/region": region +"/compute:beta/compute.routers.patch/router": router +"/compute:beta/compute.routers.preview": preview_router +"/compute:beta/compute.routers.preview/project": project +"/compute:beta/compute.routers.preview/region": region +"/compute:beta/compute.routers.preview/router": router +"/compute:beta/compute.routers.testIamPermissions": test_router_iam_permissions +"/compute:beta/compute.routers.testIamPermissions/project": project +"/compute:beta/compute.routers.testIamPermissions/region": region +"/compute:beta/compute.routers.testIamPermissions/resource": resource +"/compute:beta/compute.routers.update": update_router +"/compute:beta/compute.routers.update/project": project +"/compute:beta/compute.routers.update/region": region +"/compute:beta/compute.routers.update/router": router +"/compute:beta/compute.routes.delete": delete_route +"/compute:beta/compute.routes.delete/project": project +"/compute:beta/compute.routes.delete/route": route +"/compute:beta/compute.routes.get": get_route +"/compute:beta/compute.routes.get/project": project +"/compute:beta/compute.routes.get/route": route +"/compute:beta/compute.routes.insert": insert_route +"/compute:beta/compute.routes.insert/project": project +"/compute:beta/compute.routes.list": list_routes +"/compute:beta/compute.routes.list/filter": filter +"/compute:beta/compute.routes.list/maxResults": max_results +"/compute:beta/compute.routes.list/orderBy": order_by +"/compute:beta/compute.routes.list/pageToken": page_token +"/compute:beta/compute.routes.list/project": project +"/compute:beta/compute.routes.testIamPermissions": test_route_iam_permissions +"/compute:beta/compute.routes.testIamPermissions/project": project +"/compute:beta/compute.routes.testIamPermissions/resource": resource +"/compute:beta/compute.snapshots.delete": delete_snapshot +"/compute:beta/compute.snapshots.delete/project": project +"/compute:beta/compute.snapshots.delete/snapshot": snapshot +"/compute:beta/compute.snapshots.get": get_snapshot +"/compute:beta/compute.snapshots.get/project": project +"/compute:beta/compute.snapshots.get/snapshot": snapshot +"/compute:beta/compute.snapshots.list": list_snapshots +"/compute:beta/compute.snapshots.list/filter": filter +"/compute:beta/compute.snapshots.list/maxResults": max_results +"/compute:beta/compute.snapshots.list/orderBy": order_by +"/compute:beta/compute.snapshots.list/pageToken": page_token +"/compute:beta/compute.snapshots.list/project": project +"/compute:beta/compute.snapshots.setLabels": set_snapshot_labels +"/compute:beta/compute.snapshots.setLabels/project": project +"/compute:beta/compute.snapshots.setLabels/resource": resource +"/compute:beta/compute.snapshots.testIamPermissions": test_snapshot_iam_permissions +"/compute:beta/compute.snapshots.testIamPermissions/project": project +"/compute:beta/compute.snapshots.testIamPermissions/resource": resource +"/compute:beta/compute.sslCertificates.delete": delete_ssl_certificate +"/compute:beta/compute.sslCertificates.delete/project": project +"/compute:beta/compute.sslCertificates.delete/sslCertificate": ssl_certificate +"/compute:beta/compute.sslCertificates.get": get_ssl_certificate +"/compute:beta/compute.sslCertificates.get/project": project +"/compute:beta/compute.sslCertificates.get/sslCertificate": ssl_certificate +"/compute:beta/compute.sslCertificates.insert": insert_ssl_certificate +"/compute:beta/compute.sslCertificates.insert/project": project +"/compute:beta/compute.sslCertificates.list": list_ssl_certificates +"/compute:beta/compute.sslCertificates.list/filter": filter +"/compute:beta/compute.sslCertificates.list/maxResults": max_results +"/compute:beta/compute.sslCertificates.list/orderBy": order_by +"/compute:beta/compute.sslCertificates.list/pageToken": page_token +"/compute:beta/compute.sslCertificates.list/project": project +"/compute:beta/compute.sslCertificates.testIamPermissions": test_ssl_certificate_iam_permissions +"/compute:beta/compute.sslCertificates.testIamPermissions/project": project +"/compute:beta/compute.sslCertificates.testIamPermissions/resource": resource +"/compute:beta/compute.subnetworks.aggregatedList/filter": filter +"/compute:beta/compute.subnetworks.aggregatedList/maxResults": max_results +"/compute:beta/compute.subnetworks.aggregatedList/orderBy": order_by +"/compute:beta/compute.subnetworks.aggregatedList/pageToken": page_token +"/compute:beta/compute.subnetworks.aggregatedList/project": project +"/compute:beta/compute.subnetworks.delete": delete_subnetwork +"/compute:beta/compute.subnetworks.delete/project": project +"/compute:beta/compute.subnetworks.delete/region": region +"/compute:beta/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:beta/compute.subnetworks.expandIpCidrRange/project": project +"/compute:beta/compute.subnetworks.expandIpCidrRange/region": region +"/compute:beta/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.get": get_subnetwork +"/compute:beta/compute.subnetworks.get/project": project +"/compute:beta/compute.subnetworks.get/region": region +"/compute:beta/compute.subnetworks.get/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.getIamPolicy/project": project +"/compute:beta/compute.subnetworks.getIamPolicy/region": region +"/compute:beta/compute.subnetworks.getIamPolicy/resource": resource +"/compute:beta/compute.subnetworks.insert": insert_subnetwork +"/compute:beta/compute.subnetworks.insert/project": project +"/compute:beta/compute.subnetworks.insert/region": region +"/compute:beta/compute.subnetworks.list": list_subnetworks +"/compute:beta/compute.subnetworks.list/filter": filter +"/compute:beta/compute.subnetworks.list/maxResults": max_results +"/compute:beta/compute.subnetworks.list/orderBy": order_by +"/compute:beta/compute.subnetworks.list/pageToken": page_token +"/compute:beta/compute.subnetworks.list/project": project +"/compute:beta/compute.subnetworks.list/region": region +"/compute:beta/compute.subnetworks.setIamPolicy": set_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.setIamPolicy/project": project +"/compute:beta/compute.subnetworks.setIamPolicy/region": region +"/compute:beta/compute.subnetworks.setIamPolicy/resource": resource +"/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions +"/compute:beta/compute.subnetworks.testIamPermissions/project": project +"/compute:beta/compute.subnetworks.testIamPermissions/region": region +"/compute:beta/compute.subnetworks.testIamPermissions/resource": resource +"/compute:beta/compute.targetHttpProxies.delete": delete_target_http_proxy +"/compute:beta/compute.targetHttpProxies.delete/project": project +"/compute:beta/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.get": get_target_http_proxy +"/compute:beta/compute.targetHttpProxies.get/project": project +"/compute:beta/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.insert": insert_target_http_proxy +"/compute:beta/compute.targetHttpProxies.insert/project": project +"/compute:beta/compute.targetHttpProxies.list": list_target_http_proxies +"/compute:beta/compute.targetHttpProxies.list/filter": filter +"/compute:beta/compute.targetHttpProxies.list/maxResults": max_results +"/compute:beta/compute.targetHttpProxies.list/orderBy": order_by +"/compute:beta/compute.targetHttpProxies.list/pageToken": page_token +"/compute:beta/compute.targetHttpProxies.list/project": project +"/compute:beta/compute.targetHttpProxies.setUrlMap/project": project +"/compute:beta/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy +"/compute:beta/compute.targetHttpProxies.testIamPermissions": test_target_http_proxy_iam_permissions +"/compute:beta/compute.targetHttpProxies.testIamPermissions/project": project +"/compute:beta/compute.targetHttpProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetHttpsProxies.delete": delete_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.delete/project": project +"/compute:beta/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.get": get_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.get/project": project +"/compute:beta/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.insert": insert_target_https_proxy +"/compute:beta/compute.targetHttpsProxies.insert/project": project +"/compute:beta/compute.targetHttpsProxies.list": list_target_https_proxies +"/compute:beta/compute.targetHttpsProxies.list/filter": filter +"/compute:beta/compute.targetHttpsProxies.list/maxResults": max_results +"/compute:beta/compute.targetHttpsProxies.list/orderBy": order_by +"/compute:beta/compute.targetHttpsProxies.list/pageToken": page_token +"/compute:beta/compute.targetHttpsProxies.list/project": project +"/compute:beta/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates +"/compute:beta/compute.targetHttpsProxies.setSslCertificates/project": project +"/compute:beta/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map +"/compute:beta/compute.targetHttpsProxies.setUrlMap/project": project +"/compute:beta/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy +"/compute:beta/compute.targetHttpsProxies.testIamPermissions": test_target_https_proxy_iam_permissions +"/compute:beta/compute.targetHttpsProxies.testIamPermissions/project": project +"/compute:beta/compute.targetHttpsProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetInstances.aggregatedList/filter": filter +"/compute:beta/compute.targetInstances.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetInstances.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetInstances.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetInstances.aggregatedList/project": project +"/compute:beta/compute.targetInstances.delete": delete_target_instance +"/compute:beta/compute.targetInstances.delete/project": project +"/compute:beta/compute.targetInstances.delete/targetInstance": target_instance +"/compute:beta/compute.targetInstances.delete/zone": zone +"/compute:beta/compute.targetInstances.get": get_target_instance +"/compute:beta/compute.targetInstances.get/project": project +"/compute:beta/compute.targetInstances.get/targetInstance": target_instance +"/compute:beta/compute.targetInstances.get/zone": zone +"/compute:beta/compute.targetInstances.insert": insert_target_instance +"/compute:beta/compute.targetInstances.insert/project": project +"/compute:beta/compute.targetInstances.insert/zone": zone +"/compute:beta/compute.targetInstances.list": list_target_instances +"/compute:beta/compute.targetInstances.list/filter": filter +"/compute:beta/compute.targetInstances.list/maxResults": max_results +"/compute:beta/compute.targetInstances.list/orderBy": order_by +"/compute:beta/compute.targetInstances.list/pageToken": page_token +"/compute:beta/compute.targetInstances.list/project": project +"/compute:beta/compute.targetInstances.list/zone": zone +"/compute:beta/compute.targetInstances.testIamPermissions": test_target_instance_iam_permissions +"/compute:beta/compute.targetInstances.testIamPermissions/project": project +"/compute:beta/compute.targetInstances.testIamPermissions/resource": resource +"/compute:beta/compute.targetInstances.testIamPermissions/zone": zone +"/compute:beta/compute.targetPools.addHealthCheck/project": project +"/compute:beta/compute.targetPools.addHealthCheck/region": region +"/compute:beta/compute.targetPools.addHealthCheck/targetPool": target_pool +"/compute:beta/compute.targetPools.addInstance/project": project +"/compute:beta/compute.targetPools.addInstance/region": region +"/compute:beta/compute.targetPools.addInstance/targetPool": target_pool +"/compute:beta/compute.targetPools.aggregatedList/filter": filter +"/compute:beta/compute.targetPools.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetPools.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetPools.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetPools.aggregatedList/project": project +"/compute:beta/compute.targetPools.delete": delete_target_pool +"/compute:beta/compute.targetPools.delete/project": project +"/compute:beta/compute.targetPools.delete/region": region +"/compute:beta/compute.targetPools.delete/targetPool": target_pool +"/compute:beta/compute.targetPools.get": get_target_pool +"/compute:beta/compute.targetPools.get/project": project +"/compute:beta/compute.targetPools.get/region": region +"/compute:beta/compute.targetPools.get/targetPool": target_pool +"/compute:beta/compute.targetPools.getHealth/project": project +"/compute:beta/compute.targetPools.getHealth/region": region +"/compute:beta/compute.targetPools.getHealth/targetPool": target_pool +"/compute:beta/compute.targetPools.insert": insert_target_pool +"/compute:beta/compute.targetPools.insert/project": project +"/compute:beta/compute.targetPools.insert/region": region +"/compute:beta/compute.targetPools.list": list_target_pools +"/compute:beta/compute.targetPools.list/filter": filter +"/compute:beta/compute.targetPools.list/maxResults": max_results +"/compute:beta/compute.targetPools.list/orderBy": order_by +"/compute:beta/compute.targetPools.list/pageToken": page_token +"/compute:beta/compute.targetPools.list/project": project +"/compute:beta/compute.targetPools.list/region": region +"/compute:beta/compute.targetPools.removeHealthCheck/project": project +"/compute:beta/compute.targetPools.removeHealthCheck/region": region +"/compute:beta/compute.targetPools.removeHealthCheck/targetPool": target_pool +"/compute:beta/compute.targetPools.removeInstance/project": project +"/compute:beta/compute.targetPools.removeInstance/region": region +"/compute:beta/compute.targetPools.removeInstance/targetPool": target_pool +"/compute:beta/compute.targetPools.setBackup/failoverRatio": failover_ratio +"/compute:beta/compute.targetPools.setBackup/project": project +"/compute:beta/compute.targetPools.setBackup/region": region +"/compute:beta/compute.targetPools.setBackup/targetPool": target_pool +"/compute:beta/compute.targetPools.testIamPermissions": test_target_pool_iam_permissions +"/compute:beta/compute.targetPools.testIamPermissions/project": project +"/compute:beta/compute.targetPools.testIamPermissions/region": region +"/compute:beta/compute.targetPools.testIamPermissions/resource": resource +"/compute:beta/compute.targetSslProxies.delete": delete_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.delete/project": project +"/compute:beta/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.get": get_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.get/project": project +"/compute:beta/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.insert": insert_target_ssl_proxy +"/compute:beta/compute.targetSslProxies.insert/project": project +"/compute:beta/compute.targetSslProxies.list": list_target_ssl_proxies +"/compute:beta/compute.targetSslProxies.list/filter": filter +"/compute:beta/compute.targetSslProxies.list/maxResults": max_results +"/compute:beta/compute.targetSslProxies.list/orderBy": order_by +"/compute:beta/compute.targetSslProxies.list/pageToken": page_token +"/compute:beta/compute.targetSslProxies.list/project": project +"/compute:beta/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service +"/compute:beta/compute.targetSslProxies.setBackendService/project": project +"/compute:beta/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header +"/compute:beta/compute.targetSslProxies.setProxyHeader/project": project +"/compute:beta/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates +"/compute:beta/compute.targetSslProxies.setSslCertificates/project": project +"/compute:beta/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:beta/compute.targetSslProxies.testIamPermissions": test_target_ssl_proxy_iam_permissions +"/compute:beta/compute.targetSslProxies.testIamPermissions/project": project +"/compute:beta/compute.targetSslProxies.testIamPermissions/resource": resource +"/compute:beta/compute.targetVpnGateways.aggregatedList/filter": filter +"/compute:beta/compute.targetVpnGateways.aggregatedList/maxResults": max_results +"/compute:beta/compute.targetVpnGateways.aggregatedList/orderBy": order_by +"/compute:beta/compute.targetVpnGateways.aggregatedList/pageToken": page_token +"/compute:beta/compute.targetVpnGateways.aggregatedList/project": project +"/compute:beta/compute.targetVpnGateways.delete/project": project +"/compute:beta/compute.targetVpnGateways.delete/region": region +"/compute:beta/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.get/project": project +"/compute:beta/compute.targetVpnGateways.get/region": region +"/compute:beta/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway +"/compute:beta/compute.targetVpnGateways.insert/project": project +"/compute:beta/compute.targetVpnGateways.insert/region": region +"/compute:beta/compute.targetVpnGateways.list/filter": filter +"/compute:beta/compute.targetVpnGateways.list/maxResults": max_results +"/compute:beta/compute.targetVpnGateways.list/orderBy": order_by +"/compute:beta/compute.targetVpnGateways.list/pageToken": page_token +"/compute:beta/compute.targetVpnGateways.list/project": project +"/compute:beta/compute.targetVpnGateways.list/region": region +"/compute:beta/compute.targetVpnGateways.testIamPermissions": test_target_vpn_gateway_iam_permissions +"/compute:beta/compute.targetVpnGateways.testIamPermissions/project": project +"/compute:beta/compute.targetVpnGateways.testIamPermissions/region": region +"/compute:beta/compute.targetVpnGateways.testIamPermissions/resource": resource +"/compute:beta/compute.urlMaps.delete": delete_url_map +"/compute:beta/compute.urlMaps.delete/project": project +"/compute:beta/compute.urlMaps.delete/urlMap": url_map +"/compute:beta/compute.urlMaps.get": get_url_map +"/compute:beta/compute.urlMaps.get/project": project +"/compute:beta/compute.urlMaps.get/urlMap": url_map +"/compute:beta/compute.urlMaps.insert": insert_url_map +"/compute:beta/compute.urlMaps.insert/project": project +"/compute:beta/compute.urlMaps.invalidateCache": invalidate_url_map_cache +"/compute:beta/compute.urlMaps.invalidateCache/project": project +"/compute:beta/compute.urlMaps.invalidateCache/urlMap": url_map +"/compute:beta/compute.urlMaps.list": list_url_maps +"/compute:beta/compute.urlMaps.list/filter": filter +"/compute:beta/compute.urlMaps.list/maxResults": max_results +"/compute:beta/compute.urlMaps.list/orderBy": order_by +"/compute:beta/compute.urlMaps.list/pageToken": page_token +"/compute:beta/compute.urlMaps.list/project": project +"/compute:beta/compute.urlMaps.patch": patch_url_map +"/compute:beta/compute.urlMaps.patch/project": project +"/compute:beta/compute.urlMaps.patch/urlMap": url_map +"/compute:beta/compute.urlMaps.testIamPermissions": test_url_map_iam_permissions +"/compute:beta/compute.urlMaps.testIamPermissions/project": project +"/compute:beta/compute.urlMaps.testIamPermissions/resource": resource +"/compute:beta/compute.urlMaps.update": update_url_map +"/compute:beta/compute.urlMaps.update/project": project +"/compute:beta/compute.urlMaps.update/urlMap": url_map +"/compute:beta/compute.urlMaps.validate": validate_url_map +"/compute:beta/compute.urlMaps.validate/project": project +"/compute:beta/compute.urlMaps.validate/urlMap": url_map +"/compute:beta/compute.vpnTunnels.aggregatedList/filter": filter +"/compute:beta/compute.vpnTunnels.aggregatedList/maxResults": max_results +"/compute:beta/compute.vpnTunnels.aggregatedList/orderBy": order_by +"/compute:beta/compute.vpnTunnels.aggregatedList/pageToken": page_token +"/compute:beta/compute.vpnTunnels.aggregatedList/project": project +"/compute:beta/compute.vpnTunnels.delete": delete_vpn_tunnel +"/compute:beta/compute.vpnTunnels.delete/project": project +"/compute:beta/compute.vpnTunnels.delete/region": region +"/compute:beta/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel +"/compute:beta/compute.vpnTunnels.get": get_vpn_tunnel +"/compute:beta/compute.vpnTunnels.get/project": project +"/compute:beta/compute.vpnTunnels.get/region": region +"/compute:beta/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel +"/compute:beta/compute.vpnTunnels.insert": insert_vpn_tunnel +"/compute:beta/compute.vpnTunnels.insert/project": project +"/compute:beta/compute.vpnTunnels.insert/region": region +"/compute:beta/compute.vpnTunnels.list": list_vpn_tunnels +"/compute:beta/compute.vpnTunnels.list/filter": filter +"/compute:beta/compute.vpnTunnels.list/maxResults": max_results +"/compute:beta/compute.vpnTunnels.list/orderBy": order_by +"/compute:beta/compute.vpnTunnels.list/pageToken": page_token +"/compute:beta/compute.vpnTunnels.list/project": project +"/compute:beta/compute.vpnTunnels.list/region": region +"/compute:beta/compute.vpnTunnels.testIamPermissions": test_vpn_tunnel_iam_permissions +"/compute:beta/compute.vpnTunnels.testIamPermissions/project": project +"/compute:beta/compute.vpnTunnels.testIamPermissions/region": region +"/compute:beta/compute.vpnTunnels.testIamPermissions/resource": resource +"/compute:beta/compute.zoneOperations.delete": delete_zone_operation +"/compute:beta/compute.zoneOperations.delete/operation": operation +"/compute:beta/compute.zoneOperations.delete/project": project +"/compute:beta/compute.zoneOperations.delete/zone": zone +"/compute:beta/compute.zoneOperations.get": get_zone_operation +"/compute:beta/compute.zoneOperations.get/operation": operation +"/compute:beta/compute.zoneOperations.get/project": project +"/compute:beta/compute.zoneOperations.get/zone": zone +"/compute:beta/compute.zoneOperations.list": list_zone_operations +"/compute:beta/compute.zoneOperations.list/filter": filter +"/compute:beta/compute.zoneOperations.list/maxResults": max_results +"/compute:beta/compute.zoneOperations.list/orderBy": order_by +"/compute:beta/compute.zoneOperations.list/pageToken": page_token +"/compute:beta/compute.zoneOperations.list/project": project +"/compute:beta/compute.zoneOperations.list/zone": zone +"/compute:beta/compute.zones.get": get_zone +"/compute:beta/compute.zones.get/project": project +"/compute:beta/compute.zones.get/zone": zone +"/compute:beta/compute.zones.list": list_zones +"/compute:beta/compute.zones.list/filter": filter +"/compute:beta/compute.zones.list/maxResults": max_results +"/compute:beta/compute.zones.list/orderBy": order_by +"/compute:beta/compute.zones.list/pageToken": page_token +"/compute:beta/compute.zones.list/project": project +"/compute:beta/AccessConfig": access_config +"/compute:beta/AccessConfig/kind": kind +"/compute:beta/AccessConfig/name": name +"/compute:beta/AccessConfig/natIP": nat_ip +"/compute:beta/AccessConfig/type": type +"/compute:beta/Address": address +"/compute:beta/Address/address": address +"/compute:beta/Address/creationTimestamp": creation_timestamp +"/compute:beta/Address/description": description +"/compute:beta/Address/id": id +"/compute:beta/Address/kind": kind +"/compute:beta/Address/name": name +"/compute:beta/Address/region": region +"/compute:beta/Address/selfLink": self_link +"/compute:beta/Address/status": status +"/compute:beta/Address/users": users +"/compute:beta/Address/users/user": user +"/compute:beta/AddressAggregatedList": address_aggregated_list +"/compute:beta/AddressAggregatedList/id": id +"/compute:beta/AddressAggregatedList/items": items +"/compute:beta/AddressAggregatedList/items/item": item +"/compute:beta/AddressAggregatedList/kind": kind +"/compute:beta/AddressAggregatedList/nextPageToken": next_page_token +"/compute:beta/AddressAggregatedList/selfLink": self_link +"/compute:beta/AddressList": address_list +"/compute:beta/AddressList/id": id +"/compute:beta/AddressList/items": items +"/compute:beta/AddressList/items/item": item +"/compute:beta/AddressList/kind": kind +"/compute:beta/AddressList/nextPageToken": next_page_token +"/compute:beta/AddressList/selfLink": self_link +"/compute:beta/AddressesScopedList": addresses_scoped_list +"/compute:beta/AddressesScopedList/addresses": addresses +"/compute:beta/AddressesScopedList/addresses/address": address +"/compute:beta/AddressesScopedList/warning": warning +"/compute:beta/AddressesScopedList/warning/code": code +"/compute:beta/AddressesScopedList/warning/data": data +"/compute:beta/AddressesScopedList/warning/data/datum": datum +"/compute:beta/AddressesScopedList/warning/data/datum/key": key +"/compute:beta/AddressesScopedList/warning/data/datum/value": value +"/compute:beta/AddressesScopedList/warning/message": message +"/compute:beta/AttachedDisk": attached_disk +"/compute:beta/AttachedDisk/autoDelete": auto_delete +"/compute:beta/AttachedDisk/boot": boot +"/compute:beta/AttachedDisk/deviceName": device_name +"/compute:beta/AttachedDisk/diskEncryptionKey": disk_encryption_key +"/compute:beta/AttachedDisk/index": index +"/compute:beta/AttachedDisk/initializeParams": initialize_params +"/compute:beta/AttachedDisk/interface": interface +"/compute:beta/AttachedDisk/kind": kind +"/compute:beta/AttachedDisk/licenses": licenses +"/compute:beta/AttachedDisk/licenses/license": license +"/compute:beta/AttachedDisk/mode": mode +"/compute:beta/AttachedDisk/source": source +"/compute:beta/AttachedDisk/type": type +"/compute:beta/AttachedDiskInitializeParams": attached_disk_initialize_params +"/compute:beta/AttachedDiskInitializeParams/diskName": disk_name +"/compute:beta/AttachedDiskInitializeParams/diskSizeGb": disk_size_gb +"/compute:beta/AttachedDiskInitializeParams/diskStorageType": disk_storage_type +"/compute:beta/AttachedDiskInitializeParams/diskType": disk_type +"/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image +"/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/AuditConfig": audit_config +"/compute:beta/AuditConfig/auditLogConfigs": audit_log_configs +"/compute:beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/compute:beta/AuditConfig/exemptedMembers": exempted_members +"/compute:beta/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditConfig/service": service +"/compute:beta/AuditLogConfig": audit_log_config +"/compute:beta/AuditLogConfig/exemptedMembers": exempted_members +"/compute:beta/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditLogConfig/logType": log_type +"/compute:beta/Autoscaler": autoscaler +"/compute:beta/Autoscaler/autoscalingPolicy": autoscaling_policy +"/compute:beta/Autoscaler/creationTimestamp": creation_timestamp +"/compute:beta/Autoscaler/description": description +"/compute:beta/Autoscaler/id": id +"/compute:beta/Autoscaler/kind": kind +"/compute:beta/Autoscaler/name": name +"/compute:beta/Autoscaler/region": region +"/compute:beta/Autoscaler/selfLink": self_link +"/compute:beta/Autoscaler/status": status +"/compute:beta/Autoscaler/statusDetails": status_details +"/compute:beta/Autoscaler/statusDetails/status_detail": status_detail +"/compute:beta/Autoscaler/target": target +"/compute:beta/Autoscaler/zone": zone +"/compute:beta/AutoscalerAggregatedList": autoscaler_aggregated_list +"/compute:beta/AutoscalerAggregatedList/id": id +"/compute:beta/AutoscalerAggregatedList/items": items +"/compute:beta/AutoscalerAggregatedList/items/item": item +"/compute:beta/AutoscalerAggregatedList/kind": kind +"/compute:beta/AutoscalerAggregatedList/nextPageToken": next_page_token +"/compute:beta/AutoscalerAggregatedList/selfLink": self_link +"/compute:beta/AutoscalerList": autoscaler_list +"/compute:beta/AutoscalerList/id": id +"/compute:beta/AutoscalerList/items": items +"/compute:beta/AutoscalerList/items/item": item +"/compute:beta/AutoscalerList/kind": kind +"/compute:beta/AutoscalerList/nextPageToken": next_page_token +"/compute:beta/AutoscalerList/selfLink": self_link +"/compute:beta/AutoscalerStatusDetails": autoscaler_status_details +"/compute:beta/AutoscalerStatusDetails/message": message +"/compute:beta/AutoscalerStatusDetails/type": type +"/compute:beta/AutoscalersScopedList": autoscalers_scoped_list +"/compute:beta/AutoscalersScopedList/autoscalers": autoscalers +"/compute:beta/AutoscalersScopedList/autoscalers/autoscaler": autoscaler +"/compute:beta/AutoscalersScopedList/warning": warning +"/compute:beta/AutoscalersScopedList/warning/code": code +"/compute:beta/AutoscalersScopedList/warning/data": data +"/compute:beta/AutoscalersScopedList/warning/data/datum": datum +"/compute:beta/AutoscalersScopedList/warning/data/datum/key": key +"/compute:beta/AutoscalersScopedList/warning/data/datum/value": value +"/compute:beta/AutoscalersScopedList/warning/message": message +"/compute:beta/AutoscalingPolicy": autoscaling_policy +"/compute:beta/AutoscalingPolicy/coolDownPeriodSec": cool_down_period_sec +"/compute:beta/AutoscalingPolicy/cpuUtilization": cpu_utilization +"/compute:beta/AutoscalingPolicy/customMetricUtilizations": custom_metric_utilizations +"/compute:beta/AutoscalingPolicy/customMetricUtilizations/custom_metric_utilization": custom_metric_utilization +"/compute:beta/AutoscalingPolicy/loadBalancingUtilization": load_balancing_utilization +"/compute:beta/AutoscalingPolicy/maxNumReplicas": max_num_replicas +"/compute:beta/AutoscalingPolicy/minNumReplicas": min_num_replicas +"/compute:beta/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization +"/compute:beta/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target +"/compute:beta/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/metric": metric +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target +"/compute:beta/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type +"/compute:beta/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization +"/compute:beta/AutoscalingPolicyLoadBalancingUtilization/utilizationTarget": utilization_target +"/compute:beta/Backend": backend +"/compute:beta/Backend/balancingMode": balancing_mode +"/compute:beta/Backend/capacityScaler": capacity_scaler +"/compute:beta/Backend/description": description +"/compute:beta/Backend/group": group +"/compute:beta/Backend/maxConnections": max_connections +"/compute:beta/Backend/maxConnectionsPerInstance": max_connections_per_instance +"/compute:beta/Backend/maxRate": max_rate +"/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance +"/compute:beta/Backend/maxUtilization": max_utilization +"/compute:beta/BackendBucket": backend_bucket +"/compute:beta/BackendBucket/bucketName": bucket_name +"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp +"/compute:beta/BackendBucket/description": description +"/compute:beta/BackendBucket/enableCdn": enable_cdn +"/compute:beta/BackendBucket/id": id +"/compute:beta/BackendBucket/kind": kind +"/compute:beta/BackendBucket/name": name +"/compute:beta/BackendBucket/selfLink": self_link +"/compute:beta/BackendBucketList": backend_bucket_list +"/compute:beta/BackendBucketList/id": id +"/compute:beta/BackendBucketList/items": items +"/compute:beta/BackendBucketList/items/item": item +"/compute:beta/BackendBucketList/kind": kind +"/compute:beta/BackendBucketList/nextPageToken": next_page_token +"/compute:beta/BackendBucketList/selfLink": self_link +"/compute:beta/BackendService": backend_service +"/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec +"/compute:beta/BackendService/backends": backends +"/compute:beta/BackendService/backends/backend": backend +"/compute:beta/BackendService/connectionDraining": connection_draining +"/compute:beta/BackendService/creationTimestamp": creation_timestamp +"/compute:beta/BackendService/description": description +"/compute:beta/BackendService/enableCDN": enable_cdn +"/compute:beta/BackendService/fingerprint": fingerprint +"/compute:beta/BackendService/healthChecks": health_checks +"/compute:beta/BackendService/healthChecks/health_check": health_check +"/compute:beta/BackendService/iap": iap +"/compute:beta/BackendService/id": id +"/compute:beta/BackendService/kind": kind +"/compute:beta/BackendService/loadBalancingScheme": load_balancing_scheme +"/compute:beta/BackendService/name": name +"/compute:beta/BackendService/port": port +"/compute:beta/BackendService/portName": port_name +"/compute:beta/BackendService/protocol": protocol +"/compute:beta/BackendService/region": region +"/compute:beta/BackendService/selfLink": self_link +"/compute:beta/BackendService/sessionAffinity": session_affinity +"/compute:beta/BackendService/timeoutSec": timeout_sec +"/compute:beta/BackendServiceAggregatedList": backend_service_aggregated_list +"/compute:beta/BackendServiceAggregatedList/id": id +"/compute:beta/BackendServiceAggregatedList/items": items +"/compute:beta/BackendServiceAggregatedList/items/item": item +"/compute:beta/BackendServiceAggregatedList/kind": kind +"/compute:beta/BackendServiceAggregatedList/nextPageToken": next_page_token +"/compute:beta/BackendServiceAggregatedList/selfLink": self_link +"/compute:beta/BackendServiceGroupHealth": backend_service_group_health +"/compute:beta/BackendServiceGroupHealth/healthStatus": health_status +"/compute:beta/BackendServiceGroupHealth/healthStatus/health_status": health_status +"/compute:beta/BackendServiceGroupHealth/kind": kind +"/compute:beta/BackendServiceIAP": backend_service_iap +"/compute:beta/BackendServiceIAP/enabled": enabled +"/compute:beta/BackendServiceIAP/oauth2ClientId": oauth2_client_id +"/compute:beta/BackendServiceIAP/oauth2ClientSecret": oauth2_client_secret +"/compute:beta/BackendServiceIAP/oauth2ClientSecretSha256": oauth2_client_secret_sha256 +"/compute:beta/BackendServiceList": backend_service_list +"/compute:beta/BackendServiceList/id": id +"/compute:beta/BackendServiceList/items": items +"/compute:beta/BackendServiceList/items/item": item +"/compute:beta/BackendServiceList/kind": kind +"/compute:beta/BackendServiceList/nextPageToken": next_page_token +"/compute:beta/BackendServiceList/selfLink": self_link +"/compute:beta/BackendServicesScopedList": backend_services_scoped_list +"/compute:beta/BackendServicesScopedList/backendServices": backend_services +"/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service +"/compute:beta/BackendServicesScopedList/warning": warning +"/compute:beta/BackendServicesScopedList/warning/code": code +"/compute:beta/BackendServicesScopedList/warning/data": data +"/compute:beta/BackendServicesScopedList/warning/data/datum": datum +"/compute:beta/BackendServicesScopedList/warning/data/datum/key": key +"/compute:beta/BackendServicesScopedList/warning/data/datum/value": value +"/compute:beta/BackendServicesScopedList/warning/message": message +"/compute:beta/Binding": binding +"/compute:beta/Binding/members": members +"/compute:beta/Binding/members/member": member +"/compute:beta/Binding/role": role +"/compute:beta/CacheInvalidationRule": cache_invalidation_rule +"/compute:beta/CacheInvalidationRule/host": host +"/compute:beta/CacheInvalidationRule/path": path +"/compute:beta/Condition": condition +"/compute:beta/Condition/iam": iam +"/compute:beta/Condition/op": op +"/compute:beta/Condition/svc": svc +"/compute:beta/Condition/sys": sys +"/compute:beta/Condition/value": value +"/compute:beta/Condition/values": values +"/compute:beta/Condition/values/value": value +"/compute:beta/ConnectionDraining": connection_draining +"/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec +"/compute:beta/CustomerEncryptionKey": customer_encryption_key +"/compute:beta/CustomerEncryptionKey/rawKey": raw_key +"/compute:beta/CustomerEncryptionKey/rsaEncryptedKey": rsa_encrypted_key +"/compute:beta/CustomerEncryptionKey/sha256": sha256 +"/compute:beta/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk +"/compute:beta/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key +"/compute:beta/CustomerEncryptionKeyProtectedDisk/source": source +"/compute:beta/DeprecationStatus": deprecation_status +"/compute:beta/DeprecationStatus/deleted": deleted +"/compute:beta/DeprecationStatus/deprecated": deprecated +"/compute:beta/DeprecationStatus/obsolete": obsolete +"/compute:beta/DeprecationStatus/replacement": replacement +"/compute:beta/DeprecationStatus/state": state +"/compute:beta/Disk": disk +"/compute:beta/Disk/creationTimestamp": creation_timestamp +"/compute:beta/Disk/description": description +"/compute:beta/Disk/diskEncryptionKey": disk_encryption_key +"/compute:beta/Disk/id": id +"/compute:beta/Disk/kind": kind +"/compute:beta/Disk/labelFingerprint": label_fingerprint +"/compute:beta/Disk/labels": labels +"/compute:beta/Disk/labels/label": label +"/compute:beta/Disk/lastAttachTimestamp": last_attach_timestamp +"/compute:beta/Disk/lastDetachTimestamp": last_detach_timestamp +"/compute:beta/Disk/licenses": licenses +"/compute:beta/Disk/licenses/license": license +"/compute:beta/Disk/name": name +"/compute:beta/Disk/options": options +"/compute:beta/Disk/selfLink": self_link +"/compute:beta/Disk/sizeGb": size_gb +"/compute:beta/Disk/sourceImage": source_image +"/compute:beta/Disk/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/Disk/sourceImageId": source_image_id +"/compute:beta/Disk/sourceSnapshot": source_snapshot +"/compute:beta/Disk/sourceSnapshotEncryptionKey": source_snapshot_encryption_key +"/compute:beta/Disk/sourceSnapshotId": source_snapshot_id +"/compute:beta/Disk/status": status +"/compute:beta/Disk/storageType": storage_type +"/compute:beta/Disk/type": type +"/compute:beta/Disk/users": users +"/compute:beta/Disk/users/user": user +"/compute:beta/Disk/zone": zone +"/compute:beta/DiskAggregatedList": disk_aggregated_list +"/compute:beta/DiskAggregatedList/id": id +"/compute:beta/DiskAggregatedList/items": items +"/compute:beta/DiskAggregatedList/items/item": item +"/compute:beta/DiskAggregatedList/kind": kind +"/compute:beta/DiskAggregatedList/nextPageToken": next_page_token +"/compute:beta/DiskAggregatedList/selfLink": self_link +"/compute:beta/DiskList": disk_list +"/compute:beta/DiskList/id": id +"/compute:beta/DiskList/items": items +"/compute:beta/DiskList/items/item": item +"/compute:beta/DiskList/kind": kind +"/compute:beta/DiskList/nextPageToken": next_page_token +"/compute:beta/DiskList/selfLink": self_link +"/compute:beta/DiskMoveRequest": disk_move_request +"/compute:beta/DiskMoveRequest/destinationZone": destination_zone +"/compute:beta/DiskMoveRequest/targetDisk": target_disk +"/compute:beta/DiskType": disk_type +"/compute:beta/DiskType/creationTimestamp": creation_timestamp +"/compute:beta/DiskType/defaultDiskSizeGb": default_disk_size_gb +"/compute:beta/DiskType/deprecated": deprecated +"/compute:beta/DiskType/description": description +"/compute:beta/DiskType/id": id +"/compute:beta/DiskType/kind": kind +"/compute:beta/DiskType/name": name +"/compute:beta/DiskType/selfLink": self_link +"/compute:beta/DiskType/validDiskSize": valid_disk_size +"/compute:beta/DiskType/zone": zone +"/compute:beta/DiskTypeAggregatedList": disk_type_aggregated_list +"/compute:beta/DiskTypeAggregatedList/id": id +"/compute:beta/DiskTypeAggregatedList/items": items +"/compute:beta/DiskTypeAggregatedList/items/item": item +"/compute:beta/DiskTypeAggregatedList/kind": kind +"/compute:beta/DiskTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/DiskTypeAggregatedList/selfLink": self_link +"/compute:beta/DiskTypeList": disk_type_list +"/compute:beta/DiskTypeList/id": id +"/compute:beta/DiskTypeList/items": items +"/compute:beta/DiskTypeList/items/item": item +"/compute:beta/DiskTypeList/kind": kind +"/compute:beta/DiskTypeList/nextPageToken": next_page_token +"/compute:beta/DiskTypeList/selfLink": self_link +"/compute:beta/DiskTypesScopedList": disk_types_scoped_list +"/compute:beta/DiskTypesScopedList/diskTypes": disk_types +"/compute:beta/DiskTypesScopedList/diskTypes/disk_type": disk_type +"/compute:beta/DiskTypesScopedList/warning": warning +"/compute:beta/DiskTypesScopedList/warning/code": code +"/compute:beta/DiskTypesScopedList/warning/data": data +"/compute:beta/DiskTypesScopedList/warning/data/datum": datum +"/compute:beta/DiskTypesScopedList/warning/data/datum/key": key +"/compute:beta/DiskTypesScopedList/warning/data/datum/value": value +"/compute:beta/DiskTypesScopedList/warning/message": message +"/compute:beta/DisksResizeRequest": disks_resize_request +"/compute:beta/DisksResizeRequest/sizeGb": size_gb +"/compute:beta/DisksScopedList": disks_scoped_list +"/compute:beta/DisksScopedList/disks": disks +"/compute:beta/DisksScopedList/disks/disk": disk +"/compute:beta/DisksScopedList/warning": warning +"/compute:beta/DisksScopedList/warning/code": code +"/compute:beta/DisksScopedList/warning/data": data +"/compute:beta/DisksScopedList/warning/data/datum": datum +"/compute:beta/DisksScopedList/warning/data/datum/key": key +"/compute:beta/DisksScopedList/warning/data/datum/value": value +"/compute:beta/DisksScopedList/warning/message": message +"/compute:beta/Firewall": firewall +"/compute:beta/Firewall/allowed": allowed +"/compute:beta/Firewall/allowed/allowed": allowed +"/compute:beta/Firewall/allowed/allowed/IPProtocol": ip_protocol +"/compute:beta/Firewall/allowed/allowed/ports": ports +"/compute:beta/Firewall/allowed/allowed/ports/port": port +"/compute:beta/Firewall/creationTimestamp": creation_timestamp +"/compute:beta/Firewall/description": description +"/compute:beta/Firewall/id": id +"/compute:beta/Firewall/kind": kind +"/compute:beta/Firewall/name": name +"/compute:beta/Firewall/network": network +"/compute:beta/Firewall/selfLink": self_link +"/compute:beta/Firewall/sourceRanges": source_ranges +"/compute:beta/Firewall/sourceRanges/source_range": source_range +"/compute:beta/Firewall/sourceTags": source_tags +"/compute:beta/Firewall/sourceTags/source_tag": source_tag +"/compute:beta/Firewall/targetTags": target_tags +"/compute:beta/Firewall/targetTags/target_tag": target_tag +"/compute:beta/FirewallList": firewall_list +"/compute:beta/FirewallList/id": id +"/compute:beta/FirewallList/items": items +"/compute:beta/FirewallList/items/item": item +"/compute:beta/FirewallList/kind": kind +"/compute:beta/FirewallList/nextPageToken": next_page_token +"/compute:beta/FirewallList/selfLink": self_link +"/compute:beta/ForwardingRule": forwarding_rule +"/compute:beta/ForwardingRule/IPAddress": ip_address +"/compute:beta/ForwardingRule/IPProtocol": ip_protocol +"/compute:beta/ForwardingRule/backendService": backend_service +"/compute:beta/ForwardingRule/creationTimestamp": creation_timestamp +"/compute:beta/ForwardingRule/description": description +"/compute:beta/ForwardingRule/id": id +"/compute:beta/ForwardingRule/kind": kind +"/compute:beta/ForwardingRule/loadBalancingScheme": load_balancing_scheme +"/compute:beta/ForwardingRule/name": name +"/compute:beta/ForwardingRule/network": network +"/compute:beta/ForwardingRule/portRange": port_range +"/compute:beta/ForwardingRule/ports": ports +"/compute:beta/ForwardingRule/ports/port": port +"/compute:beta/ForwardingRule/region": region +"/compute:beta/ForwardingRule/selfLink": self_link +"/compute:beta/ForwardingRule/subnetwork": subnetwork +"/compute:beta/ForwardingRule/target": target +"/compute:beta/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list +"/compute:beta/ForwardingRuleAggregatedList/id": id +"/compute:beta/ForwardingRuleAggregatedList/items": items +"/compute:beta/ForwardingRuleAggregatedList/items/item": item +"/compute:beta/ForwardingRuleAggregatedList/kind": kind +"/compute:beta/ForwardingRuleAggregatedList/nextPageToken": next_page_token +"/compute:beta/ForwardingRuleAggregatedList/selfLink": self_link +"/compute:beta/ForwardingRuleList": forwarding_rule_list +"/compute:beta/ForwardingRuleList/id": id +"/compute:beta/ForwardingRuleList/items": items +"/compute:beta/ForwardingRuleList/items/item": item +"/compute:beta/ForwardingRuleList/kind": kind +"/compute:beta/ForwardingRuleList/nextPageToken": next_page_token +"/compute:beta/ForwardingRuleList/selfLink": self_link +"/compute:beta/ForwardingRulesScopedList": forwarding_rules_scoped_list +"/compute:beta/ForwardingRulesScopedList/forwardingRules": forwarding_rules +"/compute:beta/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule +"/compute:beta/ForwardingRulesScopedList/warning": warning +"/compute:beta/ForwardingRulesScopedList/warning/code": code +"/compute:beta/ForwardingRulesScopedList/warning/data": data +"/compute:beta/ForwardingRulesScopedList/warning/data/datum": datum +"/compute:beta/ForwardingRulesScopedList/warning/data/datum/key": key +"/compute:beta/ForwardingRulesScopedList/warning/data/datum/value": value +"/compute:beta/ForwardingRulesScopedList/warning/message": message +"/compute:beta/GlobalSetLabelsRequest": global_set_labels_request +"/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/GlobalSetLabelsRequest/labels": labels +"/compute:beta/GlobalSetLabelsRequest/labels/label": label +"/compute:beta/GuestOsFeature": guest_os_feature +"/compute:beta/GuestOsFeature/type": type +"/compute:beta/HTTPHealthCheck": http_health_check +"/compute:beta/HTTPHealthCheck/host": host +"/compute:beta/HTTPHealthCheck/port": port +"/compute:beta/HTTPHealthCheck/portName": port_name +"/compute:beta/HTTPHealthCheck/proxyHeader": proxy_header +"/compute:beta/HTTPHealthCheck/requestPath": request_path +"/compute:beta/HTTPSHealthCheck": https_health_check +"/compute:beta/HTTPSHealthCheck/host": host +"/compute:beta/HTTPSHealthCheck/port": port +"/compute:beta/HTTPSHealthCheck/portName": port_name +"/compute:beta/HTTPSHealthCheck/proxyHeader": proxy_header +"/compute:beta/HTTPSHealthCheck/requestPath": request_path +"/compute:beta/HealthCheck": health_check +"/compute:beta/HealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HealthCheck/description": description +"/compute:beta/HealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HealthCheck/httpHealthCheck": http_health_check +"/compute:beta/HealthCheck/httpsHealthCheck": https_health_check +"/compute:beta/HealthCheck/id": id +"/compute:beta/HealthCheck/kind": kind +"/compute:beta/HealthCheck/name": name +"/compute:beta/HealthCheck/selfLink": self_link +"/compute:beta/HealthCheck/sslHealthCheck": ssl_health_check +"/compute:beta/HealthCheck/tcpHealthCheck": tcp_health_check +"/compute:beta/HealthCheck/timeoutSec": timeout_sec +"/compute:beta/HealthCheck/type": type +"/compute:beta/HealthCheck/udpHealthCheck": udp_health_check +"/compute:beta/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HealthCheckList": health_check_list +"/compute:beta/HealthCheckList/id": id +"/compute:beta/HealthCheckList/items": items +"/compute:beta/HealthCheckList/items/item": item +"/compute:beta/HealthCheckList/kind": kind +"/compute:beta/HealthCheckList/nextPageToken": next_page_token +"/compute:beta/HealthCheckList/selfLink": self_link +"/compute:beta/HealthCheckReference": health_check_reference +"/compute:beta/HealthCheckReference/healthCheck": health_check +"/compute:beta/HealthStatus": health_status +"/compute:beta/HealthStatus/healthState": health_state +"/compute:beta/HealthStatus/instance": instance +"/compute:beta/HealthStatus/ipAddress": ip_address +"/compute:beta/HealthStatus/port": port +"/compute:beta/HostRule": host_rule +"/compute:beta/HostRule/description": description +"/compute:beta/HostRule/hosts": hosts +"/compute:beta/HostRule/hosts/host": host +"/compute:beta/HostRule/pathMatcher": path_matcher +"/compute:beta/HttpHealthCheck": http_health_check +"/compute:beta/HttpHealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HttpHealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HttpHealthCheck/description": description +"/compute:beta/HttpHealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HttpHealthCheck/host": host +"/compute:beta/HttpHealthCheck/id": id +"/compute:beta/HttpHealthCheck/kind": kind +"/compute:beta/HttpHealthCheck/name": name +"/compute:beta/HttpHealthCheck/port": port +"/compute:beta/HttpHealthCheck/requestPath": request_path +"/compute:beta/HttpHealthCheck/selfLink": self_link +"/compute:beta/HttpHealthCheck/timeoutSec": timeout_sec +"/compute:beta/HttpHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HttpHealthCheckList": http_health_check_list +"/compute:beta/HttpHealthCheckList/id": id +"/compute:beta/HttpHealthCheckList/items": items +"/compute:beta/HttpHealthCheckList/items/item": item +"/compute:beta/HttpHealthCheckList/kind": kind +"/compute:beta/HttpHealthCheckList/nextPageToken": next_page_token +"/compute:beta/HttpHealthCheckList/selfLink": self_link +"/compute:beta/HttpsHealthCheck": https_health_check +"/compute:beta/HttpsHealthCheck/checkIntervalSec": check_interval_sec +"/compute:beta/HttpsHealthCheck/creationTimestamp": creation_timestamp +"/compute:beta/HttpsHealthCheck/description": description +"/compute:beta/HttpsHealthCheck/healthyThreshold": healthy_threshold +"/compute:beta/HttpsHealthCheck/host": host +"/compute:beta/HttpsHealthCheck/id": id +"/compute:beta/HttpsHealthCheck/kind": kind +"/compute:beta/HttpsHealthCheck/name": name +"/compute:beta/HttpsHealthCheck/port": port +"/compute:beta/HttpsHealthCheck/requestPath": request_path +"/compute:beta/HttpsHealthCheck/selfLink": self_link +"/compute:beta/HttpsHealthCheck/timeoutSec": timeout_sec +"/compute:beta/HttpsHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:beta/HttpsHealthCheckList": https_health_check_list +"/compute:beta/HttpsHealthCheckList/id": id +"/compute:beta/HttpsHealthCheckList/items": items +"/compute:beta/HttpsHealthCheckList/items/item": item +"/compute:beta/HttpsHealthCheckList/kind": kind +"/compute:beta/HttpsHealthCheckList/nextPageToken": next_page_token +"/compute:beta/HttpsHealthCheckList/selfLink": self_link +"/compute:beta/Image": image +"/compute:beta/Image/archiveSizeBytes": archive_size_bytes +"/compute:beta/Image/creationTimestamp": creation_timestamp +"/compute:beta/Image/deprecated": deprecated +"/compute:beta/Image/description": description +"/compute:beta/Image/diskSizeGb": disk_size_gb +"/compute:beta/Image/family": family +"/compute:beta/Image/guestOsFeatures": guest_os_features +"/compute:beta/Image/guestOsFeatures/guest_os_feature": guest_os_feature +"/compute:beta/Image/id": id +"/compute:beta/Image/imageEncryptionKey": image_encryption_key +"/compute:beta/Image/kind": kind +"/compute:beta/Image/labelFingerprint": label_fingerprint +"/compute:beta/Image/labels": labels +"/compute:beta/Image/labels/label": label +"/compute:beta/Image/licenses": licenses +"/compute:beta/Image/licenses/license": license +"/compute:beta/Image/name": name +"/compute:beta/Image/rawDisk": raw_disk +"/compute:beta/Image/rawDisk/containerType": container_type +"/compute:beta/Image/rawDisk/sha1Checksum": sha1_checksum +"/compute:beta/Image/rawDisk/source": source +"/compute:beta/Image/selfLink": self_link +"/compute:beta/Image/sourceDisk": source_disk +"/compute:beta/Image/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:beta/Image/sourceDiskId": source_disk_id +"/compute:beta/Image/sourceType": source_type +"/compute:beta/Image/status": status +"/compute:beta/ImageList": image_list +"/compute:beta/ImageList/id": id +"/compute:beta/ImageList/items": items +"/compute:beta/ImageList/items/item": item +"/compute:beta/ImageList/kind": kind +"/compute:beta/ImageList/nextPageToken": next_page_token +"/compute:beta/ImageList/selfLink": self_link +"/compute:beta/Instance": instance +"/compute:beta/Instance/canIpForward": can_ip_forward +"/compute:beta/Instance/cpuPlatform": cpu_platform +"/compute:beta/Instance/creationTimestamp": creation_timestamp +"/compute:beta/Instance/description": description +"/compute:beta/Instance/disks": disks +"/compute:beta/Instance/disks/disk": disk +"/compute:beta/Instance/id": id +"/compute:beta/Instance/kind": kind +"/compute:beta/Instance/labelFingerprint": label_fingerprint +"/compute:beta/Instance/labels": labels +"/compute:beta/Instance/labels/label": label +"/compute:beta/Instance/machineType": machine_type +"/compute:beta/Instance/metadata": metadata +"/compute:beta/Instance/name": name +"/compute:beta/Instance/networkInterfaces": network_interfaces +"/compute:beta/Instance/networkInterfaces/network_interface": network_interface +"/compute:beta/Instance/scheduling": scheduling +"/compute:beta/Instance/selfLink": self_link +"/compute:beta/Instance/serviceAccounts": service_accounts +"/compute:beta/Instance/serviceAccounts/service_account": service_account +"/compute:beta/Instance/status": status +"/compute:beta/Instance/statusMessage": status_message +"/compute:beta/Instance/tags": tags +"/compute:beta/Instance/zone": zone +"/compute:beta/InstanceAggregatedList": instance_aggregated_list +"/compute:beta/InstanceAggregatedList/id": id +"/compute:beta/InstanceAggregatedList/items": items +"/compute:beta/InstanceAggregatedList/items/item": item +"/compute:beta/InstanceAggregatedList/kind": kind +"/compute:beta/InstanceAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroup": instance_group +"/compute:beta/InstanceGroup/creationTimestamp": creation_timestamp +"/compute:beta/InstanceGroup/description": description +"/compute:beta/InstanceGroup/fingerprint": fingerprint +"/compute:beta/InstanceGroup/id": id +"/compute:beta/InstanceGroup/kind": kind +"/compute:beta/InstanceGroup/name": name +"/compute:beta/InstanceGroup/namedPorts": named_ports +"/compute:beta/InstanceGroup/namedPorts/named_port": named_port +"/compute:beta/InstanceGroup/network": network +"/compute:beta/InstanceGroup/region": region +"/compute:beta/InstanceGroup/selfLink": self_link +"/compute:beta/InstanceGroup/size": size +"/compute:beta/InstanceGroup/subnetwork": subnetwork +"/compute:beta/InstanceGroup/zone": zone +"/compute:beta/InstanceGroupAggregatedList": instance_group_aggregated_list +"/compute:beta/InstanceGroupAggregatedList/id": id +"/compute:beta/InstanceGroupAggregatedList/items": items +"/compute:beta/InstanceGroupAggregatedList/items/item": item +"/compute:beta/InstanceGroupAggregatedList/kind": kind +"/compute:beta/InstanceGroupAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupList": instance_group_list +"/compute:beta/InstanceGroupList/id": id +"/compute:beta/InstanceGroupList/items": items +"/compute:beta/InstanceGroupList/items/item": item +"/compute:beta/InstanceGroupList/kind": kind +"/compute:beta/InstanceGroupList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupList/selfLink": self_link +"/compute:beta/InstanceGroupManager": instance_group_manager +"/compute:beta/InstanceGroupManager/autoHealingPolicies": auto_healing_policies +"/compute:beta/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/InstanceGroupManager/baseInstanceName": base_instance_name +"/compute:beta/InstanceGroupManager/creationTimestamp": creation_timestamp +"/compute:beta/InstanceGroupManager/currentActions": current_actions +"/compute:beta/InstanceGroupManager/description": description +"/compute:beta/InstanceGroupManager/failoverAction": failover_action +"/compute:beta/InstanceGroupManager/fingerprint": fingerprint +"/compute:beta/InstanceGroupManager/id": id +"/compute:beta/InstanceGroupManager/instanceGroup": instance_group +"/compute:beta/InstanceGroupManager/instanceTemplate": instance_template +"/compute:beta/InstanceGroupManager/kind": kind +"/compute:beta/InstanceGroupManager/name": name +"/compute:beta/InstanceGroupManager/namedPorts": named_ports +"/compute:beta/InstanceGroupManager/namedPorts/named_port": named_port +"/compute:beta/InstanceGroupManager/region": region +"/compute:beta/InstanceGroupManager/selfLink": self_link +"/compute:beta/InstanceGroupManager/serviceAccount": service_account +"/compute:beta/InstanceGroupManager/targetPools": target_pools +"/compute:beta/InstanceGroupManager/targetPools/target_pool": target_pool +"/compute:beta/InstanceGroupManager/targetSize": target_size +"/compute:beta/InstanceGroupManager/zone": zone +"/compute:beta/InstanceGroupManagerActionsSummary": instance_group_manager_actions_summary +"/compute:beta/InstanceGroupManagerActionsSummary/abandoning": abandoning +"/compute:beta/InstanceGroupManagerActionsSummary/creating": creating +"/compute:beta/InstanceGroupManagerActionsSummary/creatingWithoutRetries": creating_without_retries +"/compute:beta/InstanceGroupManagerActionsSummary/deleting": deleting +"/compute:beta/InstanceGroupManagerActionsSummary/none": none +"/compute:beta/InstanceGroupManagerActionsSummary/recreating": recreating +"/compute:beta/InstanceGroupManagerActionsSummary/refreshing": refreshing +"/compute:beta/InstanceGroupManagerActionsSummary/restarting": restarting +"/compute:beta/InstanceGroupManagerAggregatedList": instance_group_manager_aggregated_list +"/compute:beta/InstanceGroupManagerAggregatedList/id": id +"/compute:beta/InstanceGroupManagerAggregatedList/items": items +"/compute:beta/InstanceGroupManagerAggregatedList/items/item": item +"/compute:beta/InstanceGroupManagerAggregatedList/kind": kind +"/compute:beta/InstanceGroupManagerAggregatedList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupManagerAggregatedList/selfLink": self_link +"/compute:beta/InstanceGroupManagerAutoHealingPolicy": instance_group_manager_auto_healing_policy +"/compute:beta/InstanceGroupManagerAutoHealingPolicy/healthCheck": health_check +"/compute:beta/InstanceGroupManagerAutoHealingPolicy/initialDelaySec": initial_delay_sec +"/compute:beta/InstanceGroupManagerList": instance_group_manager_list +"/compute:beta/InstanceGroupManagerList/id": id +"/compute:beta/InstanceGroupManagerList/items": items +"/compute:beta/InstanceGroupManagerList/items/item": item +"/compute:beta/InstanceGroupManagerList/kind": kind +"/compute:beta/InstanceGroupManagerList/nextPageToken": next_page_token +"/compute:beta/InstanceGroupManagerList/selfLink": self_link +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest": instance_group_managers_abandon_instances_request +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest": instance_group_managers_delete_instances_request +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse": instance_group_managers_list_managed_instances_response +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances": managed_instances +"/compute:beta/InstanceGroupManagersListManagedInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest": instance_group_managers_recreate_instances_request +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances": instances +"/compute:beta/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest": instance_group_managers_resize_advanced_request +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/noCreationRetries": no_creation_retries +"/compute:beta/InstanceGroupManagersResizeAdvancedRequest/targetSize": target_size +"/compute:beta/InstanceGroupManagersScopedList": instance_group_managers_scoped_list +"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers": instance_group_managers +"/compute:beta/InstanceGroupManagersScopedList/instanceGroupManagers/instance_group_manager": instance_group_manager +"/compute:beta/InstanceGroupManagersScopedList/warning": warning +"/compute:beta/InstanceGroupManagersScopedList/warning/code": code +"/compute:beta/InstanceGroupManagersScopedList/warning/data": data +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum": datum +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupManagersScopedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupManagersScopedList/warning/message": message +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest": instance_group_managers_set_auto_healing_request +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies +"/compute:beta/InstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest": instance_group_managers_set_instance_template_request +"/compute:beta/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest": instance_group_managers_set_target_pools_request +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:beta/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:beta/InstanceGroupsAddInstancesRequest": instance_groups_add_instances_request +"/compute:beta/InstanceGroupsAddInstancesRequest/instances": instances +"/compute:beta/InstanceGroupsAddInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupsListInstances": instance_groups_list_instances +"/compute:beta/InstanceGroupsListInstances/id": id +"/compute:beta/InstanceGroupsListInstances/items": items +"/compute:beta/InstanceGroupsListInstances/items/item": item +"/compute:beta/InstanceGroupsListInstances/kind": kind +"/compute:beta/InstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:beta/InstanceGroupsListInstances/selfLink": self_link +"/compute:beta/InstanceGroupsListInstancesRequest": instance_groups_list_instances_request +"/compute:beta/InstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:beta/InstanceGroupsRemoveInstancesRequest": instance_groups_remove_instances_request +"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances": instances +"/compute:beta/InstanceGroupsRemoveInstancesRequest/instances/instance": instance +"/compute:beta/InstanceGroupsScopedList": instance_groups_scoped_list +"/compute:beta/InstanceGroupsScopedList/instanceGroups": instance_groups +"/compute:beta/InstanceGroupsScopedList/instanceGroups/instance_group": instance_group +"/compute:beta/InstanceGroupsScopedList/warning": warning +"/compute:beta/InstanceGroupsScopedList/warning/code": code +"/compute:beta/InstanceGroupsScopedList/warning/data": data +"/compute:beta/InstanceGroupsScopedList/warning/data/datum": datum +"/compute:beta/InstanceGroupsScopedList/warning/data/datum/key": key +"/compute:beta/InstanceGroupsScopedList/warning/data/datum/value": value +"/compute:beta/InstanceGroupsScopedList/warning/message": message +"/compute:beta/InstanceGroupsSetNamedPortsRequest": instance_groups_set_named_ports_request +"/compute:beta/InstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:beta/InstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:beta/InstanceList": instance_list +"/compute:beta/InstanceList/id": id +"/compute:beta/InstanceList/items": items +"/compute:beta/InstanceList/items/item": item +"/compute:beta/InstanceList/kind": kind +"/compute:beta/InstanceList/nextPageToken": next_page_token +"/compute:beta/InstanceList/selfLink": self_link +"/compute:beta/InstanceMoveRequest/destinationZone": destination_zone +"/compute:beta/InstanceMoveRequest/targetInstance": target_instance +"/compute:beta/InstanceProperties": instance_properties +"/compute:beta/InstanceProperties/canIpForward": can_ip_forward +"/compute:beta/InstanceProperties/description": description +"/compute:beta/InstanceProperties/disks": disks +"/compute:beta/InstanceProperties/disks/disk": disk +"/compute:beta/InstanceProperties/labels": labels +"/compute:beta/InstanceProperties/labels/label": label +"/compute:beta/InstanceProperties/machineType": machine_type +"/compute:beta/InstanceProperties/metadata": metadata +"/compute:beta/InstanceProperties/networkInterfaces": network_interfaces +"/compute:beta/InstanceProperties/networkInterfaces/network_interface": network_interface +"/compute:beta/InstanceProperties/scheduling": scheduling +"/compute:beta/InstanceProperties/serviceAccounts": service_accounts +"/compute:beta/InstanceProperties/serviceAccounts/service_account": service_account +"/compute:beta/InstanceProperties/tags": tags +"/compute:beta/InstanceReference": instance_reference +"/compute:beta/InstanceReference/instance": instance +"/compute:beta/InstanceTemplate": instance_template +"/compute:beta/InstanceTemplate/creationTimestamp": creation_timestamp +"/compute:beta/InstanceTemplate/description": description +"/compute:beta/InstanceTemplate/id": id +"/compute:beta/InstanceTemplate/kind": kind +"/compute:beta/InstanceTemplate/name": name +"/compute:beta/InstanceTemplate/properties": properties +"/compute:beta/InstanceTemplate/selfLink": self_link +"/compute:beta/InstanceTemplateList": instance_template_list +"/compute:beta/InstanceTemplateList/id": id +"/compute:beta/InstanceTemplateList/items": items +"/compute:beta/InstanceTemplateList/items/item": item +"/compute:beta/InstanceTemplateList/kind": kind +"/compute:beta/InstanceTemplateList/nextPageToken": next_page_token +"/compute:beta/InstanceTemplateList/selfLink": self_link +"/compute:beta/InstanceWithNamedPorts": instance_with_named_ports +"/compute:beta/InstanceWithNamedPorts/instance": instance +"/compute:beta/InstanceWithNamedPorts/namedPorts": named_ports +"/compute:beta/InstanceWithNamedPorts/namedPorts/named_port": named_port +"/compute:beta/InstanceWithNamedPorts/status": status +"/compute:beta/InstancesScopedList": instances_scoped_list +"/compute:beta/InstancesScopedList/instances": instances +"/compute:beta/InstancesScopedList/instances/instance": instance +"/compute:beta/InstancesScopedList/warning": warning +"/compute:beta/InstancesScopedList/warning/code": code +"/compute:beta/InstancesScopedList/warning/data": data +"/compute:beta/InstancesScopedList/warning/data/datum": datum +"/compute:beta/InstancesScopedList/warning/data/datum/key": key +"/compute:beta/InstancesScopedList/warning/data/datum/value": value +"/compute:beta/InstancesScopedList/warning/message": message +"/compute:beta/InstancesSetLabelsRequest": instances_set_labels_request +"/compute:beta/InstancesSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/InstancesSetLabelsRequest/labels": labels +"/compute:beta/InstancesSetLabelsRequest/labels/label": label +"/compute:beta/InstancesSetMachineTypeRequest": instances_set_machine_type_request +"/compute:beta/InstancesSetMachineTypeRequest/machineType": machine_type +"/compute:beta/InstancesSetServiceAccountRequest": instances_set_service_account_request +"/compute:beta/InstancesSetServiceAccountRequest/email": email +"/compute:beta/InstancesSetServiceAccountRequest/scopes": scopes +"/compute:beta/InstancesSetServiceAccountRequest/scopes/scope": scope +"/compute:beta/InstancesStartWithEncryptionKeyRequest": instances_start_with_encryption_key_request +"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks": disks +"/compute:beta/InstancesStartWithEncryptionKeyRequest/disks/disk": disk +"/compute:beta/License": license +"/compute:beta/License/chargesUseFee": charges_use_fee +"/compute:beta/License/kind": kind +"/compute:beta/License/name": name +"/compute:beta/License/selfLink": self_link +"/compute:beta/LogConfig": log_config +"/compute:beta/LogConfig/counter": counter +"/compute:beta/LogConfigCounterOptions": log_config_counter_options +"/compute:beta/LogConfigCounterOptions/field": field +"/compute:beta/LogConfigCounterOptions/metric": metric +"/compute:beta/MachineType": machine_type +"/compute:beta/MachineType/creationTimestamp": creation_timestamp +"/compute:beta/MachineType/deprecated": deprecated +"/compute:beta/MachineType/description": description +"/compute:beta/MachineType/guestCpus": guest_cpus +"/compute:beta/MachineType/id": id +"/compute:beta/MachineType/isSharedCpu": is_shared_cpu +"/compute:beta/MachineType/kind": kind +"/compute:beta/MachineType/maximumPersistentDisks": maximum_persistent_disks +"/compute:beta/MachineType/maximumPersistentDisksSizeGb": maximum_persistent_disks_size_gb +"/compute:beta/MachineType/memoryMb": memory_mb +"/compute:beta/MachineType/name": name +"/compute:beta/MachineType/selfLink": self_link +"/compute:beta/MachineType/zone": zone +"/compute:beta/MachineTypeAggregatedList": machine_type_aggregated_list +"/compute:beta/MachineTypeAggregatedList/id": id +"/compute:beta/MachineTypeAggregatedList/items": items +"/compute:beta/MachineTypeAggregatedList/items/item": item +"/compute:beta/MachineTypeAggregatedList/kind": kind +"/compute:beta/MachineTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/MachineTypeAggregatedList/selfLink": self_link +"/compute:beta/MachineTypeList": machine_type_list +"/compute:beta/MachineTypeList/id": id +"/compute:beta/MachineTypeList/items": items +"/compute:beta/MachineTypeList/items/item": item +"/compute:beta/MachineTypeList/kind": kind +"/compute:beta/MachineTypeList/nextPageToken": next_page_token +"/compute:beta/MachineTypeList/selfLink": self_link +"/compute:beta/MachineTypesScopedList": machine_types_scoped_list +"/compute:beta/MachineTypesScopedList/machineTypes": machine_types +"/compute:beta/MachineTypesScopedList/machineTypes/machine_type": machine_type +"/compute:beta/MachineTypesScopedList/warning": warning +"/compute:beta/MachineTypesScopedList/warning/code": code +"/compute:beta/MachineTypesScopedList/warning/data": data +"/compute:beta/MachineTypesScopedList/warning/data/datum": datum +"/compute:beta/MachineTypesScopedList/warning/data/datum/key": key +"/compute:beta/MachineTypesScopedList/warning/data/datum/value": value +"/compute:beta/MachineTypesScopedList/warning/message": message +"/compute:beta/ManagedInstance": managed_instance +"/compute:beta/ManagedInstance/currentAction": current_action +"/compute:beta/ManagedInstance/id": id +"/compute:beta/ManagedInstance/instance": instance +"/compute:beta/ManagedInstance/instanceStatus": instance_status +"/compute:beta/ManagedInstance/lastAttempt": last_attempt +"/compute:beta/ManagedInstanceLastAttempt": managed_instance_last_attempt +"/compute:beta/ManagedInstanceLastAttempt/errors": errors +"/compute:beta/ManagedInstanceLastAttempt/errors/errors": errors +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error": error +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/code": code +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/location": location +"/compute:beta/ManagedInstanceLastAttempt/errors/errors/error/message": message +"/compute:beta/Metadata": metadata +"/compute:beta/Metadata/fingerprint": fingerprint +"/compute:beta/Metadata/items": items +"/compute:beta/Metadata/items/item": item +"/compute:beta/Metadata/items/item/key": key +"/compute:beta/Metadata/items/item/value": value +"/compute:beta/Metadata/kind": kind +"/compute:beta/NamedPort": named_port +"/compute:beta/NamedPort/name": name +"/compute:beta/NamedPort/port": port +"/compute:beta/Network": network +"/compute:beta/Network/IPv4Range": i_pv4_range +"/compute:beta/Network/autoCreateSubnetworks": auto_create_subnetworks +"/compute:beta/Network/creationTimestamp": creation_timestamp +"/compute:beta/Network/description": description +"/compute:beta/Network/gatewayIPv4": gateway_i_pv4 +"/compute:beta/Network/id": id +"/compute:beta/Network/kind": kind +"/compute:beta/Network/name": name +"/compute:beta/Network/selfLink": self_link +"/compute:beta/Network/subnetworks": subnetworks +"/compute:beta/Network/subnetworks/subnetwork": subnetwork +"/compute:beta/NetworkInterface": network_interface +"/compute:beta/NetworkInterface/accessConfigs": access_configs +"/compute:beta/NetworkInterface/accessConfigs/access_config": access_config +"/compute:beta/NetworkInterface/name": name +"/compute:beta/NetworkInterface/network": network +"/compute:beta/NetworkInterface/networkIP": network_ip +"/compute:beta/NetworkInterface/subnetwork": subnetwork +"/compute:beta/NetworkList": network_list +"/compute:beta/NetworkList/id": id +"/compute:beta/NetworkList/items": items +"/compute:beta/NetworkList/items/item": item +"/compute:beta/NetworkList/kind": kind +"/compute:beta/NetworkList/nextPageToken": next_page_token +"/compute:beta/NetworkList/selfLink": self_link +"/compute:beta/Operation": operation +"/compute:beta/Operation/clientOperationId": client_operation_id +"/compute:beta/Operation/creationTimestamp": creation_timestamp +"/compute:beta/Operation/description": description +"/compute:beta/Operation/endTime": end_time +"/compute:beta/Operation/error": error +"/compute:beta/Operation/error/errors": errors +"/compute:beta/Operation/error/errors/error": error +"/compute:beta/Operation/error/errors/error/code": code +"/compute:beta/Operation/error/errors/error/location": location +"/compute:beta/Operation/error/errors/error/message": message +"/compute:beta/Operation/httpErrorMessage": http_error_message +"/compute:beta/Operation/httpErrorStatusCode": http_error_status_code +"/compute:beta/Operation/id": id +"/compute:beta/Operation/insertTime": insert_time +"/compute:beta/Operation/kind": kind +"/compute:beta/Operation/name": name +"/compute:beta/Operation/operationType": operation_type +"/compute:beta/Operation/progress": progress +"/compute:beta/Operation/region": region +"/compute:beta/Operation/selfLink": self_link +"/compute:beta/Operation/startTime": start_time +"/compute:beta/Operation/status": status +"/compute:beta/Operation/statusMessage": status_message +"/compute:beta/Operation/targetId": target_id +"/compute:beta/Operation/targetLink": target_link +"/compute:beta/Operation/user": user +"/compute:beta/Operation/warnings": warnings +"/compute:beta/Operation/warnings/warning": warning +"/compute:beta/Operation/warnings/warning/code": code +"/compute:beta/Operation/warnings/warning/data": data +"/compute:beta/Operation/warnings/warning/data/datum": datum +"/compute:beta/Operation/warnings/warning/data/datum/key": key +"/compute:beta/Operation/warnings/warning/data/datum/value": value +"/compute:beta/Operation/warnings/warning/message": message +"/compute:beta/Operation/zone": zone +"/compute:beta/OperationAggregatedList": operation_aggregated_list +"/compute:beta/OperationAggregatedList/id": id +"/compute:beta/OperationAggregatedList/items": items +"/compute:beta/OperationAggregatedList/items/item": item +"/compute:beta/OperationAggregatedList/kind": kind +"/compute:beta/OperationAggregatedList/nextPageToken": next_page_token +"/compute:beta/OperationAggregatedList/selfLink": self_link +"/compute:beta/OperationList": operation_list +"/compute:beta/OperationList/id": id +"/compute:beta/OperationList/items": items +"/compute:beta/OperationList/items/item": item +"/compute:beta/OperationList/kind": kind +"/compute:beta/OperationList/nextPageToken": next_page_token +"/compute:beta/OperationList/selfLink": self_link +"/compute:beta/OperationsScopedList": operations_scoped_list +"/compute:beta/OperationsScopedList/operations": operations +"/compute:beta/OperationsScopedList/operations/operation": operation +"/compute:beta/OperationsScopedList/warning": warning +"/compute:beta/OperationsScopedList/warning/code": code +"/compute:beta/OperationsScopedList/warning/data": data +"/compute:beta/OperationsScopedList/warning/data/datum": datum +"/compute:beta/OperationsScopedList/warning/data/datum/key": key +"/compute:beta/OperationsScopedList/warning/data/datum/value": value +"/compute:beta/OperationsScopedList/warning/message": message +"/compute:beta/PathMatcher": path_matcher +"/compute:beta/PathMatcher/defaultService": default_service +"/compute:beta/PathMatcher/description": description +"/compute:beta/PathMatcher/name": name +"/compute:beta/PathMatcher/pathRules": path_rules +"/compute:beta/PathMatcher/pathRules/path_rule": path_rule +"/compute:beta/PathRule": path_rule +"/compute:beta/PathRule/paths": paths +"/compute:beta/PathRule/paths/path": path +"/compute:beta/PathRule/service": service +"/compute:beta/Policy": policy +"/compute:beta/Policy/auditConfigs": audit_configs +"/compute:beta/Policy/auditConfigs/audit_config": audit_config +"/compute:beta/Policy/bindings": bindings +"/compute:beta/Policy/bindings/binding": binding +"/compute:beta/Policy/etag": etag +"/compute:beta/Policy/iamOwned": iam_owned +"/compute:beta/Policy/rules": rules +"/compute:beta/Policy/rules/rule": rule +"/compute:beta/Policy/version": version +"/compute:beta/Project": project +"/compute:beta/Project/commonInstanceMetadata": common_instance_metadata +"/compute:beta/Project/creationTimestamp": creation_timestamp +"/compute:beta/Project/defaultServiceAccount": default_service_account +"/compute:beta/Project/description": description +"/compute:beta/Project/enabledFeatures": enabled_features +"/compute:beta/Project/enabledFeatures/enabled_feature": enabled_feature +"/compute:beta/Project/id": id +"/compute:beta/Project/kind": kind +"/compute:beta/Project/name": name +"/compute:beta/Project/quotas": quotas +"/compute:beta/Project/quotas/quota": quota +"/compute:beta/Project/selfLink": self_link +"/compute:beta/Project/usageExportLocation": usage_export_location +"/compute:beta/Project/xpnProjectStatus": xpn_project_status +"/compute:beta/ProjectsListXpnHostsRequest": projects_list_xpn_hosts_request +"/compute:beta/ProjectsListXpnHostsRequest/organization": organization +"/compute:beta/Quota": quota +"/compute:beta/Quota/limit": limit +"/compute:beta/Quota/metric": metric +"/compute:beta/Quota/usage": usage +"/compute:beta/Region": region +"/compute:beta/Region/creationTimestamp": creation_timestamp +"/compute:beta/Region/deprecated": deprecated +"/compute:beta/Region/description": description +"/compute:beta/Region/id": id +"/compute:beta/Region/kind": kind +"/compute:beta/Region/name": name +"/compute:beta/Region/quotas": quotas +"/compute:beta/Region/quotas/quota": quota +"/compute:beta/Region/selfLink": self_link +"/compute:beta/Region/status": status +"/compute:beta/Region/zones": zones +"/compute:beta/Region/zones/zone": zone +"/compute:beta/RegionAutoscalerList": region_autoscaler_list +"/compute:beta/RegionAutoscalerList/id": id +"/compute:beta/RegionAutoscalerList/items": items +"/compute:beta/RegionAutoscalerList/items/item": item +"/compute:beta/RegionAutoscalerList/kind": kind +"/compute:beta/RegionAutoscalerList/nextPageToken": next_page_token +"/compute:beta/RegionAutoscalerList/selfLink": self_link +"/compute:beta/RegionInstanceGroupList": region_instance_group_list +"/compute:beta/RegionInstanceGroupList/id": id +"/compute:beta/RegionInstanceGroupList/items": items +"/compute:beta/RegionInstanceGroupList/items/item": item +"/compute:beta/RegionInstanceGroupList/kind": kind +"/compute:beta/RegionInstanceGroupList/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupList/selfLink": self_link +"/compute:beta/RegionInstanceGroupManagerList": region_instance_group_manager_list +"/compute:beta/RegionInstanceGroupManagerList/id": id +"/compute:beta/RegionInstanceGroupManagerList/items": items +"/compute:beta/RegionInstanceGroupManagerList/items/item": item +"/compute:beta/RegionInstanceGroupManagerList/kind": kind +"/compute:beta/RegionInstanceGroupManagerList/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupManagerList/selfLink": self_link +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse": region_instance_group_managers_list_instances_response +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances": managed_instances +"/compute:beta/RegionInstanceGroupManagersListInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:beta/RegionInstanceGroupManagersRecreateRequest": region_instance_group_managers_recreate_request +"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances": instances +"/compute:beta/RegionInstanceGroupManagersRecreateRequest/instances/instance": instance +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest": region_instance_group_managers_set_auto_healing_request +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies": auto_healing_policies +"/compute:beta/RegionInstanceGroupManagersSetAutoHealingRequest/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest": region_instance_group_managers_set_target_pools_request +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:beta/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest": region_instance_group_managers_set_template_request +"/compute:beta/RegionInstanceGroupManagersSetTemplateRequest/instanceTemplate": instance_template +"/compute:beta/RegionInstanceGroupsListInstances": region_instance_groups_list_instances +"/compute:beta/RegionInstanceGroupsListInstances/id": id +"/compute:beta/RegionInstanceGroupsListInstances/items": items +"/compute:beta/RegionInstanceGroupsListInstances/items/item": item +"/compute:beta/RegionInstanceGroupsListInstances/kind": kind +"/compute:beta/RegionInstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:beta/RegionInstanceGroupsListInstances/selfLink": self_link +"/compute:beta/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request +"/compute:beta/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:beta/RegionInstanceGroupsListInstancesRequest/portName": port_name +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest": region_instance_groups_set_named_ports_request +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:beta/RegionInstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:beta/RegionList": region_list +"/compute:beta/RegionList/id": id +"/compute:beta/RegionList/items": items +"/compute:beta/RegionList/items/item": item +"/compute:beta/RegionList/kind": kind +"/compute:beta/RegionList/nextPageToken": next_page_token +"/compute:beta/RegionList/selfLink": self_link +"/compute:beta/ResourceGroupReference": resource_group_reference +"/compute:beta/ResourceGroupReference/group": group +"/compute:beta/Route": route +"/compute:beta/Route/creationTimestamp": creation_timestamp +"/compute:beta/Route/description": description +"/compute:beta/Route/destRange": dest_range +"/compute:beta/Route/id": id +"/compute:beta/Route/kind": kind +"/compute:beta/Route/name": name +"/compute:beta/Route/network": network +"/compute:beta/Route/nextHopGateway": next_hop_gateway +"/compute:beta/Route/nextHopInstance": next_hop_instance +"/compute:beta/Route/nextHopIp": next_hop_ip +"/compute:beta/Route/nextHopNetwork": next_hop_network +"/compute:beta/Route/nextHopVpnTunnel": next_hop_vpn_tunnel +"/compute:beta/Route/priority": priority +"/compute:beta/Route/selfLink": self_link +"/compute:beta/Route/tags": tags +"/compute:beta/Route/tags/tag": tag +"/compute:beta/Route/warnings": warnings +"/compute:beta/Route/warnings/warning": warning +"/compute:beta/Route/warnings/warning/code": code +"/compute:beta/Route/warnings/warning/data": data +"/compute:beta/Route/warnings/warning/data/datum": datum +"/compute:beta/Route/warnings/warning/data/datum/key": key +"/compute:beta/Route/warnings/warning/data/datum/value": value +"/compute:beta/Route/warnings/warning/message": message +"/compute:beta/RouteList": route_list +"/compute:beta/RouteList/id": id +"/compute:beta/RouteList/items": items +"/compute:beta/RouteList/items/item": item +"/compute:beta/RouteList/kind": kind +"/compute:beta/RouteList/nextPageToken": next_page_token +"/compute:beta/RouteList/selfLink": self_link +"/compute:beta/Router": router +"/compute:beta/Router/bgp": bgp +"/compute:beta/Router/bgpPeers": bgp_peers +"/compute:beta/Router/bgpPeers/bgp_peer": bgp_peer +"/compute:beta/Router/creationTimestamp": creation_timestamp +"/compute:beta/Router/description": description +"/compute:beta/Router/id": id +"/compute:beta/Router/interfaces": interfaces +"/compute:beta/Router/interfaces/interface": interface +"/compute:beta/Router/kind": kind +"/compute:beta/Router/name": name +"/compute:beta/Router/network": network +"/compute:beta/Router/region": region +"/compute:beta/Router/selfLink": self_link +"/compute:beta/RouterAggregatedList": router_aggregated_list +"/compute:beta/RouterAggregatedList/id": id +"/compute:beta/RouterAggregatedList/items": items +"/compute:beta/RouterAggregatedList/items/item": item +"/compute:beta/RouterAggregatedList/kind": kind +"/compute:beta/RouterAggregatedList/nextPageToken": next_page_token +"/compute:beta/RouterAggregatedList/selfLink": self_link +"/compute:beta/RouterBgp": router_bgp +"/compute:beta/RouterBgp/asn": asn +"/compute:beta/RouterBgpPeer": router_bgp_peer +"/compute:beta/RouterBgpPeer/advertisedRoutePriority": advertised_route_priority +"/compute:beta/RouterBgpPeer/interfaceName": interface_name +"/compute:beta/RouterBgpPeer/ipAddress": ip_address +"/compute:beta/RouterBgpPeer/name": name +"/compute:beta/RouterBgpPeer/peerAsn": peer_asn +"/compute:beta/RouterBgpPeer/peerIpAddress": peer_ip_address +"/compute:beta/RouterInterface": router_interface +"/compute:beta/RouterInterface/ipRange": ip_range +"/compute:beta/RouterInterface/linkedVpnTunnel": linked_vpn_tunnel +"/compute:beta/RouterInterface/name": name +"/compute:beta/RouterList": router_list +"/compute:beta/RouterList/id": id +"/compute:beta/RouterList/items": items +"/compute:beta/RouterList/items/item": item +"/compute:beta/RouterList/kind": kind +"/compute:beta/RouterList/nextPageToken": next_page_token +"/compute:beta/RouterList/selfLink": self_link +"/compute:beta/RouterStatus": router_status +"/compute:beta/RouterStatus/bestRoutes": best_routes +"/compute:beta/RouterStatus/bestRoutes/best_route": best_route +"/compute:beta/RouterStatus/bgpPeerStatus": bgp_peer_status +"/compute:beta/RouterStatus/bgpPeerStatus/bgp_peer_status": bgp_peer_status +"/compute:beta/RouterStatus/network": network +"/compute:beta/RouterStatusBgpPeerStatus": router_status_bgp_peer_status +"/compute:beta/RouterStatusBgpPeerStatus/advertisedRoutes": advertised_routes +"/compute:beta/RouterStatusBgpPeerStatus/advertisedRoutes/advertised_route": advertised_route +"/compute:beta/RouterStatusBgpPeerStatus/ipAddress": ip_address +"/compute:beta/RouterStatusBgpPeerStatus/linkedVpnTunnel": linked_vpn_tunnel +"/compute:beta/RouterStatusBgpPeerStatus/name": name +"/compute:beta/RouterStatusBgpPeerStatus/numLearnedRoutes": num_learned_routes +"/compute:beta/RouterStatusBgpPeerStatus/peerIpAddress": peer_ip_address +"/compute:beta/RouterStatusBgpPeerStatus/state": state +"/compute:beta/RouterStatusBgpPeerStatus/status": status +"/compute:beta/RouterStatusBgpPeerStatus/uptime": uptime +"/compute:beta/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds +"/compute:beta/RouterStatusResponse": router_status_response +"/compute:beta/RouterStatusResponse/kind": kind +"/compute:beta/RouterStatusResponse/result": result +"/compute:beta/RoutersPreviewResponse": routers_preview_response +"/compute:beta/RoutersPreviewResponse/resource": resource +"/compute:beta/RoutersScopedList": routers_scoped_list +"/compute:beta/RoutersScopedList/routers": routers +"/compute:beta/RoutersScopedList/routers/router": router +"/compute:beta/RoutersScopedList/warning": warning +"/compute:beta/RoutersScopedList/warning/code": code +"/compute:beta/RoutersScopedList/warning/data": data +"/compute:beta/RoutersScopedList/warning/data/datum": datum +"/compute:beta/RoutersScopedList/warning/data/datum/key": key +"/compute:beta/RoutersScopedList/warning/data/datum/value": value +"/compute:beta/RoutersScopedList/warning/message": message +"/compute:beta/Rule": rule +"/compute:beta/Rule/action": action +"/compute:beta/Rule/conditions": conditions +"/compute:beta/Rule/conditions/condition": condition +"/compute:beta/Rule/description": description +"/compute:beta/Rule/ins": ins +"/compute:beta/Rule/ins/in": in +"/compute:beta/Rule/logConfigs": log_configs +"/compute:beta/Rule/logConfigs/log_config": log_config +"/compute:beta/Rule/notIns": not_ins +"/compute:beta/Rule/notIns/not_in": not_in +"/compute:beta/Rule/permissions": permissions +"/compute:beta/Rule/permissions/permission": permission +"/compute:beta/SSLHealthCheck": ssl_health_check +"/compute:beta/SSLHealthCheck/port": port +"/compute:beta/SSLHealthCheck/portName": port_name +"/compute:beta/SSLHealthCheck/proxyHeader": proxy_header +"/compute:beta/SSLHealthCheck/request": request +"/compute:beta/SSLHealthCheck/response": response +"/compute:beta/Scheduling": scheduling +"/compute:beta/Scheduling/automaticRestart": automatic_restart +"/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance +"/compute:beta/Scheduling/preemptible": preemptible +"/compute:beta/SerialPortOutput": serial_port_output +"/compute:beta/SerialPortOutput/contents": contents +"/compute:beta/SerialPortOutput/kind": kind +"/compute:beta/SerialPortOutput/next": next +"/compute:beta/SerialPortOutput/selfLink": self_link +"/compute:beta/SerialPortOutput/start": start +"/compute:beta/ServiceAccount": service_account +"/compute:beta/ServiceAccount/email": email +"/compute:beta/ServiceAccount/scopes": scopes +"/compute:beta/ServiceAccount/scopes/scope": scope +"/compute:beta/Snapshot": snapshot +"/compute:beta/Snapshot/creationTimestamp": creation_timestamp +"/compute:beta/Snapshot/description": description +"/compute:beta/Snapshot/diskSizeGb": disk_size_gb +"/compute:beta/Snapshot/id": id +"/compute:beta/Snapshot/kind": kind +"/compute:beta/Snapshot/labelFingerprint": label_fingerprint +"/compute:beta/Snapshot/labels": labels +"/compute:beta/Snapshot/labels/label": label +"/compute:beta/Snapshot/licenses": licenses +"/compute:beta/Snapshot/licenses/license": license +"/compute:beta/Snapshot/name": name +"/compute:beta/Snapshot/selfLink": self_link +"/compute:beta/Snapshot/snapshotEncryptionKey": snapshot_encryption_key +"/compute:beta/Snapshot/sourceDisk": source_disk +"/compute:beta/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:beta/Snapshot/sourceDiskId": source_disk_id +"/compute:beta/Snapshot/status": status +"/compute:beta/Snapshot/storageBytes": storage_bytes +"/compute:beta/Snapshot/storageBytesStatus": storage_bytes_status +"/compute:beta/SnapshotList": snapshot_list +"/compute:beta/SnapshotList/id": id +"/compute:beta/SnapshotList/items": items +"/compute:beta/SnapshotList/items/item": item +"/compute:beta/SnapshotList/kind": kind +"/compute:beta/SnapshotList/nextPageToken": next_page_token +"/compute:beta/SnapshotList/selfLink": self_link +"/compute:beta/SslCertificate": ssl_certificate +"/compute:beta/SslCertificate/certificate": certificate +"/compute:beta/SslCertificate/creationTimestamp": creation_timestamp +"/compute:beta/SslCertificate/description": description +"/compute:beta/SslCertificate/id": id +"/compute:beta/SslCertificate/kind": kind +"/compute:beta/SslCertificate/name": name +"/compute:beta/SslCertificate/privateKey": private_key +"/compute:beta/SslCertificate/selfLink": self_link +"/compute:beta/SslCertificateList": ssl_certificate_list +"/compute:beta/SslCertificateList/id": id +"/compute:beta/SslCertificateList/items": items +"/compute:beta/SslCertificateList/items/item": item +"/compute:beta/SslCertificateList/kind": kind +"/compute:beta/SslCertificateList/nextPageToken": next_page_token +"/compute:beta/SslCertificateList/selfLink": self_link +"/compute:beta/Subnetwork": subnetwork +"/compute:beta/Subnetwork/creationTimestamp": creation_timestamp +"/compute:beta/Subnetwork/description": description +"/compute:beta/Subnetwork/gatewayAddress": gateway_address +"/compute:beta/Subnetwork/id": id +"/compute:beta/Subnetwork/ipCidrRange": ip_cidr_range +"/compute:beta/Subnetwork/kind": kind +"/compute:beta/Subnetwork/name": name +"/compute:beta/Subnetwork/network": network +"/compute:beta/Subnetwork/region": region +"/compute:beta/Subnetwork/selfLink": self_link +"/compute:beta/SubnetworkAggregatedList": subnetwork_aggregated_list +"/compute:beta/SubnetworkAggregatedList/id": id +"/compute:beta/SubnetworkAggregatedList/items": items +"/compute:beta/SubnetworkAggregatedList/items/item": item +"/compute:beta/SubnetworkAggregatedList/kind": kind +"/compute:beta/SubnetworkAggregatedList/nextPageToken": next_page_token +"/compute:beta/SubnetworkAggregatedList/selfLink": self_link +"/compute:beta/SubnetworkList": subnetwork_list +"/compute:beta/SubnetworkList/id": id +"/compute:beta/SubnetworkList/items": items +"/compute:beta/SubnetworkList/items/item": item +"/compute:beta/SubnetworkList/kind": kind +"/compute:beta/SubnetworkList/nextPageToken": next_page_token +"/compute:beta/SubnetworkList/selfLink": self_link +"/compute:beta/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request +"/compute:beta/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range +"/compute:beta/SubnetworksScopedList": subnetworks_scoped_list +"/compute:beta/SubnetworksScopedList/subnetworks": subnetworks +"/compute:beta/SubnetworksScopedList/subnetworks/subnetwork": subnetwork +"/compute:beta/SubnetworksScopedList/warning": warning +"/compute:beta/SubnetworksScopedList/warning/code": code +"/compute:beta/SubnetworksScopedList/warning/data": data +"/compute:beta/SubnetworksScopedList/warning/data/datum": datum +"/compute:beta/SubnetworksScopedList/warning/data/datum/key": key +"/compute:beta/SubnetworksScopedList/warning/data/datum/value": value +"/compute:beta/SubnetworksScopedList/warning/message": message +"/compute:beta/TCPHealthCheck": tcp_health_check +"/compute:beta/TCPHealthCheck/port": port +"/compute:beta/TCPHealthCheck/portName": port_name +"/compute:beta/TCPHealthCheck/proxyHeader": proxy_header +"/compute:beta/TCPHealthCheck/request": request +"/compute:beta/TCPHealthCheck/response": response +"/compute:beta/Tags": tags +"/compute:beta/Tags/fingerprint": fingerprint +"/compute:beta/Tags/items": items +"/compute:beta/Tags/items/item": item +"/compute:beta/TargetHttpProxy": target_http_proxy +"/compute:beta/TargetHttpProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetHttpProxy/description": description +"/compute:beta/TargetHttpProxy/id": id +"/compute:beta/TargetHttpProxy/kind": kind +"/compute:beta/TargetHttpProxy/name": name +"/compute:beta/TargetHttpProxy/selfLink": self_link +"/compute:beta/TargetHttpProxy/urlMap": url_map +"/compute:beta/TargetHttpProxyList": target_http_proxy_list +"/compute:beta/TargetHttpProxyList/id": id +"/compute:beta/TargetHttpProxyList/items": items +"/compute:beta/TargetHttpProxyList/items/item": item +"/compute:beta/TargetHttpProxyList/kind": kind +"/compute:beta/TargetHttpProxyList/nextPageToken": next_page_token +"/compute:beta/TargetHttpProxyList/selfLink": self_link +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:beta/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetHttpsProxy": target_https_proxy +"/compute:beta/TargetHttpsProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetHttpsProxy/description": description +"/compute:beta/TargetHttpsProxy/id": id +"/compute:beta/TargetHttpsProxy/kind": kind +"/compute:beta/TargetHttpsProxy/name": name +"/compute:beta/TargetHttpsProxy/selfLink": self_link +"/compute:beta/TargetHttpsProxy/sslCertificates": ssl_certificates +"/compute:beta/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetHttpsProxy/urlMap": url_map +"/compute:beta/TargetHttpsProxyList": target_https_proxy_list +"/compute:beta/TargetHttpsProxyList/id": id +"/compute:beta/TargetHttpsProxyList/items": items +"/compute:beta/TargetHttpsProxyList/items/item": item +"/compute:beta/TargetHttpsProxyList/kind": kind +"/compute:beta/TargetHttpsProxyList/nextPageToken": next_page_token +"/compute:beta/TargetHttpsProxyList/selfLink": self_link +"/compute:beta/TargetInstance": target_instance +"/compute:beta/TargetInstance/creationTimestamp": creation_timestamp +"/compute:beta/TargetInstance/description": description +"/compute:beta/TargetInstance/id": id +"/compute:beta/TargetInstance/instance": instance +"/compute:beta/TargetInstance/kind": kind +"/compute:beta/TargetInstance/name": name +"/compute:beta/TargetInstance/natPolicy": nat_policy +"/compute:beta/TargetInstance/selfLink": self_link +"/compute:beta/TargetInstance/zone": zone +"/compute:beta/TargetInstanceAggregatedList": target_instance_aggregated_list +"/compute:beta/TargetInstanceAggregatedList/id": id +"/compute:beta/TargetInstanceAggregatedList/items": items +"/compute:beta/TargetInstanceAggregatedList/items/item": item +"/compute:beta/TargetInstanceAggregatedList/kind": kind +"/compute:beta/TargetInstanceAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetInstanceAggregatedList/selfLink": self_link +"/compute:beta/TargetInstanceList": target_instance_list +"/compute:beta/TargetInstanceList/id": id +"/compute:beta/TargetInstanceList/items": items +"/compute:beta/TargetInstanceList/items/item": item +"/compute:beta/TargetInstanceList/kind": kind +"/compute:beta/TargetInstanceList/nextPageToken": next_page_token +"/compute:beta/TargetInstanceList/selfLink": self_link +"/compute:beta/TargetInstancesScopedList": target_instances_scoped_list +"/compute:beta/TargetInstancesScopedList/targetInstances": target_instances +"/compute:beta/TargetInstancesScopedList/targetInstances/target_instance": target_instance +"/compute:beta/TargetInstancesScopedList/warning": warning +"/compute:beta/TargetInstancesScopedList/warning/code": code +"/compute:beta/TargetInstancesScopedList/warning/data": data +"/compute:beta/TargetInstancesScopedList/warning/data/datum": datum +"/compute:beta/TargetInstancesScopedList/warning/data/datum/key": key +"/compute:beta/TargetInstancesScopedList/warning/data/datum/value": value +"/compute:beta/TargetInstancesScopedList/warning/message": message +"/compute:beta/TargetPool": target_pool +"/compute:beta/TargetPool/backupPool": backup_pool +"/compute:beta/TargetPool/creationTimestamp": creation_timestamp +"/compute:beta/TargetPool/description": description +"/compute:beta/TargetPool/failoverRatio": failover_ratio +"/compute:beta/TargetPool/healthChecks": health_checks +"/compute:beta/TargetPool/healthChecks/health_check": health_check +"/compute:beta/TargetPool/id": id +"/compute:beta/TargetPool/instances": instances +"/compute:beta/TargetPool/instances/instance": instance +"/compute:beta/TargetPool/kind": kind +"/compute:beta/TargetPool/name": name +"/compute:beta/TargetPool/region": region +"/compute:beta/TargetPool/selfLink": self_link +"/compute:beta/TargetPool/sessionAffinity": session_affinity +"/compute:beta/TargetPoolAggregatedList": target_pool_aggregated_list +"/compute:beta/TargetPoolAggregatedList/id": id +"/compute:beta/TargetPoolAggregatedList/items": items +"/compute:beta/TargetPoolAggregatedList/items/item": item +"/compute:beta/TargetPoolAggregatedList/kind": kind +"/compute:beta/TargetPoolAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetPoolAggregatedList/selfLink": self_link +"/compute:beta/TargetPoolInstanceHealth": target_pool_instance_health +"/compute:beta/TargetPoolInstanceHealth/healthStatus": health_status +"/compute:beta/TargetPoolInstanceHealth/healthStatus/health_status": health_status +"/compute:beta/TargetPoolInstanceHealth/kind": kind +"/compute:beta/TargetPoolList": target_pool_list +"/compute:beta/TargetPoolList/id": id +"/compute:beta/TargetPoolList/items": items +"/compute:beta/TargetPoolList/items/item": item +"/compute:beta/TargetPoolList/kind": kind +"/compute:beta/TargetPoolList/nextPageToken": next_page_token +"/compute:beta/TargetPoolList/selfLink": self_link +"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks +"/compute:beta/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check +"/compute:beta/TargetPoolsAddInstanceRequest/instances": instances +"/compute:beta/TargetPoolsAddInstanceRequest/instances/instance": instance +"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks": health_checks +"/compute:beta/TargetPoolsRemoveHealthCheckRequest/healthChecks/health_check": health_check +"/compute:beta/TargetPoolsRemoveInstanceRequest/instances": instances +"/compute:beta/TargetPoolsRemoveInstanceRequest/instances/instance": instance +"/compute:beta/TargetPoolsScopedList": target_pools_scoped_list +"/compute:beta/TargetPoolsScopedList/targetPools": target_pools +"/compute:beta/TargetPoolsScopedList/targetPools/target_pool": target_pool +"/compute:beta/TargetPoolsScopedList/warning": warning +"/compute:beta/TargetPoolsScopedList/warning/code": code +"/compute:beta/TargetPoolsScopedList/warning/data": data +"/compute:beta/TargetPoolsScopedList/warning/data/datum": datum +"/compute:beta/TargetPoolsScopedList/warning/data/datum/key": key +"/compute:beta/TargetPoolsScopedList/warning/data/datum/value": value +"/compute:beta/TargetPoolsScopedList/warning/message": message +"/compute:beta/TargetReference": target_reference +"/compute:beta/TargetReference/target": target +"/compute:beta/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request +"/compute:beta/TargetSslProxiesSetBackendServiceRequest/service": service +"/compute:beta/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request +"/compute:beta/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:beta/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetSslProxy": target_ssl_proxy +"/compute:beta/TargetSslProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetSslProxy/description": description +"/compute:beta/TargetSslProxy/id": id +"/compute:beta/TargetSslProxy/kind": kind +"/compute:beta/TargetSslProxy/name": name +"/compute:beta/TargetSslProxy/proxyHeader": proxy_header +"/compute:beta/TargetSslProxy/selfLink": self_link +"/compute:beta/TargetSslProxy/service": service +"/compute:beta/TargetSslProxy/sslCertificates": ssl_certificates +"/compute:beta/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:beta/TargetSslProxyList": target_ssl_proxy_list +"/compute:beta/TargetSslProxyList/id": id +"/compute:beta/TargetSslProxyList/items": items +"/compute:beta/TargetSslProxyList/items/item": item +"/compute:beta/TargetSslProxyList/kind": kind +"/compute:beta/TargetSslProxyList/nextPageToken": next_page_token +"/compute:beta/TargetSslProxyList/selfLink": self_link +"/compute:beta/TargetVpnGateway": target_vpn_gateway +"/compute:beta/TargetVpnGateway/creationTimestamp": creation_timestamp +"/compute:beta/TargetVpnGateway/description": description +"/compute:beta/TargetVpnGateway/forwardingRules": forwarding_rules +"/compute:beta/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule +"/compute:beta/TargetVpnGateway/id": id +"/compute:beta/TargetVpnGateway/kind": kind +"/compute:beta/TargetVpnGateway/name": name +"/compute:beta/TargetVpnGateway/network": network +"/compute:beta/TargetVpnGateway/region": region +"/compute:beta/TargetVpnGateway/selfLink": self_link +"/compute:beta/TargetVpnGateway/status": status +"/compute:beta/TargetVpnGateway/tunnels": tunnels +"/compute:beta/TargetVpnGateway/tunnels/tunnel": tunnel +"/compute:beta/TargetVpnGatewayAggregatedList": target_vpn_gateway_aggregated_list +"/compute:beta/TargetVpnGatewayAggregatedList/id": id +"/compute:beta/TargetVpnGatewayAggregatedList/items": items +"/compute:beta/TargetVpnGatewayAggregatedList/items/item": item +"/compute:beta/TargetVpnGatewayAggregatedList/kind": kind +"/compute:beta/TargetVpnGatewayAggregatedList/nextPageToken": next_page_token +"/compute:beta/TargetVpnGatewayAggregatedList/selfLink": self_link +"/compute:beta/TargetVpnGatewayList": target_vpn_gateway_list +"/compute:beta/TargetVpnGatewayList/id": id +"/compute:beta/TargetVpnGatewayList/items": items +"/compute:beta/TargetVpnGatewayList/items/item": item +"/compute:beta/TargetVpnGatewayList/kind": kind +"/compute:beta/TargetVpnGatewayList/nextPageToken": next_page_token +"/compute:beta/TargetVpnGatewayList/selfLink": self_link +"/compute:beta/TargetVpnGatewaysScopedList": target_vpn_gateways_scoped_list +"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways": target_vpn_gateways +"/compute:beta/TargetVpnGatewaysScopedList/targetVpnGateways/target_vpn_gateway": target_vpn_gateway +"/compute:beta/TargetVpnGatewaysScopedList/warning": warning +"/compute:beta/TargetVpnGatewaysScopedList/warning/code": code +"/compute:beta/TargetVpnGatewaysScopedList/warning/data": data +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum": datum +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/key": key +"/compute:beta/TargetVpnGatewaysScopedList/warning/data/datum/value": value +"/compute:beta/TargetVpnGatewaysScopedList/warning/message": message +"/compute:beta/TestFailure": test_failure +"/compute:beta/TestFailure/actualService": actual_service +"/compute:beta/TestFailure/expectedService": expected_service +"/compute:beta/TestFailure/host": host +"/compute:beta/TestFailure/path": path +"/compute:beta/TestPermissionsRequest": test_permissions_request +"/compute:beta/TestPermissionsRequest/permissions": permissions +"/compute:beta/TestPermissionsRequest/permissions/permission": permission +"/compute:beta/TestPermissionsResponse": test_permissions_response +"/compute:beta/TestPermissionsResponse/permissions": permissions +"/compute:beta/TestPermissionsResponse/permissions/permission": permission +"/compute:beta/UDPHealthCheck": udp_health_check +"/compute:beta/UDPHealthCheck/port": port +"/compute:beta/UDPHealthCheck/portName": port_name +"/compute:beta/UDPHealthCheck/request": request +"/compute:beta/UDPHealthCheck/response": response +"/compute:beta/UrlMap": url_map +"/compute:beta/UrlMap/creationTimestamp": creation_timestamp +"/compute:beta/UrlMap/defaultService": default_service +"/compute:beta/UrlMap/description": description +"/compute:beta/UrlMap/fingerprint": fingerprint +"/compute:beta/UrlMap/hostRules": host_rules +"/compute:beta/UrlMap/hostRules/host_rule": host_rule +"/compute:beta/UrlMap/id": id +"/compute:beta/UrlMap/kind": kind +"/compute:beta/UrlMap/name": name +"/compute:beta/UrlMap/pathMatchers": path_matchers +"/compute:beta/UrlMap/pathMatchers/path_matcher": path_matcher +"/compute:beta/UrlMap/selfLink": self_link +"/compute:beta/UrlMap/tests": tests +"/compute:beta/UrlMap/tests/test": test +"/compute:beta/UrlMapList": url_map_list +"/compute:beta/UrlMapList/id": id +"/compute:beta/UrlMapList/items": items +"/compute:beta/UrlMapList/items/item": item +"/compute:beta/UrlMapList/kind": kind +"/compute:beta/UrlMapList/nextPageToken": next_page_token +"/compute:beta/UrlMapList/selfLink": self_link +"/compute:beta/UrlMapReference": url_map_reference +"/compute:beta/UrlMapReference/urlMap": url_map +"/compute:beta/UrlMapTest": url_map_test +"/compute:beta/UrlMapTest/description": description +"/compute:beta/UrlMapTest/host": host +"/compute:beta/UrlMapTest/path": path +"/compute:beta/UrlMapTest/service": service +"/compute:beta/UrlMapValidationResult": url_map_validation_result +"/compute:beta/UrlMapValidationResult/loadErrors": load_errors +"/compute:beta/UrlMapValidationResult/loadErrors/load_error": load_error +"/compute:beta/UrlMapValidationResult/loadSucceeded": load_succeeded +"/compute:beta/UrlMapValidationResult/testFailures": test_failures +"/compute:beta/UrlMapValidationResult/testFailures/test_failure": test_failure +"/compute:beta/UrlMapValidationResult/testPassed": test_passed +"/compute:beta/UrlMapsValidateRequest/resource": resource +"/compute:beta/UrlMapsValidateResponse/result": result +"/compute:beta/UsageExportLocation": usage_export_location +"/compute:beta/UsageExportLocation/bucketName": bucket_name +"/compute:beta/UsageExportLocation/reportNamePrefix": report_name_prefix +"/compute:beta/VpnTunnel": vpn_tunnel +"/compute:beta/VpnTunnel/creationTimestamp": creation_timestamp +"/compute:beta/VpnTunnel/description": description +"/compute:beta/VpnTunnel/detailedStatus": detailed_status +"/compute:beta/VpnTunnel/id": id +"/compute:beta/VpnTunnel/ikeVersion": ike_version +"/compute:beta/VpnTunnel/kind": kind +"/compute:beta/VpnTunnel/localTrafficSelector": local_traffic_selector +"/compute:beta/VpnTunnel/localTrafficSelector/local_traffic_selector": local_traffic_selector +"/compute:beta/VpnTunnel/name": name +"/compute:beta/VpnTunnel/peerIp": peer_ip +"/compute:beta/VpnTunnel/region": region +"/compute:beta/VpnTunnel/remoteTrafficSelector": remote_traffic_selector +"/compute:beta/VpnTunnel/remoteTrafficSelector/remote_traffic_selector": remote_traffic_selector +"/compute:beta/VpnTunnel/router": router +"/compute:beta/VpnTunnel/selfLink": self_link +"/compute:beta/VpnTunnel/sharedSecret": shared_secret +"/compute:beta/VpnTunnel/sharedSecretHash": shared_secret_hash +"/compute:beta/VpnTunnel/status": status +"/compute:beta/VpnTunnel/targetVpnGateway": target_vpn_gateway +"/compute:beta/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list +"/compute:beta/VpnTunnelAggregatedList/id": id +"/compute:beta/VpnTunnelAggregatedList/items": items +"/compute:beta/VpnTunnelAggregatedList/items/item": item +"/compute:beta/VpnTunnelAggregatedList/kind": kind +"/compute:beta/VpnTunnelAggregatedList/nextPageToken": next_page_token +"/compute:beta/VpnTunnelAggregatedList/selfLink": self_link +"/compute:beta/VpnTunnelList": vpn_tunnel_list +"/compute:beta/VpnTunnelList/id": id +"/compute:beta/VpnTunnelList/items": items +"/compute:beta/VpnTunnelList/items/item": item +"/compute:beta/VpnTunnelList/kind": kind +"/compute:beta/VpnTunnelList/nextPageToken": next_page_token +"/compute:beta/VpnTunnelList/selfLink": self_link +"/compute:beta/VpnTunnelsScopedList": vpn_tunnels_scoped_list +"/compute:beta/VpnTunnelsScopedList/vpnTunnels": vpn_tunnels +"/compute:beta/VpnTunnelsScopedList/vpnTunnels/vpn_tunnel": vpn_tunnel +"/compute:beta/VpnTunnelsScopedList/warning": warning +"/compute:beta/VpnTunnelsScopedList/warning/code": code +"/compute:beta/VpnTunnelsScopedList/warning/data": data +"/compute:beta/VpnTunnelsScopedList/warning/data/datum": datum +"/compute:beta/VpnTunnelsScopedList/warning/data/datum/key": key +"/compute:beta/VpnTunnelsScopedList/warning/data/datum/value": value +"/compute:beta/VpnTunnelsScopedList/warning/message": message +"/compute:beta/XpnHostList": xpn_host_list +"/compute:beta/XpnHostList/id": id +"/compute:beta/XpnHostList/items": items +"/compute:beta/XpnHostList/items/item": item +"/compute:beta/XpnHostList/kind": kind +"/compute:beta/XpnHostList/nextPageToken": next_page_token +"/compute:beta/XpnHostList/selfLink": self_link +"/compute:beta/Zone": zone +"/compute:beta/Zone/creationTimestamp": creation_timestamp +"/compute:beta/Zone/deprecated": deprecated +"/compute:beta/Zone/description": description +"/compute:beta/Zone/id": id +"/compute:beta/Zone/kind": kind +"/compute:beta/Zone/name": name +"/compute:beta/Zone/region": region +"/compute:beta/Zone/selfLink": self_link +"/compute:beta/Zone/status": status +"/compute:beta/ZoneList": zone_list +"/compute:beta/ZoneList/id": id +"/compute:beta/ZoneList/items": items +"/compute:beta/ZoneList/items/item": item +"/compute:beta/ZoneList/kind": kind +"/compute:beta/ZoneList/nextPageToken": next_page_token +"/compute:beta/ZoneList/selfLink": self_link +"/compute:beta/ZoneSetLabelsRequest": zone_set_labels_request +"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint +"/compute:beta/ZoneSetLabelsRequest/labels": labels +"/compute:beta/ZoneSetLabelsRequest/labels/label": label +"/mybusiness:v3/fields": fields +"/mybusiness:v3/key": key +"/mybusiness:v3/quotaUser": quota_user +"/mybusiness:v3/mybusiness.accounts.list": list_accounts +"/mybusiness:v3/mybusiness.accounts.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.get": get_account +"/mybusiness:v3/mybusiness.accounts.get/name": name +"/mybusiness:v3/mybusiness.accounts.update": update_account +"/mybusiness:v3/mybusiness.accounts.update/name": name +"/mybusiness:v3/mybusiness.accounts.update/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.update/validateOnly": validate_only +"/mybusiness:v3/mybusiness.accounts.admins.list": list_account_admins +"/mybusiness:v3/mybusiness.accounts.admins.list/name": name +"/mybusiness:v3/mybusiness.accounts.admins.create": create_account_admin +"/mybusiness:v3/mybusiness.accounts.admins.create/name": name +"/mybusiness:v3/mybusiness.accounts.admins.delete": delete_account_admin +"/mybusiness:v3/mybusiness.accounts.admins.delete/name": name +"/mybusiness:v3/mybusiness.accounts.locations.list": list_account_locations +"/mybusiness:v3/mybusiness.accounts.locations.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.locations.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.locations.list/filter": filter +"/mybusiness:v3/mybusiness.accounts.locations.get": get_account_location +"/mybusiness:v3/mybusiness.accounts.locations.get/name": name +"/mybusiness:v3/mybusiness.accounts.locations.batchGet": batch_get_locations +"/mybusiness:v3/mybusiness.accounts.locations.batchGet/name": name +"/mybusiness:v3/mybusiness.accounts.locations.getGoogleUpdated/name": name +"/mybusiness:v3/mybusiness.accounts.locations.create": create_account_location +"/mybusiness:v3/mybusiness.accounts.locations.create/name": name +"/mybusiness:v3/mybusiness.accounts.locations.create/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.locations.create/validateOnly": validate_only +"/mybusiness:v3/mybusiness.accounts.locations.create/requestId": request_id +"/mybusiness:v3/mybusiness.accounts.locations.patch": patch_account_location +"/mybusiness:v3/mybusiness.accounts.locations.patch/name": name +"/mybusiness:v3/mybusiness.accounts.locations.patch/languageCode": language_code +"/mybusiness:v3/mybusiness.accounts.locations.patch/fieldMask": field_mask +"/mybusiness:v3/mybusiness.accounts.locations.patch/validateOnly": validate_only +"/mybusiness:v3/mybusiness.accounts.locations.delete": delete_account_location +"/mybusiness:v3/mybusiness.accounts.locations.delete/name": name +"/mybusiness:v3/mybusiness.accounts.locations.findMatches": find_account_location_matches +"/mybusiness:v3/mybusiness.accounts.locations.findMatches/name": name +"/mybusiness:v3/mybusiness.accounts.locations.associate": associate_location +"/mybusiness:v3/mybusiness.accounts.locations.associate/name": name +"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation": clear_account_location_association +"/mybusiness:v3/mybusiness.accounts.locations.clearAssociation/name": name +"/mybusiness:v3/mybusiness.accounts.locations.transfer": transfer_location +"/mybusiness:v3/mybusiness.accounts.locations.transfer/name": name +"/mybusiness:v3/mybusiness.accounts.locations.admins.list": list_account_location_admins +"/mybusiness:v3/mybusiness.accounts.locations.admins.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.admins.create": create_account_location_admin +"/mybusiness:v3/mybusiness.accounts.locations.admins.create/name": name +"/mybusiness:v3/mybusiness.accounts.locations.admins.delete": delete_account_location_admin +"/mybusiness:v3/mybusiness.accounts.locations.admins.delete/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageSize": page_size +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/pageToken": page_token +"/mybusiness:v3/mybusiness.accounts.locations.reviews.list/orderBy": order_by +"/mybusiness:v3/mybusiness.accounts.locations.reviews.get/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.reply/name": name +"/mybusiness:v3/mybusiness.accounts.locations.reviews.deleteReply/name": name +"/mybusiness:v3/mybusiness.attributes.list": list_attributes +"/mybusiness:v3/mybusiness.attributes.list/name": name +"/mybusiness:v3/mybusiness.attributes.list/categoryId": category_id +"/mybusiness:v3/mybusiness.attributes.list/country": country +"/mybusiness:v3/mybusiness.attributes.list/languageCode": language_code +"/mybusiness:v3/ListAccountsResponse": list_accounts_response +"/mybusiness:v3/ListAccountsResponse/accounts": accounts +"/mybusiness:v3/ListAccountsResponse/accounts/account": account +"/mybusiness:v3/ListAccountsResponse/nextPageToken": next_page_token +"/mybusiness:v3/Account": account +"/mybusiness:v3/Account/name": name +"/mybusiness:v3/Account/accountName": account_name +"/mybusiness:v3/Account/type": type +"/mybusiness:v3/Account/role": role +"/mybusiness:v3/Account/state": state +"/mybusiness:v3/AccountState": account_state +"/mybusiness:v3/AccountState/status": status +"/mybusiness:v3/ListAccountAdminsResponse": list_account_admins_response +"/mybusiness:v3/ListAccountAdminsResponse/admins": admins +"/mybusiness:v3/ListAccountAdminsResponse/admins/admin": admin +"/mybusiness:v3/Admin": admin +"/mybusiness:v3/Admin/name": name +"/mybusiness:v3/Admin/adminName": admin_name +"/mybusiness:v3/Admin/role": role +"/mybusiness:v3/Admin/pendingInvitation": pending_invitation +"/mybusiness:v3/Empty": empty +"/mybusiness:v3/ListLocationsResponse": list_locations_response +"/mybusiness:v3/ListLocationsResponse/locations": locations +"/mybusiness:v3/ListLocationsResponse/locations/location": location +"/mybusiness:v3/ListLocationsResponse/nextPageToken": next_page_token +"/mybusiness:v3/Location": location +"/mybusiness:v3/Location/name": name +"/mybusiness:v3/Location/storeCode": store_code +"/mybusiness:v3/Location/locationName": location_name +"/mybusiness:v3/Location/primaryPhone": primary_phone +"/mybusiness:v3/Location/additionalPhones": additional_phones +"/mybusiness:v3/Location/additionalPhones/additional_phone": additional_phone +"/mybusiness:v3/Location/address": address +"/mybusiness:v3/Location/primaryCategory": primary_category +"/mybusiness:v3/Location/additionalCategories": additional_categories +"/mybusiness:v3/Location/additionalCategories/additional_category": additional_category +"/mybusiness:v3/Location/websiteUrl": website_url +"/mybusiness:v3/Location/regularHours": regular_hours +"/mybusiness:v3/Location/specialHours": special_hours +"/mybusiness:v3/Location/serviceArea": service_area +"/mybusiness:v3/Location/locationKey": location_key +"/mybusiness:v3/Location/labels": labels +"/mybusiness:v3/Location/labels/label": label +"/mybusiness:v3/Location/adWordsLocationExtensions": ad_words_location_extensions +"/mybusiness:v3/Location/photos": photos +"/mybusiness:v3/Location/latlng": latlng +"/mybusiness:v3/Location/openInfo": open_info +"/mybusiness:v3/Location/locationState": location_state +"/mybusiness:v3/Location/attributes": attributes +"/mybusiness:v3/Location/attributes/attribute": attribute +"/mybusiness:v3/Location/metadata": metadata +"/mybusiness:v3/Address": address +"/mybusiness:v3/Address/addressLines": address_lines +"/mybusiness:v3/Address/addressLines/address_line": address_line +"/mybusiness:v3/Address/subLocality": sub_locality +"/mybusiness:v3/Address/locality": locality +"/mybusiness:v3/Address/administrativeArea": administrative_area +"/mybusiness:v3/Address/country": country +"/mybusiness:v3/Address/postalCode": postal_code +"/mybusiness:v3/Category": category +"/mybusiness:v3/Category/name": name +"/mybusiness:v3/Category/categoryId": category_id +"/mybusiness:v3/BusinessHours": business_hours +"/mybusiness:v3/BusinessHours/periods": periods +"/mybusiness:v3/BusinessHours/periods/period": period +"/mybusiness:v3/TimePeriod": time_period +"/mybusiness:v3/TimePeriod/openDay": open_day +"/mybusiness:v3/TimePeriod/openTime": open_time +"/mybusiness:v3/TimePeriod/closeDay": close_day +"/mybusiness:v3/TimePeriod/closeTime": close_time +"/mybusiness:v3/SpecialHours": special_hours +"/mybusiness:v3/SpecialHours/specialHourPeriods": special_hour_periods +"/mybusiness:v3/SpecialHours/specialHourPeriods/special_hour_period": special_hour_period +"/mybusiness:v3/SpecialHourPeriod": special_hour_period +"/mybusiness:v3/SpecialHourPeriod/startDate": start_date +"/mybusiness:v3/SpecialHourPeriod/openTime": open_time +"/mybusiness:v3/SpecialHourPeriod/endDate": end_date +"/mybusiness:v3/SpecialHourPeriod/closeTime": close_time +"/mybusiness:v3/SpecialHourPeriod/isClosed": is_closed +"/mybusiness:v3/Date": date +"/mybusiness:v3/Date/year": year +"/mybusiness:v3/Date/month": month +"/mybusiness:v3/Date/day": day +"/mybusiness:v3/ServiceAreaBusiness": service_area_business +"/mybusiness:v3/ServiceAreaBusiness/businessType": business_type +"/mybusiness:v3/ServiceAreaBusiness/radius": radius +"/mybusiness:v3/ServiceAreaBusiness/places": places +"/mybusiness:v3/PointRadius": point_radius +"/mybusiness:v3/PointRadius/latlng": latlng +"/mybusiness:v3/PointRadius/radiusKm": radius_km +"/mybusiness:v3/LatLng": lat_lng +"/mybusiness:v3/LatLng/latitude": latitude +"/mybusiness:v3/LatLng/longitude": longitude +"/mybusiness:v3/Places": places +"/mybusiness:v3/Places/placeInfos": place_infos +"/mybusiness:v3/Places/placeInfos/place_info": place_info +"/mybusiness:v3/PlaceInfo": place_info +"/mybusiness:v3/PlaceInfo/name": name +"/mybusiness:v3/PlaceInfo/placeId": place_id +"/mybusiness:v3/LocationKey": location_key +"/mybusiness:v3/LocationKey/plusPageId": plus_page_id +"/mybusiness:v3/LocationKey/placeId": place_id +"/mybusiness:v3/LocationKey/explicitNoPlaceId": explicit_no_place_id +"/mybusiness:v3/AdWordsLocationExtensions": ad_words_location_extensions +"/mybusiness:v3/AdWordsLocationExtensions/adPhone": ad_phone +"/mybusiness:v3/Photos": photos +"/mybusiness:v3/Photos/profilePhotoUrl": profile_photo_url +"/mybusiness:v3/Photos/coverPhotoUrl": cover_photo_url +"/mybusiness:v3/Photos/logoPhotoUrl": logo_photo_url +"/mybusiness:v3/Photos/exteriorPhotoUrls": exterior_photo_urls +"/mybusiness:v3/Photos/exteriorPhotoUrls/exterior_photo_url": exterior_photo_url +"/mybusiness:v3/Photos/interiorPhotoUrls": interior_photo_urls +"/mybusiness:v3/Photos/interiorPhotoUrls/interior_photo_url": interior_photo_url +"/mybusiness:v3/Photos/productPhotoUrls": product_photo_urls +"/mybusiness:v3/Photos/productPhotoUrls/product_photo_url": product_photo_url +"/mybusiness:v3/Photos/photosAtWorkUrls": photos_at_work_urls +"/mybusiness:v3/Photos/photosAtWorkUrls/photos_at_work_url": photos_at_work_url +"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls": food_and_drink_photo_urls +"/mybusiness:v3/Photos/foodAndDrinkPhotoUrls/food_and_drink_photo_url": food_and_drink_photo_url +"/mybusiness:v3/Photos/menuPhotoUrls": menu_photo_urls +"/mybusiness:v3/Photos/menuPhotoUrls/menu_photo_url": menu_photo_url +"/mybusiness:v3/Photos/commonAreasPhotoUrls": common_areas_photo_urls +"/mybusiness:v3/Photos/commonAreasPhotoUrls/common_areas_photo_url": common_areas_photo_url +"/mybusiness:v3/Photos/roomsPhotoUrls": rooms_photo_urls +"/mybusiness:v3/Photos/roomsPhotoUrls/rooms_photo_url": rooms_photo_url +"/mybusiness:v3/Photos/teamPhotoUrls": team_photo_urls +"/mybusiness:v3/Photos/teamPhotoUrls/team_photo_url": team_photo_url +"/mybusiness:v3/Photos/additionalPhotoUrls": additional_photo_urls +"/mybusiness:v3/Photos/additionalPhotoUrls/additional_photo_url": additional_photo_url +"/mybusiness:v3/Photos/preferredPhoto": preferred_photo +"/mybusiness:v3/OpenInfo": open_info +"/mybusiness:v3/OpenInfo/status": status +"/mybusiness:v3/LocationState": location_state +"/mybusiness:v3/LocationState/isGoogleUpdated": is_google_updated +"/mybusiness:v3/LocationState/isDuplicate": is_duplicate +"/mybusiness:v3/LocationState/isSuspended": is_suspended +"/mybusiness:v3/LocationState/canUpdate": can_update +"/mybusiness:v3/LocationState/canDelete": can_delete +"/mybusiness:v3/LocationState/isVerified": is_verified +"/mybusiness:v3/LocationState/needsReverification": needs_reverification +"/mybusiness:v3/Attribute": attribute +"/mybusiness:v3/Attribute/attributeId": attribute_id +"/mybusiness:v3/Attribute/valueType": value_type +"/mybusiness:v3/Attribute/values": values +"/mybusiness:v3/Attribute/values/value": value +"/mybusiness:v3/Metadata": metadata +"/mybusiness:v3/Metadata/duplicate": duplicate +"/mybusiness:v3/Duplicate": duplicate +"/mybusiness:v3/Duplicate/locationName": location_name +"/mybusiness:v3/Duplicate/ownership": ownership +"/mybusiness:v3/BatchGetLocationsRequest": batch_get_locations_request +"/mybusiness:v3/BatchGetLocationsRequest/locationNames": location_names +"/mybusiness:v3/BatchGetLocationsRequest/locationNames/location_name": location_name +"/mybusiness:v3/BatchGetLocationsResponse": batch_get_locations_response +"/mybusiness:v3/BatchGetLocationsResponse/locations": locations +"/mybusiness:v3/BatchGetLocationsResponse/locations/location": location +"/mybusiness:v3/GoogleUpdatedLocation": google_updated_location +"/mybusiness:v3/GoogleUpdatedLocation/location": location +"/mybusiness:v3/GoogleUpdatedLocation/diffMask": diff_mask +"/mybusiness:v3/ListLocationAdminsResponse": list_location_admins_response +"/mybusiness:v3/ListLocationAdminsResponse/admins": admins +"/mybusiness:v3/ListLocationAdminsResponse/admins/admin": admin +"/mybusiness:v3/FindMatchingLocationsRequest": find_matching_locations_request +"/mybusiness:v3/FindMatchingLocationsRequest/languageCode": language_code +"/mybusiness:v3/FindMatchingLocationsRequest/numResults": num_results +"/mybusiness:v3/FindMatchingLocationsRequest/maxCacheDuration": max_cache_duration +"/mybusiness:v3/FindMatchingLocationsResponse": find_matching_locations_response +"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations": matched_locations +"/mybusiness:v3/FindMatchingLocationsResponse/matchedLocations/matched_location": matched_location +"/mybusiness:v3/FindMatchingLocationsResponse/matchTime": match_time +"/mybusiness:v3/MatchedLocation": matched_location +"/mybusiness:v3/MatchedLocation/location": location +"/mybusiness:v3/MatchedLocation/isExactMatch": is_exact_match +"/mybusiness:v3/AssociateLocationRequest": associate_location_request +"/mybusiness:v3/AssociateLocationRequest/placeId": place_id +"/mybusiness:v3/ClearLocationAssociationRequest": clear_location_association_request +"/mybusiness:v3/TransferLocationRequest": transfer_location_request +"/mybusiness:v3/TransferLocationRequest/toAccount": to_account +"/mybusiness:v3/ListReviewsResponse": list_reviews_response +"/mybusiness:v3/ListReviewsResponse/reviews": reviews +"/mybusiness:v3/ListReviewsResponse/reviews/review": review +"/mybusiness:v3/ListReviewsResponse/averageRating": average_rating +"/mybusiness:v3/ListReviewsResponse/totalReviewCount": total_review_count +"/mybusiness:v3/ListReviewsResponse/nextPageToken": next_page_token +"/mybusiness:v3/Review": review +"/mybusiness:v3/Review/reviewId": review_id +"/mybusiness:v3/Review/reviewer": reviewer +"/mybusiness:v3/Review/starRating": star_rating +"/mybusiness:v3/Review/comment": comment +"/mybusiness:v3/Review/createTime": create_time +"/mybusiness:v3/Review/updateTime": update_time +"/mybusiness:v3/Review/reviewReply": review_reply +"/mybusiness:v3/Reviewer": reviewer +"/mybusiness:v3/Reviewer/displayName": display_name +"/mybusiness:v3/Reviewer/isAnonymous": is_anonymous +"/mybusiness:v3/ReviewReply": review_reply +"/mybusiness:v3/ReviewReply/comment": comment +"/mybusiness:v3/ReviewReply/updateTime": update_time +"/mybusiness:v3/ListLocationAttributeMetadataResponse": list_location_attribute_metadata_response +"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes": attributes +"/mybusiness:v3/ListLocationAttributeMetadataResponse/attributes/attribute": attribute +"/mybusiness:v3/AttributeMetadata": attribute_metadata +"/mybusiness:v3/AttributeMetadata/attributeId": attribute_id +"/mybusiness:v3/AttributeMetadata/valueType": value_type +"/mybusiness:v3/AttributeMetadata/displayName": display_name +"/mybusiness:v3/AttributeMetadata/groupDisplayName": group_display_name +"/mybusiness:v3/AttributeMetadata/isRepeatable": is_repeatable +"/mybusiness:v3/AttributeMetadata/valueMetadata": value_metadata +"/mybusiness:v3/AttributeMetadata/valueMetadata/value_metadatum": value_metadatum +"/mybusiness:v3/AttributeValueMetadata": attribute_value_metadata +"/mybusiness:v3/AttributeValueMetadata/value": value +"/mybusiness:v3/AttributeValueMetadata/displayName": display_name +"/monitoring:v3/key": key +"/monitoring:v3/quotaUser": quota_user +"/monitoring:v3/fields": fields +"/monitoring:v3/monitoring.projects.collectdTimeSeries.create": create_collectd_time_series +"/monitoring:v3/monitoring.projects.collectdTimeSeries.create/name": name +"/monitoring:v3/monitoring.projects.groups.update": update_project_group +"/monitoring:v3/monitoring.projects.groups.update/validateOnly": validate_only +"/monitoring:v3/monitoring.projects.groups.update/name": name +"/monitoring:v3/monitoring.projects.groups.get": get_project_group +"/monitoring:v3/monitoring.projects.groups.get/name": name +"/monitoring:v3/monitoring.projects.groups.create": create_project_group +"/monitoring:v3/monitoring.projects.groups.create/validateOnly": validate_only +"/monitoring:v3/monitoring.projects.groups.create/name": name +"/monitoring:v3/monitoring.projects.groups.list": list_project_groups +"/monitoring:v3/monitoring.projects.groups.list/descendantsOfGroup": descendants_of_group +"/monitoring:v3/monitoring.projects.groups.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.groups.list/childrenOfGroup": children_of_group +"/monitoring:v3/monitoring.projects.groups.list/name": name +"/monitoring:v3/monitoring.projects.groups.list/ancestorsOfGroup": ancestors_of_group +"/monitoring:v3/monitoring.projects.groups.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.groups.delete": delete_project_group +"/monitoring:v3/monitoring.projects.groups.delete/name": name +"/monitoring:v3/monitoring.projects.groups.members.list": list_project_group_members +"/monitoring:v3/monitoring.projects.groups.members.list/filter": filter +"/monitoring:v3/monitoring.projects.groups.members.list/interval.endTime": interval_end_time +"/monitoring:v3/monitoring.projects.groups.members.list/interval.startTime": interval_start_time +"/monitoring:v3/monitoring.projects.groups.members.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.groups.members.list/name": name +"/monitoring:v3/monitoring.projects.groups.members.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.metricDescriptors.get": get_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.get/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.create": create_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.create/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list": list_project_metric_descriptors +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.metricDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.metricDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.metricDescriptors.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.metricDescriptors.delete": delete_project_metric_descriptor +"/monitoring:v3/monitoring.projects.metricDescriptors.delete/name": name +"/monitoring:v3/monitoring.projects.timeSeries.create": create_time_series +"/monitoring:v3/monitoring.projects.timeSeries.create/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list": list_project_time_series +"/monitoring:v3/monitoring.projects.timeSeries.list/filter": filter +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.groupByFields": aggregation_group_by_fields +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.crossSeriesReducer": aggregation_cross_series_reducer +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.endTime": interval_end_time +"/monitoring:v3/monitoring.projects.timeSeries.list/interval.startTime": interval_start_time +"/monitoring:v3/monitoring.projects.timeSeries.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.timeSeries.list/view": view +"/monitoring:v3/monitoring.projects.timeSeries.list/name": name +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.alignmentPeriod": aggregation_alignment_period +"/monitoring:v3/monitoring.projects.timeSeries.list/aggregation.perSeriesAligner": aggregation_per_series_aligner +"/monitoring:v3/monitoring.projects.timeSeries.list/orderBy": order_by +"/monitoring:v3/monitoring.projects.timeSeries.list/pageToken": page_token +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get": get_project_monitored_resource_descriptor +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.get/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list": list_project_monitored_resource_descriptors +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageSize": page_size +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/filter": filter +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/name": name +"/monitoring:v3/monitoring.projects.monitoredResourceDescriptors.list/pageToken": page_token +"/monitoring:v3/Metric": metric +"/monitoring:v3/Metric/labels": labels +"/monitoring:v3/Metric/labels/label": label +"/monitoring:v3/Metric/type": type +"/monitoring:v3/ListGroupMembersResponse": list_group_members_response +"/monitoring:v3/ListGroupMembersResponse/members": members +"/monitoring:v3/ListGroupMembersResponse/members/member": member +"/monitoring:v3/ListGroupMembersResponse/nextPageToken": next_page_token +"/monitoring:v3/ListGroupMembersResponse/totalSize": total_size +"/monitoring:v3/TimeInterval": time_interval +"/monitoring:v3/TimeInterval/endTime": end_time +"/monitoring:v3/TimeInterval/startTime": start_time +"/monitoring:v3/Group": group +"/monitoring:v3/Group/displayName": display_name +"/monitoring:v3/Group/parentName": parent_name +"/monitoring:v3/Group/isCluster": is_cluster +"/monitoring:v3/Group/filter": filter +"/monitoring:v3/Group/name": name +"/monitoring:v3/ListTimeSeriesResponse": list_time_series_response +"/monitoring:v3/ListTimeSeriesResponse/timeSeries": time_series +"/monitoring:v3/ListTimeSeriesResponse/timeSeries/time_series": time_series +"/monitoring:v3/ListTimeSeriesResponse/nextPageToken": next_page_token +"/monitoring:v3/Point": point +"/monitoring:v3/Point/value": value +"/monitoring:v3/Point/interval": interval +"/monitoring:v3/CollectdValue": collectd_value +"/monitoring:v3/CollectdValue/value": value +"/monitoring:v3/CollectdValue/dataSourceName": data_source_name +"/monitoring:v3/CollectdValue/dataSourceType": data_source_type +"/monitoring:v3/TimeSeries": time_series +"/monitoring:v3/TimeSeries/metric": metric +"/monitoring:v3/TimeSeries/points": points +"/monitoring:v3/TimeSeries/points/point": point +"/monitoring:v3/TimeSeries/valueType": value_type +"/monitoring:v3/TimeSeries/resource": resource +"/monitoring:v3/TimeSeries/metricKind": metric_kind +"/monitoring:v3/MetricDescriptor": metric_descriptor +"/monitoring:v3/MetricDescriptor/description": description +"/monitoring:v3/MetricDescriptor/unit": unit +"/monitoring:v3/MetricDescriptor/labels": labels +"/monitoring:v3/MetricDescriptor/labels/label": label +"/monitoring:v3/MetricDescriptor/metricKind": metric_kind +"/monitoring:v3/MetricDescriptor/valueType": value_type +"/monitoring:v3/MetricDescriptor/displayName": display_name +"/monitoring:v3/MetricDescriptor/name": name +"/monitoring:v3/MetricDescriptor/type": type +"/monitoring:v3/Exponential": exponential +"/monitoring:v3/Exponential/growthFactor": growth_factor +"/monitoring:v3/Exponential/scale": scale +"/monitoring:v3/Exponential/numFiniteBuckets": num_finite_buckets +"/monitoring:v3/Explicit": explicit +"/monitoring:v3/Explicit/bounds": bounds +"/monitoring:v3/Explicit/bounds/bound": bound +"/monitoring:v3/Linear": linear +"/monitoring:v3/Linear/width": width +"/monitoring:v3/Linear/offset": offset +"/monitoring:v3/Linear/numFiniteBuckets": num_finite_buckets +"/monitoring:v3/CollectdPayload": collectd_payload +"/monitoring:v3/CollectdPayload/endTime": end_time +"/monitoring:v3/CollectdPayload/metadata": metadata +"/monitoring:v3/CollectdPayload/metadata/metadatum": metadatum +"/monitoring:v3/CollectdPayload/values": values +"/monitoring:v3/CollectdPayload/values/value": value +"/monitoring:v3/CollectdPayload/pluginInstance": plugin_instance +"/monitoring:v3/CollectdPayload/startTime": start_time +"/monitoring:v3/CollectdPayload/typeInstance": type_instance +"/monitoring:v3/CollectdPayload/type": type +"/monitoring:v3/CollectdPayload/plugin": plugin +"/monitoring:v3/ListMetricDescriptorsResponse": list_metric_descriptors_response +"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors": metric_descriptors +"/monitoring:v3/ListMetricDescriptorsResponse/metricDescriptors/metric_descriptor": metric_descriptor +"/monitoring:v3/ListMetricDescriptorsResponse/nextPageToken": next_page_token +"/monitoring:v3/Distribution": distribution +"/monitoring:v3/Distribution/bucketCounts": bucket_counts +"/monitoring:v3/Distribution/bucketCounts/bucket_count": bucket_count +"/monitoring:v3/Distribution/bucketOptions": bucket_options +"/monitoring:v3/Distribution/count": count +"/monitoring:v3/Distribution/sumOfSquaredDeviation": sum_of_squared_deviation +"/monitoring:v3/Distribution/mean": mean +"/monitoring:v3/Distribution/range": range +"/monitoring:v3/MonitoredResource": monitored_resource +"/monitoring:v3/MonitoredResource/labels": labels +"/monitoring:v3/MonitoredResource/labels/label": label +"/monitoring:v3/MonitoredResource/type": type +"/monitoring:v3/LabelDescriptor": label_descriptor +"/monitoring:v3/LabelDescriptor/description": description +"/monitoring:v3/LabelDescriptor/valueType": value_type +"/monitoring:v3/LabelDescriptor/key": key +"/monitoring:v3/MonitoredResourceDescriptor": monitored_resource_descriptor +"/monitoring:v3/MonitoredResourceDescriptor/displayName": display_name +"/monitoring:v3/MonitoredResourceDescriptor/description": description +"/monitoring:v3/MonitoredResourceDescriptor/labels": labels +"/monitoring:v3/MonitoredResourceDescriptor/labels/label": label +"/monitoring:v3/MonitoredResourceDescriptor/type": type +"/monitoring:v3/MonitoredResourceDescriptor/name": name +"/monitoring:v3/TypedValue": typed_value +"/monitoring:v3/TypedValue/boolValue": bool_value +"/monitoring:v3/TypedValue/stringValue": string_value +"/monitoring:v3/TypedValue/int64Value": int64_value +"/monitoring:v3/TypedValue/doubleValue": double_value +"/monitoring:v3/TypedValue/distributionValue": distribution_value +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/monitoring:v3/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/monitoring:v3/Field": field +"/monitoring:v3/Field/defaultValue": default_value +"/monitoring:v3/Field/jsonName": json_name +"/monitoring:v3/Field/options": options +"/monitoring:v3/Field/options/option": option +"/monitoring:v3/Field/oneofIndex": oneof_index +"/monitoring:v3/Field/cardinality": cardinality +"/monitoring:v3/Field/typeUrl": type_url +"/monitoring:v3/Field/name": name +"/monitoring:v3/Field/packed": packed +"/monitoring:v3/Field/number": number +"/monitoring:v3/Field/kind": kind +"/monitoring:v3/Option": option +"/monitoring:v3/Option/value": value +"/monitoring:v3/Option/value/value": value +"/monitoring:v3/Option/name": name +"/monitoring:v3/Empty": empty +"/monitoring:v3/SourceContext": source_context +"/monitoring:v3/SourceContext/fileName": file_name +"/monitoring:v3/Range": range +"/monitoring:v3/Range/max": max +"/monitoring:v3/Range/min": min +"/monitoring:v3/CreateTimeSeriesRequest": create_time_series_request +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries": time_series +"/monitoring:v3/CreateTimeSeriesRequest/timeSeries/time_series": time_series +"/monitoring:v3/BucketOptions": bucket_options +"/monitoring:v3/BucketOptions/explicitBuckets": explicit_buckets +"/monitoring:v3/BucketOptions/exponentialBuckets": exponential_buckets +"/monitoring:v3/BucketOptions/linearBuckets": linear_buckets +"/monitoring:v3/CreateCollectdTimeSeriesRequest": create_collectd_time_series_request +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads": collectd_payloads +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdPayloads/collectd_payload": collectd_payload +"/monitoring:v3/CreateCollectdTimeSeriesRequest/collectdVersion": collectd_version +"/monitoring:v3/CreateCollectdTimeSeriesRequest/resource": resource +"/monitoring:v3/Type": type +"/monitoring:v3/Type/oneofs": oneofs +"/monitoring:v3/Type/oneofs/oneof": oneof +"/monitoring:v3/Type/options": options +"/monitoring:v3/Type/options/option": option +"/monitoring:v3/Type/sourceContext": source_context +"/monitoring:v3/Type/fields": fields +"/monitoring:v3/Type/fields/field": field +"/monitoring:v3/Type/name": name +"/monitoring:v3/Type/syntax": syntax +"/monitoring:v3/ListGroupsResponse": list_groups_response +"/monitoring:v3/ListGroupsResponse/group": group +"/monitoring:v3/ListGroupsResponse/group/group": group +"/monitoring:v3/ListGroupsResponse/nextPageToken": next_page_token +"/adexchangebuyer:v1.4/fields": fields +"/adexchangebuyer:v1.4/key": key +"/adexchangebuyer:v1.4/quotaUser": quota_user +"/adexchangebuyer:v1.4/userIp": user_ip +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get": get_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.get/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.list": list_accounts +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch": patch_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/confirmUnsafeAccountChange": confirm_unsafe_account_change +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update": update_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/confirmUnsafeAccountChange": confirm_unsafe_account_change +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/id": id +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get": get_billing_info +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.list": list_billing_infos +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get": get_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.get/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch": patch_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.patch/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update": update_budget +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.budget.update/billingId": billing_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal": add_creative_deal +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.addDeal/dealId": deal_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get": get_creative +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.get/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.insert": insert_creative +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list": list_creatives +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/dealsStatusFilter": deals_status_filter +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/maxResults": max_results +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/openAuctionStatusFilter": open_auction_status_filter +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals": list_creative_deals +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal": remove_creative_deal +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/dealId": deal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete": delete_marketplacedeal_order_deals +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.delete/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert": insert_marketplacedeal +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.insert/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list": list_marketplacedeals +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.list/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update": update_marketplacedeal +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacedeals.update/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert": insert_marketplacenote +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.insert/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list": list_marketplacenotes +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.marketplacenotes.list/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.marketplaceprivateauction.updateproposal/privateAuctionId": private_auction_id +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list": list_performance_reports +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/endDateTime": end_date_time +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/maxResults": max_results +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.performanceReport.list/startDateTime": start_date_time +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete": delete_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.delete/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get": get_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.get/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert": insert_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.insert/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list": list_pretargeting_configs +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.list/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch": patch_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.patch/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update": update_pretargeting_config +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.pretargetingConfig.update/configId": config_id +"/adexchangebuyer:v1.4/adexchangebuyer.products.get": get_product +"/adexchangebuyer:v1.4/adexchangebuyer.products.get/productId": product_id +"/adexchangebuyer:v1.4/adexchangebuyer.products.search": search_products +"/adexchangebuyer:v1.4/adexchangebuyer.products.search/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get": get_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.get/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.insert": insert_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch": patch_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/revisionNumber": revision_number +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.patch/updateAction": update_action +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.search": search_proposals +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.search/pqlQuery": pql_query +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.setupcomplete/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.update": update_proposal +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/proposalId": proposal_id +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/revisionNumber": revision_number +"/adexchangebuyer:v1.4/adexchangebuyer.proposals.update/updateAction": update_action +"/adexchangebuyer:v1.4/adexchangebuyer.pubprofiles.list/accountId": account_id +"/adexchangebuyer:v1.4/Account": account +"/adexchangebuyer:v1.4/Account/bidderLocation": bidder_location +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location": bidder_location +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/bidProtocol": bid_protocol +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/maximumQps": maximum_qps +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/region": region +"/adexchangebuyer:v1.4/Account/bidderLocation/bidder_location/url": url +"/adexchangebuyer:v1.4/Account/cookieMatchingNid": cookie_matching_nid +"/adexchangebuyer:v1.4/Account/cookieMatchingUrl": cookie_matching_url +"/adexchangebuyer:v1.4/Account/id": id +"/adexchangebuyer:v1.4/Account/kind": kind +"/adexchangebuyer:v1.4/Account/maximumActiveCreatives": maximum_active_creatives +"/adexchangebuyer:v1.4/Account/maximumTotalQps": maximum_total_qps +"/adexchangebuyer:v1.4/Account/numberActiveCreatives": number_active_creatives +"/adexchangebuyer:v1.4/AccountsList": accounts_list +"/adexchangebuyer:v1.4/AccountsList/items": items +"/adexchangebuyer:v1.4/AccountsList/items/item": item +"/adexchangebuyer:v1.4/AccountsList/kind": kind +"/adexchangebuyer:v1.4/AddOrderDealsRequest": add_order_deals_request +"/adexchangebuyer:v1.4/AddOrderDealsRequest/deals": deals +"/adexchangebuyer:v1.4/AddOrderDealsRequest/deals/deal": deal +"/adexchangebuyer:v1.4/AddOrderDealsRequest/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/AddOrderDealsRequest/updateAction": update_action +"/adexchangebuyer:v1.4/AddOrderDealsResponse": add_order_deals_response +"/adexchangebuyer:v1.4/AddOrderDealsResponse/deals": deals +"/adexchangebuyer:v1.4/AddOrderDealsResponse/deals/deal": deal +"/adexchangebuyer:v1.4/AddOrderDealsResponse/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/AddOrderNotesRequest": add_order_notes_request +"/adexchangebuyer:v1.4/AddOrderNotesRequest/notes": notes +"/adexchangebuyer:v1.4/AddOrderNotesRequest/notes/note": note +"/adexchangebuyer:v1.4/AddOrderNotesResponse": add_order_notes_response +"/adexchangebuyer:v1.4/AddOrderNotesResponse/notes": notes +"/adexchangebuyer:v1.4/AddOrderNotesResponse/notes/note": note +"/adexchangebuyer:v1.4/BillingInfo": billing_info +"/adexchangebuyer:v1.4/BillingInfo/accountId": account_id +"/adexchangebuyer:v1.4/BillingInfo/accountName": account_name +"/adexchangebuyer:v1.4/BillingInfo/billingId": billing_id +"/adexchangebuyer:v1.4/BillingInfo/billingId/billing_id": billing_id +"/adexchangebuyer:v1.4/BillingInfo/kind": kind +"/adexchangebuyer:v1.4/BillingInfoList": billing_info_list +"/adexchangebuyer:v1.4/BillingInfoList/items": items +"/adexchangebuyer:v1.4/BillingInfoList/items/item": item +"/adexchangebuyer:v1.4/BillingInfoList/kind": kind +"/adexchangebuyer:v1.4/Budget": budget +"/adexchangebuyer:v1.4/Budget/accountId": account_id +"/adexchangebuyer:v1.4/Budget/billingId": billing_id +"/adexchangebuyer:v1.4/Budget/budgetAmount": budget_amount +"/adexchangebuyer:v1.4/Budget/currencyCode": currency_code +"/adexchangebuyer:v1.4/Budget/id": id +"/adexchangebuyer:v1.4/Budget/kind": kind +"/adexchangebuyer:v1.4/Buyer": buyer +"/adexchangebuyer:v1.4/Buyer/accountId": account_id +"/adexchangebuyer:v1.4/ContactInformation": contact_information +"/adexchangebuyer:v1.4/ContactInformation/email": email +"/adexchangebuyer:v1.4/ContactInformation/name": name +"/adexchangebuyer:v1.4/CreateOrdersRequest": create_orders_request +"/adexchangebuyer:v1.4/CreateOrdersRequest/proposals": proposals +"/adexchangebuyer:v1.4/CreateOrdersRequest/proposals/proposal": proposal +"/adexchangebuyer:v1.4/CreateOrdersRequest/webPropertyCode": web_property_code +"/adexchangebuyer:v1.4/CreateOrdersResponse": create_orders_response +"/adexchangebuyer:v1.4/CreateOrdersResponse/proposals": proposals +"/adexchangebuyer:v1.4/CreateOrdersResponse/proposals/proposal": proposal +"/adexchangebuyer:v1.4/Creative": creative +"/adexchangebuyer:v1.4/Creative/HTMLSnippet": html_snippet +"/adexchangebuyer:v1.4/Creative/accountId": account_id +"/adexchangebuyer:v1.4/Creative/adChoicesDestinationUrl": ad_choices_destination_url +"/adexchangebuyer:v1.4/Creative/advertiserId": advertiser_id +"/adexchangebuyer:v1.4/Creative/advertiserId/advertiser_id": advertiser_id +"/adexchangebuyer:v1.4/Creative/advertiserName": advertiser_name +"/adexchangebuyer:v1.4/Creative/agencyId": agency_id +"/adexchangebuyer:v1.4/Creative/apiUploadTimestamp": api_upload_timestamp +"/adexchangebuyer:v1.4/Creative/attribute": attribute +"/adexchangebuyer:v1.4/Creative/attribute/attribute": attribute +"/adexchangebuyer:v1.4/Creative/buyerCreativeId": buyer_creative_id +"/adexchangebuyer:v1.4/Creative/clickThroughUrl": click_through_url +"/adexchangebuyer:v1.4/Creative/clickThroughUrl/click_through_url": click_through_url +"/adexchangebuyer:v1.4/Creative/corrections": corrections +"/adexchangebuyer:v1.4/Creative/corrections/correction": correction +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts": contexts +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context": context +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/auctionType": auction_type +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/auctionType/auction_type": auction_type +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/contextType": context_type +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/geoCriteriaId": geo_criteria_id +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/geoCriteriaId/geo_criteria_id": geo_criteria_id +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/platform": platform +"/adexchangebuyer:v1.4/Creative/corrections/correction/contexts/context/platform/platform": platform +"/adexchangebuyer:v1.4/Creative/corrections/correction/details": details +"/adexchangebuyer:v1.4/Creative/corrections/correction/details/detail": detail +"/adexchangebuyer:v1.4/Creative/corrections/correction/reason": reason +"/adexchangebuyer:v1.4/Creative/dealsStatus": deals_status +"/adexchangebuyer:v1.4/Creative/detectedDomains": detected_domains +"/adexchangebuyer:v1.4/Creative/detectedDomains/detected_domain": detected_domain +"/adexchangebuyer:v1.4/Creative/filteringReasons": filtering_reasons +"/adexchangebuyer:v1.4/Creative/filteringReasons/date": date +"/adexchangebuyer:v1.4/Creative/filteringReasons/reasons": reasons +"/adexchangebuyer:v1.4/Creative/filteringReasons/reasons/reason": reason +"/adexchangebuyer:v1.4/Creative/filteringReasons/reasons/reason/filteringCount": filtering_count +"/adexchangebuyer:v1.4/Creative/filteringReasons/reasons/reason/filteringStatus": filtering_status +"/adexchangebuyer:v1.4/Creative/height": height +"/adexchangebuyer:v1.4/Creative/impressionTrackingUrl": impression_tracking_url +"/adexchangebuyer:v1.4/Creative/impressionTrackingUrl/impression_tracking_url": impression_tracking_url +"/adexchangebuyer:v1.4/Creative/kind": kind +"/adexchangebuyer:v1.4/Creative/languages": languages +"/adexchangebuyer:v1.4/Creative/languages/language": language +"/adexchangebuyer:v1.4/Creative/nativeAd": native_ad +"/adexchangebuyer:v1.4/Creative/nativeAd/advertiser": advertiser +"/adexchangebuyer:v1.4/Creative/nativeAd/appIcon": app_icon +"/adexchangebuyer:v1.4/Creative/nativeAd/appIcon/height": height +"/adexchangebuyer:v1.4/Creative/nativeAd/appIcon/url": url +"/adexchangebuyer:v1.4/Creative/nativeAd/appIcon/width": width +"/adexchangebuyer:v1.4/Creative/nativeAd/body": body +"/adexchangebuyer:v1.4/Creative/nativeAd/callToAction": call_to_action +"/adexchangebuyer:v1.4/Creative/nativeAd/clickLinkUrl": click_link_url +"/adexchangebuyer:v1.4/Creative/nativeAd/clickTrackingUrl": click_tracking_url +"/adexchangebuyer:v1.4/Creative/nativeAd/headline": headline +"/adexchangebuyer:v1.4/Creative/nativeAd/image": image +"/adexchangebuyer:v1.4/Creative/nativeAd/image/height": height +"/adexchangebuyer:v1.4/Creative/nativeAd/image/url": url +"/adexchangebuyer:v1.4/Creative/nativeAd/image/width": width +"/adexchangebuyer:v1.4/Creative/nativeAd/impressionTrackingUrl": impression_tracking_url +"/adexchangebuyer:v1.4/Creative/nativeAd/impressionTrackingUrl/impression_tracking_url": impression_tracking_url +"/adexchangebuyer:v1.4/Creative/nativeAd/logo": logo +"/adexchangebuyer:v1.4/Creative/nativeAd/logo/height": height +"/adexchangebuyer:v1.4/Creative/nativeAd/logo/url": url +"/adexchangebuyer:v1.4/Creative/nativeAd/logo/width": width +"/adexchangebuyer:v1.4/Creative/nativeAd/price": price +"/adexchangebuyer:v1.4/Creative/nativeAd/starRating": star_rating +"/adexchangebuyer:v1.4/Creative/nativeAd/store": store +"/adexchangebuyer:v1.4/Creative/nativeAd/videoURL": video_url +"/adexchangebuyer:v1.4/Creative/openAuctionStatus": open_auction_status +"/adexchangebuyer:v1.4/Creative/productCategories": product_categories +"/adexchangebuyer:v1.4/Creative/productCategories/product_category": product_category +"/adexchangebuyer:v1.4/Creative/restrictedCategories": restricted_categories +"/adexchangebuyer:v1.4/Creative/restrictedCategories/restricted_category": restricted_category +"/adexchangebuyer:v1.4/Creative/sensitiveCategories": sensitive_categories +"/adexchangebuyer:v1.4/Creative/sensitiveCategories/sensitive_category": sensitive_category +"/adexchangebuyer:v1.4/Creative/servingRestrictions": serving_restrictions +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction": serving_restriction +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts": contexts +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context": context +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/auctionType": auction_type +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/auctionType/auction_type": auction_type +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/contextType": context_type +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/geoCriteriaId": geo_criteria_id +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/geoCriteriaId/geo_criteria_id": geo_criteria_id +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/platform": platform +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/contexts/context/platform/platform": platform +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/disapprovalReasons": disapproval_reasons +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/disapprovalReasons/disapproval_reason": disapproval_reason +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/disapprovalReasons/disapproval_reason/details": details +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/disapprovalReasons/disapproval_reason/details/detail": detail +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/disapprovalReasons/disapproval_reason/reason": reason +"/adexchangebuyer:v1.4/Creative/servingRestrictions/serving_restriction/reason": reason +"/adexchangebuyer:v1.4/Creative/vendorType": vendor_type +"/adexchangebuyer:v1.4/Creative/vendorType/vendor_type": vendor_type +"/adexchangebuyer:v1.4/Creative/version": version +"/adexchangebuyer:v1.4/Creative/videoURL": video_url +"/adexchangebuyer:v1.4/Creative/width": width +"/adexchangebuyer:v1.4/CreativeDealIds": creative_deal_ids +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses": deal_statuses +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status": deal_status +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/arcStatus": arc_status +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/dealId": deal_id +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/webPropertyId": web_property_id +"/adexchangebuyer:v1.4/CreativeDealIds/kind": kind +"/adexchangebuyer:v1.4/CreativesList": creatives_list +"/adexchangebuyer:v1.4/CreativesList/items": items +"/adexchangebuyer:v1.4/CreativesList/items/item": item +"/adexchangebuyer:v1.4/CreativesList/kind": kind +"/adexchangebuyer:v1.4/CreativesList/nextPageToken": next_page_token +"/adexchangebuyer:v1.4/DealServingMetadata": deal_serving_metadata +"/adexchangebuyer:v1.4/DealServingMetadata/dealPauseStatus": deal_pause_status +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus": deal_serving_metadata_deal_pause_status +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/buyerPauseReason": buyer_pause_reason +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/firstPausedBy": first_paused_by +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/hasBuyerPaused": has_buyer_paused +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/hasSellerPaused": has_seller_paused +"/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/sellerPauseReason": seller_pause_reason +"/adexchangebuyer:v1.4/DealTerms": deal_terms +"/adexchangebuyer:v1.4/DealTerms/brandingType": branding_type +"/adexchangebuyer:v1.4/DealTerms/crossListedExternalDealIdType": cross_listed_external_deal_id_type +"/adexchangebuyer:v1.4/DealTerms/description": description +"/adexchangebuyer:v1.4/DealTerms/estimatedGrossSpend": estimated_gross_spend +"/adexchangebuyer:v1.4/DealTerms/estimatedImpressionsPerDay": estimated_impressions_per_day +"/adexchangebuyer:v1.4/DealTerms/guaranteedFixedPriceTerms": guaranteed_fixed_price_terms +"/adexchangebuyer:v1.4/DealTerms/nonGuaranteedAuctionTerms": non_guaranteed_auction_terms +"/adexchangebuyer:v1.4/DealTerms/nonGuaranteedFixedPriceTerms": non_guaranteed_fixed_price_terms +"/adexchangebuyer:v1.4/DealTerms/rubiconNonGuaranteedTerms": rubicon_non_guaranteed_terms +"/adexchangebuyer:v1.4/DealTerms/sellerTimeZone": seller_time_zone +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms": deal_terms_guaranteed_fixed_price_terms +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/billingInfo": billing_info +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/fixedPrices": fixed_prices +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/fixedPrices/fixed_price": fixed_price +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/guaranteedImpressions": guaranteed_impressions +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/guaranteedLooks": guaranteed_looks +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTerms/minimumDailyLooks": minimum_daily_looks +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTermsBillingInfo": deal_terms_guaranteed_fixed_price_terms_billing_info +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTermsBillingInfo/currencyConversionTimeMs": currency_conversion_time_ms +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTermsBillingInfo/dfpLineItemId": dfp_line_item_id +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTermsBillingInfo/originalContractedQuantity": original_contracted_quantity +"/adexchangebuyer:v1.4/DealTermsGuaranteedFixedPriceTermsBillingInfo/price": price +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms": deal_terms_non_guaranteed_auction_terms +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/autoOptimizePrivateAuction": auto_optimize_private_auction +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/reservePricePerBuyers": reserve_price_per_buyers +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedAuctionTerms/reservePricePerBuyers/reserve_price_per_buyer": reserve_price_per_buyer +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedFixedPriceTerms": deal_terms_non_guaranteed_fixed_price_terms +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedFixedPriceTerms/fixedPrices": fixed_prices +"/adexchangebuyer:v1.4/DealTermsNonGuaranteedFixedPriceTerms/fixedPrices/fixed_price": fixed_price +"/adexchangebuyer:v1.4/DealTermsRubiconNonGuaranteedTerms": deal_terms_rubicon_non_guaranteed_terms +"/adexchangebuyer:v1.4/DealTermsRubiconNonGuaranteedTerms/priorityPrice": priority_price +"/adexchangebuyer:v1.4/DealTermsRubiconNonGuaranteedTerms/standardPrice": standard_price +"/adexchangebuyer:v1.4/DeleteOrderDealsRequest": delete_order_deals_request +"/adexchangebuyer:v1.4/DeleteOrderDealsRequest/dealIds": deal_ids +"/adexchangebuyer:v1.4/DeleteOrderDealsRequest/dealIds/deal_id": deal_id +"/adexchangebuyer:v1.4/DeleteOrderDealsRequest/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/DeleteOrderDealsRequest/updateAction": update_action +"/adexchangebuyer:v1.4/DeleteOrderDealsResponse": delete_order_deals_response +"/adexchangebuyer:v1.4/DeleteOrderDealsResponse/deals": deals +"/adexchangebuyer:v1.4/DeleteOrderDealsResponse/deals/deal": deal +"/adexchangebuyer:v1.4/DeleteOrderDealsResponse/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/DeliveryControl": delivery_control +"/adexchangebuyer:v1.4/DeliveryControl/creativeBlockingLevel": creative_blocking_level +"/adexchangebuyer:v1.4/DeliveryControl/deliveryRateType": delivery_rate_type +"/adexchangebuyer:v1.4/DeliveryControl/frequencyCaps": frequency_caps +"/adexchangebuyer:v1.4/DeliveryControl/frequencyCaps/frequency_cap": frequency_cap +"/adexchangebuyer:v1.4/DeliveryControlFrequencyCap": delivery_control_frequency_cap +"/adexchangebuyer:v1.4/DeliveryControlFrequencyCap/maxImpressions": max_impressions +"/adexchangebuyer:v1.4/DeliveryControlFrequencyCap/numTimeUnits": num_time_units +"/adexchangebuyer:v1.4/DeliveryControlFrequencyCap/timeUnitType": time_unit_type +"/adexchangebuyer:v1.4/Dimension": dimension +"/adexchangebuyer:v1.4/Dimension/dimensionType": dimension_type +"/adexchangebuyer:v1.4/Dimension/dimensionValues": dimension_values +"/adexchangebuyer:v1.4/Dimension/dimensionValues/dimension_value": dimension_value +"/adexchangebuyer:v1.4/DimensionDimensionValue": dimension_dimension_value +"/adexchangebuyer:v1.4/DimensionDimensionValue/id": id +"/adexchangebuyer:v1.4/DimensionDimensionValue/name": name +"/adexchangebuyer:v1.4/DimensionDimensionValue/percentage": percentage +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest": edit_all_order_deals_request +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest/deals": deals +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest/deals/deal": deal +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest/proposal": proposal +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/EditAllOrderDealsRequest/updateAction": update_action +"/adexchangebuyer:v1.4/EditAllOrderDealsResponse": edit_all_order_deals_response +"/adexchangebuyer:v1.4/EditAllOrderDealsResponse/deals": deals +"/adexchangebuyer:v1.4/EditAllOrderDealsResponse/deals/deal": deal +"/adexchangebuyer:v1.4/EditAllOrderDealsResponse/orderRevisionNumber": order_revision_number +"/adexchangebuyer:v1.4/GetOffersResponse": get_offers_response +"/adexchangebuyer:v1.4/GetOffersResponse/products": products +"/adexchangebuyer:v1.4/GetOffersResponse/products/product": product +"/adexchangebuyer:v1.4/GetOrderDealsResponse": get_order_deals_response +"/adexchangebuyer:v1.4/GetOrderDealsResponse/deals": deals +"/adexchangebuyer:v1.4/GetOrderDealsResponse/deals/deal": deal +"/adexchangebuyer:v1.4/GetOrderNotesResponse": get_order_notes_response +"/adexchangebuyer:v1.4/GetOrderNotesResponse/notes": notes +"/adexchangebuyer:v1.4/GetOrderNotesResponse/notes/note": note +"/adexchangebuyer:v1.4/GetOrdersResponse": get_orders_response +"/adexchangebuyer:v1.4/GetOrdersResponse/proposals": proposals +"/adexchangebuyer:v1.4/GetOrdersResponse/proposals/proposal": proposal +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse": get_publisher_profiles_by_account_id_response +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse/profiles": profiles +"/adexchangebuyer:v1.4/GetPublisherProfilesByAccountIdResponse/profiles/profile": profile +"/adexchangebuyer:v1.4/MarketplaceDeal": marketplace_deal +"/adexchangebuyer:v1.4/MarketplaceDeal/buyerPrivateData": buyer_private_data +"/adexchangebuyer:v1.4/MarketplaceDeal/creationTimeMs": creation_time_ms +"/adexchangebuyer:v1.4/MarketplaceDeal/creativePreApprovalPolicy": creative_pre_approval_policy +"/adexchangebuyer:v1.4/MarketplaceDeal/creativeSafeFrameCompatibility": creative_safe_frame_compatibility +"/adexchangebuyer:v1.4/MarketplaceDeal/dealId": deal_id +"/adexchangebuyer:v1.4/MarketplaceDeal/dealServingMetadata": deal_serving_metadata +"/adexchangebuyer:v1.4/MarketplaceDeal/deliveryControl": delivery_control +"/adexchangebuyer:v1.4/MarketplaceDeal/externalDealId": external_deal_id +"/adexchangebuyer:v1.4/MarketplaceDeal/flightEndTimeMs": flight_end_time_ms +"/adexchangebuyer:v1.4/MarketplaceDeal/flightStartTimeMs": flight_start_time_ms +"/adexchangebuyer:v1.4/MarketplaceDeal/inventoryDescription": inventory_description +"/adexchangebuyer:v1.4/MarketplaceDeal/isRfpTemplate": is_rfp_template +"/adexchangebuyer:v1.4/MarketplaceDeal/kind": kind +"/adexchangebuyer:v1.4/MarketplaceDeal/lastUpdateTimeMs": last_update_time_ms +"/adexchangebuyer:v1.4/MarketplaceDeal/name": name +"/adexchangebuyer:v1.4/MarketplaceDeal/productId": product_id +"/adexchangebuyer:v1.4/MarketplaceDeal/productRevisionNumber": product_revision_number +"/adexchangebuyer:v1.4/MarketplaceDeal/programmaticCreativeSource": programmatic_creative_source +"/adexchangebuyer:v1.4/MarketplaceDeal/proposalId": proposal_id +"/adexchangebuyer:v1.4/MarketplaceDeal/sellerContacts": seller_contacts +"/adexchangebuyer:v1.4/MarketplaceDeal/sellerContacts/seller_contact": seller_contact +"/adexchangebuyer:v1.4/MarketplaceDeal/sharedTargetings": shared_targetings +"/adexchangebuyer:v1.4/MarketplaceDeal/sharedTargetings/shared_targeting": shared_targeting +"/adexchangebuyer:v1.4/MarketplaceDeal/syndicationProduct": syndication_product +"/adexchangebuyer:v1.4/MarketplaceDeal/terms": terms +"/adexchangebuyer:v1.4/MarketplaceDeal/webPropertyCode": web_property_code +"/adexchangebuyer:v1.4/MarketplaceDealParty": marketplace_deal_party +"/adexchangebuyer:v1.4/MarketplaceDealParty/buyer": buyer +"/adexchangebuyer:v1.4/MarketplaceDealParty/seller": seller +"/adexchangebuyer:v1.4/MarketplaceLabel": marketplace_label +"/adexchangebuyer:v1.4/MarketplaceLabel/accountId": account_id +"/adexchangebuyer:v1.4/MarketplaceLabel/createTimeMs": create_time_ms +"/adexchangebuyer:v1.4/MarketplaceLabel/deprecatedMarketplaceDealParty": deprecated_marketplace_deal_party +"/adexchangebuyer:v1.4/MarketplaceLabel/label": label +"/adexchangebuyer:v1.4/MarketplaceNote": marketplace_note +"/adexchangebuyer:v1.4/MarketplaceNote/creatorRole": creator_role +"/adexchangebuyer:v1.4/MarketplaceNote/dealId": deal_id +"/adexchangebuyer:v1.4/MarketplaceNote/kind": kind +"/adexchangebuyer:v1.4/MarketplaceNote/note": note +"/adexchangebuyer:v1.4/MarketplaceNote/noteId": note_id +"/adexchangebuyer:v1.4/MarketplaceNote/proposalId": proposal_id +"/adexchangebuyer:v1.4/MarketplaceNote/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/MarketplaceNote/timestampMs": timestamp_ms +"/adexchangebuyer:v1.4/PerformanceReport": performance_report +"/adexchangebuyer:v1.4/PerformanceReport/bidRate": bid_rate +"/adexchangebuyer:v1.4/PerformanceReport/bidRequestRate": bid_request_rate +"/adexchangebuyer:v1.4/PerformanceReport/calloutStatusRate": callout_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/calloutStatusRate/callout_status_rate": callout_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/cookieMatcherStatusRate": cookie_matcher_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/cookieMatcherStatusRate/cookie_matcher_status_rate": cookie_matcher_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/creativeStatusRate": creative_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/creativeStatusRate/creative_status_rate": creative_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/filteredBidRate": filtered_bid_rate +"/adexchangebuyer:v1.4/PerformanceReport/hostedMatchStatusRate": hosted_match_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/hostedMatchStatusRate/hosted_match_status_rate": hosted_match_status_rate +"/adexchangebuyer:v1.4/PerformanceReport/inventoryMatchRate": inventory_match_rate +"/adexchangebuyer:v1.4/PerformanceReport/kind": kind +"/adexchangebuyer:v1.4/PerformanceReport/noQuotaInRegion": no_quota_in_region +"/adexchangebuyer:v1.4/PerformanceReport/outOfQuota": out_of_quota +"/adexchangebuyer:v1.4/PerformanceReport/pixelMatchRequests": pixel_match_requests +"/adexchangebuyer:v1.4/PerformanceReport/pixelMatchResponses": pixel_match_responses +"/adexchangebuyer:v1.4/PerformanceReport/quotaConfiguredLimit": quota_configured_limit +"/adexchangebuyer:v1.4/PerformanceReport/quotaThrottledLimit": quota_throttled_limit +"/adexchangebuyer:v1.4/PerformanceReport/region": region +"/adexchangebuyer:v1.4/PerformanceReport/successfulRequestRate": successful_request_rate +"/adexchangebuyer:v1.4/PerformanceReport/timestamp": timestamp +"/adexchangebuyer:v1.4/PerformanceReport/unsuccessfulRequestRate": unsuccessful_request_rate +"/adexchangebuyer:v1.4/PerformanceReportList": performance_report_list +"/adexchangebuyer:v1.4/PerformanceReportList/kind": kind +"/adexchangebuyer:v1.4/PerformanceReportList/performanceReport": performance_report +"/adexchangebuyer:v1.4/PerformanceReportList/performanceReport/performance_report": performance_report +"/adexchangebuyer:v1.4/PretargetingConfig": pretargeting_config +"/adexchangebuyer:v1.4/PretargetingConfig/billingId": billing_id +"/adexchangebuyer:v1.4/PretargetingConfig/configId": config_id +"/adexchangebuyer:v1.4/PretargetingConfig/configName": config_name +"/adexchangebuyer:v1.4/PretargetingConfig/creativeType": creative_type +"/adexchangebuyer:v1.4/PretargetingConfig/creativeType/creative_type": creative_type +"/adexchangebuyer:v1.4/PretargetingConfig/dimensions": dimensions +"/adexchangebuyer:v1.4/PretargetingConfig/dimensions/dimension": dimension +"/adexchangebuyer:v1.4/PretargetingConfig/dimensions/dimension/height": height +"/adexchangebuyer:v1.4/PretargetingConfig/dimensions/dimension/width": width +"/adexchangebuyer:v1.4/PretargetingConfig/excludedContentLabels": excluded_content_labels +"/adexchangebuyer:v1.4/PretargetingConfig/excludedContentLabels/excluded_content_label": excluded_content_label +"/adexchangebuyer:v1.4/PretargetingConfig/excludedGeoCriteriaIds": excluded_geo_criteria_ids +"/adexchangebuyer:v1.4/PretargetingConfig/excludedGeoCriteriaIds/excluded_geo_criteria_id": excluded_geo_criteria_id +"/adexchangebuyer:v1.4/PretargetingConfig/excludedPlacements": excluded_placements +"/adexchangebuyer:v1.4/PretargetingConfig/excludedPlacements/excluded_placement": excluded_placement +"/adexchangebuyer:v1.4/PretargetingConfig/excludedPlacements/excluded_placement/token": token +"/adexchangebuyer:v1.4/PretargetingConfig/excludedPlacements/excluded_placement/type": type +"/adexchangebuyer:v1.4/PretargetingConfig/excludedUserLists": excluded_user_lists +"/adexchangebuyer:v1.4/PretargetingConfig/excludedUserLists/excluded_user_list": excluded_user_list +"/adexchangebuyer:v1.4/PretargetingConfig/excludedVerticals": excluded_verticals +"/adexchangebuyer:v1.4/PretargetingConfig/excludedVerticals/excluded_vertical": excluded_vertical +"/adexchangebuyer:v1.4/PretargetingConfig/geoCriteriaIds": geo_criteria_ids +"/adexchangebuyer:v1.4/PretargetingConfig/geoCriteriaIds/geo_criteria_id": geo_criteria_id +"/adexchangebuyer:v1.4/PretargetingConfig/isActive": is_active +"/adexchangebuyer:v1.4/PretargetingConfig/kind": kind +"/adexchangebuyer:v1.4/PretargetingConfig/languages": languages +"/adexchangebuyer:v1.4/PretargetingConfig/languages/language": language +"/adexchangebuyer:v1.4/PretargetingConfig/minimumViewabilityDecile": minimum_viewability_decile +"/adexchangebuyer:v1.4/PretargetingConfig/mobileCarriers": mobile_carriers +"/adexchangebuyer:v1.4/PretargetingConfig/mobileCarriers/mobile_carrier": mobile_carrier +"/adexchangebuyer:v1.4/PretargetingConfig/mobileDevices": mobile_devices +"/adexchangebuyer:v1.4/PretargetingConfig/mobileDevices/mobile_device": mobile_device +"/adexchangebuyer:v1.4/PretargetingConfig/mobileOperatingSystemVersions": mobile_operating_system_versions +"/adexchangebuyer:v1.4/PretargetingConfig/mobileOperatingSystemVersions/mobile_operating_system_version": mobile_operating_system_version +"/adexchangebuyer:v1.4/PretargetingConfig/placements": placements +"/adexchangebuyer:v1.4/PretargetingConfig/placements/placement": placement +"/adexchangebuyer:v1.4/PretargetingConfig/placements/placement/token": token +"/adexchangebuyer:v1.4/PretargetingConfig/placements/placement/type": type +"/adexchangebuyer:v1.4/PretargetingConfig/platforms": platforms +"/adexchangebuyer:v1.4/PretargetingConfig/platforms/platform": platform +"/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes": supported_creative_attributes +"/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes/supported_creative_attribute": supported_creative_attribute +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired": user_identifier_data_required +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired/user_identifier_data_required": user_identifier_data_required +"/adexchangebuyer:v1.4/PretargetingConfig/userLists": user_lists +"/adexchangebuyer:v1.4/PretargetingConfig/userLists/user_list": user_list +"/adexchangebuyer:v1.4/PretargetingConfig/vendorTypes": vendor_types +"/adexchangebuyer:v1.4/PretargetingConfig/vendorTypes/vendor_type": vendor_type +"/adexchangebuyer:v1.4/PretargetingConfig/verticals": verticals +"/adexchangebuyer:v1.4/PretargetingConfig/verticals/vertical": vertical +"/adexchangebuyer:v1.4/PretargetingConfig/videoPlayerSizes": video_player_sizes +"/adexchangebuyer:v1.4/PretargetingConfig/videoPlayerSizes/video_player_size": video_player_size +"/adexchangebuyer:v1.4/PretargetingConfig/videoPlayerSizes/video_player_size/aspectRatio": aspect_ratio +"/adexchangebuyer:v1.4/PretargetingConfig/videoPlayerSizes/video_player_size/minHeight": min_height +"/adexchangebuyer:v1.4/PretargetingConfig/videoPlayerSizes/video_player_size/minWidth": min_width +"/adexchangebuyer:v1.4/PretargetingConfigList": pretargeting_config_list +"/adexchangebuyer:v1.4/PretargetingConfigList/items": items +"/adexchangebuyer:v1.4/PretargetingConfigList/items/item": item +"/adexchangebuyer:v1.4/PretargetingConfigList/kind": kind +"/adexchangebuyer:v1.4/Price": price +"/adexchangebuyer:v1.4/Price/amountMicros": amount_micros +"/adexchangebuyer:v1.4/Price/currencyCode": currency_code +"/adexchangebuyer:v1.4/Price/expectedCpmMicros": expected_cpm_micros +"/adexchangebuyer:v1.4/Price/pricingType": pricing_type +"/adexchangebuyer:v1.4/PricePerBuyer": price_per_buyer +"/adexchangebuyer:v1.4/PricePerBuyer/auctionTier": auction_tier +"/adexchangebuyer:v1.4/PricePerBuyer/buyer": buyer +"/adexchangebuyer:v1.4/PricePerBuyer/price": price +"/adexchangebuyer:v1.4/PrivateData": private_data +"/adexchangebuyer:v1.4/PrivateData/referenceId": reference_id +"/adexchangebuyer:v1.4/PrivateData/referencePayload": reference_payload +"/adexchangebuyer:v1.4/Product": product +"/adexchangebuyer:v1.4/Product/creationTimeMs": creation_time_ms +"/adexchangebuyer:v1.4/Product/creatorContacts": creator_contacts +"/adexchangebuyer:v1.4/Product/creatorContacts/creator_contact": creator_contact +"/adexchangebuyer:v1.4/Product/deliveryControl": delivery_control +"/adexchangebuyer:v1.4/Product/flightEndTimeMs": flight_end_time_ms +"/adexchangebuyer:v1.4/Product/flightStartTimeMs": flight_start_time_ms +"/adexchangebuyer:v1.4/Product/hasCreatorSignedOff": has_creator_signed_off +"/adexchangebuyer:v1.4/Product/inventorySource": inventory_source +"/adexchangebuyer:v1.4/Product/kind": kind +"/adexchangebuyer:v1.4/Product/labels": labels +"/adexchangebuyer:v1.4/Product/labels/label": label +"/adexchangebuyer:v1.4/Product/lastUpdateTimeMs": last_update_time_ms +"/adexchangebuyer:v1.4/Product/legacyOfferId": legacy_offer_id +"/adexchangebuyer:v1.4/Product/marketplacePublisherProfileId": marketplace_publisher_profile_id +"/adexchangebuyer:v1.4/Product/name": name +"/adexchangebuyer:v1.4/Product/privateAuctionId": private_auction_id +"/adexchangebuyer:v1.4/Product/productId": product_id +"/adexchangebuyer:v1.4/Product/publisherProfileId": publisher_profile_id +"/adexchangebuyer:v1.4/Product/publisherProvidedForecast": publisher_provided_forecast +"/adexchangebuyer:v1.4/Product/revisionNumber": revision_number +"/adexchangebuyer:v1.4/Product/seller": seller +"/adexchangebuyer:v1.4/Product/sharedTargetings": shared_targetings +"/adexchangebuyer:v1.4/Product/sharedTargetings/shared_targeting": shared_targeting +"/adexchangebuyer:v1.4/Product/state": state +"/adexchangebuyer:v1.4/Product/syndicationProduct": syndication_product +"/adexchangebuyer:v1.4/Product/terms": terms +"/adexchangebuyer:v1.4/Product/webPropertyCode": web_property_code +"/adexchangebuyer:v1.4/Proposal": proposal +"/adexchangebuyer:v1.4/Proposal/billedBuyer": billed_buyer +"/adexchangebuyer:v1.4/Proposal/buyer": buyer +"/adexchangebuyer:v1.4/Proposal/buyerContacts": buyer_contacts +"/adexchangebuyer:v1.4/Proposal/buyerContacts/buyer_contact": buyer_contact +"/adexchangebuyer:v1.4/Proposal/buyerPrivateData": buyer_private_data +"/adexchangebuyer:v1.4/Proposal/dbmAdvertiserIds": dbm_advertiser_ids +"/adexchangebuyer:v1.4/Proposal/dbmAdvertiserIds/dbm_advertiser_id": dbm_advertiser_id +"/adexchangebuyer:v1.4/Proposal/hasBuyerSignedOff": has_buyer_signed_off +"/adexchangebuyer:v1.4/Proposal/hasSellerSignedOff": has_seller_signed_off +"/adexchangebuyer:v1.4/Proposal/inventorySource": inventory_source +"/adexchangebuyer:v1.4/Proposal/isRenegotiating": is_renegotiating +"/adexchangebuyer:v1.4/Proposal/isSetupComplete": is_setup_complete +"/adexchangebuyer:v1.4/Proposal/kind": kind +"/adexchangebuyer:v1.4/Proposal/labels": labels +"/adexchangebuyer:v1.4/Proposal/labels/label": label +"/adexchangebuyer:v1.4/Proposal/lastUpdaterOrCommentorRole": last_updater_or_commentor_role +"/adexchangebuyer:v1.4/Proposal/name": name +"/adexchangebuyer:v1.4/Proposal/negotiationId": negotiation_id +"/adexchangebuyer:v1.4/Proposal/originatorRole": originator_role +"/adexchangebuyer:v1.4/Proposal/privateAuctionId": private_auction_id +"/adexchangebuyer:v1.4/Proposal/proposalId": proposal_id +"/adexchangebuyer:v1.4/Proposal/proposalState": proposal_state +"/adexchangebuyer:v1.4/Proposal/revisionNumber": revision_number +"/adexchangebuyer:v1.4/Proposal/revisionTimeMs": revision_time_ms +"/adexchangebuyer:v1.4/Proposal/seller": seller +"/adexchangebuyer:v1.4/Proposal/sellerContacts": seller_contacts +"/adexchangebuyer:v1.4/Proposal/sellerContacts/seller_contact": seller_contact +"/adexchangebuyer:v1.4/PublisherProfileApiProto": publisher_profile_api_proto +"/adexchangebuyer:v1.4/PublisherProfileApiProto/accountId": account_id +"/adexchangebuyer:v1.4/PublisherProfileApiProto/audience": audience +"/adexchangebuyer:v1.4/PublisherProfileApiProto/buyerPitchStatement": buyer_pitch_statement +"/adexchangebuyer:v1.4/PublisherProfileApiProto/directContact": direct_contact +"/adexchangebuyer:v1.4/PublisherProfileApiProto/exchange": exchange +"/adexchangebuyer:v1.4/PublisherProfileApiProto/googlePlusLink": google_plus_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/isParent": is_parent +"/adexchangebuyer:v1.4/PublisherProfileApiProto/isPublished": is_published +"/adexchangebuyer:v1.4/PublisherProfileApiProto/kind": kind +"/adexchangebuyer:v1.4/PublisherProfileApiProto/logoUrl": logo_url +"/adexchangebuyer:v1.4/PublisherProfileApiProto/mediaKitLink": media_kit_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/name": name +"/adexchangebuyer:v1.4/PublisherProfileApiProto/overview": overview +"/adexchangebuyer:v1.4/PublisherProfileApiProto/profileId": profile_id +"/adexchangebuyer:v1.4/PublisherProfileApiProto/programmaticContact": programmatic_contact +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains": publisher_domains +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherDomains/publisher_domain": publisher_domain +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherProfileId": publisher_profile_id +"/adexchangebuyer:v1.4/PublisherProfileApiProto/publisherProvidedForecast": publisher_provided_forecast +"/adexchangebuyer:v1.4/PublisherProfileApiProto/rateCardInfoLink": rate_card_info_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/samplePageLink": sample_page_link +"/adexchangebuyer:v1.4/PublisherProfileApiProto/seller": seller +"/adexchangebuyer:v1.4/PublisherProfileApiProto/state": state +"/adexchangebuyer:v1.4/PublisherProfileApiProto/topHeadlines": top_headlines +"/adexchangebuyer:v1.4/PublisherProfileApiProto/topHeadlines/top_headline": top_headline +"/adexchangebuyer:v1.4/PublisherProvidedForecast": publisher_provided_forecast +"/adexchangebuyer:v1.4/PublisherProvidedForecast/dimensions": dimensions +"/adexchangebuyer:v1.4/PublisherProvidedForecast/dimensions/dimension": dimension +"/adexchangebuyer:v1.4/PublisherProvidedForecast/weeklyImpressions": weekly_impressions +"/adexchangebuyer:v1.4/PublisherProvidedForecast/weeklyUniques": weekly_uniques +"/adexchangebuyer:v1.4/Seller": seller +"/adexchangebuyer:v1.4/Seller/accountId": account_id +"/adexchangebuyer:v1.4/Seller/subAccountId": sub_account_id +"/adexchangebuyer:v1.4/SharedTargeting": shared_targeting +"/adexchangebuyer:v1.4/SharedTargeting/exclusions": exclusions +"/adexchangebuyer:v1.4/SharedTargeting/exclusions/exclusion": exclusion +"/adexchangebuyer:v1.4/SharedTargeting/inclusions": inclusions +"/adexchangebuyer:v1.4/SharedTargeting/inclusions/inclusion": inclusion +"/adexchangebuyer:v1.4/SharedTargeting/key": key +"/adexchangebuyer:v1.4/TargetingValue": targeting_value +"/adexchangebuyer:v1.4/TargetingValue/creativeSizeValue": creative_size_value +"/adexchangebuyer:v1.4/TargetingValue/dayPartTargetingValue": day_part_targeting_value +"/adexchangebuyer:v1.4/TargetingValue/longValue": long_value +"/adexchangebuyer:v1.4/TargetingValue/stringValue": string_value +"/adexchangebuyer:v1.4/TargetingValueCreativeSize": targeting_value_creative_size +"/adexchangebuyer:v1.4/TargetingValueCreativeSize/companionSizes": companion_sizes +"/adexchangebuyer:v1.4/TargetingValueCreativeSize/companionSizes/companion_size": companion_size +"/adexchangebuyer:v1.4/TargetingValueCreativeSize/creativeSizeType": creative_size_type +"/adexchangebuyer:v1.4/TargetingValueCreativeSize/size": size +"/adexchangebuyer:v1.4/TargetingValueCreativeSize/skippableAdType": skippable_ad_type +"/adexchangebuyer:v1.4/TargetingValueDayPartTargeting": targeting_value_day_part_targeting +"/adexchangebuyer:v1.4/TargetingValueDayPartTargeting/dayParts": day_parts +"/adexchangebuyer:v1.4/TargetingValueDayPartTargeting/dayParts/day_part": day_part +"/adexchangebuyer:v1.4/TargetingValueDayPartTargeting/timeZoneType": time_zone_type +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart": targeting_value_day_part_targeting_day_part +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart/dayOfWeek": day_of_week +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart/endHour": end_hour +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart/endMinute": end_minute +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart/startHour": start_hour +"/adexchangebuyer:v1.4/TargetingValueDayPartTargetingDayPart/startMinute": start_minute +"/adexchangebuyer:v1.4/TargetingValueSize": targeting_value_size +"/adexchangebuyer:v1.4/TargetingValueSize/height": height +"/adexchangebuyer:v1.4/TargetingValueSize/width": width +"/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest": update_private_auction_proposal_request +"/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/externalDealId": external_deal_id +"/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/note": note +"/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/proposalRevisionNumber": proposal_revision_number +"/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/updateAction": update_action +"/adexchangebuyer2:v2beta1/key": key +"/adexchangebuyer2:v2beta1/quotaUser": quota_user +"/adexchangebuyer2:v2beta1/fields": fields +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update": update_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get": get_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list": list_account_clients +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update": update_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get": get_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list": list_account_client_users +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/ClientUser": client_user +"/adexchangebuyer2:v2beta1/ClientUser/email": email +"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUser/status": status +"/adexchangebuyer2:v2beta1/ClientUser/userId": user_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation": client_user_invitation +"/adexchangebuyer2:v2beta1/ClientUserInvitation/email": email +"/adexchangebuyer2:v2beta1/ClientUserInvitation/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse": list_client_user_invitations_response +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations": invitations +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations/invitation": invitation +"/adexchangebuyer2:v2beta1/ListClientUsersResponse": list_client_users_response +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users": users +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users/user": user +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/Client": client +"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller +"/adexchangebuyer2:v2beta1/Client/status": status +"/adexchangebuyer2:v2beta1/Client/entityType": entity_type +"/adexchangebuyer2:v2beta1/Client/role": role +"/adexchangebuyer2:v2beta1/Client/clientName": client_name +"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/Client/entityId": entity_id +"/adexchangebuyer2:v2beta1/Client/entityName": entity_name +"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response +"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client +"/adexchangeseller:v2.0/fields": fields +"/adexchangeseller:v2.0/key": key +"/adexchangeseller:v2.0/quotaUser": quota_user +"/adexchangeseller:v2.0/userIp": user_ip +"/adexchangeseller:v2.0/adexchangeseller.accounts.get": get_account +"/adexchangeseller:v2.0/adexchangeseller.accounts.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.list": list_accounts +"/adexchangeseller:v2.0/adexchangeseller.accounts.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.adclients.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list": list_account_alerts +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.alerts.list/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.get/customChannelId": custom_channel_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.customchannels.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.dimensions.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.metadata.metrics.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.get/dealId": deal_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.preferreddeals.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate": generate_account_report +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/dimension": dimension +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/endDate": end_date +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/filter": filter +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/metric": metric +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/sort": sort +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startDate": start_date +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.generate/startIndex": start_index +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/locale": locale +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/savedReportId": saved_report_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.generate/startIndex": start_index +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.reports.saved.list/pageToken": page_token +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/accountId": account_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/adClientId": ad_client_id +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/maxResults": max_results +"/adexchangeseller:v2.0/adexchangeseller.accounts.urlchannels.list/pageToken": page_token +"/adexchangeseller:v2.0/Account": account +"/adexchangeseller:v2.0/Account/id": id +"/adexchangeseller:v2.0/Account/kind": kind +"/adexchangeseller:v2.0/Account/name": name +"/adexchangeseller:v2.0/Accounts": accounts +"/adexchangeseller:v2.0/Accounts/etag": etag +"/adexchangeseller:v2.0/Accounts/items": items +"/adexchangeseller:v2.0/Accounts/items/item": item +"/adexchangeseller:v2.0/Accounts/kind": kind +"/adexchangeseller:v2.0/Accounts/nextPageToken": next_page_token +"/adexchangeseller:v2.0/AdClient": ad_client +"/adexchangeseller:v2.0/AdClient/arcOptIn": arc_opt_in +"/adexchangeseller:v2.0/AdClient/id": id +"/adexchangeseller:v2.0/AdClient/kind": kind +"/adexchangeseller:v2.0/AdClient/productCode": product_code +"/adexchangeseller:v2.0/AdClient/supportsReporting": supports_reporting +"/adexchangeseller:v2.0/AdClients": ad_clients +"/adexchangeseller:v2.0/AdClients/etag": etag +"/adexchangeseller:v2.0/AdClients/items": items +"/adexchangeseller:v2.0/AdClients/items/item": item +"/adexchangeseller:v2.0/AdClients/kind": kind +"/adexchangeseller:v2.0/AdClients/nextPageToken": next_page_token +"/adexchangeseller:v2.0/Alert": alert +"/adexchangeseller:v2.0/Alert/id": id +"/adexchangeseller:v2.0/Alert/kind": kind +"/adexchangeseller:v2.0/Alert/message": message +"/adexchangeseller:v2.0/Alert/severity": severity +"/adexchangeseller:v2.0/Alert/type": type +"/adexchangeseller:v2.0/Alerts": alerts +"/adexchangeseller:v2.0/Alerts/items": items +"/adexchangeseller:v2.0/Alerts/items/item": item +"/adexchangeseller:v2.0/Alerts/kind": kind +"/adexchangeseller:v2.0/CustomChannel": custom_channel +"/adexchangeseller:v2.0/CustomChannel/code": code +"/adexchangeseller:v2.0/CustomChannel/id": id +"/adexchangeseller:v2.0/CustomChannel/kind": kind +"/adexchangeseller:v2.0/CustomChannel/name": name +"/adexchangeseller:v2.0/CustomChannel/targetingInfo": targeting_info +"/adexchangeseller:v2.0/CustomChannel/targetingInfo/adsAppearOn": ads_appear_on +"/adexchangeseller:v2.0/CustomChannel/targetingInfo/description": description +"/adexchangeseller:v2.0/CustomChannel/targetingInfo/location": location +"/adexchangeseller:v2.0/CustomChannel/targetingInfo/siteLanguage": site_language +"/adexchangeseller:v2.0/CustomChannels": custom_channels +"/adexchangeseller:v2.0/CustomChannels/etag": etag +"/adexchangeseller:v2.0/CustomChannels/items": items +"/adexchangeseller:v2.0/CustomChannels/items/item": item +"/adexchangeseller:v2.0/CustomChannels/kind": kind +"/adexchangeseller:v2.0/CustomChannels/nextPageToken": next_page_token +"/adexchangeseller:v2.0/Metadata": metadata +"/adexchangeseller:v2.0/Metadata/items": items +"/adexchangeseller:v2.0/Metadata/items/item": item +"/adexchangeseller:v2.0/Metadata/kind": kind +"/adexchangeseller:v2.0/PreferredDeal": preferred_deal +"/adexchangeseller:v2.0/PreferredDeal/advertiserName": advertiser_name +"/adexchangeseller:v2.0/PreferredDeal/buyerNetworkName": buyer_network_name +"/adexchangeseller:v2.0/PreferredDeal/currencyCode": currency_code +"/adexchangeseller:v2.0/PreferredDeal/endTime": end_time +"/adexchangeseller:v2.0/PreferredDeal/fixedCpm": fixed_cpm +"/adexchangeseller:v2.0/PreferredDeal/id": id +"/adexchangeseller:v2.0/PreferredDeal/kind": kind +"/adexchangeseller:v2.0/PreferredDeal/startTime": start_time +"/adexchangeseller:v2.0/PreferredDeals": preferred_deals +"/adexchangeseller:v2.0/PreferredDeals/items": items +"/adexchangeseller:v2.0/PreferredDeals/items/item": item +"/adexchangeseller:v2.0/PreferredDeals/kind": kind +"/adexchangeseller:v2.0/Report": report +"/adexchangeseller:v2.0/Report/averages": averages +"/adexchangeseller:v2.0/Report/averages/average": average +"/adexchangeseller:v2.0/Report/headers": headers +"/adexchangeseller:v2.0/Report/headers/header": header +"/adexchangeseller:v2.0/Report/headers/header/currency": currency +"/adexchangeseller:v2.0/Report/headers/header/name": name +"/adexchangeseller:v2.0/Report/headers/header/type": type +"/adexchangeseller:v2.0/Report/kind": kind +"/adexchangeseller:v2.0/Report/rows": rows +"/adexchangeseller:v2.0/Report/rows/row": row +"/adexchangeseller:v2.0/Report/rows/row/row": row +"/adexchangeseller:v2.0/Report/totalMatchedRows": total_matched_rows +"/adexchangeseller:v2.0/Report/totals": totals +"/adexchangeseller:v2.0/Report/totals/total": total +"/adexchangeseller:v2.0/Report/warnings": warnings +"/adexchangeseller:v2.0/Report/warnings/warning": warning +"/adexchangeseller:v2.0/ReportingMetadataEntry": reporting_metadata_entry +"/adexchangeseller:v2.0/ReportingMetadataEntry/compatibleDimensions": compatible_dimensions +"/adexchangeseller:v2.0/ReportingMetadataEntry/compatibleDimensions/compatible_dimension": compatible_dimension +"/adexchangeseller:v2.0/ReportingMetadataEntry/compatibleMetrics": compatible_metrics +"/adexchangeseller:v2.0/ReportingMetadataEntry/compatibleMetrics/compatible_metric": compatible_metric +"/adexchangeseller:v2.0/ReportingMetadataEntry/id": id +"/adexchangeseller:v2.0/ReportingMetadataEntry/kind": kind +"/adexchangeseller:v2.0/ReportingMetadataEntry/requiredDimensions": required_dimensions +"/adexchangeseller:v2.0/ReportingMetadataEntry/requiredDimensions/required_dimension": required_dimension +"/adexchangeseller:v2.0/ReportingMetadataEntry/requiredMetrics": required_metrics +"/adexchangeseller:v2.0/ReportingMetadataEntry/requiredMetrics/required_metric": required_metric +"/adexchangeseller:v2.0/ReportingMetadataEntry/supportedProducts": supported_products +"/adexchangeseller:v2.0/ReportingMetadataEntry/supportedProducts/supported_product": supported_product +"/adexchangeseller:v2.0/SavedReport": saved_report +"/adexchangeseller:v2.0/SavedReport/id": id +"/adexchangeseller:v2.0/SavedReport/kind": kind +"/adexchangeseller:v2.0/SavedReport/name": name +"/adexchangeseller:v2.0/SavedReports": saved_reports +"/adexchangeseller:v2.0/SavedReports/etag": etag +"/adexchangeseller:v2.0/SavedReports/items": items +"/adexchangeseller:v2.0/SavedReports/items/item": item +"/adexchangeseller:v2.0/SavedReports/kind": kind +"/adexchangeseller:v2.0/SavedReports/nextPageToken": next_page_token +"/adexchangeseller:v2.0/UrlChannel": url_channel +"/adexchangeseller:v2.0/UrlChannel/id": id +"/adexchangeseller:v2.0/UrlChannel/kind": kind +"/adexchangeseller:v2.0/UrlChannel/urlPattern": url_pattern +"/adexchangeseller:v2.0/UrlChannels": url_channels +"/adexchangeseller:v2.0/UrlChannels/etag": etag +"/adexchangeseller:v2.0/UrlChannels/items": items +"/adexchangeseller:v2.0/UrlChannels/items/item": item +"/adexchangeseller:v2.0/UrlChannels/kind": kind +"/adexchangeseller:v2.0/UrlChannels/nextPageToken": next_page_token +"/admin:datatransfer_v1/fields": fields +"/admin:datatransfer_v1/key": key +"/admin:datatransfer_v1/quotaUser": quota_user +"/admin:datatransfer_v1/userIp": user_ip +"/admin:datatransfer_v1/datatransfer.applications.get": get_application +"/admin:datatransfer_v1/datatransfer.applications.get/applicationId": application_id +"/admin:datatransfer_v1/datatransfer.applications.list": list_applications +"/admin:datatransfer_v1/datatransfer.applications.list/customerId": customer_id +"/admin:datatransfer_v1/datatransfer.applications.list/maxResults": max_results +"/admin:datatransfer_v1/datatransfer.applications.list/pageToken": page_token +"/admin:datatransfer_v1/datatransfer.transfers.get": get_transfer +"/admin:datatransfer_v1/datatransfer.transfers.get/dataTransferId": data_transfer_id +"/admin:datatransfer_v1/datatransfer.transfers.insert": insert_transfer +"/admin:datatransfer_v1/datatransfer.transfers.list": list_transfers +"/admin:datatransfer_v1/datatransfer.transfers.list/customerId": customer_id +"/admin:datatransfer_v1/datatransfer.transfers.list/maxResults": max_results +"/admin:datatransfer_v1/datatransfer.transfers.list/newOwnerUserId": new_owner_user_id +"/admin:datatransfer_v1/datatransfer.transfers.list/oldOwnerUserId": old_owner_user_id +"/admin:datatransfer_v1/datatransfer.transfers.list/pageToken": page_token +"/admin:datatransfer_v1/datatransfer.transfers.list/status": status +"/admin:datatransfer_v1/Application": application +"/admin:datatransfer_v1/Application/etag": etag +"/admin:datatransfer_v1/Application/id": id +"/admin:datatransfer_v1/Application/kind": kind +"/admin:datatransfer_v1/Application/name": name +"/admin:datatransfer_v1/Application/transferParams": transfer_params +"/admin:datatransfer_v1/Application/transferParams/transfer_param": transfer_param +"/admin:datatransfer_v1/ApplicationDataTransfer": application_data_transfer +"/admin:datatransfer_v1/ApplicationDataTransfer/applicationId": application_id +"/admin:datatransfer_v1/ApplicationDataTransfer/applicationTransferParams": application_transfer_params +"/admin:datatransfer_v1/ApplicationDataTransfer/applicationTransferParams/application_transfer_param": application_transfer_param +"/admin:datatransfer_v1/ApplicationDataTransfer/applicationTransferStatus": application_transfer_status +"/admin:datatransfer_v1/ApplicationTransferParam": application_transfer_param +"/admin:datatransfer_v1/ApplicationTransferParam/key": key +"/admin:datatransfer_v1/ApplicationTransferParam/value": value +"/admin:datatransfer_v1/ApplicationTransferParam/value/value": value +"/admin:datatransfer_v1/ApplicationsListResponse": applications_list_response +"/admin:datatransfer_v1/ApplicationsListResponse/applications": applications +"/admin:datatransfer_v1/ApplicationsListResponse/applications/application": application +"/admin:datatransfer_v1/ApplicationsListResponse/etag": etag +"/admin:datatransfer_v1/ApplicationsListResponse/kind": kind +"/admin:datatransfer_v1/ApplicationsListResponse/nextPageToken": next_page_token +"/admin:datatransfer_v1/DataTransfer": data_transfer +"/admin:datatransfer_v1/DataTransfer/applicationDataTransfers": application_data_transfers +"/admin:datatransfer_v1/DataTransfer/applicationDataTransfers/application_data_transfer": application_data_transfer +"/admin:datatransfer_v1/DataTransfer/etag": etag +"/admin:datatransfer_v1/DataTransfer/id": id +"/admin:datatransfer_v1/DataTransfer/kind": kind +"/admin:datatransfer_v1/DataTransfer/newOwnerUserId": new_owner_user_id +"/admin:datatransfer_v1/DataTransfer/oldOwnerUserId": old_owner_user_id +"/admin:datatransfer_v1/DataTransfer/overallTransferStatusCode": overall_transfer_status_code +"/admin:datatransfer_v1/DataTransfer/requestTime": request_time +"/admin:datatransfer_v1/DataTransfersListResponse": data_transfers_list_response +"/admin:datatransfer_v1/DataTransfersListResponse/dataTransfers": data_transfers +"/admin:datatransfer_v1/DataTransfersListResponse/dataTransfers/data_transfer": data_transfer +"/admin:datatransfer_v1/DataTransfersListResponse/etag": etag +"/admin:datatransfer_v1/DataTransfersListResponse/kind": kind +"/admin:datatransfer_v1/DataTransfersListResponse/nextPageToken": next_page_token +"/admin:directory_v1/fields": fields +"/admin:directory_v1/key": key +"/admin:directory_v1/quotaUser": quota_user +"/admin:directory_v1/userIp": user_ip +"/admin:directory_v1/directory.asps.delete": delete_asp +"/admin:directory_v1/directory.asps.delete/codeId": code_id +"/admin:directory_v1/directory.asps.delete/userKey": user_key +"/admin:directory_v1/directory.asps.get": get_asp +"/admin:directory_v1/directory.asps.get/codeId": code_id +"/admin:directory_v1/directory.asps.get/userKey": user_key +"/admin:directory_v1/directory.asps.list": list_asps +"/admin:directory_v1/directory.asps.list/userKey": user_key +"/admin:directory_v1/admin.channels.stop": stop_channel +"/admin:directory_v1/directory.chromeosdevices.action": action_chromeosdevice +"/admin:directory_v1/directory.chromeosdevices.action/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.action/resourceId": resource_id +"/admin:directory_v1/directory.chromeosdevices.get/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.get/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.get/projection": projection +"/admin:directory_v1/directory.chromeosdevices.list/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.list/maxResults": max_results +"/admin:directory_v1/directory.chromeosdevices.list/orderBy": order_by +"/admin:directory_v1/directory.chromeosdevices.list/pageToken": page_token +"/admin:directory_v1/directory.chromeosdevices.list/projection": projection +"/admin:directory_v1/directory.chromeosdevices.list/query": query +"/admin:directory_v1/directory.chromeosdevices.list/sortOrder": sort_order +"/admin:directory_v1/directory.chromeosdevices.patch/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.patch/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.patch/projection": projection +"/admin:directory_v1/directory.chromeosdevices.update/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.update/deviceId": device_id +"/admin:directory_v1/directory.chromeosdevices.update/projection": projection +"/admin:directory_v1/directory.customers.get": get_customer +"/admin:directory_v1/directory.customers.get/customerKey": customer_key +"/admin:directory_v1/directory.customers.patch": patch_customer +"/admin:directory_v1/directory.customers.patch/customerKey": customer_key +"/admin:directory_v1/directory.customers.update": update_customer +"/admin:directory_v1/directory.customers.update/customerKey": customer_key +"/admin:directory_v1/directory.domainAliases.delete": delete_domain_alias +"/admin:directory_v1/directory.domainAliases.delete/customer": customer +"/admin:directory_v1/directory.domainAliases.delete/domainAliasName": domain_alias_name +"/admin:directory_v1/directory.domainAliases.get": get_domain_alias +"/admin:directory_v1/directory.domainAliases.get/customer": customer +"/admin:directory_v1/directory.domainAliases.get/domainAliasName": domain_alias_name +"/admin:directory_v1/directory.domainAliases.insert": insert_domain_alias +"/admin:directory_v1/directory.domainAliases.insert/customer": customer +"/admin:directory_v1/directory.domainAliases.list": list_domain_aliases +"/admin:directory_v1/directory.domainAliases.list/customer": customer +"/admin:directory_v1/directory.domainAliases.list/parentDomainName": parent_domain_name +"/admin:directory_v1/directory.domains.delete": delete_domain +"/admin:directory_v1/directory.domains.delete/customer": customer +"/admin:directory_v1/directory.domains.delete/domainName": domain_name +"/admin:directory_v1/directory.domains.get": get_domain +"/admin:directory_v1/directory.domains.get/customer": customer +"/admin:directory_v1/directory.domains.get/domainName": domain_name +"/admin:directory_v1/directory.domains.insert": insert_domain +"/admin:directory_v1/directory.domains.insert/customer": customer +"/admin:directory_v1/directory.domains.list": list_domains +"/admin:directory_v1/directory.domains.list/customer": customer +"/admin:directory_v1/directory.groups.delete": delete_group +"/admin:directory_v1/directory.groups.delete/groupKey": group_key +"/admin:directory_v1/directory.groups.get": get_group +"/admin:directory_v1/directory.groups.get/groupKey": group_key +"/admin:directory_v1/directory.groups.insert": insert_group +"/admin:directory_v1/directory.groups.list": list_groups +"/admin:directory_v1/directory.groups.list/customer": customer +"/admin:directory_v1/directory.groups.list/domain": domain +"/admin:directory_v1/directory.groups.list/maxResults": max_results +"/admin:directory_v1/directory.groups.list/pageToken": page_token +"/admin:directory_v1/directory.groups.list/userKey": user_key +"/admin:directory_v1/directory.groups.patch": patch_group +"/admin:directory_v1/directory.groups.patch/groupKey": group_key +"/admin:directory_v1/directory.groups.update": update_group +"/admin:directory_v1/directory.groups.update/groupKey": group_key +"/admin:directory_v1/directory.groups.aliases.delete": delete_group_alias +"/admin:directory_v1/directory.groups.aliases.delete/groupKey": group_key +"/admin:directory_v1/directory.groups.aliases.insert": insert_group_alias +"/admin:directory_v1/directory.groups.aliases.insert/groupKey": group_key +"/admin:directory_v1/directory.groups.aliases.list": list_group_aliases +"/admin:directory_v1/directory.groups.aliases.list/groupKey": group_key +"/admin:directory_v1/directory.members.delete": delete_member +"/admin:directory_v1/directory.members.delete/groupKey": group_key +"/admin:directory_v1/directory.members.delete/memberKey": member_key +"/admin:directory_v1/directory.members.get": get_member +"/admin:directory_v1/directory.members.get/groupKey": group_key +"/admin:directory_v1/directory.members.get/memberKey": member_key +"/admin:directory_v1/directory.members.insert": insert_member +"/admin:directory_v1/directory.members.insert/groupKey": group_key +"/admin:directory_v1/directory.members.list": list_members +"/admin:directory_v1/directory.members.list/groupKey": group_key +"/admin:directory_v1/directory.members.list/maxResults": max_results +"/admin:directory_v1/directory.members.list/pageToken": page_token +"/admin:directory_v1/directory.members.list/roles": roles +"/admin:directory_v1/directory.members.patch": patch_member +"/admin:directory_v1/directory.members.patch/groupKey": group_key +"/admin:directory_v1/directory.members.patch/memberKey": member_key +"/admin:directory_v1/directory.members.update": update_member +"/admin:directory_v1/directory.members.update/groupKey": group_key +"/admin:directory_v1/directory.members.update/memberKey": member_key +"/admin:directory_v1/directory.mobiledevices.action/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.action/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.delete/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.delete/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.get/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.get/projection": projection +"/admin:directory_v1/directory.mobiledevices.get/resourceId": resource_id +"/admin:directory_v1/directory.mobiledevices.list/customerId": customer_id +"/admin:directory_v1/directory.mobiledevices.list/maxResults": max_results +"/admin:directory_v1/directory.mobiledevices.list/orderBy": order_by +"/admin:directory_v1/directory.mobiledevices.list/pageToken": page_token +"/admin:directory_v1/directory.mobiledevices.list/projection": projection +"/admin:directory_v1/directory.mobiledevices.list/query": query +"/admin:directory_v1/directory.mobiledevices.list/sortOrder": sort_order +"/admin:directory_v1/directory.notifications.delete": delete_notification +"/admin:directory_v1/directory.notifications.delete/customer": customer +"/admin:directory_v1/directory.notifications.delete/notificationId": notification_id +"/admin:directory_v1/directory.notifications.get": get_notification +"/admin:directory_v1/directory.notifications.get/customer": customer +"/admin:directory_v1/directory.notifications.get/notificationId": notification_id +"/admin:directory_v1/directory.notifications.list": list_notifications +"/admin:directory_v1/directory.notifications.list/customer": customer +"/admin:directory_v1/directory.notifications.list/language": language +"/admin:directory_v1/directory.notifications.list/maxResults": max_results +"/admin:directory_v1/directory.notifications.list/pageToken": page_token +"/admin:directory_v1/directory.notifications.patch": patch_notification +"/admin:directory_v1/directory.notifications.patch/customer": customer +"/admin:directory_v1/directory.notifications.patch/notificationId": notification_id +"/admin:directory_v1/directory.notifications.update": update_notification +"/admin:directory_v1/directory.notifications.update/customer": customer +"/admin:directory_v1/directory.notifications.update/notificationId": notification_id +"/admin:directory_v1/directory.orgunits.delete/customerId": customer_id +"/admin:directory_v1/directory.orgunits.delete/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.get/customerId": customer_id +"/admin:directory_v1/directory.orgunits.get/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.insert/customerId": customer_id +"/admin:directory_v1/directory.orgunits.list/customerId": customer_id +"/admin:directory_v1/directory.orgunits.list/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.list/type": type +"/admin:directory_v1/directory.orgunits.patch/customerId": customer_id +"/admin:directory_v1/directory.orgunits.patch/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.orgunits.update/customerId": customer_id +"/admin:directory_v1/directory.orgunits.update/orgUnitPath": org_unit_path +"/admin:directory_v1/directory.privileges.list": list_privileges +"/admin:directory_v1/directory.privileges.list/customer": customer +"/admin:directory_v1/directory.resources.calendars.delete/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.delete/customer": customer +"/admin:directory_v1/directory.resources.calendars.get/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.get/customer": customer +"/admin:directory_v1/directory.resources.calendars.insert/customer": customer +"/admin:directory_v1/directory.resources.calendars.list/customer": customer +"/admin:directory_v1/directory.resources.calendars.list/maxResults": max_results +"/admin:directory_v1/directory.resources.calendars.list/pageToken": page_token +"/admin:directory_v1/directory.resources.calendars.patch/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.patch/customer": customer +"/admin:directory_v1/directory.resources.calendars.update/calendarResourceId": calendar_resource_id +"/admin:directory_v1/directory.resources.calendars.update/customer": customer +"/admin:directory_v1/directory.roleAssignments.delete": delete_role_assignment +"/admin:directory_v1/directory.roleAssignments.delete/customer": customer +"/admin:directory_v1/directory.roleAssignments.delete/roleAssignmentId": role_assignment_id +"/admin:directory_v1/directory.roleAssignments.get": get_role_assignment +"/admin:directory_v1/directory.roleAssignments.get/customer": customer +"/admin:directory_v1/directory.roleAssignments.get/roleAssignmentId": role_assignment_id +"/admin:directory_v1/directory.roleAssignments.insert": insert_role_assignment +"/admin:directory_v1/directory.roleAssignments.insert/customer": customer +"/admin:directory_v1/directory.roleAssignments.list": list_role_assignments +"/admin:directory_v1/directory.roleAssignments.list/customer": customer +"/admin:directory_v1/directory.roleAssignments.list/maxResults": max_results +"/admin:directory_v1/directory.roleAssignments.list/pageToken": page_token +"/admin:directory_v1/directory.roleAssignments.list/roleId": role_id +"/admin:directory_v1/directory.roleAssignments.list/userKey": user_key +"/admin:directory_v1/directory.roles.delete": delete_role +"/admin:directory_v1/directory.roles.delete/customer": customer +"/admin:directory_v1/directory.roles.delete/roleId": role_id +"/admin:directory_v1/directory.roles.get": get_role +"/admin:directory_v1/directory.roles.get/customer": customer +"/admin:directory_v1/directory.roles.get/roleId": role_id +"/admin:directory_v1/directory.roles.insert": insert_role +"/admin:directory_v1/directory.roles.insert/customer": customer +"/admin:directory_v1/directory.roles.list": list_roles +"/admin:directory_v1/directory.roles.list/customer": customer +"/admin:directory_v1/directory.roles.list/maxResults": max_results +"/admin:directory_v1/directory.roles.list/pageToken": page_token +"/admin:directory_v1/directory.roles.patch": patch_role +"/admin:directory_v1/directory.roles.patch/customer": customer +"/admin:directory_v1/directory.roles.patch/roleId": role_id +"/admin:directory_v1/directory.roles.update": update_role +"/admin:directory_v1/directory.roles.update/customer": customer +"/admin:directory_v1/directory.roles.update/roleId": role_id +"/admin:directory_v1/directory.schemas.delete": delete_schema +"/admin:directory_v1/directory.schemas.delete/customerId": customer_id +"/admin:directory_v1/directory.schemas.delete/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.get": get_schema +"/admin:directory_v1/directory.schemas.get/customerId": customer_id +"/admin:directory_v1/directory.schemas.get/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.insert": insert_schema +"/admin:directory_v1/directory.schemas.insert/customerId": customer_id +"/admin:directory_v1/directory.schemas.list": list_schemas +"/admin:directory_v1/directory.schemas.list/customerId": customer_id +"/admin:directory_v1/directory.schemas.patch": patch_schema +"/admin:directory_v1/directory.schemas.patch/customerId": customer_id +"/admin:directory_v1/directory.schemas.patch/schemaKey": schema_key +"/admin:directory_v1/directory.schemas.update": update_schema +"/admin:directory_v1/directory.schemas.update/customerId": customer_id +"/admin:directory_v1/directory.schemas.update/schemaKey": schema_key +"/admin:directory_v1/directory.tokens.delete": delete_token +"/admin:directory_v1/directory.tokens.delete/clientId": client_id +"/admin:directory_v1/directory.tokens.delete/userKey": user_key +"/admin:directory_v1/directory.tokens.get": get_token +"/admin:directory_v1/directory.tokens.get/clientId": client_id +"/admin:directory_v1/directory.tokens.get/userKey": user_key +"/admin:directory_v1/directory.tokens.list": list_tokens +"/admin:directory_v1/directory.tokens.list/userKey": user_key +"/admin:directory_v1/directory.users.delete": delete_user +"/admin:directory_v1/directory.users.delete/userKey": user_key +"/admin:directory_v1/directory.users.get": get_user +"/admin:directory_v1/directory.users.get/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.get/projection": projection +"/admin:directory_v1/directory.users.get/userKey": user_key +"/admin:directory_v1/directory.users.get/viewType": view_type +"/admin:directory_v1/directory.users.insert": insert_user +"/admin:directory_v1/directory.users.list": list_users +"/admin:directory_v1/directory.users.list/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.list/customer": customer +"/admin:directory_v1/directory.users.list/domain": domain +"/admin:directory_v1/directory.users.list/event": event +"/admin:directory_v1/directory.users.list/maxResults": max_results +"/admin:directory_v1/directory.users.list/orderBy": order_by +"/admin:directory_v1/directory.users.list/pageToken": page_token +"/admin:directory_v1/directory.users.list/projection": projection +"/admin:directory_v1/directory.users.list/query": query +"/admin:directory_v1/directory.users.list/showDeleted": show_deleted +"/admin:directory_v1/directory.users.list/sortOrder": sort_order +"/admin:directory_v1/directory.users.list/viewType": view_type +"/admin:directory_v1/directory.users.makeAdmin": make_user_admin +"/admin:directory_v1/directory.users.makeAdmin/userKey": user_key +"/admin:directory_v1/directory.users.patch": patch_user +"/admin:directory_v1/directory.users.patch/userKey": user_key +"/admin:directory_v1/directory.users.undelete": undelete_user +"/admin:directory_v1/directory.users.undelete/userKey": user_key +"/admin:directory_v1/directory.users.update": update_user +"/admin:directory_v1/directory.users.update/userKey": user_key +"/admin:directory_v1/directory.users.watch": watch_user +"/admin:directory_v1/directory.users.watch/customFieldMask": custom_field_mask +"/admin:directory_v1/directory.users.watch/customer": customer +"/admin:directory_v1/directory.users.watch/domain": domain +"/admin:directory_v1/directory.users.watch/event": event +"/admin:directory_v1/directory.users.watch/maxResults": max_results +"/admin:directory_v1/directory.users.watch/orderBy": order_by +"/admin:directory_v1/directory.users.watch/pageToken": page_token +"/admin:directory_v1/directory.users.watch/projection": projection +"/admin:directory_v1/directory.users.watch/query": query +"/admin:directory_v1/directory.users.watch/showDeleted": show_deleted +"/admin:directory_v1/directory.users.watch/sortOrder": sort_order +"/admin:directory_v1/directory.users.watch/viewType": view_type +"/admin:directory_v1/directory.users.aliases.delete": delete_user_alias +"/admin:directory_v1/directory.users.aliases.delete/userKey": user_key +"/admin:directory_v1/directory.users.aliases.insert": insert_user_alias +"/admin:directory_v1/directory.users.aliases.insert/userKey": user_key +"/admin:directory_v1/directory.users.aliases.list": list_user_aliases +"/admin:directory_v1/directory.users.aliases.list/event": event +"/admin:directory_v1/directory.users.aliases.list/userKey": user_key +"/admin:directory_v1/directory.users.aliases.watch": watch_user_alias +"/admin:directory_v1/directory.users.aliases.watch/event": event +"/admin:directory_v1/directory.users.aliases.watch/userKey": user_key +"/admin:directory_v1/directory.users.photos.delete": delete_user_photo +"/admin:directory_v1/directory.users.photos.delete/userKey": user_key +"/admin:directory_v1/directory.users.photos.get": get_user_photo +"/admin:directory_v1/directory.users.photos.get/userKey": user_key +"/admin:directory_v1/directory.users.photos.patch": patch_user_photo +"/admin:directory_v1/directory.users.photos.patch/userKey": user_key +"/admin:directory_v1/directory.users.photos.update": update_user_photo +"/admin:directory_v1/directory.users.photos.update/userKey": user_key +"/admin:directory_v1/directory.verificationCodes.generate": generate_verification_code +"/admin:directory_v1/directory.verificationCodes.generate/userKey": user_key +"/admin:directory_v1/directory.verificationCodes.invalidate": invalidate_verification_code +"/admin:directory_v1/directory.verificationCodes.invalidate/userKey": user_key +"/admin:directory_v1/directory.verificationCodes.list": list_verification_codes +"/admin:directory_v1/directory.verificationCodes.list/userKey": user_key +"/admin:directory_v1/Alias": alias +"/admin:directory_v1/Alias/alias": alias +"/admin:directory_v1/Alias/etag": etag +"/admin:directory_v1/Alias/id": id +"/admin:directory_v1/Alias/kind": kind +"/admin:directory_v1/Alias/primaryEmail": primary_email +"/admin:directory_v1/Aliases": aliases +"/admin:directory_v1/Aliases/aliases": aliases +"/admin:directory_v1/Aliases/aliases/alias": alias +"/admin:directory_v1/Aliases/etag": etag +"/admin:directory_v1/Aliases/kind": kind +"/admin:directory_v1/Asp": asp +"/admin:directory_v1/Asp/codeId": code_id +"/admin:directory_v1/Asp/creationTime": creation_time +"/admin:directory_v1/Asp/etag": etag +"/admin:directory_v1/Asp/kind": kind +"/admin:directory_v1/Asp/lastTimeUsed": last_time_used +"/admin:directory_v1/Asp/name": name +"/admin:directory_v1/Asp/userKey": user_key +"/admin:directory_v1/Asps": asps +"/admin:directory_v1/Asps/etag": etag +"/admin:directory_v1/Asps/items": items +"/admin:directory_v1/Asps/items/item": item +"/admin:directory_v1/Asps/kind": kind +"/admin:directory_v1/CalendarResource": calendar_resource +"/admin:directory_v1/CalendarResource/etags": etags +"/admin:directory_v1/CalendarResource/kind": kind +"/admin:directory_v1/CalendarResource/resourceDescription": resource_description +"/admin:directory_v1/CalendarResource/resourceEmail": resource_email +"/admin:directory_v1/CalendarResource/resourceId": resource_id +"/admin:directory_v1/CalendarResource/resourceName": resource_name +"/admin:directory_v1/CalendarResource/resourceType": resource_type +"/admin:directory_v1/CalendarResources": calendar_resources +"/admin:directory_v1/CalendarResources/etag": etag +"/admin:directory_v1/CalendarResources/items": items +"/admin:directory_v1/CalendarResources/items/item": item +"/admin:directory_v1/CalendarResources/kind": kind +"/admin:directory_v1/CalendarResources/nextPageToken": next_page_token +"/admin:directory_v1/Channel": channel +"/admin:directory_v1/Channel/address": address +"/admin:directory_v1/Channel/expiration": expiration +"/admin:directory_v1/Channel/id": id +"/admin:directory_v1/Channel/kind": kind +"/admin:directory_v1/Channel/params": params +"/admin:directory_v1/Channel/params/param": param +"/admin:directory_v1/Channel/payload": payload +"/admin:directory_v1/Channel/resourceId": resource_id +"/admin:directory_v1/Channel/resourceUri": resource_uri +"/admin:directory_v1/Channel/token": token +"/admin:directory_v1/Channel/type": type +"/admin:directory_v1/ChromeOsDevice": chrome_os_device +"/admin:directory_v1/ChromeOsDevice/activeTimeRanges": active_time_ranges +"/admin:directory_v1/ChromeOsDevice/activeTimeRanges/active_time_range": active_time_range +"/admin:directory_v1/ChromeOsDevice/activeTimeRanges/active_time_range/activeTime": active_time +"/admin:directory_v1/ChromeOsDevice/activeTimeRanges/active_time_range/date": date +"/admin:directory_v1/ChromeOsDevice/annotatedAssetId": annotated_asset_id +"/admin:directory_v1/ChromeOsDevice/annotatedLocation": annotated_location +"/admin:directory_v1/ChromeOsDevice/annotatedUser": annotated_user +"/admin:directory_v1/ChromeOsDevice/bootMode": boot_mode +"/admin:directory_v1/ChromeOsDevice/deviceId": device_id +"/admin:directory_v1/ChromeOsDevice/etag": etag +"/admin:directory_v1/ChromeOsDevice/ethernetMacAddress": ethernet_mac_address +"/admin:directory_v1/ChromeOsDevice/firmwareVersion": firmware_version +"/admin:directory_v1/ChromeOsDevice/kind": kind +"/admin:directory_v1/ChromeOsDevice/lastEnrollmentTime": last_enrollment_time +"/admin:directory_v1/ChromeOsDevice/lastSync": last_sync +"/admin:directory_v1/ChromeOsDevice/macAddress": mac_address +"/admin:directory_v1/ChromeOsDevice/meid": meid +"/admin:directory_v1/ChromeOsDevice/model": model +"/admin:directory_v1/ChromeOsDevice/notes": notes +"/admin:directory_v1/ChromeOsDevice/orderNumber": order_number +"/admin:directory_v1/ChromeOsDevice/orgUnitPath": org_unit_path +"/admin:directory_v1/ChromeOsDevice/osVersion": os_version +"/admin:directory_v1/ChromeOsDevice/platformVersion": platform_version +"/admin:directory_v1/ChromeOsDevice/recentUsers": recent_users +"/admin:directory_v1/ChromeOsDevice/recentUsers/recent_user": recent_user +"/admin:directory_v1/ChromeOsDevice/recentUsers/recent_user/email": email +"/admin:directory_v1/ChromeOsDevice/recentUsers/recent_user/type": type +"/admin:directory_v1/ChromeOsDevice/serialNumber": serial_number +"/admin:directory_v1/ChromeOsDevice/status": status +"/admin:directory_v1/ChromeOsDevice/supportEndDate": support_end_date +"/admin:directory_v1/ChromeOsDevice/willAutoRenew": will_auto_renew +"/admin:directory_v1/ChromeOsDeviceAction": chrome_os_device_action +"/admin:directory_v1/ChromeOsDeviceAction/action": action +"/admin:directory_v1/ChromeOsDeviceAction/deprovisionReason": deprovision_reason +"/admin:directory_v1/ChromeOsDevices": chrome_os_devices +"/admin:directory_v1/ChromeOsDevices/chromeosdevices": chromeosdevices +"/admin:directory_v1/ChromeOsDevices/chromeosdevices/chromeosdevice": chromeosdevice +"/admin:directory_v1/ChromeOsDevices/etag": etag +"/admin:directory_v1/ChromeOsDevices/kind": kind +"/admin:directory_v1/ChromeOsDevices/nextPageToken": next_page_token +"/admin:directory_v1/Customer": customer +"/admin:directory_v1/Customer/alternateEmail": alternate_email +"/admin:directory_v1/Customer/customerCreationTime": customer_creation_time +"/admin:directory_v1/Customer/customerDomain": customer_domain +"/admin:directory_v1/Customer/etag": etag +"/admin:directory_v1/Customer/id": id +"/admin:directory_v1/Customer/kind": kind +"/admin:directory_v1/Customer/language": language +"/admin:directory_v1/Customer/phoneNumber": phone_number +"/admin:directory_v1/Customer/postalAddress": postal_address +"/admin:directory_v1/CustomerPostalAddress": customer_postal_address +"/admin:directory_v1/CustomerPostalAddress/addressLine1": address_line1 +"/admin:directory_v1/CustomerPostalAddress/addressLine2": address_line2 +"/admin:directory_v1/CustomerPostalAddress/addressLine3": address_line3 +"/admin:directory_v1/CustomerPostalAddress/contactName": contact_name +"/admin:directory_v1/CustomerPostalAddress/countryCode": country_code +"/admin:directory_v1/CustomerPostalAddress/locality": locality +"/admin:directory_v1/CustomerPostalAddress/organizationName": organization_name +"/admin:directory_v1/CustomerPostalAddress/postalCode": postal_code +"/admin:directory_v1/CustomerPostalAddress/region": region +"/admin:directory_v1/DomainAlias": domain_alias +"/admin:directory_v1/DomainAlias/creationTime": creation_time +"/admin:directory_v1/DomainAlias/domainAliasName": domain_alias_name +"/admin:directory_v1/DomainAlias/etag": etag +"/admin:directory_v1/DomainAlias/kind": kind +"/admin:directory_v1/DomainAlias/parentDomainName": parent_domain_name +"/admin:directory_v1/DomainAlias/verified": verified +"/admin:directory_v1/DomainAliases": domain_aliases +"/admin:directory_v1/DomainAliases/domainAliases": domain_aliases +"/admin:directory_v1/DomainAliases/domainAliases/domain_alias": domain_alias +"/admin:directory_v1/DomainAliases/etag": etag +"/admin:directory_v1/DomainAliases/kind": kind +"/admin:directory_v1/Domains": domains +"/admin:directory_v1/Domains/creationTime": creation_time +"/admin:directory_v1/Domains/domainAliases": domain_aliases +"/admin:directory_v1/Domains/domainAliases/domain_alias": domain_alias +"/admin:directory_v1/Domains/domainName": domain_name +"/admin:directory_v1/Domains/etag": etag +"/admin:directory_v1/Domains/isPrimary": is_primary +"/admin:directory_v1/Domains/kind": kind +"/admin:directory_v1/Domains/verified": verified +"/admin:directory_v1/Domains2": domains2 +"/admin:directory_v1/Domains2/domains": domains +"/admin:directory_v1/Domains2/domains/domain": domain +"/admin:directory_v1/Domains2/etag": etag +"/admin:directory_v1/Domains2/kind": kind +"/admin:directory_v1/Group": group +"/admin:directory_v1/Group/adminCreated": admin_created +"/admin:directory_v1/Group/aliases": aliases +"/admin:directory_v1/Group/aliases/alias": alias +"/admin:directory_v1/Group/description": description +"/admin:directory_v1/Group/directMembersCount": direct_members_count +"/admin:directory_v1/Group/email": email +"/admin:directory_v1/Group/etag": etag +"/admin:directory_v1/Group/id": id +"/admin:directory_v1/Group/kind": kind +"/admin:directory_v1/Group/name": name +"/admin:directory_v1/Group/nonEditableAliases": non_editable_aliases +"/admin:directory_v1/Group/nonEditableAliases/non_editable_alias": non_editable_alias +"/admin:directory_v1/Groups": groups +"/admin:directory_v1/Groups/etag": etag +"/admin:directory_v1/Groups/groups": groups +"/admin:directory_v1/Groups/groups/group": group +"/admin:directory_v1/Groups/kind": kind +"/admin:directory_v1/Groups/nextPageToken": next_page_token +"/admin:directory_v1/Member": member +"/admin:directory_v1/Member/email": email +"/admin:directory_v1/Member/etag": etag +"/admin:directory_v1/Member/id": id +"/admin:directory_v1/Member/kind": kind +"/admin:directory_v1/Member/role": role +"/admin:directory_v1/Member/status": status +"/admin:directory_v1/Member/type": type +"/admin:directory_v1/Members": members +"/admin:directory_v1/Members/etag": etag +"/admin:directory_v1/Members/kind": kind +"/admin:directory_v1/Members/members": members +"/admin:directory_v1/Members/members/member": member +"/admin:directory_v1/Members/nextPageToken": next_page_token +"/admin:directory_v1/MobileDevice": mobile_device +"/admin:directory_v1/MobileDevice/adbStatus": adb_status +"/admin:directory_v1/MobileDevice/applications": applications +"/admin:directory_v1/MobileDevice/applications/application": application +"/admin:directory_v1/MobileDevice/applications/application/displayName": display_name +"/admin:directory_v1/MobileDevice/applications/application/packageName": package_name +"/admin:directory_v1/MobileDevice/applications/application/permission": permission +"/admin:directory_v1/MobileDevice/applications/application/permission/permission": permission +"/admin:directory_v1/MobileDevice/applications/application/versionCode": version_code +"/admin:directory_v1/MobileDevice/applications/application/versionName": version_name +"/admin:directory_v1/MobileDevice/basebandVersion": baseband_version +"/admin:directory_v1/MobileDevice/bootloaderVersion": bootloader_version +"/admin:directory_v1/MobileDevice/brand": brand +"/admin:directory_v1/MobileDevice/buildNumber": build_number +"/admin:directory_v1/MobileDevice/defaultLanguage": default_language +"/admin:directory_v1/MobileDevice/developerOptionsStatus": developer_options_status +"/admin:directory_v1/MobileDevice/deviceCompromisedStatus": device_compromised_status +"/admin:directory_v1/MobileDevice/deviceId": device_id +"/admin:directory_v1/MobileDevice/devicePasswordStatus": device_password_status +"/admin:directory_v1/MobileDevice/email": email +"/admin:directory_v1/MobileDevice/email/email": email +"/admin:directory_v1/MobileDevice/encryptionStatus": encryption_status +"/admin:directory_v1/MobileDevice/etag": etag +"/admin:directory_v1/MobileDevice/firstSync": first_sync +"/admin:directory_v1/MobileDevice/hardware": hardware +"/admin:directory_v1/MobileDevice/hardwareId": hardware_id +"/admin:directory_v1/MobileDevice/imei": imei +"/admin:directory_v1/MobileDevice/kernelVersion": kernel_version +"/admin:directory_v1/MobileDevice/kind": kind +"/admin:directory_v1/MobileDevice/lastSync": last_sync +"/admin:directory_v1/MobileDevice/managedAccountIsOnOwnerProfile": managed_account_is_on_owner_profile +"/admin:directory_v1/MobileDevice/manufacturer": manufacturer +"/admin:directory_v1/MobileDevice/meid": meid +"/admin:directory_v1/MobileDevice/model": model +"/admin:directory_v1/MobileDevice/name": name +"/admin:directory_v1/MobileDevice/name/name": name +"/admin:directory_v1/MobileDevice/networkOperator": network_operator +"/admin:directory_v1/MobileDevice/os": os +"/admin:directory_v1/MobileDevice/otherAccountsInfo": other_accounts_info +"/admin:directory_v1/MobileDevice/otherAccountsInfo/other_accounts_info": other_accounts_info +"/admin:directory_v1/MobileDevice/privilege": privilege +"/admin:directory_v1/MobileDevice/releaseVersion": release_version +"/admin:directory_v1/MobileDevice/resourceId": resource_id +"/admin:directory_v1/MobileDevice/securityPatchLevel": security_patch_level +"/admin:directory_v1/MobileDevice/serialNumber": serial_number +"/admin:directory_v1/MobileDevice/status": status +"/admin:directory_v1/MobileDevice/supportsWorkProfile": supports_work_profile +"/admin:directory_v1/MobileDevice/type": type +"/admin:directory_v1/MobileDevice/unknownSourcesStatus": unknown_sources_status +"/admin:directory_v1/MobileDevice/userAgent": user_agent +"/admin:directory_v1/MobileDevice/wifiMacAddress": wifi_mac_address +"/admin:directory_v1/MobileDeviceAction": mobile_device_action +"/admin:directory_v1/MobileDeviceAction/action": action +"/admin:directory_v1/MobileDevices": mobile_devices +"/admin:directory_v1/MobileDevices/etag": etag +"/admin:directory_v1/MobileDevices/kind": kind +"/admin:directory_v1/MobileDevices/mobiledevices": mobiledevices +"/admin:directory_v1/MobileDevices/mobiledevices/mobiledevice": mobiledevice +"/admin:directory_v1/MobileDevices/nextPageToken": next_page_token +"/admin:directory_v1/Notification": notification +"/admin:directory_v1/Notification/body": body +"/admin:directory_v1/Notification/etag": etag +"/admin:directory_v1/Notification/fromAddress": from_address +"/admin:directory_v1/Notification/isUnread": is_unread +"/admin:directory_v1/Notification/kind": kind +"/admin:directory_v1/Notification/notificationId": notification_id +"/admin:directory_v1/Notification/sendTime": send_time +"/admin:directory_v1/Notification/subject": subject +"/admin:directory_v1/Notifications": notifications +"/admin:directory_v1/Notifications/etag": etag +"/admin:directory_v1/Notifications/items": items +"/admin:directory_v1/Notifications/items/item": item +"/admin:directory_v1/Notifications/kind": kind +"/admin:directory_v1/Notifications/nextPageToken": next_page_token +"/admin:directory_v1/Notifications/unreadNotificationsCount": unread_notifications_count +"/admin:directory_v1/OrgUnit": org_unit +"/admin:directory_v1/OrgUnit/blockInheritance": block_inheritance +"/admin:directory_v1/OrgUnit/description": description +"/admin:directory_v1/OrgUnit/etag": etag +"/admin:directory_v1/OrgUnit/kind": kind +"/admin:directory_v1/OrgUnit/name": name +"/admin:directory_v1/OrgUnit/orgUnitId": org_unit_id +"/admin:directory_v1/OrgUnit/orgUnitPath": org_unit_path +"/admin:directory_v1/OrgUnit/parentOrgUnitId": parent_org_unit_id +"/admin:directory_v1/OrgUnit/parentOrgUnitPath": parent_org_unit_path +"/admin:directory_v1/OrgUnits": org_units +"/admin:directory_v1/OrgUnits/etag": etag +"/admin:directory_v1/OrgUnits/kind": kind +"/admin:directory_v1/OrgUnits/organizationUnits": organization_units +"/admin:directory_v1/OrgUnits/organizationUnits/organization_unit": organization_unit +"/admin:directory_v1/Privilege": privilege +"/admin:directory_v1/Privilege/childPrivileges": child_privileges +"/admin:directory_v1/Privilege/childPrivileges/child_privilege": child_privilege +"/admin:directory_v1/Privilege/etag": etag +"/admin:directory_v1/Privilege/isOuScopable": is_ou_scopable +"/admin:directory_v1/Privilege/kind": kind +"/admin:directory_v1/Privilege/privilegeName": privilege_name +"/admin:directory_v1/Privilege/serviceId": service_id +"/admin:directory_v1/Privilege/serviceName": service_name +"/admin:directory_v1/Privileges": privileges +"/admin:directory_v1/Privileges/etag": etag +"/admin:directory_v1/Privileges/items": items +"/admin:directory_v1/Privileges/items/item": item +"/admin:directory_v1/Privileges/kind": kind +"/admin:directory_v1/Role": role +"/admin:directory_v1/Role/etag": etag +"/admin:directory_v1/Role/isSuperAdminRole": is_super_admin_role +"/admin:directory_v1/Role/isSystemRole": is_system_role +"/admin:directory_v1/Role/kind": kind +"/admin:directory_v1/Role/roleDescription": role_description +"/admin:directory_v1/Role/roleId": role_id +"/admin:directory_v1/Role/roleName": role_name +"/admin:directory_v1/Role/rolePrivileges": role_privileges +"/admin:directory_v1/Role/rolePrivileges/role_privilege": role_privilege +"/admin:directory_v1/Role/rolePrivileges/role_privilege/privilegeName": privilege_name +"/admin:directory_v1/Role/rolePrivileges/role_privilege/serviceId": service_id +"/admin:directory_v1/RoleAssignment": role_assignment +"/admin:directory_v1/RoleAssignment/assignedTo": assigned_to +"/admin:directory_v1/RoleAssignment/etag": etag +"/admin:directory_v1/RoleAssignment/kind": kind +"/admin:directory_v1/RoleAssignment/orgUnitId": org_unit_id +"/admin:directory_v1/RoleAssignment/roleAssignmentId": role_assignment_id +"/admin:directory_v1/RoleAssignment/roleId": role_id +"/admin:directory_v1/RoleAssignment/scopeType": scope_type +"/admin:directory_v1/RoleAssignments": role_assignments +"/admin:directory_v1/RoleAssignments/etag": etag +"/admin:directory_v1/RoleAssignments/items": items +"/admin:directory_v1/RoleAssignments/items/item": item +"/admin:directory_v1/RoleAssignments/kind": kind +"/admin:directory_v1/RoleAssignments/nextPageToken": next_page_token +"/admin:directory_v1/Roles": roles +"/admin:directory_v1/Roles/etag": etag +"/admin:directory_v1/Roles/items": items +"/admin:directory_v1/Roles/items/item": item +"/admin:directory_v1/Roles/kind": kind +"/admin:directory_v1/Roles/nextPageToken": next_page_token +"/admin:directory_v1/Schema": schema +"/admin:directory_v1/Schema/etag": etag +"/admin:directory_v1/Schema/fields": fields +"/admin:directory_v1/Schema/fields/field": field +"/admin:directory_v1/Schema/kind": kind +"/admin:directory_v1/Schema/schemaId": schema_id +"/admin:directory_v1/Schema/schemaName": schema_name +"/admin:directory_v1/SchemaFieldSpec": schema_field_spec +"/admin:directory_v1/SchemaFieldSpec/etag": etag +"/admin:directory_v1/SchemaFieldSpec/fieldId": field_id +"/admin:directory_v1/SchemaFieldSpec/fieldName": field_name +"/admin:directory_v1/SchemaFieldSpec/fieldType": field_type +"/admin:directory_v1/SchemaFieldSpec/indexed": indexed +"/admin:directory_v1/SchemaFieldSpec/kind": kind +"/admin:directory_v1/SchemaFieldSpec/multiValued": multi_valued +"/admin:directory_v1/SchemaFieldSpec/numericIndexingSpec": numeric_indexing_spec +"/admin:directory_v1/SchemaFieldSpec/numericIndexingSpec/maxValue": max_value +"/admin:directory_v1/SchemaFieldSpec/numericIndexingSpec/minValue": min_value +"/admin:directory_v1/SchemaFieldSpec/readAccessType": read_access_type +"/admin:directory_v1/Schemas": schemas +"/admin:directory_v1/Schemas/etag": etag +"/admin:directory_v1/Schemas/kind": kind +"/admin:directory_v1/Schemas/schemas": schemas +"/admin:directory_v1/Schemas/schemas/schema": schema +"/admin:directory_v1/Token": token +"/admin:directory_v1/Token/anonymous": anonymous +"/admin:directory_v1/Token/clientId": client_id +"/admin:directory_v1/Token/displayText": display_text +"/admin:directory_v1/Token/etag": etag +"/admin:directory_v1/Token/kind": kind +"/admin:directory_v1/Token/nativeApp": native_app +"/admin:directory_v1/Token/scopes": scopes +"/admin:directory_v1/Token/scopes/scope": scope +"/admin:directory_v1/Token/userKey": user_key +"/admin:directory_v1/Tokens": tokens +"/admin:directory_v1/Tokens/etag": etag +"/admin:directory_v1/Tokens/items": items +"/admin:directory_v1/Tokens/items/item": item +"/admin:directory_v1/Tokens/kind": kind +"/admin:directory_v1/User": user +"/admin:directory_v1/User/addresses": addresses +"/admin:directory_v1/User/agreedToTerms": agreed_to_terms +"/admin:directory_v1/User/aliases": aliases +"/admin:directory_v1/User/aliases/alias": alias +"/admin:directory_v1/User/changePasswordAtNextLogin": change_password_at_next_login +"/admin:directory_v1/User/creationTime": creation_time +"/admin:directory_v1/User/customSchemas": custom_schemas +"/admin:directory_v1/User/customSchemas/custom_schema": custom_schema +"/admin:directory_v1/User/customerId": customer_id +"/admin:directory_v1/User/deletionTime": deletion_time +"/admin:directory_v1/User/emails": emails +"/admin:directory_v1/User/etag": etag +"/admin:directory_v1/User/externalIds": external_ids +"/admin:directory_v1/User/hashFunction": hash_function +"/admin:directory_v1/User/id": id +"/admin:directory_v1/User/ims": ims +"/admin:directory_v1/User/includeInGlobalAddressList": include_in_global_address_list +"/admin:directory_v1/User/ipWhitelisted": ip_whitelisted +"/admin:directory_v1/User/isAdmin": is_admin +"/admin:directory_v1/User/isDelegatedAdmin": is_delegated_admin +"/admin:directory_v1/User/isEnforcedIn2Sv": is_enforced_in2_sv +"/admin:directory_v1/User/isEnrolledIn2Sv": is_enrolled_in2_sv +"/admin:directory_v1/User/isMailboxSetup": is_mailbox_setup +"/admin:directory_v1/User/kind": kind +"/admin:directory_v1/User/lastLoginTime": last_login_time +"/admin:directory_v1/User/name": name +"/admin:directory_v1/User/nonEditableAliases": non_editable_aliases +"/admin:directory_v1/User/nonEditableAliases/non_editable_alias": non_editable_alias +"/admin:directory_v1/User/notes": notes +"/admin:directory_v1/User/orgUnitPath": org_unit_path +"/admin:directory_v1/User/organizations": organizations +"/admin:directory_v1/User/password": password +"/admin:directory_v1/User/phones": phones +"/admin:directory_v1/User/primaryEmail": primary_email +"/admin:directory_v1/User/relations": relations +"/admin:directory_v1/User/suspended": suspended +"/admin:directory_v1/User/suspensionReason": suspension_reason +"/admin:directory_v1/User/thumbnailPhotoEtag": thumbnail_photo_etag +"/admin:directory_v1/User/thumbnailPhotoUrl": thumbnail_photo_url +"/admin:directory_v1/User/websites": websites +"/admin:directory_v1/UserAbout": user_about +"/admin:directory_v1/UserAbout/contentType": content_type +"/admin:directory_v1/UserAbout/value": value +"/admin:directory_v1/UserAddress": user_address +"/admin:directory_v1/UserAddress/country": country +"/admin:directory_v1/UserAddress/countryCode": country_code +"/admin:directory_v1/UserAddress/customType": custom_type +"/admin:directory_v1/UserAddress/extendedAddress": extended_address +"/admin:directory_v1/UserAddress/formatted": formatted +"/admin:directory_v1/UserAddress/locality": locality +"/admin:directory_v1/UserAddress/poBox": po_box +"/admin:directory_v1/UserAddress/postalCode": postal_code +"/admin:directory_v1/UserAddress/primary": primary +"/admin:directory_v1/UserAddress/region": region +"/admin:directory_v1/UserAddress/sourceIsStructured": source_is_structured +"/admin:directory_v1/UserAddress/streetAddress": street_address +"/admin:directory_v1/UserAddress/type": type +"/admin:directory_v1/UserCustomProperties": user_custom_properties +"/admin:directory_v1/UserCustomProperties/user_custom_property": user_custom_property +"/admin:directory_v1/UserEmail": user_email +"/admin:directory_v1/UserEmail/address": address +"/admin:directory_v1/UserEmail/customType": custom_type +"/admin:directory_v1/UserEmail/primary": primary +"/admin:directory_v1/UserEmail/type": type +"/admin:directory_v1/UserExternalId": user_external_id +"/admin:directory_v1/UserExternalId/customType": custom_type +"/admin:directory_v1/UserExternalId/type": type +"/admin:directory_v1/UserExternalId/value": value +"/admin:directory_v1/UserIm": user_im +"/admin:directory_v1/UserIm/customProtocol": custom_protocol +"/admin:directory_v1/UserIm/customType": custom_type +"/admin:directory_v1/UserIm/im": im +"/admin:directory_v1/UserIm/primary": primary +"/admin:directory_v1/UserIm/protocol": protocol +"/admin:directory_v1/UserIm/type": type +"/admin:directory_v1/UserMakeAdmin": user_make_admin +"/admin:directory_v1/UserMakeAdmin/status": status +"/admin:directory_v1/UserName": user_name +"/admin:directory_v1/UserName/familyName": family_name +"/admin:directory_v1/UserName/fullName": full_name +"/admin:directory_v1/UserName/givenName": given_name +"/admin:directory_v1/UserOrganization": user_organization +"/admin:directory_v1/UserOrganization/costCenter": cost_center +"/admin:directory_v1/UserOrganization/customType": custom_type +"/admin:directory_v1/UserOrganization/department": department +"/admin:directory_v1/UserOrganization/description": description +"/admin:directory_v1/UserOrganization/domain": domain +"/admin:directory_v1/UserOrganization/location": location +"/admin:directory_v1/UserOrganization/name": name +"/admin:directory_v1/UserOrganization/primary": primary +"/admin:directory_v1/UserOrganization/symbol": symbol +"/admin:directory_v1/UserOrganization/title": title +"/admin:directory_v1/UserOrganization/type": type +"/admin:directory_v1/UserPhone": user_phone +"/admin:directory_v1/UserPhone/customType": custom_type +"/admin:directory_v1/UserPhone/primary": primary +"/admin:directory_v1/UserPhone/type": type +"/admin:directory_v1/UserPhone/value": value +"/admin:directory_v1/UserPhoto": user_photo +"/admin:directory_v1/UserPhoto/etag": etag +"/admin:directory_v1/UserPhoto/height": height +"/admin:directory_v1/UserPhoto/id": id +"/admin:directory_v1/UserPhoto/kind": kind +"/admin:directory_v1/UserPhoto/mimeType": mime_type +"/admin:directory_v1/UserPhoto/photoData": photo_data +"/admin:directory_v1/UserPhoto/primaryEmail": primary_email +"/admin:directory_v1/UserPhoto/width": width +"/admin:directory_v1/UserRelation": user_relation +"/admin:directory_v1/UserRelation/customType": custom_type +"/admin:directory_v1/UserRelation/type": type +"/admin:directory_v1/UserRelation/value": value +"/admin:directory_v1/UserUndelete": user_undelete +"/admin:directory_v1/UserUndelete/orgUnitPath": org_unit_path +"/admin:directory_v1/UserWebsite": user_website +"/admin:directory_v1/UserWebsite/customType": custom_type +"/admin:directory_v1/UserWebsite/primary": primary +"/admin:directory_v1/UserWebsite/type": type +"/admin:directory_v1/UserWebsite/value": value +"/admin:directory_v1/Users": users +"/admin:directory_v1/Users/etag": etag +"/admin:directory_v1/Users/kind": kind +"/admin:directory_v1/Users/nextPageToken": next_page_token +"/admin:directory_v1/Users/trigger_event": trigger_event +"/admin:directory_v1/Users/users": users +"/admin:directory_v1/Users/users/user": user +"/admin:directory_v1/VerificationCode": verification_code +"/admin:directory_v1/VerificationCode/etag": etag +"/admin:directory_v1/VerificationCode/kind": kind +"/admin:directory_v1/VerificationCode/userId": user_id +"/admin:directory_v1/VerificationCode/verificationCode": verification_code +"/admin:directory_v1/VerificationCodes": verification_codes +"/admin:directory_v1/VerificationCodes/etag": etag +"/admin:directory_v1/VerificationCodes/items": items +"/admin:directory_v1/VerificationCodes/items/item": item +"/admin:directory_v1/VerificationCodes/kind": kind +"/admin:reports_v1/fields": fields +"/admin:reports_v1/key": key +"/admin:reports_v1/quotaUser": quota_user +"/admin:reports_v1/userIp": user_ip +"/admin:reports_v1/reports.activities.list": list_activities +"/admin:reports_v1/reports.activities.list/actorIpAddress": actor_ip_address +"/admin:reports_v1/reports.activities.list/applicationName": application_name +"/admin:reports_v1/reports.activities.list/customerId": customer_id +"/admin:reports_v1/reports.activities.list/endTime": end_time +"/admin:reports_v1/reports.activities.list/eventName": event_name +"/admin:reports_v1/reports.activities.list/filters": filters +"/admin:reports_v1/reports.activities.list/maxResults": max_results +"/admin:reports_v1/reports.activities.list/pageToken": page_token +"/admin:reports_v1/reports.activities.list/startTime": start_time +"/admin:reports_v1/reports.activities.list/userKey": user_key +"/admin:reports_v1/reports.activities.watch": watch_activity +"/admin:reports_v1/reports.activities.watch/actorIpAddress": actor_ip_address +"/admin:reports_v1/reports.activities.watch/applicationName": application_name +"/admin:reports_v1/reports.activities.watch/customerId": customer_id +"/admin:reports_v1/reports.activities.watch/endTime": end_time +"/admin:reports_v1/reports.activities.watch/eventName": event_name +"/admin:reports_v1/reports.activities.watch/filters": filters +"/admin:reports_v1/reports.activities.watch/maxResults": max_results +"/admin:reports_v1/reports.activities.watch/pageToken": page_token +"/admin:reports_v1/reports.activities.watch/startTime": start_time +"/admin:reports_v1/reports.activities.watch/userKey": user_key +"/admin:reports_v1/admin.channels.stop": stop_channel +"/admin:reports_v1/reports.customerUsageReports.get": get_customer_usage_report +"/admin:reports_v1/reports.customerUsageReports.get/customerId": customer_id +"/admin:reports_v1/reports.customerUsageReports.get/date": date +"/admin:reports_v1/reports.customerUsageReports.get/pageToken": page_token +"/admin:reports_v1/reports.customerUsageReports.get/parameters": parameters +"/admin:reports_v1/reports.userUsageReport.get": get_user_usage_report +"/admin:reports_v1/reports.userUsageReport.get/customerId": customer_id +"/admin:reports_v1/reports.userUsageReport.get/date": date +"/admin:reports_v1/reports.userUsageReport.get/filters": filters +"/admin:reports_v1/reports.userUsageReport.get/maxResults": max_results +"/admin:reports_v1/reports.userUsageReport.get/pageToken": page_token +"/admin:reports_v1/reports.userUsageReport.get/parameters": parameters +"/admin:reports_v1/reports.userUsageReport.get/userKey": user_key +"/admin:reports_v1/Activities": activities +"/admin:reports_v1/Activities/etag": etag +"/admin:reports_v1/Activities/items": items +"/admin:reports_v1/Activities/items/item": item +"/admin:reports_v1/Activities/kind": kind +"/admin:reports_v1/Activities/nextPageToken": next_page_token +"/admin:reports_v1/Activity": activity +"/admin:reports_v1/Activity/actor": actor +"/admin:reports_v1/Activity/actor/callerType": caller_type +"/admin:reports_v1/Activity/actor/email": email +"/admin:reports_v1/Activity/actor/key": key +"/admin:reports_v1/Activity/actor/profileId": profile_id +"/admin:reports_v1/Activity/etag": etag +"/admin:reports_v1/Activity/events": events +"/admin:reports_v1/Activity/events/event": event +"/admin:reports_v1/Activity/events/event/name": name +"/admin:reports_v1/Activity/events/event/parameters": parameters +"/admin:reports_v1/Activity/events/event/parameters/parameter": parameter +"/admin:reports_v1/Activity/events/event/parameters/parameter/boolValue": bool_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/intValue": int_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/multiIntValue": multi_int_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/multiIntValue/multi_int_value": multi_int_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/multiValue": multi_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/multiValue/multi_value": multi_value +"/admin:reports_v1/Activity/events/event/parameters/parameter/name": name +"/admin:reports_v1/Activity/events/event/parameters/parameter/value": value +"/admin:reports_v1/Activity/events/event/type": type +"/admin:reports_v1/Activity/id": id +"/admin:reports_v1/Activity/id/applicationName": application_name +"/admin:reports_v1/Activity/id/customerId": customer_id +"/admin:reports_v1/Activity/id/time": time +"/admin:reports_v1/Activity/id/uniqueQualifier": unique_qualifier +"/admin:reports_v1/Activity/ipAddress": ip_address +"/admin:reports_v1/Activity/kind": kind +"/admin:reports_v1/Activity/ownerDomain": owner_domain +"/admin:reports_v1/Channel": channel +"/admin:reports_v1/Channel/address": address +"/admin:reports_v1/Channel/expiration": expiration +"/admin:reports_v1/Channel/id": id +"/admin:reports_v1/Channel/kind": kind +"/admin:reports_v1/Channel/params": params +"/admin:reports_v1/Channel/params/param": param +"/admin:reports_v1/Channel/payload": payload +"/admin:reports_v1/Channel/resourceId": resource_id +"/admin:reports_v1/Channel/resourceUri": resource_uri +"/admin:reports_v1/Channel/token": token +"/admin:reports_v1/Channel/type": type +"/admin:reports_v1/UsageReport": usage_report +"/admin:reports_v1/UsageReport/date": date +"/admin:reports_v1/UsageReport/entity": entity +"/admin:reports_v1/UsageReport/entity/customerId": customer_id +"/admin:reports_v1/UsageReport/entity/profileId": profile_id +"/admin:reports_v1/UsageReport/entity/type": type +"/admin:reports_v1/UsageReport/entity/userEmail": user_email +"/admin:reports_v1/UsageReport/etag": etag +"/admin:reports_v1/UsageReport/kind": kind +"/admin:reports_v1/UsageReport/parameters": parameters +"/admin:reports_v1/UsageReport/parameters/parameter": parameter +"/admin:reports_v1/UsageReport/parameters/parameter/boolValue": bool_value +"/admin:reports_v1/UsageReport/parameters/parameter/datetimeValue": datetime_value +"/admin:reports_v1/UsageReport/parameters/parameter/intValue": int_value +"/admin:reports_v1/UsageReport/parameters/parameter/msgValue": msg_value +"/admin:reports_v1/UsageReport/parameters/parameter/msgValue/msg_value": msg_value +"/admin:reports_v1/UsageReport/parameters/parameter/msgValue/msg_value/msg_value": msg_value +"/admin:reports_v1/UsageReport/parameters/parameter/name": name +"/admin:reports_v1/UsageReport/parameters/parameter/stringValue": string_value +"/admin:reports_v1/UsageReports": usage_reports +"/admin:reports_v1/UsageReports/etag": etag +"/admin:reports_v1/UsageReports/kind": kind +"/admin:reports_v1/UsageReports/nextPageToken": next_page_token +"/admin:reports_v1/UsageReports/usageReports": usage_reports +"/admin:reports_v1/UsageReports/usageReports/usage_report": usage_report +"/admin:reports_v1/UsageReports/warnings": warnings +"/admin:reports_v1/UsageReports/warnings/warning": warning +"/admin:reports_v1/UsageReports/warnings/warning/code": code +"/admin:reports_v1/UsageReports/warnings/warning/data": data +"/admin:reports_v1/UsageReports/warnings/warning/data/datum": datum +"/admin:reports_v1/UsageReports/warnings/warning/data/datum/key": key +"/admin:reports_v1/UsageReports/warnings/warning/data/datum/value": value +"/admin:reports_v1/UsageReports/warnings/warning/message": message +"/adsense:v1.4/fields": fields +"/adsense:v1.4/key": key +"/adsense:v1.4/quotaUser": quota_user +"/adsense:v1.4/userIp": user_ip +"/adsense:v1.4/adsense.accounts.get": get_account +"/adsense:v1.4/adsense.accounts.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.get/tree": tree +"/adsense:v1.4/adsense.accounts.list": list_accounts +"/adsense:v1.4/adsense.accounts.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adclients.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adclients.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adclients.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adunits.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.get/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.getAdCode/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.accounts.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.adunits.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.alerts.delete": delete_account_alert +"/adsense:v1.4/adsense.accounts.alerts.delete/accountId": account_id +"/adsense:v1.4/adsense.accounts.alerts.delete/alertId": alert_id +"/adsense:v1.4/adsense.accounts.alerts.list": list_account_alerts +"/adsense:v1.4/adsense.accounts.alerts.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.alerts.list/locale": locale +"/adsense:v1.4/adsense.accounts.customchannels.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.get/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.accounts.customchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.customchannels.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.payments.list": list_account_payments +"/adsense:v1.4/adsense.accounts.payments.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.generate": generate_account_report +"/adsense:v1.4/adsense.accounts.reports.generate/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.generate/currency": currency +"/adsense:v1.4/adsense.accounts.reports.generate/dimension": dimension +"/adsense:v1.4/adsense.accounts.reports.generate/endDate": end_date +"/adsense:v1.4/adsense.accounts.reports.generate/filter": filter +"/adsense:v1.4/adsense.accounts.reports.generate/locale": locale +"/adsense:v1.4/adsense.accounts.reports.generate/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.generate/metric": metric +"/adsense:v1.4/adsense.accounts.reports.generate/sort": sort +"/adsense:v1.4/adsense.accounts.reports.generate/startDate": start_date +"/adsense:v1.4/adsense.accounts.reports.generate/startIndex": start_index +"/adsense:v1.4/adsense.accounts.reports.generate/useTimezoneReporting": use_timezone_reporting +"/adsense:v1.4/adsense.accounts.reports.saved.generate/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.saved.generate/locale": locale +"/adsense:v1.4/adsense.accounts.reports.saved.generate/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.saved.generate/savedReportId": saved_report_id +"/adsense:v1.4/adsense.accounts.reports.saved.generate/startIndex": start_index +"/adsense:v1.4/adsense.accounts.reports.saved.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.reports.saved.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.reports.saved.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.savedadstyles.get/accountId": account_id +"/adsense:v1.4/adsense.accounts.savedadstyles.get/savedAdStyleId": saved_ad_style_id +"/adsense:v1.4/adsense.accounts.savedadstyles.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.savedadstyles.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.savedadstyles.list/pageToken": page_token +"/adsense:v1.4/adsense.accounts.urlchannels.list/accountId": account_id +"/adsense:v1.4/adsense.accounts.urlchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.accounts.urlchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.accounts.urlchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.adclients.list/maxResults": max_results +"/adsense:v1.4/adsense.adclients.list/pageToken": page_token +"/adsense:v1.4/adsense.adunits.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.get/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.getAdCode/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.getAdCode/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.adunits.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.adunits.customchannels.list/adUnitId": ad_unit_id +"/adsense:v1.4/adsense.adunits.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.adunits.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.alerts.delete": delete_alert +"/adsense:v1.4/adsense.alerts.delete/alertId": alert_id +"/adsense:v1.4/adsense.alerts.list": list_alerts +"/adsense:v1.4/adsense.alerts.list/locale": locale +"/adsense:v1.4/adsense.customchannels.get/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.get/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.customchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.customchannels.list/pageToken": page_token +"/adsense:v1.4/adsense.customchannels.adunits.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.customchannels.adunits.list/customChannelId": custom_channel_id +"/adsense:v1.4/adsense.customchannels.adunits.list/includeInactive": include_inactive +"/adsense:v1.4/adsense.customchannels.adunits.list/maxResults": max_results +"/adsense:v1.4/adsense.customchannels.adunits.list/pageToken": page_token +"/adsense:v1.4/adsense.payments.list": list_payments +"/adsense:v1.4/adsense.reports.generate": generate_report +"/adsense:v1.4/adsense.reports.generate/accountId": account_id +"/adsense:v1.4/adsense.reports.generate/currency": currency +"/adsense:v1.4/adsense.reports.generate/dimension": dimension +"/adsense:v1.4/adsense.reports.generate/endDate": end_date +"/adsense:v1.4/adsense.reports.generate/filter": filter +"/adsense:v1.4/adsense.reports.generate/locale": locale +"/adsense:v1.4/adsense.reports.generate/maxResults": max_results +"/adsense:v1.4/adsense.reports.generate/metric": metric +"/adsense:v1.4/adsense.reports.generate/sort": sort +"/adsense:v1.4/adsense.reports.generate/startDate": start_date +"/adsense:v1.4/adsense.reports.generate/startIndex": start_index +"/adsense:v1.4/adsense.reports.generate/useTimezoneReporting": use_timezone_reporting +"/adsense:v1.4/adsense.reports.saved.generate/locale": locale +"/adsense:v1.4/adsense.reports.saved.generate/maxResults": max_results +"/adsense:v1.4/adsense.reports.saved.generate/savedReportId": saved_report_id +"/adsense:v1.4/adsense.reports.saved.generate/startIndex": start_index +"/adsense:v1.4/adsense.reports.saved.list/maxResults": max_results +"/adsense:v1.4/adsense.reports.saved.list/pageToken": page_token +"/adsense:v1.4/adsense.savedadstyles.get/savedAdStyleId": saved_ad_style_id +"/adsense:v1.4/adsense.savedadstyles.list/maxResults": max_results +"/adsense:v1.4/adsense.savedadstyles.list/pageToken": page_token +"/adsense:v1.4/adsense.urlchannels.list/adClientId": ad_client_id +"/adsense:v1.4/adsense.urlchannels.list/maxResults": max_results +"/adsense:v1.4/adsense.urlchannels.list/pageToken": page_token +"/adsense:v1.4/Account": account +"/adsense:v1.4/Account/creation_time": creation_time +"/adsense:v1.4/Account/id": id +"/adsense:v1.4/Account/kind": kind +"/adsense:v1.4/Account/name": name +"/adsense:v1.4/Account/premium": premium +"/adsense:v1.4/Account/subAccounts": sub_accounts +"/adsense:v1.4/Account/subAccounts/sub_account": sub_account +"/adsense:v1.4/Account/timezone": timezone +"/adsense:v1.4/Accounts": accounts +"/adsense:v1.4/Accounts/etag": etag +"/adsense:v1.4/Accounts/items": items +"/adsense:v1.4/Accounts/items/item": item +"/adsense:v1.4/Accounts/kind": kind +"/adsense:v1.4/Accounts/nextPageToken": next_page_token +"/adsense:v1.4/AdClient": ad_client +"/adsense:v1.4/AdClient/arcOptIn": arc_opt_in +"/adsense:v1.4/AdClient/id": id +"/adsense:v1.4/AdClient/kind": kind +"/adsense:v1.4/AdClient/productCode": product_code +"/adsense:v1.4/AdClient/supportsReporting": supports_reporting +"/adsense:v1.4/AdClients": ad_clients +"/adsense:v1.4/AdClients/etag": etag +"/adsense:v1.4/AdClients/items": items +"/adsense:v1.4/AdClients/items/item": item +"/adsense:v1.4/AdClients/kind": kind +"/adsense:v1.4/AdClients/nextPageToken": next_page_token +"/adsense:v1.4/AdCode": ad_code +"/adsense:v1.4/AdCode/adCode": ad_code +"/adsense:v1.4/AdCode/kind": kind +"/adsense:v1.4/AdStyle": ad_style +"/adsense:v1.4/AdStyle/colors": colors +"/adsense:v1.4/AdStyle/colors/background": background +"/adsense:v1.4/AdStyle/colors/border": border +"/adsense:v1.4/AdStyle/colors/text": text +"/adsense:v1.4/AdStyle/colors/title": title +"/adsense:v1.4/AdStyle/colors/url": url +"/adsense:v1.4/AdStyle/corners": corners +"/adsense:v1.4/AdStyle/font": font +"/adsense:v1.4/AdStyle/font/family": family +"/adsense:v1.4/AdStyle/font/size": size +"/adsense:v1.4/AdStyle/kind": kind +"/adsense:v1.4/AdUnit": ad_unit +"/adsense:v1.4/AdUnit/code": code +"/adsense:v1.4/AdUnit/contentAdsSettings": content_ads_settings +"/adsense:v1.4/AdUnit/contentAdsSettings/backupOption": backup_option +"/adsense:v1.4/AdUnit/contentAdsSettings/backupOption/color": color +"/adsense:v1.4/AdUnit/contentAdsSettings/backupOption/type": type +"/adsense:v1.4/AdUnit/contentAdsSettings/backupOption/url": url +"/adsense:v1.4/AdUnit/contentAdsSettings/size": size +"/adsense:v1.4/AdUnit/contentAdsSettings/type": type +"/adsense:v1.4/AdUnit/customStyle": custom_style +"/adsense:v1.4/AdUnit/feedAdsSettings": feed_ads_settings +"/adsense:v1.4/AdUnit/feedAdsSettings/adPosition": ad_position +"/adsense:v1.4/AdUnit/feedAdsSettings/frequency": frequency +"/adsense:v1.4/AdUnit/feedAdsSettings/minimumWordCount": minimum_word_count +"/adsense:v1.4/AdUnit/feedAdsSettings/type": type +"/adsense:v1.4/AdUnit/id": id +"/adsense:v1.4/AdUnit/kind": kind +"/adsense:v1.4/AdUnit/mobileContentAdsSettings": mobile_content_ads_settings +"/adsense:v1.4/AdUnit/mobileContentAdsSettings/markupLanguage": markup_language +"/adsense:v1.4/AdUnit/mobileContentAdsSettings/scriptingLanguage": scripting_language +"/adsense:v1.4/AdUnit/mobileContentAdsSettings/size": size +"/adsense:v1.4/AdUnit/mobileContentAdsSettings/type": type +"/adsense:v1.4/AdUnit/name": name +"/adsense:v1.4/AdUnit/savedStyleId": saved_style_id +"/adsense:v1.4/AdUnit/status": status +"/adsense:v1.4/AdUnits": ad_units +"/adsense:v1.4/AdUnits/etag": etag +"/adsense:v1.4/AdUnits/items": items +"/adsense:v1.4/AdUnits/items/item": item +"/adsense:v1.4/AdUnits/kind": kind +"/adsense:v1.4/AdUnits/nextPageToken": next_page_token +"/adsense:v1.4/AdsenseReportsGenerateResponse/averages": averages +"/adsense:v1.4/AdsenseReportsGenerateResponse/averages/average": average +"/adsense:v1.4/AdsenseReportsGenerateResponse/endDate": end_date +"/adsense:v1.4/AdsenseReportsGenerateResponse/headers": headers +"/adsense:v1.4/AdsenseReportsGenerateResponse/headers/header": header +"/adsense:v1.4/AdsenseReportsGenerateResponse/headers/header/currency": currency +"/adsense:v1.4/AdsenseReportsGenerateResponse/headers/header/name": name +"/adsense:v1.4/AdsenseReportsGenerateResponse/headers/header/type": type +"/adsense:v1.4/AdsenseReportsGenerateResponse/kind": kind +"/adsense:v1.4/AdsenseReportsGenerateResponse/rows": rows +"/adsense:v1.4/AdsenseReportsGenerateResponse/rows/row": row +"/adsense:v1.4/AdsenseReportsGenerateResponse/rows/row/row": row +"/adsense:v1.4/AdsenseReportsGenerateResponse/startDate": start_date +"/adsense:v1.4/AdsenseReportsGenerateResponse/totalMatchedRows": total_matched_rows +"/adsense:v1.4/AdsenseReportsGenerateResponse/totals": totals +"/adsense:v1.4/AdsenseReportsGenerateResponse/totals/total": total +"/adsense:v1.4/AdsenseReportsGenerateResponse/warnings": warnings +"/adsense:v1.4/AdsenseReportsGenerateResponse/warnings/warning": warning +"/adsense:v1.4/Alert": alert +"/adsense:v1.4/Alert/id": id +"/adsense:v1.4/Alert/isDismissible": is_dismissible +"/adsense:v1.4/Alert/kind": kind +"/adsense:v1.4/Alert/message": message +"/adsense:v1.4/Alert/severity": severity +"/adsense:v1.4/Alert/type": type +"/adsense:v1.4/Alerts": alerts +"/adsense:v1.4/Alerts/items": items +"/adsense:v1.4/Alerts/items/item": item +"/adsense:v1.4/Alerts/kind": kind +"/adsense:v1.4/CustomChannel": custom_channel +"/adsense:v1.4/CustomChannel/code": code +"/adsense:v1.4/CustomChannel/id": id +"/adsense:v1.4/CustomChannel/kind": kind +"/adsense:v1.4/CustomChannel/name": name +"/adsense:v1.4/CustomChannel/targetingInfo": targeting_info +"/adsense:v1.4/CustomChannel/targetingInfo/adsAppearOn": ads_appear_on +"/adsense:v1.4/CustomChannel/targetingInfo/description": description +"/adsense:v1.4/CustomChannel/targetingInfo/location": location +"/adsense:v1.4/CustomChannel/targetingInfo/siteLanguage": site_language +"/adsense:v1.4/CustomChannels": custom_channels +"/adsense:v1.4/CustomChannels/etag": etag +"/adsense:v1.4/CustomChannels/items": items +"/adsense:v1.4/CustomChannels/items/item": item +"/adsense:v1.4/CustomChannels/kind": kind +"/adsense:v1.4/CustomChannels/nextPageToken": next_page_token +"/adsense:v1.4/Metadata": metadata +"/adsense:v1.4/Metadata/items": items +"/adsense:v1.4/Metadata/items/item": item +"/adsense:v1.4/Metadata/kind": kind +"/adsense:v1.4/Payment": payment +"/adsense:v1.4/Payment/id": id +"/adsense:v1.4/Payment/kind": kind +"/adsense:v1.4/Payment/paymentAmount": payment_amount +"/adsense:v1.4/Payment/paymentAmountCurrencyCode": payment_amount_currency_code +"/adsense:v1.4/Payment/paymentDate": payment_date +"/adsense:v1.4/Payments": payments +"/adsense:v1.4/Payments/items": items +"/adsense:v1.4/Payments/items/item": item +"/adsense:v1.4/Payments/kind": kind +"/adsense:v1.4/ReportingMetadataEntry": reporting_metadata_entry +"/adsense:v1.4/ReportingMetadataEntry/compatibleDimensions": compatible_dimensions +"/adsense:v1.4/ReportingMetadataEntry/compatibleDimensions/compatible_dimension": compatible_dimension +"/adsense:v1.4/ReportingMetadataEntry/compatibleMetrics": compatible_metrics +"/adsense:v1.4/ReportingMetadataEntry/compatibleMetrics/compatible_metric": compatible_metric +"/adsense:v1.4/ReportingMetadataEntry/id": id +"/adsense:v1.4/ReportingMetadataEntry/kind": kind +"/adsense:v1.4/ReportingMetadataEntry/requiredDimensions": required_dimensions +"/adsense:v1.4/ReportingMetadataEntry/requiredDimensions/required_dimension": required_dimension +"/adsense:v1.4/ReportingMetadataEntry/requiredMetrics": required_metrics +"/adsense:v1.4/ReportingMetadataEntry/requiredMetrics/required_metric": required_metric +"/adsense:v1.4/ReportingMetadataEntry/supportedProducts": supported_products +"/adsense:v1.4/ReportingMetadataEntry/supportedProducts/supported_product": supported_product +"/adsense:v1.4/SavedAdStyle": saved_ad_style +"/adsense:v1.4/SavedAdStyle/adStyle": ad_style +"/adsense:v1.4/SavedAdStyle/id": id +"/adsense:v1.4/SavedAdStyle/kind": kind +"/adsense:v1.4/SavedAdStyle/name": name +"/adsense:v1.4/SavedAdStyles": saved_ad_styles +"/adsense:v1.4/SavedAdStyles/etag": etag +"/adsense:v1.4/SavedAdStyles/items": items +"/adsense:v1.4/SavedAdStyles/items/item": item +"/adsense:v1.4/SavedAdStyles/kind": kind +"/adsense:v1.4/SavedAdStyles/nextPageToken": next_page_token +"/adsense:v1.4/SavedReport": saved_report +"/adsense:v1.4/SavedReport/id": id +"/adsense:v1.4/SavedReport/kind": kind +"/adsense:v1.4/SavedReport/name": name +"/adsense:v1.4/SavedReports": saved_reports +"/adsense:v1.4/SavedReports/etag": etag +"/adsense:v1.4/SavedReports/items": items +"/adsense:v1.4/SavedReports/items/item": item +"/adsense:v1.4/SavedReports/kind": kind +"/adsense:v1.4/SavedReports/nextPageToken": next_page_token +"/adsense:v1.4/UrlChannel": url_channel +"/adsense:v1.4/UrlChannel/id": id +"/adsense:v1.4/UrlChannel/kind": kind +"/adsense:v1.4/UrlChannel/urlPattern": url_pattern +"/adsense:v1.4/UrlChannels": url_channels +"/adsense:v1.4/UrlChannels/etag": etag +"/adsense:v1.4/UrlChannels/items": items +"/adsense:v1.4/UrlChannels/items/item": item +"/adsense:v1.4/UrlChannels/kind": kind +"/adsense:v1.4/UrlChannels/nextPageToken": next_page_token +"/adsensehost:v4.1/fields": fields +"/adsensehost:v4.1/key": key +"/adsensehost:v4.1/quotaUser": quota_user +"/adsensehost:v4.1/userIp": user_ip +"/adsensehost:v4.1/adsensehost.accounts.get": get_account +"/adsensehost:v4.1/adsensehost.accounts.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.list": list_accounts +"/adsensehost:v4.1/adsensehost.accounts.list/filterAdClientId": filter_ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.adclients.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.delete/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.get/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.getAdCode/hostCustomChannelId": host_custom_channel_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/includeInactive": include_inactive +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.adunits.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.patch/adUnitId": ad_unit_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.update/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.adunits.update/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.accounts.reports.generate": generate_account_report +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/accountId": account_id +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/dimension": dimension +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/endDate": end_date +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/filter": filter +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/locale": locale +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/maxResults": max_results +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/metric": metric +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/sort": sort +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startDate": start_date +"/adsensehost:v4.1/adsensehost.accounts.reports.generate/startIndex": start_index +"/adsensehost:v4.1/adsensehost.adclients.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.adclients.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.adclients.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.associationsessions.start/productCode": product_code +"/adsensehost:v4.1/adsensehost.associationsessions.start/userLocale": user_locale +"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteLocale": website_locale +"/adsensehost:v4.1/adsensehost.associationsessions.start/websiteUrl": website_url +"/adsensehost:v4.1/adsensehost.associationsessions.verify/token": token +"/adsensehost:v4.1/adsensehost.customchannels.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.delete/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.get/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.get/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.customchannels.list/pageToken": page_token +"/adsensehost:v4.1/adsensehost.customchannels.patch/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.customchannels.patch/customChannelId": custom_channel_id +"/adsensehost:v4.1/adsensehost.customchannels.update/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.reports.generate": generate_report +"/adsensehost:v4.1/adsensehost.reports.generate/dimension": dimension +"/adsensehost:v4.1/adsensehost.reports.generate/endDate": end_date +"/adsensehost:v4.1/adsensehost.reports.generate/filter": filter +"/adsensehost:v4.1/adsensehost.reports.generate/locale": locale +"/adsensehost:v4.1/adsensehost.reports.generate/maxResults": max_results +"/adsensehost:v4.1/adsensehost.reports.generate/metric": metric +"/adsensehost:v4.1/adsensehost.reports.generate/sort": sort +"/adsensehost:v4.1/adsensehost.reports.generate/startDate": start_date +"/adsensehost:v4.1/adsensehost.reports.generate/startIndex": start_index +"/adsensehost:v4.1/adsensehost.urlchannels.delete/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.delete/urlChannelId": url_channel_id +"/adsensehost:v4.1/adsensehost.urlchannels.insert/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.list/adClientId": ad_client_id +"/adsensehost:v4.1/adsensehost.urlchannels.list/maxResults": max_results +"/adsensehost:v4.1/adsensehost.urlchannels.list/pageToken": page_token +"/adsensehost:v4.1/Account": account +"/adsensehost:v4.1/Account/id": id +"/adsensehost:v4.1/Account/kind": kind +"/adsensehost:v4.1/Account/name": name +"/adsensehost:v4.1/Account/status": status +"/adsensehost:v4.1/Accounts": accounts +"/adsensehost:v4.1/Accounts/etag": etag +"/adsensehost:v4.1/Accounts/items": items +"/adsensehost:v4.1/Accounts/items/item": item +"/adsensehost:v4.1/Accounts/kind": kind +"/adsensehost:v4.1/AdClient": ad_client +"/adsensehost:v4.1/AdClient/arcOptIn": arc_opt_in +"/adsensehost:v4.1/AdClient/id": id +"/adsensehost:v4.1/AdClient/kind": kind +"/adsensehost:v4.1/AdClient/productCode": product_code +"/adsensehost:v4.1/AdClient/supportsReporting": supports_reporting +"/adsensehost:v4.1/AdClients": ad_clients +"/adsensehost:v4.1/AdClients/etag": etag +"/adsensehost:v4.1/AdClients/items": items +"/adsensehost:v4.1/AdClients/items/item": item +"/adsensehost:v4.1/AdClients/kind": kind +"/adsensehost:v4.1/AdClients/nextPageToken": next_page_token +"/adsensehost:v4.1/AdCode": ad_code +"/adsensehost:v4.1/AdCode/adCode": ad_code +"/adsensehost:v4.1/AdCode/kind": kind +"/adsensehost:v4.1/AdStyle": ad_style +"/adsensehost:v4.1/AdStyle/colors": colors +"/adsensehost:v4.1/AdStyle/colors/background": background +"/adsensehost:v4.1/AdStyle/colors/border": border +"/adsensehost:v4.1/AdStyle/colors/text": text +"/adsensehost:v4.1/AdStyle/colors/title": title +"/adsensehost:v4.1/AdStyle/colors/url": url +"/adsensehost:v4.1/AdStyle/corners": corners +"/adsensehost:v4.1/AdStyle/font": font +"/adsensehost:v4.1/AdStyle/font/family": family +"/adsensehost:v4.1/AdStyle/font/size": size +"/adsensehost:v4.1/AdStyle/kind": kind +"/adsensehost:v4.1/AdUnit": ad_unit +"/adsensehost:v4.1/AdUnit/code": code +"/adsensehost:v4.1/AdUnit/contentAdsSettings": content_ads_settings +"/adsensehost:v4.1/AdUnit/contentAdsSettings/backupOption": backup_option +"/adsensehost:v4.1/AdUnit/contentAdsSettings/backupOption/color": color +"/adsensehost:v4.1/AdUnit/contentAdsSettings/backupOption/type": type +"/adsensehost:v4.1/AdUnit/contentAdsSettings/backupOption/url": url +"/adsensehost:v4.1/AdUnit/contentAdsSettings/size": size +"/adsensehost:v4.1/AdUnit/contentAdsSettings/type": type +"/adsensehost:v4.1/AdUnit/customStyle": custom_style +"/adsensehost:v4.1/AdUnit/id": id +"/adsensehost:v4.1/AdUnit/kind": kind +"/adsensehost:v4.1/AdUnit/mobileContentAdsSettings": mobile_content_ads_settings +"/adsensehost:v4.1/AdUnit/mobileContentAdsSettings/markupLanguage": markup_language +"/adsensehost:v4.1/AdUnit/mobileContentAdsSettings/scriptingLanguage": scripting_language +"/adsensehost:v4.1/AdUnit/mobileContentAdsSettings/size": size +"/adsensehost:v4.1/AdUnit/mobileContentAdsSettings/type": type +"/adsensehost:v4.1/AdUnit/name": name +"/adsensehost:v4.1/AdUnit/status": status +"/adsensehost:v4.1/AdUnits": ad_units +"/adsensehost:v4.1/AdUnits/etag": etag +"/adsensehost:v4.1/AdUnits/items": items +"/adsensehost:v4.1/AdUnits/items/item": item +"/adsensehost:v4.1/AdUnits/kind": kind +"/adsensehost:v4.1/AdUnits/nextPageToken": next_page_token +"/adsensehost:v4.1/AssociationSession": association_session +"/adsensehost:v4.1/AssociationSession/accountId": account_id +"/adsensehost:v4.1/AssociationSession/id": id +"/adsensehost:v4.1/AssociationSession/kind": kind +"/adsensehost:v4.1/AssociationSession/productCodes": product_codes +"/adsensehost:v4.1/AssociationSession/productCodes/product_code": product_code +"/adsensehost:v4.1/AssociationSession/redirectUrl": redirect_url +"/adsensehost:v4.1/AssociationSession/status": status +"/adsensehost:v4.1/AssociationSession/userLocale": user_locale +"/adsensehost:v4.1/AssociationSession/websiteLocale": website_locale +"/adsensehost:v4.1/AssociationSession/websiteUrl": website_url +"/adsensehost:v4.1/CustomChannel": custom_channel +"/adsensehost:v4.1/CustomChannel/code": code +"/adsensehost:v4.1/CustomChannel/id": id +"/adsensehost:v4.1/CustomChannel/kind": kind +"/adsensehost:v4.1/CustomChannel/name": name +"/adsensehost:v4.1/CustomChannels": custom_channels +"/adsensehost:v4.1/CustomChannels/etag": etag +"/adsensehost:v4.1/CustomChannels/items": items +"/adsensehost:v4.1/CustomChannels/items/item": item +"/adsensehost:v4.1/CustomChannels/kind": kind +"/adsensehost:v4.1/CustomChannels/nextPageToken": next_page_token +"/adsensehost:v4.1/Report": report +"/adsensehost:v4.1/Report/averages": averages +"/adsensehost:v4.1/Report/averages/average": average +"/adsensehost:v4.1/Report/headers": headers +"/adsensehost:v4.1/Report/headers/header": header +"/adsensehost:v4.1/Report/headers/header/currency": currency +"/adsensehost:v4.1/Report/headers/header/name": name +"/adsensehost:v4.1/Report/headers/header/type": type +"/adsensehost:v4.1/Report/kind": kind +"/adsensehost:v4.1/Report/rows": rows +"/adsensehost:v4.1/Report/rows/row": row +"/adsensehost:v4.1/Report/rows/row/row": row +"/adsensehost:v4.1/Report/totalMatchedRows": total_matched_rows +"/adsensehost:v4.1/Report/totals": totals +"/adsensehost:v4.1/Report/totals/total": total +"/adsensehost:v4.1/Report/warnings": warnings +"/adsensehost:v4.1/Report/warnings/warning": warning +"/adsensehost:v4.1/UrlChannel": url_channel +"/adsensehost:v4.1/UrlChannel/id": id +"/adsensehost:v4.1/UrlChannel/kind": kind +"/adsensehost:v4.1/UrlChannel/urlPattern": url_pattern +"/adsensehost:v4.1/UrlChannels": url_channels +"/adsensehost:v4.1/UrlChannels/etag": etag +"/adsensehost:v4.1/UrlChannels/items": items +"/adsensehost:v4.1/UrlChannels/items/item": item +"/adsensehost:v4.1/UrlChannels/kind": kind +"/adsensehost:v4.1/UrlChannels/nextPageToken": next_page_token +"/analytics:v3/fields": fields +"/analytics:v3/key": key +"/analytics:v3/quotaUser": quota_user +"/analytics:v3/userIp": user_ip +"/analytics:v3/analytics.data.ga.get/dimensions": dimensions +"/analytics:v3/analytics.data.ga.get/end-date": end_date +"/analytics:v3/analytics.data.ga.get/filters": filters +"/analytics:v3/analytics.data.ga.get/ids": ids +"/analytics:v3/analytics.data.ga.get/include-empty-rows": include_empty_rows +"/analytics:v3/analytics.data.ga.get/max-results": max_results +"/analytics:v3/analytics.data.ga.get/metrics": metrics +"/analytics:v3/analytics.data.ga.get/output": output +"/analytics:v3/analytics.data.ga.get/samplingLevel": sampling_level +"/analytics:v3/analytics.data.ga.get/segment": segment +"/analytics:v3/analytics.data.ga.get/sort": sort +"/analytics:v3/analytics.data.ga.get/start-date": start_date +"/analytics:v3/analytics.data.ga.get/start-index": start_index +"/analytics:v3/analytics.data.mcf.get/dimensions": dimensions +"/analytics:v3/analytics.data.mcf.get/end-date": end_date +"/analytics:v3/analytics.data.mcf.get/filters": filters +"/analytics:v3/analytics.data.mcf.get/ids": ids +"/analytics:v3/analytics.data.mcf.get/max-results": max_results +"/analytics:v3/analytics.data.mcf.get/metrics": metrics +"/analytics:v3/analytics.data.mcf.get/samplingLevel": sampling_level +"/analytics:v3/analytics.data.mcf.get/sort": sort +"/analytics:v3/analytics.data.mcf.get/start-date": start_date +"/analytics:v3/analytics.data.mcf.get/start-index": start_index +"/analytics:v3/analytics.data.realtime.get/dimensions": dimensions +"/analytics:v3/analytics.data.realtime.get/filters": filters +"/analytics:v3/analytics.data.realtime.get/ids": ids +"/analytics:v3/analytics.data.realtime.get/max-results": max_results +"/analytics:v3/analytics.data.realtime.get/metrics": metrics +"/analytics:v3/analytics.data.realtime.get/sort": sort +"/analytics:v3/analytics.management.accountSummaries.list/max-results": max_results +"/analytics:v3/analytics.management.accountSummaries.list/start-index": start_index +"/analytics:v3/analytics.management.accountUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.accountUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.accountUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.accountUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.accountUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.accounts.list/max-results": max_results +"/analytics:v3/analytics.management.accounts.list/start-index": start_index +"/analytics:v3/analytics.management.customDataSources.list/accountId": account_id +"/analytics:v3/analytics.management.customDataSources.list/max-results": max_results +"/analytics:v3/analytics.management.customDataSources.list/start-index": start_index +"/analytics:v3/analytics.management.customDataSources.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.get/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.get/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.insert/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.list/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.list/max-results": max_results +"/analytics:v3/analytics.management.customDimensions.list/start-index": start_index +"/analytics:v3/analytics.management.customDimensions.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.patch/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.patch/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customDimensions.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customDimensions.update/accountId": account_id +"/analytics:v3/analytics.management.customDimensions.update/customDimensionId": custom_dimension_id +"/analytics:v3/analytics.management.customDimensions.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customDimensions.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.get/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.get/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.insert/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.list/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.list/max-results": max_results +"/analytics:v3/analytics.management.customMetrics.list/start-index": start_index +"/analytics:v3/analytics.management.customMetrics.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.patch/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.patch/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.patch/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customMetrics.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.customMetrics.update/accountId": account_id +"/analytics:v3/analytics.management.customMetrics.update/customMetricId": custom_metric_id +"/analytics:v3/analytics.management.customMetrics.update/ignoreCustomDataSourceLinks": ignore_custom_data_source_links +"/analytics:v3/analytics.management.customMetrics.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.delete/accountId": account_id +"/analytics:v3/analytics.management.experiments.delete/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.delete/profileId": profile_id +"/analytics:v3/analytics.management.experiments.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.get/accountId": account_id +"/analytics:v3/analytics.management.experiments.get/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.get/profileId": profile_id +"/analytics:v3/analytics.management.experiments.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.insert/accountId": account_id +"/analytics:v3/analytics.management.experiments.insert/profileId": profile_id +"/analytics:v3/analytics.management.experiments.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.list/accountId": account_id +"/analytics:v3/analytics.management.experiments.list/max-results": max_results +"/analytics:v3/analytics.management.experiments.list/profileId": profile_id +"/analytics:v3/analytics.management.experiments.list/start-index": start_index +"/analytics:v3/analytics.management.experiments.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.patch/accountId": account_id +"/analytics:v3/analytics.management.experiments.patch/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.patch/profileId": profile_id +"/analytics:v3/analytics.management.experiments.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.experiments.update/accountId": account_id +"/analytics:v3/analytics.management.experiments.update/experimentId": experiment_id +"/analytics:v3/analytics.management.experiments.update/profileId": profile_id +"/analytics:v3/analytics.management.experiments.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.filters.delete/accountId": account_id +"/analytics:v3/analytics.management.filters.delete/filterId": filter_id +"/analytics:v3/analytics.management.filters.get/accountId": account_id +"/analytics:v3/analytics.management.filters.get/filterId": filter_id +"/analytics:v3/analytics.management.filters.insert/accountId": account_id +"/analytics:v3/analytics.management.filters.list/accountId": account_id +"/analytics:v3/analytics.management.filters.list/max-results": max_results +"/analytics:v3/analytics.management.filters.list/start-index": start_index +"/analytics:v3/analytics.management.filters.patch/accountId": account_id +"/analytics:v3/analytics.management.filters.patch/filterId": filter_id +"/analytics:v3/analytics.management.filters.update/accountId": account_id +"/analytics:v3/analytics.management.filters.update/filterId": filter_id +"/analytics:v3/analytics.management.goals.get/accountId": account_id +"/analytics:v3/analytics.management.goals.get/goalId": goal_id +"/analytics:v3/analytics.management.goals.get/profileId": profile_id +"/analytics:v3/analytics.management.goals.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.insert/accountId": account_id +"/analytics:v3/analytics.management.goals.insert/profileId": profile_id +"/analytics:v3/analytics.management.goals.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.list/accountId": account_id +"/analytics:v3/analytics.management.goals.list/max-results": max_results +"/analytics:v3/analytics.management.goals.list/profileId": profile_id +"/analytics:v3/analytics.management.goals.list/start-index": start_index +"/analytics:v3/analytics.management.goals.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.patch/accountId": account_id +"/analytics:v3/analytics.management.goals.patch/goalId": goal_id +"/analytics:v3/analytics.management.goals.patch/profileId": profile_id +"/analytics:v3/analytics.management.goals.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.goals.update/accountId": account_id +"/analytics:v3/analytics.management.goals.update/goalId": goal_id +"/analytics:v3/analytics.management.goals.update/profileId": profile_id +"/analytics:v3/analytics.management.goals.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.get/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.get/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.get/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.insert/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.list/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.list/max-results": max_results +"/analytics:v3/analytics.management.profileFilterLinks.list/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.list/start-index": start_index +"/analytics:v3/analytics.management.profileFilterLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileFilterLinks.update/accountId": account_id +"/analytics:v3/analytics.management.profileFilterLinks.update/linkId": link_id +"/analytics:v3/analytics.management.profileFilterLinks.update/profileId": profile_id +"/analytics:v3/analytics.management.profileFilterLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.profileUserLinks.delete/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.insert/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.profileUserLinks.list/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.profileUserLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profileUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.profileUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.profileUserLinks.update/profileId": profile_id +"/analytics:v3/analytics.management.profileUserLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.delete/accountId": account_id +"/analytics:v3/analytics.management.profiles.delete/profileId": profile_id +"/analytics:v3/analytics.management.profiles.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.get/accountId": account_id +"/analytics:v3/analytics.management.profiles.get/profileId": profile_id +"/analytics:v3/analytics.management.profiles.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.insert/accountId": account_id +"/analytics:v3/analytics.management.profiles.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.list/accountId": account_id +"/analytics:v3/analytics.management.profiles.list/max-results": max_results +"/analytics:v3/analytics.management.profiles.list/start-index": start_index +"/analytics:v3/analytics.management.profiles.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.patch/accountId": account_id +"/analytics:v3/analytics.management.profiles.patch/profileId": profile_id +"/analytics:v3/analytics.management.profiles.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.profiles.update/accountId": account_id +"/analytics:v3/analytics.management.profiles.update/profileId": profile_id +"/analytics:v3/analytics.management.profiles.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.get": get_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.get/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.get/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.insert": insert_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.insert/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.list": list_management_remarketing_audiences +"/analytics:v3/analytics.management.remarketingAudience.list/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.list/max-results": max_results +"/analytics:v3/analytics.management.remarketingAudience.list/start-index": start_index +"/analytics:v3/analytics.management.remarketingAudience.list/type": type +"/analytics:v3/analytics.management.remarketingAudience.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.patch": patch_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.patch/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.patch/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.remarketingAudience.update": update_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.update/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.update/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.segments.list/max-results": max_results +"/analytics:v3/analytics.management.segments.list/start-index": start_index +"/analytics:v3/analytics.management.unsampledReports.delete/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.delete/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.delete/unsampledReportId": unsampled_report_id +"/analytics:v3/analytics.management.unsampledReports.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.get/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.get/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.get/unsampledReportId": unsampled_report_id +"/analytics:v3/analytics.management.unsampledReports.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.insert/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.insert/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.unsampledReports.list/accountId": account_id +"/analytics:v3/analytics.management.unsampledReports.list/max-results": max_results +"/analytics:v3/analytics.management.unsampledReports.list/profileId": profile_id +"/analytics:v3/analytics.management.unsampledReports.list/start-index": start_index +"/analytics:v3/analytics.management.unsampledReports.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.deleteUploadData/accountId": account_id +"/analytics:v3/analytics.management.uploads.deleteUploadData/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.deleteUploadData/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.get/accountId": account_id +"/analytics:v3/analytics.management.uploads.get/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.get/uploadId": upload_id +"/analytics:v3/analytics.management.uploads.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.list/accountId": account_id +"/analytics:v3/analytics.management.uploads.list/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.list/max-results": max_results +"/analytics:v3/analytics.management.uploads.list/start-index": start_index +"/analytics:v3/analytics.management.uploads.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.uploads.uploadData/accountId": account_id +"/analytics:v3/analytics.management.uploads.uploadData/customDataSourceId": custom_data_source_id +"/analytics:v3/analytics.management.uploads.uploadData/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/max-results": max_results +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/start-index": start_index +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/accountId": account_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyAdWordsLinkId": web_property_ad_words_link_id +"/analytics:v3/analytics.management.webPropertyAdWordsLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.get/accountId": account_id +"/analytics:v3/analytics.management.webproperties.get/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.insert/accountId": account_id +"/analytics:v3/analytics.management.webproperties.list/accountId": account_id +"/analytics:v3/analytics.management.webproperties.list/max-results": max_results +"/analytics:v3/analytics.management.webproperties.list/start-index": start_index +"/analytics:v3/analytics.management.webproperties.patch/accountId": account_id +"/analytics:v3/analytics.management.webproperties.patch/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webproperties.update/accountId": account_id +"/analytics:v3/analytics.management.webproperties.update/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/linkId": link_id +"/analytics:v3/analytics.management.webpropertyUserLinks.delete/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.insert/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.insert/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.list/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.list/max-results": max_results +"/analytics:v3/analytics.management.webpropertyUserLinks.list/start-index": start_index +"/analytics:v3/analytics.management.webpropertyUserLinks.list/webPropertyId": web_property_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update/accountId": account_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update/linkId": link_id +"/analytics:v3/analytics.management.webpropertyUserLinks.update/webPropertyId": web_property_id +"/analytics:v3/analytics.metadata.columns.list/reportType": report_type +"/analytics:v3/Account": account +"/analytics:v3/Account/childLink": child_link +"/analytics:v3/Account/childLink/href": href +"/analytics:v3/Account/childLink/type": type +"/analytics:v3/Account/created": created +"/analytics:v3/Account/id": id +"/analytics:v3/Account/kind": kind +"/analytics:v3/Account/name": name +"/analytics:v3/Account/permissions": permissions +"/analytics:v3/Account/permissions/effective": effective +"/analytics:v3/Account/permissions/effective/effective": effective +"/analytics:v3/Account/selfLink": self_link +"/analytics:v3/Account/starred": starred +"/analytics:v3/Account/updated": updated +"/analytics:v3/AccountRef": account_ref +"/analytics:v3/AccountRef/href": href +"/analytics:v3/AccountRef/id": id +"/analytics:v3/AccountRef/kind": kind +"/analytics:v3/AccountRef/name": name +"/analytics:v3/AccountSummaries": account_summaries +"/analytics:v3/AccountSummaries/items": items +"/analytics:v3/AccountSummaries/items/item": item +"/analytics:v3/AccountSummaries/itemsPerPage": items_per_page +"/analytics:v3/AccountSummaries/kind": kind +"/analytics:v3/AccountSummaries/nextLink": next_link +"/analytics:v3/AccountSummaries/previousLink": previous_link +"/analytics:v3/AccountSummaries/startIndex": start_index +"/analytics:v3/AccountSummaries/totalResults": total_results +"/analytics:v3/AccountSummaries/username": username +"/analytics:v3/AccountSummary": account_summary +"/analytics:v3/AccountSummary/id": id +"/analytics:v3/AccountSummary/kind": kind +"/analytics:v3/AccountSummary/name": name +"/analytics:v3/AccountSummary/starred": starred +"/analytics:v3/AccountSummary/webProperties": web_properties +"/analytics:v3/AccountSummary/webProperties/web_property": web_property +"/analytics:v3/AccountTicket": account_ticket +"/analytics:v3/AccountTicket/account": account +"/analytics:v3/AccountTicket/id": id +"/analytics:v3/AccountTicket/kind": kind +"/analytics:v3/AccountTicket/profile": profile +"/analytics:v3/AccountTicket/redirectUri": redirect_uri +"/analytics:v3/AccountTicket/webproperty": webproperty +"/analytics:v3/Accounts": accounts +"/analytics:v3/Accounts/items": items +"/analytics:v3/Accounts/items/item": item +"/analytics:v3/Accounts/itemsPerPage": items_per_page +"/analytics:v3/Accounts/kind": kind +"/analytics:v3/Accounts/nextLink": next_link +"/analytics:v3/Accounts/previousLink": previous_link +"/analytics:v3/Accounts/startIndex": start_index +"/analytics:v3/Accounts/totalResults": total_results +"/analytics:v3/Accounts/username": username +"/analytics:v3/AdWordsAccount": ad_words_account +"/analytics:v3/AdWordsAccount/autoTaggingEnabled": auto_tagging_enabled +"/analytics:v3/AdWordsAccount/customerId": customer_id +"/analytics:v3/AdWordsAccount/kind": kind +"/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest/customDataImportUids": custom_data_import_uids +"/analytics:v3/AnalyticsDataimportDeleteUploadDataRequest/customDataImportUids/custom_data_import_uid": custom_data_import_uid +"/analytics:v3/Column": column +"/analytics:v3/Column/attributes": attributes +"/analytics:v3/Column/attributes/attribute": attribute +"/analytics:v3/Column/id": id +"/analytics:v3/Column/kind": kind +"/analytics:v3/Columns": columns +"/analytics:v3/Columns/attributeNames": attribute_names +"/analytics:v3/Columns/attributeNames/attribute_name": attribute_name +"/analytics:v3/Columns/etag": etag +"/analytics:v3/Columns/items": items +"/analytics:v3/Columns/items/item": item +"/analytics:v3/Columns/kind": kind +"/analytics:v3/Columns/totalResults": total_results +"/analytics:v3/CustomDataSource": custom_data_source +"/analytics:v3/CustomDataSource/accountId": account_id +"/analytics:v3/CustomDataSource/childLink": child_link +"/analytics:v3/CustomDataSource/childLink/href": href +"/analytics:v3/CustomDataSource/childLink/type": type +"/analytics:v3/CustomDataSource/created": created +"/analytics:v3/CustomDataSource/description": description +"/analytics:v3/CustomDataSource/id": id +"/analytics:v3/CustomDataSource/importBehavior": import_behavior +"/analytics:v3/CustomDataSource/kind": kind +"/analytics:v3/CustomDataSource/name": name +"/analytics:v3/CustomDataSource/parentLink": parent_link +"/analytics:v3/CustomDataSource/parentLink/href": href +"/analytics:v3/CustomDataSource/parentLink/type": type +"/analytics:v3/CustomDataSource/profilesLinked": profiles_linked +"/analytics:v3/CustomDataSource/profilesLinked/profiles_linked": profiles_linked +"/analytics:v3/CustomDataSource/selfLink": self_link +"/analytics:v3/CustomDataSource/type": type +"/analytics:v3/CustomDataSource/updated": updated +"/analytics:v3/CustomDataSource/uploadType": upload_type +"/analytics:v3/CustomDataSource/webPropertyId": web_property_id +"/analytics:v3/CustomDataSources": custom_data_sources +"/analytics:v3/CustomDataSources/items": items +"/analytics:v3/CustomDataSources/items/item": item +"/analytics:v3/CustomDataSources/itemsPerPage": items_per_page +"/analytics:v3/CustomDataSources/kind": kind +"/analytics:v3/CustomDataSources/nextLink": next_link +"/analytics:v3/CustomDataSources/previousLink": previous_link +"/analytics:v3/CustomDataSources/startIndex": start_index +"/analytics:v3/CustomDataSources/totalResults": total_results +"/analytics:v3/CustomDataSources/username": username +"/analytics:v3/CustomDimension": custom_dimension +"/analytics:v3/CustomDimension/accountId": account_id +"/analytics:v3/CustomDimension/active": active +"/analytics:v3/CustomDimension/created": created +"/analytics:v3/CustomDimension/id": id +"/analytics:v3/CustomDimension/index": index +"/analytics:v3/CustomDimension/kind": kind +"/analytics:v3/CustomDimension/name": name +"/analytics:v3/CustomDimension/parentLink": parent_link +"/analytics:v3/CustomDimension/parentLink/href": href +"/analytics:v3/CustomDimension/parentLink/type": type +"/analytics:v3/CustomDimension/scope": scope +"/analytics:v3/CustomDimension/selfLink": self_link +"/analytics:v3/CustomDimension/updated": updated +"/analytics:v3/CustomDimension/webPropertyId": web_property_id +"/analytics:v3/CustomDimensions": custom_dimensions +"/analytics:v3/CustomDimensions/items": items +"/analytics:v3/CustomDimensions/items/item": item +"/analytics:v3/CustomDimensions/itemsPerPage": items_per_page +"/analytics:v3/CustomDimensions/kind": kind +"/analytics:v3/CustomDimensions/nextLink": next_link +"/analytics:v3/CustomDimensions/previousLink": previous_link +"/analytics:v3/CustomDimensions/startIndex": start_index +"/analytics:v3/CustomDimensions/totalResults": total_results +"/analytics:v3/CustomDimensions/username": username +"/analytics:v3/CustomMetric": custom_metric +"/analytics:v3/CustomMetric/accountId": account_id +"/analytics:v3/CustomMetric/active": active +"/analytics:v3/CustomMetric/created": created +"/analytics:v3/CustomMetric/id": id +"/analytics:v3/CustomMetric/index": index +"/analytics:v3/CustomMetric/kind": kind +"/analytics:v3/CustomMetric/max_value": max_value +"/analytics:v3/CustomMetric/min_value": min_value +"/analytics:v3/CustomMetric/name": name +"/analytics:v3/CustomMetric/parentLink": parent_link +"/analytics:v3/CustomMetric/parentLink/href": href +"/analytics:v3/CustomMetric/parentLink/type": type +"/analytics:v3/CustomMetric/scope": scope +"/analytics:v3/CustomMetric/selfLink": self_link +"/analytics:v3/CustomMetric/type": type +"/analytics:v3/CustomMetric/updated": updated +"/analytics:v3/CustomMetric/webPropertyId": web_property_id +"/analytics:v3/CustomMetrics": custom_metrics +"/analytics:v3/CustomMetrics/items": items +"/analytics:v3/CustomMetrics/items/item": item +"/analytics:v3/CustomMetrics/itemsPerPage": items_per_page +"/analytics:v3/CustomMetrics/kind": kind +"/analytics:v3/CustomMetrics/nextLink": next_link +"/analytics:v3/CustomMetrics/previousLink": previous_link +"/analytics:v3/CustomMetrics/startIndex": start_index +"/analytics:v3/CustomMetrics/totalResults": total_results +"/analytics:v3/CustomMetrics/username": username +"/analytics:v3/EntityAdWordsLink": entity_ad_words_link +"/analytics:v3/EntityAdWordsLink/adWordsAccounts": ad_words_accounts +"/analytics:v3/EntityAdWordsLink/adWordsAccounts/ad_words_account": ad_words_account +"/analytics:v3/EntityAdWordsLink/entity": entity +"/analytics:v3/EntityAdWordsLink/entity/webPropertyRef": web_property_ref +"/analytics:v3/EntityAdWordsLink/id": id +"/analytics:v3/EntityAdWordsLink/kind": kind +"/analytics:v3/EntityAdWordsLink/name": name +"/analytics:v3/EntityAdWordsLink/profileIds": profile_ids +"/analytics:v3/EntityAdWordsLink/profileIds/profile_id": profile_id +"/analytics:v3/EntityAdWordsLink/selfLink": self_link +"/analytics:v3/EntityAdWordsLinks": entity_ad_words_links +"/analytics:v3/EntityAdWordsLinks/items": items +"/analytics:v3/EntityAdWordsLinks/items/item": item +"/analytics:v3/EntityAdWordsLinks/itemsPerPage": items_per_page +"/analytics:v3/EntityAdWordsLinks/kind": kind +"/analytics:v3/EntityAdWordsLinks/nextLink": next_link +"/analytics:v3/EntityAdWordsLinks/previousLink": previous_link +"/analytics:v3/EntityAdWordsLinks/startIndex": start_index +"/analytics:v3/EntityAdWordsLinks/totalResults": total_results +"/analytics:v3/EntityUserLink": entity_user_link +"/analytics:v3/EntityUserLink/entity": entity +"/analytics:v3/EntityUserLink/entity/accountRef": account_ref +"/analytics:v3/EntityUserLink/entity/profileRef": profile_ref +"/analytics:v3/EntityUserLink/entity/webPropertyRef": web_property_ref +"/analytics:v3/EntityUserLink/id": id +"/analytics:v3/EntityUserLink/kind": kind +"/analytics:v3/EntityUserLink/permissions": permissions +"/analytics:v3/EntityUserLink/permissions/effective": effective +"/analytics:v3/EntityUserLink/permissions/effective/effective": effective +"/analytics:v3/EntityUserLink/permissions/local": local +"/analytics:v3/EntityUserLink/permissions/local/local": local +"/analytics:v3/EntityUserLink/selfLink": self_link +"/analytics:v3/EntityUserLink/userRef": user_ref +"/analytics:v3/EntityUserLinks": entity_user_links +"/analytics:v3/EntityUserLinks/items": items +"/analytics:v3/EntityUserLinks/items/item": item +"/analytics:v3/EntityUserLinks/itemsPerPage": items_per_page +"/analytics:v3/EntityUserLinks/kind": kind +"/analytics:v3/EntityUserLinks/nextLink": next_link +"/analytics:v3/EntityUserLinks/previousLink": previous_link +"/analytics:v3/EntityUserLinks/startIndex": start_index +"/analytics:v3/EntityUserLinks/totalResults": total_results +"/analytics:v3/Experiment": experiment +"/analytics:v3/Experiment/accountId": account_id +"/analytics:v3/Experiment/created": created +"/analytics:v3/Experiment/description": description +"/analytics:v3/Experiment/editableInGaUi": editable_in_ga_ui +"/analytics:v3/Experiment/endTime": end_time +"/analytics:v3/Experiment/equalWeighting": equal_weighting +"/analytics:v3/Experiment/id": id +"/analytics:v3/Experiment/internalWebPropertyId": internal_web_property_id +"/analytics:v3/Experiment/kind": kind +"/analytics:v3/Experiment/minimumExperimentLengthInDays": minimum_experiment_length_in_days +"/analytics:v3/Experiment/name": name +"/analytics:v3/Experiment/objectiveMetric": objective_metric +"/analytics:v3/Experiment/optimizationType": optimization_type +"/analytics:v3/Experiment/parentLink": parent_link +"/analytics:v3/Experiment/parentLink/href": href +"/analytics:v3/Experiment/parentLink/type": type +"/analytics:v3/Experiment/profileId": profile_id +"/analytics:v3/Experiment/reasonExperimentEnded": reason_experiment_ended +"/analytics:v3/Experiment/rewriteVariationUrlsAsOriginal": rewrite_variation_urls_as_original +"/analytics:v3/Experiment/selfLink": self_link +"/analytics:v3/Experiment/servingFramework": serving_framework +"/analytics:v3/Experiment/snippet": snippet +"/analytics:v3/Experiment/startTime": start_time +"/analytics:v3/Experiment/status": status +"/analytics:v3/Experiment/trafficCoverage": traffic_coverage +"/analytics:v3/Experiment/updated": updated +"/analytics:v3/Experiment/variations": variations +"/analytics:v3/Experiment/variations/variation": variation +"/analytics:v3/Experiment/variations/variation/name": name +"/analytics:v3/Experiment/variations/variation/status": status +"/analytics:v3/Experiment/variations/variation/url": url +"/analytics:v3/Experiment/variations/variation/weight": weight +"/analytics:v3/Experiment/variations/variation/won": won +"/analytics:v3/Experiment/webPropertyId": web_property_id +"/analytics:v3/Experiment/winnerConfidenceLevel": winner_confidence_level +"/analytics:v3/Experiment/winnerFound": winner_found +"/analytics:v3/Experiments": experiments +"/analytics:v3/Experiments/items": items +"/analytics:v3/Experiments/items/item": item +"/analytics:v3/Experiments/itemsPerPage": items_per_page +"/analytics:v3/Experiments/kind": kind +"/analytics:v3/Experiments/nextLink": next_link +"/analytics:v3/Experiments/previousLink": previous_link +"/analytics:v3/Experiments/startIndex": start_index +"/analytics:v3/Experiments/totalResults": total_results +"/analytics:v3/Experiments/username": username +"/analytics:v3/Filter": filter +"/analytics:v3/Filter/accountId": account_id +"/analytics:v3/Filter/advancedDetails": advanced_details +"/analytics:v3/Filter/advancedDetails/caseSensitive": case_sensitive +"/analytics:v3/Filter/advancedDetails/extractA": extract_a +"/analytics:v3/Filter/advancedDetails/extractB": extract_b +"/analytics:v3/Filter/advancedDetails/fieldA": field_a +"/analytics:v3/Filter/advancedDetails/fieldAIndex": field_a_index +"/analytics:v3/Filter/advancedDetails/fieldARequired": field_a_required +"/analytics:v3/Filter/advancedDetails/fieldB": field_b +"/analytics:v3/Filter/advancedDetails/fieldBIndex": field_b_index +"/analytics:v3/Filter/advancedDetails/fieldBRequired": field_b_required +"/analytics:v3/Filter/advancedDetails/outputConstructor": output_constructor +"/analytics:v3/Filter/advancedDetails/outputToField": output_to_field +"/analytics:v3/Filter/advancedDetails/outputToFieldIndex": output_to_field_index +"/analytics:v3/Filter/advancedDetails/overrideOutputField": override_output_field +"/analytics:v3/Filter/created": created +"/analytics:v3/Filter/excludeDetails": exclude_details +"/analytics:v3/Filter/id": id +"/analytics:v3/Filter/includeDetails": include_details +"/analytics:v3/Filter/kind": kind +"/analytics:v3/Filter/lowercaseDetails": lowercase_details +"/analytics:v3/Filter/lowercaseDetails/field": field +"/analytics:v3/Filter/lowercaseDetails/fieldIndex": field_index +"/analytics:v3/Filter/name": name +"/analytics:v3/Filter/parentLink": parent_link +"/analytics:v3/Filter/parentLink/href": href +"/analytics:v3/Filter/parentLink/type": type +"/analytics:v3/Filter/searchAndReplaceDetails": search_and_replace_details +"/analytics:v3/Filter/searchAndReplaceDetails/caseSensitive": case_sensitive +"/analytics:v3/Filter/searchAndReplaceDetails/field": field +"/analytics:v3/Filter/searchAndReplaceDetails/fieldIndex": field_index +"/analytics:v3/Filter/searchAndReplaceDetails/replaceString": replace_string +"/analytics:v3/Filter/searchAndReplaceDetails/searchString": search_string +"/analytics:v3/Filter/selfLink": self_link +"/analytics:v3/Filter/type": type +"/analytics:v3/Filter/updated": updated +"/analytics:v3/Filter/uppercaseDetails": uppercase_details +"/analytics:v3/Filter/uppercaseDetails/field": field +"/analytics:v3/Filter/uppercaseDetails/fieldIndex": field_index +"/analytics:v3/FilterExpression": filter_expression +"/analytics:v3/FilterExpression/caseSensitive": case_sensitive +"/analytics:v3/FilterExpression/expressionValue": expression_value +"/analytics:v3/FilterExpression/field": field +"/analytics:v3/FilterExpression/fieldIndex": field_index +"/analytics:v3/FilterExpression/kind": kind +"/analytics:v3/FilterExpression/matchType": match_type +"/analytics:v3/FilterRef": filter_ref +"/analytics:v3/FilterRef/accountId": account_id +"/analytics:v3/FilterRef/href": href +"/analytics:v3/FilterRef/id": id +"/analytics:v3/FilterRef/kind": kind +"/analytics:v3/FilterRef/name": name +"/analytics:v3/Filters": filters +"/analytics:v3/Filters/items": items +"/analytics:v3/Filters/items/item": item +"/analytics:v3/Filters/itemsPerPage": items_per_page +"/analytics:v3/Filters/kind": kind +"/analytics:v3/Filters/nextLink": next_link +"/analytics:v3/Filters/previousLink": previous_link +"/analytics:v3/Filters/startIndex": start_index +"/analytics:v3/Filters/totalResults": total_results +"/analytics:v3/Filters/username": username +"/analytics:v3/GaData": ga_data +"/analytics:v3/GaData/columnHeaders": column_headers +"/analytics:v3/GaData/columnHeaders/column_header": column_header +"/analytics:v3/GaData/columnHeaders/column_header/columnType": column_type +"/analytics:v3/GaData/columnHeaders/column_header/dataType": data_type +"/analytics:v3/GaData/columnHeaders/column_header/name": name +"/analytics:v3/GaData/containsSampledData": contains_sampled_data +"/analytics:v3/GaData/dataLastRefreshed": data_last_refreshed +"/analytics:v3/GaData/dataTable": data_table +"/analytics:v3/GaData/dataTable/cols": cols +"/analytics:v3/GaData/dataTable/cols/col": col +"/analytics:v3/GaData/dataTable/cols/col/id": id +"/analytics:v3/GaData/dataTable/cols/col/label": label +"/analytics:v3/GaData/dataTable/cols/col/type": type +"/analytics:v3/GaData/dataTable/rows": rows +"/analytics:v3/GaData/dataTable/rows/row": row +"/analytics:v3/GaData/dataTable/rows/row/c": c +"/analytics:v3/GaData/dataTable/rows/row/c/c": c +"/analytics:v3/GaData/dataTable/rows/row/c/c/v": v +"/analytics:v3/GaData/id": id +"/analytics:v3/GaData/itemsPerPage": items_per_page +"/analytics:v3/GaData/kind": kind +"/analytics:v3/GaData/nextLink": next_link +"/analytics:v3/GaData/previousLink": previous_link +"/analytics:v3/GaData/profileInfo": profile_info +"/analytics:v3/GaData/profileInfo/accountId": account_id +"/analytics:v3/GaData/profileInfo/internalWebPropertyId": internal_web_property_id +"/analytics:v3/GaData/profileInfo/profileId": profile_id +"/analytics:v3/GaData/profileInfo/profileName": profile_name +"/analytics:v3/GaData/profileInfo/tableId": table_id +"/analytics:v3/GaData/profileInfo/webPropertyId": web_property_id +"/analytics:v3/GaData/query": query +"/analytics:v3/GaData/query/dimensions": dimensions +"/analytics:v3/GaData/query/end-date": end_date +"/analytics:v3/GaData/query/filters": filters +"/analytics:v3/GaData/query/ids": ids +"/analytics:v3/GaData/query/max-results": max_results +"/analytics:v3/GaData/query/metrics": metrics +"/analytics:v3/GaData/query/metrics/metric": metric +"/analytics:v3/GaData/query/samplingLevel": sampling_level +"/analytics:v3/GaData/query/segment": segment +"/analytics:v3/GaData/query/sort": sort +"/analytics:v3/GaData/query/sort/sort": sort +"/analytics:v3/GaData/query/start-date": start_date +"/analytics:v3/GaData/query/start-index": start_index +"/analytics:v3/GaData/rows": rows +"/analytics:v3/GaData/rows/row": row +"/analytics:v3/GaData/rows/row/row": row +"/analytics:v3/GaData/sampleSize": sample_size +"/analytics:v3/GaData/sampleSpace": sample_space +"/analytics:v3/GaData/selfLink": self_link +"/analytics:v3/GaData/totalResults": total_results +"/analytics:v3/GaData/totalsForAllResults": totals_for_all_results +"/analytics:v3/GaData/totalsForAllResults/totals_for_all_result": totals_for_all_result +"/analytics:v3/Goal": goal +"/analytics:v3/Goal/accountId": account_id +"/analytics:v3/Goal/active": active +"/analytics:v3/Goal/created": created +"/analytics:v3/Goal/eventDetails": event_details +"/analytics:v3/Goal/eventDetails/eventConditions": event_conditions +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition": event_condition +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition/comparisonType": comparison_type +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition/comparisonValue": comparison_value +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition/expression": expression +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition/matchType": match_type +"/analytics:v3/Goal/eventDetails/eventConditions/event_condition/type": type +"/analytics:v3/Goal/eventDetails/useEventValue": use_event_value +"/analytics:v3/Goal/id": id +"/analytics:v3/Goal/internalWebPropertyId": internal_web_property_id +"/analytics:v3/Goal/kind": kind +"/analytics:v3/Goal/name": name +"/analytics:v3/Goal/parentLink": parent_link +"/analytics:v3/Goal/parentLink/href": href +"/analytics:v3/Goal/parentLink/type": type +"/analytics:v3/Goal/profileId": profile_id +"/analytics:v3/Goal/selfLink": self_link +"/analytics:v3/Goal/type": type +"/analytics:v3/Goal/updated": updated +"/analytics:v3/Goal/urlDestinationDetails": url_destination_details +"/analytics:v3/Goal/urlDestinationDetails/caseSensitive": case_sensitive +"/analytics:v3/Goal/urlDestinationDetails/firstStepRequired": first_step_required +"/analytics:v3/Goal/urlDestinationDetails/matchType": match_type +"/analytics:v3/Goal/urlDestinationDetails/steps": steps +"/analytics:v3/Goal/urlDestinationDetails/steps/step": step +"/analytics:v3/Goal/urlDestinationDetails/steps/step/name": name +"/analytics:v3/Goal/urlDestinationDetails/steps/step/number": number +"/analytics:v3/Goal/urlDestinationDetails/steps/step/url": url +"/analytics:v3/Goal/urlDestinationDetails/url": url +"/analytics:v3/Goal/value": value +"/analytics:v3/Goal/visitNumPagesDetails": visit_num_pages_details +"/analytics:v3/Goal/visitNumPagesDetails/comparisonType": comparison_type +"/analytics:v3/Goal/visitNumPagesDetails/comparisonValue": comparison_value +"/analytics:v3/Goal/visitTimeOnSiteDetails": visit_time_on_site_details +"/analytics:v3/Goal/visitTimeOnSiteDetails/comparisonType": comparison_type +"/analytics:v3/Goal/visitTimeOnSiteDetails/comparisonValue": comparison_value +"/analytics:v3/Goal/webPropertyId": web_property_id +"/analytics:v3/Goals": goals +"/analytics:v3/Goals/items": items +"/analytics:v3/Goals/items/item": item +"/analytics:v3/Goals/itemsPerPage": items_per_page +"/analytics:v3/Goals/kind": kind +"/analytics:v3/Goals/nextLink": next_link +"/analytics:v3/Goals/previousLink": previous_link +"/analytics:v3/Goals/startIndex": start_index +"/analytics:v3/Goals/totalResults": total_results +"/analytics:v3/Goals/username": username +"/analytics:v3/IncludeConditions": include_conditions +"/analytics:v3/IncludeConditions/daysToLookBack": days_to_look_back +"/analytics:v3/IncludeConditions/isSmartList": is_smart_list +"/analytics:v3/IncludeConditions/kind": kind +"/analytics:v3/IncludeConditions/membershipDurationDays": membership_duration_days +"/analytics:v3/IncludeConditions/segment": segment +"/analytics:v3/LinkedForeignAccount": linked_foreign_account +"/analytics:v3/LinkedForeignAccount/accountId": account_id +"/analytics:v3/LinkedForeignAccount/eligibleForSearch": eligible_for_search +"/analytics:v3/LinkedForeignAccount/id": id +"/analytics:v3/LinkedForeignAccount/internalWebPropertyId": internal_web_property_id +"/analytics:v3/LinkedForeignAccount/kind": kind +"/analytics:v3/LinkedForeignAccount/linkedAccountId": linked_account_id +"/analytics:v3/LinkedForeignAccount/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/LinkedForeignAccount/status": status +"/analytics:v3/LinkedForeignAccount/type": type +"/analytics:v3/LinkedForeignAccount/webPropertyId": web_property_id +"/analytics:v3/McfData": mcf_data +"/analytics:v3/McfData/columnHeaders": column_headers +"/analytics:v3/McfData/columnHeaders/column_header": column_header +"/analytics:v3/McfData/columnHeaders/column_header/columnType": column_type +"/analytics:v3/McfData/columnHeaders/column_header/dataType": data_type +"/analytics:v3/McfData/columnHeaders/column_header/name": name +"/analytics:v3/McfData/containsSampledData": contains_sampled_data +"/analytics:v3/McfData/id": id +"/analytics:v3/McfData/itemsPerPage": items_per_page +"/analytics:v3/McfData/kind": kind +"/analytics:v3/McfData/nextLink": next_link +"/analytics:v3/McfData/previousLink": previous_link +"/analytics:v3/McfData/profileInfo": profile_info +"/analytics:v3/McfData/profileInfo/accountId": account_id +"/analytics:v3/McfData/profileInfo/internalWebPropertyId": internal_web_property_id +"/analytics:v3/McfData/profileInfo/profileId": profile_id +"/analytics:v3/McfData/profileInfo/profileName": profile_name +"/analytics:v3/McfData/profileInfo/tableId": table_id +"/analytics:v3/McfData/profileInfo/webPropertyId": web_property_id +"/analytics:v3/McfData/query": query +"/analytics:v3/McfData/query/dimensions": dimensions +"/analytics:v3/McfData/query/end-date": end_date +"/analytics:v3/McfData/query/filters": filters +"/analytics:v3/McfData/query/ids": ids +"/analytics:v3/McfData/query/max-results": max_results +"/analytics:v3/McfData/query/metrics": metrics +"/analytics:v3/McfData/query/metrics/metric": metric +"/analytics:v3/McfData/query/samplingLevel": sampling_level +"/analytics:v3/McfData/query/segment": segment +"/analytics:v3/McfData/query/sort": sort +"/analytics:v3/McfData/query/sort/sort": sort +"/analytics:v3/McfData/query/start-date": start_date +"/analytics:v3/McfData/query/start-index": start_index +"/analytics:v3/McfData/rows": rows +"/analytics:v3/McfData/rows/row": row +"/analytics:v3/McfData/rows/row/row": row +"/analytics:v3/McfData/rows/row/row/conversionPathValue": conversion_path_value +"/analytics:v3/McfData/rows/row/row/conversionPathValue/conversion_path_value": conversion_path_value +"/analytics:v3/McfData/rows/row/row/conversionPathValue/conversion_path_value/interactionType": interaction_type +"/analytics:v3/McfData/rows/row/row/conversionPathValue/conversion_path_value/nodeValue": node_value +"/analytics:v3/McfData/rows/row/row/primitiveValue": primitive_value +"/analytics:v3/McfData/sampleSize": sample_size +"/analytics:v3/McfData/sampleSpace": sample_space +"/analytics:v3/McfData/selfLink": self_link +"/analytics:v3/McfData/totalResults": total_results +"/analytics:v3/McfData/totalsForAllResults": totals_for_all_results +"/analytics:v3/McfData/totalsForAllResults/totals_for_all_result": totals_for_all_result +"/analytics:v3/Profile": profile +"/analytics:v3/Profile/accountId": account_id +"/analytics:v3/Profile/botFilteringEnabled": bot_filtering_enabled +"/analytics:v3/Profile/childLink": child_link +"/analytics:v3/Profile/childLink/href": href +"/analytics:v3/Profile/childLink/type": type +"/analytics:v3/Profile/created": created +"/analytics:v3/Profile/currency": currency +"/analytics:v3/Profile/defaultPage": default_page +"/analytics:v3/Profile/eCommerceTracking": e_commerce_tracking +"/analytics:v3/Profile/enhancedECommerceTracking": enhanced_e_commerce_tracking +"/analytics:v3/Profile/excludeQueryParameters": exclude_query_parameters +"/analytics:v3/Profile/id": id +"/analytics:v3/Profile/internalWebPropertyId": internal_web_property_id +"/analytics:v3/Profile/kind": kind +"/analytics:v3/Profile/name": name +"/analytics:v3/Profile/parentLink": parent_link +"/analytics:v3/Profile/parentLink/href": href +"/analytics:v3/Profile/parentLink/type": type +"/analytics:v3/Profile/permissions": permissions +"/analytics:v3/Profile/permissions/effective": effective +"/analytics:v3/Profile/permissions/effective/effective": effective +"/analytics:v3/Profile/selfLink": self_link +"/analytics:v3/Profile/siteSearchCategoryParameters": site_search_category_parameters +"/analytics:v3/Profile/siteSearchQueryParameters": site_search_query_parameters +"/analytics:v3/Profile/starred": starred +"/analytics:v3/Profile/stripSiteSearchCategoryParameters": strip_site_search_category_parameters +"/analytics:v3/Profile/stripSiteSearchQueryParameters": strip_site_search_query_parameters +"/analytics:v3/Profile/timezone": timezone +"/analytics:v3/Profile/type": type +"/analytics:v3/Profile/updated": updated +"/analytics:v3/Profile/webPropertyId": web_property_id +"/analytics:v3/Profile/websiteUrl": website_url +"/analytics:v3/ProfileFilterLink": profile_filter_link +"/analytics:v3/ProfileFilterLink/filterRef": filter_ref +"/analytics:v3/ProfileFilterLink/id": id +"/analytics:v3/ProfileFilterLink/kind": kind +"/analytics:v3/ProfileFilterLink/profileRef": profile_ref +"/analytics:v3/ProfileFilterLink/rank": rank +"/analytics:v3/ProfileFilterLink/selfLink": self_link +"/analytics:v3/ProfileFilterLinks": profile_filter_links +"/analytics:v3/ProfileFilterLinks/items": items +"/analytics:v3/ProfileFilterLinks/items/item": item +"/analytics:v3/ProfileFilterLinks/itemsPerPage": items_per_page +"/analytics:v3/ProfileFilterLinks/kind": kind +"/analytics:v3/ProfileFilterLinks/nextLink": next_link +"/analytics:v3/ProfileFilterLinks/previousLink": previous_link +"/analytics:v3/ProfileFilterLinks/startIndex": start_index +"/analytics:v3/ProfileFilterLinks/totalResults": total_results +"/analytics:v3/ProfileFilterLinks/username": username +"/analytics:v3/ProfileRef": profile_ref +"/analytics:v3/ProfileRef/accountId": account_id +"/analytics:v3/ProfileRef/href": href +"/analytics:v3/ProfileRef/id": id +"/analytics:v3/ProfileRef/internalWebPropertyId": internal_web_property_id +"/analytics:v3/ProfileRef/kind": kind +"/analytics:v3/ProfileRef/name": name +"/analytics:v3/ProfileRef/webPropertyId": web_property_id +"/analytics:v3/ProfileSummary": profile_summary +"/analytics:v3/ProfileSummary/id": id +"/analytics:v3/ProfileSummary/kind": kind +"/analytics:v3/ProfileSummary/name": name +"/analytics:v3/ProfileSummary/starred": starred +"/analytics:v3/ProfileSummary/type": type +"/analytics:v3/Profiles": profiles +"/analytics:v3/Profiles/items": items +"/analytics:v3/Profiles/items/item": item +"/analytics:v3/Profiles/itemsPerPage": items_per_page +"/analytics:v3/Profiles/kind": kind +"/analytics:v3/Profiles/nextLink": next_link +"/analytics:v3/Profiles/previousLink": previous_link +"/analytics:v3/Profiles/startIndex": start_index +"/analytics:v3/Profiles/totalResults": total_results +"/analytics:v3/Profiles/username": username +"/analytics:v3/RealtimeData": realtime_data +"/analytics:v3/RealtimeData/columnHeaders": column_headers +"/analytics:v3/RealtimeData/columnHeaders/column_header": column_header +"/analytics:v3/RealtimeData/columnHeaders/column_header/columnType": column_type +"/analytics:v3/RealtimeData/columnHeaders/column_header/dataType": data_type +"/analytics:v3/RealtimeData/columnHeaders/column_header/name": name +"/analytics:v3/RealtimeData/id": id +"/analytics:v3/RealtimeData/kind": kind +"/analytics:v3/RealtimeData/profileInfo": profile_info +"/analytics:v3/RealtimeData/profileInfo/accountId": account_id +"/analytics:v3/RealtimeData/profileInfo/internalWebPropertyId": internal_web_property_id +"/analytics:v3/RealtimeData/profileInfo/profileId": profile_id +"/analytics:v3/RealtimeData/profileInfo/profileName": profile_name +"/analytics:v3/RealtimeData/profileInfo/tableId": table_id +"/analytics:v3/RealtimeData/profileInfo/webPropertyId": web_property_id +"/analytics:v3/RealtimeData/query": query +"/analytics:v3/RealtimeData/query/dimensions": dimensions +"/analytics:v3/RealtimeData/query/filters": filters +"/analytics:v3/RealtimeData/query/ids": ids +"/analytics:v3/RealtimeData/query/max-results": max_results +"/analytics:v3/RealtimeData/query/metrics": metrics +"/analytics:v3/RealtimeData/query/metrics/metric": metric +"/analytics:v3/RealtimeData/query/sort": sort +"/analytics:v3/RealtimeData/query/sort/sort": sort +"/analytics:v3/RealtimeData/rows": rows +"/analytics:v3/RealtimeData/rows/row": row +"/analytics:v3/RealtimeData/rows/row/row": row +"/analytics:v3/RealtimeData/selfLink": self_link +"/analytics:v3/RealtimeData/totalResults": total_results +"/analytics:v3/RealtimeData/totalsForAllResults": totals_for_all_results +"/analytics:v3/RealtimeData/totalsForAllResults/totals_for_all_result": totals_for_all_result +"/analytics:v3/RemarketingAudience": remarketing_audience +"/analytics:v3/RemarketingAudience/accountId": account_id +"/analytics:v3/RemarketingAudience/audienceDefinition": audience_definition +"/analytics:v3/RemarketingAudience/audienceDefinition/includeConditions": include_conditions +"/analytics:v3/RemarketingAudience/audienceType": audience_type +"/analytics:v3/RemarketingAudience/created": created +"/analytics:v3/RemarketingAudience/description": description +"/analytics:v3/RemarketingAudience/id": id +"/analytics:v3/RemarketingAudience/internalWebPropertyId": internal_web_property_id +"/analytics:v3/RemarketingAudience/kind": kind +"/analytics:v3/RemarketingAudience/linkedAdAccounts": linked_ad_accounts +"/analytics:v3/RemarketingAudience/linkedAdAccounts/linked_ad_account": linked_ad_account +"/analytics:v3/RemarketingAudience/linkedViews": linked_views +"/analytics:v3/RemarketingAudience/linkedViews/linked_view": linked_view +"/analytics:v3/RemarketingAudience/name": name +"/analytics:v3/RemarketingAudience/stateBasedAudienceDefinition": state_based_audience_definition +"/analytics:v3/RemarketingAudience/stateBasedAudienceDefinition/excludeConditions": exclude_conditions +"/analytics:v3/RemarketingAudience/stateBasedAudienceDefinition/excludeConditions/exclusionDuration": exclusion_duration +"/analytics:v3/RemarketingAudience/stateBasedAudienceDefinition/excludeConditions/segment": segment +"/analytics:v3/RemarketingAudience/stateBasedAudienceDefinition/includeConditions": include_conditions +"/analytics:v3/RemarketingAudience/updated": updated +"/analytics:v3/RemarketingAudience/webPropertyId": web_property_id +"/analytics:v3/RemarketingAudiences": remarketing_audiences +"/analytics:v3/RemarketingAudiences/items": items +"/analytics:v3/RemarketingAudiences/items/item": item +"/analytics:v3/RemarketingAudiences/itemsPerPage": items_per_page +"/analytics:v3/RemarketingAudiences/kind": kind +"/analytics:v3/RemarketingAudiences/nextLink": next_link +"/analytics:v3/RemarketingAudiences/previousLink": previous_link +"/analytics:v3/RemarketingAudiences/startIndex": start_index +"/analytics:v3/RemarketingAudiences/totalResults": total_results +"/analytics:v3/RemarketingAudiences/username": username +"/analytics:v3/Segment": segment +"/analytics:v3/Segment/created": created +"/analytics:v3/Segment/definition": definition +"/analytics:v3/Segment/id": id +"/analytics:v3/Segment/kind": kind +"/analytics:v3/Segment/name": name +"/analytics:v3/Segment/segmentId": segment_id +"/analytics:v3/Segment/selfLink": self_link +"/analytics:v3/Segment/type": type +"/analytics:v3/Segment/updated": updated +"/analytics:v3/Segments": segments +"/analytics:v3/Segments/items": items +"/analytics:v3/Segments/items/item": item +"/analytics:v3/Segments/itemsPerPage": items_per_page +"/analytics:v3/Segments/kind": kind +"/analytics:v3/Segments/nextLink": next_link +"/analytics:v3/Segments/previousLink": previous_link +"/analytics:v3/Segments/startIndex": start_index +"/analytics:v3/Segments/totalResults": total_results +"/analytics:v3/Segments/username": username +"/analytics:v3/UnsampledReport": unsampled_report +"/analytics:v3/UnsampledReport/accountId": account_id +"/analytics:v3/UnsampledReport/cloudStorageDownloadDetails": cloud_storage_download_details +"/analytics:v3/UnsampledReport/cloudStorageDownloadDetails/bucketId": bucket_id +"/analytics:v3/UnsampledReport/created": created +"/analytics:v3/UnsampledReport/dimensions": dimensions +"/analytics:v3/UnsampledReport/downloadType": download_type +"/analytics:v3/UnsampledReport/driveDownloadDetails": drive_download_details +"/analytics:v3/UnsampledReport/driveDownloadDetails/documentId": document_id +"/analytics:v3/UnsampledReport/end-date": end_date +"/analytics:v3/UnsampledReport/filters": filters +"/analytics:v3/UnsampledReport/id": id +"/analytics:v3/UnsampledReport/kind": kind +"/analytics:v3/UnsampledReport/metrics": metrics +"/analytics:v3/UnsampledReport/profileId": profile_id +"/analytics:v3/UnsampledReport/segment": segment +"/analytics:v3/UnsampledReport/selfLink": self_link +"/analytics:v3/UnsampledReport/start-date": start_date +"/analytics:v3/UnsampledReport/status": status +"/analytics:v3/UnsampledReport/title": title +"/analytics:v3/UnsampledReport/updated": updated +"/analytics:v3/UnsampledReport/webPropertyId": web_property_id +"/analytics:v3/UnsampledReports": unsampled_reports +"/analytics:v3/UnsampledReports/items": items +"/analytics:v3/UnsampledReports/items/item": item +"/analytics:v3/UnsampledReports/itemsPerPage": items_per_page +"/analytics:v3/UnsampledReports/kind": kind +"/analytics:v3/UnsampledReports/nextLink": next_link +"/analytics:v3/UnsampledReports/previousLink": previous_link +"/analytics:v3/UnsampledReports/startIndex": start_index +"/analytics:v3/UnsampledReports/totalResults": total_results +"/analytics:v3/UnsampledReports/username": username +"/analytics:v3/Upload": upload +"/analytics:v3/Upload/accountId": account_id +"/analytics:v3/Upload/customDataSourceId": custom_data_source_id +"/analytics:v3/Upload/errors": errors +"/analytics:v3/Upload/errors/error": error +"/analytics:v3/Upload/id": id +"/analytics:v3/Upload/kind": kind +"/analytics:v3/Upload/status": status +"/analytics:v3/Uploads": uploads +"/analytics:v3/Uploads/items": items +"/analytics:v3/Uploads/items/item": item +"/analytics:v3/Uploads/itemsPerPage": items_per_page +"/analytics:v3/Uploads/kind": kind +"/analytics:v3/Uploads/nextLink": next_link +"/analytics:v3/Uploads/previousLink": previous_link +"/analytics:v3/Uploads/startIndex": start_index +"/analytics:v3/Uploads/totalResults": total_results +"/analytics:v3/UserRef": user_ref +"/analytics:v3/UserRef/email": email +"/analytics:v3/UserRef/id": id +"/analytics:v3/UserRef/kind": kind +"/analytics:v3/WebPropertyRef": web_property_ref +"/analytics:v3/WebPropertyRef/accountId": account_id +"/analytics:v3/WebPropertyRef/href": href +"/analytics:v3/WebPropertyRef/id": id +"/analytics:v3/WebPropertyRef/internalWebPropertyId": internal_web_property_id +"/analytics:v3/WebPropertyRef/kind": kind +"/analytics:v3/WebPropertyRef/name": name +"/analytics:v3/WebPropertySummary": web_property_summary +"/analytics:v3/WebPropertySummary/id": id +"/analytics:v3/WebPropertySummary/internalWebPropertyId": internal_web_property_id +"/analytics:v3/WebPropertySummary/kind": kind +"/analytics:v3/WebPropertySummary/level": level +"/analytics:v3/WebPropertySummary/name": name +"/analytics:v3/WebPropertySummary/profiles": profiles +"/analytics:v3/WebPropertySummary/profiles/profile": profile +"/analytics:v3/WebPropertySummary/starred": starred +"/analytics:v3/WebPropertySummary/websiteUrl": website_url +"/analytics:v3/Webproperties": webproperties +"/analytics:v3/Webproperties/items": items +"/analytics:v3/Webproperties/items/item": item +"/analytics:v3/Webproperties/itemsPerPage": items_per_page +"/analytics:v3/Webproperties/kind": kind +"/analytics:v3/Webproperties/nextLink": next_link +"/analytics:v3/Webproperties/previousLink": previous_link +"/analytics:v3/Webproperties/startIndex": start_index +"/analytics:v3/Webproperties/totalResults": total_results +"/analytics:v3/Webproperties/username": username +"/analytics:v3/Webproperty": webproperty +"/analytics:v3/Webproperty/accountId": account_id +"/analytics:v3/Webproperty/childLink": child_link +"/analytics:v3/Webproperty/childLink/href": href +"/analytics:v3/Webproperty/childLink/type": type +"/analytics:v3/Webproperty/created": created +"/analytics:v3/Webproperty/defaultProfileId": default_profile_id +"/analytics:v3/Webproperty/id": id +"/analytics:v3/Webproperty/industryVertical": industry_vertical +"/analytics:v3/Webproperty/internalWebPropertyId": internal_web_property_id +"/analytics:v3/Webproperty/kind": kind +"/analytics:v3/Webproperty/level": level +"/analytics:v3/Webproperty/name": name +"/analytics:v3/Webproperty/parentLink": parent_link +"/analytics:v3/Webproperty/parentLink/href": href +"/analytics:v3/Webproperty/parentLink/type": type +"/analytics:v3/Webproperty/permissions": permissions +"/analytics:v3/Webproperty/permissions/effective": effective +"/analytics:v3/Webproperty/permissions/effective/effective": effective +"/analytics:v3/Webproperty/profileCount": profile_count +"/analytics:v3/Webproperty/selfLink": self_link +"/analytics:v3/Webproperty/starred": starred +"/analytics:v3/Webproperty/updated": updated +"/analytics:v3/Webproperty/websiteUrl": website_url +"/analyticsreporting:v4/key": key +"/analyticsreporting:v4/quotaUser": quota_user +"/analyticsreporting:v4/fields": fields +"/analyticsreporting:v4/PivotHeader": pivot_header +"/analyticsreporting:v4/PivotHeader/totalPivotGroupsCount": total_pivot_groups_count +"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries": pivot_header_entries +"/analyticsreporting:v4/PivotHeader/pivotHeaderEntries/pivot_header_entry": pivot_header_entry +"/analyticsreporting:v4/Metric": metric +"/analyticsreporting:v4/Metric/alias": alias +"/analyticsreporting:v4/Metric/formattingType": formatting_type +"/analyticsreporting:v4/Metric/expression": expression +"/analyticsreporting:v4/ColumnHeader": column_header +"/analyticsreporting:v4/ColumnHeader/dimensions": dimensions +"/analyticsreporting:v4/ColumnHeader/dimensions/dimension": dimension +"/analyticsreporting:v4/ColumnHeader/metricHeader": metric_header +"/analyticsreporting:v4/DynamicSegment": dynamic_segment +"/analyticsreporting:v4/DynamicSegment/sessionSegment": session_segment +"/analyticsreporting:v4/DynamicSegment/name": name +"/analyticsreporting:v4/DynamicSegment/userSegment": user_segment +"/analyticsreporting:v4/MetricHeader": metric_header +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries": metric_header_entries +"/analyticsreporting:v4/MetricHeader/metricHeaderEntries/metric_header_entry": metric_header_entry +"/analyticsreporting:v4/MetricHeader/pivotHeaders": pivot_headers +"/analyticsreporting:v4/MetricHeader/pivotHeaders/pivot_header": pivot_header +"/analyticsreporting:v4/Report": report +"/analyticsreporting:v4/Report/columnHeader": column_header +"/analyticsreporting:v4/Report/data": data +"/analyticsreporting:v4/Report/nextPageToken": next_page_token +"/analyticsreporting:v4/SegmentFilterClause": segment_filter_clause +"/analyticsreporting:v4/SegmentFilterClause/dimensionFilter": dimension_filter +"/analyticsreporting:v4/SegmentFilterClause/metricFilter": metric_filter +"/analyticsreporting:v4/SegmentFilterClause/not": not +"/analyticsreporting:v4/DimensionFilter": dimension_filter +"/analyticsreporting:v4/DimensionFilter/dimensionName": dimension_name +"/analyticsreporting:v4/DimensionFilter/operator": operator +"/analyticsreporting:v4/DimensionFilter/caseSensitive": case_sensitive +"/analyticsreporting:v4/DimensionFilter/expressions": expressions +"/analyticsreporting:v4/DimensionFilter/expressions/expression": expression +"/analyticsreporting:v4/DimensionFilter/not": not +"/analyticsreporting:v4/SegmentDimensionFilter": segment_dimension_filter +"/analyticsreporting:v4/SegmentDimensionFilter/maxComparisonValue": max_comparison_value +"/analyticsreporting:v4/SegmentDimensionFilter/dimensionName": dimension_name +"/analyticsreporting:v4/SegmentDimensionFilter/caseSensitive": case_sensitive +"/analyticsreporting:v4/SegmentDimensionFilter/operator": operator +"/analyticsreporting:v4/SegmentDimensionFilter/expressions": expressions +"/analyticsreporting:v4/SegmentDimensionFilter/expressions/expression": expression +"/analyticsreporting:v4/SegmentDimensionFilter/minComparisonValue": min_comparison_value +"/analyticsreporting:v4/ReportRequest": report_request +"/analyticsreporting:v4/ReportRequest/cohortGroup": cohort_group +"/analyticsreporting:v4/ReportRequest/dimensions": dimensions +"/analyticsreporting:v4/ReportRequest/dimensions/dimension": dimension +"/analyticsreporting:v4/ReportRequest/metricFilterClauses": metric_filter_clauses +"/analyticsreporting:v4/ReportRequest/metricFilterClauses/metric_filter_clause": metric_filter_clause +"/analyticsreporting:v4/ReportRequest/hideTotals": hide_totals +"/analyticsreporting:v4/ReportRequest/includeEmptyRows": include_empty_rows +"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses": dimension_filter_clauses +"/analyticsreporting:v4/ReportRequest/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause +"/analyticsreporting:v4/ReportRequest/pivots": pivots +"/analyticsreporting:v4/ReportRequest/pivots/pivot": pivot +"/analyticsreporting:v4/ReportRequest/dateRanges": date_ranges +"/analyticsreporting:v4/ReportRequest/dateRanges/date_range": date_range +"/analyticsreporting:v4/ReportRequest/segments": segments +"/analyticsreporting:v4/ReportRequest/segments/segment": segment +"/analyticsreporting:v4/ReportRequest/samplingLevel": sampling_level +"/analyticsreporting:v4/ReportRequest/metrics": metrics +"/analyticsreporting:v4/ReportRequest/metrics/metric": metric +"/analyticsreporting:v4/ReportRequest/pageSize": page_size +"/analyticsreporting:v4/ReportRequest/orderBys": order_bys +"/analyticsreporting:v4/ReportRequest/orderBys/order_by": order_by +"/analyticsreporting:v4/ReportRequest/filtersExpression": filters_expression +"/analyticsreporting:v4/ReportRequest/hideValueRanges": hide_value_ranges +"/analyticsreporting:v4/ReportRequest/viewId": view_id +"/analyticsreporting:v4/ReportRequest/pageToken": page_token +"/analyticsreporting:v4/SimpleSegment": simple_segment +"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/SimpleSegment/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment +"/analyticsreporting:v4/SegmentDefinition": segment_definition +"/analyticsreporting:v4/SegmentDefinition/segmentFilters": segment_filters +"/analyticsreporting:v4/SegmentDefinition/segmentFilters/segment_filter": segment_filter +"/analyticsreporting:v4/SegmentMetricFilter": segment_metric_filter +"/analyticsreporting:v4/SegmentMetricFilter/metricName": metric_name +"/analyticsreporting:v4/SegmentMetricFilter/operator": operator +"/analyticsreporting:v4/SegmentMetricFilter/comparisonValue": comparison_value +"/analyticsreporting:v4/SegmentMetricFilter/scope": scope +"/analyticsreporting:v4/SegmentMetricFilter/maxComparisonValue": max_comparison_value +"/analyticsreporting:v4/ReportData": report_data +"/analyticsreporting:v4/ReportData/rowCount": row_count +"/analyticsreporting:v4/ReportData/samplingSpaceSizes": sampling_space_sizes +"/analyticsreporting:v4/ReportData/samplingSpaceSizes/sampling_space_size": sampling_space_size +"/analyticsreporting:v4/ReportData/maximums": maximums +"/analyticsreporting:v4/ReportData/maximums/maximum": maximum +"/analyticsreporting:v4/ReportData/samplesReadCounts": samples_read_counts +"/analyticsreporting:v4/ReportData/samplesReadCounts/samples_read_count": samples_read_count +"/analyticsreporting:v4/ReportData/minimums": minimums +"/analyticsreporting:v4/ReportData/minimums/minimum": minimum +"/analyticsreporting:v4/ReportData/rows": rows +"/analyticsreporting:v4/ReportData/rows/row": row +"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed +"/analyticsreporting:v4/ReportData/totals": totals +"/analyticsreporting:v4/ReportData/totals/total": total +"/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden +"/analyticsreporting:v4/GetReportsRequest": get_reports_request +"/analyticsreporting:v4/GetReportsRequest/reportRequests": report_requests +"/analyticsreporting:v4/GetReportsRequest/reportRequests/report_request": report_request +"/analyticsreporting:v4/OrderBy": order_by +"/analyticsreporting:v4/OrderBy/sortOrder": sort_order +"/analyticsreporting:v4/OrderBy/orderType": order_type +"/analyticsreporting:v4/OrderBy/fieldName": field_name +"/analyticsreporting:v4/Cohort": cohort +"/analyticsreporting:v4/Cohort/type": type +"/analyticsreporting:v4/Cohort/dateRange": date_range +"/analyticsreporting:v4/Cohort/name": name +"/analyticsreporting:v4/OrFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses": segment_filter_clauses +"/analyticsreporting:v4/OrFiltersForSegment/segmentFilterClauses/segment_filter_clause": segment_filter_clause +"/analyticsreporting:v4/SequenceSegment": sequence_segment +"/analyticsreporting:v4/SequenceSegment/firstStepShouldMatchFirstHit": first_step_should_match_first_hit +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps": segment_sequence_steps +"/analyticsreporting:v4/SequenceSegment/segmentSequenceSteps/segment_sequence_step": segment_sequence_step +"/analyticsreporting:v4/SegmentFilter": segment_filter +"/analyticsreporting:v4/SegmentFilter/sequenceSegment": sequence_segment +"/analyticsreporting:v4/SegmentFilter/not": not +"/analyticsreporting:v4/SegmentFilter/simpleSegment": simple_segment +"/analyticsreporting:v4/PivotHeaderEntry": pivot_header_entry +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames": dimension_names +"/analyticsreporting:v4/PivotHeaderEntry/dimensionNames/dimension_name": dimension_name +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues": dimension_values +"/analyticsreporting:v4/PivotHeaderEntry/dimensionValues/dimension_value": dimension_value +"/analyticsreporting:v4/PivotHeaderEntry/metric": metric +"/analyticsreporting:v4/DimensionFilterClause": dimension_filter_clause +"/analyticsreporting:v4/DimensionFilterClause/operator": operator +"/analyticsreporting:v4/DimensionFilterClause/filters": filters +"/analyticsreporting:v4/DimensionFilterClause/filters/filter": filter +"/analyticsreporting:v4/SegmentSequenceStep": segment_sequence_step +"/analyticsreporting:v4/SegmentSequenceStep/matchType": match_type +"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment": or_filters_for_segment +"/analyticsreporting:v4/SegmentSequenceStep/orFiltersForSegment/or_filters_for_segment": or_filters_for_segment +"/analyticsreporting:v4/Pivot": pivot +"/analyticsreporting:v4/Pivot/dimensions": dimensions +"/analyticsreporting:v4/Pivot/dimensions/dimension": dimension +"/analyticsreporting:v4/Pivot/metrics": metrics +"/analyticsreporting:v4/Pivot/metrics/metric": metric +"/analyticsreporting:v4/Pivot/maxGroupCount": max_group_count +"/analyticsreporting:v4/Pivot/dimensionFilterClauses": dimension_filter_clauses +"/analyticsreporting:v4/Pivot/dimensionFilterClauses/dimension_filter_clause": dimension_filter_clause +"/analyticsreporting:v4/Pivot/startGroup": start_group +"/analyticsreporting:v4/DateRangeValues": date_range_values +"/analyticsreporting:v4/DateRangeValues/values": values +"/analyticsreporting:v4/DateRangeValues/values/value": value +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions": pivot_value_regions +"/analyticsreporting:v4/DateRangeValues/pivotValueRegions/pivot_value_region": pivot_value_region +"/analyticsreporting:v4/MetricFilterClause": metric_filter_clause +"/analyticsreporting:v4/MetricFilterClause/operator": operator +"/analyticsreporting:v4/MetricFilterClause/filters": filters +"/analyticsreporting:v4/MetricFilterClause/filters/filter": filter +"/analyticsreporting:v4/Segment": segment +"/analyticsreporting:v4/Segment/dynamicSegment": dynamic_segment +"/analyticsreporting:v4/Segment/segmentId": segment_id +"/analyticsreporting:v4/DateRange": date_range +"/analyticsreporting:v4/DateRange/startDate": start_date +"/analyticsreporting:v4/DateRange/endDate": end_date +"/analyticsreporting:v4/ReportRow": report_row +"/analyticsreporting:v4/ReportRow/dimensions": dimensions +"/analyticsreporting:v4/ReportRow/dimensions/dimension": dimension +"/analyticsreporting:v4/ReportRow/metrics": metrics +"/analyticsreporting:v4/ReportRow/metrics/metric": metric +"/analyticsreporting:v4/CohortGroup": cohort_group +"/analyticsreporting:v4/CohortGroup/lifetimeValue": lifetime_value +"/analyticsreporting:v4/CohortGroup/cohorts": cohorts +"/analyticsreporting:v4/CohortGroup/cohorts/cohort": cohort +"/analyticsreporting:v4/GetReportsResponse": get_reports_response +"/analyticsreporting:v4/GetReportsResponse/reports": reports +"/analyticsreporting:v4/GetReportsResponse/reports/report": report +"/analyticsreporting:v4/MetricHeaderEntry": metric_header_entry +"/analyticsreporting:v4/MetricHeaderEntry/type": type +"/analyticsreporting:v4/MetricHeaderEntry/name": name +"/analyticsreporting:v4/MetricFilter": metric_filter +"/analyticsreporting:v4/MetricFilter/metricName": metric_name +"/analyticsreporting:v4/MetricFilter/operator": operator +"/analyticsreporting:v4/MetricFilter/comparisonValue": comparison_value +"/analyticsreporting:v4/MetricFilter/not": not +"/analyticsreporting:v4/Dimension": dimension +"/analyticsreporting:v4/Dimension/histogramBuckets": histogram_buckets +"/analyticsreporting:v4/Dimension/histogramBuckets/histogram_bucket": histogram_bucket +"/analyticsreporting:v4/Dimension/name": name +"/analyticsreporting:v4/PivotValueRegion": pivot_value_region +"/analyticsreporting:v4/PivotValueRegion/values": values +"/analyticsreporting:v4/PivotValueRegion/values/value": value +"/androidenterprise:v1/fields": fields +"/androidenterprise:v1/key": key +"/androidenterprise:v1/quotaUser": quota_user +"/androidenterprise:v1/userIp": user_ip +"/androidenterprise:v1/androidenterprise.collections.delete": delete_collection +"/androidenterprise:v1/androidenterprise.collections.delete/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collections.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collections.get": get_collection +"/androidenterprise:v1/androidenterprise.collections.get/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collections.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collections.insert": insert_collection +"/androidenterprise:v1/androidenterprise.collections.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collections.list": list_collections +"/androidenterprise:v1/androidenterprise.collections.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collections.patch": patch_collection +"/androidenterprise:v1/androidenterprise.collections.patch/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collections.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collections.update": update_collection +"/androidenterprise:v1/androidenterprise.collections.update/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collections.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.delete/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collectionviewers.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.collectionviewers.get/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collectionviewers.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.get/userId": user_id +"/androidenterprise:v1/androidenterprise.collectionviewers.list/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collectionviewers.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.patch/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collectionviewers.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.collectionviewers.update/collectionId": collection_id +"/androidenterprise:v1/androidenterprise.collectionviewers.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.collectionviewers.update/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.get": get_device +"/androidenterprise:v1/androidenterprise.devices.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.get/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.getState": get_device_state +"/androidenterprise:v1/androidenterprise.devices.getState/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.getState/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.getState/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.list": list_devices +"/androidenterprise:v1/androidenterprise.devices.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.list/userId": user_id +"/androidenterprise:v1/androidenterprise.devices.setState": set_device_state +"/androidenterprise:v1/androidenterprise.devices.setState/deviceId": device_id +"/androidenterprise:v1/androidenterprise.devices.setState/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.devices.setState/userId": user_id +"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet": acknowledge_enterprise_notification_set +"/androidenterprise:v1/androidenterprise.enterprises.acknowledgeNotificationSet/notificationSetId": notification_set_id +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup": complete_enterprise_signup +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/completionToken": completion_token +"/androidenterprise:v1/androidenterprise.enterprises.completeSignup/enterpriseToken": enterprise_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken": create_enterprise_web_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.delete": delete_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.enroll": enroll_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.enroll/token": token +"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl": generate_enterprise_signup_url +"/androidenterprise:v1/androidenterprise.enterprises.generateSignupUrl/callbackUrl": callback_url +"/androidenterprise:v1/androidenterprise.enterprises.get": get_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount": get_enterprise_service_account +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.getServiceAccount/keyType": key_type +"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout": get_enterprise_store_layout +"/androidenterprise:v1/androidenterprise.enterprises.getStoreLayout/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.insert": insert_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.insert/token": token +"/androidenterprise:v1/androidenterprise.enterprises.list": list_enterprises +"/androidenterprise:v1/androidenterprise.enterprises.list/domain": domain +"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet": pull_enterprise_notification_set +"/androidenterprise:v1/androidenterprise.enterprises.pullNotificationSet/requestMode": request_mode +"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification": send_enterprise_test_push_notification +"/androidenterprise:v1/androidenterprise.enterprises.sendTestPushNotification/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.setAccount": set_enterprise_account +"/androidenterprise:v1/androidenterprise.enterprises.setAccount/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout": set_enterprise_store_layout +"/androidenterprise:v1/androidenterprise.enterprises.setStoreLayout/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.enterprises.unenroll": unenroll_enterprise +"/androidenterprise:v1/androidenterprise.enterprises.unenroll/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.delete": delete_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.delete/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.get": get_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.get/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.get/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.list": list_entitlements +"/androidenterprise:v1/androidenterprise.entitlements.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.list/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.patch": patch_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.patch/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.patch/install": install +"/androidenterprise:v1/androidenterprise.entitlements.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.entitlements.update": update_entitlement +"/androidenterprise:v1/androidenterprise.entitlements.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.entitlements.update/entitlementId": entitlement_id +"/androidenterprise:v1/androidenterprise.entitlements.update/install": install +"/androidenterprise:v1/androidenterprise.entitlements.update/userId": user_id +"/androidenterprise:v1/androidenterprise.grouplicenses.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenses.get/groupLicenseId": group_license_id +"/androidenterprise:v1/androidenterprise.grouplicenses.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.grouplicenseusers.list/groupLicenseId": group_license_id +"/androidenterprise:v1/androidenterprise.installs.delete": delete_install +"/androidenterprise:v1/androidenterprise.installs.delete/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.delete/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.get": get_install +"/androidenterprise:v1/androidenterprise.installs.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.get/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.get/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.list": list_installs +"/androidenterprise:v1/androidenterprise.installs.list/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.list/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.patch": patch_install +"/androidenterprise:v1/androidenterprise.installs.patch/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.patch/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.installs.update": update_install +"/androidenterprise:v1/androidenterprise.installs.update/deviceId": device_id +"/androidenterprise:v1/androidenterprise.installs.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.installs.update/installId": install_id +"/androidenterprise:v1/androidenterprise.installs.update/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete": delete_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get": get_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.get/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list": list_managedconfigurationsfordevices +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.list/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch": patch_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update": update_managedconfigurationsfordevice +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/deviceId": device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/managedConfigurationForDeviceId": managed_configuration_for_device_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsfordevice.update/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete": delete_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get": get_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.get/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list": list_managedconfigurationsforusers +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.list/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch": patch_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update": update_managedconfigurationsforuser +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/managedConfigurationForUserId": managed_configuration_for_user_id +"/androidenterprise:v1/androidenterprise.managedconfigurationsforuser.update/userId": user_id +"/androidenterprise:v1/androidenterprise.permissions.get": get_permission +"/androidenterprise:v1/androidenterprise.permissions.get/language": language +"/androidenterprise:v1/androidenterprise.permissions.get/permissionId": permission_id +"/androidenterprise:v1/androidenterprise.products.approve": approve_product +"/androidenterprise:v1/androidenterprise.products.approve/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.approve/productId": product_id +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/languageCode": language_code +"/androidenterprise:v1/androidenterprise.products.generateApprovalUrl/productId": product_id +"/androidenterprise:v1/androidenterprise.products.get": get_product +"/androidenterprise:v1/androidenterprise.products.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.get/language": language +"/androidenterprise:v1/androidenterprise.products.get/productId": product_id +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/language": language +"/androidenterprise:v1/androidenterprise.products.getAppRestrictionsSchema/productId": product_id +"/androidenterprise:v1/androidenterprise.products.getPermissions/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.getPermissions/productId": product_id +"/androidenterprise:v1/androidenterprise.products.list": list_products +"/androidenterprise:v1/androidenterprise.products.list/approved": approved +"/androidenterprise:v1/androidenterprise.products.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.list/language": language +"/androidenterprise:v1/androidenterprise.products.list/maxResults": max_results +"/androidenterprise:v1/androidenterprise.products.list/query": query +"/androidenterprise:v1/androidenterprise.products.list/token": token +"/androidenterprise:v1/androidenterprise.products.unapprove": unapprove_product +"/androidenterprise:v1/androidenterprise.products.unapprove/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.unapprove/productId": product_id +"/androidenterprise:v1/androidenterprise.products.updatePermissions/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.products.updatePermissions/productId": product_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete": delete_serviceaccountkey +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.delete/keyId": key_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert": insert_serviceaccountkey +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list": list_serviceaccountkeys +"/androidenterprise:v1/androidenterprise.serviceaccountkeys.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete": delete_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.delete/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get": get_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.get/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert": insert_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.insert/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list": list_storelayoutclusters +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.list/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch": patch_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.patch/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update": update_storelayoutcluster +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/clusterId": cluster_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutclusters.update/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete": delete_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.delete/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.get": get_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.get/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.insert": insert_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.list": list_storelayoutpages +"/androidenterprise:v1/androidenterprise.storelayoutpages.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch": patch_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.patch/pageId": page_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.update": update_storelayoutpage +"/androidenterprise:v1/androidenterprise.storelayoutpages.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.storelayoutpages.update/pageId": page_id +"/androidenterprise:v1/androidenterprise.users.delete": delete_user +"/androidenterprise:v1/androidenterprise.users.delete/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.delete/userId": user_id +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken": generate_user_authentication_token +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.generateAuthenticationToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.generateToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.generateToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.get": get_user +"/androidenterprise:v1/androidenterprise.users.get/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.get/userId": user_id +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet": get_user_available_product_set +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.getAvailableProductSet/userId": user_id +"/androidenterprise:v1/androidenterprise.users.insert": insert_user +"/androidenterprise:v1/androidenterprise.users.insert/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.list": list_users +"/androidenterprise:v1/androidenterprise.users.list/email": email +"/androidenterprise:v1/androidenterprise.users.list/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.patch": patch_user +"/androidenterprise:v1/androidenterprise.users.patch/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.patch/userId": user_id +"/androidenterprise:v1/androidenterprise.users.revokeToken/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.revokeToken/userId": user_id +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet": set_user_available_product_set +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.setAvailableProductSet/userId": user_id +"/androidenterprise:v1/androidenterprise.users.update": update_user +"/androidenterprise:v1/androidenterprise.users.update/enterpriseId": enterprise_id +"/androidenterprise:v1/androidenterprise.users.update/userId": user_id +"/androidenterprise:v1/Administrator": administrator +"/androidenterprise:v1/Administrator/email": email +"/androidenterprise:v1/AdministratorWebToken": administrator_web_token +"/androidenterprise:v1/AdministratorWebToken/kind": kind +"/androidenterprise:v1/AdministratorWebToken/token": token +"/androidenterprise:v1/AdministratorWebTokenSpec": administrator_web_token_spec +"/androidenterprise:v1/AdministratorWebTokenSpec/kind": kind +"/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent +"/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission +"/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission +"/androidenterprise:v1/AppRestrictionsSchema": app_restrictions_schema +"/androidenterprise:v1/AppRestrictionsSchema/kind": kind +"/androidenterprise:v1/AppRestrictionsSchema/restrictions": restrictions +"/androidenterprise:v1/AppRestrictionsSchema/restrictions/restriction": restriction +"/androidenterprise:v1/AppRestrictionsSchemaChangeEvent": app_restrictions_schema_change_event +"/androidenterprise:v1/AppRestrictionsSchemaChangeEvent/productId": product_id +"/androidenterprise:v1/AppRestrictionsSchemaRestriction": app_restrictions_schema_restriction +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/defaultValue": default_value +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/description": description +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/entry": entry +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/entry/entry": entry +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/entryValue": entry_value +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/entryValue/entry_value": entry_value +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/key": key +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/nestedRestriction": nested_restriction +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/nestedRestriction/nested_restriction": nested_restriction +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/restrictionType": restriction_type +"/androidenterprise:v1/AppRestrictionsSchemaRestriction/title": title +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue": app_restrictions_schema_restriction_restriction_value +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/type": type +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/valueBool": value_bool +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/valueInteger": value_integer +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/valueMultiselect": value_multiselect +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/valueMultiselect/value_multiselect": value_multiselect +"/androidenterprise:v1/AppRestrictionsSchemaRestrictionRestrictionValue/valueString": value_string +"/androidenterprise:v1/AppUpdateEvent": app_update_event +"/androidenterprise:v1/AppUpdateEvent/productId": product_id +"/androidenterprise:v1/AppVersion": app_version +"/androidenterprise:v1/AppVersion/versionCode": version_code +"/androidenterprise:v1/AppVersion/versionString": version_string +"/androidenterprise:v1/ApprovalUrlInfo": approval_url_info +"/androidenterprise:v1/ApprovalUrlInfo/approvalUrl": approval_url +"/androidenterprise:v1/ApprovalUrlInfo/kind": kind +"/androidenterprise:v1/AuthenticationToken": authentication_token +"/androidenterprise:v1/AuthenticationToken/kind": kind +"/androidenterprise:v1/AuthenticationToken/token": token +"/androidenterprise:v1/Collection": collection +"/androidenterprise:v1/Collection/collectionId": collection_id +"/androidenterprise:v1/Collection/kind": kind +"/androidenterprise:v1/Collection/name": name +"/androidenterprise:v1/Collection/productId": product_id +"/androidenterprise:v1/Collection/productId/product_id": product_id +"/androidenterprise:v1/Collection/visibility": visibility +"/androidenterprise:v1/CollectionViewersListResponse/kind": kind +"/androidenterprise:v1/CollectionViewersListResponse/user": user +"/androidenterprise:v1/CollectionViewersListResponse/user/user": user +"/androidenterprise:v1/CollectionsListResponse/collection": collection +"/androidenterprise:v1/CollectionsListResponse/collection/collection": collection +"/androidenterprise:v1/CollectionsListResponse/kind": kind +"/androidenterprise:v1/Device": device +"/androidenterprise:v1/Device/androidId": android_id +"/androidenterprise:v1/Device/kind": kind +"/androidenterprise:v1/Device/managementType": management_type +"/androidenterprise:v1/DeviceState": device_state +"/androidenterprise:v1/DeviceState/accountState": account_state +"/androidenterprise:v1/DeviceState/kind": kind +"/androidenterprise:v1/DevicesListResponse/device": device +"/androidenterprise:v1/DevicesListResponse/device/device": device +"/androidenterprise:v1/DevicesListResponse/kind": kind +"/androidenterprise:v1/Enterprise": enterprise +"/androidenterprise:v1/Enterprise/administrator": administrator +"/androidenterprise:v1/Enterprise/administrator/administrator": administrator +"/androidenterprise:v1/Enterprise/id": id +"/androidenterprise:v1/Enterprise/kind": kind +"/androidenterprise:v1/Enterprise/name": name +"/androidenterprise:v1/Enterprise/primaryDomain": primary_domain +"/androidenterprise:v1/EnterpriseAccount": enterprise_account +"/androidenterprise:v1/EnterpriseAccount/accountEmail": account_email +"/androidenterprise:v1/EnterpriseAccount/kind": kind +"/androidenterprise:v1/EnterprisesListResponse/enterprise": enterprise +"/androidenterprise:v1/EnterprisesListResponse/enterprise/enterprise": enterprise +"/androidenterprise:v1/EnterprisesListResponse/kind": kind +"/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse/messageId": message_id +"/androidenterprise:v1/EnterprisesSendTestPushNotificationResponse/topicName": topic_name +"/androidenterprise:v1/Entitlement": entitlement +"/androidenterprise:v1/Entitlement/kind": kind +"/androidenterprise:v1/Entitlement/productId": product_id +"/androidenterprise:v1/Entitlement/reason": reason +"/androidenterprise:v1/EntitlementsListResponse/entitlement": entitlement +"/androidenterprise:v1/EntitlementsListResponse/entitlement/entitlement": entitlement +"/androidenterprise:v1/EntitlementsListResponse/kind": kind +"/androidenterprise:v1/GroupLicense": group_license +"/androidenterprise:v1/GroupLicense/acquisitionKind": acquisition_kind +"/androidenterprise:v1/GroupLicense/approval": approval +"/androidenterprise:v1/GroupLicense/kind": kind +"/androidenterprise:v1/GroupLicense/numProvisioned": num_provisioned +"/androidenterprise:v1/GroupLicense/numPurchased": num_purchased +"/androidenterprise:v1/GroupLicense/productId": product_id +"/androidenterprise:v1/GroupLicenseUsersListResponse/kind": kind +"/androidenterprise:v1/GroupLicenseUsersListResponse/user": user +"/androidenterprise:v1/GroupLicenseUsersListResponse/user/user": user +"/androidenterprise:v1/GroupLicensesListResponse/groupLicense": group_license +"/androidenterprise:v1/GroupLicensesListResponse/groupLicense/group_license": group_license +"/androidenterprise:v1/GroupLicensesListResponse/kind": kind +"/androidenterprise:v1/Install": install +"/androidenterprise:v1/Install/installState": install_state +"/androidenterprise:v1/Install/kind": kind +"/androidenterprise:v1/Install/productId": product_id +"/androidenterprise:v1/Install/versionCode": version_code +"/androidenterprise:v1/InstallFailureEvent": install_failure_event +"/androidenterprise:v1/InstallFailureEvent/deviceId": device_id +"/androidenterprise:v1/InstallFailureEvent/failureDetails": failure_details +"/androidenterprise:v1/InstallFailureEvent/failureReason": failure_reason +"/androidenterprise:v1/InstallFailureEvent/productId": product_id +"/androidenterprise:v1/InstallFailureEvent/userId": user_id +"/androidenterprise:v1/InstallsListResponse/install": install +"/androidenterprise:v1/InstallsListResponse/install/install": install +"/androidenterprise:v1/InstallsListResponse/kind": kind +"/androidenterprise:v1/LocalizedText": localized_text +"/androidenterprise:v1/LocalizedText/locale": locale +"/androidenterprise:v1/LocalizedText/text": text +"/androidenterprise:v1/ManagedConfiguration": managed_configuration +"/androidenterprise:v1/ManagedConfiguration/kind": kind +"/androidenterprise:v1/ManagedConfiguration/managedProperty": managed_property +"/androidenterprise:v1/ManagedConfiguration/managedProperty/managed_property": managed_property +"/androidenterprise:v1/ManagedConfiguration/productId": product_id +"/androidenterprise:v1/ManagedConfigurationsForDeviceListResponse": managed_configurations_for_device_list_response +"/androidenterprise:v1/ManagedConfigurationsForDeviceListResponse/kind": kind +"/androidenterprise:v1/ManagedConfigurationsForDeviceListResponse/managedConfigurationForDevice": managed_configuration_for_device +"/androidenterprise:v1/ManagedConfigurationsForDeviceListResponse/managedConfigurationForDevice/managed_configuration_for_device": managed_configuration_for_device +"/androidenterprise:v1/ManagedConfigurationsForUserListResponse": managed_configurations_for_user_list_response +"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/kind": kind +"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser": managed_configuration_for_user +"/androidenterprise:v1/ManagedConfigurationsForUserListResponse/managedConfigurationForUser/managed_configuration_for_user": managed_configuration_for_user +"/androidenterprise:v1/ManagedProperty": managed_property +"/androidenterprise:v1/ManagedProperty/key": key +"/androidenterprise:v1/ManagedProperty/valueBool": value_bool +"/androidenterprise:v1/ManagedProperty/valueBundle": value_bundle +"/androidenterprise:v1/ManagedProperty/valueBundleArray": value_bundle_array +"/androidenterprise:v1/ManagedProperty/valueBundleArray/value_bundle_array": value_bundle_array +"/androidenterprise:v1/ManagedProperty/valueInteger": value_integer +"/androidenterprise:v1/ManagedProperty/valueString": value_string +"/androidenterprise:v1/ManagedProperty/valueStringArray": value_string_array +"/androidenterprise:v1/ManagedProperty/valueStringArray/value_string_array": value_string_array +"/androidenterprise:v1/ManagedPropertyBundle": managed_property_bundle +"/androidenterprise:v1/ManagedPropertyBundle/managedProperty": managed_property +"/androidenterprise:v1/ManagedPropertyBundle/managedProperty/managed_property": managed_property +"/androidenterprise:v1/NewPermissionsEvent": new_permissions_event +"/androidenterprise:v1/NewPermissionsEvent/approvedPermissions": approved_permissions +"/androidenterprise:v1/NewPermissionsEvent/approvedPermissions/approved_permission": approved_permission +"/androidenterprise:v1/NewPermissionsEvent/productId": product_id +"/androidenterprise:v1/NewPermissionsEvent/requestedPermissions": requested_permissions +"/androidenterprise:v1/NewPermissionsEvent/requestedPermissions/requested_permission": requested_permission +"/androidenterprise:v1/Notification": notification +"/androidenterprise:v1/Notification/appRestrictionsSchemaChangeEvent": app_restrictions_schema_change_event +"/androidenterprise:v1/Notification/appUpdateEvent": app_update_event +"/androidenterprise:v1/Notification/enterpriseId": enterprise_id +"/androidenterprise:v1/Notification/installFailureEvent": install_failure_event +"/androidenterprise:v1/Notification/newPermissionsEvent": new_permissions_event +"/androidenterprise:v1/Notification/productApprovalEvent": product_approval_event +"/androidenterprise:v1/Notification/productAvailabilityChangeEvent": product_availability_change_event +"/androidenterprise:v1/Notification/timestampMillis": timestamp_millis +"/androidenterprise:v1/NotificationSet": notification_set +"/androidenterprise:v1/NotificationSet/kind": kind +"/androidenterprise:v1/NotificationSet/notification": notification +"/androidenterprise:v1/NotificationSet/notification/notification": notification +"/androidenterprise:v1/NotificationSet/notificationSetId": notification_set_id +"/androidenterprise:v1/PageInfo": page_info +"/androidenterprise:v1/PageInfo/resultPerPage": result_per_page +"/androidenterprise:v1/PageInfo/startIndex": start_index +"/androidenterprise:v1/PageInfo/totalResults": total_results +"/androidenterprise:v1/Permission": permission +"/androidenterprise:v1/Permission/description": description +"/androidenterprise:v1/Permission/kind": kind +"/androidenterprise:v1/Permission/name": name +"/androidenterprise:v1/Permission/permissionId": permission_id +"/androidenterprise:v1/Product": product +"/androidenterprise:v1/Product/appVersion": app_version +"/androidenterprise:v1/Product/appVersion/app_version": app_version +"/androidenterprise:v1/Product/authorName": author_name +"/androidenterprise:v1/Product/detailsUrl": details_url +"/androidenterprise:v1/Product/distributionChannel": distribution_channel +"/androidenterprise:v1/Product/iconUrl": icon_url +"/androidenterprise:v1/Product/kind": kind +"/androidenterprise:v1/Product/productId": product_id +"/androidenterprise:v1/Product/productPricing": product_pricing +"/androidenterprise:v1/Product/requiresContainerApp": requires_container_app +"/androidenterprise:v1/Product/smallIconUrl": small_icon_url +"/androidenterprise:v1/Product/title": title +"/androidenterprise:v1/Product/workDetailsUrl": work_details_url +"/androidenterprise:v1/ProductApprovalEvent": product_approval_event +"/androidenterprise:v1/ProductApprovalEvent/approved": approved +"/androidenterprise:v1/ProductApprovalEvent/productId": product_id +"/androidenterprise:v1/ProductAvailabilityChangeEvent": product_availability_change_event +"/androidenterprise:v1/ProductAvailabilityChangeEvent/availabilityStatus": availability_status +"/androidenterprise:v1/ProductAvailabilityChangeEvent/productId": product_id +"/androidenterprise:v1/ProductPermission": product_permission +"/androidenterprise:v1/ProductPermission/permissionId": permission_id +"/androidenterprise:v1/ProductPermission/state": state +"/androidenterprise:v1/ProductPermissions": product_permissions +"/androidenterprise:v1/ProductPermissions/kind": kind +"/androidenterprise:v1/ProductPermissions/permission": permission +"/androidenterprise:v1/ProductPermissions/permission/permission": permission +"/androidenterprise:v1/ProductPermissions/productId": product_id +"/androidenterprise:v1/ProductSet": product_set +"/androidenterprise:v1/ProductSet/kind": kind +"/androidenterprise:v1/ProductSet/productId": product_id +"/androidenterprise:v1/ProductSet/productId/product_id": product_id +"/androidenterprise:v1/ProductSet/productSetBehavior": product_set_behavior +"/androidenterprise:v1/ProductsApproveRequest/approvalUrlInfo": approval_url_info +"/androidenterprise:v1/ProductsGenerateApprovalUrlResponse/url": url +"/androidenterprise:v1/ProductsListResponse": products_list_response +"/androidenterprise:v1/ProductsListResponse/kind": kind +"/androidenterprise:v1/ProductsListResponse/pageInfo": page_info +"/androidenterprise:v1/ProductsListResponse/product": product +"/androidenterprise:v1/ProductsListResponse/product/product": product +"/androidenterprise:v1/ProductsListResponse/tokenPagination": token_pagination +"/androidenterprise:v1/ServiceAccount": service_account +"/androidenterprise:v1/ServiceAccount/key": key +"/androidenterprise:v1/ServiceAccount/kind": kind +"/androidenterprise:v1/ServiceAccount/name": name +"/androidenterprise:v1/ServiceAccountKey": service_account_key +"/androidenterprise:v1/ServiceAccountKey/data": data +"/androidenterprise:v1/ServiceAccountKey/id": id +"/androidenterprise:v1/ServiceAccountKey/kind": kind +"/androidenterprise:v1/ServiceAccountKey/publicData": public_data +"/androidenterprise:v1/ServiceAccountKey/type": type +"/androidenterprise:v1/ServiceAccountKeysListResponse": service_account_keys_list_response +"/androidenterprise:v1/ServiceAccountKeysListResponse/serviceAccountKey": service_account_key +"/androidenterprise:v1/ServiceAccountKeysListResponse/serviceAccountKey/service_account_key": service_account_key +"/androidenterprise:v1/SignupInfo": signup_info +"/androidenterprise:v1/SignupInfo/completionToken": completion_token +"/androidenterprise:v1/SignupInfo/kind": kind +"/androidenterprise:v1/SignupInfo/url": url +"/androidenterprise:v1/StoreCluster": store_cluster +"/androidenterprise:v1/StoreCluster/id": id +"/androidenterprise:v1/StoreCluster/kind": kind +"/androidenterprise:v1/StoreCluster/name": name +"/androidenterprise:v1/StoreCluster/name/name": name +"/androidenterprise:v1/StoreCluster/orderInPage": order_in_page +"/androidenterprise:v1/StoreCluster/productId": product_id +"/androidenterprise:v1/StoreCluster/productId/product_id": product_id +"/androidenterprise:v1/StoreLayout": store_layout +"/androidenterprise:v1/StoreLayout/homepageId": homepage_id +"/androidenterprise:v1/StoreLayout/kind": kind +"/androidenterprise:v1/StoreLayout/storeLayoutType": store_layout_type +"/androidenterprise:v1/StoreLayoutClustersListResponse": store_layout_clusters_list_response +"/androidenterprise:v1/StoreLayoutClustersListResponse/cluster": cluster +"/androidenterprise:v1/StoreLayoutClustersListResponse/cluster/cluster": cluster +"/androidenterprise:v1/StoreLayoutClustersListResponse/kind": kind +"/androidenterprise:v1/StoreLayoutPagesListResponse": store_layout_pages_list_response +"/androidenterprise:v1/StoreLayoutPagesListResponse/kind": kind +"/androidenterprise:v1/StoreLayoutPagesListResponse/page": page +"/androidenterprise:v1/StoreLayoutPagesListResponse/page/page": page +"/androidenterprise:v1/StorePage": store_page +"/androidenterprise:v1/StorePage/id": id +"/androidenterprise:v1/StorePage/kind": kind +"/androidenterprise:v1/StorePage/link": link +"/androidenterprise:v1/StorePage/link/link": link +"/androidenterprise:v1/StorePage/name": name +"/androidenterprise:v1/StorePage/name/name": name +"/androidenterprise:v1/TokenPagination": token_pagination +"/androidenterprise:v1/TokenPagination/nextPageToken": next_page_token +"/androidenterprise:v1/TokenPagination/previousPageToken": previous_page_token +"/androidenterprise:v1/User": user +"/androidenterprise:v1/User/accountIdentifier": account_identifier +"/androidenterprise:v1/User/accountType": account_type +"/androidenterprise:v1/User/displayName": display_name +"/androidenterprise:v1/User/id": id +"/androidenterprise:v1/User/kind": kind +"/androidenterprise:v1/User/managementType": management_type +"/androidenterprise:v1/User/primaryEmail": primary_email +"/androidenterprise:v1/UserToken": user_token +"/androidenterprise:v1/UserToken/kind": kind +"/androidenterprise:v1/UserToken/token": token +"/androidenterprise:v1/UserToken/userId": user_id +"/androidenterprise:v1/UsersListResponse/kind": kind +"/androidenterprise:v1/UsersListResponse/user": user +"/androidenterprise:v1/UsersListResponse/user/user": user +"/androidpublisher:v2/fields": fields +"/androidpublisher:v2/key": key +"/androidpublisher:v2/quotaUser": quota_user +"/androidpublisher:v2/userIp": user_ip +"/androidpublisher:v2/androidpublisher.edits.commit": commit_edit +"/androidpublisher:v2/androidpublisher.edits.commit/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.commit/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.delete": delete_edit +"/androidpublisher:v2/androidpublisher.edits.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.get": get_edit +"/androidpublisher:v2/androidpublisher.edits.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.insert": insert_edit +"/androidpublisher:v2/androidpublisher.edits.insert/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.validate": validate_edit +"/androidpublisher:v2/androidpublisher.edits.validate/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.validate/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/language": language +"/androidpublisher:v2/androidpublisher.edits.apklistings.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.addexternallyhosted/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.apks.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.apks.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload": upload_edit_deobfuscationfile +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/deobfuscationFileType": deobfuscation_file_type +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.details.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.details.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/expansionFileType": expansion_file_type +"/androidpublisher:v2/androidpublisher.edits.expansionfiles.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.delete/imageId": image_id +"/androidpublisher:v2/androidpublisher.edits.images.delete/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.images.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/language": language +"/androidpublisher:v2/androidpublisher.edits.images.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.list/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.list/language": language +"/androidpublisher:v2/androidpublisher.edits.images.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.images.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.images.upload/imageType": image_type +"/androidpublisher:v2/androidpublisher.edits.images.upload/language": language +"/androidpublisher:v2/androidpublisher.edits.images.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.delete/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.delete/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.deleteall/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.get/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.patch/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.listings.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.listings.update/language": language +"/androidpublisher:v2/androidpublisher.edits.listings.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.get/track": track +"/androidpublisher:v2/androidpublisher.edits.testers.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.patch/track": track +"/androidpublisher:v2/androidpublisher.edits.testers.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.testers.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.testers.update/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.get/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.get/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.list/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.patch/track": track +"/androidpublisher:v2/androidpublisher.edits.tracks.update/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.tracks.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.tracks.update/track": track +"/androidpublisher:v2/androidpublisher.entitlements.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.entitlements.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.entitlements.list/productId": product_id +"/androidpublisher:v2/androidpublisher.entitlements.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.entitlements.list/token": token +"/androidpublisher:v2/androidpublisher.inappproducts.delete/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.delete/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.get/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.insert/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.insert/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.inappproducts.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.inappproducts.list/token": token +"/androidpublisher:v2/androidpublisher.inappproducts.patch/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.patch/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.patch/sku": sku +"/androidpublisher:v2/androidpublisher.inappproducts.update/autoConvertMissingPrices": auto_convert_missing_prices +"/androidpublisher:v2/androidpublisher.inappproducts.update/packageName": package_name +"/androidpublisher:v2/androidpublisher.inappproducts.update/sku": sku +"/androidpublisher:v2/androidpublisher.purchases.products.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.products.get/productId": product_id +"/androidpublisher:v2/androidpublisher.purchases.products.get/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.cancel/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.defer/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.get/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.refund/token": token +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/subscriptionId": subscription_id +"/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/token": token +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list": list_purchase_voidedpurchases +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/endTime": end_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startTime": start_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/token": token +"/androidpublisher:v2/androidpublisher.reviews.get": get_review +"/androidpublisher:v2/androidpublisher.reviews.get/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.get/reviewId": review_id +"/androidpublisher:v2/androidpublisher.reviews.get/translationLanguage": translation_language +"/androidpublisher:v2/androidpublisher.reviews.list": list_reviews +"/androidpublisher:v2/androidpublisher.reviews.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.reviews.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.reviews.list/token": token +"/androidpublisher:v2/androidpublisher.reviews.list/translationLanguage": translation_language +"/androidpublisher:v2/androidpublisher.reviews.reply": reply_review +"/androidpublisher:v2/androidpublisher.reviews.reply/packageName": package_name +"/androidpublisher:v2/androidpublisher.reviews.reply/reviewId": review_id +"/androidpublisher:v2/Apk": apk +"/androidpublisher:v2/Apk/binary": binary +"/androidpublisher:v2/Apk/versionCode": version_code +"/androidpublisher:v2/ApkBinary": apk_binary +"/androidpublisher:v2/ApkBinary/sha1": sha1 +"/androidpublisher:v2/ApkListing": apk_listing +"/androidpublisher:v2/ApkListing/language": language +"/androidpublisher:v2/ApkListing/recentChanges": recent_changes +"/androidpublisher:v2/ApkListingsListResponse/kind": kind +"/androidpublisher:v2/ApkListingsListResponse/listings": listings +"/androidpublisher:v2/ApkListingsListResponse/listings/listing": listing +"/androidpublisher:v2/ApksAddExternallyHostedRequest/externallyHostedApk": externally_hosted_apk +"/androidpublisher:v2/ApksAddExternallyHostedResponse/externallyHostedApk": externally_hosted_apk +"/androidpublisher:v2/ApksListResponse/apks": apks +"/androidpublisher:v2/ApksListResponse/apks/apk": apk +"/androidpublisher:v2/ApksListResponse/kind": kind +"/androidpublisher:v2/AppDetails": app_details +"/androidpublisher:v2/AppDetails/contactEmail": contact_email +"/androidpublisher:v2/AppDetails/contactPhone": contact_phone +"/androidpublisher:v2/AppDetails/contactWebsite": contact_website +"/androidpublisher:v2/AppDetails/defaultLanguage": default_language +"/androidpublisher:v2/AppEdit": app_edit +"/androidpublisher:v2/AppEdit/expiryTimeSeconds": expiry_time_seconds +"/androidpublisher:v2/AppEdit/id": id +"/androidpublisher:v2/Comment": comment +"/androidpublisher:v2/Comment/developerComment": developer_comment +"/androidpublisher:v2/Comment/userComment": user_comment +"/androidpublisher:v2/DeobfuscationFile": deobfuscation_file +"/androidpublisher:v2/DeobfuscationFile/symbolType": symbol_type +"/androidpublisher:v2/DeobfuscationFilesUploadResponse": deobfuscation_files_upload_response +"/androidpublisher:v2/DeobfuscationFilesUploadResponse/deobfuscationFile": deobfuscation_file +"/androidpublisher:v2/DeveloperComment": developer_comment +"/androidpublisher:v2/DeveloperComment/lastModified": last_modified +"/androidpublisher:v2/DeveloperComment/text": text +"/androidpublisher:v2/DeviceMetadata": device_metadata +"/androidpublisher:v2/DeviceMetadata/cpuMake": cpu_make +"/androidpublisher:v2/DeviceMetadata/cpuModel": cpu_model +"/androidpublisher:v2/DeviceMetadata/deviceClass": device_class +"/androidpublisher:v2/DeviceMetadata/glEsVersion": gl_es_version +"/androidpublisher:v2/DeviceMetadata/manufacturer": manufacturer +"/androidpublisher:v2/DeviceMetadata/nativePlatform": native_platform +"/androidpublisher:v2/DeviceMetadata/productName": product_name +"/androidpublisher:v2/DeviceMetadata/ramMb": ram_mb +"/androidpublisher:v2/DeviceMetadata/screenDensityDpi": screen_density_dpi +"/androidpublisher:v2/DeviceMetadata/screenHeightPx": screen_height_px +"/androidpublisher:v2/DeviceMetadata/screenWidthPx": screen_width_px +"/androidpublisher:v2/Entitlement": entitlement +"/androidpublisher:v2/Entitlement/kind": kind +"/androidpublisher:v2/Entitlement/productId": product_id +"/androidpublisher:v2/Entitlement/productType": product_type +"/androidpublisher:v2/Entitlement/token": token +"/androidpublisher:v2/EntitlementsListResponse/pageInfo": page_info +"/androidpublisher:v2/EntitlementsListResponse/resources": resources +"/androidpublisher:v2/EntitlementsListResponse/resources/resource": resource +"/androidpublisher:v2/EntitlementsListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/ExpansionFile": expansion_file +"/androidpublisher:v2/ExpansionFile/fileSize": file_size +"/androidpublisher:v2/ExpansionFile/referencesVersion": references_version +"/androidpublisher:v2/ExpansionFilesUploadResponse/expansionFile": expansion_file +"/androidpublisher:v2/ExternallyHostedApk": externally_hosted_apk +"/androidpublisher:v2/ExternallyHostedApk/applicationLabel": application_label +"/androidpublisher:v2/ExternallyHostedApk/certificateBase64s": certificate_base64s +"/androidpublisher:v2/ExternallyHostedApk/certificateBase64s/certificate_base64": certificate_base64 +"/androidpublisher:v2/ExternallyHostedApk/externallyHostedUrl": externally_hosted_url +"/androidpublisher:v2/ExternallyHostedApk/fileSha1Base64": file_sha1_base64 +"/androidpublisher:v2/ExternallyHostedApk/fileSha256Base64": file_sha256_base64 +"/androidpublisher:v2/ExternallyHostedApk/fileSize": file_size +"/androidpublisher:v2/ExternallyHostedApk/iconBase64": icon_base64 +"/androidpublisher:v2/ExternallyHostedApk/maximumSdk": maximum_sdk +"/androidpublisher:v2/ExternallyHostedApk/minimumSdk": minimum_sdk +"/androidpublisher:v2/ExternallyHostedApk/nativeCodes": native_codes +"/androidpublisher:v2/ExternallyHostedApk/nativeCodes/native_code": native_code +"/androidpublisher:v2/ExternallyHostedApk/packageName": package_name +"/androidpublisher:v2/ExternallyHostedApk/usesFeatures": uses_features +"/androidpublisher:v2/ExternallyHostedApk/usesFeatures/uses_feature": uses_feature +"/androidpublisher:v2/ExternallyHostedApk/usesPermissions": uses_permissions +"/androidpublisher:v2/ExternallyHostedApk/usesPermissions/uses_permission": uses_permission +"/androidpublisher:v2/ExternallyHostedApk/versionCode": version_code +"/androidpublisher:v2/ExternallyHostedApk/versionName": version_name +"/androidpublisher:v2/ExternallyHostedApkUsesPermission": externally_hosted_apk_uses_permission +"/androidpublisher:v2/ExternallyHostedApkUsesPermission/maxSdkVersion": max_sdk_version +"/androidpublisher:v2/ExternallyHostedApkUsesPermission/name": name +"/androidpublisher:v2/Image": image +"/androidpublisher:v2/Image/id": id +"/androidpublisher:v2/Image/sha1": sha1 +"/androidpublisher:v2/Image/url": url +"/androidpublisher:v2/ImagesDeleteAllResponse/deleted": deleted +"/androidpublisher:v2/ImagesDeleteAllResponse/deleted/deleted": deleted +"/androidpublisher:v2/ImagesListResponse/images": images +"/androidpublisher:v2/ImagesListResponse/images/image": image +"/androidpublisher:v2/ImagesUploadResponse/image": image +"/androidpublisher:v2/InAppProduct": in_app_product +"/androidpublisher:v2/InAppProduct/defaultLanguage": default_language +"/androidpublisher:v2/InAppProduct/defaultPrice": default_price +"/androidpublisher:v2/InAppProduct/listings": listings +"/androidpublisher:v2/InAppProduct/listings/listing": listing +"/androidpublisher:v2/InAppProduct/packageName": package_name +"/androidpublisher:v2/InAppProduct/prices": prices +"/androidpublisher:v2/InAppProduct/prices/price": price +"/androidpublisher:v2/InAppProduct/purchaseType": purchase_type +"/androidpublisher:v2/InAppProduct/season": season +"/androidpublisher:v2/InAppProduct/sku": sku +"/androidpublisher:v2/InAppProduct/status": status +"/androidpublisher:v2/InAppProduct/subscriptionPeriod": subscription_period +"/androidpublisher:v2/InAppProduct/trialPeriod": trial_period +"/androidpublisher:v2/InAppProductListing": in_app_product_listing +"/androidpublisher:v2/InAppProductListing/description": description +"/androidpublisher:v2/InAppProductListing/title": title +"/androidpublisher:v2/InappproductsBatchRequest/entrys": entrys +"/androidpublisher:v2/InappproductsBatchRequest/entrys/entry": entry +"/androidpublisher:v2/InappproductsBatchRequestEntry/batchId": batch_id +"/androidpublisher:v2/InappproductsBatchRequestEntry/inappproductsinsertrequest": inappproductsinsertrequest +"/androidpublisher:v2/InappproductsBatchRequestEntry/inappproductsupdaterequest": inappproductsupdaterequest +"/androidpublisher:v2/InappproductsBatchRequestEntry/methodName": method_name +"/androidpublisher:v2/InappproductsBatchResponse/entrys": entrys +"/androidpublisher:v2/InappproductsBatchResponse/entrys/entry": entry +"/androidpublisher:v2/InappproductsBatchResponse/kind": kind +"/androidpublisher:v2/InappproductsBatchResponseEntry/batchId": batch_id +"/androidpublisher:v2/InappproductsBatchResponseEntry/inappproductsinsertresponse": inappproductsinsertresponse +"/androidpublisher:v2/InappproductsBatchResponseEntry/inappproductsupdateresponse": inappproductsupdateresponse +"/androidpublisher:v2/InappproductsInsertRequest/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsInsertResponse/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsListResponse/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsListResponse/inappproduct/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsListResponse/kind": kind +"/androidpublisher:v2/InappproductsListResponse/pageInfo": page_info +"/androidpublisher:v2/InappproductsListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/InappproductsUpdateRequest/inappproduct": inappproduct +"/androidpublisher:v2/InappproductsUpdateResponse/inappproduct": inappproduct +"/androidpublisher:v2/Listing": listing +"/androidpublisher:v2/Listing/fullDescription": full_description +"/androidpublisher:v2/Listing/language": language +"/androidpublisher:v2/Listing/shortDescription": short_description +"/androidpublisher:v2/Listing/title": title +"/androidpublisher:v2/Listing/video": video +"/androidpublisher:v2/ListingsListResponse/kind": kind +"/androidpublisher:v2/ListingsListResponse/listings": listings +"/androidpublisher:v2/ListingsListResponse/listings/listing": listing +"/androidpublisher:v2/MonthDay": month_day +"/androidpublisher:v2/MonthDay/day": day +"/androidpublisher:v2/MonthDay/month": month +"/androidpublisher:v2/PageInfo": page_info +"/androidpublisher:v2/PageInfo/resultPerPage": result_per_page +"/androidpublisher:v2/PageInfo/startIndex": start_index +"/androidpublisher:v2/PageInfo/totalResults": total_results +"/androidpublisher:v2/Price": price +"/androidpublisher:v2/Price/currency": currency +"/androidpublisher:v2/Price/priceMicros": price_micros +"/androidpublisher:v2/ProductPurchase": product_purchase +"/androidpublisher:v2/ProductPurchase/consumptionState": consumption_state +"/androidpublisher:v2/ProductPurchase/developerPayload": developer_payload +"/androidpublisher:v2/ProductPurchase/kind": kind +"/androidpublisher:v2/ProductPurchase/purchaseState": purchase_state +"/androidpublisher:v2/ProductPurchase/purchaseTimeMillis": purchase_time_millis +"/androidpublisher:v2/Prorate": prorate +"/androidpublisher:v2/Prorate/defaultPrice": default_price +"/androidpublisher:v2/Prorate/start": start +"/androidpublisher:v2/Review": review +"/androidpublisher:v2/Review/authorName": author_name +"/androidpublisher:v2/Review/comments": comments +"/androidpublisher:v2/Review/comments/comment": comment +"/androidpublisher:v2/Review/reviewId": review_id +"/androidpublisher:v2/ReviewReplyResult": review_reply_result +"/androidpublisher:v2/ReviewReplyResult/lastEdited": last_edited +"/androidpublisher:v2/ReviewReplyResult/replyText": reply_text +"/androidpublisher:v2/ReviewsListResponse": reviews_list_response +"/androidpublisher:v2/ReviewsListResponse/pageInfo": page_info +"/androidpublisher:v2/ReviewsListResponse/reviews": reviews +"/androidpublisher:v2/ReviewsListResponse/reviews/review": review +"/androidpublisher:v2/ReviewsListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/ReviewsReplyRequest": reviews_reply_request +"/androidpublisher:v2/ReviewsReplyRequest/replyText": reply_text +"/androidpublisher:v2/ReviewsReplyResponse": reviews_reply_response +"/androidpublisher:v2/ReviewsReplyResponse/result": result +"/androidpublisher:v2/Season": season +"/androidpublisher:v2/Season/end": end +"/androidpublisher:v2/Season/prorations": prorations +"/androidpublisher:v2/Season/prorations/proration": proration +"/androidpublisher:v2/Season/start": start +"/androidpublisher:v2/SubscriptionDeferralInfo": subscription_deferral_info +"/androidpublisher:v2/SubscriptionDeferralInfo/desiredExpiryTimeMillis": desired_expiry_time_millis +"/androidpublisher:v2/SubscriptionDeferralInfo/expectedExpiryTimeMillis": expected_expiry_time_millis +"/androidpublisher:v2/SubscriptionPurchase": subscription_purchase +"/androidpublisher:v2/SubscriptionPurchase/autoRenewing": auto_renewing +"/androidpublisher:v2/SubscriptionPurchase/cancelReason": cancel_reason +"/androidpublisher:v2/SubscriptionPurchase/countryCode": country_code +"/androidpublisher:v2/SubscriptionPurchase/developerPayload": developer_payload +"/androidpublisher:v2/SubscriptionPurchase/expiryTimeMillis": expiry_time_millis +"/androidpublisher:v2/SubscriptionPurchase/kind": kind +"/androidpublisher:v2/SubscriptionPurchase/paymentState": payment_state +"/androidpublisher:v2/SubscriptionPurchase/priceAmountMicros": price_amount_micros +"/androidpublisher:v2/SubscriptionPurchase/priceCurrencyCode": price_currency_code +"/androidpublisher:v2/SubscriptionPurchase/startTimeMillis": start_time_millis +"/androidpublisher:v2/SubscriptionPurchasesDeferRequest/deferralInfo": deferral_info +"/androidpublisher:v2/SubscriptionPurchasesDeferResponse/newExpiryTimeMillis": new_expiry_time_millis +"/androidpublisher:v2/Testers": testers +"/androidpublisher:v2/Testers/googleGroups": google_groups +"/androidpublisher:v2/Testers/googleGroups/google_group": google_group +"/androidpublisher:v2/Testers/googlePlusCommunities": google_plus_communities +"/androidpublisher:v2/Testers/googlePlusCommunities/google_plus_community": google_plus_community +"/androidpublisher:v2/Timestamp": timestamp +"/androidpublisher:v2/Timestamp/nanos": nanos +"/androidpublisher:v2/Timestamp/seconds": seconds +"/androidpublisher:v2/TokenPagination": token_pagination +"/androidpublisher:v2/TokenPagination/nextPageToken": next_page_token +"/androidpublisher:v2/TokenPagination/previousPageToken": previous_page_token +"/androidpublisher:v2/Track": track +"/androidpublisher:v2/Track/track": track +"/androidpublisher:v2/Track/userFraction": user_fraction +"/androidpublisher:v2/Track/versionCodes": version_codes +"/androidpublisher:v2/Track/versionCodes/version_code": version_code +"/androidpublisher:v2/TracksListResponse/kind": kind +"/androidpublisher:v2/TracksListResponse/tracks": tracks +"/androidpublisher:v2/TracksListResponse/tracks/track": track +"/androidpublisher:v2/UserComment": user_comment +"/androidpublisher:v2/UserComment/androidOsVersion": android_os_version +"/androidpublisher:v2/UserComment/appVersionCode": app_version_code +"/androidpublisher:v2/UserComment/appVersionName": app_version_name +"/androidpublisher:v2/UserComment/device": device +"/androidpublisher:v2/UserComment/deviceMetadata": device_metadata +"/androidpublisher:v2/UserComment/lastModified": last_modified +"/androidpublisher:v2/UserComment/originalText": original_text +"/androidpublisher:v2/UserComment/reviewerLanguage": reviewer_language +"/androidpublisher:v2/UserComment/starRating": star_rating +"/androidpublisher:v2/UserComment/text": text +"/androidpublisher:v2/UserComment/thumbsDownCount": thumbs_down_count +"/androidpublisher:v2/UserComment/thumbsUpCount": thumbs_up_count +"/androidpublisher:v2/VoidedPurchase": voided_purchase +"/androidpublisher:v2/VoidedPurchase/kind": kind +"/androidpublisher:v2/VoidedPurchase/purchaseTimeMillis": purchase_time_millis +"/androidpublisher:v2/VoidedPurchase/purchaseToken": purchase_token +"/androidpublisher:v2/VoidedPurchase/voidedTimeMillis": voided_time_millis +"/androidpublisher:v2/VoidedPurchasesListResponse": voided_purchases_list_response +"/androidpublisher:v2/VoidedPurchasesListResponse/pageInfo": page_info +"/androidpublisher:v2/VoidedPurchasesListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases": voided_purchases +"/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases/voided_purchase": voided_purchase +"/appsactivity:v1/fields": fields +"/appsactivity:v1/key": key +"/appsactivity:v1/quotaUser": quota_user +"/appsactivity:v1/userIp": user_ip +"/appsactivity:v1/appsactivity.activities.list": list_activities +"/appsactivity:v1/appsactivity.activities.list/drive.ancestorId": drive_ancestor_id +"/appsactivity:v1/appsactivity.activities.list/drive.fileId": drive_file_id +"/appsactivity:v1/appsactivity.activities.list/groupingStrategy": grouping_strategy +"/appsactivity:v1/appsactivity.activities.list/pageSize": page_size +"/appsactivity:v1/appsactivity.activities.list/pageToken": page_token +"/appsactivity:v1/appsactivity.activities.list/source": source +"/appsactivity:v1/appsactivity.activities.list/userId": user_id +"/appsactivity:v1/Activity": activity +"/appsactivity:v1/Activity/combinedEvent": combined_event +"/appsactivity:v1/Activity/singleEvents": single_events +"/appsactivity:v1/Activity/singleEvents/single_event": single_event +"/appsactivity:v1/Event": event +"/appsactivity:v1/Event/additionalEventTypes": additional_event_types +"/appsactivity:v1/Event/additionalEventTypes/additional_event_type": additional_event_type +"/appsactivity:v1/Event/eventTimeMillis": event_time_millis +"/appsactivity:v1/Event/fromUserDeletion": from_user_deletion +"/appsactivity:v1/Event/move": move +"/appsactivity:v1/Event/permissionChanges": permission_changes +"/appsactivity:v1/Event/permissionChanges/permission_change": permission_change +"/appsactivity:v1/Event/primaryEventType": primary_event_type +"/appsactivity:v1/Event/rename": rename +"/appsactivity:v1/Event/target": target +"/appsactivity:v1/Event/user": user +"/appsactivity:v1/ListActivitiesResponse": list_activities_response +"/appsactivity:v1/ListActivitiesResponse/activities": activities +"/appsactivity:v1/ListActivitiesResponse/activities/activity": activity +"/appsactivity:v1/ListActivitiesResponse/nextPageToken": next_page_token +"/appsactivity:v1/Move": move +"/appsactivity:v1/Move/addedParents": added_parents +"/appsactivity:v1/Move/addedParents/added_parent": added_parent +"/appsactivity:v1/Move/removedParents": removed_parents +"/appsactivity:v1/Move/removedParents/removed_parent": removed_parent +"/appsactivity:v1/Parent": parent +"/appsactivity:v1/Parent/id": id +"/appsactivity:v1/Parent/isRoot": is_root +"/appsactivity:v1/Parent/title": title +"/appsactivity:v1/Permission": permission +"/appsactivity:v1/Permission/name": name +"/appsactivity:v1/Permission/permissionId": permission_id +"/appsactivity:v1/Permission/role": role +"/appsactivity:v1/Permission/type": type +"/appsactivity:v1/Permission/user": user +"/appsactivity:v1/Permission/withLink": with_link +"/appsactivity:v1/PermissionChange": permission_change +"/appsactivity:v1/PermissionChange/addedPermissions": added_permissions +"/appsactivity:v1/PermissionChange/addedPermissions/added_permission": added_permission +"/appsactivity:v1/PermissionChange/removedPermissions": removed_permissions +"/appsactivity:v1/PermissionChange/removedPermissions/removed_permission": removed_permission +"/appsactivity:v1/Photo": photo +"/appsactivity:v1/Photo/url": url +"/appsactivity:v1/Rename": rename +"/appsactivity:v1/Rename/newTitle": new_title +"/appsactivity:v1/Rename/oldTitle": old_title +"/appsactivity:v1/Target": target +"/appsactivity:v1/Target/id": id +"/appsactivity:v1/Target/mimeType": mime_type +"/appsactivity:v1/Target/name": name +"/appsactivity:v1/User": user +"/appsactivity:v1/User/isDeleted": is_deleted +"/appsactivity:v1/User/isMe": is_me +"/appsactivity:v1/User/name": name +"/appsactivity:v1/User/permissionId": permission_id +"/appsactivity:v1/User/photo": photo +"/appstate:v1/fields": fields +"/appstate:v1/key": key +"/appstate:v1/quotaUser": quota_user +"/appstate:v1/userIp": user_ip +"/appstate:v1/appstate.states.clear": clear_state +"/appstate:v1/appstate.states.clear/currentDataVersion": current_data_version +"/appstate:v1/appstate.states.clear/stateKey": state_key +"/appstate:v1/appstate.states.delete": delete_state +"/appstate:v1/appstate.states.delete/stateKey": state_key +"/appstate:v1/appstate.states.get": get_state +"/appstate:v1/appstate.states.get/stateKey": state_key +"/appstate:v1/appstate.states.list": list_states +"/appstate:v1/appstate.states.list/includeData": include_data +"/appstate:v1/appstate.states.update": update_state +"/appstate:v1/appstate.states.update/currentStateVersion": current_state_version +"/appstate:v1/appstate.states.update/stateKey": state_key +"/appstate:v1/GetResponse": get_response +"/appstate:v1/GetResponse/currentStateVersion": current_state_version +"/appstate:v1/GetResponse/data": data +"/appstate:v1/GetResponse/kind": kind +"/appstate:v1/GetResponse/stateKey": state_key +"/appstate:v1/ListResponse": list_response +"/appstate:v1/ListResponse/items": items +"/appstate:v1/ListResponse/items/item": item +"/appstate:v1/ListResponse/kind": kind +"/appstate:v1/ListResponse/maximumKeyCount": maximum_key_count +"/appstate:v1/UpdateRequest": update_request +"/appstate:v1/UpdateRequest/data": data +"/appstate:v1/UpdateRequest/kind": kind +"/appstate:v1/WriteResult": write_result +"/appstate:v1/WriteResult/currentStateVersion": current_state_version +"/appstate:v1/WriteResult/kind": kind +"/appstate:v1/WriteResult/stateKey": state_key +"/bigquery:v2/fields": fields +"/bigquery:v2/key": key +"/bigquery:v2/quotaUser": quota_user +"/bigquery:v2/userIp": user_ip +"/bigquery:v2/bigquery.datasets.delete": delete_dataset +"/bigquery:v2/bigquery.datasets.delete/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.delete/deleteContents": delete_contents +"/bigquery:v2/bigquery.datasets.delete/projectId": project_id +"/bigquery:v2/bigquery.datasets.get": get_dataset +"/bigquery:v2/bigquery.datasets.get/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.get/projectId": project_id +"/bigquery:v2/bigquery.datasets.insert": insert_dataset +"/bigquery:v2/bigquery.datasets.insert/projectId": project_id +"/bigquery:v2/bigquery.datasets.list": list_datasets +"/bigquery:v2/bigquery.datasets.list/all": all +"/bigquery:v2/bigquery.datasets.list/filter": filter +"/bigquery:v2/bigquery.datasets.list/maxResults": max_results +"/bigquery:v2/bigquery.datasets.list/pageToken": page_token +"/bigquery:v2/bigquery.datasets.list/projectId": project_id +"/bigquery:v2/bigquery.datasets.patch": patch_dataset +"/bigquery:v2/bigquery.datasets.patch/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.patch/projectId": project_id +"/bigquery:v2/bigquery.datasets.update": update_dataset +"/bigquery:v2/bigquery.datasets.update/datasetId": dataset_id +"/bigquery:v2/bigquery.datasets.update/projectId": project_id +"/bigquery:v2/bigquery.jobs.cancel": cancel_job +"/bigquery:v2/bigquery.jobs.cancel/jobId": job_id +"/bigquery:v2/bigquery.jobs.cancel/projectId": project_id +"/bigquery:v2/bigquery.jobs.get": get_job +"/bigquery:v2/bigquery.jobs.get/jobId": job_id +"/bigquery:v2/bigquery.jobs.get/projectId": project_id +"/bigquery:v2/bigquery.jobs.getQueryResults/jobId": job_id +"/bigquery:v2/bigquery.jobs.getQueryResults/maxResults": max_results +"/bigquery:v2/bigquery.jobs.getQueryResults/pageToken": page_token +"/bigquery:v2/bigquery.jobs.getQueryResults/projectId": project_id +"/bigquery:v2/bigquery.jobs.getQueryResults/startIndex": start_index +"/bigquery:v2/bigquery.jobs.getQueryResults/timeoutMs": timeout_ms +"/bigquery:v2/bigquery.jobs.insert": insert_job +"/bigquery:v2/bigquery.jobs.insert/projectId": project_id +"/bigquery:v2/bigquery.jobs.list": list_jobs +"/bigquery:v2/bigquery.jobs.list/allUsers": all_users +"/bigquery:v2/bigquery.jobs.list/maxResults": max_results +"/bigquery:v2/bigquery.jobs.list/pageToken": page_token +"/bigquery:v2/bigquery.jobs.list/projectId": project_id +"/bigquery:v2/bigquery.jobs.list/projection": projection +"/bigquery:v2/bigquery.jobs.list/stateFilter": state_filter +"/bigquery:v2/bigquery.jobs.query": query_job +"/bigquery:v2/bigquery.jobs.query/projectId": project_id +"/bigquery:v2/bigquery.projects.list": list_projects +"/bigquery:v2/bigquery.projects.list/maxResults": max_results +"/bigquery:v2/bigquery.projects.list/pageToken": page_token +"/bigquery:v2/bigquery.tabledata.insertAll/datasetId": dataset_id +"/bigquery:v2/bigquery.tabledata.insertAll/projectId": project_id +"/bigquery:v2/bigquery.tabledata.insertAll/tableId": table_id +"/bigquery:v2/bigquery.tabledata.list/datasetId": dataset_id +"/bigquery:v2/bigquery.tabledata.list/maxResults": max_results +"/bigquery:v2/bigquery.tabledata.list/pageToken": page_token +"/bigquery:v2/bigquery.tabledata.list/projectId": project_id +"/bigquery:v2/bigquery.tabledata.list/startIndex": start_index +"/bigquery:v2/bigquery.tabledata.list/tableId": table_id +"/bigquery:v2/bigquery.tables.delete": delete_table +"/bigquery:v2/bigquery.tables.delete/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.delete/projectId": project_id +"/bigquery:v2/bigquery.tables.delete/tableId": table_id +"/bigquery:v2/bigquery.tables.get": get_table +"/bigquery:v2/bigquery.tables.get/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.get/projectId": project_id +"/bigquery:v2/bigquery.tables.get/tableId": table_id +"/bigquery:v2/bigquery.tables.insert": insert_table +"/bigquery:v2/bigquery.tables.insert/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.insert/projectId": project_id +"/bigquery:v2/bigquery.tables.list": list_tables +"/bigquery:v2/bigquery.tables.list/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.list/maxResults": max_results +"/bigquery:v2/bigquery.tables.list/pageToken": page_token +"/bigquery:v2/bigquery.tables.list/projectId": project_id +"/bigquery:v2/bigquery.tables.patch": patch_table +"/bigquery:v2/bigquery.tables.patch/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.patch/projectId": project_id +"/bigquery:v2/bigquery.tables.patch/tableId": table_id +"/bigquery:v2/bigquery.tables.update": update_table +"/bigquery:v2/bigquery.tables.update/datasetId": dataset_id +"/bigquery:v2/bigquery.tables.update/projectId": project_id +"/bigquery:v2/bigquery.tables.update/tableId": table_id +"/bigquery:v2/BigtableColumn": bigtable_column +"/bigquery:v2/BigtableColumn/encoding": encoding +"/bigquery:v2/BigtableColumn/fieldName": field_name +"/bigquery:v2/BigtableColumn/onlyReadLatest": only_read_latest +"/bigquery:v2/BigtableColumn/qualifierEncoded": qualifier_encoded +"/bigquery:v2/BigtableColumn/qualifierString": qualifier_string +"/bigquery:v2/BigtableColumn/type": type +"/bigquery:v2/BigtableColumnFamily": bigtable_column_family +"/bigquery:v2/BigtableColumnFamily/columns": columns +"/bigquery:v2/BigtableColumnFamily/columns/column": column +"/bigquery:v2/BigtableColumnFamily/encoding": encoding +"/bigquery:v2/BigtableColumnFamily/familyId": family_id +"/bigquery:v2/BigtableColumnFamily/onlyReadLatest": only_read_latest +"/bigquery:v2/BigtableColumnFamily/type": type +"/bigquery:v2/BigtableOptions": bigtable_options +"/bigquery:v2/BigtableOptions/columnFamilies": column_families +"/bigquery:v2/BigtableOptions/columnFamilies/column_family": column_family +"/bigquery:v2/BigtableOptions/ignoreUnspecifiedColumnFamilies": ignore_unspecified_column_families +"/bigquery:v2/BigtableOptions/readRowkeyAsString": read_rowkey_as_string +"/bigquery:v2/CsvOptions": csv_options +"/bigquery:v2/CsvOptions/allowJaggedRows": allow_jagged_rows +"/bigquery:v2/CsvOptions/allowQuotedNewlines": allow_quoted_newlines +"/bigquery:v2/CsvOptions/encoding": encoding +"/bigquery:v2/CsvOptions/fieldDelimiter": field_delimiter +"/bigquery:v2/CsvOptions/quote": quote +"/bigquery:v2/CsvOptions/skipLeadingRows": skip_leading_rows +"/bigquery:v2/Dataset": dataset +"/bigquery:v2/Dataset/access": access +"/bigquery:v2/Dataset/access/access": access +"/bigquery:v2/Dataset/access/access/domain": domain +"/bigquery:v2/Dataset/access/access/groupByEmail": group_by_email +"/bigquery:v2/Dataset/access/access/role": role +"/bigquery:v2/Dataset/access/access/specialGroup": special_group +"/bigquery:v2/Dataset/access/access/userByEmail": user_by_email +"/bigquery:v2/Dataset/access/access/view": view +"/bigquery:v2/Dataset/creationTime": creation_time +"/bigquery:v2/Dataset/datasetReference": dataset_reference +"/bigquery:v2/Dataset/defaultTableExpirationMs": default_table_expiration_ms +"/bigquery:v2/Dataset/description": description +"/bigquery:v2/Dataset/etag": etag +"/bigquery:v2/Dataset/friendlyName": friendly_name +"/bigquery:v2/Dataset/id": id +"/bigquery:v2/Dataset/kind": kind +"/bigquery:v2/Dataset/labels": labels +"/bigquery:v2/Dataset/labels/label": label +"/bigquery:v2/Dataset/lastModifiedTime": last_modified_time +"/bigquery:v2/Dataset/location": location +"/bigquery:v2/Dataset/selfLink": self_link +"/bigquery:v2/DatasetList": dataset_list +"/bigquery:v2/DatasetList/datasets": datasets +"/bigquery:v2/DatasetList/datasets/dataset": dataset +"/bigquery:v2/DatasetList/datasets/dataset/datasetReference": dataset_reference +"/bigquery:v2/DatasetList/datasets/dataset/friendlyName": friendly_name +"/bigquery:v2/DatasetList/datasets/dataset/id": id +"/bigquery:v2/DatasetList/datasets/dataset/kind": kind +"/bigquery:v2/DatasetList/datasets/dataset/labels": labels +"/bigquery:v2/DatasetList/datasets/dataset/labels/label": label +"/bigquery:v2/DatasetList/etag": etag +"/bigquery:v2/DatasetList/kind": kind +"/bigquery:v2/DatasetList/nextPageToken": next_page_token +"/bigquery:v2/DatasetReference": dataset_reference +"/bigquery:v2/DatasetReference/datasetId": dataset_id +"/bigquery:v2/DatasetReference/projectId": project_id +"/bigquery:v2/ErrorProto": error_proto +"/bigquery:v2/ErrorProto/debugInfo": debug_info +"/bigquery:v2/ErrorProto/location": location +"/bigquery:v2/ErrorProto/message": message +"/bigquery:v2/ErrorProto/reason": reason +"/bigquery:v2/ExplainQueryStage": explain_query_stage +"/bigquery:v2/ExplainQueryStage/computeRatioAvg": compute_ratio_avg +"/bigquery:v2/ExplainQueryStage/computeRatioMax": compute_ratio_max +"/bigquery:v2/ExplainQueryStage/id": id +"/bigquery:v2/ExplainQueryStage/name": name +"/bigquery:v2/ExplainQueryStage/readRatioAvg": read_ratio_avg +"/bigquery:v2/ExplainQueryStage/readRatioMax": read_ratio_max +"/bigquery:v2/ExplainQueryStage/recordsRead": records_read +"/bigquery:v2/ExplainQueryStage/recordsWritten": records_written +"/bigquery:v2/ExplainQueryStage/status": status +"/bigquery:v2/ExplainQueryStage/steps": steps +"/bigquery:v2/ExplainQueryStage/steps/step": step +"/bigquery:v2/ExplainQueryStage/waitRatioAvg": wait_ratio_avg +"/bigquery:v2/ExplainQueryStage/waitRatioMax": wait_ratio_max +"/bigquery:v2/ExplainQueryStage/writeRatioAvg": write_ratio_avg +"/bigquery:v2/ExplainQueryStage/writeRatioMax": write_ratio_max +"/bigquery:v2/ExplainQueryStep": explain_query_step +"/bigquery:v2/ExplainQueryStep/kind": kind +"/bigquery:v2/ExplainQueryStep/substeps": substeps +"/bigquery:v2/ExplainQueryStep/substeps/substep": substep +"/bigquery:v2/ExternalDataConfiguration": external_data_configuration +"/bigquery:v2/ExternalDataConfiguration/autodetect": autodetect +"/bigquery:v2/ExternalDataConfiguration/bigtableOptions": bigtable_options +"/bigquery:v2/ExternalDataConfiguration/compression": compression +"/bigquery:v2/ExternalDataConfiguration/csvOptions": csv_options +"/bigquery:v2/ExternalDataConfiguration/googleSheetsOptions": google_sheets_options +"/bigquery:v2/ExternalDataConfiguration/ignoreUnknownValues": ignore_unknown_values +"/bigquery:v2/ExternalDataConfiguration/maxBadRecords": max_bad_records +"/bigquery:v2/ExternalDataConfiguration/schema": schema +"/bigquery:v2/ExternalDataConfiguration/sourceFormat": source_format +"/bigquery:v2/ExternalDataConfiguration/sourceUris": source_uris +"/bigquery:v2/ExternalDataConfiguration/sourceUris/source_uri": source_uri +"/bigquery:v2/GetQueryResultsResponse": get_query_results_response +"/bigquery:v2/GetQueryResultsResponse/cacheHit": cache_hit +"/bigquery:v2/GetQueryResultsResponse/errors": errors +"/bigquery:v2/GetQueryResultsResponse/errors/error": error +"/bigquery:v2/GetQueryResultsResponse/etag": etag +"/bigquery:v2/GetQueryResultsResponse/jobComplete": job_complete +"/bigquery:v2/GetQueryResultsResponse/jobReference": job_reference +"/bigquery:v2/GetQueryResultsResponse/kind": kind +"/bigquery:v2/GetQueryResultsResponse/numDmlAffectedRows": num_dml_affected_rows +"/bigquery:v2/GetQueryResultsResponse/pageToken": page_token +"/bigquery:v2/GetQueryResultsResponse/rows": rows +"/bigquery:v2/GetQueryResultsResponse/rows/row": row +"/bigquery:v2/GetQueryResultsResponse/schema": schema +"/bigquery:v2/GetQueryResultsResponse/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/GetQueryResultsResponse/totalRows": total_rows +"/bigquery:v2/GoogleSheetsOptions": google_sheets_options +"/bigquery:v2/GoogleSheetsOptions/skipLeadingRows": skip_leading_rows +"/bigquery:v2/Job": job +"/bigquery:v2/Job/configuration": configuration +"/bigquery:v2/Job/etag": etag +"/bigquery:v2/Job/id": id +"/bigquery:v2/Job/jobReference": job_reference +"/bigquery:v2/Job/kind": kind +"/bigquery:v2/Job/selfLink": self_link +"/bigquery:v2/Job/statistics": statistics +"/bigquery:v2/Job/status": status +"/bigquery:v2/Job/user_email": user_email +"/bigquery:v2/JobCancelResponse/job": job +"/bigquery:v2/JobCancelResponse/kind": kind +"/bigquery:v2/JobConfiguration": job_configuration +"/bigquery:v2/JobConfiguration/copy": copy +"/bigquery:v2/JobConfiguration/dryRun": dry_run +"/bigquery:v2/JobConfiguration/extract": extract +"/bigquery:v2/JobConfiguration/labels": labels +"/bigquery:v2/JobConfiguration/labels/label": label +"/bigquery:v2/JobConfiguration/load": load +"/bigquery:v2/JobConfiguration/query": query +"/bigquery:v2/JobConfigurationExtract": job_configuration_extract +"/bigquery:v2/JobConfigurationExtract/compression": compression +"/bigquery:v2/JobConfigurationExtract/destinationFormat": destination_format +"/bigquery:v2/JobConfigurationExtract/destinationUri": destination_uri +"/bigquery:v2/JobConfigurationExtract/destinationUris": destination_uris +"/bigquery:v2/JobConfigurationExtract/destinationUris/destination_uri": destination_uri +"/bigquery:v2/JobConfigurationExtract/fieldDelimiter": field_delimiter +"/bigquery:v2/JobConfigurationExtract/printHeader": print_header +"/bigquery:v2/JobConfigurationExtract/sourceTable": source_table +"/bigquery:v2/JobConfigurationLoad": job_configuration_load +"/bigquery:v2/JobConfigurationLoad/allowJaggedRows": allow_jagged_rows +"/bigquery:v2/JobConfigurationLoad/allowQuotedNewlines": allow_quoted_newlines +"/bigquery:v2/JobConfigurationLoad/autodetect": autodetect +"/bigquery:v2/JobConfigurationLoad/createDisposition": create_disposition +"/bigquery:v2/JobConfigurationLoad/destinationTable": destination_table +"/bigquery:v2/JobConfigurationLoad/encoding": encoding +"/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter +"/bigquery:v2/JobConfigurationLoad/ignoreUnknownValues": ignore_unknown_values +"/bigquery:v2/JobConfigurationLoad/maxBadRecords": max_bad_records +"/bigquery:v2/JobConfigurationLoad/nullMarker": null_marker +"/bigquery:v2/JobConfigurationLoad/projectionFields": projection_fields +"/bigquery:v2/JobConfigurationLoad/projectionFields/projection_field": projection_field +"/bigquery:v2/JobConfigurationLoad/quote": quote +"/bigquery:v2/JobConfigurationLoad/schema": schema +"/bigquery:v2/JobConfigurationLoad/schemaInline": schema_inline +"/bigquery:v2/JobConfigurationLoad/schemaInlineFormat": schema_inline_format +"/bigquery:v2/JobConfigurationLoad/schemaUpdateOptions": schema_update_options +"/bigquery:v2/JobConfigurationLoad/schemaUpdateOptions/schema_update_option": schema_update_option +"/bigquery:v2/JobConfigurationLoad/skipLeadingRows": skip_leading_rows +"/bigquery:v2/JobConfigurationLoad/sourceFormat": source_format +"/bigquery:v2/JobConfigurationLoad/sourceUris": source_uris +"/bigquery:v2/JobConfigurationLoad/sourceUris/source_uri": source_uri +"/bigquery:v2/JobConfigurationLoad/writeDisposition": write_disposition +"/bigquery:v2/JobConfigurationQuery": job_configuration_query +"/bigquery:v2/JobConfigurationQuery/allowLargeResults": allow_large_results +"/bigquery:v2/JobConfigurationQuery/createDisposition": create_disposition +"/bigquery:v2/JobConfigurationQuery/defaultDataset": default_dataset +"/bigquery:v2/JobConfigurationQuery/destinationTable": destination_table +"/bigquery:v2/JobConfigurationQuery/flattenResults": flatten_results +"/bigquery:v2/JobConfigurationQuery/maximumBillingTier": maximum_billing_tier +"/bigquery:v2/JobConfigurationQuery/maximumBytesBilled": maximum_bytes_billed +"/bigquery:v2/JobConfigurationQuery/parameterMode": parameter_mode +"/bigquery:v2/JobConfigurationQuery/preserveNulls": preserve_nulls +"/bigquery:v2/JobConfigurationQuery/priority": priority +"/bigquery:v2/JobConfigurationQuery/query": query +"/bigquery:v2/JobConfigurationQuery/queryParameters": query_parameters +"/bigquery:v2/JobConfigurationQuery/queryParameters/query_parameter": query_parameter +"/bigquery:v2/JobConfigurationQuery/schemaUpdateOptions": schema_update_options +"/bigquery:v2/JobConfigurationQuery/schemaUpdateOptions/schema_update_option": schema_update_option +"/bigquery:v2/JobConfigurationQuery/tableDefinitions": table_definitions +"/bigquery:v2/JobConfigurationQuery/tableDefinitions/table_definition": table_definition +"/bigquery:v2/JobConfigurationQuery/useLegacySql": use_legacy_sql +"/bigquery:v2/JobConfigurationQuery/useQueryCache": use_query_cache +"/bigquery:v2/JobConfigurationQuery/userDefinedFunctionResources": user_defined_function_resources +"/bigquery:v2/JobConfigurationQuery/userDefinedFunctionResources/user_defined_function_resource": user_defined_function_resource +"/bigquery:v2/JobConfigurationQuery/writeDisposition": write_disposition +"/bigquery:v2/JobConfigurationTableCopy": job_configuration_table_copy +"/bigquery:v2/JobConfigurationTableCopy/createDisposition": create_disposition +"/bigquery:v2/JobConfigurationTableCopy/destinationTable": destination_table +"/bigquery:v2/JobConfigurationTableCopy/sourceTable": source_table +"/bigquery:v2/JobConfigurationTableCopy/sourceTables": source_tables +"/bigquery:v2/JobConfigurationTableCopy/sourceTables/source_table": source_table +"/bigquery:v2/JobConfigurationTableCopy/writeDisposition": write_disposition +"/bigquery:v2/JobList": job_list +"/bigquery:v2/JobList/etag": etag +"/bigquery:v2/JobList/jobs": jobs +"/bigquery:v2/JobList/jobs/job": job +"/bigquery:v2/JobList/jobs/job/configuration": configuration +"/bigquery:v2/JobList/jobs/job/errorResult": error_result +"/bigquery:v2/JobList/jobs/job/id": id +"/bigquery:v2/JobList/jobs/job/jobReference": job_reference +"/bigquery:v2/JobList/jobs/job/kind": kind +"/bigquery:v2/JobList/jobs/job/state": state +"/bigquery:v2/JobList/jobs/job/statistics": statistics +"/bigquery:v2/JobList/jobs/job/status": status +"/bigquery:v2/JobList/jobs/job/user_email": user_email +"/bigquery:v2/JobList/kind": kind +"/bigquery:v2/JobList/nextPageToken": next_page_token +"/bigquery:v2/JobReference": job_reference +"/bigquery:v2/JobReference/jobId": job_id +"/bigquery:v2/JobReference/projectId": project_id +"/bigquery:v2/JobStatistics": job_statistics +"/bigquery:v2/JobStatistics/creationTime": creation_time +"/bigquery:v2/JobStatistics/endTime": end_time +"/bigquery:v2/JobStatistics/extract": extract +"/bigquery:v2/JobStatistics/load": load +"/bigquery:v2/JobStatistics/query": query +"/bigquery:v2/JobStatistics/startTime": start_time +"/bigquery:v2/JobStatistics/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/JobStatistics2": job_statistics2 +"/bigquery:v2/JobStatistics2/billingTier": billing_tier +"/bigquery:v2/JobStatistics2/cacheHit": cache_hit +"/bigquery:v2/JobStatistics2/numDmlAffectedRows": num_dml_affected_rows +"/bigquery:v2/JobStatistics2/queryPlan": query_plan +"/bigquery:v2/JobStatistics2/queryPlan/query_plan": query_plan +"/bigquery:v2/JobStatistics2/referencedTables": referenced_tables +"/bigquery:v2/JobStatistics2/referencedTables/referenced_table": referenced_table +"/bigquery:v2/JobStatistics2/schema": schema +"/bigquery:v2/JobStatistics2/statementType": statement_type +"/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed +"/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters +"/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter +"/bigquery:v2/JobStatistics3": job_statistics3 +"/bigquery:v2/JobStatistics3/inputFileBytes": input_file_bytes +"/bigquery:v2/JobStatistics3/inputFiles": input_files +"/bigquery:v2/JobStatistics3/outputBytes": output_bytes +"/bigquery:v2/JobStatistics3/outputRows": output_rows +"/bigquery:v2/JobStatistics4": job_statistics4 +"/bigquery:v2/JobStatistics4/destinationUriFileCounts": destination_uri_file_counts +"/bigquery:v2/JobStatistics4/destinationUriFileCounts/destination_uri_file_count": destination_uri_file_count +"/bigquery:v2/JobStatus": job_status +"/bigquery:v2/JobStatus/errorResult": error_result +"/bigquery:v2/JobStatus/errors": errors +"/bigquery:v2/JobStatus/errors/error": error +"/bigquery:v2/JobStatus/state": state +"/bigquery:v2/JsonObject": json_object +"/bigquery:v2/JsonObject/json_object": json_object +"/bigquery:v2/JsonValue": json_value +"/bigquery:v2/ProjectList": project_list +"/bigquery:v2/ProjectList/etag": etag +"/bigquery:v2/ProjectList/kind": kind +"/bigquery:v2/ProjectList/nextPageToken": next_page_token +"/bigquery:v2/ProjectList/projects": projects +"/bigquery:v2/ProjectList/projects/project": project +"/bigquery:v2/ProjectList/projects/project/friendlyName": friendly_name +"/bigquery:v2/ProjectList/projects/project/id": id +"/bigquery:v2/ProjectList/projects/project/kind": kind +"/bigquery:v2/ProjectList/projects/project/numericId": numeric_id +"/bigquery:v2/ProjectList/projects/project/projectReference": project_reference +"/bigquery:v2/ProjectList/totalItems": total_items +"/bigquery:v2/ProjectReference": project_reference +"/bigquery:v2/ProjectReference/projectId": project_id +"/bigquery:v2/QueryParameter": query_parameter +"/bigquery:v2/QueryParameter/name": name +"/bigquery:v2/QueryParameter/parameterType": parameter_type +"/bigquery:v2/QueryParameter/parameterValue": parameter_value +"/bigquery:v2/QueryParameterType": query_parameter_type +"/bigquery:v2/QueryParameterType/arrayType": array_type +"/bigquery:v2/QueryParameterType/structTypes": struct_types +"/bigquery:v2/QueryParameterType/structTypes/struct_type": struct_type +"/bigquery:v2/QueryParameterType/structTypes/struct_type/description": description +"/bigquery:v2/QueryParameterType/structTypes/struct_type/name": name +"/bigquery:v2/QueryParameterType/structTypes/struct_type/type": type +"/bigquery:v2/QueryParameterType/type": type +"/bigquery:v2/QueryParameterValue": query_parameter_value +"/bigquery:v2/QueryParameterValue/arrayValues": array_values +"/bigquery:v2/QueryParameterValue/arrayValues/array_value": array_value +"/bigquery:v2/QueryParameterValue/structValues": struct_values +"/bigquery:v2/QueryParameterValue/structValues/struct_value": struct_value +"/bigquery:v2/QueryParameterValue/value": value +"/bigquery:v2/QueryRequest": query_request +"/bigquery:v2/QueryRequest/defaultDataset": default_dataset +"/bigquery:v2/QueryRequest/dryRun": dry_run +"/bigquery:v2/QueryRequest/kind": kind +"/bigquery:v2/QueryRequest/maxResults": max_results +"/bigquery:v2/QueryRequest/parameterMode": parameter_mode +"/bigquery:v2/QueryRequest/preserveNulls": preserve_nulls +"/bigquery:v2/QueryRequest/query": query +"/bigquery:v2/QueryRequest/queryParameters": query_parameters +"/bigquery:v2/QueryRequest/queryParameters/query_parameter": query_parameter +"/bigquery:v2/QueryRequest/timeoutMs": timeout_ms +"/bigquery:v2/QueryRequest/useLegacySql": use_legacy_sql +"/bigquery:v2/QueryRequest/useQueryCache": use_query_cache +"/bigquery:v2/QueryResponse": query_response +"/bigquery:v2/QueryResponse/cacheHit": cache_hit +"/bigquery:v2/QueryResponse/errors": errors +"/bigquery:v2/QueryResponse/errors/error": error +"/bigquery:v2/QueryResponse/jobComplete": job_complete +"/bigquery:v2/QueryResponse/jobReference": job_reference +"/bigquery:v2/QueryResponse/kind": kind +"/bigquery:v2/QueryResponse/numDmlAffectedRows": num_dml_affected_rows +"/bigquery:v2/QueryResponse/pageToken": page_token +"/bigquery:v2/QueryResponse/rows": rows +"/bigquery:v2/QueryResponse/rows/row": row +"/bigquery:v2/QueryResponse/schema": schema +"/bigquery:v2/QueryResponse/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/QueryResponse/totalRows": total_rows +"/bigquery:v2/Streamingbuffer": streamingbuffer +"/bigquery:v2/Streamingbuffer/estimatedBytes": estimated_bytes +"/bigquery:v2/Streamingbuffer/estimatedRows": estimated_rows +"/bigquery:v2/Streamingbuffer/oldestEntryTime": oldest_entry_time +"/bigquery:v2/Table": table +"/bigquery:v2/Table/creationTime": creation_time +"/bigquery:v2/Table/description": description +"/bigquery:v2/Table/etag": etag +"/bigquery:v2/Table/expirationTime": expiration_time +"/bigquery:v2/Table/externalDataConfiguration": external_data_configuration +"/bigquery:v2/Table/friendlyName": friendly_name +"/bigquery:v2/Table/id": id +"/bigquery:v2/Table/kind": kind +"/bigquery:v2/Table/labels": labels +"/bigquery:v2/Table/labels/label": label +"/bigquery:v2/Table/lastModifiedTime": last_modified_time +"/bigquery:v2/Table/location": location +"/bigquery:v2/Table/numBytes": num_bytes +"/bigquery:v2/Table/numLongTermBytes": num_long_term_bytes +"/bigquery:v2/Table/numRows": num_rows +"/bigquery:v2/Table/schema": schema +"/bigquery:v2/Table/selfLink": self_link +"/bigquery:v2/Table/streamingBuffer": streaming_buffer +"/bigquery:v2/Table/tableReference": table_reference +"/bigquery:v2/Table/timePartitioning": time_partitioning +"/bigquery:v2/Table/type": type +"/bigquery:v2/Table/view": view +"/bigquery:v2/TableCell": table_cell +"/bigquery:v2/TableCell/v": v +"/bigquery:v2/TableDataInsertAllRequest/ignoreUnknownValues": ignore_unknown_values +"/bigquery:v2/TableDataInsertAllRequest/kind": kind +"/bigquery:v2/TableDataInsertAllRequest/rows": rows +"/bigquery:v2/TableDataInsertAllRequest/rows/row": row +"/bigquery:v2/TableDataInsertAllRequest/rows/row/insertId": insert_id +"/bigquery:v2/TableDataInsertAllRequest/rows/row/json": json +"/bigquery:v2/TableDataInsertAllRequest/skipInvalidRows": skip_invalid_rows +"/bigquery:v2/TableDataInsertAllRequest/templateSuffix": template_suffix +"/bigquery:v2/TableDataInsertAllResponse/insertErrors": insert_errors +"/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error": insert_error +"/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error/errors": errors +"/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error/errors/error": error +"/bigquery:v2/TableDataInsertAllResponse/insertErrors/insert_error/index": index +"/bigquery:v2/TableDataInsertAllResponse/kind": kind +"/bigquery:v2/TableDataList": table_data_list +"/bigquery:v2/TableDataList/etag": etag +"/bigquery:v2/TableDataList/kind": kind +"/bigquery:v2/TableDataList/pageToken": page_token +"/bigquery:v2/TableDataList/rows": rows +"/bigquery:v2/TableDataList/rows/row": row +"/bigquery:v2/TableDataList/totalRows": total_rows +"/bigquery:v2/TableFieldSchema": table_field_schema +"/bigquery:v2/TableFieldSchema/description": description +"/bigquery:v2/TableFieldSchema/fields": fields +"/bigquery:v2/TableFieldSchema/fields/field": field +"/bigquery:v2/TableFieldSchema/mode": mode +"/bigquery:v2/TableFieldSchema/name": name +"/bigquery:v2/TableFieldSchema/type": type +"/bigquery:v2/TableList": table_list +"/bigquery:v2/TableList/etag": etag +"/bigquery:v2/TableList/kind": kind +"/bigquery:v2/TableList/nextPageToken": next_page_token +"/bigquery:v2/TableList/tables": tables +"/bigquery:v2/TableList/tables/table": table +"/bigquery:v2/TableList/tables/table/friendlyName": friendly_name +"/bigquery:v2/TableList/tables/table/id": id +"/bigquery:v2/TableList/tables/table/kind": kind +"/bigquery:v2/TableList/tables/table/labels": labels +"/bigquery:v2/TableList/tables/table/labels/label": label +"/bigquery:v2/TableList/tables/table/tableReference": table_reference +"/bigquery:v2/TableList/tables/table/type": type +"/bigquery:v2/TableList/tables/table/view": view +"/bigquery:v2/TableList/tables/table/view/useLegacySql": use_legacy_sql +"/bigquery:v2/TableList/totalItems": total_items +"/bigquery:v2/TableReference": table_reference +"/bigquery:v2/TableReference/datasetId": dataset_id +"/bigquery:v2/TableReference/projectId": project_id +"/bigquery:v2/TableReference/tableId": table_id +"/bigquery:v2/TableRow": table_row +"/bigquery:v2/TableRow/f": f +"/bigquery:v2/TableRow/f/f": f +"/bigquery:v2/TableSchema": table_schema +"/bigquery:v2/TableSchema/fields": fields +"/bigquery:v2/TableSchema/fields/field": field +"/bigquery:v2/TimePartitioning": time_partitioning +"/bigquery:v2/TimePartitioning/expirationMs": expiration_ms +"/bigquery:v2/TimePartitioning/type": type +"/bigquery:v2/UserDefinedFunctionResource": user_defined_function_resource +"/bigquery:v2/UserDefinedFunctionResource/inlineCode": inline_code +"/bigquery:v2/UserDefinedFunctionResource/resourceUri": resource_uri +"/bigquery:v2/ViewDefinition": view_definition +"/bigquery:v2/ViewDefinition/query": query +"/bigquery:v2/ViewDefinition/useLegacySql": use_legacy_sql +"/bigquery:v2/ViewDefinition/userDefinedFunctionResources": user_defined_function_resources +"/bigquery:v2/ViewDefinition/userDefinedFunctionResources/user_defined_function_resource": user_defined_function_resource +"/blogger:v3/fields": fields +"/blogger:v3/key": key +"/blogger:v3/quotaUser": quota_user +"/blogger:v3/userIp": user_ip +"/blogger:v3/blogger.blogUserInfos.get": get_blog_user_info +"/blogger:v3/blogger.blogUserInfos.get/blogId": blog_id +"/blogger:v3/blogger.blogUserInfos.get/maxPosts": max_posts +"/blogger:v3/blogger.blogUserInfos.get/userId": user_id +"/blogger:v3/blogger.blogs.get": get_blog +"/blogger:v3/blogger.blogs.get/blogId": blog_id +"/blogger:v3/blogger.blogs.get/maxPosts": max_posts +"/blogger:v3/blogger.blogs.get/view": view +"/blogger:v3/blogger.blogs.getByUrl/url": url +"/blogger:v3/blogger.blogs.getByUrl/view": view +"/blogger:v3/blogger.blogs.listByUser/fetchUserInfo": fetch_user_info +"/blogger:v3/blogger.blogs.listByUser/role": role +"/blogger:v3/blogger.blogs.listByUser/status": status +"/blogger:v3/blogger.blogs.listByUser/userId": user_id +"/blogger:v3/blogger.blogs.listByUser/view": view +"/blogger:v3/blogger.comments.approve": approve_comment +"/blogger:v3/blogger.comments.approve/blogId": blog_id +"/blogger:v3/blogger.comments.approve/commentId": comment_id +"/blogger:v3/blogger.comments.approve/postId": post_id +"/blogger:v3/blogger.comments.delete": delete_comment +"/blogger:v3/blogger.comments.delete/blogId": blog_id +"/blogger:v3/blogger.comments.delete/commentId": comment_id +"/blogger:v3/blogger.comments.delete/postId": post_id +"/blogger:v3/blogger.comments.get": get_comment +"/blogger:v3/blogger.comments.get/blogId": blog_id +"/blogger:v3/blogger.comments.get/commentId": comment_id +"/blogger:v3/blogger.comments.get/postId": post_id +"/blogger:v3/blogger.comments.get/view": view +"/blogger:v3/blogger.comments.list": list_comments +"/blogger:v3/blogger.comments.list/blogId": blog_id +"/blogger:v3/blogger.comments.list/endDate": end_date +"/blogger:v3/blogger.comments.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.comments.list/maxResults": max_results +"/blogger:v3/blogger.comments.list/pageToken": page_token +"/blogger:v3/blogger.comments.list/postId": post_id +"/blogger:v3/blogger.comments.list/startDate": start_date +"/blogger:v3/blogger.comments.list/status": status +"/blogger:v3/blogger.comments.list/view": view +"/blogger:v3/blogger.comments.listByBlog/blogId": blog_id +"/blogger:v3/blogger.comments.listByBlog/endDate": end_date +"/blogger:v3/blogger.comments.listByBlog/fetchBodies": fetch_bodies +"/blogger:v3/blogger.comments.listByBlog/maxResults": max_results +"/blogger:v3/blogger.comments.listByBlog/pageToken": page_token +"/blogger:v3/blogger.comments.listByBlog/startDate": start_date +"/blogger:v3/blogger.comments.listByBlog/status": status +"/blogger:v3/blogger.comments.markAsSpam/blogId": blog_id +"/blogger:v3/blogger.comments.markAsSpam/commentId": comment_id +"/blogger:v3/blogger.comments.markAsSpam/postId": post_id +"/blogger:v3/blogger.comments.removeContent/blogId": blog_id +"/blogger:v3/blogger.comments.removeContent/commentId": comment_id +"/blogger:v3/blogger.comments.removeContent/postId": post_id +"/blogger:v3/blogger.pageViews.get": get_page_view +"/blogger:v3/blogger.pageViews.get/blogId": blog_id +"/blogger:v3/blogger.pageViews.get/range": range +"/blogger:v3/blogger.pages.delete": delete_page +"/blogger:v3/blogger.pages.delete/blogId": blog_id +"/blogger:v3/blogger.pages.delete/pageId": page_id +"/blogger:v3/blogger.pages.get": get_page +"/blogger:v3/blogger.pages.get/blogId": blog_id +"/blogger:v3/blogger.pages.get/pageId": page_id +"/blogger:v3/blogger.pages.get/view": view +"/blogger:v3/blogger.pages.insert": insert_page +"/blogger:v3/blogger.pages.insert/blogId": blog_id +"/blogger:v3/blogger.pages.insert/isDraft": is_draft +"/blogger:v3/blogger.pages.list": list_pages +"/blogger:v3/blogger.pages.list/blogId": blog_id +"/blogger:v3/blogger.pages.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.pages.list/maxResults": max_results +"/blogger:v3/blogger.pages.list/pageToken": page_token +"/blogger:v3/blogger.pages.list/status": status +"/blogger:v3/blogger.pages.list/view": view +"/blogger:v3/blogger.pages.patch": patch_page +"/blogger:v3/blogger.pages.patch/blogId": blog_id +"/blogger:v3/blogger.pages.patch/pageId": page_id +"/blogger:v3/blogger.pages.patch/publish": publish +"/blogger:v3/blogger.pages.patch/revert": revert +"/blogger:v3/blogger.pages.publish": publish_page +"/blogger:v3/blogger.pages.publish/blogId": blog_id +"/blogger:v3/blogger.pages.publish/pageId": page_id +"/blogger:v3/blogger.pages.revert": revert_page +"/blogger:v3/blogger.pages.revert/blogId": blog_id +"/blogger:v3/blogger.pages.revert/pageId": page_id +"/blogger:v3/blogger.pages.update": update_page +"/blogger:v3/blogger.pages.update/blogId": blog_id +"/blogger:v3/blogger.pages.update/pageId": page_id +"/blogger:v3/blogger.pages.update/publish": publish +"/blogger:v3/blogger.pages.update/revert": revert +"/blogger:v3/blogger.postUserInfos.get/blogId": blog_id +"/blogger:v3/blogger.postUserInfos.get/maxComments": max_comments +"/blogger:v3/blogger.postUserInfos.get/postId": post_id +"/blogger:v3/blogger.postUserInfos.get/userId": user_id +"/blogger:v3/blogger.postUserInfos.list/blogId": blog_id +"/blogger:v3/blogger.postUserInfos.list/endDate": end_date +"/blogger:v3/blogger.postUserInfos.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.postUserInfos.list/labels": labels +"/blogger:v3/blogger.postUserInfos.list/maxResults": max_results +"/blogger:v3/blogger.postUserInfos.list/orderBy": order_by +"/blogger:v3/blogger.postUserInfos.list/pageToken": page_token +"/blogger:v3/blogger.postUserInfos.list/startDate": start_date +"/blogger:v3/blogger.postUserInfos.list/status": status +"/blogger:v3/blogger.postUserInfos.list/userId": user_id +"/blogger:v3/blogger.postUserInfos.list/view": view +"/blogger:v3/blogger.posts.delete": delete_post +"/blogger:v3/blogger.posts.delete/blogId": blog_id +"/blogger:v3/blogger.posts.delete/postId": post_id +"/blogger:v3/blogger.posts.get": get_post +"/blogger:v3/blogger.posts.get/blogId": blog_id +"/blogger:v3/blogger.posts.get/fetchBody": fetch_body +"/blogger:v3/blogger.posts.get/fetchImages": fetch_images +"/blogger:v3/blogger.posts.get/maxComments": max_comments +"/blogger:v3/blogger.posts.get/postId": post_id +"/blogger:v3/blogger.posts.get/view": view +"/blogger:v3/blogger.posts.getByPath/blogId": blog_id +"/blogger:v3/blogger.posts.getByPath/maxComments": max_comments +"/blogger:v3/blogger.posts.getByPath/path": path +"/blogger:v3/blogger.posts.getByPath/view": view +"/blogger:v3/blogger.posts.insert": insert_post +"/blogger:v3/blogger.posts.insert/blogId": blog_id +"/blogger:v3/blogger.posts.insert/fetchBody": fetch_body +"/blogger:v3/blogger.posts.insert/fetchImages": fetch_images +"/blogger:v3/blogger.posts.insert/isDraft": is_draft +"/blogger:v3/blogger.posts.list": list_posts +"/blogger:v3/blogger.posts.list/blogId": blog_id +"/blogger:v3/blogger.posts.list/endDate": end_date +"/blogger:v3/blogger.posts.list/fetchBodies": fetch_bodies +"/blogger:v3/blogger.posts.list/fetchImages": fetch_images +"/blogger:v3/blogger.posts.list/labels": labels +"/blogger:v3/blogger.posts.list/maxResults": max_results +"/blogger:v3/blogger.posts.list/orderBy": order_by +"/blogger:v3/blogger.posts.list/pageToken": page_token +"/blogger:v3/blogger.posts.list/startDate": start_date +"/blogger:v3/blogger.posts.list/status": status +"/blogger:v3/blogger.posts.list/view": view +"/blogger:v3/blogger.posts.patch": patch_post +"/blogger:v3/blogger.posts.patch/blogId": blog_id +"/blogger:v3/blogger.posts.patch/fetchBody": fetch_body +"/blogger:v3/blogger.posts.patch/fetchImages": fetch_images +"/blogger:v3/blogger.posts.patch/maxComments": max_comments +"/blogger:v3/blogger.posts.patch/postId": post_id +"/blogger:v3/blogger.posts.patch/publish": publish +"/blogger:v3/blogger.posts.patch/revert": revert +"/blogger:v3/blogger.posts.publish": publish_post +"/blogger:v3/blogger.posts.publish/blogId": blog_id +"/blogger:v3/blogger.posts.publish/postId": post_id +"/blogger:v3/blogger.posts.publish/publishDate": publish_date +"/blogger:v3/blogger.posts.revert": revert_post +"/blogger:v3/blogger.posts.revert/blogId": blog_id +"/blogger:v3/blogger.posts.revert/postId": post_id +"/blogger:v3/blogger.posts.search": search_posts +"/blogger:v3/blogger.posts.search/blogId": blog_id +"/blogger:v3/blogger.posts.search/fetchBodies": fetch_bodies +"/blogger:v3/blogger.posts.search/orderBy": order_by +"/blogger:v3/blogger.posts.search/q": q +"/blogger:v3/blogger.posts.update": update_post +"/blogger:v3/blogger.posts.update/blogId": blog_id +"/blogger:v3/blogger.posts.update/fetchBody": fetch_body +"/blogger:v3/blogger.posts.update/fetchImages": fetch_images +"/blogger:v3/blogger.posts.update/maxComments": max_comments +"/blogger:v3/blogger.posts.update/postId": post_id +"/blogger:v3/blogger.posts.update/publish": publish +"/blogger:v3/blogger.posts.update/revert": revert +"/blogger:v3/blogger.users.get": get_user +"/blogger:v3/blogger.users.get/userId": user_id +"/blogger:v3/Blog": blog +"/blogger:v3/Blog/customMetaData": custom_meta_data +"/blogger:v3/Blog/description": description +"/blogger:v3/Blog/id": id +"/blogger:v3/Blog/kind": kind +"/blogger:v3/Blog/locale": locale +"/blogger:v3/Blog/locale/country": country +"/blogger:v3/Blog/locale/language": language +"/blogger:v3/Blog/locale/variant": variant +"/blogger:v3/Blog/name": name +"/blogger:v3/Blog/pages": pages +"/blogger:v3/Blog/pages/selfLink": self_link +"/blogger:v3/Blog/pages/totalItems": total_items +"/blogger:v3/Blog/posts": posts +"/blogger:v3/Blog/posts/items": items +"/blogger:v3/Blog/posts/items/item": item +"/blogger:v3/Blog/posts/selfLink": self_link +"/blogger:v3/Blog/posts/totalItems": total_items +"/blogger:v3/Blog/published": published +"/blogger:v3/Blog/selfLink": self_link +"/blogger:v3/Blog/status": status +"/blogger:v3/Blog/updated": updated +"/blogger:v3/Blog/url": url +"/blogger:v3/BlogList": blog_list +"/blogger:v3/BlogList/blogUserInfos": blog_user_infos +"/blogger:v3/BlogList/blogUserInfos/blog_user_info": blog_user_info +"/blogger:v3/BlogList/items": items +"/blogger:v3/BlogList/items/item": item +"/blogger:v3/BlogList/kind": kind +"/blogger:v3/BlogPerUserInfo": blog_per_user_info +"/blogger:v3/BlogPerUserInfo/blogId": blog_id +"/blogger:v3/BlogPerUserInfo/hasAdminAccess": has_admin_access +"/blogger:v3/BlogPerUserInfo/kind": kind +"/blogger:v3/BlogPerUserInfo/photosAlbumKey": photos_album_key +"/blogger:v3/BlogPerUserInfo/role": role +"/blogger:v3/BlogPerUserInfo/userId": user_id +"/blogger:v3/BlogUserInfo": blog_user_info +"/blogger:v3/BlogUserInfo/blog": blog +"/blogger:v3/BlogUserInfo/blog_user_info": blog_user_info +"/blogger:v3/BlogUserInfo/kind": kind +"/blogger:v3/Comment": comment +"/blogger:v3/Comment/author": author +"/blogger:v3/Comment/author/displayName": display_name +"/blogger:v3/Comment/author/id": id +"/blogger:v3/Comment/author/image": image +"/blogger:v3/Comment/author/image/url": url +"/blogger:v3/Comment/author/url": url +"/blogger:v3/Comment/blog": blog +"/blogger:v3/Comment/blog/id": id +"/blogger:v3/Comment/content": content +"/blogger:v3/Comment/id": id +"/blogger:v3/Comment/inReplyTo": in_reply_to +"/blogger:v3/Comment/inReplyTo/id": id +"/blogger:v3/Comment/kind": kind +"/blogger:v3/Comment/post": post +"/blogger:v3/Comment/post/id": id +"/blogger:v3/Comment/published": published +"/blogger:v3/Comment/selfLink": self_link +"/blogger:v3/Comment/status": status +"/blogger:v3/Comment/updated": updated +"/blogger:v3/CommentList": comment_list +"/blogger:v3/CommentList/etag": etag +"/blogger:v3/CommentList/items": items +"/blogger:v3/CommentList/items/item": item +"/blogger:v3/CommentList/kind": kind +"/blogger:v3/CommentList/nextPageToken": next_page_token +"/blogger:v3/CommentList/prevPageToken": prev_page_token +"/blogger:v3/Page": page +"/blogger:v3/Page/author": author +"/blogger:v3/Page/author/displayName": display_name +"/blogger:v3/Page/author/id": id +"/blogger:v3/Page/author/image": image +"/blogger:v3/Page/author/image/url": url +"/blogger:v3/Page/author/url": url +"/blogger:v3/Page/blog": blog +"/blogger:v3/Page/blog/id": id +"/blogger:v3/Page/content": content +"/blogger:v3/Page/etag": etag +"/blogger:v3/Page/id": id +"/blogger:v3/Page/kind": kind +"/blogger:v3/Page/published": published +"/blogger:v3/Page/selfLink": self_link +"/blogger:v3/Page/status": status +"/blogger:v3/Page/title": title +"/blogger:v3/Page/updated": updated +"/blogger:v3/Page/url": url +"/blogger:v3/PageList": page_list +"/blogger:v3/PageList/etag": etag +"/blogger:v3/PageList/items": items +"/blogger:v3/PageList/items/item": item +"/blogger:v3/PageList/kind": kind +"/blogger:v3/PageList/nextPageToken": next_page_token +"/blogger:v3/Pageviews": pageviews +"/blogger:v3/Pageviews/blogId": blog_id +"/blogger:v3/Pageviews/counts": counts +"/blogger:v3/Pageviews/counts/count": count +"/blogger:v3/Pageviews/counts/count/count": count +"/blogger:v3/Pageviews/counts/count/timeRange": time_range +"/blogger:v3/Pageviews/kind": kind +"/blogger:v3/Post": post +"/blogger:v3/Post/author": author +"/blogger:v3/Post/author/displayName": display_name +"/blogger:v3/Post/author/id": id +"/blogger:v3/Post/author/image": image +"/blogger:v3/Post/author/image/url": url +"/blogger:v3/Post/author/url": url +"/blogger:v3/Post/blog": blog +"/blogger:v3/Post/blog/id": id +"/blogger:v3/Post/content": content +"/blogger:v3/Post/customMetaData": custom_meta_data +"/blogger:v3/Post/etag": etag +"/blogger:v3/Post/id": id +"/blogger:v3/Post/images": images +"/blogger:v3/Post/images/image": image +"/blogger:v3/Post/images/image/url": url +"/blogger:v3/Post/kind": kind +"/blogger:v3/Post/labels": labels +"/blogger:v3/Post/labels/label": label +"/blogger:v3/Post/location": location +"/blogger:v3/Post/location/lat": lat +"/blogger:v3/Post/location/lng": lng +"/blogger:v3/Post/location/name": name +"/blogger:v3/Post/location/span": span +"/blogger:v3/Post/published": published +"/blogger:v3/Post/readerComments": reader_comments +"/blogger:v3/Post/replies": replies +"/blogger:v3/Post/replies/items": items +"/blogger:v3/Post/replies/items/item": item +"/blogger:v3/Post/replies/selfLink": self_link +"/blogger:v3/Post/replies/totalItems": total_items +"/blogger:v3/Post/selfLink": self_link +"/blogger:v3/Post/status": status +"/blogger:v3/Post/title": title +"/blogger:v3/Post/titleLink": title_link +"/blogger:v3/Post/updated": updated +"/blogger:v3/Post/url": url +"/blogger:v3/PostList": post_list +"/blogger:v3/PostList/etag": etag +"/blogger:v3/PostList/items": items +"/blogger:v3/PostList/items/item": item +"/blogger:v3/PostList/kind": kind +"/blogger:v3/PostList/nextPageToken": next_page_token +"/blogger:v3/PostPerUserInfo": post_per_user_info +"/blogger:v3/PostPerUserInfo/blogId": blog_id +"/blogger:v3/PostPerUserInfo/hasEditAccess": has_edit_access +"/blogger:v3/PostPerUserInfo/kind": kind +"/blogger:v3/PostPerUserInfo/postId": post_id +"/blogger:v3/PostPerUserInfo/userId": user_id +"/blogger:v3/PostUserInfo": post_user_info +"/blogger:v3/PostUserInfo/kind": kind +"/blogger:v3/PostUserInfo/post": post +"/blogger:v3/PostUserInfo/post_user_info": post_user_info +"/blogger:v3/PostUserInfosList": post_user_infos_list +"/blogger:v3/PostUserInfosList/items": items +"/blogger:v3/PostUserInfosList/items/item": item +"/blogger:v3/PostUserInfosList/kind": kind +"/blogger:v3/PostUserInfosList/nextPageToken": next_page_token +"/blogger:v3/User": user +"/blogger:v3/User/about": about +"/blogger:v3/User/blogs": blogs +"/blogger:v3/User/blogs/selfLink": self_link +"/blogger:v3/User/created": created +"/blogger:v3/User/displayName": display_name +"/blogger:v3/User/id": id +"/blogger:v3/User/kind": kind +"/blogger:v3/User/locale": locale +"/blogger:v3/User/locale/country": country +"/blogger:v3/User/locale/language": language +"/blogger:v3/User/locale/variant": variant +"/blogger:v3/User/selfLink": self_link +"/blogger:v3/User/url": url +"/books:v1/fields": fields +"/books:v1/key": key +"/books:v1/quotaUser": quota_user +"/books:v1/userIp": user_ip +"/books:v1/books.bookshelves.get/shelf": shelf +"/books:v1/books.bookshelves.get/source": source +"/books:v1/books.bookshelves.get/userId": user_id +"/books:v1/books.bookshelves.list/source": source +"/books:v1/books.bookshelves.list/userId": user_id +"/books:v1/books.bookshelves.volumes.list/maxResults": max_results +"/books:v1/books.bookshelves.volumes.list/shelf": shelf +"/books:v1/books.bookshelves.volumes.list/showPreorders": show_preorders +"/books:v1/books.bookshelves.volumes.list/source": source +"/books:v1/books.bookshelves.volumes.list/startIndex": start_index +"/books:v1/books.bookshelves.volumes.list/userId": user_id +"/books:v1/books.cloudloading.addBook/drive_document_id": drive_document_id +"/books:v1/books.cloudloading.addBook/mime_type": mime_type +"/books:v1/books.cloudloading.addBook/name": name +"/books:v1/books.cloudloading.addBook/upload_client_token": upload_client_token +"/books:v1/books.cloudloading.deleteBook/volumeId": volume_id +"/books:v1/books.dictionary.listOfflineMetadata/cpksver": cpksver +"/books:v1/books.layers.get/contentVersion": content_version +"/books:v1/books.layers.get/source": source +"/books:v1/books.layers.get/summaryId": summary_id +"/books:v1/books.layers.get/volumeId": volume_id +"/books:v1/books.layers.list/contentVersion": content_version +"/books:v1/books.layers.list/maxResults": max_results +"/books:v1/books.layers.list/pageToken": page_token +"/books:v1/books.layers.list/source": source +"/books:v1/books.layers.list/volumeId": volume_id +"/books:v1/books.layers.annotationData.get/allowWebDefinitions": allow_web_definitions +"/books:v1/books.layers.annotationData.get/annotationDataId": annotation_data_id +"/books:v1/books.layers.annotationData.get/contentVersion": content_version +"/books:v1/books.layers.annotationData.get/h": h +"/books:v1/books.layers.annotationData.get/layerId": layer_id +"/books:v1/books.layers.annotationData.get/locale": locale +"/books:v1/books.layers.annotationData.get/scale": scale +"/books:v1/books.layers.annotationData.get/source": source +"/books:v1/books.layers.annotationData.get/volumeId": volume_id +"/books:v1/books.layers.annotationData.get/w": w +"/books:v1/books.layers.annotationData.list/annotationDataId": annotation_data_id +"/books:v1/books.layers.annotationData.list/contentVersion": content_version +"/books:v1/books.layers.annotationData.list/h": h +"/books:v1/books.layers.annotationData.list/layerId": layer_id +"/books:v1/books.layers.annotationData.list/locale": locale +"/books:v1/books.layers.annotationData.list/maxResults": max_results +"/books:v1/books.layers.annotationData.list/pageToken": page_token +"/books:v1/books.layers.annotationData.list/scale": scale +"/books:v1/books.layers.annotationData.list/source": source +"/books:v1/books.layers.annotationData.list/updatedMax": updated_max +"/books:v1/books.layers.annotationData.list/updatedMin": updated_min +"/books:v1/books.layers.annotationData.list/volumeId": volume_id +"/books:v1/books.layers.annotationData.list/w": w +"/books:v1/books.layers.volumeAnnotations.get/annotationId": annotation_id +"/books:v1/books.layers.volumeAnnotations.get/layerId": layer_id +"/books:v1/books.layers.volumeAnnotations.get/locale": locale +"/books:v1/books.layers.volumeAnnotations.get/source": source +"/books:v1/books.layers.volumeAnnotations.get/volumeId": volume_id +"/books:v1/books.layers.volumeAnnotations.list/contentVersion": content_version +"/books:v1/books.layers.volumeAnnotations.list/endOffset": end_offset +"/books:v1/books.layers.volumeAnnotations.list/endPosition": end_position +"/books:v1/books.layers.volumeAnnotations.list/layerId": layer_id +"/books:v1/books.layers.volumeAnnotations.list/locale": locale +"/books:v1/books.layers.volumeAnnotations.list/maxResults": max_results +"/books:v1/books.layers.volumeAnnotations.list/pageToken": page_token +"/books:v1/books.layers.volumeAnnotations.list/showDeleted": show_deleted +"/books:v1/books.layers.volumeAnnotations.list/source": source +"/books:v1/books.layers.volumeAnnotations.list/startOffset": start_offset +"/books:v1/books.layers.volumeAnnotations.list/startPosition": start_position +"/books:v1/books.layers.volumeAnnotations.list/updatedMax": updated_max +"/books:v1/books.layers.volumeAnnotations.list/updatedMin": updated_min +"/books:v1/books.layers.volumeAnnotations.list/volumeAnnotationsVersion": volume_annotations_version +"/books:v1/books.layers.volumeAnnotations.list/volumeId": volume_id +"/books:v1/books.myconfig.releaseDownloadAccess/cpksver": cpksver +"/books:v1/books.myconfig.releaseDownloadAccess/locale": locale +"/books:v1/books.myconfig.releaseDownloadAccess/source": source +"/books:v1/books.myconfig.releaseDownloadAccess/volumeIds": volume_ids +"/books:v1/books.myconfig.requestAccess/cpksver": cpksver +"/books:v1/books.myconfig.requestAccess/licenseTypes": license_types +"/books:v1/books.myconfig.requestAccess/locale": locale +"/books:v1/books.myconfig.requestAccess/nonce": nonce +"/books:v1/books.myconfig.requestAccess/source": source +"/books:v1/books.myconfig.requestAccess/volumeId": volume_id +"/books:v1/books.myconfig.syncVolumeLicenses/cpksver": cpksver +"/books:v1/books.myconfig.syncVolumeLicenses/features": features +"/books:v1/books.myconfig.syncVolumeLicenses/includeNonComicsSeries": include_non_comics_series +"/books:v1/books.myconfig.syncVolumeLicenses/locale": locale +"/books:v1/books.myconfig.syncVolumeLicenses/nonce": nonce +"/books:v1/books.myconfig.syncVolumeLicenses/showPreorders": show_preorders +"/books:v1/books.myconfig.syncVolumeLicenses/source": source +"/books:v1/books.myconfig.syncVolumeLicenses/volumeIds": volume_ids +"/books:v1/books.mylibrary.annotations.delete/annotationId": annotation_id +"/books:v1/books.mylibrary.annotations.delete/source": source +"/books:v1/books.mylibrary.annotations.insert/country": country +"/books:v1/books.mylibrary.annotations.insert/showOnlySummaryInResponse": show_only_summary_in_response +"/books:v1/books.mylibrary.annotations.insert/source": source +"/books:v1/books.mylibrary.annotations.list/contentVersion": content_version +"/books:v1/books.mylibrary.annotations.list/layerId": layer_id +"/books:v1/books.mylibrary.annotations.list/layerIds": layer_ids +"/books:v1/books.mylibrary.annotations.list/maxResults": max_results +"/books:v1/books.mylibrary.annotations.list/pageToken": page_token +"/books:v1/books.mylibrary.annotations.list/showDeleted": show_deleted +"/books:v1/books.mylibrary.annotations.list/source": source +"/books:v1/books.mylibrary.annotations.list/updatedMax": updated_max +"/books:v1/books.mylibrary.annotations.list/updatedMin": updated_min +"/books:v1/books.mylibrary.annotations.list/volumeId": volume_id +"/books:v1/books.mylibrary.annotations.summary/layerIds": layer_ids +"/books:v1/books.mylibrary.annotations.summary/volumeId": volume_id +"/books:v1/books.mylibrary.annotations.update/annotationId": annotation_id +"/books:v1/books.mylibrary.annotations.update/source": source +"/books:v1/books.mylibrary.bookshelves.addVolume/reason": reason +"/books:v1/books.mylibrary.bookshelves.addVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.addVolume/source": source +"/books:v1/books.mylibrary.bookshelves.addVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.clearVolumes/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.clearVolumes/source": source +"/books:v1/books.mylibrary.bookshelves.get/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.get/source": source +"/books:v1/books.mylibrary.bookshelves.list/source": source +"/books:v1/books.mylibrary.bookshelves.moveVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.moveVolume/source": source +"/books:v1/books.mylibrary.bookshelves.moveVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.moveVolume/volumePosition": volume_position +"/books:v1/books.mylibrary.bookshelves.removeVolume/reason": reason +"/books:v1/books.mylibrary.bookshelves.removeVolume/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.removeVolume/source": source +"/books:v1/books.mylibrary.bookshelves.removeVolume/volumeId": volume_id +"/books:v1/books.mylibrary.bookshelves.volumes.list/country": country +"/books:v1/books.mylibrary.bookshelves.volumes.list/maxResults": max_results +"/books:v1/books.mylibrary.bookshelves.volumes.list/projection": projection +"/books:v1/books.mylibrary.bookshelves.volumes.list/q": q +"/books:v1/books.mylibrary.bookshelves.volumes.list/shelf": shelf +"/books:v1/books.mylibrary.bookshelves.volumes.list/showPreorders": show_preorders +"/books:v1/books.mylibrary.bookshelves.volumes.list/source": source +"/books:v1/books.mylibrary.bookshelves.volumes.list/startIndex": start_index +"/books:v1/books.mylibrary.readingpositions.get/contentVersion": content_version +"/books:v1/books.mylibrary.readingpositions.get/source": source +"/books:v1/books.mylibrary.readingpositions.get/volumeId": volume_id +"/books:v1/books.mylibrary.readingpositions.setPosition/action": action +"/books:v1/books.mylibrary.readingpositions.setPosition/contentVersion": content_version +"/books:v1/books.mylibrary.readingpositions.setPosition/deviceCookie": device_cookie +"/books:v1/books.mylibrary.readingpositions.setPosition/position": position +"/books:v1/books.mylibrary.readingpositions.setPosition/source": source +"/books:v1/books.mylibrary.readingpositions.setPosition/timestamp": timestamp +"/books:v1/books.mylibrary.readingpositions.setPosition/volumeId": volume_id +"/books:v1/books.notification.get": get_notification +"/books:v1/books.notification.get/locale": locale +"/books:v1/books.notification.get/notification_id": notification_id +"/books:v1/books.notification.get/source": source +"/books:v1/books.onboarding.listCategories/locale": locale +"/books:v1/books.onboarding.listCategoryVolumes/categoryId": category_id +"/books:v1/books.onboarding.listCategoryVolumes/locale": locale +"/books:v1/books.onboarding.listCategoryVolumes/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.onboarding.listCategoryVolumes/pageSize": page_size +"/books:v1/books.onboarding.listCategoryVolumes/pageToken": page_token +"/books:v1/books.personalizedstream.get": get_personalizedstream +"/books:v1/books.personalizedstream.get/locale": locale +"/books:v1/books.personalizedstream.get/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.personalizedstream.get/source": source +"/books:v1/books.promooffer.accept/androidId": android_id +"/books:v1/books.promooffer.accept/device": device +"/books:v1/books.promooffer.accept/manufacturer": manufacturer +"/books:v1/books.promooffer.accept/model": model +"/books:v1/books.promooffer.accept/offerId": offer_id +"/books:v1/books.promooffer.accept/product": product +"/books:v1/books.promooffer.accept/serial": serial +"/books:v1/books.promooffer.accept/volumeId": volume_id +"/books:v1/books.promooffer.dismiss/androidId": android_id +"/books:v1/books.promooffer.dismiss/device": device +"/books:v1/books.promooffer.dismiss/manufacturer": manufacturer +"/books:v1/books.promooffer.dismiss/model": model +"/books:v1/books.promooffer.dismiss/offerId": offer_id +"/books:v1/books.promooffer.dismiss/product": product +"/books:v1/books.promooffer.dismiss/serial": serial +"/books:v1/books.promooffer.get/androidId": android_id +"/books:v1/books.promooffer.get/device": device +"/books:v1/books.promooffer.get/manufacturer": manufacturer +"/books:v1/books.promooffer.get/model": model +"/books:v1/books.promooffer.get/product": product +"/books:v1/books.promooffer.get/serial": serial +"/books:v1/books.series.get": get_series +"/books:v1/books.series.get/series_id": series_id +"/books:v1/books.series.membership.get": get_series_membership +"/books:v1/books.series.membership.get/page_size": page_size +"/books:v1/books.series.membership.get/page_token": page_token +"/books:v1/books.series.membership.get/series_id": series_id +"/books:v1/books.volumes.get": get_volume +"/books:v1/books.volumes.get/country": country +"/books:v1/books.volumes.get/includeNonComicsSeries": include_non_comics_series +"/books:v1/books.volumes.get/partner": partner +"/books:v1/books.volumes.get/projection": projection +"/books:v1/books.volumes.get/source": source +"/books:v1/books.volumes.get/user_library_consistent_read": user_library_consistent_read +"/books:v1/books.volumes.get/volumeId": volume_id +"/books:v1/books.volumes.list": list_volumes +"/books:v1/books.volumes.list/download": download +"/books:v1/books.volumes.list/filter": filter +"/books:v1/books.volumes.list/langRestrict": lang_restrict +"/books:v1/books.volumes.list/libraryRestrict": library_restrict +"/books:v1/books.volumes.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.list/maxResults": max_results +"/books:v1/books.volumes.list/orderBy": order_by +"/books:v1/books.volumes.list/partner": partner +"/books:v1/books.volumes.list/printType": print_type +"/books:v1/books.volumes.list/projection": projection +"/books:v1/books.volumes.list/q": q +"/books:v1/books.volumes.list/showPreorders": show_preorders +"/books:v1/books.volumes.list/source": source +"/books:v1/books.volumes.list/startIndex": start_index +"/books:v1/books.volumes.associated.list/association": association +"/books:v1/books.volumes.associated.list/locale": locale +"/books:v1/books.volumes.associated.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.associated.list/source": source +"/books:v1/books.volumes.associated.list/volumeId": volume_id +"/books:v1/books.volumes.mybooks.list/acquireMethod": acquire_method +"/books:v1/books.volumes.mybooks.list/country": country +"/books:v1/books.volumes.mybooks.list/locale": locale +"/books:v1/books.volumes.mybooks.list/maxResults": max_results +"/books:v1/books.volumes.mybooks.list/processingState": processing_state +"/books:v1/books.volumes.mybooks.list/source": source +"/books:v1/books.volumes.mybooks.list/startIndex": start_index +"/books:v1/books.volumes.recommended.list/locale": locale +"/books:v1/books.volumes.recommended.list/maxAllowedMaturityRating": max_allowed_maturity_rating +"/books:v1/books.volumes.recommended.list/source": source +"/books:v1/books.volumes.recommended.rate/locale": locale +"/books:v1/books.volumes.recommended.rate/rating": rating +"/books:v1/books.volumes.recommended.rate/source": source +"/books:v1/books.volumes.recommended.rate/volumeId": volume_id +"/books:v1/books.volumes.useruploaded.list/locale": locale +"/books:v1/books.volumes.useruploaded.list/maxResults": max_results +"/books:v1/books.volumes.useruploaded.list/processingState": processing_state +"/books:v1/books.volumes.useruploaded.list/source": source +"/books:v1/books.volumes.useruploaded.list/startIndex": start_index +"/books:v1/books.volumes.useruploaded.list/volumeId": volume_id +"/books:v1/Annotation": annotation +"/books:v1/Annotation/afterSelectedText": after_selected_text +"/books:v1/Annotation/beforeSelectedText": before_selected_text +"/books:v1/Annotation/clientVersionRanges": client_version_ranges +"/books:v1/Annotation/clientVersionRanges/cfiRange": cfi_range +"/books:v1/Annotation/clientVersionRanges/contentVersion": content_version +"/books:v1/Annotation/clientVersionRanges/gbImageRange": gb_image_range +"/books:v1/Annotation/clientVersionRanges/gbTextRange": gb_text_range +"/books:v1/Annotation/clientVersionRanges/imageCfiRange": image_cfi_range +"/books:v1/Annotation/created": created +"/books:v1/Annotation/currentVersionRanges": current_version_ranges +"/books:v1/Annotation/currentVersionRanges/cfiRange": cfi_range +"/books:v1/Annotation/currentVersionRanges/contentVersion": content_version +"/books:v1/Annotation/currentVersionRanges/gbImageRange": gb_image_range +"/books:v1/Annotation/currentVersionRanges/gbTextRange": gb_text_range +"/books:v1/Annotation/currentVersionRanges/imageCfiRange": image_cfi_range +"/books:v1/Annotation/data": data +"/books:v1/Annotation/deleted": deleted +"/books:v1/Annotation/highlightStyle": highlight_style +"/books:v1/Annotation/id": id +"/books:v1/Annotation/kind": kind +"/books:v1/Annotation/layerId": layer_id +"/books:v1/Annotation/layerSummary": layer_summary +"/books:v1/Annotation/layerSummary/allowedCharacterCount": allowed_character_count +"/books:v1/Annotation/layerSummary/limitType": limit_type +"/books:v1/Annotation/layerSummary/remainingCharacterCount": remaining_character_count +"/books:v1/Annotation/pageIds": page_ids +"/books:v1/Annotation/pageIds/page_id": page_id +"/books:v1/Annotation/selectedText": selected_text +"/books:v1/Annotation/selfLink": self_link +"/books:v1/Annotation/updated": updated +"/books:v1/Annotation/volumeId": volume_id +"/books:v1/Annotationdata/annotationType": annotation_type +"/books:v1/Annotationdata/data": data +"/books:v1/Annotationdata/encoded_data": encoded_data +"/books:v1/Annotationdata/id": id +"/books:v1/Annotationdata/kind": kind +"/books:v1/Annotationdata/layerId": layer_id +"/books:v1/Annotationdata/selfLink": self_link +"/books:v1/Annotationdata/updated": updated +"/books:v1/Annotationdata/volumeId": volume_id +"/books:v1/Annotations": annotations +"/books:v1/Annotations/items": items +"/books:v1/Annotations/items/item": item +"/books:v1/Annotations/kind": kind +"/books:v1/Annotations/nextPageToken": next_page_token +"/books:v1/Annotations/totalItems": total_items +"/books:v1/AnnotationsSummary/kind": kind +"/books:v1/AnnotationsSummary/layers": layers +"/books:v1/AnnotationsSummary/layers/layer": layer +"/books:v1/AnnotationsSummary/layers/layer/allowedCharacterCount": allowed_character_count +"/books:v1/AnnotationsSummary/layers/layer/layerId": layer_id +"/books:v1/AnnotationsSummary/layers/layer/limitType": limit_type +"/books:v1/AnnotationsSummary/layers/layer/remainingCharacterCount": remaining_character_count +"/books:v1/AnnotationsSummary/layers/layer/updated": updated +"/books:v1/Annotationsdata/items": items +"/books:v1/Annotationsdata/items/item": item +"/books:v1/Annotationsdata/kind": kind +"/books:v1/Annotationsdata/nextPageToken": next_page_token +"/books:v1/Annotationsdata/totalItems": total_items +"/books:v1/BooksAnnotationsRange/endOffset": end_offset +"/books:v1/BooksAnnotationsRange/endPosition": end_position +"/books:v1/BooksAnnotationsRange/startOffset": start_offset +"/books:v1/BooksAnnotationsRange/startPosition": start_position +"/books:v1/BooksCloudloadingResource/author": author +"/books:v1/BooksCloudloadingResource/processingState": processing_state +"/books:v1/BooksCloudloadingResource/title": title +"/books:v1/BooksCloudloadingResource/volumeId": volume_id +"/books:v1/BooksVolumesRecommendedRateResponse/consistency_token": consistency_token +"/books:v1/Bookshelf": bookshelf +"/books:v1/Bookshelf/access": access +"/books:v1/Bookshelf/created": created +"/books:v1/Bookshelf/description": description +"/books:v1/Bookshelf/id": id +"/books:v1/Bookshelf/kind": kind +"/books:v1/Bookshelf/selfLink": self_link +"/books:v1/Bookshelf/title": title +"/books:v1/Bookshelf/updated": updated +"/books:v1/Bookshelf/volumeCount": volume_count +"/books:v1/Bookshelf/volumesLastUpdated": volumes_last_updated +"/books:v1/Bookshelves": bookshelves +"/books:v1/Bookshelves/items": items +"/books:v1/Bookshelves/items/item": item +"/books:v1/Bookshelves/kind": kind +"/books:v1/Category": category +"/books:v1/Category/items": items +"/books:v1/Category/items/item": item +"/books:v1/Category/items/item/badgeUrl": badge_url +"/books:v1/Category/items/item/categoryId": category_id +"/books:v1/Category/items/item/name": name +"/books:v1/Category/kind": kind +"/books:v1/ConcurrentAccessRestriction": concurrent_access_restriction +"/books:v1/ConcurrentAccessRestriction/deviceAllowed": device_allowed +"/books:v1/ConcurrentAccessRestriction/kind": kind +"/books:v1/ConcurrentAccessRestriction/maxConcurrentDevices": max_concurrent_devices +"/books:v1/ConcurrentAccessRestriction/message": message +"/books:v1/ConcurrentAccessRestriction/nonce": nonce +"/books:v1/ConcurrentAccessRestriction/reasonCode": reason_code +"/books:v1/ConcurrentAccessRestriction/restricted": restricted +"/books:v1/ConcurrentAccessRestriction/signature": signature +"/books:v1/ConcurrentAccessRestriction/source": source +"/books:v1/ConcurrentAccessRestriction/timeWindowSeconds": time_window_seconds +"/books:v1/ConcurrentAccessRestriction/volumeId": volume_id +"/books:v1/Dictlayerdata/common": common +"/books:v1/Dictlayerdata/common/title": title +"/books:v1/Dictlayerdata/dict": dict +"/books:v1/Dictlayerdata/dict/source": source +"/books:v1/Dictlayerdata/dict/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/source/url": url +"/books:v1/Dictlayerdata/dict/words": words +"/books:v1/Dictlayerdata/dict/words/word": word +"/books:v1/Dictlayerdata/dict/words/word/derivatives": derivatives +"/books:v1/Dictlayerdata/dict/words/word/derivatives/derivative": derivative +"/books:v1/Dictlayerdata/dict/words/word/derivatives/derivative/source": source +"/books:v1/Dictlayerdata/dict/words/word/derivatives/derivative/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/derivatives/derivative/source/url": url +"/books:v1/Dictlayerdata/dict/words/word/derivatives/derivative/text": text +"/books:v1/Dictlayerdata/dict/words/word/examples": examples +"/books:v1/Dictlayerdata/dict/words/word/examples/example": example +"/books:v1/Dictlayerdata/dict/words/word/examples/example/source": source +"/books:v1/Dictlayerdata/dict/words/word/examples/example/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/examples/example/source/url": url +"/books:v1/Dictlayerdata/dict/words/word/examples/example/text": text +"/books:v1/Dictlayerdata/dict/words/word/senses": senses +"/books:v1/Dictlayerdata/dict/words/word/senses/sense": sense +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/conjugations": conjugations +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/conjugations/conjugation": conjugation +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/conjugations/conjugation/type": type +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/conjugations/conjugation/value": value +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions": definitions +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition": definition +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/definition": definition +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples": examples +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples/example": example +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples/example/source": source +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples/example/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples/example/source/url": url +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/definitions/definition/examples/example/text": text +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/partOfSpeech": part_of_speech +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/pronunciation": pronunciation +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/pronunciationUrl": pronunciation_url +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/source": source +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/source/url": url +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/syllabification": syllabification +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms": synonyms +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms/synonym": synonym +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms/synonym/source": source +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms/synonym/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms/synonym/source/url": url +"/books:v1/Dictlayerdata/dict/words/word/senses/sense/synonyms/synonym/text": text +"/books:v1/Dictlayerdata/dict/words/word/source": source +"/books:v1/Dictlayerdata/dict/words/word/source/attribution": attribution +"/books:v1/Dictlayerdata/dict/words/word/source/url": url +"/books:v1/Dictlayerdata/kind": kind +"/books:v1/Discoveryclusters": discoveryclusters +"/books:v1/Discoveryclusters/clusters": clusters +"/books:v1/Discoveryclusters/clusters/cluster": cluster +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container": banner_with_content_container +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/fillColorArgb": fill_color_argb +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/imageUrl": image_url +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/maskColorArgb": mask_color_argb +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/moreButtonText": more_button_text +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/moreButtonUrl": more_button_url +"/books:v1/Discoveryclusters/clusters/cluster/banner_with_content_container/textColorArgb": text_color_argb +"/books:v1/Discoveryclusters/clusters/cluster/subTitle": sub_title +"/books:v1/Discoveryclusters/clusters/cluster/title": title +"/books:v1/Discoveryclusters/clusters/cluster/totalVolumes": total_volumes +"/books:v1/Discoveryclusters/clusters/cluster/uid": uid +"/books:v1/Discoveryclusters/clusters/cluster/volumes": volumes +"/books:v1/Discoveryclusters/clusters/cluster/volumes/volume": volume +"/books:v1/Discoveryclusters/kind": kind +"/books:v1/Discoveryclusters/totalClusters": total_clusters +"/books:v1/DownloadAccessRestriction": download_access_restriction +"/books:v1/DownloadAccessRestriction/deviceAllowed": device_allowed +"/books:v1/DownloadAccessRestriction/downloadsAcquired": downloads_acquired +"/books:v1/DownloadAccessRestriction/justAcquired": just_acquired +"/books:v1/DownloadAccessRestriction/kind": kind +"/books:v1/DownloadAccessRestriction/maxDownloadDevices": max_download_devices +"/books:v1/DownloadAccessRestriction/message": message +"/books:v1/DownloadAccessRestriction/nonce": nonce +"/books:v1/DownloadAccessRestriction/reasonCode": reason_code +"/books:v1/DownloadAccessRestriction/restricted": restricted +"/books:v1/DownloadAccessRestriction/signature": signature +"/books:v1/DownloadAccessRestriction/source": source +"/books:v1/DownloadAccessRestriction/volumeId": volume_id +"/books:v1/DownloadAccesses": download_accesses +"/books:v1/DownloadAccesses/downloadAccessList": download_access_list +"/books:v1/DownloadAccesses/downloadAccessList/download_access_list": download_access_list +"/books:v1/DownloadAccesses/kind": kind +"/books:v1/Geolayerdata/common": common +"/books:v1/Geolayerdata/common/lang": lang +"/books:v1/Geolayerdata/common/previewImageUrl": preview_image_url +"/books:v1/Geolayerdata/common/snippet": snippet +"/books:v1/Geolayerdata/common/snippetUrl": snippet_url +"/books:v1/Geolayerdata/common/title": title +"/books:v1/Geolayerdata/geo": geo +"/books:v1/Geolayerdata/geo/boundary": boundary +"/books:v1/Geolayerdata/geo/boundary/boundary": boundary +"/books:v1/Geolayerdata/geo/boundary/boundary/boundary": boundary +"/books:v1/Geolayerdata/geo/boundary/boundary/boundary/latitude": latitude +"/books:v1/Geolayerdata/geo/boundary/boundary/boundary/longitude": longitude +"/books:v1/Geolayerdata/geo/cachePolicy": cache_policy +"/books:v1/Geolayerdata/geo/countryCode": country_code +"/books:v1/Geolayerdata/geo/latitude": latitude +"/books:v1/Geolayerdata/geo/longitude": longitude +"/books:v1/Geolayerdata/geo/mapType": map_type +"/books:v1/Geolayerdata/geo/viewport": viewport +"/books:v1/Geolayerdata/geo/viewport/hi": hi +"/books:v1/Geolayerdata/geo/viewport/hi/latitude": latitude +"/books:v1/Geolayerdata/geo/viewport/hi/longitude": longitude +"/books:v1/Geolayerdata/geo/viewport/lo": lo +"/books:v1/Geolayerdata/geo/viewport/lo/latitude": latitude +"/books:v1/Geolayerdata/geo/viewport/lo/longitude": longitude +"/books:v1/Geolayerdata/geo/zoom": zoom +"/books:v1/Geolayerdata/kind": kind +"/books:v1/Layersummaries/items": items +"/books:v1/Layersummaries/items/item": item +"/books:v1/Layersummaries/kind": kind +"/books:v1/Layersummaries/totalItems": total_items +"/books:v1/Layersummary/annotationCount": annotation_count +"/books:v1/Layersummary/annotationTypes": annotation_types +"/books:v1/Layersummary/annotationTypes/annotation_type": annotation_type +"/books:v1/Layersummary/annotationsDataLink": annotations_data_link +"/books:v1/Layersummary/annotationsLink": annotations_link +"/books:v1/Layersummary/contentVersion": content_version +"/books:v1/Layersummary/dataCount": data_count +"/books:v1/Layersummary/id": id +"/books:v1/Layersummary/kind": kind +"/books:v1/Layersummary/layerId": layer_id +"/books:v1/Layersummary/selfLink": self_link +"/books:v1/Layersummary/updated": updated +"/books:v1/Layersummary/volumeAnnotationsVersion": volume_annotations_version +"/books:v1/Layersummary/volumeId": volume_id +"/books:v1/Metadata": metadata +"/books:v1/Metadata/items": items +"/books:v1/Metadata/items/item": item +"/books:v1/Metadata/items/item/download_url": download_url +"/books:v1/Metadata/items/item/encrypted_key": encrypted_key +"/books:v1/Metadata/items/item/language": language +"/books:v1/Metadata/items/item/size": size +"/books:v1/Metadata/items/item/version": version +"/books:v1/Metadata/kind": kind +"/books:v1/Notification": notification +"/books:v1/Notification/body": body +"/books:v1/Notification/crmExperimentIds": crm_experiment_ids +"/books:v1/Notification/crmExperimentIds/crm_experiment_id": crm_experiment_id +"/books:v1/Notification/doc_id": doc_id +"/books:v1/Notification/doc_type": doc_type +"/books:v1/Notification/dont_show_notification": dont_show_notification +"/books:v1/Notification/iconUrl": icon_url +"/books:v1/Notification/kind": kind +"/books:v1/Notification/notificationGroup": notification_group +"/books:v1/Notification/notification_type": notification_type +"/books:v1/Notification/pcampaign_id": pcampaign_id +"/books:v1/Notification/reason": reason +"/books:v1/Notification/show_notification_settings_action": show_notification_settings_action +"/books:v1/Notification/targetUrl": target_url +"/books:v1/Notification/title": title +"/books:v1/Offers": offers +"/books:v1/Offers/items": items +"/books:v1/Offers/items/item": item +"/books:v1/Offers/items/item/artUrl": art_url +"/books:v1/Offers/items/item/gservicesKey": gservices_key +"/books:v1/Offers/items/item/id": id +"/books:v1/Offers/items/item/items": items +"/books:v1/Offers/items/item/items/item": item +"/books:v1/Offers/items/item/items/item/author": author +"/books:v1/Offers/items/item/items/item/canonicalVolumeLink": canonical_volume_link +"/books:v1/Offers/items/item/items/item/coverUrl": cover_url +"/books:v1/Offers/items/item/items/item/description": description +"/books:v1/Offers/items/item/items/item/title": title +"/books:v1/Offers/items/item/items/item/volumeId": volume_id +"/books:v1/Offers/kind": kind +"/books:v1/ReadingPosition": reading_position +"/books:v1/ReadingPosition/epubCfiPosition": epub_cfi_position +"/books:v1/ReadingPosition/gbImagePosition": gb_image_position +"/books:v1/ReadingPosition/gbTextPosition": gb_text_position +"/books:v1/ReadingPosition/kind": kind +"/books:v1/ReadingPosition/pdfPosition": pdf_position +"/books:v1/ReadingPosition/updated": updated +"/books:v1/ReadingPosition/volumeId": volume_id +"/books:v1/RequestAccess": request_access +"/books:v1/RequestAccess/concurrentAccess": concurrent_access +"/books:v1/RequestAccess/downloadAccess": download_access +"/books:v1/RequestAccess/kind": kind +"/books:v1/Review": review +"/books:v1/Review/author": author +"/books:v1/Review/author/displayName": display_name +"/books:v1/Review/content": content +"/books:v1/Review/date": date +"/books:v1/Review/fullTextUrl": full_text_url +"/books:v1/Review/kind": kind +"/books:v1/Review/rating": rating +"/books:v1/Review/source": source +"/books:v1/Review/source/description": description +"/books:v1/Review/source/extraDescription": extra_description +"/books:v1/Review/source/url": url +"/books:v1/Review/title": title +"/books:v1/Review/type": type +"/books:v1/Review/volumeId": volume_id +"/books:v1/Series": series +"/books:v1/Series/kind": kind +"/books:v1/Series/series": series +"/books:v1/Series/series/series": series +"/books:v1/Series/series/series/bannerImageUrl": banner_image_url +"/books:v1/Series/series/series/imageUrl": image_url +"/books:v1/Series/series/series/seriesId": series_id +"/books:v1/Series/series/series/seriesType": series_type +"/books:v1/Series/series/series/title": title +"/books:v1/Seriesmembership/kind": kind +"/books:v1/Seriesmembership/member": member +"/books:v1/Seriesmembership/member/member": member +"/books:v1/Seriesmembership/nextPageToken": next_page_token +"/books:v1/Usersettings/kind": kind +"/books:v1/Usersettings/notesExport": notes_export +"/books:v1/Usersettings/notesExport/folderName": folder_name +"/books:v1/Usersettings/notesExport/isEnabled": is_enabled +"/books:v1/Usersettings/notification": notification +"/books:v1/Usersettings/notification/moreFromAuthors": more_from_authors +"/books:v1/Usersettings/notification/moreFromAuthors/opted_state": opted_state +"/books:v1/Usersettings/notification/moreFromSeries": more_from_series +"/books:v1/Usersettings/notification/moreFromSeries/opted_state": opted_state +"/books:v1/Volume": volume +"/books:v1/Volume/accessInfo": access_info +"/books:v1/Volume/accessInfo/accessViewStatus": access_view_status +"/books:v1/Volume/accessInfo/country": country +"/books:v1/Volume/accessInfo/downloadAccess": download_access +"/books:v1/Volume/accessInfo/driveImportedContentLink": drive_imported_content_link +"/books:v1/Volume/accessInfo/embeddable": embeddable +"/books:v1/Volume/accessInfo/epub": epub +"/books:v1/Volume/accessInfo/epub/acsTokenLink": acs_token_link +"/books:v1/Volume/accessInfo/epub/downloadLink": download_link +"/books:v1/Volume/accessInfo/epub/isAvailable": is_available +"/books:v1/Volume/accessInfo/explicitOfflineLicenseManagement": explicit_offline_license_management +"/books:v1/Volume/accessInfo/pdf": pdf +"/books:v1/Volume/accessInfo/pdf/acsTokenLink": acs_token_link +"/books:v1/Volume/accessInfo/pdf/downloadLink": download_link +"/books:v1/Volume/accessInfo/pdf/isAvailable": is_available +"/books:v1/Volume/accessInfo/publicDomain": public_domain +"/books:v1/Volume/accessInfo/quoteSharingAllowed": quote_sharing_allowed +"/books:v1/Volume/accessInfo/textToSpeechPermission": text_to_speech_permission +"/books:v1/Volume/accessInfo/viewOrderUrl": view_order_url +"/books:v1/Volume/accessInfo/viewability": viewability +"/books:v1/Volume/accessInfo/webReaderLink": web_reader_link +"/books:v1/Volume/etag": etag +"/books:v1/Volume/id": id +"/books:v1/Volume/kind": kind +"/books:v1/Volume/layerInfo": layer_info +"/books:v1/Volume/layerInfo/layers": layers +"/books:v1/Volume/layerInfo/layers/layer": layer +"/books:v1/Volume/layerInfo/layers/layer/layerId": layer_id +"/books:v1/Volume/layerInfo/layers/layer/volumeAnnotationsVersion": volume_annotations_version +"/books:v1/Volume/recommendedInfo": recommended_info +"/books:v1/Volume/recommendedInfo/explanation": explanation +"/books:v1/Volume/saleInfo": sale_info +"/books:v1/Volume/saleInfo/buyLink": buy_link +"/books:v1/Volume/saleInfo/country": country +"/books:v1/Volume/saleInfo/isEbook": is_ebook +"/books:v1/Volume/saleInfo/listPrice": list_price +"/books:v1/Volume/saleInfo/listPrice/amount": amount +"/books:v1/Volume/saleInfo/listPrice/currencyCode": currency_code +"/books:v1/Volume/saleInfo/offers": offers +"/books:v1/Volume/saleInfo/offers/offer": offer +"/books:v1/Volume/saleInfo/offers/offer/finskyOfferType": finsky_offer_type +"/books:v1/Volume/saleInfo/offers/offer/giftable": giftable +"/books:v1/Volume/saleInfo/offers/offer/listPrice": list_price +"/books:v1/Volume/saleInfo/offers/offer/listPrice/amountInMicros": amount_in_micros +"/books:v1/Volume/saleInfo/offers/offer/listPrice/currencyCode": currency_code +"/books:v1/Volume/saleInfo/offers/offer/rentalDuration": rental_duration +"/books:v1/Volume/saleInfo/offers/offer/rentalDuration/count": count +"/books:v1/Volume/saleInfo/offers/offer/rentalDuration/unit": unit +"/books:v1/Volume/saleInfo/offers/offer/retailPrice": retail_price +"/books:v1/Volume/saleInfo/offers/offer/retailPrice/amountInMicros": amount_in_micros +"/books:v1/Volume/saleInfo/offers/offer/retailPrice/currencyCode": currency_code +"/books:v1/Volume/saleInfo/onSaleDate": on_sale_date +"/books:v1/Volume/saleInfo/retailPrice": retail_price +"/books:v1/Volume/saleInfo/retailPrice/amount": amount +"/books:v1/Volume/saleInfo/retailPrice/currencyCode": currency_code +"/books:v1/Volume/saleInfo/saleability": saleability +"/books:v1/Volume/searchInfo": search_info +"/books:v1/Volume/searchInfo/textSnippet": text_snippet +"/books:v1/Volume/selfLink": self_link +"/books:v1/Volume/userInfo": user_info +"/books:v1/Volume/userInfo/acquiredTime": acquired_time +"/books:v1/Volume/userInfo/acquisitionType": acquisition_type +"/books:v1/Volume/userInfo/copy": copy +"/books:v1/Volume/userInfo/copy/allowedCharacterCount": allowed_character_count +"/books:v1/Volume/userInfo/copy/limitType": limit_type +"/books:v1/Volume/userInfo/copy/remainingCharacterCount": remaining_character_count +"/books:v1/Volume/userInfo/copy/updated": updated +"/books:v1/Volume/userInfo/entitlementType": entitlement_type +"/books:v1/Volume/userInfo/familySharing": family_sharing +"/books:v1/Volume/userInfo/familySharing/familyRole": family_role +"/books:v1/Volume/userInfo/familySharing/isSharingAllowed": is_sharing_allowed +"/books:v1/Volume/userInfo/familySharing/isSharingDisabledByFop": is_sharing_disabled_by_fop +"/books:v1/Volume/userInfo/isFamilySharedFromUser": is_family_shared_from_user +"/books:v1/Volume/userInfo/isFamilySharedToUser": is_family_shared_to_user +"/books:v1/Volume/userInfo/isFamilySharingAllowed": is_family_sharing_allowed +"/books:v1/Volume/userInfo/isFamilySharingDisabledByFop": is_family_sharing_disabled_by_fop +"/books:v1/Volume/userInfo/isInMyBooks": is_in_my_books +"/books:v1/Volume/userInfo/isPreordered": is_preordered +"/books:v1/Volume/userInfo/isPurchased": is_purchased +"/books:v1/Volume/userInfo/isUploaded": is_uploaded +"/books:v1/Volume/userInfo/readingPosition": reading_position +"/books:v1/Volume/userInfo/rentalPeriod": rental_period +"/books:v1/Volume/userInfo/rentalPeriod/endUtcSec": end_utc_sec +"/books:v1/Volume/userInfo/rentalPeriod/startUtcSec": start_utc_sec +"/books:v1/Volume/userInfo/rentalState": rental_state +"/books:v1/Volume/userInfo/review": review +"/books:v1/Volume/userInfo/updated": updated +"/books:v1/Volume/userInfo/userUploadedVolumeInfo": user_uploaded_volume_info +"/books:v1/Volume/userInfo/userUploadedVolumeInfo/processingState": processing_state +"/books:v1/Volume/volumeInfo": volume_info +"/books:v1/Volume/volumeInfo/allowAnonLogging": allow_anon_logging +"/books:v1/Volume/volumeInfo/authors": authors +"/books:v1/Volume/volumeInfo/authors/author": author +"/books:v1/Volume/volumeInfo/averageRating": average_rating +"/books:v1/Volume/volumeInfo/canonicalVolumeLink": canonical_volume_link +"/books:v1/Volume/volumeInfo/categories": categories +"/books:v1/Volume/volumeInfo/categories/category": category +"/books:v1/Volume/volumeInfo/contentVersion": content_version +"/books:v1/Volume/volumeInfo/description": description +"/books:v1/Volume/volumeInfo/dimensions": dimensions +"/books:v1/Volume/volumeInfo/dimensions/height": height +"/books:v1/Volume/volumeInfo/dimensions/thickness": thickness +"/books:v1/Volume/volumeInfo/dimensions/width": width +"/books:v1/Volume/volumeInfo/imageLinks": image_links +"/books:v1/Volume/volumeInfo/imageLinks/extraLarge": extra_large +"/books:v1/Volume/volumeInfo/imageLinks/large": large +"/books:v1/Volume/volumeInfo/imageLinks/medium": medium +"/books:v1/Volume/volumeInfo/imageLinks/small": small +"/books:v1/Volume/volumeInfo/imageLinks/smallThumbnail": small_thumbnail +"/books:v1/Volume/volumeInfo/imageLinks/thumbnail": thumbnail +"/books:v1/Volume/volumeInfo/industryIdentifiers": industry_identifiers +"/books:v1/Volume/volumeInfo/industryIdentifiers/industry_identifier": industry_identifier +"/books:v1/Volume/volumeInfo/industryIdentifiers/industry_identifier/identifier": identifier +"/books:v1/Volume/volumeInfo/industryIdentifiers/industry_identifier/type": type +"/books:v1/Volume/volumeInfo/infoLink": info_link +"/books:v1/Volume/volumeInfo/language": language +"/books:v1/Volume/volumeInfo/mainCategory": main_category +"/books:v1/Volume/volumeInfo/maturityRating": maturity_rating +"/books:v1/Volume/volumeInfo/pageCount": page_count +"/books:v1/Volume/volumeInfo/panelizationSummary": panelization_summary +"/books:v1/Volume/volumeInfo/panelizationSummary/containsEpubBubbles": contains_epub_bubbles +"/books:v1/Volume/volumeInfo/panelizationSummary/containsImageBubbles": contains_image_bubbles +"/books:v1/Volume/volumeInfo/panelizationSummary/epubBubbleVersion": epub_bubble_version +"/books:v1/Volume/volumeInfo/panelizationSummary/imageBubbleVersion": image_bubble_version +"/books:v1/Volume/volumeInfo/previewLink": preview_link +"/books:v1/Volume/volumeInfo/printType": print_type +"/books:v1/Volume/volumeInfo/printedPageCount": printed_page_count +"/books:v1/Volume/volumeInfo/publishedDate": published_date +"/books:v1/Volume/volumeInfo/publisher": publisher +"/books:v1/Volume/volumeInfo/ratingsCount": ratings_count +"/books:v1/Volume/volumeInfo/readingModes": reading_modes +"/books:v1/Volume/volumeInfo/samplePageCount": sample_page_count +"/books:v1/Volume/volumeInfo/seriesInfo": series_info +"/books:v1/Volume/volumeInfo/subtitle": subtitle +"/books:v1/Volume/volumeInfo/title": title +"/books:v1/Volume2": volume2 +"/books:v1/Volume2/items": items +"/books:v1/Volume2/items/item": item +"/books:v1/Volume2/kind": kind +"/books:v1/Volume2/nextPageToken": next_page_token +"/books:v1/Volumeannotation/annotationDataId": annotation_data_id +"/books:v1/Volumeannotation/annotationDataLink": annotation_data_link +"/books:v1/Volumeannotation/annotationType": annotation_type +"/books:v1/Volumeannotation/contentRanges": content_ranges +"/books:v1/Volumeannotation/contentRanges/cfiRange": cfi_range +"/books:v1/Volumeannotation/contentRanges/contentVersion": content_version +"/books:v1/Volumeannotation/contentRanges/gbImageRange": gb_image_range +"/books:v1/Volumeannotation/contentRanges/gbTextRange": gb_text_range +"/books:v1/Volumeannotation/data": data +"/books:v1/Volumeannotation/deleted": deleted +"/books:v1/Volumeannotation/id": id +"/books:v1/Volumeannotation/kind": kind +"/books:v1/Volumeannotation/layerId": layer_id +"/books:v1/Volumeannotation/pageIds": page_ids +"/books:v1/Volumeannotation/pageIds/page_id": page_id +"/books:v1/Volumeannotation/selectedText": selected_text +"/books:v1/Volumeannotation/selfLink": self_link +"/books:v1/Volumeannotation/updated": updated +"/books:v1/Volumeannotation/volumeId": volume_id +"/books:v1/Volumeannotations": volumeannotations +"/books:v1/Volumeannotations/items": items +"/books:v1/Volumeannotations/items/item": item +"/books:v1/Volumeannotations/kind": kind +"/books:v1/Volumeannotations/nextPageToken": next_page_token +"/books:v1/Volumeannotations/totalItems": total_items +"/books:v1/Volumeannotations/version": version +"/books:v1/Volumes": volumes +"/books:v1/Volumes/items": items +"/books:v1/Volumes/items/item": item +"/books:v1/Volumes/kind": kind +"/books:v1/Volumes/totalItems": total_items +"/books:v1/Volumeseriesinfo": volumeseriesinfo +"/books:v1/Volumeseriesinfo/bookDisplayNumber": book_display_number +"/books:v1/Volumeseriesinfo/kind": kind +"/books:v1/Volumeseriesinfo/shortSeriesBookTitle": short_series_book_title +"/books:v1/Volumeseriesinfo/volumeSeries": volume_series +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series": volume_series +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/issue": issue +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/issue/issue": issue +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/issue/issue/issueDisplayNumber": issue_display_number +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/issue/issue/issueOrderNumber": issue_order_number +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/orderNumber": order_number +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/seriesBookType": series_book_type +"/books:v1/Volumeseriesinfo/volumeSeries/volume_series/seriesId": series_id +"/calendar:v3/fields": fields +"/calendar:v3/key": key +"/calendar:v3/quotaUser": quota_user +"/calendar:v3/userIp": user_ip +"/calendar:v3/calendar.acl.delete": delete_acl +"/calendar:v3/calendar.acl.delete/calendarId": calendar_id +"/calendar:v3/calendar.acl.delete/ruleId": rule_id +"/calendar:v3/calendar.acl.get": get_acl +"/calendar:v3/calendar.acl.get/calendarId": calendar_id +"/calendar:v3/calendar.acl.get/ruleId": rule_id +"/calendar:v3/calendar.acl.insert": insert_acl +"/calendar:v3/calendar.acl.insert/calendarId": calendar_id +"/calendar:v3/calendar.acl.list": list_acls +"/calendar:v3/calendar.acl.list/calendarId": calendar_id +"/calendar:v3/calendar.acl.list/maxResults": max_results +"/calendar:v3/calendar.acl.list/pageToken": page_token +"/calendar:v3/calendar.acl.list/showDeleted": show_deleted +"/calendar:v3/calendar.acl.list/syncToken": sync_token +"/calendar:v3/calendar.acl.patch": patch_acl +"/calendar:v3/calendar.acl.patch/calendarId": calendar_id +"/calendar:v3/calendar.acl.patch/ruleId": rule_id +"/calendar:v3/calendar.acl.update": update_acl +"/calendar:v3/calendar.acl.update/calendarId": calendar_id +"/calendar:v3/calendar.acl.update/ruleId": rule_id +"/calendar:v3/calendar.acl.watch": watch_acl +"/calendar:v3/calendar.acl.watch/calendarId": calendar_id +"/calendar:v3/calendar.acl.watch/maxResults": max_results +"/calendar:v3/calendar.acl.watch/pageToken": page_token +"/calendar:v3/calendar.acl.watch/showDeleted": show_deleted +"/calendar:v3/calendar.acl.watch/syncToken": sync_token +"/calendar:v3/calendar.calendarList.delete": delete_calendar_list +"/calendar:v3/calendar.calendarList.delete/calendarId": calendar_id +"/calendar:v3/calendar.calendarList.get": get_calendar_list +"/calendar:v3/calendar.calendarList.get/calendarId": calendar_id +"/calendar:v3/calendar.calendarList.insert": insert_calendar_list +"/calendar:v3/calendar.calendarList.insert/colorRgbFormat": color_rgb_format +"/calendar:v3/calendar.calendarList.list": list_calendar_lists +"/calendar:v3/calendar.calendarList.list/maxResults": max_results +"/calendar:v3/calendar.calendarList.list/minAccessRole": min_access_role +"/calendar:v3/calendar.calendarList.list/pageToken": page_token +"/calendar:v3/calendar.calendarList.list/showDeleted": show_deleted +"/calendar:v3/calendar.calendarList.list/showHidden": show_hidden +"/calendar:v3/calendar.calendarList.list/syncToken": sync_token +"/calendar:v3/calendar.calendarList.patch": patch_calendar_list +"/calendar:v3/calendar.calendarList.patch/calendarId": calendar_id +"/calendar:v3/calendar.calendarList.patch/colorRgbFormat": color_rgb_format +"/calendar:v3/calendar.calendarList.update": update_calendar_list +"/calendar:v3/calendar.calendarList.update/calendarId": calendar_id +"/calendar:v3/calendar.calendarList.update/colorRgbFormat": color_rgb_format +"/calendar:v3/calendar.calendarList.watch": watch_calendar_list +"/calendar:v3/calendar.calendarList.watch/maxResults": max_results +"/calendar:v3/calendar.calendarList.watch/minAccessRole": min_access_role +"/calendar:v3/calendar.calendarList.watch/pageToken": page_token +"/calendar:v3/calendar.calendarList.watch/showDeleted": show_deleted +"/calendar:v3/calendar.calendarList.watch/showHidden": show_hidden +"/calendar:v3/calendar.calendarList.watch/syncToken": sync_token +"/calendar:v3/calendar.calendars.clear": clear_calendar +"/calendar:v3/calendar.calendars.clear/calendarId": calendar_id +"/calendar:v3/calendar.calendars.delete": delete_calendar +"/calendar:v3/calendar.calendars.delete/calendarId": calendar_id +"/calendar:v3/calendar.calendars.get": get_calendar +"/calendar:v3/calendar.calendars.get/calendarId": calendar_id +"/calendar:v3/calendar.calendars.insert": insert_calendar +"/calendar:v3/calendar.calendars.patch": patch_calendar +"/calendar:v3/calendar.calendars.patch/calendarId": calendar_id +"/calendar:v3/calendar.calendars.update": update_calendar +"/calendar:v3/calendar.calendars.update/calendarId": calendar_id +"/calendar:v3/calendar.channels.stop": stop_channel +"/calendar:v3/calendar.colors.get": get_color +"/calendar:v3/calendar.events.delete": delete_event +"/calendar:v3/calendar.events.delete/calendarId": calendar_id +"/calendar:v3/calendar.events.delete/eventId": event_id +"/calendar:v3/calendar.events.delete/sendNotifications": send_notifications +"/calendar:v3/calendar.events.get": get_event +"/calendar:v3/calendar.events.get/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.get/calendarId": calendar_id +"/calendar:v3/calendar.events.get/eventId": event_id +"/calendar:v3/calendar.events.get/maxAttendees": max_attendees +"/calendar:v3/calendar.events.get/timeZone": time_zone +"/calendar:v3/calendar.events.import": import_event +"/calendar:v3/calendar.events.import/calendarId": calendar_id +"/calendar:v3/calendar.events.import/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.insert": insert_event +"/calendar:v3/calendar.events.insert/calendarId": calendar_id +"/calendar:v3/calendar.events.insert/maxAttendees": max_attendees +"/calendar:v3/calendar.events.insert/sendNotifications": send_notifications +"/calendar:v3/calendar.events.insert/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.instances/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.instances/calendarId": calendar_id +"/calendar:v3/calendar.events.instances/eventId": event_id +"/calendar:v3/calendar.events.instances/maxAttendees": max_attendees +"/calendar:v3/calendar.events.instances/maxResults": max_results +"/calendar:v3/calendar.events.instances/originalStart": original_start +"/calendar:v3/calendar.events.instances/pageToken": page_token +"/calendar:v3/calendar.events.instances/showDeleted": show_deleted +"/calendar:v3/calendar.events.instances/timeMax": time_max +"/calendar:v3/calendar.events.instances/timeMin": time_min +"/calendar:v3/calendar.events.instances/timeZone": time_zone +"/calendar:v3/calendar.events.list": list_events +"/calendar:v3/calendar.events.list/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.list/calendarId": calendar_id +"/calendar:v3/calendar.events.list/iCalUID": i_cal_uid +"/calendar:v3/calendar.events.list/maxAttendees": max_attendees +"/calendar:v3/calendar.events.list/maxResults": max_results +"/calendar:v3/calendar.events.list/orderBy": order_by +"/calendar:v3/calendar.events.list/pageToken": page_token +"/calendar:v3/calendar.events.list/privateExtendedProperty": private_extended_property +"/calendar:v3/calendar.events.list/q": q +"/calendar:v3/calendar.events.list/sharedExtendedProperty": shared_extended_property +"/calendar:v3/calendar.events.list/showDeleted": show_deleted +"/calendar:v3/calendar.events.list/showHiddenInvitations": show_hidden_invitations +"/calendar:v3/calendar.events.list/singleEvents": single_events +"/calendar:v3/calendar.events.list/syncToken": sync_token +"/calendar:v3/calendar.events.list/timeMax": time_max +"/calendar:v3/calendar.events.list/timeMin": time_min +"/calendar:v3/calendar.events.list/timeZone": time_zone +"/calendar:v3/calendar.events.list/updatedMin": updated_min +"/calendar:v3/calendar.events.move": move_event +"/calendar:v3/calendar.events.move/calendarId": calendar_id +"/calendar:v3/calendar.events.move/destination": destination +"/calendar:v3/calendar.events.move/eventId": event_id +"/calendar:v3/calendar.events.move/sendNotifications": send_notifications +"/calendar:v3/calendar.events.patch": patch_event +"/calendar:v3/calendar.events.patch/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.patch/calendarId": calendar_id +"/calendar:v3/calendar.events.patch/eventId": event_id +"/calendar:v3/calendar.events.patch/maxAttendees": max_attendees +"/calendar:v3/calendar.events.patch/sendNotifications": send_notifications +"/calendar:v3/calendar.events.patch/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.quickAdd/calendarId": calendar_id +"/calendar:v3/calendar.events.quickAdd/sendNotifications": send_notifications +"/calendar:v3/calendar.events.quickAdd/text": text +"/calendar:v3/calendar.events.update": update_event +"/calendar:v3/calendar.events.update/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.update/calendarId": calendar_id +"/calendar:v3/calendar.events.update/eventId": event_id +"/calendar:v3/calendar.events.update/maxAttendees": max_attendees +"/calendar:v3/calendar.events.update/sendNotifications": send_notifications +"/calendar:v3/calendar.events.update/supportsAttachments": supports_attachments +"/calendar:v3/calendar.events.watch": watch_event +"/calendar:v3/calendar.events.watch/alwaysIncludeEmail": always_include_email +"/calendar:v3/calendar.events.watch/calendarId": calendar_id +"/calendar:v3/calendar.events.watch/iCalUID": i_cal_uid +"/calendar:v3/calendar.events.watch/maxAttendees": max_attendees +"/calendar:v3/calendar.events.watch/maxResults": max_results +"/calendar:v3/calendar.events.watch/orderBy": order_by +"/calendar:v3/calendar.events.watch/pageToken": page_token +"/calendar:v3/calendar.events.watch/privateExtendedProperty": private_extended_property +"/calendar:v3/calendar.events.watch/q": q +"/calendar:v3/calendar.events.watch/sharedExtendedProperty": shared_extended_property +"/calendar:v3/calendar.events.watch/showDeleted": show_deleted +"/calendar:v3/calendar.events.watch/showHiddenInvitations": show_hidden_invitations +"/calendar:v3/calendar.events.watch/singleEvents": single_events +"/calendar:v3/calendar.events.watch/syncToken": sync_token +"/calendar:v3/calendar.events.watch/timeMax": time_max +"/calendar:v3/calendar.events.watch/timeMin": time_min +"/calendar:v3/calendar.events.watch/timeZone": time_zone +"/calendar:v3/calendar.events.watch/updatedMin": updated_min +"/calendar:v3/calendar.freebusy.query": query_freebusy +"/calendar:v3/calendar.settings.get": get_setting +"/calendar:v3/calendar.settings.get/setting": setting +"/calendar:v3/calendar.settings.list": list_settings +"/calendar:v3/calendar.settings.list/maxResults": max_results +"/calendar:v3/calendar.settings.list/pageToken": page_token +"/calendar:v3/calendar.settings.list/syncToken": sync_token +"/calendar:v3/calendar.settings.watch": watch_setting +"/calendar:v3/calendar.settings.watch/maxResults": max_results +"/calendar:v3/calendar.settings.watch/pageToken": page_token +"/calendar:v3/calendar.settings.watch/syncToken": sync_token +"/calendar:v3/Acl": acl +"/calendar:v3/Acl/etag": etag +"/calendar:v3/Acl/items": items +"/calendar:v3/Acl/items/item": item +"/calendar:v3/Acl/kind": kind +"/calendar:v3/Acl/nextPageToken": next_page_token +"/calendar:v3/Acl/nextSyncToken": next_sync_token +"/calendar:v3/AclRule": acl_rule +"/calendar:v3/AclRule/etag": etag +"/calendar:v3/AclRule/id": id +"/calendar:v3/AclRule/kind": kind +"/calendar:v3/AclRule/role": role +"/calendar:v3/AclRule/scope": scope +"/calendar:v3/AclRule/scope/type": type +"/calendar:v3/AclRule/scope/value": value +"/calendar:v3/Calendar": calendar +"/calendar:v3/Calendar/description": description +"/calendar:v3/Calendar/etag": etag +"/calendar:v3/Calendar/id": id +"/calendar:v3/Calendar/kind": kind +"/calendar:v3/Calendar/location": location +"/calendar:v3/Calendar/summary": summary +"/calendar:v3/Calendar/timeZone": time_zone +"/calendar:v3/CalendarList": calendar_list +"/calendar:v3/CalendarList/etag": etag +"/calendar:v3/CalendarList/items": items +"/calendar:v3/CalendarList/items/item": item +"/calendar:v3/CalendarList/kind": kind +"/calendar:v3/CalendarList/nextPageToken": next_page_token +"/calendar:v3/CalendarList/nextSyncToken": next_sync_token +"/calendar:v3/CalendarListEntry": calendar_list_entry +"/calendar:v3/CalendarListEntry/accessRole": access_role +"/calendar:v3/CalendarListEntry/backgroundColor": background_color +"/calendar:v3/CalendarListEntry/colorId": color_id +"/calendar:v3/CalendarListEntry/defaultReminders": default_reminders +"/calendar:v3/CalendarListEntry/defaultReminders/default_reminder": default_reminder +"/calendar:v3/CalendarListEntry/deleted": deleted +"/calendar:v3/CalendarListEntry/description": description +"/calendar:v3/CalendarListEntry/etag": etag +"/calendar:v3/CalendarListEntry/foregroundColor": foreground_color +"/calendar:v3/CalendarListEntry/hidden": hidden +"/calendar:v3/CalendarListEntry/id": id +"/calendar:v3/CalendarListEntry/kind": kind +"/calendar:v3/CalendarListEntry/location": location +"/calendar:v3/CalendarListEntry/notificationSettings": notification_settings +"/calendar:v3/CalendarListEntry/notificationSettings/notifications": notifications +"/calendar:v3/CalendarListEntry/notificationSettings/notifications/notification": notification +"/calendar:v3/CalendarListEntry/primary": primary +"/calendar:v3/CalendarListEntry/selected": selected +"/calendar:v3/CalendarListEntry/summary": summary +"/calendar:v3/CalendarListEntry/summaryOverride": summary_override +"/calendar:v3/CalendarListEntry/timeZone": time_zone +"/calendar:v3/CalendarNotification": calendar_notification +"/calendar:v3/CalendarNotification/type": type +"/calendar:v3/Channel": channel +"/calendar:v3/Channel/address": address +"/calendar:v3/Channel/expiration": expiration +"/calendar:v3/Channel/id": id +"/calendar:v3/Channel/kind": kind +"/calendar:v3/Channel/params": params +"/calendar:v3/Channel/params/param": param +"/calendar:v3/Channel/payload": payload +"/calendar:v3/Channel/resourceId": resource_id +"/calendar:v3/Channel/resourceUri": resource_uri +"/calendar:v3/Channel/token": token +"/calendar:v3/Channel/type": type +"/calendar:v3/ColorDefinition": color_definition +"/calendar:v3/ColorDefinition/background": background +"/calendar:v3/ColorDefinition/foreground": foreground +"/calendar:v3/Colors": colors +"/calendar:v3/Colors/calendar": calendar +"/calendar:v3/Colors/calendar/calendar": calendar +"/calendar:v3/Colors/event": event +"/calendar:v3/Colors/event/event": event +"/calendar:v3/Colors/kind": kind +"/calendar:v3/Colors/updated": updated +"/calendar:v3/Error": error +"/calendar:v3/Error/domain": domain +"/calendar:v3/Error/reason": reason +"/calendar:v3/Event": event +"/calendar:v3/Event/anyoneCanAddSelf": anyone_can_add_self +"/calendar:v3/Event/attachments": attachments +"/calendar:v3/Event/attachments/attachment": attachment +"/calendar:v3/Event/attendees": attendees +"/calendar:v3/Event/attendees/attendee": attendee +"/calendar:v3/Event/attendeesOmitted": attendees_omitted +"/calendar:v3/Event/colorId": color_id +"/calendar:v3/Event/created": created +"/calendar:v3/Event/creator": creator +"/calendar:v3/Event/creator/displayName": display_name +"/calendar:v3/Event/creator/email": email +"/calendar:v3/Event/creator/id": id +"/calendar:v3/Event/creator/self": self +"/calendar:v3/Event/description": description +"/calendar:v3/Event/end": end +"/calendar:v3/Event/endTimeUnspecified": end_time_unspecified +"/calendar:v3/Event/etag": etag +"/calendar:v3/Event/extendedProperties": extended_properties +"/calendar:v3/Event/extendedProperties/private": private +"/calendar:v3/Event/extendedProperties/private/private": private +"/calendar:v3/Event/extendedProperties/shared": shared +"/calendar:v3/Event/extendedProperties/shared/shared": shared +"/calendar:v3/Event/gadget": gadget +"/calendar:v3/Event/gadget/height": height +"/calendar:v3/Event/gadget/iconLink": icon_link +"/calendar:v3/Event/gadget/link": link +"/calendar:v3/Event/gadget/preferences": preferences +"/calendar:v3/Event/gadget/preferences/preference": preference +"/calendar:v3/Event/gadget/title": title +"/calendar:v3/Event/gadget/type": type +"/calendar:v3/Event/gadget/width": width +"/calendar:v3/Event/guestsCanInviteOthers": guests_can_invite_others +"/calendar:v3/Event/guestsCanModify": guests_can_modify +"/calendar:v3/Event/guestsCanSeeOtherGuests": guests_can_see_other_guests +"/calendar:v3/Event/hangoutLink": hangout_link +"/calendar:v3/Event/htmlLink": html_link +"/calendar:v3/Event/iCalUID": i_cal_uid +"/calendar:v3/Event/id": id +"/calendar:v3/Event/kind": kind +"/calendar:v3/Event/location": location +"/calendar:v3/Event/locked": locked +"/calendar:v3/Event/organizer": organizer +"/calendar:v3/Event/organizer/displayName": display_name +"/calendar:v3/Event/organizer/email": email +"/calendar:v3/Event/organizer/id": id +"/calendar:v3/Event/organizer/self": self +"/calendar:v3/Event/originalStartTime": original_start_time +"/calendar:v3/Event/privateCopy": private_copy +"/calendar:v3/Event/recurrence": recurrence +"/calendar:v3/Event/recurrence/recurrence": recurrence +"/calendar:v3/Event/recurringEventId": recurring_event_id +"/calendar:v3/Event/reminders": reminders +"/calendar:v3/Event/reminders/overrides": overrides +"/calendar:v3/Event/reminders/overrides/override": override +"/calendar:v3/Event/reminders/useDefault": use_default +"/calendar:v3/Event/sequence": sequence +"/calendar:v3/Event/source": source +"/calendar:v3/Event/source/title": title +"/calendar:v3/Event/source/url": url +"/calendar:v3/Event/start": start +"/calendar:v3/Event/status": status +"/calendar:v3/Event/summary": summary +"/calendar:v3/Event/transparency": transparency +"/calendar:v3/Event/updated": updated +"/calendar:v3/Event/visibility": visibility +"/calendar:v3/EventAttachment": event_attachment +"/calendar:v3/EventAttachment/fileId": file_id +"/calendar:v3/EventAttachment/fileUrl": file_url +"/calendar:v3/EventAttachment/iconLink": icon_link +"/calendar:v3/EventAttachment/mimeType": mime_type +"/calendar:v3/EventAttachment/title": title +"/calendar:v3/EventAttendee": event_attendee +"/calendar:v3/EventAttendee/additionalGuests": additional_guests +"/calendar:v3/EventAttendee/comment": comment +"/calendar:v3/EventAttendee/displayName": display_name +"/calendar:v3/EventAttendee/email": email +"/calendar:v3/EventAttendee/id": id +"/calendar:v3/EventAttendee/optional": optional +"/calendar:v3/EventAttendee/organizer": organizer +"/calendar:v3/EventAttendee/resource": resource +"/calendar:v3/EventAttendee/responseStatus": response_status +"/calendar:v3/EventAttendee/self": self +"/calendar:v3/EventDateTime": event_date_time +"/calendar:v3/EventDateTime/date": date +"/calendar:v3/EventDateTime/dateTime": date_time +"/calendar:v3/EventDateTime/timeZone": time_zone +"/calendar:v3/EventReminder": event_reminder +"/calendar:v3/EventReminder/minutes": minutes +"/calendar:v3/Events": events +"/calendar:v3/Events/accessRole": access_role +"/calendar:v3/Events/defaultReminders": default_reminders +"/calendar:v3/Events/defaultReminders/default_reminder": default_reminder +"/calendar:v3/Events/description": description +"/calendar:v3/Events/etag": etag +"/calendar:v3/Events/items": items +"/calendar:v3/Events/items/item": item +"/calendar:v3/Events/kind": kind +"/calendar:v3/Events/nextPageToken": next_page_token +"/calendar:v3/Events/nextSyncToken": next_sync_token +"/calendar:v3/Events/summary": summary +"/calendar:v3/Events/timeZone": time_zone +"/calendar:v3/Events/updated": updated +"/calendar:v3/FreeBusyCalendar": free_busy_calendar +"/calendar:v3/FreeBusyCalendar/busy": busy +"/calendar:v3/FreeBusyCalendar/busy/busy": busy +"/calendar:v3/FreeBusyCalendar/errors": errors +"/calendar:v3/FreeBusyCalendar/errors/error": error +"/calendar:v3/FreeBusyGroup": free_busy_group +"/calendar:v3/FreeBusyGroup/calendars": calendars +"/calendar:v3/FreeBusyGroup/calendars/calendar": calendar +"/calendar:v3/FreeBusyGroup/errors": errors +"/calendar:v3/FreeBusyGroup/errors/error": error +"/calendar:v3/FreeBusyRequest": free_busy_request +"/calendar:v3/FreeBusyRequest/calendarExpansionMax": calendar_expansion_max +"/calendar:v3/FreeBusyRequest/groupExpansionMax": group_expansion_max +"/calendar:v3/FreeBusyRequest/items": items +"/calendar:v3/FreeBusyRequest/items/item": item +"/calendar:v3/FreeBusyRequest/timeMax": time_max +"/calendar:v3/FreeBusyRequest/timeMin": time_min +"/calendar:v3/FreeBusyRequest/timeZone": time_zone +"/calendar:v3/FreeBusyRequestItem": free_busy_request_item +"/calendar:v3/FreeBusyRequestItem/id": id +"/calendar:v3/FreeBusyResponse": free_busy_response +"/calendar:v3/FreeBusyResponse/calendars": calendars +"/calendar:v3/FreeBusyResponse/calendars/calendar": calendar +"/calendar:v3/FreeBusyResponse/groups": groups +"/calendar:v3/FreeBusyResponse/groups/group": group +"/calendar:v3/FreeBusyResponse/kind": kind +"/calendar:v3/FreeBusyResponse/timeMax": time_max +"/calendar:v3/FreeBusyResponse/timeMin": time_min +"/calendar:v3/Setting": setting +"/calendar:v3/Setting/etag": etag +"/calendar:v3/Setting/id": id +"/calendar:v3/Setting/kind": kind +"/calendar:v3/Setting/value": value +"/calendar:v3/Settings": settings +"/calendar:v3/Settings/etag": etag +"/calendar:v3/Settings/items": items +"/calendar:v3/Settings/items/item": item +"/calendar:v3/Settings/kind": kind +"/calendar:v3/Settings/nextPageToken": next_page_token +"/calendar:v3/Settings/nextSyncToken": next_sync_token +"/calendar:v3/TimePeriod": time_period +"/calendar:v3/TimePeriod/end": end +"/calendar:v3/TimePeriod/start": start +"/civicinfo:v2/fields": fields +"/civicinfo:v2/key": key +"/civicinfo:v2/quotaUser": quota_user +"/civicinfo:v2/userIp": user_ip +"/civicinfo:v2/civicinfo.divisions.search/query": query +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/address": address +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/electionId": election_id +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/officialOnly": official_only +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/returnAllAvailableData": return_all_available_data +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/address": address +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/includeOffices": include_offices +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/levels": levels +"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/roles": roles +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/levels": levels +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/ocdId": ocd_id +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/recursive": recursive +"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision/roles": roles +"/civicinfo:v2/AdministrationRegion": administration_region +"/civicinfo:v2/AdministrationRegion/electionAdministrationBody": election_administration_body +"/civicinfo:v2/AdministrationRegion/id": id +"/civicinfo:v2/AdministrationRegion/local_jurisdiction": local_jurisdiction +"/civicinfo:v2/AdministrationRegion/name": name +"/civicinfo:v2/AdministrationRegion/sources": sources +"/civicinfo:v2/AdministrationRegion/sources/source": source +"/civicinfo:v2/AdministrativeBody": administrative_body +"/civicinfo:v2/AdministrativeBody/absenteeVotingInfoUrl": absentee_voting_info_url +"/civicinfo:v2/AdministrativeBody/addressLines": address_lines +"/civicinfo:v2/AdministrativeBody/addressLines/address_line": address_line +"/civicinfo:v2/AdministrativeBody/ballotInfoUrl": ballot_info_url +"/civicinfo:v2/AdministrativeBody/correspondenceAddress": correspondence_address +"/civicinfo:v2/AdministrativeBody/electionInfoUrl": election_info_url +"/civicinfo:v2/AdministrativeBody/electionOfficials": election_officials +"/civicinfo:v2/AdministrativeBody/electionOfficials/election_official": election_official +"/civicinfo:v2/AdministrativeBody/electionRegistrationConfirmationUrl": election_registration_confirmation_url +"/civicinfo:v2/AdministrativeBody/electionRegistrationUrl": election_registration_url +"/civicinfo:v2/AdministrativeBody/electionRulesUrl": election_rules_url +"/civicinfo:v2/AdministrativeBody/hoursOfOperation": hours_of_operation +"/civicinfo:v2/AdministrativeBody/name": name +"/civicinfo:v2/AdministrativeBody/physicalAddress": physical_address +"/civicinfo:v2/AdministrativeBody/voter_services": voter_services +"/civicinfo:v2/AdministrativeBody/voter_services/voter_service": voter_service +"/civicinfo:v2/AdministrativeBody/votingLocationFinderUrl": voting_location_finder_url +"/civicinfo:v2/Candidate": candidate +"/civicinfo:v2/Candidate/candidateUrl": candidate_url +"/civicinfo:v2/Candidate/channels": channels +"/civicinfo:v2/Candidate/channels/channel": channel +"/civicinfo:v2/Candidate/email": email +"/civicinfo:v2/Candidate/name": name +"/civicinfo:v2/Candidate/orderOnBallot": order_on_ballot +"/civicinfo:v2/Candidate/party": party +"/civicinfo:v2/Candidate/phone": phone +"/civicinfo:v2/Candidate/photoUrl": photo_url +"/civicinfo:v2/Channel": channel +"/civicinfo:v2/Channel/id": id +"/civicinfo:v2/Channel/type": type +"/civicinfo:v2/Contest": contest +"/civicinfo:v2/Contest/ballotPlacement": ballot_placement +"/civicinfo:v2/Contest/candidates": candidates +"/civicinfo:v2/Contest/candidates/candidate": candidate +"/civicinfo:v2/Contest/district": district +"/civicinfo:v2/Contest/electorateSpecifications": electorate_specifications +"/civicinfo:v2/Contest/id": id +"/civicinfo:v2/Contest/level": level +"/civicinfo:v2/Contest/level/level": level +"/civicinfo:v2/Contest/numberElected": number_elected +"/civicinfo:v2/Contest/numberVotingFor": number_voting_for +"/civicinfo:v2/Contest/office": office +"/civicinfo:v2/Contest/primaryParty": primary_party +"/civicinfo:v2/Contest/referendumBallotResponses": referendum_ballot_responses +"/civicinfo:v2/Contest/referendumBallotResponses/referendum_ballot_response": referendum_ballot_response +"/civicinfo:v2/Contest/referendumBrief": referendum_brief +"/civicinfo:v2/Contest/referendumConStatement": referendum_con_statement +"/civicinfo:v2/Contest/referendumEffectOfAbstain": referendum_effect_of_abstain +"/civicinfo:v2/Contest/referendumPassageThreshold": referendum_passage_threshold +"/civicinfo:v2/Contest/referendumProStatement": referendum_pro_statement +"/civicinfo:v2/Contest/referendumSubtitle": referendum_subtitle +"/civicinfo:v2/Contest/referendumText": referendum_text +"/civicinfo:v2/Contest/referendumTitle": referendum_title +"/civicinfo:v2/Contest/referendumUrl": referendum_url +"/civicinfo:v2/Contest/roles": roles +"/civicinfo:v2/Contest/roles/role": role +"/civicinfo:v2/Contest/sources": sources +"/civicinfo:v2/Contest/sources/source": source +"/civicinfo:v2/Contest/special": special +"/civicinfo:v2/Contest/type": type +"/civicinfo:v2/ContextParams": context_params +"/civicinfo:v2/ContextParams/clientProfile": client_profile +"/civicinfo:v2/DivisionRepresentativeInfoRequest": division_representative_info_request +"/civicinfo:v2/DivisionRepresentativeInfoRequest/contextParams": context_params +"/civicinfo:v2/DivisionSearchRequest": division_search_request +"/civicinfo:v2/DivisionSearchRequest/contextParams": context_params +"/civicinfo:v2/DivisionSearchResponse": division_search_response +"/civicinfo:v2/DivisionSearchResponse/kind": kind +"/civicinfo:v2/DivisionSearchResponse/results": results +"/civicinfo:v2/DivisionSearchResponse/results/result": result +"/civicinfo:v2/DivisionSearchResult": division_search_result +"/civicinfo:v2/DivisionSearchResult/aliases": aliases +"/civicinfo:v2/DivisionSearchResult/aliases/alias": alias +"/civicinfo:v2/DivisionSearchResult/name": name +"/civicinfo:v2/DivisionSearchResult/ocdId": ocd_id +"/civicinfo:v2/Election": election +"/civicinfo:v2/Election/electionDay": election_day +"/civicinfo:v2/Election/id": id +"/civicinfo:v2/Election/name": name +"/civicinfo:v2/Election/ocdDivisionId": ocd_division_id +"/civicinfo:v2/ElectionOfficial": election_official +"/civicinfo:v2/ElectionOfficial/emailAddress": email_address +"/civicinfo:v2/ElectionOfficial/faxNumber": fax_number +"/civicinfo:v2/ElectionOfficial/name": name +"/civicinfo:v2/ElectionOfficial/officePhoneNumber": office_phone_number +"/civicinfo:v2/ElectionOfficial/title": title +"/civicinfo:v2/ElectionsQueryRequest": elections_query_request +"/civicinfo:v2/ElectionsQueryRequest/contextParams": context_params +"/civicinfo:v2/ElectionsQueryResponse/elections": elections +"/civicinfo:v2/ElectionsQueryResponse/elections/election": election +"/civicinfo:v2/ElectionsQueryResponse/kind": kind +"/civicinfo:v2/ElectoralDistrict": electoral_district +"/civicinfo:v2/ElectoralDistrict/id": id +"/civicinfo:v2/ElectoralDistrict/kgForeignKey": kg_foreign_key +"/civicinfo:v2/ElectoralDistrict/name": name +"/civicinfo:v2/ElectoralDistrict/scope": scope +"/civicinfo:v2/GeographicDivision": geographic_division +"/civicinfo:v2/GeographicDivision/alsoKnownAs": also_known_as +"/civicinfo:v2/GeographicDivision/alsoKnownAs/also_known_a": also_known_a +"/civicinfo:v2/GeographicDivision/name": name +"/civicinfo:v2/GeographicDivision/officeIndices": office_indices +"/civicinfo:v2/GeographicDivision/officeIndices/office_index": office_index +"/civicinfo:v2/Office": office +"/civicinfo:v2/Office/divisionId": division_id +"/civicinfo:v2/Office/levels": levels +"/civicinfo:v2/Office/levels/level": level +"/civicinfo:v2/Office/name": name +"/civicinfo:v2/Office/officialIndices": official_indices +"/civicinfo:v2/Office/officialIndices/official_index": official_index +"/civicinfo:v2/Office/roles": roles +"/civicinfo:v2/Office/roles/role": role +"/civicinfo:v2/Office/sources": sources +"/civicinfo:v2/Office/sources/source": source +"/civicinfo:v2/Official": official +"/civicinfo:v2/Official/address": address +"/civicinfo:v2/Official/address/address": address +"/civicinfo:v2/Official/channels": channels +"/civicinfo:v2/Official/channels/channel": channel +"/civicinfo:v2/Official/emails": emails +"/civicinfo:v2/Official/emails/email": email +"/civicinfo:v2/Official/name": name +"/civicinfo:v2/Official/party": party +"/civicinfo:v2/Official/phones": phones +"/civicinfo:v2/Official/phones/phone": phone +"/civicinfo:v2/Official/photoUrl": photo_url +"/civicinfo:v2/Official/urls": urls +"/civicinfo:v2/Official/urls/url": url +"/civicinfo:v2/PollingLocation": polling_location +"/civicinfo:v2/PollingLocation/address": address +"/civicinfo:v2/PollingLocation/endDate": end_date +"/civicinfo:v2/PollingLocation/id": id +"/civicinfo:v2/PollingLocation/name": name +"/civicinfo:v2/PollingLocation/notes": notes +"/civicinfo:v2/PollingLocation/pollingHours": polling_hours +"/civicinfo:v2/PollingLocation/sources": sources +"/civicinfo:v2/PollingLocation/sources/source": source +"/civicinfo:v2/PollingLocation/startDate": start_date +"/civicinfo:v2/PollingLocation/voterServices": voter_services +"/civicinfo:v2/PostalAddress": postal_address +"/civicinfo:v2/PostalAddress/addressLines": address_lines +"/civicinfo:v2/PostalAddress/addressLines/address_line": address_line +"/civicinfo:v2/PostalAddress/administrativeAreaName": administrative_area_name +"/civicinfo:v2/PostalAddress/countryName": country_name +"/civicinfo:v2/PostalAddress/countryNameCode": country_name_code +"/civicinfo:v2/PostalAddress/dependentLocalityName": dependent_locality_name +"/civicinfo:v2/PostalAddress/dependentThoroughfareLeadingType": dependent_thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/dependentThoroughfareName": dependent_thoroughfare_name +"/civicinfo:v2/PostalAddress/dependentThoroughfarePostDirection": dependent_thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfarePreDirection": dependent_thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfareTrailingType": dependent_thoroughfare_trailing_type +"/civicinfo:v2/PostalAddress/dependentThoroughfaresConnector": dependent_thoroughfares_connector +"/civicinfo:v2/PostalAddress/dependentThoroughfaresIndicator": dependent_thoroughfares_indicator +"/civicinfo:v2/PostalAddress/dependentThoroughfaresType": dependent_thoroughfares_type +"/civicinfo:v2/PostalAddress/firmName": firm_name +"/civicinfo:v2/PostalAddress/isDisputed": is_disputed +"/civicinfo:v2/PostalAddress/languageCode": language_code +"/civicinfo:v2/PostalAddress/localityName": locality_name +"/civicinfo:v2/PostalAddress/postBoxNumber": post_box_number +"/civicinfo:v2/PostalAddress/postalCodeNumber": postal_code_number +"/civicinfo:v2/PostalAddress/postalCodeNumberExtension": postal_code_number_extension +"/civicinfo:v2/PostalAddress/premiseName": premise_name +"/civicinfo:v2/PostalAddress/recipientName": recipient_name +"/civicinfo:v2/PostalAddress/sortingCode": sorting_code +"/civicinfo:v2/PostalAddress/subAdministrativeAreaName": sub_administrative_area_name +"/civicinfo:v2/PostalAddress/subPremiseName": sub_premise_name +"/civicinfo:v2/PostalAddress/thoroughfareLeadingType": thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/thoroughfareName": thoroughfare_name +"/civicinfo:v2/PostalAddress/thoroughfareNumber": thoroughfare_number +"/civicinfo:v2/PostalAddress/thoroughfarePostDirection": thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/thoroughfarePreDirection": thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/thoroughfareTrailingType": thoroughfare_trailing_type +"/civicinfo:v2/RepresentativeInfoData": representative_info_data +"/civicinfo:v2/RepresentativeInfoData/divisions": divisions +"/civicinfo:v2/RepresentativeInfoData/divisions/division": division +"/civicinfo:v2/RepresentativeInfoData/offices": offices +"/civicinfo:v2/RepresentativeInfoData/offices/office": office +"/civicinfo:v2/RepresentativeInfoData/officials": officials +"/civicinfo:v2/RepresentativeInfoData/officials/official": official +"/civicinfo:v2/RepresentativeInfoRequest": representative_info_request +"/civicinfo:v2/RepresentativeInfoRequest/contextParams": context_params +"/civicinfo:v2/RepresentativeInfoResponse": representative_info_response +"/civicinfo:v2/RepresentativeInfoResponse/divisions": divisions +"/civicinfo:v2/RepresentativeInfoResponse/divisions/division": division +"/civicinfo:v2/RepresentativeInfoResponse/kind": kind +"/civicinfo:v2/RepresentativeInfoResponse/normalizedInput": normalized_input +"/civicinfo:v2/RepresentativeInfoResponse/offices": offices +"/civicinfo:v2/RepresentativeInfoResponse/offices/office": office +"/civicinfo:v2/RepresentativeInfoResponse/officials": officials +"/civicinfo:v2/RepresentativeInfoResponse/officials/official": official +"/civicinfo:v2/SimpleAddressType": simple_address_type +"/civicinfo:v2/SimpleAddressType/city": city +"/civicinfo:v2/SimpleAddressType/line1": line1 +"/civicinfo:v2/SimpleAddressType/line2": line2 +"/civicinfo:v2/SimpleAddressType/line3": line3 +"/civicinfo:v2/SimpleAddressType/locationName": location_name +"/civicinfo:v2/SimpleAddressType/state": state +"/civicinfo:v2/SimpleAddressType/zip": zip +"/civicinfo:v2/Source": source +"/civicinfo:v2/Source/name": name +"/civicinfo:v2/Source/official": official +"/civicinfo:v2/VoterInfoRequest": voter_info_request +"/civicinfo:v2/VoterInfoRequest/contextParams": context_params +"/civicinfo:v2/VoterInfoRequest/voterInfoSegmentResult": voter_info_segment_result +"/civicinfo:v2/VoterInfoResponse": voter_info_response +"/civicinfo:v2/VoterInfoResponse/contests": contests +"/civicinfo:v2/VoterInfoResponse/contests/contest": contest +"/civicinfo:v2/VoterInfoResponse/dropOffLocations": drop_off_locations +"/civicinfo:v2/VoterInfoResponse/dropOffLocations/drop_off_location": drop_off_location +"/civicinfo:v2/VoterInfoResponse/earlyVoteSites": early_vote_sites +"/civicinfo:v2/VoterInfoResponse/earlyVoteSites/early_vote_site": early_vote_site +"/civicinfo:v2/VoterInfoResponse/election": election +"/civicinfo:v2/VoterInfoResponse/kind": kind +"/civicinfo:v2/VoterInfoResponse/mailOnly": mail_only +"/civicinfo:v2/VoterInfoResponse/normalizedInput": normalized_input +"/civicinfo:v2/VoterInfoResponse/otherElections": other_elections +"/civicinfo:v2/VoterInfoResponse/otherElections/other_election": other_election +"/civicinfo:v2/VoterInfoResponse/pollingLocations": polling_locations +"/civicinfo:v2/VoterInfoResponse/pollingLocations/polling_location": polling_location +"/civicinfo:v2/VoterInfoResponse/precinctId": precinct_id +"/civicinfo:v2/VoterInfoResponse/state": state +"/civicinfo:v2/VoterInfoResponse/state/state": state +"/civicinfo:v2/VoterInfoSegmentResult": voter_info_segment_result +"/civicinfo:v2/VoterInfoSegmentResult/generatedMillis": generated_millis +"/civicinfo:v2/VoterInfoSegmentResult/postalAddress": postal_address +"/civicinfo:v2/VoterInfoSegmentResult/request": request +"/civicinfo:v2/VoterInfoSegmentResult/response": response +"/cloudbuild:v1/key": key +"/cloudbuild:v1/quotaUser": quota_user +"/cloudbuild:v1/fields": fields +"/cloudbuild:v1/cloudbuild.projects.triggers.create": create_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.create/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.get": get_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.get/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.get/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.triggers.list": list_project_triggers +"/cloudbuild:v1/cloudbuild.projects.triggers.list/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete": delete_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.delete/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.triggers.patch": patch_project_trigger +"/cloudbuild:v1/cloudbuild.projects.triggers.patch/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.triggers.patch/triggerId": trigger_id +"/cloudbuild:v1/cloudbuild.projects.builds.create": create_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.create/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.get": get_project_build +"/cloudbuild:v1/cloudbuild.projects.builds.get/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.get/id": id +"/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter +"/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/projectId": project_id +"/cloudbuild:v1/cloudbuild.projects.builds.cancel/id": id +"/cloudbuild:v1/cloudbuild.operations.get": get_operation +"/cloudbuild:v1/cloudbuild.operations.get/name": name +"/cloudbuild:v1/cloudbuild.operations.list": list_operations +"/cloudbuild:v1/cloudbuild.operations.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.operations.list/filter": filter +"/cloudbuild:v1/cloudbuild.operations.list/name": name +"/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.operations.cancel": cancel_operation +"/cloudbuild:v1/cloudbuild.operations.cancel/name": name +"/cloudbuild:v1/Status": status +"/cloudbuild:v1/Status/code": code +"/cloudbuild:v1/Status/details": details +"/cloudbuild:v1/Status/details/detail": detail +"/cloudbuild:v1/Status/details/detail/detail": detail +"/cloudbuild:v1/Status/message": message +"/cloudbuild:v1/BuildOperationMetadata": build_operation_metadata +"/cloudbuild:v1/BuildOperationMetadata/build": build +"/cloudbuild:v1/Source": source +"/cloudbuild:v1/Source/storageSource": storage_source +"/cloudbuild:v1/Source/repoSource": repo_source +"/cloudbuild:v1/SourceProvenance": source_provenance +"/cloudbuild:v1/SourceProvenance/resolvedRepoSource": resolved_repo_source +"/cloudbuild:v1/SourceProvenance/resolvedStorageSource": resolved_storage_source +"/cloudbuild:v1/SourceProvenance/fileHashes": file_hashes +"/cloudbuild:v1/SourceProvenance/fileHashes/file_hash": file_hash +"/cloudbuild:v1/Operation": operation +"/cloudbuild:v1/Operation/error": error +"/cloudbuild:v1/Operation/done": done +"/cloudbuild:v1/Operation/metadata": metadata +"/cloudbuild:v1/Operation/metadata/metadatum": metadatum +"/cloudbuild:v1/Operation/response": response +"/cloudbuild:v1/Operation/response/response": response +"/cloudbuild:v1/Operation/name": name +"/cloudbuild:v1/BuildTrigger": build_trigger +"/cloudbuild:v1/BuildTrigger/id": id +"/cloudbuild:v1/BuildTrigger/description": description +"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template +"/cloudbuild:v1/BuildTrigger/disabled": disabled +"/cloudbuild:v1/BuildTrigger/createTime": create_time +"/cloudbuild:v1/BuildTrigger/filename": filename +"/cloudbuild:v1/BuildTrigger/build": build +"/cloudbuild:v1/BuiltImage": built_image +"/cloudbuild:v1/BuiltImage/digest": digest +"/cloudbuild:v1/BuiltImage/name": name +"/cloudbuild:v1/Hash": hash_prop +"/cloudbuild:v1/Hash/value": value +"/cloudbuild:v1/Hash/type": type +"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request +"/cloudbuild:v1/StorageSource": storage_source +"/cloudbuild:v1/StorageSource/bucket": bucket +"/cloudbuild:v1/StorageSource/generation": generation +"/cloudbuild:v1/StorageSource/object": object +"/cloudbuild:v1/Results": results +"/cloudbuild:v1/Results/images": images +"/cloudbuild:v1/Results/images/image": image +"/cloudbuild:v1/Results/buildStepImages": build_step_images +"/cloudbuild:v1/Results/buildStepImages/build_step_image": build_step_image +"/cloudbuild:v1/Build": build +"/cloudbuild:v1/Build/id": id +"/cloudbuild:v1/Build/sourceProvenance": source_provenance +"/cloudbuild:v1/Build/results": results +"/cloudbuild:v1/Build/status": status +"/cloudbuild:v1/Build/options": options +"/cloudbuild:v1/Build/finishTime": finish_time +"/cloudbuild:v1/Build/timeout": timeout +"/cloudbuild:v1/Build/steps": steps +"/cloudbuild:v1/Build/steps/step": step +"/cloudbuild:v1/Build/source": source +"/cloudbuild:v1/Build/createTime": create_time +"/cloudbuild:v1/Build/logUrl": log_url +"/cloudbuild:v1/Build/statusDetail": status_detail +"/cloudbuild:v1/Build/images": images +"/cloudbuild:v1/Build/images/image": image +"/cloudbuild:v1/Build/startTime": start_time +"/cloudbuild:v1/Build/buildTriggerId": build_trigger_id +"/cloudbuild:v1/Build/logsBucket": logs_bucket +"/cloudbuild:v1/Build/projectId": project_id +"/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response +"/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers +"/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger +"/cloudbuild:v1/CancelBuildRequest": cancel_build_request +"/cloudbuild:v1/ListOperationsResponse": list_operations_response +"/cloudbuild:v1/ListOperationsResponse/nextPageToken": next_page_token +"/cloudbuild:v1/ListOperationsResponse/operations": operations +"/cloudbuild:v1/ListOperationsResponse/operations/operation": operation +"/cloudbuild:v1/FileHashes": file_hashes +"/cloudbuild:v1/FileHashes/fileHash": file_hash +"/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash +"/cloudbuild:v1/RepoSource": repo_source +"/cloudbuild:v1/RepoSource/repoName": repo_name +"/cloudbuild:v1/RepoSource/tagName": tag_name +"/cloudbuild:v1/RepoSource/projectId": project_id +"/cloudbuild:v1/RepoSource/branchName": branch_name +"/cloudbuild:v1/RepoSource/commitSha": commit_sha +"/cloudbuild:v1/BuildStep": build_step +"/cloudbuild:v1/BuildStep/id": id +"/cloudbuild:v1/BuildStep/env": env +"/cloudbuild:v1/BuildStep/env/env": env +"/cloudbuild:v1/BuildStep/waitFor": wait_for +"/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for +"/cloudbuild:v1/BuildStep/args": args +"/cloudbuild:v1/BuildStep/args/arg": arg +"/cloudbuild:v1/BuildStep/entrypoint": entrypoint +"/cloudbuild:v1/BuildStep/name": name +"/cloudbuild:v1/BuildStep/dir": dir +"/cloudbuild:v1/Empty": empty +"/cloudbuild:v1/BuildOptions": build_options +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash": source_provenance_hash +"/cloudbuild:v1/BuildOptions/sourceProvenanceHash/source_provenance_hash": source_provenance_hash +"/cloudbuild:v1/BuildOptions/requestedVerifyOption": requested_verify_option +"/cloudbuild:v1/ListBuildsResponse": list_builds_response +"/cloudbuild:v1/ListBuildsResponse/nextPageToken": next_page_token +"/cloudbuild:v1/ListBuildsResponse/builds": builds +"/cloudbuild:v1/ListBuildsResponse/builds/build": build +"/cloudmonitoring:v2beta2/fields": fields +"/cloudmonitoring:v2beta2/key": key +"/cloudmonitoring:v2beta2/quotaUser": quota_user +"/cloudmonitoring:v2beta2/userIp": user_ip +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create": create_metric_descriptor +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.create/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete": delete_metric_descriptor +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.delete/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list": list_metric_descriptors +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.metricDescriptors.list/query": query +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list": list_timeseries +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/aggregator": aggregator +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/labels": labels +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/oldest": oldest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/timespan": timespan +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/window": window +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.list/youngest": youngest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write": write_timeseries +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseries.write/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list": list_timeseries_descriptors +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/aggregator": aggregator +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/count": count +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/labels": labels +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/metric": metric +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/oldest": oldest +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/pageToken": page_token +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/project": project +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/timespan": timespan +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/window": window +"/cloudmonitoring:v2beta2/cloudmonitoring.timeseriesDescriptors.list/youngest": youngest +"/cloudmonitoring:v2beta2/DeleteMetricDescriptorResponse": delete_metric_descriptor_response +"/cloudmonitoring:v2beta2/DeleteMetricDescriptorResponse/kind": kind +"/cloudmonitoring:v2beta2/ListMetricDescriptorsRequest": list_metric_descriptors_request +"/cloudmonitoring:v2beta2/ListMetricDescriptorsRequest/kind": kind +"/cloudmonitoring:v2beta2/ListMetricDescriptorsResponse": list_metric_descriptors_response +"/cloudmonitoring:v2beta2/ListMetricDescriptorsResponse/kind": kind +"/cloudmonitoring:v2beta2/ListMetricDescriptorsResponse/metrics": metrics +"/cloudmonitoring:v2beta2/ListMetricDescriptorsResponse/metrics/metric": metric +"/cloudmonitoring:v2beta2/ListMetricDescriptorsResponse/nextPageToken": next_page_token +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsRequest": list_timeseries_descriptors_request +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsRequest/kind": kind +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse": list_timeseries_descriptors_response +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/kind": kind +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/nextPageToken": next_page_token +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/oldest": oldest +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/timeseries": timeseries +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/timeseries/timeseries": timeseries +"/cloudmonitoring:v2beta2/ListTimeseriesDescriptorsResponse/youngest": youngest +"/cloudmonitoring:v2beta2/ListTimeseriesRequest": list_timeseries_request +"/cloudmonitoring:v2beta2/ListTimeseriesRequest/kind": kind +"/cloudmonitoring:v2beta2/ListTimeseriesResponse": list_timeseries_response +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/kind": kind +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/nextPageToken": next_page_token +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/oldest": oldest +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/timeseries": timeseries +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/timeseries/timeseries": timeseries +"/cloudmonitoring:v2beta2/ListTimeseriesResponse/youngest": youngest +"/cloudmonitoring:v2beta2/MetricDescriptor": metric_descriptor +"/cloudmonitoring:v2beta2/MetricDescriptor/description": description +"/cloudmonitoring:v2beta2/MetricDescriptor/labels": labels +"/cloudmonitoring:v2beta2/MetricDescriptor/labels/label": label +"/cloudmonitoring:v2beta2/MetricDescriptor/name": name +"/cloudmonitoring:v2beta2/MetricDescriptor/project": project +"/cloudmonitoring:v2beta2/MetricDescriptor/typeDescriptor": type_descriptor +"/cloudmonitoring:v2beta2/MetricDescriptorLabelDescriptor": metric_descriptor_label_descriptor +"/cloudmonitoring:v2beta2/MetricDescriptorLabelDescriptor/description": description +"/cloudmonitoring:v2beta2/MetricDescriptorLabelDescriptor/key": key +"/cloudmonitoring:v2beta2/MetricDescriptorTypeDescriptor": metric_descriptor_type_descriptor +"/cloudmonitoring:v2beta2/MetricDescriptorTypeDescriptor/metricType": metric_type +"/cloudmonitoring:v2beta2/MetricDescriptorTypeDescriptor/valueType": value_type +"/cloudmonitoring:v2beta2/Point": point +"/cloudmonitoring:v2beta2/Point/boolValue": bool_value +"/cloudmonitoring:v2beta2/Point/distributionValue": distribution_value +"/cloudmonitoring:v2beta2/Point/doubleValue": double_value +"/cloudmonitoring:v2beta2/Point/end": end +"/cloudmonitoring:v2beta2/Point/int64Value": int64_value +"/cloudmonitoring:v2beta2/Point/start": start +"/cloudmonitoring:v2beta2/Point/stringValue": string_value +"/cloudmonitoring:v2beta2/PointDistribution": point_distribution +"/cloudmonitoring:v2beta2/PointDistribution/buckets": buckets +"/cloudmonitoring:v2beta2/PointDistribution/buckets/bucket": bucket +"/cloudmonitoring:v2beta2/PointDistribution/overflowBucket": overflow_bucket +"/cloudmonitoring:v2beta2/PointDistribution/underflowBucket": underflow_bucket +"/cloudmonitoring:v2beta2/PointDistributionBucket": point_distribution_bucket +"/cloudmonitoring:v2beta2/PointDistributionBucket/count": count +"/cloudmonitoring:v2beta2/PointDistributionBucket/lowerBound": lower_bound +"/cloudmonitoring:v2beta2/PointDistributionBucket/upperBound": upper_bound +"/cloudmonitoring:v2beta2/PointDistributionOverflowBucket": point_distribution_overflow_bucket +"/cloudmonitoring:v2beta2/PointDistributionOverflowBucket/count": count +"/cloudmonitoring:v2beta2/PointDistributionOverflowBucket/lowerBound": lower_bound +"/cloudmonitoring:v2beta2/PointDistributionUnderflowBucket": point_distribution_underflow_bucket +"/cloudmonitoring:v2beta2/PointDistributionUnderflowBucket/count": count +"/cloudmonitoring:v2beta2/PointDistributionUnderflowBucket/upperBound": upper_bound +"/cloudmonitoring:v2beta2/Timeseries": timeseries +"/cloudmonitoring:v2beta2/Timeseries/points": points +"/cloudmonitoring:v2beta2/Timeseries/points/point": point +"/cloudmonitoring:v2beta2/Timeseries/timeseriesDesc": timeseries_desc +"/cloudmonitoring:v2beta2/TimeseriesDescriptor": timeseries_descriptor +"/cloudmonitoring:v2beta2/TimeseriesDescriptor/labels": labels +"/cloudmonitoring:v2beta2/TimeseriesDescriptor/labels/label": label +"/cloudmonitoring:v2beta2/TimeseriesDescriptor/metric": metric +"/cloudmonitoring:v2beta2/TimeseriesDescriptor/project": project +"/cloudmonitoring:v2beta2/TimeseriesDescriptorLabel": timeseries_descriptor_label +"/cloudmonitoring:v2beta2/TimeseriesDescriptorLabel/key": key +"/cloudmonitoring:v2beta2/TimeseriesDescriptorLabel/value": value +"/cloudmonitoring:v2beta2/TimeseriesPoint": timeseries_point +"/cloudmonitoring:v2beta2/TimeseriesPoint/point": point +"/cloudmonitoring:v2beta2/TimeseriesPoint/timeseriesDesc": timeseries_desc +"/cloudmonitoring:v2beta2/WriteTimeseriesRequest": write_timeseries_request +"/cloudmonitoring:v2beta2/WriteTimeseriesRequest/commonLabels": common_labels +"/cloudmonitoring:v2beta2/WriteTimeseriesRequest/commonLabels/common_label": common_label +"/cloudmonitoring:v2beta2/WriteTimeseriesRequest/timeseries": timeseries +"/cloudmonitoring:v2beta2/WriteTimeseriesRequest/timeseries/timeseries": timeseries +"/cloudmonitoring:v2beta2/WriteTimeseriesResponse": write_timeseries_response +"/cloudmonitoring:v2beta2/WriteTimeseriesResponse/kind": kind +"/cloudresourcemanager:v1/key": key +"/cloudresourcemanager:v1/quotaUser": quota_user +"/cloudresourcemanager:v1/fields": fields +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name +"/cloudresourcemanager:v1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1/Status": status +"/cloudresourcemanager:v1/Status/code": code +"/cloudresourcemanager:v1/Status/details": details +"/cloudresourcemanager:v1/Status/details/detail": detail +"/cloudresourcemanager:v1/Status/details/detail/detail": detail +"/cloudresourcemanager:v1/Status/message": message +"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects +"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1/FolderOperation": folder_operation +"/cloudresourcemanager:v1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1/Operation": operation +"/cloudresourcemanager:v1/Operation/error": error +"/cloudresourcemanager:v1/Operation/done": done +"/cloudresourcemanager:v1/Operation/metadata": metadata +"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum +"/cloudresourcemanager:v1/Operation/response": response +"/cloudresourcemanager:v1/Operation/response/response": response +"/cloudresourcemanager:v1/Operation/name": name +"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1/Organization": organization +"/cloudresourcemanager:v1/Organization/displayName": display_name +"/cloudresourcemanager:v1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1/Organization/owner": owner +"/cloudresourcemanager:v1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Organization/name": name +"/cloudresourcemanager:v1/Policy": policy +"/cloudresourcemanager:v1/Policy/bindings": bindings +"/cloudresourcemanager:v1/Policy/bindings/binding": binding +"/cloudresourcemanager:v1/Policy/etag": etag +"/cloudresourcemanager:v1/Policy/version": version +"/cloudresourcemanager:v1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1/ProjectCreationStatus/ready": ready +"/cloudresourcemanager:v1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1/GetAncestryRequest": get_ancestry_request +"/cloudresourcemanager:v1/GetAncestryResponse": get_ancestry_response +"/cloudresourcemanager:v1/GetAncestryResponse/ancestor": ancestor +"/cloudresourcemanager:v1/GetAncestryResponse/ancestor/ancestor": ancestor +"/cloudresourcemanager:v1/SearchOrganizationsResponse": search_organizations_response +"/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations/organization": organization +"/cloudresourcemanager:v1/SearchOrganizationsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/SearchOrganizationsRequest": search_organizations_request +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageSize": page_size +"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageToken": page_token +"/cloudresourcemanager:v1/Empty": empty +"/cloudresourcemanager:v1/Ancestor": ancestor +"/cloudresourcemanager:v1/Ancestor/resourceId": resource_id +"/cloudresourcemanager:v1/ResourceId": resource_id +"/cloudresourcemanager:v1/ResourceId/type": type +"/cloudresourcemanager:v1/ResourceId/id": id +"/cloudresourcemanager:v1/Binding": binding +"/cloudresourcemanager:v1/Binding/members": members +"/cloudresourcemanager:v1/Binding/members/member": member +"/cloudresourcemanager:v1/Binding/role": role +"/cloudresourcemanager:v1/Project": project +"/cloudresourcemanager:v1/Project/parent": parent +"/cloudresourcemanager:v1/Project/labels": labels +"/cloudresourcemanager:v1/Project/labels/label": label +"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Project/createTime": create_time +"/cloudresourcemanager:v1/Project/name": name +"/cloudresourcemanager:v1/Project/projectNumber": project_number +"/cloudresourcemanager:v1/Project/projectId": project_id +"/cloudresourcemanager:v1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1/OrganizationOwner/directoryCustomerId": directory_customer_id +"/cloudresourcemanager:v1beta1/key": key +"/cloudresourcemanager:v1beta1/quotaUser": quota_user +"/cloudresourcemanager:v1beta1/fields": fields +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1beta1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects": projects +"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation +"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1beta1/Organization": organization +"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Organization/displayName": display_name +"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id +"/cloudresourcemanager:v1beta1/Organization/name": name +"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1beta1/Organization/owner": owner +"/cloudresourcemanager:v1beta1/Policy": policy +"/cloudresourcemanager:v1beta1/Policy/bindings": bindings +"/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding +"/cloudresourcemanager:v1beta1/Policy/etag": etag +"/cloudresourcemanager:v1beta1/Policy/version": version +"/cloudresourcemanager:v1beta1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/ready": ready +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request +"/cloudresourcemanager:v1beta1/GetAncestryResponse": get_ancestry_response +"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor": ancestor +"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor/ancestor": ancestor +"/cloudresourcemanager:v1beta1/Empty": empty +"/cloudresourcemanager:v1beta1/Ancestor": ancestor +"/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id +"/cloudresourcemanager:v1beta1/ResourceId": resource_id +"/cloudresourcemanager:v1beta1/ResourceId/type": type +"/cloudresourcemanager:v1beta1/ResourceId/id": id +"/cloudresourcemanager:v1beta1/Project": project +"/cloudresourcemanager:v1beta1/Project/parent": parent +"/cloudresourcemanager:v1beta1/Project/labels": labels +"/cloudresourcemanager:v1beta1/Project/labels/label": label +"/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Project/createTime": create_time +"/cloudresourcemanager:v1beta1/Project/name": name +"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number +"/cloudresourcemanager:v1beta1/Project/projectId": project_id +"/cloudresourcemanager:v1beta1/Binding": binding +"/cloudresourcemanager:v1beta1/Binding/members": members +"/cloudresourcemanager:v1beta1/Binding/members/member": member +"/cloudresourcemanager:v1beta1/Binding/role": role +"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id +"/clouduseraccounts:beta/fields": fields +"/clouduseraccounts:beta/key": key +"/clouduseraccounts:beta/quotaUser": quota_user +"/clouduseraccounts:beta/userIp": user_ip +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete": delete_global_accounts_operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/operation": operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get": get_global_accounts_operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/operation": operation +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list": list_global_accounts_operations +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.globalAccountsOperations.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember": add_group_member +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.addMember/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.delete": delete_group +"/clouduseraccounts:beta/clouduseraccounts.groups.delete/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.get": get_group +"/clouduseraccounts:beta/clouduseraccounts.groups.get/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.insert": insert_group +"/clouduseraccounts:beta/clouduseraccounts.groups.insert/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.list": list_groups +"/clouduseraccounts:beta/clouduseraccounts.groups.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.groups.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.groups.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.groups.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.groups.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember": remove_group_member +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/groupName": group_name +"/clouduseraccounts:beta/clouduseraccounts.groups.removeMember/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView": get_linux_authorized_keys_view +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/instance": instance +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/login": login +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/user": user +"/clouduseraccounts:beta/clouduseraccounts.linux.getAuthorizedKeysView/zone": zone +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews": get_linux_linux_account_views +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/instance": instance +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/project": project +"/clouduseraccounts:beta/clouduseraccounts.linux.getLinuxAccountViews/zone": zone +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey": add_user_public_key +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.addPublicKey/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.delete": delete_user +"/clouduseraccounts:beta/clouduseraccounts.users.delete/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.delete/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.get": get_user +"/clouduseraccounts:beta/clouduseraccounts.users.get/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.get/user": user +"/clouduseraccounts:beta/clouduseraccounts.users.insert": insert_user +"/clouduseraccounts:beta/clouduseraccounts.users.insert/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.list": list_users +"/clouduseraccounts:beta/clouduseraccounts.users.list/filter": filter +"/clouduseraccounts:beta/clouduseraccounts.users.list/maxResults": max_results +"/clouduseraccounts:beta/clouduseraccounts.users.list/orderBy": order_by +"/clouduseraccounts:beta/clouduseraccounts.users.list/pageToken": page_token +"/clouduseraccounts:beta/clouduseraccounts.users.list/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey": remove_user_public_key +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/fingerprint": fingerprint +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/project": project +"/clouduseraccounts:beta/clouduseraccounts.users.removePublicKey/user": user +"/clouduseraccounts:beta/AuthorizedKeysView": authorized_keys_view +"/clouduseraccounts:beta/AuthorizedKeysView/keys": keys +"/clouduseraccounts:beta/AuthorizedKeysView/keys/key": key +"/clouduseraccounts:beta/AuthorizedKeysView/sudoer": sudoer +"/clouduseraccounts:beta/Group": group +"/clouduseraccounts:beta/Group/creationTimestamp": creation_timestamp +"/clouduseraccounts:beta/Group/description": description +"/clouduseraccounts:beta/Group/id": id +"/clouduseraccounts:beta/Group/kind": kind +"/clouduseraccounts:beta/Group/members": members +"/clouduseraccounts:beta/Group/members/member": member +"/clouduseraccounts:beta/Group/name": name +"/clouduseraccounts:beta/Group/selfLink": self_link +"/clouduseraccounts:beta/GroupList": group_list +"/clouduseraccounts:beta/GroupList/id": id +"/clouduseraccounts:beta/GroupList/items": items +"/clouduseraccounts:beta/GroupList/items/item": item +"/clouduseraccounts:beta/GroupList/kind": kind +"/clouduseraccounts:beta/GroupList/nextPageToken": next_page_token +"/clouduseraccounts:beta/GroupList/selfLink": self_link +"/clouduseraccounts:beta/GroupsAddMemberRequest": groups_add_member_request +"/clouduseraccounts:beta/GroupsAddMemberRequest/users": users +"/clouduseraccounts:beta/GroupsAddMemberRequest/users/user": user +"/clouduseraccounts:beta/GroupsRemoveMemberRequest": groups_remove_member_request +"/clouduseraccounts:beta/GroupsRemoveMemberRequest/users": users +"/clouduseraccounts:beta/GroupsRemoveMemberRequest/users/user": user +"/clouduseraccounts:beta/LinuxAccountViews": linux_account_views +"/clouduseraccounts:beta/LinuxAccountViews/groupViews": group_views +"/clouduseraccounts:beta/LinuxAccountViews/groupViews/group_view": group_view +"/clouduseraccounts:beta/LinuxAccountViews/kind": kind +"/clouduseraccounts:beta/LinuxAccountViews/userViews": user_views +"/clouduseraccounts:beta/LinuxAccountViews/userViews/user_view": user_view +"/clouduseraccounts:beta/LinuxGetAuthorizedKeysViewResponse": linux_get_authorized_keys_view_response +"/clouduseraccounts:beta/LinuxGetAuthorizedKeysViewResponse/resource": resource +"/clouduseraccounts:beta/LinuxGetLinuxAccountViewsResponse": linux_get_linux_account_views_response +"/clouduseraccounts:beta/LinuxGetLinuxAccountViewsResponse/resource": resource +"/clouduseraccounts:beta/LinuxGroupView": linux_group_view +"/clouduseraccounts:beta/LinuxGroupView/gid": gid +"/clouduseraccounts:beta/LinuxGroupView/groupName": group_name +"/clouduseraccounts:beta/LinuxGroupView/members": members +"/clouduseraccounts:beta/LinuxGroupView/members/member": member +"/clouduseraccounts:beta/LinuxUserView": linux_user_view +"/clouduseraccounts:beta/LinuxUserView/gecos": gecos +"/clouduseraccounts:beta/LinuxUserView/gid": gid +"/clouduseraccounts:beta/LinuxUserView/homeDirectory": home_directory +"/clouduseraccounts:beta/LinuxUserView/shell": shell +"/clouduseraccounts:beta/LinuxUserView/uid": uid +"/clouduseraccounts:beta/LinuxUserView/username": username +"/clouduseraccounts:beta/Operation": operation +"/clouduseraccounts:beta/Operation/clientOperationId": client_operation_id +"/clouduseraccounts:beta/Operation/creationTimestamp": creation_timestamp +"/clouduseraccounts:beta/Operation/description": description +"/clouduseraccounts:beta/Operation/endTime": end_time +"/clouduseraccounts:beta/Operation/error": error +"/clouduseraccounts:beta/Operation/error/errors": errors +"/clouduseraccounts:beta/Operation/error/errors/error": error +"/clouduseraccounts:beta/Operation/error/errors/error/code": code +"/clouduseraccounts:beta/Operation/error/errors/error/location": location +"/clouduseraccounts:beta/Operation/error/errors/error/message": message +"/clouduseraccounts:beta/Operation/httpErrorMessage": http_error_message +"/clouduseraccounts:beta/Operation/httpErrorStatusCode": http_error_status_code +"/clouduseraccounts:beta/Operation/id": id +"/clouduseraccounts:beta/Operation/insertTime": insert_time +"/clouduseraccounts:beta/Operation/kind": kind +"/clouduseraccounts:beta/Operation/name": name +"/clouduseraccounts:beta/Operation/operationType": operation_type +"/clouduseraccounts:beta/Operation/progress": progress +"/clouduseraccounts:beta/Operation/region": region +"/clouduseraccounts:beta/Operation/selfLink": self_link +"/clouduseraccounts:beta/Operation/startTime": start_time +"/clouduseraccounts:beta/Operation/status": status +"/clouduseraccounts:beta/Operation/statusMessage": status_message +"/clouduseraccounts:beta/Operation/targetId": target_id +"/clouduseraccounts:beta/Operation/targetLink": target_link +"/clouduseraccounts:beta/Operation/user": user +"/clouduseraccounts:beta/Operation/warnings": warnings +"/clouduseraccounts:beta/Operation/warnings/warning": warning +"/clouduseraccounts:beta/Operation/warnings/warning/code": code +"/clouduseraccounts:beta/Operation/warnings/warning/data": data +"/clouduseraccounts:beta/Operation/warnings/warning/data/datum": datum +"/clouduseraccounts:beta/Operation/warnings/warning/data/datum/key": key +"/clouduseraccounts:beta/Operation/warnings/warning/data/datum/value": value +"/clouduseraccounts:beta/Operation/warnings/warning/message": message +"/clouduseraccounts:beta/Operation/zone": zone +"/clouduseraccounts:beta/OperationList": operation_list +"/clouduseraccounts:beta/OperationList/id": id +"/clouduseraccounts:beta/OperationList/items": items +"/clouduseraccounts:beta/OperationList/items/item": item +"/clouduseraccounts:beta/OperationList/kind": kind +"/clouduseraccounts:beta/OperationList/nextPageToken": next_page_token +"/clouduseraccounts:beta/OperationList/selfLink": self_link +"/clouduseraccounts:beta/PublicKey": public_key +"/clouduseraccounts:beta/PublicKey/creationTimestamp": creation_timestamp +"/clouduseraccounts:beta/PublicKey/description": description +"/clouduseraccounts:beta/PublicKey/expirationTimestamp": expiration_timestamp +"/clouduseraccounts:beta/PublicKey/fingerprint": fingerprint +"/clouduseraccounts:beta/PublicKey/key": key +"/clouduseraccounts:beta/User": user +"/clouduseraccounts:beta/User/creationTimestamp": creation_timestamp +"/clouduseraccounts:beta/User/description": description +"/clouduseraccounts:beta/User/groups": groups +"/clouduseraccounts:beta/User/groups/group": group +"/clouduseraccounts:beta/User/id": id +"/clouduseraccounts:beta/User/kind": kind +"/clouduseraccounts:beta/User/name": name +"/clouduseraccounts:beta/User/owner": owner +"/clouduseraccounts:beta/User/publicKeys": public_keys +"/clouduseraccounts:beta/User/publicKeys/public_key": public_key +"/clouduseraccounts:beta/User/selfLink": self_link +"/clouduseraccounts:beta/UserList": user_list +"/clouduseraccounts:beta/UserList/id": id +"/clouduseraccounts:beta/UserList/items": items +"/clouduseraccounts:beta/UserList/items/item": item +"/clouduseraccounts:beta/UserList/kind": kind +"/clouduseraccounts:beta/UserList/nextPageToken": next_page_token +"/clouduseraccounts:beta/UserList/selfLink": self_link +"/compute:v1/fields": fields +"/compute:v1/key": key +"/compute:v1/quotaUser": quota_user +"/compute:v1/userIp": user_ip +"/compute:v1/compute.addresses.aggregatedList/filter": filter +"/compute:v1/compute.addresses.aggregatedList/maxResults": max_results +"/compute:v1/compute.addresses.aggregatedList/orderBy": order_by +"/compute:v1/compute.addresses.aggregatedList/pageToken": page_token +"/compute:v1/compute.addresses.aggregatedList/project": project +"/compute:v1/compute.addresses.delete": delete_address +"/compute:v1/compute.addresses.delete/address": address +"/compute:v1/compute.addresses.delete/project": project +"/compute:v1/compute.addresses.delete/region": region +"/compute:v1/compute.addresses.get": get_address +"/compute:v1/compute.addresses.get/address": address +"/compute:v1/compute.addresses.get/project": project +"/compute:v1/compute.addresses.get/region": region +"/compute:v1/compute.addresses.insert": insert_address +"/compute:v1/compute.addresses.insert/project": project +"/compute:v1/compute.addresses.insert/region": region +"/compute:v1/compute.addresses.list": list_addresses +"/compute:v1/compute.addresses.list/filter": filter +"/compute:v1/compute.addresses.list/maxResults": max_results +"/compute:v1/compute.addresses.list/orderBy": order_by +"/compute:v1/compute.addresses.list/pageToken": page_token +"/compute:v1/compute.addresses.list/project": project +"/compute:v1/compute.addresses.list/region": region +"/compute:v1/compute.autoscalers.aggregatedList/filter": filter +"/compute:v1/compute.autoscalers.aggregatedList/maxResults": max_results +"/compute:v1/compute.autoscalers.aggregatedList/orderBy": order_by +"/compute:v1/compute.autoscalers.aggregatedList/pageToken": page_token +"/compute:v1/compute.autoscalers.aggregatedList/project": project +"/compute:v1/compute.autoscalers.delete": delete_autoscaler +"/compute:v1/compute.autoscalers.delete/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.delete/project": project +"/compute:v1/compute.autoscalers.delete/zone": zone +"/compute:v1/compute.autoscalers.get": get_autoscaler +"/compute:v1/compute.autoscalers.get/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.get/project": project +"/compute:v1/compute.autoscalers.get/zone": zone +"/compute:v1/compute.autoscalers.insert": insert_autoscaler +"/compute:v1/compute.autoscalers.insert/project": project +"/compute:v1/compute.autoscalers.insert/zone": zone +"/compute:v1/compute.autoscalers.list": list_autoscalers +"/compute:v1/compute.autoscalers.list/filter": filter +"/compute:v1/compute.autoscalers.list/maxResults": max_results +"/compute:v1/compute.autoscalers.list/orderBy": order_by +"/compute:v1/compute.autoscalers.list/pageToken": page_token +"/compute:v1/compute.autoscalers.list/project": project +"/compute:v1/compute.autoscalers.list/zone": zone +"/compute:v1/compute.autoscalers.patch": patch_autoscaler +"/compute:v1/compute.autoscalers.patch/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.patch/project": project +"/compute:v1/compute.autoscalers.patch/zone": zone +"/compute:v1/compute.autoscalers.update": update_autoscaler +"/compute:v1/compute.autoscalers.update/autoscaler": autoscaler +"/compute:v1/compute.autoscalers.update/project": project +"/compute:v1/compute.autoscalers.update/zone": zone +"/compute:v1/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:v1/compute.backendServices.aggregatedList/filter": filter +"/compute:v1/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:v1/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:v1/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:v1/compute.backendServices.aggregatedList/project": project +"/compute:v1/compute.backendServices.delete": delete_backend_service +"/compute:v1/compute.backendServices.delete/backendService": backend_service +"/compute:v1/compute.backendServices.delete/project": project +"/compute:v1/compute.backendServices.get": get_backend_service +"/compute:v1/compute.backendServices.get/backendService": backend_service +"/compute:v1/compute.backendServices.get/project": project +"/compute:v1/compute.backendServices.getHealth/backendService": backend_service +"/compute:v1/compute.backendServices.getHealth/project": project +"/compute:v1/compute.backendServices.insert": insert_backend_service +"/compute:v1/compute.backendServices.insert/project": project +"/compute:v1/compute.backendServices.list": list_backend_services +"/compute:v1/compute.backendServices.list/filter": filter +"/compute:v1/compute.backendServices.list/maxResults": max_results +"/compute:v1/compute.backendServices.list/orderBy": order_by +"/compute:v1/compute.backendServices.list/pageToken": page_token +"/compute:v1/compute.backendServices.list/project": project +"/compute:v1/compute.backendServices.patch": patch_backend_service +"/compute:v1/compute.backendServices.patch/backendService": backend_service +"/compute:v1/compute.backendServices.patch/project": project +"/compute:v1/compute.backendServices.update": update_backend_service +"/compute:v1/compute.backendServices.update/backendService": backend_service +"/compute:v1/compute.backendServices.update/project": project +"/compute:v1/compute.diskTypes.aggregatedList/filter": filter +"/compute:v1/compute.diskTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.diskTypes.aggregatedList/orderBy": order_by +"/compute:v1/compute.diskTypes.aggregatedList/pageToken": page_token +"/compute:v1/compute.diskTypes.aggregatedList/project": project +"/compute:v1/compute.diskTypes.get": get_disk_type +"/compute:v1/compute.diskTypes.get/diskType": disk_type +"/compute:v1/compute.diskTypes.get/project": project +"/compute:v1/compute.diskTypes.get/zone": zone +"/compute:v1/compute.diskTypes.list": list_disk_types +"/compute:v1/compute.diskTypes.list/filter": filter +"/compute:v1/compute.diskTypes.list/maxResults": max_results +"/compute:v1/compute.diskTypes.list/orderBy": order_by +"/compute:v1/compute.diskTypes.list/pageToken": page_token +"/compute:v1/compute.diskTypes.list/project": project +"/compute:v1/compute.diskTypes.list/zone": zone +"/compute:v1/compute.disks.aggregatedList/filter": filter +"/compute:v1/compute.disks.aggregatedList/maxResults": max_results +"/compute:v1/compute.disks.aggregatedList/orderBy": order_by +"/compute:v1/compute.disks.aggregatedList/pageToken": page_token +"/compute:v1/compute.disks.aggregatedList/project": project +"/compute:v1/compute.disks.createSnapshot/disk": disk +"/compute:v1/compute.disks.createSnapshot/project": project +"/compute:v1/compute.disks.createSnapshot/zone": zone +"/compute:v1/compute.disks.delete": delete_disk +"/compute:v1/compute.disks.delete/disk": disk +"/compute:v1/compute.disks.delete/project": project +"/compute:v1/compute.disks.delete/zone": zone +"/compute:v1/compute.disks.get": get_disk +"/compute:v1/compute.disks.get/disk": disk +"/compute:v1/compute.disks.get/project": project +"/compute:v1/compute.disks.get/zone": zone +"/compute:v1/compute.disks.insert": insert_disk +"/compute:v1/compute.disks.insert/project": project +"/compute:v1/compute.disks.insert/sourceImage": source_image +"/compute:v1/compute.disks.insert/zone": zone +"/compute:v1/compute.disks.list": list_disks +"/compute:v1/compute.disks.list/filter": filter +"/compute:v1/compute.disks.list/maxResults": max_results +"/compute:v1/compute.disks.list/orderBy": order_by +"/compute:v1/compute.disks.list/pageToken": page_token +"/compute:v1/compute.disks.list/project": project +"/compute:v1/compute.disks.list/zone": zone +"/compute:v1/compute.disks.resize": resize_disk +"/compute:v1/compute.disks.resize/disk": disk +"/compute:v1/compute.disks.resize/project": project +"/compute:v1/compute.disks.resize/zone": zone +"/compute:v1/compute.firewalls.delete": delete_firewall +"/compute:v1/compute.firewalls.delete/firewall": firewall +"/compute:v1/compute.firewalls.delete/project": project +"/compute:v1/compute.firewalls.get": get_firewall +"/compute:v1/compute.firewalls.get/firewall": firewall +"/compute:v1/compute.firewalls.get/project": project +"/compute:v1/compute.firewalls.insert": insert_firewall +"/compute:v1/compute.firewalls.insert/project": project +"/compute:v1/compute.firewalls.list": list_firewalls +"/compute:v1/compute.firewalls.list/filter": filter +"/compute:v1/compute.firewalls.list/maxResults": max_results +"/compute:v1/compute.firewalls.list/orderBy": order_by +"/compute:v1/compute.firewalls.list/pageToken": page_token +"/compute:v1/compute.firewalls.list/project": project +"/compute:v1/compute.firewalls.patch": patch_firewall +"/compute:v1/compute.firewalls.patch/firewall": firewall +"/compute:v1/compute.firewalls.patch/project": project +"/compute:v1/compute.firewalls.update": update_firewall +"/compute:v1/compute.firewalls.update/firewall": firewall +"/compute:v1/compute.firewalls.update/project": project +"/compute:v1/compute.forwardingRules.aggregatedList/filter": filter +"/compute:v1/compute.forwardingRules.aggregatedList/maxResults": max_results +"/compute:v1/compute.forwardingRules.aggregatedList/orderBy": order_by +"/compute:v1/compute.forwardingRules.aggregatedList/pageToken": page_token +"/compute:v1/compute.forwardingRules.aggregatedList/project": project +"/compute:v1/compute.forwardingRules.delete": delete_forwarding_rule +"/compute:v1/compute.forwardingRules.delete/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.delete/project": project +"/compute:v1/compute.forwardingRules.delete/region": region +"/compute:v1/compute.forwardingRules.get": get_forwarding_rule +"/compute:v1/compute.forwardingRules.get/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.get/project": project +"/compute:v1/compute.forwardingRules.get/region": region +"/compute:v1/compute.forwardingRules.insert": insert_forwarding_rule +"/compute:v1/compute.forwardingRules.insert/project": project +"/compute:v1/compute.forwardingRules.insert/region": region +"/compute:v1/compute.forwardingRules.list": list_forwarding_rules +"/compute:v1/compute.forwardingRules.list/filter": filter +"/compute:v1/compute.forwardingRules.list/maxResults": max_results +"/compute:v1/compute.forwardingRules.list/orderBy": order_by +"/compute:v1/compute.forwardingRules.list/pageToken": page_token +"/compute:v1/compute.forwardingRules.list/project": project +"/compute:v1/compute.forwardingRules.list/region": region +"/compute:v1/compute.forwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:v1/compute.forwardingRules.setTarget/project": project +"/compute:v1/compute.forwardingRules.setTarget/region": region +"/compute:v1/compute.globalAddresses.delete": delete_global_address +"/compute:v1/compute.globalAddresses.delete/address": address +"/compute:v1/compute.globalAddresses.delete/project": project +"/compute:v1/compute.globalAddresses.get": get_global_address +"/compute:v1/compute.globalAddresses.get/address": address +"/compute:v1/compute.globalAddresses.get/project": project +"/compute:v1/compute.globalAddresses.insert": insert_global_address +"/compute:v1/compute.globalAddresses.insert/project": project +"/compute:v1/compute.globalAddresses.list": list_global_addresses +"/compute:v1/compute.globalAddresses.list/filter": filter +"/compute:v1/compute.globalAddresses.list/maxResults": max_results +"/compute:v1/compute.globalAddresses.list/orderBy": order_by +"/compute:v1/compute.globalAddresses.list/pageToken": page_token +"/compute:v1/compute.globalAddresses.list/project": project +"/compute:v1/compute.globalForwardingRules.delete": delete_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.delete/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.delete/project": project +"/compute:v1/compute.globalForwardingRules.get": get_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.get/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.get/project": project +"/compute:v1/compute.globalForwardingRules.insert": insert_global_forwarding_rule +"/compute:v1/compute.globalForwardingRules.insert/project": project +"/compute:v1/compute.globalForwardingRules.list": list_global_forwarding_rules +"/compute:v1/compute.globalForwardingRules.list/filter": filter +"/compute:v1/compute.globalForwardingRules.list/maxResults": max_results +"/compute:v1/compute.globalForwardingRules.list/orderBy": order_by +"/compute:v1/compute.globalForwardingRules.list/pageToken": page_token +"/compute:v1/compute.globalForwardingRules.list/project": project +"/compute:v1/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule +"/compute:v1/compute.globalForwardingRules.setTarget/project": project +"/compute:v1/compute.globalOperations.aggregatedList/filter": filter +"/compute:v1/compute.globalOperations.aggregatedList/maxResults": max_results +"/compute:v1/compute.globalOperations.aggregatedList/orderBy": order_by +"/compute:v1/compute.globalOperations.aggregatedList/pageToken": page_token +"/compute:v1/compute.globalOperations.aggregatedList/project": project +"/compute:v1/compute.globalOperations.delete": delete_global_operation +"/compute:v1/compute.globalOperations.delete/operation": operation +"/compute:v1/compute.globalOperations.delete/project": project +"/compute:v1/compute.globalOperations.get": get_global_operation +"/compute:v1/compute.globalOperations.get/operation": operation +"/compute:v1/compute.globalOperations.get/project": project +"/compute:v1/compute.globalOperations.list": list_global_operations +"/compute:v1/compute.globalOperations.list/filter": filter +"/compute:v1/compute.globalOperations.list/maxResults": max_results +"/compute:v1/compute.globalOperations.list/orderBy": order_by +"/compute:v1/compute.globalOperations.list/pageToken": page_token +"/compute:v1/compute.globalOperations.list/project": project +"/compute:v1/compute.healthChecks.delete": delete_health_check +"/compute:v1/compute.healthChecks.delete/healthCheck": health_check +"/compute:v1/compute.healthChecks.delete/project": project +"/compute:v1/compute.healthChecks.get": get_health_check +"/compute:v1/compute.healthChecks.get/healthCheck": health_check +"/compute:v1/compute.healthChecks.get/project": project +"/compute:v1/compute.healthChecks.insert": insert_health_check +"/compute:v1/compute.healthChecks.insert/project": project +"/compute:v1/compute.healthChecks.list": list_health_checks +"/compute:v1/compute.healthChecks.list/filter": filter +"/compute:v1/compute.healthChecks.list/maxResults": max_results +"/compute:v1/compute.healthChecks.list/orderBy": order_by +"/compute:v1/compute.healthChecks.list/pageToken": page_token +"/compute:v1/compute.healthChecks.list/project": project +"/compute:v1/compute.healthChecks.patch": patch_health_check +"/compute:v1/compute.healthChecks.patch/healthCheck": health_check +"/compute:v1/compute.healthChecks.patch/project": project +"/compute:v1/compute.healthChecks.update": update_health_check +"/compute:v1/compute.healthChecks.update/healthCheck": health_check +"/compute:v1/compute.healthChecks.update/project": project +"/compute:v1/compute.httpHealthChecks.delete": delete_http_health_check +"/compute:v1/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.delete/project": project +"/compute:v1/compute.httpHealthChecks.get": get_http_health_check +"/compute:v1/compute.httpHealthChecks.get/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.get/project": project +"/compute:v1/compute.httpHealthChecks.insert": insert_http_health_check +"/compute:v1/compute.httpHealthChecks.insert/project": project +"/compute:v1/compute.httpHealthChecks.list": list_http_health_checks +"/compute:v1/compute.httpHealthChecks.list/filter": filter +"/compute:v1/compute.httpHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpHealthChecks.list/orderBy": order_by +"/compute:v1/compute.httpHealthChecks.list/pageToken": page_token +"/compute:v1/compute.httpHealthChecks.list/project": project +"/compute:v1/compute.httpHealthChecks.patch": patch_http_health_check +"/compute:v1/compute.httpHealthChecks.patch/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.patch/project": project +"/compute:v1/compute.httpHealthChecks.update": update_http_health_check +"/compute:v1/compute.httpHealthChecks.update/httpHealthCheck": http_health_check +"/compute:v1/compute.httpHealthChecks.update/project": project +"/compute:v1/compute.httpsHealthChecks.delete": delete_https_health_check +"/compute:v1/compute.httpsHealthChecks.delete/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.delete/project": project +"/compute:v1/compute.httpsHealthChecks.get": get_https_health_check +"/compute:v1/compute.httpsHealthChecks.get/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.get/project": project +"/compute:v1/compute.httpsHealthChecks.insert": insert_https_health_check +"/compute:v1/compute.httpsHealthChecks.insert/project": project +"/compute:v1/compute.httpsHealthChecks.list": list_https_health_checks +"/compute:v1/compute.httpsHealthChecks.list/filter": filter +"/compute:v1/compute.httpsHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpsHealthChecks.list/orderBy": order_by +"/compute:v1/compute.httpsHealthChecks.list/pageToken": page_token +"/compute:v1/compute.httpsHealthChecks.list/project": project +"/compute:v1/compute.httpsHealthChecks.patch": patch_https_health_check +"/compute:v1/compute.httpsHealthChecks.patch/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.patch/project": project +"/compute:v1/compute.httpsHealthChecks.update": update_https_health_check +"/compute:v1/compute.httpsHealthChecks.update/httpsHealthCheck": https_health_check +"/compute:v1/compute.httpsHealthChecks.update/project": project +"/compute:v1/compute.images.delete": delete_image +"/compute:v1/compute.images.delete/image": image +"/compute:v1/compute.images.delete/project": project +"/compute:v1/compute.images.deprecate": deprecate_image +"/compute:v1/compute.images.deprecate/image": image +"/compute:v1/compute.images.deprecate/project": project +"/compute:v1/compute.images.get": get_image +"/compute:v1/compute.images.get/image": image +"/compute:v1/compute.images.get/project": project +"/compute:v1/compute.images.getFromFamily": get_image_from_family +"/compute:v1/compute.images.getFromFamily/family": family +"/compute:v1/compute.images.getFromFamily/project": project +"/compute:v1/compute.images.insert": insert_image +"/compute:v1/compute.images.insert/project": project +"/compute:v1/compute.images.list": list_images +"/compute:v1/compute.images.list/filter": filter +"/compute:v1/compute.images.list/maxResults": max_results +"/compute:v1/compute.images.list/orderBy": order_by +"/compute:v1/compute.images.list/pageToken": page_token +"/compute:v1/compute.images.list/project": project +"/compute:v1/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.abandonInstances/project": project +"/compute:v1/compute.instanceGroupManagers.abandonInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.aggregatedList/filter": filter +"/compute:v1/compute.instanceGroupManagers.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.aggregatedList/orderBy": order_by +"/compute:v1/compute.instanceGroupManagers.aggregatedList/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.aggregatedList/project": project +"/compute:v1/compute.instanceGroupManagers.delete": delete_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.delete/project": project +"/compute:v1/compute.instanceGroupManagers.delete/zone": zone +"/compute:v1/compute.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.deleteInstances/project": project +"/compute:v1/compute.instanceGroupManagers.deleteInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.get": get_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.get/project": project +"/compute:v1/compute.instanceGroupManagers.get/zone": zone +"/compute:v1/compute.instanceGroupManagers.insert": insert_instance_group_manager +"/compute:v1/compute.instanceGroupManagers.insert/project": project +"/compute:v1/compute.instanceGroupManagers.insert/zone": zone +"/compute:v1/compute.instanceGroupManagers.list": list_instance_group_managers +"/compute:v1/compute.instanceGroupManagers.list/filter": filter +"/compute:v1/compute.instanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.list/orderBy": order_by +"/compute:v1/compute.instanceGroupManagers.list/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.list/project": project +"/compute:v1/compute.instanceGroupManagers.list/zone": zone +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/filter": filter +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/project": project +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.recreateInstances/project": project +"/compute:v1/compute.instanceGroupManagers.recreateInstances/zone": zone +"/compute:v1/compute.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.resize/project": project +"/compute:v1/compute.instanceGroupManagers.resize/size": size +"/compute:v1/compute.instanceGroupManagers.resize/zone": zone +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/project": project +"/compute:v1/compute.instanceGroupManagers.setInstanceTemplate/zone": zone +"/compute:v1/compute.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.setTargetPools/project": project +"/compute:v1/compute.instanceGroupManagers.setTargetPools/zone": zone +"/compute:v1/compute.instanceGroups.addInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.addInstances/project": project +"/compute:v1/compute.instanceGroups.addInstances/zone": zone +"/compute:v1/compute.instanceGroups.aggregatedList/filter": filter +"/compute:v1/compute.instanceGroups.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroups.aggregatedList/orderBy": order_by +"/compute:v1/compute.instanceGroups.aggregatedList/pageToken": page_token +"/compute:v1/compute.instanceGroups.aggregatedList/project": project +"/compute:v1/compute.instanceGroups.delete": delete_instance_group +"/compute:v1/compute.instanceGroups.delete/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.delete/project": project +"/compute:v1/compute.instanceGroups.delete/zone": zone +"/compute:v1/compute.instanceGroups.get": get_instance_group +"/compute:v1/compute.instanceGroups.get/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.get/project": project +"/compute:v1/compute.instanceGroups.get/zone": zone +"/compute:v1/compute.instanceGroups.insert": insert_instance_group +"/compute:v1/compute.instanceGroups.insert/project": project +"/compute:v1/compute.instanceGroups.insert/zone": zone +"/compute:v1/compute.instanceGroups.list": list_instance_groups +"/compute:v1/compute.instanceGroups.list/filter": filter +"/compute:v1/compute.instanceGroups.list/maxResults": max_results +"/compute:v1/compute.instanceGroups.list/orderBy": order_by +"/compute:v1/compute.instanceGroups.list/pageToken": page_token +"/compute:v1/compute.instanceGroups.list/project": project +"/compute:v1/compute.instanceGroups.list/zone": zone +"/compute:v1/compute.instanceGroups.listInstances/filter": filter +"/compute:v1/compute.instanceGroups.listInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.instanceGroups.listInstances/orderBy": order_by +"/compute:v1/compute.instanceGroups.listInstances/pageToken": page_token +"/compute:v1/compute.instanceGroups.listInstances/project": project +"/compute:v1/compute.instanceGroups.listInstances/zone": zone +"/compute:v1/compute.instanceGroups.removeInstances/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.removeInstances/project": project +"/compute:v1/compute.instanceGroups.removeInstances/zone": zone +"/compute:v1/compute.instanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:v1/compute.instanceGroups.setNamedPorts/project": project +"/compute:v1/compute.instanceGroups.setNamedPorts/zone": zone +"/compute:v1/compute.instanceTemplates.delete": delete_instance_template +"/compute:v1/compute.instanceTemplates.delete/instanceTemplate": instance_template +"/compute:v1/compute.instanceTemplates.delete/project": project +"/compute:v1/compute.instanceTemplates.get": get_instance_template +"/compute:v1/compute.instanceTemplates.get/instanceTemplate": instance_template +"/compute:v1/compute.instanceTemplates.get/project": project +"/compute:v1/compute.instanceTemplates.insert": insert_instance_template +"/compute:v1/compute.instanceTemplates.insert/project": project +"/compute:v1/compute.instanceTemplates.list": list_instance_templates +"/compute:v1/compute.instanceTemplates.list/filter": filter +"/compute:v1/compute.instanceTemplates.list/maxResults": max_results +"/compute:v1/compute.instanceTemplates.list/orderBy": order_by +"/compute:v1/compute.instanceTemplates.list/pageToken": page_token +"/compute:v1/compute.instanceTemplates.list/project": project +"/compute:v1/compute.instances.addAccessConfig/instance": instance +"/compute:v1/compute.instances.addAccessConfig/networkInterface": network_interface +"/compute:v1/compute.instances.addAccessConfig/project": project +"/compute:v1/compute.instances.addAccessConfig/zone": zone +"/compute:v1/compute.instances.aggregatedList/filter": filter +"/compute:v1/compute.instances.aggregatedList/maxResults": max_results +"/compute:v1/compute.instances.aggregatedList/orderBy": order_by +"/compute:v1/compute.instances.aggregatedList/pageToken": page_token +"/compute:v1/compute.instances.aggregatedList/project": project +"/compute:v1/compute.instances.attachDisk/instance": instance +"/compute:v1/compute.instances.attachDisk/project": project +"/compute:v1/compute.instances.attachDisk/zone": zone +"/compute:v1/compute.instances.delete": delete_instance +"/compute:v1/compute.instances.delete/instance": instance +"/compute:v1/compute.instances.delete/project": project +"/compute:v1/compute.instances.delete/zone": zone +"/compute:v1/compute.instances.deleteAccessConfig/accessConfig": access_config +"/compute:v1/compute.instances.deleteAccessConfig/instance": instance +"/compute:v1/compute.instances.deleteAccessConfig/networkInterface": network_interface +"/compute:v1/compute.instances.deleteAccessConfig/project": project +"/compute:v1/compute.instances.deleteAccessConfig/zone": zone +"/compute:v1/compute.instances.detachDisk/deviceName": device_name +"/compute:v1/compute.instances.detachDisk/instance": instance +"/compute:v1/compute.instances.detachDisk/project": project +"/compute:v1/compute.instances.detachDisk/zone": zone +"/compute:v1/compute.instances.get": get_instance +"/compute:v1/compute.instances.get/instance": instance +"/compute:v1/compute.instances.get/project": project +"/compute:v1/compute.instances.get/zone": zone +"/compute:v1/compute.instances.getSerialPortOutput/instance": instance +"/compute:v1/compute.instances.getSerialPortOutput/port": port +"/compute:v1/compute.instances.getSerialPortOutput/project": project +"/compute:v1/compute.instances.getSerialPortOutput/start": start +"/compute:v1/compute.instances.getSerialPortOutput/zone": zone +"/compute:v1/compute.instances.insert": insert_instance +"/compute:v1/compute.instances.insert/project": project +"/compute:v1/compute.instances.insert/zone": zone +"/compute:v1/compute.instances.list": list_instances +"/compute:v1/compute.instances.list/filter": filter +"/compute:v1/compute.instances.list/maxResults": max_results +"/compute:v1/compute.instances.list/orderBy": order_by +"/compute:v1/compute.instances.list/pageToken": page_token +"/compute:v1/compute.instances.list/project": project +"/compute:v1/compute.instances.list/zone": zone +"/compute:v1/compute.instances.reset": reset_instance +"/compute:v1/compute.instances.reset/instance": instance +"/compute:v1/compute.instances.reset/project": project +"/compute:v1/compute.instances.reset/zone": zone +"/compute:v1/compute.instances.setDiskAutoDelete/autoDelete": auto_delete +"/compute:v1/compute.instances.setDiskAutoDelete/deviceName": device_name +"/compute:v1/compute.instances.setDiskAutoDelete/instance": instance +"/compute:v1/compute.instances.setDiskAutoDelete/project": project +"/compute:v1/compute.instances.setDiskAutoDelete/zone": zone +"/compute:v1/compute.instances.setMachineType": set_instance_machine_type +"/compute:v1/compute.instances.setMachineType/instance": instance +"/compute:v1/compute.instances.setMachineType/project": project +"/compute:v1/compute.instances.setMachineType/zone": zone +"/compute:v1/compute.instances.setMetadata/instance": instance +"/compute:v1/compute.instances.setMetadata/project": project +"/compute:v1/compute.instances.setMetadata/zone": zone +"/compute:v1/compute.instances.setScheduling/instance": instance +"/compute:v1/compute.instances.setScheduling/project": project +"/compute:v1/compute.instances.setScheduling/zone": zone +"/compute:v1/compute.instances.setTags/instance": instance +"/compute:v1/compute.instances.setTags/project": project +"/compute:v1/compute.instances.setTags/zone": zone +"/compute:v1/compute.instances.start": start_instance +"/compute:v1/compute.instances.start/instance": instance +"/compute:v1/compute.instances.start/project": project +"/compute:v1/compute.instances.start/zone": zone +"/compute:v1/compute.instances.startWithEncryptionKey": start_instance_with_encryption_key +"/compute:v1/compute.instances.startWithEncryptionKey/instance": instance +"/compute:v1/compute.instances.startWithEncryptionKey/project": project +"/compute:v1/compute.instances.startWithEncryptionKey/zone": zone +"/compute:v1/compute.instances.stop": stop_instance +"/compute:v1/compute.instances.stop/instance": instance +"/compute:v1/compute.instances.stop/project": project +"/compute:v1/compute.instances.stop/zone": zone +"/compute:v1/compute.licenses.get": get_license +"/compute:v1/compute.licenses.get/license": license +"/compute:v1/compute.licenses.get/project": project +"/compute:v1/compute.machineTypes.aggregatedList/filter": filter +"/compute:v1/compute.machineTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.machineTypes.aggregatedList/orderBy": order_by +"/compute:v1/compute.machineTypes.aggregatedList/pageToken": page_token +"/compute:v1/compute.machineTypes.aggregatedList/project": project +"/compute:v1/compute.machineTypes.get": get_machine_type +"/compute:v1/compute.machineTypes.get/machineType": machine_type +"/compute:v1/compute.machineTypes.get/project": project +"/compute:v1/compute.machineTypes.get/zone": zone +"/compute:v1/compute.machineTypes.list": list_machine_types +"/compute:v1/compute.machineTypes.list/filter": filter +"/compute:v1/compute.machineTypes.list/maxResults": max_results +"/compute:v1/compute.machineTypes.list/orderBy": order_by +"/compute:v1/compute.machineTypes.list/pageToken": page_token +"/compute:v1/compute.machineTypes.list/project": project +"/compute:v1/compute.machineTypes.list/zone": zone +"/compute:v1/compute.networks.delete": delete_network +"/compute:v1/compute.networks.delete/network": network +"/compute:v1/compute.networks.delete/project": project +"/compute:v1/compute.networks.get": get_network +"/compute:v1/compute.networks.get/network": network +"/compute:v1/compute.networks.get/project": project +"/compute:v1/compute.networks.insert": insert_network +"/compute:v1/compute.networks.insert/project": project +"/compute:v1/compute.networks.list": list_networks +"/compute:v1/compute.networks.list/filter": filter +"/compute:v1/compute.networks.list/maxResults": max_results +"/compute:v1/compute.networks.list/orderBy": order_by +"/compute:v1/compute.networks.list/pageToken": page_token +"/compute:v1/compute.networks.list/project": project +"/compute:v1/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:v1/compute.networks.switchToCustomMode/network": network +"/compute:v1/compute.networks.switchToCustomMode/project": project +"/compute:v1/compute.projects.get": get_project +"/compute:v1/compute.projects.get/project": project +"/compute:v1/compute.projects.moveDisk/project": project +"/compute:v1/compute.projects.moveInstance/project": project +"/compute:v1/compute.projects.setCommonInstanceMetadata/project": project +"/compute:v1/compute.projects.setUsageExportBucket/project": project +"/compute:v1/compute.regionAutoscalers.delete": delete_region_autoscaler +"/compute:v1/compute.regionAutoscalers.delete/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.delete/project": project +"/compute:v1/compute.regionAutoscalers.delete/region": region +"/compute:v1/compute.regionAutoscalers.get": get_region_autoscaler +"/compute:v1/compute.regionAutoscalers.get/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.get/project": project +"/compute:v1/compute.regionAutoscalers.get/region": region +"/compute:v1/compute.regionAutoscalers.insert": insert_region_autoscaler +"/compute:v1/compute.regionAutoscalers.insert/project": project +"/compute:v1/compute.regionAutoscalers.insert/region": region +"/compute:v1/compute.regionAutoscalers.list": list_region_autoscalers +"/compute:v1/compute.regionAutoscalers.list/filter": filter +"/compute:v1/compute.regionAutoscalers.list/maxResults": max_results +"/compute:v1/compute.regionAutoscalers.list/orderBy": order_by +"/compute:v1/compute.regionAutoscalers.list/pageToken": page_token +"/compute:v1/compute.regionAutoscalers.list/project": project +"/compute:v1/compute.regionAutoscalers.list/region": region +"/compute:v1/compute.regionAutoscalers.patch": patch_region_autoscaler +"/compute:v1/compute.regionAutoscalers.patch/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.patch/project": project +"/compute:v1/compute.regionAutoscalers.patch/region": region +"/compute:v1/compute.regionAutoscalers.update": update_region_autoscaler +"/compute:v1/compute.regionAutoscalers.update/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.update/project": project +"/compute:v1/compute.regionAutoscalers.update/region": region +"/compute:v1/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:v1/compute.regionBackendServices.delete/backendService": backend_service +"/compute:v1/compute.regionBackendServices.delete/project": project +"/compute:v1/compute.regionBackendServices.delete/region": region +"/compute:v1/compute.regionBackendServices.get": get_region_backend_service +"/compute:v1/compute.regionBackendServices.get/backendService": backend_service +"/compute:v1/compute.regionBackendServices.get/project": project +"/compute:v1/compute.regionBackendServices.get/region": region +"/compute:v1/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:v1/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:v1/compute.regionBackendServices.getHealth/project": project +"/compute:v1/compute.regionBackendServices.getHealth/region": region +"/compute:v1/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:v1/compute.regionBackendServices.insert/project": project +"/compute:v1/compute.regionBackendServices.insert/region": region +"/compute:v1/compute.regionBackendServices.list": list_region_backend_services +"/compute:v1/compute.regionBackendServices.list/filter": filter +"/compute:v1/compute.regionBackendServices.list/maxResults": max_results +"/compute:v1/compute.regionBackendServices.list/orderBy": order_by +"/compute:v1/compute.regionBackendServices.list/pageToken": page_token +"/compute:v1/compute.regionBackendServices.list/project": project +"/compute:v1/compute.regionBackendServices.list/region": region +"/compute:v1/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:v1/compute.regionBackendServices.patch/backendService": backend_service +"/compute:v1/compute.regionBackendServices.patch/project": project +"/compute:v1/compute.regionBackendServices.patch/region": region +"/compute:v1/compute.regionBackendServices.update": update_region_backend_service +"/compute:v1/compute.regionBackendServices.update/backendService": backend_service +"/compute:v1/compute.regionBackendServices.update/project": project +"/compute:v1/compute.regionBackendServices.update/region": region +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/project": project +"/compute:v1/compute.regionInstanceGroupManagers.delete/region": region +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/project": project +"/compute:v1/compute.regionInstanceGroupManagers.get/region": region +"/compute:v1/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.insert/project": project +"/compute:v1/compute.regionInstanceGroupManagers.insert/region": region +"/compute:v1/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers +"/compute:v1/compute.regionInstanceGroupManagers.list/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroupManagers.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.list/project": project +"/compute:v1/compute.regionInstanceGroupManagers.list/region": region +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/project": project +"/compute:v1/compute.regionInstanceGroupManagers.resize/region": region +"/compute:v1/compute.regionInstanceGroupManagers.resize/size": size +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/region": region +"/compute:v1/compute.regionInstanceGroups.get": get_region_instance_group +"/compute:v1/compute.regionInstanceGroups.get/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.get/project": project +"/compute:v1/compute.regionInstanceGroups.get/region": region +"/compute:v1/compute.regionInstanceGroups.list": list_region_instance_groups +"/compute:v1/compute.regionInstanceGroups.list/filter": filter +"/compute:v1/compute.regionInstanceGroups.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.list/project": project +"/compute:v1/compute.regionInstanceGroups.list/region": region +"/compute:v1/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances +"/compute:v1/compute.regionInstanceGroups.listInstances/filter": filter +"/compute:v1/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.listInstances/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.listInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.listInstances/project": project +"/compute:v1/compute.regionInstanceGroups.listInstances/region": region +"/compute:v1/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/project": project +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/region": region +"/compute:v1/compute.regionOperations.delete": delete_region_operation +"/compute:v1/compute.regionOperations.delete/operation": operation +"/compute:v1/compute.regionOperations.delete/project": project +"/compute:v1/compute.regionOperations.delete/region": region +"/compute:v1/compute.regionOperations.get": get_region_operation +"/compute:v1/compute.regionOperations.get/operation": operation +"/compute:v1/compute.regionOperations.get/project": project +"/compute:v1/compute.regionOperations.get/region": region +"/compute:v1/compute.regionOperations.list": list_region_operations +"/compute:v1/compute.regionOperations.list/filter": filter +"/compute:v1/compute.regionOperations.list/maxResults": max_results +"/compute:v1/compute.regionOperations.list/orderBy": order_by +"/compute:v1/compute.regionOperations.list/pageToken": page_token +"/compute:v1/compute.regionOperations.list/project": project +"/compute:v1/compute.regionOperations.list/region": region +"/compute:v1/compute.regions.get": get_region +"/compute:v1/compute.regions.get/project": project +"/compute:v1/compute.regions.get/region": region +"/compute:v1/compute.regions.list": list_regions +"/compute:v1/compute.regions.list/filter": filter +"/compute:v1/compute.regions.list/maxResults": max_results +"/compute:v1/compute.regions.list/orderBy": order_by +"/compute:v1/compute.regions.list/pageToken": page_token +"/compute:v1/compute.regions.list/project": project +"/compute:v1/compute.routers.aggregatedList": aggregated_router_list +"/compute:v1/compute.routers.aggregatedList/filter": filter +"/compute:v1/compute.routers.aggregatedList/maxResults": max_results +"/compute:v1/compute.routers.aggregatedList/orderBy": order_by +"/compute:v1/compute.routers.aggregatedList/pageToken": page_token +"/compute:v1/compute.routers.aggregatedList/project": project +"/compute:v1/compute.routers.delete": delete_router +"/compute:v1/compute.routers.delete/project": project +"/compute:v1/compute.routers.delete/region": region +"/compute:v1/compute.routers.delete/router": router +"/compute:v1/compute.routers.get": get_router +"/compute:v1/compute.routers.get/project": project +"/compute:v1/compute.routers.get/region": region +"/compute:v1/compute.routers.get/router": router +"/compute:v1/compute.routers.getRouterStatus": get_router_router_status +"/compute:v1/compute.routers.getRouterStatus/project": project +"/compute:v1/compute.routers.getRouterStatus/region": region +"/compute:v1/compute.routers.getRouterStatus/router": router +"/compute:v1/compute.routers.insert": insert_router +"/compute:v1/compute.routers.insert/project": project +"/compute:v1/compute.routers.insert/region": region +"/compute:v1/compute.routers.list": list_routers +"/compute:v1/compute.routers.list/filter": filter +"/compute:v1/compute.routers.list/maxResults": max_results +"/compute:v1/compute.routers.list/orderBy": order_by +"/compute:v1/compute.routers.list/pageToken": page_token +"/compute:v1/compute.routers.list/project": project +"/compute:v1/compute.routers.list/region": region +"/compute:v1/compute.routers.patch": patch_router +"/compute:v1/compute.routers.patch/project": project +"/compute:v1/compute.routers.patch/region": region +"/compute:v1/compute.routers.patch/router": router +"/compute:v1/compute.routers.preview": preview_router +"/compute:v1/compute.routers.preview/project": project +"/compute:v1/compute.routers.preview/region": region +"/compute:v1/compute.routers.preview/router": router +"/compute:v1/compute.routers.update": update_router +"/compute:v1/compute.routers.update/project": project +"/compute:v1/compute.routers.update/region": region +"/compute:v1/compute.routers.update/router": router +"/compute:v1/compute.routes.delete": delete_route +"/compute:v1/compute.routes.delete/project": project +"/compute:v1/compute.routes.delete/route": route +"/compute:v1/compute.routes.get": get_route +"/compute:v1/compute.routes.get/project": project +"/compute:v1/compute.routes.get/route": route +"/compute:v1/compute.routes.insert": insert_route +"/compute:v1/compute.routes.insert/project": project +"/compute:v1/compute.routes.list": list_routes +"/compute:v1/compute.routes.list/filter": filter +"/compute:v1/compute.routes.list/maxResults": max_results +"/compute:v1/compute.routes.list/orderBy": order_by +"/compute:v1/compute.routes.list/pageToken": page_token +"/compute:v1/compute.routes.list/project": project +"/compute:v1/compute.snapshots.delete": delete_snapshot +"/compute:v1/compute.snapshots.delete/project": project +"/compute:v1/compute.snapshots.delete/snapshot": snapshot +"/compute:v1/compute.snapshots.get": get_snapshot +"/compute:v1/compute.snapshots.get/project": project +"/compute:v1/compute.snapshots.get/snapshot": snapshot +"/compute:v1/compute.snapshots.list": list_snapshots +"/compute:v1/compute.snapshots.list/filter": filter +"/compute:v1/compute.snapshots.list/maxResults": max_results +"/compute:v1/compute.snapshots.list/orderBy": order_by +"/compute:v1/compute.snapshots.list/pageToken": page_token +"/compute:v1/compute.snapshots.list/project": project +"/compute:v1/compute.sslCertificates.delete": delete_ssl_certificate +"/compute:v1/compute.sslCertificates.delete/project": project +"/compute:v1/compute.sslCertificates.delete/sslCertificate": ssl_certificate +"/compute:v1/compute.sslCertificates.get": get_ssl_certificate +"/compute:v1/compute.sslCertificates.get/project": project +"/compute:v1/compute.sslCertificates.get/sslCertificate": ssl_certificate +"/compute:v1/compute.sslCertificates.insert": insert_ssl_certificate +"/compute:v1/compute.sslCertificates.insert/project": project +"/compute:v1/compute.sslCertificates.list": list_ssl_certificates +"/compute:v1/compute.sslCertificates.list/filter": filter +"/compute:v1/compute.sslCertificates.list/maxResults": max_results +"/compute:v1/compute.sslCertificates.list/orderBy": order_by +"/compute:v1/compute.sslCertificates.list/pageToken": page_token +"/compute:v1/compute.sslCertificates.list/project": project +"/compute:v1/compute.subnetworks.aggregatedList": aggregated_subnetwork_list +"/compute:v1/compute.subnetworks.aggregatedList/filter": filter +"/compute:v1/compute.subnetworks.aggregatedList/maxResults": max_results +"/compute:v1/compute.subnetworks.aggregatedList/orderBy": order_by +"/compute:v1/compute.subnetworks.aggregatedList/pageToken": page_token +"/compute:v1/compute.subnetworks.aggregatedList/project": project +"/compute:v1/compute.subnetworks.delete": delete_subnetwork +"/compute:v1/compute.subnetworks.delete/project": project +"/compute:v1/compute.subnetworks.delete/region": region +"/compute:v1/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:v1/compute.subnetworks.expandIpCidrRange/project": project +"/compute:v1/compute.subnetworks.expandIpCidrRange/region": region +"/compute:v1/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.get": get_subnetwork +"/compute:v1/compute.subnetworks.get/project": project +"/compute:v1/compute.subnetworks.get/region": region +"/compute:v1/compute.subnetworks.get/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.insert": insert_subnetwork +"/compute:v1/compute.subnetworks.insert/project": project +"/compute:v1/compute.subnetworks.insert/region": region +"/compute:v1/compute.subnetworks.list": list_subnetworks +"/compute:v1/compute.subnetworks.list/filter": filter +"/compute:v1/compute.subnetworks.list/maxResults": max_results +"/compute:v1/compute.subnetworks.list/orderBy": order_by +"/compute:v1/compute.subnetworks.list/pageToken": page_token +"/compute:v1/compute.subnetworks.list/project": project +"/compute:v1/compute.subnetworks.list/region": region +"/compute:v1/compute.targetHttpProxies.delete": delete_target_http_proxy +"/compute:v1/compute.targetHttpProxies.delete/project": project +"/compute:v1/compute.targetHttpProxies.delete/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpProxies.get": get_target_http_proxy +"/compute:v1/compute.targetHttpProxies.get/project": project +"/compute:v1/compute.targetHttpProxies.get/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpProxies.insert": insert_target_http_proxy +"/compute:v1/compute.targetHttpProxies.insert/project": project +"/compute:v1/compute.targetHttpProxies.list": list_target_http_proxies +"/compute:v1/compute.targetHttpProxies.list/filter": filter +"/compute:v1/compute.targetHttpProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpProxies.list/orderBy": order_by +"/compute:v1/compute.targetHttpProxies.list/pageToken": page_token +"/compute:v1/compute.targetHttpProxies.list/project": project +"/compute:v1/compute.targetHttpProxies.setUrlMap/project": project +"/compute:v1/compute.targetHttpProxies.setUrlMap/targetHttpProxy": target_http_proxy +"/compute:v1/compute.targetHttpsProxies.delete": delete_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.delete/project": project +"/compute:v1/compute.targetHttpsProxies.delete/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.get": get_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.get/project": project +"/compute:v1/compute.targetHttpsProxies.get/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.insert": insert_target_https_proxy +"/compute:v1/compute.targetHttpsProxies.insert/project": project +"/compute:v1/compute.targetHttpsProxies.list": list_target_https_proxies +"/compute:v1/compute.targetHttpsProxies.list/filter": filter +"/compute:v1/compute.targetHttpsProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpsProxies.list/orderBy": order_by +"/compute:v1/compute.targetHttpsProxies.list/pageToken": page_token +"/compute:v1/compute.targetHttpsProxies.list/project": project +"/compute:v1/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates +"/compute:v1/compute.targetHttpsProxies.setSslCertificates/project": project +"/compute:v1/compute.targetHttpsProxies.setSslCertificates/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetHttpsProxies.setUrlMap": set_target_https_proxy_url_map +"/compute:v1/compute.targetHttpsProxies.setUrlMap/project": project +"/compute:v1/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy +"/compute:v1/compute.targetInstances.aggregatedList/filter": filter +"/compute:v1/compute.targetInstances.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetInstances.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetInstances.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetInstances.aggregatedList/project": project +"/compute:v1/compute.targetInstances.delete": delete_target_instance +"/compute:v1/compute.targetInstances.delete/project": project +"/compute:v1/compute.targetInstances.delete/targetInstance": target_instance +"/compute:v1/compute.targetInstances.delete/zone": zone +"/compute:v1/compute.targetInstances.get": get_target_instance +"/compute:v1/compute.targetInstances.get/project": project +"/compute:v1/compute.targetInstances.get/targetInstance": target_instance +"/compute:v1/compute.targetInstances.get/zone": zone +"/compute:v1/compute.targetInstances.insert": insert_target_instance +"/compute:v1/compute.targetInstances.insert/project": project +"/compute:v1/compute.targetInstances.insert/zone": zone +"/compute:v1/compute.targetInstances.list": list_target_instances +"/compute:v1/compute.targetInstances.list/filter": filter +"/compute:v1/compute.targetInstances.list/maxResults": max_results +"/compute:v1/compute.targetInstances.list/orderBy": order_by +"/compute:v1/compute.targetInstances.list/pageToken": page_token +"/compute:v1/compute.targetInstances.list/project": project +"/compute:v1/compute.targetInstances.list/zone": zone +"/compute:v1/compute.targetPools.addHealthCheck/project": project +"/compute:v1/compute.targetPools.addHealthCheck/region": region +"/compute:v1/compute.targetPools.addHealthCheck/targetPool": target_pool +"/compute:v1/compute.targetPools.addInstance/project": project +"/compute:v1/compute.targetPools.addInstance/region": region +"/compute:v1/compute.targetPools.addInstance/targetPool": target_pool +"/compute:v1/compute.targetPools.aggregatedList/filter": filter +"/compute:v1/compute.targetPools.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetPools.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetPools.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetPools.aggregatedList/project": project +"/compute:v1/compute.targetPools.delete": delete_target_pool +"/compute:v1/compute.targetPools.delete/project": project +"/compute:v1/compute.targetPools.delete/region": region +"/compute:v1/compute.targetPools.delete/targetPool": target_pool +"/compute:v1/compute.targetPools.get": get_target_pool +"/compute:v1/compute.targetPools.get/project": project +"/compute:v1/compute.targetPools.get/region": region +"/compute:v1/compute.targetPools.get/targetPool": target_pool +"/compute:v1/compute.targetPools.getHealth/project": project +"/compute:v1/compute.targetPools.getHealth/region": region +"/compute:v1/compute.targetPools.getHealth/targetPool": target_pool +"/compute:v1/compute.targetPools.insert": insert_target_pool +"/compute:v1/compute.targetPools.insert/project": project +"/compute:v1/compute.targetPools.insert/region": region +"/compute:v1/compute.targetPools.list": list_target_pools +"/compute:v1/compute.targetPools.list/filter": filter +"/compute:v1/compute.targetPools.list/maxResults": max_results +"/compute:v1/compute.targetPools.list/orderBy": order_by +"/compute:v1/compute.targetPools.list/pageToken": page_token +"/compute:v1/compute.targetPools.list/project": project +"/compute:v1/compute.targetPools.list/region": region +"/compute:v1/compute.targetPools.removeHealthCheck/project": project +"/compute:v1/compute.targetPools.removeHealthCheck/region": region +"/compute:v1/compute.targetPools.removeHealthCheck/targetPool": target_pool +"/compute:v1/compute.targetPools.removeInstance/project": project +"/compute:v1/compute.targetPools.removeInstance/region": region +"/compute:v1/compute.targetPools.removeInstance/targetPool": target_pool +"/compute:v1/compute.targetPools.setBackup/failoverRatio": failover_ratio +"/compute:v1/compute.targetPools.setBackup/project": project +"/compute:v1/compute.targetPools.setBackup/region": region +"/compute:v1/compute.targetPools.setBackup/targetPool": target_pool +"/compute:v1/compute.targetSslProxies.delete": delete_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.delete/project": project +"/compute:v1/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get": get_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get/project": project +"/compute:v1/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert": insert_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert/project": project +"/compute:v1/compute.targetSslProxies.list": list_target_ssl_proxies +"/compute:v1/compute.targetSslProxies.list/filter": filter +"/compute:v1/compute.targetSslProxies.list/maxResults": max_results +"/compute:v1/compute.targetSslProxies.list/orderBy": order_by +"/compute:v1/compute.targetSslProxies.list/pageToken": page_token +"/compute:v1/compute.targetSslProxies.list/project": project +"/compute:v1/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service +"/compute:v1/compute.targetSslProxies.setBackendService/project": project +"/compute:v1/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header +"/compute:v1/compute.targetSslProxies.setProxyHeader/project": project +"/compute:v1/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates +"/compute:v1/compute.targetSslProxies.setSslCertificates/project": project +"/compute:v1/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetVpnGateways.aggregatedList/filter": filter +"/compute:v1/compute.targetVpnGateways.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.aggregatedList/orderBy": order_by +"/compute:v1/compute.targetVpnGateways.aggregatedList/pageToken": page_token +"/compute:v1/compute.targetVpnGateways.aggregatedList/project": project +"/compute:v1/compute.targetVpnGateways.delete/project": project +"/compute:v1/compute.targetVpnGateways.delete/region": region +"/compute:v1/compute.targetVpnGateways.delete/targetVpnGateway": target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.get/project": project +"/compute:v1/compute.targetVpnGateways.get/region": region +"/compute:v1/compute.targetVpnGateways.get/targetVpnGateway": target_vpn_gateway +"/compute:v1/compute.targetVpnGateways.insert/project": project +"/compute:v1/compute.targetVpnGateways.insert/region": region +"/compute:v1/compute.targetVpnGateways.list/filter": filter +"/compute:v1/compute.targetVpnGateways.list/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.list/orderBy": order_by +"/compute:v1/compute.targetVpnGateways.list/pageToken": page_token +"/compute:v1/compute.targetVpnGateways.list/project": project +"/compute:v1/compute.targetVpnGateways.list/region": region +"/compute:v1/compute.urlMaps.delete": delete_url_map +"/compute:v1/compute.urlMaps.delete/project": project +"/compute:v1/compute.urlMaps.delete/urlMap": url_map +"/compute:v1/compute.urlMaps.get": get_url_map +"/compute:v1/compute.urlMaps.get/project": project +"/compute:v1/compute.urlMaps.get/urlMap": url_map +"/compute:v1/compute.urlMaps.insert": insert_url_map +"/compute:v1/compute.urlMaps.insert/project": project +"/compute:v1/compute.urlMaps.invalidateCache": invalidate_url_map_cache +"/compute:v1/compute.urlMaps.invalidateCache/project": project +"/compute:v1/compute.urlMaps.invalidateCache/urlMap": url_map +"/compute:v1/compute.urlMaps.list": list_url_maps +"/compute:v1/compute.urlMaps.list/filter": filter +"/compute:v1/compute.urlMaps.list/maxResults": max_results +"/compute:v1/compute.urlMaps.list/orderBy": order_by +"/compute:v1/compute.urlMaps.list/pageToken": page_token +"/compute:v1/compute.urlMaps.list/project": project +"/compute:v1/compute.urlMaps.patch": patch_url_map +"/compute:v1/compute.urlMaps.patch/project": project +"/compute:v1/compute.urlMaps.patch/urlMap": url_map +"/compute:v1/compute.urlMaps.update": update_url_map +"/compute:v1/compute.urlMaps.update/project": project +"/compute:v1/compute.urlMaps.update/urlMap": url_map +"/compute:v1/compute.urlMaps.validate": validate_url_map +"/compute:v1/compute.urlMaps.validate/project": project +"/compute:v1/compute.urlMaps.validate/urlMap": url_map +"/compute:v1/compute.vpnTunnels.aggregatedList/filter": filter +"/compute:v1/compute.vpnTunnels.aggregatedList/maxResults": max_results +"/compute:v1/compute.vpnTunnels.aggregatedList/orderBy": order_by +"/compute:v1/compute.vpnTunnels.aggregatedList/pageToken": page_token +"/compute:v1/compute.vpnTunnels.aggregatedList/project": project +"/compute:v1/compute.vpnTunnels.delete": delete_vpn_tunnel +"/compute:v1/compute.vpnTunnels.delete/project": project +"/compute:v1/compute.vpnTunnels.delete/region": region +"/compute:v1/compute.vpnTunnels.delete/vpnTunnel": vpn_tunnel +"/compute:v1/compute.vpnTunnels.get": get_vpn_tunnel +"/compute:v1/compute.vpnTunnels.get/project": project +"/compute:v1/compute.vpnTunnels.get/region": region +"/compute:v1/compute.vpnTunnels.get/vpnTunnel": vpn_tunnel +"/compute:v1/compute.vpnTunnels.insert": insert_vpn_tunnel +"/compute:v1/compute.vpnTunnels.insert/project": project +"/compute:v1/compute.vpnTunnels.insert/region": region +"/compute:v1/compute.vpnTunnels.list": list_vpn_tunnels +"/compute:v1/compute.vpnTunnels.list/filter": filter +"/compute:v1/compute.vpnTunnels.list/maxResults": max_results +"/compute:v1/compute.vpnTunnels.list/orderBy": order_by +"/compute:v1/compute.vpnTunnels.list/pageToken": page_token +"/compute:v1/compute.vpnTunnels.list/project": project +"/compute:v1/compute.vpnTunnels.list/region": region +"/compute:v1/compute.zoneOperations.delete": delete_zone_operation +"/compute:v1/compute.zoneOperations.delete/operation": operation +"/compute:v1/compute.zoneOperations.delete/project": project +"/compute:v1/compute.zoneOperations.delete/zone": zone +"/compute:v1/compute.zoneOperations.get": get_zone_operation +"/compute:v1/compute.zoneOperations.get/operation": operation +"/compute:v1/compute.zoneOperations.get/project": project +"/compute:v1/compute.zoneOperations.get/zone": zone +"/compute:v1/compute.zoneOperations.list": list_zone_operations +"/compute:v1/compute.zoneOperations.list/filter": filter +"/compute:v1/compute.zoneOperations.list/maxResults": max_results +"/compute:v1/compute.zoneOperations.list/orderBy": order_by +"/compute:v1/compute.zoneOperations.list/pageToken": page_token +"/compute:v1/compute.zoneOperations.list/project": project +"/compute:v1/compute.zoneOperations.list/zone": zone +"/compute:v1/compute.zones.get": get_zone +"/compute:v1/compute.zones.get/project": project +"/compute:v1/compute.zones.get/zone": zone +"/compute:v1/compute.zones.list": list_zones +"/compute:v1/compute.zones.list/filter": filter +"/compute:v1/compute.zones.list/maxResults": max_results +"/compute:v1/compute.zones.list/orderBy": order_by +"/compute:v1/compute.zones.list/pageToken": page_token +"/compute:v1/compute.zones.list/project": project +"/compute:v1/AccessConfig": access_config +"/compute:v1/AccessConfig/kind": kind +"/compute:v1/AccessConfig/name": name +"/compute:v1/AccessConfig/natIP": nat_ip +"/compute:v1/AccessConfig/type": type +"/compute:v1/Address": address +"/compute:v1/Address/address": address +"/compute:v1/Address/creationTimestamp": creation_timestamp +"/compute:v1/Address/description": description +"/compute:v1/Address/id": id +"/compute:v1/Address/kind": kind +"/compute:v1/Address/name": name +"/compute:v1/Address/region": region +"/compute:v1/Address/selfLink": self_link +"/compute:v1/Address/status": status +"/compute:v1/Address/users": users +"/compute:v1/Address/users/user": user +"/compute:v1/AddressAggregatedList": address_aggregated_list +"/compute:v1/AddressAggregatedList/id": id +"/compute:v1/AddressAggregatedList/items": items +"/compute:v1/AddressAggregatedList/items/item": item +"/compute:v1/AddressAggregatedList/kind": kind +"/compute:v1/AddressAggregatedList/nextPageToken": next_page_token +"/compute:v1/AddressAggregatedList/selfLink": self_link +"/compute:v1/AddressList": address_list +"/compute:v1/AddressList/id": id +"/compute:v1/AddressList/items": items +"/compute:v1/AddressList/items/item": item +"/compute:v1/AddressList/kind": kind +"/compute:v1/AddressList/nextPageToken": next_page_token +"/compute:v1/AddressList/selfLink": self_link +"/compute:v1/AddressesScopedList": addresses_scoped_list +"/compute:v1/AddressesScopedList/addresses": addresses +"/compute:v1/AddressesScopedList/addresses/address": address +"/compute:v1/AddressesScopedList/warning": warning +"/compute:v1/AddressesScopedList/warning/code": code +"/compute:v1/AddressesScopedList/warning/data": data +"/compute:v1/AddressesScopedList/warning/data/datum": datum +"/compute:v1/AddressesScopedList/warning/data/datum/key": key +"/compute:v1/AddressesScopedList/warning/data/datum/value": value +"/compute:v1/AddressesScopedList/warning/message": message +"/compute:v1/AttachedDisk": attached_disk +"/compute:v1/AttachedDisk/autoDelete": auto_delete +"/compute:v1/AttachedDisk/boot": boot +"/compute:v1/AttachedDisk/deviceName": device_name +"/compute:v1/AttachedDisk/diskEncryptionKey": disk_encryption_key +"/compute:v1/AttachedDisk/index": index +"/compute:v1/AttachedDisk/initializeParams": initialize_params +"/compute:v1/AttachedDisk/interface": interface +"/compute:v1/AttachedDisk/kind": kind +"/compute:v1/AttachedDisk/licenses": licenses +"/compute:v1/AttachedDisk/licenses/license": license +"/compute:v1/AttachedDisk/mode": mode +"/compute:v1/AttachedDisk/source": source +"/compute:v1/AttachedDisk/type": type +"/compute:v1/AttachedDiskInitializeParams": attached_disk_initialize_params +"/compute:v1/AttachedDiskInitializeParams/diskName": disk_name +"/compute:v1/AttachedDiskInitializeParams/diskSizeGb": disk_size_gb +"/compute:v1/AttachedDiskInitializeParams/diskType": disk_type +"/compute:v1/AttachedDiskInitializeParams/sourceImage": source_image +"/compute:v1/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key +"/compute:v1/Autoscaler": autoscaler +"/compute:v1/Autoscaler/autoscalingPolicy": autoscaling_policy +"/compute:v1/Autoscaler/creationTimestamp": creation_timestamp +"/compute:v1/Autoscaler/description": description +"/compute:v1/Autoscaler/id": id +"/compute:v1/Autoscaler/kind": kind +"/compute:v1/Autoscaler/name": name +"/compute:v1/Autoscaler/region": region +"/compute:v1/Autoscaler/selfLink": self_link +"/compute:v1/Autoscaler/target": target +"/compute:v1/Autoscaler/zone": zone +"/compute:v1/AutoscalerAggregatedList": autoscaler_aggregated_list +"/compute:v1/AutoscalerAggregatedList/id": id +"/compute:v1/AutoscalerAggregatedList/items": items +"/compute:v1/AutoscalerAggregatedList/items/item": item +"/compute:v1/AutoscalerAggregatedList/kind": kind +"/compute:v1/AutoscalerAggregatedList/nextPageToken": next_page_token +"/compute:v1/AutoscalerAggregatedList/selfLink": self_link +"/compute:v1/AutoscalerList": autoscaler_list +"/compute:v1/AutoscalerList/id": id +"/compute:v1/AutoscalerList/items": items +"/compute:v1/AutoscalerList/items/item": item +"/compute:v1/AutoscalerList/kind": kind +"/compute:v1/AutoscalerList/nextPageToken": next_page_token +"/compute:v1/AutoscalerList/selfLink": self_link +"/compute:v1/AutoscalersScopedList": autoscalers_scoped_list +"/compute:v1/AutoscalersScopedList/autoscalers": autoscalers +"/compute:v1/AutoscalersScopedList/autoscalers/autoscaler": autoscaler +"/compute:v1/AutoscalersScopedList/warning": warning +"/compute:v1/AutoscalersScopedList/warning/code": code +"/compute:v1/AutoscalersScopedList/warning/data": data +"/compute:v1/AutoscalersScopedList/warning/data/datum": datum +"/compute:v1/AutoscalersScopedList/warning/data/datum/key": key +"/compute:v1/AutoscalersScopedList/warning/data/datum/value": value +"/compute:v1/AutoscalersScopedList/warning/message": message +"/compute:v1/AutoscalingPolicy": autoscaling_policy +"/compute:v1/AutoscalingPolicy/coolDownPeriodSec": cool_down_period_sec +"/compute:v1/AutoscalingPolicy/cpuUtilization": cpu_utilization +"/compute:v1/AutoscalingPolicy/customMetricUtilizations": custom_metric_utilizations +"/compute:v1/AutoscalingPolicy/customMetricUtilizations/custom_metric_utilization": custom_metric_utilization +"/compute:v1/AutoscalingPolicy/loadBalancingUtilization": load_balancing_utilization +"/compute:v1/AutoscalingPolicy/maxNumReplicas": max_num_replicas +"/compute:v1/AutoscalingPolicy/minNumReplicas": min_num_replicas +"/compute:v1/AutoscalingPolicyCpuUtilization": autoscaling_policy_cpu_utilization +"/compute:v1/AutoscalingPolicyCpuUtilization/utilizationTarget": utilization_target +"/compute:v1/AutoscalingPolicyCustomMetricUtilization": autoscaling_policy_custom_metric_utilization +"/compute:v1/AutoscalingPolicyCustomMetricUtilization/metric": metric +"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTarget": utilization_target +"/compute:v1/AutoscalingPolicyCustomMetricUtilization/utilizationTargetType": utilization_target_type +"/compute:v1/AutoscalingPolicyLoadBalancingUtilization": autoscaling_policy_load_balancing_utilization +"/compute:v1/AutoscalingPolicyLoadBalancingUtilization/utilizationTarget": utilization_target +"/compute:v1/Backend": backend +"/compute:v1/Backend/balancingMode": balancing_mode +"/compute:v1/Backend/capacityScaler": capacity_scaler +"/compute:v1/Backend/description": description +"/compute:v1/Backend/group": group +"/compute:v1/Backend/maxConnections": max_connections +"/compute:v1/Backend/maxConnectionsPerInstance": max_connections_per_instance +"/compute:v1/Backend/maxRate": max_rate +"/compute:v1/Backend/maxRatePerInstance": max_rate_per_instance +"/compute:v1/Backend/maxUtilization": max_utilization +"/compute:v1/BackendService": backend_service +"/compute:v1/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec +"/compute:v1/BackendService/backends": backends +"/compute:v1/BackendService/backends/backend": backend +"/compute:v1/BackendService/connectionDraining": connection_draining +"/compute:v1/BackendService/creationTimestamp": creation_timestamp +"/compute:v1/BackendService/description": description +"/compute:v1/BackendService/enableCDN": enable_cdn +"/compute:v1/BackendService/fingerprint": fingerprint +"/compute:v1/BackendService/healthChecks": health_checks +"/compute:v1/BackendService/healthChecks/health_check": health_check +"/compute:v1/BackendService/id": id +"/compute:v1/BackendService/kind": kind +"/compute:v1/BackendService/loadBalancingScheme": load_balancing_scheme +"/compute:v1/BackendService/name": name +"/compute:v1/BackendService/port": port +"/compute:v1/BackendService/portName": port_name +"/compute:v1/BackendService/protocol": protocol +"/compute:v1/BackendService/region": region +"/compute:v1/BackendService/selfLink": self_link +"/compute:v1/BackendService/sessionAffinity": session_affinity +"/compute:v1/BackendService/timeoutSec": timeout_sec +"/compute:v1/BackendServiceAggregatedList": backend_service_aggregated_list +"/compute:v1/BackendServiceAggregatedList/id": id +"/compute:v1/BackendServiceAggregatedList/items": items +"/compute:v1/BackendServiceAggregatedList/items/item": item +"/compute:v1/BackendServiceAggregatedList/kind": kind +"/compute:v1/BackendServiceAggregatedList/nextPageToken": next_page_token +"/compute:v1/BackendServiceAggregatedList/selfLink": self_link +"/compute:v1/BackendServiceGroupHealth": backend_service_group_health +"/compute:v1/BackendServiceGroupHealth/healthStatus": health_status +"/compute:v1/BackendServiceGroupHealth/healthStatus/health_status": health_status +"/compute:v1/BackendServiceGroupHealth/kind": kind +"/compute:v1/BackendServiceList": backend_service_list +"/compute:v1/BackendServiceList/id": id +"/compute:v1/BackendServiceList/items": items +"/compute:v1/BackendServiceList/items/item": item +"/compute:v1/BackendServiceList/kind": kind +"/compute:v1/BackendServiceList/nextPageToken": next_page_token +"/compute:v1/BackendServiceList/selfLink": self_link +"/compute:v1/BackendServicesScopedList": backend_services_scoped_list +"/compute:v1/BackendServicesScopedList/backendServices": backend_services +"/compute:v1/BackendServicesScopedList/backendServices/backend_service": backend_service +"/compute:v1/BackendServicesScopedList/warning": warning +"/compute:v1/BackendServicesScopedList/warning/code": code +"/compute:v1/BackendServicesScopedList/warning/data": data +"/compute:v1/BackendServicesScopedList/warning/data/datum": datum +"/compute:v1/BackendServicesScopedList/warning/data/datum/key": key +"/compute:v1/BackendServicesScopedList/warning/data/datum/value": value +"/compute:v1/BackendServicesScopedList/warning/message": message +"/compute:v1/CacheInvalidationRule": cache_invalidation_rule +"/compute:v1/CacheInvalidationRule/host": host +"/compute:v1/CacheInvalidationRule/path": path +"/compute:v1/ConnectionDraining": connection_draining +"/compute:v1/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec +"/compute:v1/CustomerEncryptionKey": customer_encryption_key +"/compute:v1/CustomerEncryptionKey/rawKey": raw_key +"/compute:v1/CustomerEncryptionKey/sha256": sha256 +"/compute:v1/CustomerEncryptionKeyProtectedDisk": customer_encryption_key_protected_disk +"/compute:v1/CustomerEncryptionKeyProtectedDisk/diskEncryptionKey": disk_encryption_key +"/compute:v1/CustomerEncryptionKeyProtectedDisk/source": source +"/compute:v1/DeprecationStatus": deprecation_status +"/compute:v1/DeprecationStatus/deleted": deleted +"/compute:v1/DeprecationStatus/deprecated": deprecated +"/compute:v1/DeprecationStatus/obsolete": obsolete +"/compute:v1/DeprecationStatus/replacement": replacement +"/compute:v1/DeprecationStatus/state": state +"/compute:v1/Disk": disk +"/compute:v1/Disk/creationTimestamp": creation_timestamp +"/compute:v1/Disk/description": description +"/compute:v1/Disk/diskEncryptionKey": disk_encryption_key +"/compute:v1/Disk/id": id +"/compute:v1/Disk/kind": kind +"/compute:v1/Disk/lastAttachTimestamp": last_attach_timestamp +"/compute:v1/Disk/lastDetachTimestamp": last_detach_timestamp +"/compute:v1/Disk/licenses": licenses +"/compute:v1/Disk/licenses/license": license +"/compute:v1/Disk/name": name +"/compute:v1/Disk/options": options +"/compute:v1/Disk/selfLink": self_link +"/compute:v1/Disk/sizeGb": size_gb +"/compute:v1/Disk/sourceImage": source_image +"/compute:v1/Disk/sourceImageEncryptionKey": source_image_encryption_key +"/compute:v1/Disk/sourceImageId": source_image_id +"/compute:v1/Disk/sourceSnapshot": source_snapshot +"/compute:v1/Disk/sourceSnapshotEncryptionKey": source_snapshot_encryption_key +"/compute:v1/Disk/sourceSnapshotId": source_snapshot_id +"/compute:v1/Disk/status": status +"/compute:v1/Disk/type": type +"/compute:v1/Disk/users": users +"/compute:v1/Disk/users/user": user +"/compute:v1/Disk/zone": zone +"/compute:v1/DiskAggregatedList": disk_aggregated_list +"/compute:v1/DiskAggregatedList/id": id +"/compute:v1/DiskAggregatedList/items": items +"/compute:v1/DiskAggregatedList/items/item": item +"/compute:v1/DiskAggregatedList/kind": kind +"/compute:v1/DiskAggregatedList/nextPageToken": next_page_token +"/compute:v1/DiskAggregatedList/selfLink": self_link +"/compute:v1/DiskList": disk_list +"/compute:v1/DiskList/id": id +"/compute:v1/DiskList/items": items +"/compute:v1/DiskList/items/item": item +"/compute:v1/DiskList/kind": kind +"/compute:v1/DiskList/nextPageToken": next_page_token +"/compute:v1/DiskList/selfLink": self_link +"/compute:v1/DiskMoveRequest/destinationZone": destination_zone +"/compute:v1/DiskMoveRequest/targetDisk": target_disk +"/compute:v1/DiskType": disk_type +"/compute:v1/DiskType/creationTimestamp": creation_timestamp +"/compute:v1/DiskType/defaultDiskSizeGb": default_disk_size_gb +"/compute:v1/DiskType/deprecated": deprecated +"/compute:v1/DiskType/description": description +"/compute:v1/DiskType/id": id +"/compute:v1/DiskType/kind": kind +"/compute:v1/DiskType/name": name +"/compute:v1/DiskType/selfLink": self_link +"/compute:v1/DiskType/validDiskSize": valid_disk_size +"/compute:v1/DiskType/zone": zone +"/compute:v1/DiskTypeAggregatedList": disk_type_aggregated_list +"/compute:v1/DiskTypeAggregatedList/id": id +"/compute:v1/DiskTypeAggregatedList/items": items +"/compute:v1/DiskTypeAggregatedList/items/item": item +"/compute:v1/DiskTypeAggregatedList/kind": kind +"/compute:v1/DiskTypeAggregatedList/nextPageToken": next_page_token +"/compute:v1/DiskTypeAggregatedList/selfLink": self_link +"/compute:v1/DiskTypeList": disk_type_list +"/compute:v1/DiskTypeList/id": id +"/compute:v1/DiskTypeList/items": items +"/compute:v1/DiskTypeList/items/item": item +"/compute:v1/DiskTypeList/kind": kind +"/compute:v1/DiskTypeList/nextPageToken": next_page_token +"/compute:v1/DiskTypeList/selfLink": self_link +"/compute:v1/DiskTypesScopedList": disk_types_scoped_list +"/compute:v1/DiskTypesScopedList/diskTypes": disk_types +"/compute:v1/DiskTypesScopedList/diskTypes/disk_type": disk_type +"/compute:v1/DiskTypesScopedList/warning": warning +"/compute:v1/DiskTypesScopedList/warning/code": code +"/compute:v1/DiskTypesScopedList/warning/data": data +"/compute:v1/DiskTypesScopedList/warning/data/datum": datum +"/compute:v1/DiskTypesScopedList/warning/data/datum/key": key +"/compute:v1/DiskTypesScopedList/warning/data/datum/value": value +"/compute:v1/DiskTypesScopedList/warning/message": message +"/compute:v1/DisksResizeRequest": disks_resize_request +"/compute:v1/DisksResizeRequest/sizeGb": size_gb +"/compute:v1/DisksScopedList": disks_scoped_list +"/compute:v1/DisksScopedList/disks": disks +"/compute:v1/DisksScopedList/disks/disk": disk +"/compute:v1/DisksScopedList/warning": warning +"/compute:v1/DisksScopedList/warning/code": code +"/compute:v1/DisksScopedList/warning/data": data +"/compute:v1/DisksScopedList/warning/data/datum": datum +"/compute:v1/DisksScopedList/warning/data/datum/key": key +"/compute:v1/DisksScopedList/warning/data/datum/value": value +"/compute:v1/DisksScopedList/warning/message": message +"/compute:v1/Firewall": firewall +"/compute:v1/Firewall/allowed": allowed +"/compute:v1/Firewall/allowed/allowed": allowed +"/compute:v1/Firewall/allowed/allowed/IPProtocol": ip_protocol +"/compute:v1/Firewall/allowed/allowed/ports": ports +"/compute:v1/Firewall/allowed/allowed/ports/port": port +"/compute:v1/Firewall/creationTimestamp": creation_timestamp +"/compute:v1/Firewall/description": description +"/compute:v1/Firewall/id": id +"/compute:v1/Firewall/kind": kind +"/compute:v1/Firewall/name": name +"/compute:v1/Firewall/network": network +"/compute:v1/Firewall/selfLink": self_link +"/compute:v1/Firewall/sourceRanges": source_ranges +"/compute:v1/Firewall/sourceRanges/source_range": source_range +"/compute:v1/Firewall/sourceTags": source_tags +"/compute:v1/Firewall/sourceTags/source_tag": source_tag +"/compute:v1/Firewall/targetTags": target_tags +"/compute:v1/Firewall/targetTags/target_tag": target_tag +"/compute:v1/FirewallList": firewall_list +"/compute:v1/FirewallList/id": id +"/compute:v1/FirewallList/items": items +"/compute:v1/FirewallList/items/item": item +"/compute:v1/FirewallList/kind": kind +"/compute:v1/FirewallList/nextPageToken": next_page_token +"/compute:v1/FirewallList/selfLink": self_link +"/compute:v1/ForwardingRule": forwarding_rule +"/compute:v1/ForwardingRule/IPAddress": ip_address +"/compute:v1/ForwardingRule/IPProtocol": ip_protocol +"/compute:v1/ForwardingRule/backendService": backend_service +"/compute:v1/ForwardingRule/creationTimestamp": creation_timestamp +"/compute:v1/ForwardingRule/description": description +"/compute:v1/ForwardingRule/id": id +"/compute:v1/ForwardingRule/kind": kind +"/compute:v1/ForwardingRule/loadBalancingScheme": load_balancing_scheme +"/compute:v1/ForwardingRule/name": name +"/compute:v1/ForwardingRule/network": network +"/compute:v1/ForwardingRule/portRange": port_range +"/compute:v1/ForwardingRule/ports": ports +"/compute:v1/ForwardingRule/ports/port": port +"/compute:v1/ForwardingRule/region": region +"/compute:v1/ForwardingRule/selfLink": self_link +"/compute:v1/ForwardingRule/subnetwork": subnetwork +"/compute:v1/ForwardingRule/target": target +"/compute:v1/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list +"/compute:v1/ForwardingRuleAggregatedList/id": id +"/compute:v1/ForwardingRuleAggregatedList/items": items +"/compute:v1/ForwardingRuleAggregatedList/items/item": item +"/compute:v1/ForwardingRuleAggregatedList/kind": kind +"/compute:v1/ForwardingRuleAggregatedList/nextPageToken": next_page_token +"/compute:v1/ForwardingRuleAggregatedList/selfLink": self_link +"/compute:v1/ForwardingRuleList": forwarding_rule_list +"/compute:v1/ForwardingRuleList/id": id +"/compute:v1/ForwardingRuleList/items": items +"/compute:v1/ForwardingRuleList/items/item": item +"/compute:v1/ForwardingRuleList/kind": kind +"/compute:v1/ForwardingRuleList/nextPageToken": next_page_token +"/compute:v1/ForwardingRuleList/selfLink": self_link +"/compute:v1/ForwardingRulesScopedList": forwarding_rules_scoped_list +"/compute:v1/ForwardingRulesScopedList/forwardingRules": forwarding_rules +"/compute:v1/ForwardingRulesScopedList/forwardingRules/forwarding_rule": forwarding_rule +"/compute:v1/ForwardingRulesScopedList/warning": warning +"/compute:v1/ForwardingRulesScopedList/warning/code": code +"/compute:v1/ForwardingRulesScopedList/warning/data": data +"/compute:v1/ForwardingRulesScopedList/warning/data/datum": datum +"/compute:v1/ForwardingRulesScopedList/warning/data/datum/key": key +"/compute:v1/ForwardingRulesScopedList/warning/data/datum/value": value +"/compute:v1/ForwardingRulesScopedList/warning/message": message +"/compute:v1/GuestOsFeature": guest_os_feature +"/compute:v1/GuestOsFeature/type": type +"/compute:v1/HTTPHealthCheck": http_health_check +"/compute:v1/HTTPHealthCheck/host": host +"/compute:v1/HTTPHealthCheck/port": port +"/compute:v1/HTTPHealthCheck/portName": port_name +"/compute:v1/HTTPHealthCheck/proxyHeader": proxy_header +"/compute:v1/HTTPHealthCheck/requestPath": request_path +"/compute:v1/HTTPSHealthCheck": https_health_check +"/compute:v1/HTTPSHealthCheck/host": host +"/compute:v1/HTTPSHealthCheck/port": port +"/compute:v1/HTTPSHealthCheck/portName": port_name +"/compute:v1/HTTPSHealthCheck/proxyHeader": proxy_header +"/compute:v1/HTTPSHealthCheck/requestPath": request_path +"/compute:v1/HealthCheck": health_check +"/compute:v1/HealthCheck/checkIntervalSec": check_interval_sec +"/compute:v1/HealthCheck/creationTimestamp": creation_timestamp +"/compute:v1/HealthCheck/description": description +"/compute:v1/HealthCheck/healthyThreshold": healthy_threshold +"/compute:v1/HealthCheck/httpHealthCheck": http_health_check +"/compute:v1/HealthCheck/httpsHealthCheck": https_health_check +"/compute:v1/HealthCheck/id": id +"/compute:v1/HealthCheck/kind": kind +"/compute:v1/HealthCheck/name": name +"/compute:v1/HealthCheck/selfLink": self_link +"/compute:v1/HealthCheck/sslHealthCheck": ssl_health_check +"/compute:v1/HealthCheck/tcpHealthCheck": tcp_health_check +"/compute:v1/HealthCheck/timeoutSec": timeout_sec +"/compute:v1/HealthCheck/type": type +"/compute:v1/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:v1/HealthCheckList": health_check_list +"/compute:v1/HealthCheckList/id": id +"/compute:v1/HealthCheckList/items": items +"/compute:v1/HealthCheckList/items/item": item +"/compute:v1/HealthCheckList/kind": kind +"/compute:v1/HealthCheckList/nextPageToken": next_page_token +"/compute:v1/HealthCheckList/selfLink": self_link +"/compute:v1/HealthCheckReference": health_check_reference +"/compute:v1/HealthCheckReference/healthCheck": health_check +"/compute:v1/HealthStatus": health_status +"/compute:v1/HealthStatus/healthState": health_state +"/compute:v1/HealthStatus/instance": instance +"/compute:v1/HealthStatus/ipAddress": ip_address +"/compute:v1/HealthStatus/port": port +"/compute:v1/HostRule": host_rule +"/compute:v1/HostRule/description": description +"/compute:v1/HostRule/hosts": hosts +"/compute:v1/HostRule/hosts/host": host +"/compute:v1/HostRule/pathMatcher": path_matcher +"/compute:v1/HttpHealthCheck": http_health_check +"/compute:v1/HttpHealthCheck/checkIntervalSec": check_interval_sec +"/compute:v1/HttpHealthCheck/creationTimestamp": creation_timestamp +"/compute:v1/HttpHealthCheck/description": description +"/compute:v1/HttpHealthCheck/healthyThreshold": healthy_threshold +"/compute:v1/HttpHealthCheck/host": host +"/compute:v1/HttpHealthCheck/id": id +"/compute:v1/HttpHealthCheck/kind": kind +"/compute:v1/HttpHealthCheck/name": name +"/compute:v1/HttpHealthCheck/port": port +"/compute:v1/HttpHealthCheck/requestPath": request_path +"/compute:v1/HttpHealthCheck/selfLink": self_link +"/compute:v1/HttpHealthCheck/timeoutSec": timeout_sec +"/compute:v1/HttpHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:v1/HttpHealthCheckList": http_health_check_list +"/compute:v1/HttpHealthCheckList/id": id +"/compute:v1/HttpHealthCheckList/items": items +"/compute:v1/HttpHealthCheckList/items/item": item +"/compute:v1/HttpHealthCheckList/kind": kind +"/compute:v1/HttpHealthCheckList/nextPageToken": next_page_token +"/compute:v1/HttpHealthCheckList/selfLink": self_link +"/compute:v1/HttpsHealthCheck": https_health_check +"/compute:v1/HttpsHealthCheck/checkIntervalSec": check_interval_sec +"/compute:v1/HttpsHealthCheck/creationTimestamp": creation_timestamp +"/compute:v1/HttpsHealthCheck/description": description +"/compute:v1/HttpsHealthCheck/healthyThreshold": healthy_threshold +"/compute:v1/HttpsHealthCheck/host": host +"/compute:v1/HttpsHealthCheck/id": id +"/compute:v1/HttpsHealthCheck/kind": kind +"/compute:v1/HttpsHealthCheck/name": name +"/compute:v1/HttpsHealthCheck/port": port +"/compute:v1/HttpsHealthCheck/requestPath": request_path +"/compute:v1/HttpsHealthCheck/selfLink": self_link +"/compute:v1/HttpsHealthCheck/timeoutSec": timeout_sec +"/compute:v1/HttpsHealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:v1/HttpsHealthCheckList": https_health_check_list +"/compute:v1/HttpsHealthCheckList/id": id +"/compute:v1/HttpsHealthCheckList/items": items +"/compute:v1/HttpsHealthCheckList/items/item": item +"/compute:v1/HttpsHealthCheckList/kind": kind +"/compute:v1/HttpsHealthCheckList/nextPageToken": next_page_token +"/compute:v1/HttpsHealthCheckList/selfLink": self_link +"/compute:v1/Image": image +"/compute:v1/Image/archiveSizeBytes": archive_size_bytes +"/compute:v1/Image/creationTimestamp": creation_timestamp +"/compute:v1/Image/deprecated": deprecated +"/compute:v1/Image/description": description +"/compute:v1/Image/diskSizeGb": disk_size_gb +"/compute:v1/Image/family": family +"/compute:v1/Image/guestOsFeatures": guest_os_features +"/compute:v1/Image/guestOsFeatures/guest_os_feature": guest_os_feature +"/compute:v1/Image/id": id +"/compute:v1/Image/imageEncryptionKey": image_encryption_key +"/compute:v1/Image/kind": kind +"/compute:v1/Image/licenses": licenses +"/compute:v1/Image/licenses/license": license +"/compute:v1/Image/name": name +"/compute:v1/Image/rawDisk": raw_disk +"/compute:v1/Image/rawDisk/containerType": container_type +"/compute:v1/Image/rawDisk/sha1Checksum": sha1_checksum +"/compute:v1/Image/rawDisk/source": source +"/compute:v1/Image/selfLink": self_link +"/compute:v1/Image/sourceDisk": source_disk +"/compute:v1/Image/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:v1/Image/sourceDiskId": source_disk_id +"/compute:v1/Image/sourceType": source_type +"/compute:v1/Image/status": status +"/compute:v1/ImageList": image_list +"/compute:v1/ImageList/id": id +"/compute:v1/ImageList/items": items +"/compute:v1/ImageList/items/item": item +"/compute:v1/ImageList/kind": kind +"/compute:v1/ImageList/nextPageToken": next_page_token +"/compute:v1/ImageList/selfLink": self_link +"/compute:v1/Instance": instance +"/compute:v1/Instance/canIpForward": can_ip_forward +"/compute:v1/Instance/cpuPlatform": cpu_platform +"/compute:v1/Instance/creationTimestamp": creation_timestamp +"/compute:v1/Instance/description": description +"/compute:v1/Instance/disks": disks +"/compute:v1/Instance/disks/disk": disk +"/compute:v1/Instance/id": id +"/compute:v1/Instance/kind": kind +"/compute:v1/Instance/machineType": machine_type +"/compute:v1/Instance/metadata": metadata +"/compute:v1/Instance/name": name +"/compute:v1/Instance/networkInterfaces": network_interfaces +"/compute:v1/Instance/networkInterfaces/network_interface": network_interface +"/compute:v1/Instance/scheduling": scheduling +"/compute:v1/Instance/selfLink": self_link +"/compute:v1/Instance/serviceAccounts": service_accounts +"/compute:v1/Instance/serviceAccounts/service_account": service_account +"/compute:v1/Instance/status": status +"/compute:v1/Instance/statusMessage": status_message +"/compute:v1/Instance/tags": tags +"/compute:v1/Instance/zone": zone +"/compute:v1/InstanceAggregatedList": instance_aggregated_list +"/compute:v1/InstanceAggregatedList/id": id +"/compute:v1/InstanceAggregatedList/items": items +"/compute:v1/InstanceAggregatedList/items/item": item +"/compute:v1/InstanceAggregatedList/kind": kind +"/compute:v1/InstanceAggregatedList/nextPageToken": next_page_token +"/compute:v1/InstanceAggregatedList/selfLink": self_link +"/compute:v1/InstanceGroup": instance_group +"/compute:v1/InstanceGroup/creationTimestamp": creation_timestamp +"/compute:v1/InstanceGroup/description": description +"/compute:v1/InstanceGroup/fingerprint": fingerprint +"/compute:v1/InstanceGroup/id": id +"/compute:v1/InstanceGroup/kind": kind +"/compute:v1/InstanceGroup/name": name +"/compute:v1/InstanceGroup/namedPorts": named_ports +"/compute:v1/InstanceGroup/namedPorts/named_port": named_port +"/compute:v1/InstanceGroup/network": network +"/compute:v1/InstanceGroup/region": region +"/compute:v1/InstanceGroup/selfLink": self_link +"/compute:v1/InstanceGroup/size": size +"/compute:v1/InstanceGroup/subnetwork": subnetwork +"/compute:v1/InstanceGroup/zone": zone +"/compute:v1/InstanceGroupAggregatedList": instance_group_aggregated_list +"/compute:v1/InstanceGroupAggregatedList/id": id +"/compute:v1/InstanceGroupAggregatedList/items": items +"/compute:v1/InstanceGroupAggregatedList/items/item": item +"/compute:v1/InstanceGroupAggregatedList/kind": kind +"/compute:v1/InstanceGroupAggregatedList/nextPageToken": next_page_token +"/compute:v1/InstanceGroupAggregatedList/selfLink": self_link +"/compute:v1/InstanceGroupList": instance_group_list +"/compute:v1/InstanceGroupList/id": id +"/compute:v1/InstanceGroupList/items": items +"/compute:v1/InstanceGroupList/items/item": item +"/compute:v1/InstanceGroupList/kind": kind +"/compute:v1/InstanceGroupList/nextPageToken": next_page_token +"/compute:v1/InstanceGroupList/selfLink": self_link +"/compute:v1/InstanceGroupManager": instance_group_manager +"/compute:v1/InstanceGroupManager/baseInstanceName": base_instance_name +"/compute:v1/InstanceGroupManager/creationTimestamp": creation_timestamp +"/compute:v1/InstanceGroupManager/currentActions": current_actions +"/compute:v1/InstanceGroupManager/description": description +"/compute:v1/InstanceGroupManager/fingerprint": fingerprint +"/compute:v1/InstanceGroupManager/id": id +"/compute:v1/InstanceGroupManager/instanceGroup": instance_group +"/compute:v1/InstanceGroupManager/instanceTemplate": instance_template +"/compute:v1/InstanceGroupManager/kind": kind +"/compute:v1/InstanceGroupManager/name": name +"/compute:v1/InstanceGroupManager/namedPorts": named_ports +"/compute:v1/InstanceGroupManager/namedPorts/named_port": named_port +"/compute:v1/InstanceGroupManager/region": region +"/compute:v1/InstanceGroupManager/selfLink": self_link +"/compute:v1/InstanceGroupManager/targetPools": target_pools +"/compute:v1/InstanceGroupManager/targetPools/target_pool": target_pool +"/compute:v1/InstanceGroupManager/targetSize": target_size +"/compute:v1/InstanceGroupManager/zone": zone +"/compute:v1/InstanceGroupManagerActionsSummary": instance_group_manager_actions_summary +"/compute:v1/InstanceGroupManagerActionsSummary/abandoning": abandoning +"/compute:v1/InstanceGroupManagerActionsSummary/creating": creating +"/compute:v1/InstanceGroupManagerActionsSummary/creatingWithoutRetries": creating_without_retries +"/compute:v1/InstanceGroupManagerActionsSummary/deleting": deleting +"/compute:v1/InstanceGroupManagerActionsSummary/none": none +"/compute:v1/InstanceGroupManagerActionsSummary/recreating": recreating +"/compute:v1/InstanceGroupManagerActionsSummary/refreshing": refreshing +"/compute:v1/InstanceGroupManagerActionsSummary/restarting": restarting +"/compute:v1/InstanceGroupManagerAggregatedList": instance_group_manager_aggregated_list +"/compute:v1/InstanceGroupManagerAggregatedList/id": id +"/compute:v1/InstanceGroupManagerAggregatedList/items": items +"/compute:v1/InstanceGroupManagerAggregatedList/items/item": item +"/compute:v1/InstanceGroupManagerAggregatedList/kind": kind +"/compute:v1/InstanceGroupManagerAggregatedList/nextPageToken": next_page_token +"/compute:v1/InstanceGroupManagerAggregatedList/selfLink": self_link +"/compute:v1/InstanceGroupManagerList": instance_group_manager_list +"/compute:v1/InstanceGroupManagerList/id": id +"/compute:v1/InstanceGroupManagerList/items": items +"/compute:v1/InstanceGroupManagerList/items/item": item +"/compute:v1/InstanceGroupManagerList/kind": kind +"/compute:v1/InstanceGroupManagerList/nextPageToken": next_page_token +"/compute:v1/InstanceGroupManagerList/selfLink": self_link +"/compute:v1/InstanceGroupManagersAbandonInstancesRequest": instance_group_managers_abandon_instances_request +"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:v1/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:v1/InstanceGroupManagersDeleteInstancesRequest": instance_group_managers_delete_instances_request +"/compute:v1/InstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:v1/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:v1/InstanceGroupManagersListManagedInstancesResponse": instance_group_managers_list_managed_instances_response +"/compute:v1/InstanceGroupManagersListManagedInstancesResponse/managedInstances": managed_instances +"/compute:v1/InstanceGroupManagersListManagedInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:v1/InstanceGroupManagersRecreateInstancesRequest": instance_group_managers_recreate_instances_request +"/compute:v1/InstanceGroupManagersRecreateInstancesRequest/instances": instances +"/compute:v1/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance +"/compute:v1/InstanceGroupManagersScopedList": instance_group_managers_scoped_list +"/compute:v1/InstanceGroupManagersScopedList/instanceGroupManagers": instance_group_managers +"/compute:v1/InstanceGroupManagersScopedList/instanceGroupManagers/instance_group_manager": instance_group_manager +"/compute:v1/InstanceGroupManagersScopedList/warning": warning +"/compute:v1/InstanceGroupManagersScopedList/warning/code": code +"/compute:v1/InstanceGroupManagersScopedList/warning/data": data +"/compute:v1/InstanceGroupManagersScopedList/warning/data/datum": datum +"/compute:v1/InstanceGroupManagersScopedList/warning/data/datum/key": key +"/compute:v1/InstanceGroupManagersScopedList/warning/data/datum/value": value +"/compute:v1/InstanceGroupManagersScopedList/warning/message": message +"/compute:v1/InstanceGroupManagersSetInstanceTemplateRequest": instance_group_managers_set_instance_template_request +"/compute:v1/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template +"/compute:v1/InstanceGroupManagersSetTargetPoolsRequest": instance_group_managers_set_target_pools_request +"/compute:v1/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:v1/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:v1/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:v1/InstanceGroupsAddInstancesRequest": instance_groups_add_instances_request +"/compute:v1/InstanceGroupsAddInstancesRequest/instances": instances +"/compute:v1/InstanceGroupsAddInstancesRequest/instances/instance": instance +"/compute:v1/InstanceGroupsListInstances": instance_groups_list_instances +"/compute:v1/InstanceGroupsListInstances/id": id +"/compute:v1/InstanceGroupsListInstances/items": items +"/compute:v1/InstanceGroupsListInstances/items/item": item +"/compute:v1/InstanceGroupsListInstances/kind": kind +"/compute:v1/InstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:v1/InstanceGroupsListInstances/selfLink": self_link +"/compute:v1/InstanceGroupsListInstancesRequest": instance_groups_list_instances_request +"/compute:v1/InstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:v1/InstanceGroupsRemoveInstancesRequest": instance_groups_remove_instances_request +"/compute:v1/InstanceGroupsRemoveInstancesRequest/instances": instances +"/compute:v1/InstanceGroupsRemoveInstancesRequest/instances/instance": instance +"/compute:v1/InstanceGroupsScopedList": instance_groups_scoped_list +"/compute:v1/InstanceGroupsScopedList/instanceGroups": instance_groups +"/compute:v1/InstanceGroupsScopedList/instanceGroups/instance_group": instance_group +"/compute:v1/InstanceGroupsScopedList/warning": warning +"/compute:v1/InstanceGroupsScopedList/warning/code": code +"/compute:v1/InstanceGroupsScopedList/warning/data": data +"/compute:v1/InstanceGroupsScopedList/warning/data/datum": datum +"/compute:v1/InstanceGroupsScopedList/warning/data/datum/key": key +"/compute:v1/InstanceGroupsScopedList/warning/data/datum/value": value +"/compute:v1/InstanceGroupsScopedList/warning/message": message +"/compute:v1/InstanceGroupsSetNamedPortsRequest": instance_groups_set_named_ports_request +"/compute:v1/InstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:v1/InstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:v1/InstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:v1/InstanceList": instance_list +"/compute:v1/InstanceList/id": id +"/compute:v1/InstanceList/items": items +"/compute:v1/InstanceList/items/item": item +"/compute:v1/InstanceList/kind": kind +"/compute:v1/InstanceList/nextPageToken": next_page_token +"/compute:v1/InstanceList/selfLink": self_link +"/compute:v1/InstanceMoveRequest/destinationZone": destination_zone +"/compute:v1/InstanceMoveRequest/targetInstance": target_instance +"/compute:v1/InstanceProperties": instance_properties +"/compute:v1/InstanceProperties/canIpForward": can_ip_forward +"/compute:v1/InstanceProperties/description": description +"/compute:v1/InstanceProperties/disks": disks +"/compute:v1/InstanceProperties/disks/disk": disk +"/compute:v1/InstanceProperties/machineType": machine_type +"/compute:v1/InstanceProperties/metadata": metadata +"/compute:v1/InstanceProperties/networkInterfaces": network_interfaces +"/compute:v1/InstanceProperties/networkInterfaces/network_interface": network_interface +"/compute:v1/InstanceProperties/scheduling": scheduling +"/compute:v1/InstanceProperties/serviceAccounts": service_accounts +"/compute:v1/InstanceProperties/serviceAccounts/service_account": service_account +"/compute:v1/InstanceProperties/tags": tags +"/compute:v1/InstanceReference": instance_reference +"/compute:v1/InstanceReference/instance": instance +"/compute:v1/InstanceTemplate": instance_template +"/compute:v1/InstanceTemplate/creationTimestamp": creation_timestamp +"/compute:v1/InstanceTemplate/description": description +"/compute:v1/InstanceTemplate/id": id +"/compute:v1/InstanceTemplate/kind": kind +"/compute:v1/InstanceTemplate/name": name +"/compute:v1/InstanceTemplate/properties": properties +"/compute:v1/InstanceTemplate/selfLink": self_link +"/compute:v1/InstanceTemplateList": instance_template_list +"/compute:v1/InstanceTemplateList/id": id +"/compute:v1/InstanceTemplateList/items": items +"/compute:v1/InstanceTemplateList/items/item": item +"/compute:v1/InstanceTemplateList/kind": kind +"/compute:v1/InstanceTemplateList/nextPageToken": next_page_token +"/compute:v1/InstanceTemplateList/selfLink": self_link +"/compute:v1/InstanceWithNamedPorts": instance_with_named_ports +"/compute:v1/InstanceWithNamedPorts/instance": instance +"/compute:v1/InstanceWithNamedPorts/namedPorts": named_ports +"/compute:v1/InstanceWithNamedPorts/namedPorts/named_port": named_port +"/compute:v1/InstanceWithNamedPorts/status": status +"/compute:v1/InstancesScopedList": instances_scoped_list +"/compute:v1/InstancesScopedList/instances": instances +"/compute:v1/InstancesScopedList/instances/instance": instance +"/compute:v1/InstancesScopedList/warning": warning +"/compute:v1/InstancesScopedList/warning/code": code +"/compute:v1/InstancesScopedList/warning/data": data +"/compute:v1/InstancesScopedList/warning/data/datum": datum +"/compute:v1/InstancesScopedList/warning/data/datum/key": key +"/compute:v1/InstancesScopedList/warning/data/datum/value": value +"/compute:v1/InstancesScopedList/warning/message": message +"/compute:v1/InstancesSetMachineTypeRequest": instances_set_machine_type_request +"/compute:v1/InstancesSetMachineTypeRequest/machineType": machine_type +"/compute:v1/InstancesStartWithEncryptionKeyRequest": instances_start_with_encryption_key_request +"/compute:v1/InstancesStartWithEncryptionKeyRequest/disks": disks +"/compute:v1/InstancesStartWithEncryptionKeyRequest/disks/disk": disk +"/compute:v1/License": license +"/compute:v1/License/chargesUseFee": charges_use_fee +"/compute:v1/License/kind": kind +"/compute:v1/License/name": name +"/compute:v1/License/selfLink": self_link +"/compute:v1/MachineType": machine_type +"/compute:v1/MachineType/creationTimestamp": creation_timestamp +"/compute:v1/MachineType/deprecated": deprecated +"/compute:v1/MachineType/description": description +"/compute:v1/MachineType/guestCpus": guest_cpus +"/compute:v1/MachineType/id": id +"/compute:v1/MachineType/imageSpaceGb": image_space_gb +"/compute:v1/MachineType/isSharedCpu": is_shared_cpu +"/compute:v1/MachineType/kind": kind +"/compute:v1/MachineType/maximumPersistentDisks": maximum_persistent_disks +"/compute:v1/MachineType/maximumPersistentDisksSizeGb": maximum_persistent_disks_size_gb +"/compute:v1/MachineType/memoryMb": memory_mb +"/compute:v1/MachineType/name": name +"/compute:v1/MachineType/scratchDisks": scratch_disks +"/compute:v1/MachineType/scratchDisks/scratch_disk": scratch_disk +"/compute:v1/MachineType/scratchDisks/scratch_disk/diskGb": disk_gb +"/compute:v1/MachineType/selfLink": self_link +"/compute:v1/MachineType/zone": zone +"/compute:v1/MachineTypeAggregatedList": machine_type_aggregated_list +"/compute:v1/MachineTypeAggregatedList/id": id +"/compute:v1/MachineTypeAggregatedList/items": items +"/compute:v1/MachineTypeAggregatedList/items/item": item +"/compute:v1/MachineTypeAggregatedList/kind": kind +"/compute:v1/MachineTypeAggregatedList/nextPageToken": next_page_token +"/compute:v1/MachineTypeAggregatedList/selfLink": self_link +"/compute:v1/MachineTypeList": machine_type_list +"/compute:v1/MachineTypeList/id": id +"/compute:v1/MachineTypeList/items": items +"/compute:v1/MachineTypeList/items/item": item +"/compute:v1/MachineTypeList/kind": kind +"/compute:v1/MachineTypeList/nextPageToken": next_page_token +"/compute:v1/MachineTypeList/selfLink": self_link +"/compute:v1/MachineTypesScopedList": machine_types_scoped_list +"/compute:v1/MachineTypesScopedList/machineTypes": machine_types +"/compute:v1/MachineTypesScopedList/machineTypes/machine_type": machine_type +"/compute:v1/MachineTypesScopedList/warning": warning +"/compute:v1/MachineTypesScopedList/warning/code": code +"/compute:v1/MachineTypesScopedList/warning/data": data +"/compute:v1/MachineTypesScopedList/warning/data/datum": datum +"/compute:v1/MachineTypesScopedList/warning/data/datum/key": key +"/compute:v1/MachineTypesScopedList/warning/data/datum/value": value +"/compute:v1/MachineTypesScopedList/warning/message": message +"/compute:v1/ManagedInstance": managed_instance +"/compute:v1/ManagedInstance/currentAction": current_action +"/compute:v1/ManagedInstance/id": id +"/compute:v1/ManagedInstance/instance": instance +"/compute:v1/ManagedInstance/instanceStatus": instance_status +"/compute:v1/ManagedInstance/lastAttempt": last_attempt +"/compute:v1/ManagedInstanceLastAttempt": managed_instance_last_attempt +"/compute:v1/ManagedInstanceLastAttempt/errors": errors +"/compute:v1/ManagedInstanceLastAttempt/errors/errors": errors +"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error": error +"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/code": code +"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/location": location +"/compute:v1/ManagedInstanceLastAttempt/errors/errors/error/message": message +"/compute:v1/Metadata": metadata +"/compute:v1/Metadata/fingerprint": fingerprint +"/compute:v1/Metadata/items": items +"/compute:v1/Metadata/items/item": item +"/compute:v1/Metadata/items/item/key": key +"/compute:v1/Metadata/items/item/value": value +"/compute:v1/Metadata/kind": kind +"/compute:v1/NamedPort": named_port +"/compute:v1/NamedPort/name": name +"/compute:v1/NamedPort/port": port +"/compute:v1/Network": network +"/compute:v1/Network/IPv4Range": i_pv4_range +"/compute:v1/Network/autoCreateSubnetworks": auto_create_subnetworks +"/compute:v1/Network/creationTimestamp": creation_timestamp +"/compute:v1/Network/description": description +"/compute:v1/Network/gatewayIPv4": gateway_i_pv4 +"/compute:v1/Network/id": id +"/compute:v1/Network/kind": kind +"/compute:v1/Network/name": name +"/compute:v1/Network/selfLink": self_link +"/compute:v1/Network/subnetworks": subnetworks +"/compute:v1/Network/subnetworks/subnetwork": subnetwork +"/compute:v1/NetworkInterface": network_interface +"/compute:v1/NetworkInterface/accessConfigs": access_configs +"/compute:v1/NetworkInterface/accessConfigs/access_config": access_config +"/compute:v1/NetworkInterface/name": name +"/compute:v1/NetworkInterface/network": network +"/compute:v1/NetworkInterface/networkIP": network_ip +"/compute:v1/NetworkInterface/subnetwork": subnetwork +"/compute:v1/NetworkList": network_list +"/compute:v1/NetworkList/id": id +"/compute:v1/NetworkList/items": items +"/compute:v1/NetworkList/items/item": item +"/compute:v1/NetworkList/kind": kind +"/compute:v1/NetworkList/nextPageToken": next_page_token +"/compute:v1/NetworkList/selfLink": self_link +"/compute:v1/Operation": operation +"/compute:v1/Operation/clientOperationId": client_operation_id +"/compute:v1/Operation/creationTimestamp": creation_timestamp +"/compute:v1/Operation/description": description +"/compute:v1/Operation/endTime": end_time +"/compute:v1/Operation/error": error +"/compute:v1/Operation/error/errors": errors +"/compute:v1/Operation/error/errors/error": error +"/compute:v1/Operation/error/errors/error/code": code +"/compute:v1/Operation/error/errors/error/location": location +"/compute:v1/Operation/error/errors/error/message": message +"/compute:v1/Operation/httpErrorMessage": http_error_message +"/compute:v1/Operation/httpErrorStatusCode": http_error_status_code +"/compute:v1/Operation/id": id +"/compute:v1/Operation/insertTime": insert_time +"/compute:v1/Operation/kind": kind +"/compute:v1/Operation/name": name +"/compute:v1/Operation/operationType": operation_type +"/compute:v1/Operation/progress": progress +"/compute:v1/Operation/region": region +"/compute:v1/Operation/selfLink": self_link +"/compute:v1/Operation/startTime": start_time +"/compute:v1/Operation/status": status +"/compute:v1/Operation/statusMessage": status_message +"/compute:v1/Operation/targetId": target_id +"/compute:v1/Operation/targetLink": target_link +"/compute:v1/Operation/user": user +"/compute:v1/Operation/warnings": warnings +"/compute:v1/Operation/warnings/warning": warning +"/compute:v1/Operation/warnings/warning/code": code +"/compute:v1/Operation/warnings/warning/data": data +"/compute:v1/Operation/warnings/warning/data/datum": datum +"/compute:v1/Operation/warnings/warning/data/datum/key": key +"/compute:v1/Operation/warnings/warning/data/datum/value": value +"/compute:v1/Operation/warnings/warning/message": message +"/compute:v1/Operation/zone": zone +"/compute:v1/OperationAggregatedList": operation_aggregated_list +"/compute:v1/OperationAggregatedList/id": id +"/compute:v1/OperationAggregatedList/items": items +"/compute:v1/OperationAggregatedList/items/item": item +"/compute:v1/OperationAggregatedList/kind": kind +"/compute:v1/OperationAggregatedList/nextPageToken": next_page_token +"/compute:v1/OperationAggregatedList/selfLink": self_link +"/compute:v1/OperationList": operation_list +"/compute:v1/OperationList/id": id +"/compute:v1/OperationList/items": items +"/compute:v1/OperationList/items/item": item +"/compute:v1/OperationList/kind": kind +"/compute:v1/OperationList/nextPageToken": next_page_token +"/compute:v1/OperationList/selfLink": self_link +"/compute:v1/OperationsScopedList": operations_scoped_list +"/compute:v1/OperationsScopedList/operations": operations +"/compute:v1/OperationsScopedList/operations/operation": operation +"/compute:v1/OperationsScopedList/warning": warning +"/compute:v1/OperationsScopedList/warning/code": code +"/compute:v1/OperationsScopedList/warning/data": data +"/compute:v1/OperationsScopedList/warning/data/datum": datum +"/compute:v1/OperationsScopedList/warning/data/datum/key": key +"/compute:v1/OperationsScopedList/warning/data/datum/value": value +"/compute:v1/OperationsScopedList/warning/message": message +"/compute:v1/PathMatcher": path_matcher +"/compute:v1/PathMatcher/defaultService": default_service +"/compute:v1/PathMatcher/description": description +"/compute:v1/PathMatcher/name": name +"/compute:v1/PathMatcher/pathRules": path_rules +"/compute:v1/PathMatcher/pathRules/path_rule": path_rule +"/compute:v1/PathRule": path_rule +"/compute:v1/PathRule/paths": paths +"/compute:v1/PathRule/paths/path": path +"/compute:v1/PathRule/service": service +"/compute:v1/Project": project +"/compute:v1/Project/commonInstanceMetadata": common_instance_metadata +"/compute:v1/Project/creationTimestamp": creation_timestamp +"/compute:v1/Project/defaultServiceAccount": default_service_account +"/compute:v1/Project/description": description +"/compute:v1/Project/enabledFeatures": enabled_features +"/compute:v1/Project/enabledFeatures/enabled_feature": enabled_feature +"/compute:v1/Project/id": id +"/compute:v1/Project/kind": kind +"/compute:v1/Project/name": name +"/compute:v1/Project/quotas": quotas +"/compute:v1/Project/quotas/quota": quota +"/compute:v1/Project/selfLink": self_link +"/compute:v1/Project/usageExportLocation": usage_export_location +"/compute:v1/Quota": quota +"/compute:v1/Quota/limit": limit +"/compute:v1/Quota/metric": metric +"/compute:v1/Quota/usage": usage +"/compute:v1/Region": region +"/compute:v1/Region/creationTimestamp": creation_timestamp +"/compute:v1/Region/deprecated": deprecated +"/compute:v1/Region/description": description +"/compute:v1/Region/id": id +"/compute:v1/Region/kind": kind +"/compute:v1/Region/name": name +"/compute:v1/Region/quotas": quotas +"/compute:v1/Region/quotas/quota": quota +"/compute:v1/Region/selfLink": self_link +"/compute:v1/Region/status": status +"/compute:v1/Region/zones": zones +"/compute:v1/Region/zones/zone": zone +"/compute:v1/RegionAutoscalerList": region_autoscaler_list +"/compute:v1/RegionAutoscalerList/id": id +"/compute:v1/RegionAutoscalerList/items": items +"/compute:v1/RegionAutoscalerList/items/item": item +"/compute:v1/RegionAutoscalerList/kind": kind +"/compute:v1/RegionAutoscalerList/nextPageToken": next_page_token +"/compute:v1/RegionAutoscalerList/selfLink": self_link +"/compute:v1/RegionInstanceGroupList": region_instance_group_list +"/compute:v1/RegionInstanceGroupList/id": id +"/compute:v1/RegionInstanceGroupList/items": items +"/compute:v1/RegionInstanceGroupList/items/item": item +"/compute:v1/RegionInstanceGroupList/kind": kind +"/compute:v1/RegionInstanceGroupList/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupList/selfLink": self_link +"/compute:v1/RegionInstanceGroupManagerList": region_instance_group_manager_list +"/compute:v1/RegionInstanceGroupManagerList/id": id +"/compute:v1/RegionInstanceGroupManagerList/items": items +"/compute:v1/RegionInstanceGroupManagerList/items/item": item +"/compute:v1/RegionInstanceGroupManagerList/kind": kind +"/compute:v1/RegionInstanceGroupManagerList/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupManagerList/selfLink": self_link +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse": region_instance_group_managers_list_instances_response +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse/managedInstances": managed_instances +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:v1/RegionInstanceGroupManagersRecreateRequest": region_instance_group_managers_recreate_request +"/compute:v1/RegionInstanceGroupManagersRecreateRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersRecreateRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest": region_instance_group_managers_set_target_pools_request +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:v1/RegionInstanceGroupManagersSetTemplateRequest": region_instance_group_managers_set_template_request +"/compute:v1/RegionInstanceGroupManagersSetTemplateRequest/instanceTemplate": instance_template +"/compute:v1/RegionInstanceGroupsListInstances": region_instance_groups_list_instances +"/compute:v1/RegionInstanceGroupsListInstances/id": id +"/compute:v1/RegionInstanceGroupsListInstances/items": items +"/compute:v1/RegionInstanceGroupsListInstances/items/item": item +"/compute:v1/RegionInstanceGroupsListInstances/kind": kind +"/compute:v1/RegionInstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupsListInstances/selfLink": self_link +"/compute:v1/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request +"/compute:v1/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:v1/RegionInstanceGroupsListInstancesRequest/portName": port_name +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest": region_instance_groups_set_named_ports_request +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port +"/compute:v1/RegionList": region_list +"/compute:v1/RegionList/id": id +"/compute:v1/RegionList/items": items +"/compute:v1/RegionList/items/item": item +"/compute:v1/RegionList/kind": kind +"/compute:v1/RegionList/nextPageToken": next_page_token +"/compute:v1/RegionList/selfLink": self_link +"/compute:v1/ResourceGroupReference": resource_group_reference +"/compute:v1/ResourceGroupReference/group": group +"/compute:v1/Route": route +"/compute:v1/Route/creationTimestamp": creation_timestamp +"/compute:v1/Route/description": description +"/compute:v1/Route/destRange": dest_range +"/compute:v1/Route/id": id +"/compute:v1/Route/kind": kind +"/compute:v1/Route/name": name +"/compute:v1/Route/network": network +"/compute:v1/Route/nextHopGateway": next_hop_gateway +"/compute:v1/Route/nextHopInstance": next_hop_instance +"/compute:v1/Route/nextHopIp": next_hop_ip +"/compute:v1/Route/nextHopNetwork": next_hop_network +"/compute:v1/Route/nextHopVpnTunnel": next_hop_vpn_tunnel +"/compute:v1/Route/priority": priority +"/compute:v1/Route/selfLink": self_link +"/compute:v1/Route/tags": tags +"/compute:v1/Route/tags/tag": tag +"/compute:v1/Route/warnings": warnings +"/compute:v1/Route/warnings/warning": warning +"/compute:v1/Route/warnings/warning/code": code +"/compute:v1/Route/warnings/warning/data": data +"/compute:v1/Route/warnings/warning/data/datum": datum +"/compute:v1/Route/warnings/warning/data/datum/key": key +"/compute:v1/Route/warnings/warning/data/datum/value": value +"/compute:v1/Route/warnings/warning/message": message +"/compute:v1/RouteList": route_list +"/compute:v1/RouteList/id": id +"/compute:v1/RouteList/items": items +"/compute:v1/RouteList/items/item": item +"/compute:v1/RouteList/kind": kind +"/compute:v1/RouteList/nextPageToken": next_page_token +"/compute:v1/RouteList/selfLink": self_link +"/compute:v1/Router": router +"/compute:v1/Router/bgp": bgp +"/compute:v1/Router/bgpPeers": bgp_peers +"/compute:v1/Router/bgpPeers/bgp_peer": bgp_peer +"/compute:v1/Router/creationTimestamp": creation_timestamp +"/compute:v1/Router/description": description +"/compute:v1/Router/id": id +"/compute:v1/Router/interfaces": interfaces +"/compute:v1/Router/interfaces/interface": interface +"/compute:v1/Router/kind": kind +"/compute:v1/Router/name": name +"/compute:v1/Router/network": network +"/compute:v1/Router/region": region +"/compute:v1/Router/selfLink": self_link +"/compute:v1/RouterAggregatedList": router_aggregated_list +"/compute:v1/RouterAggregatedList/id": id +"/compute:v1/RouterAggregatedList/items": items +"/compute:v1/RouterAggregatedList/items/item": item +"/compute:v1/RouterAggregatedList/kind": kind +"/compute:v1/RouterAggregatedList/nextPageToken": next_page_token +"/compute:v1/RouterAggregatedList/selfLink": self_link +"/compute:v1/RouterBgp": router_bgp +"/compute:v1/RouterBgp/asn": asn +"/compute:v1/RouterBgpPeer": router_bgp_peer +"/compute:v1/RouterBgpPeer/advertisedRoutePriority": advertised_route_priority +"/compute:v1/RouterBgpPeer/interfaceName": interface_name +"/compute:v1/RouterBgpPeer/ipAddress": ip_address +"/compute:v1/RouterBgpPeer/name": name +"/compute:v1/RouterBgpPeer/peerAsn": peer_asn +"/compute:v1/RouterBgpPeer/peerIpAddress": peer_ip_address +"/compute:v1/RouterInterface": router_interface +"/compute:v1/RouterInterface/ipRange": ip_range +"/compute:v1/RouterInterface/linkedVpnTunnel": linked_vpn_tunnel +"/compute:v1/RouterInterface/name": name +"/compute:v1/RouterList": router_list +"/compute:v1/RouterList/id": id +"/compute:v1/RouterList/items": items +"/compute:v1/RouterList/items/item": item +"/compute:v1/RouterList/kind": kind +"/compute:v1/RouterList/nextPageToken": next_page_token +"/compute:v1/RouterList/selfLink": self_link +"/compute:v1/RouterStatus": router_status +"/compute:v1/RouterStatus/bestRoutes": best_routes +"/compute:v1/RouterStatus/bestRoutes/best_route": best_route +"/compute:v1/RouterStatus/bgpPeerStatus": bgp_peer_status +"/compute:v1/RouterStatus/bgpPeerStatus/bgp_peer_status": bgp_peer_status +"/compute:v1/RouterStatus/network": network +"/compute:v1/RouterStatusBgpPeerStatus": router_status_bgp_peer_status +"/compute:v1/RouterStatusBgpPeerStatus/advertisedRoutes": advertised_routes +"/compute:v1/RouterStatusBgpPeerStatus/advertisedRoutes/advertised_route": advertised_route +"/compute:v1/RouterStatusBgpPeerStatus/ipAddress": ip_address +"/compute:v1/RouterStatusBgpPeerStatus/linkedVpnTunnel": linked_vpn_tunnel +"/compute:v1/RouterStatusBgpPeerStatus/name": name +"/compute:v1/RouterStatusBgpPeerStatus/numLearnedRoutes": num_learned_routes +"/compute:v1/RouterStatusBgpPeerStatus/peerIpAddress": peer_ip_address +"/compute:v1/RouterStatusBgpPeerStatus/state": state +"/compute:v1/RouterStatusBgpPeerStatus/status": status +"/compute:v1/RouterStatusBgpPeerStatus/uptime": uptime +"/compute:v1/RouterStatusBgpPeerStatus/uptimeSeconds": uptime_seconds +"/compute:v1/RouterStatusResponse": router_status_response +"/compute:v1/RouterStatusResponse/kind": kind +"/compute:v1/RouterStatusResponse/result": result +"/compute:v1/RoutersPreviewResponse": routers_preview_response +"/compute:v1/RoutersPreviewResponse/resource": resource +"/compute:v1/RoutersScopedList": routers_scoped_list +"/compute:v1/RoutersScopedList/routers": routers +"/compute:v1/RoutersScopedList/routers/router": router +"/compute:v1/RoutersScopedList/warning": warning +"/compute:v1/RoutersScopedList/warning/code": code +"/compute:v1/RoutersScopedList/warning/data": data +"/compute:v1/RoutersScopedList/warning/data/datum": datum +"/compute:v1/RoutersScopedList/warning/data/datum/key": key +"/compute:v1/RoutersScopedList/warning/data/datum/value": value +"/compute:v1/RoutersScopedList/warning/message": message +"/compute:v1/SSLHealthCheck": ssl_health_check +"/compute:v1/SSLHealthCheck/port": port +"/compute:v1/SSLHealthCheck/portName": port_name +"/compute:v1/SSLHealthCheck/proxyHeader": proxy_header +"/compute:v1/SSLHealthCheck/request": request +"/compute:v1/SSLHealthCheck/response": response +"/compute:v1/Scheduling": scheduling +"/compute:v1/Scheduling/automaticRestart": automatic_restart +"/compute:v1/Scheduling/onHostMaintenance": on_host_maintenance +"/compute:v1/Scheduling/preemptible": preemptible +"/compute:v1/SerialPortOutput": serial_port_output +"/compute:v1/SerialPortOutput/contents": contents +"/compute:v1/SerialPortOutput/kind": kind +"/compute:v1/SerialPortOutput/next": next +"/compute:v1/SerialPortOutput/selfLink": self_link +"/compute:v1/SerialPortOutput/start": start +"/compute:v1/ServiceAccount": service_account +"/compute:v1/ServiceAccount/email": email +"/compute:v1/ServiceAccount/scopes": scopes +"/compute:v1/ServiceAccount/scopes/scope": scope +"/compute:v1/Snapshot": snapshot +"/compute:v1/Snapshot/creationTimestamp": creation_timestamp +"/compute:v1/Snapshot/description": description +"/compute:v1/Snapshot/diskSizeGb": disk_size_gb +"/compute:v1/Snapshot/id": id +"/compute:v1/Snapshot/kind": kind +"/compute:v1/Snapshot/licenses": licenses +"/compute:v1/Snapshot/licenses/license": license +"/compute:v1/Snapshot/name": name +"/compute:v1/Snapshot/selfLink": self_link +"/compute:v1/Snapshot/snapshotEncryptionKey": snapshot_encryption_key +"/compute:v1/Snapshot/sourceDisk": source_disk +"/compute:v1/Snapshot/sourceDiskEncryptionKey": source_disk_encryption_key +"/compute:v1/Snapshot/sourceDiskId": source_disk_id +"/compute:v1/Snapshot/status": status +"/compute:v1/Snapshot/storageBytes": storage_bytes +"/compute:v1/Snapshot/storageBytesStatus": storage_bytes_status +"/compute:v1/SnapshotList": snapshot_list +"/compute:v1/SnapshotList/id": id +"/compute:v1/SnapshotList/items": items +"/compute:v1/SnapshotList/items/item": item +"/compute:v1/SnapshotList/kind": kind +"/compute:v1/SnapshotList/nextPageToken": next_page_token +"/compute:v1/SnapshotList/selfLink": self_link +"/compute:v1/SslCertificate": ssl_certificate +"/compute:v1/SslCertificate/certificate": certificate +"/compute:v1/SslCertificate/creationTimestamp": creation_timestamp +"/compute:v1/SslCertificate/description": description +"/compute:v1/SslCertificate/id": id +"/compute:v1/SslCertificate/kind": kind +"/compute:v1/SslCertificate/name": name +"/compute:v1/SslCertificate/privateKey": private_key +"/compute:v1/SslCertificate/selfLink": self_link +"/compute:v1/SslCertificateList": ssl_certificate_list +"/compute:v1/SslCertificateList/id": id +"/compute:v1/SslCertificateList/items": items +"/compute:v1/SslCertificateList/items/item": item +"/compute:v1/SslCertificateList/kind": kind +"/compute:v1/SslCertificateList/nextPageToken": next_page_token +"/compute:v1/SslCertificateList/selfLink": self_link +"/compute:v1/Subnetwork": subnetwork +"/compute:v1/Subnetwork/creationTimestamp": creation_timestamp +"/compute:v1/Subnetwork/description": description +"/compute:v1/Subnetwork/gatewayAddress": gateway_address +"/compute:v1/Subnetwork/id": id +"/compute:v1/Subnetwork/ipCidrRange": ip_cidr_range +"/compute:v1/Subnetwork/kind": kind +"/compute:v1/Subnetwork/name": name +"/compute:v1/Subnetwork/network": network +"/compute:v1/Subnetwork/region": region +"/compute:v1/Subnetwork/selfLink": self_link +"/compute:v1/SubnetworkAggregatedList": subnetwork_aggregated_list +"/compute:v1/SubnetworkAggregatedList/id": id +"/compute:v1/SubnetworkAggregatedList/items": items +"/compute:v1/SubnetworkAggregatedList/items/item": item +"/compute:v1/SubnetworkAggregatedList/kind": kind +"/compute:v1/SubnetworkAggregatedList/nextPageToken": next_page_token +"/compute:v1/SubnetworkAggregatedList/selfLink": self_link +"/compute:v1/SubnetworkList": subnetwork_list +"/compute:v1/SubnetworkList/id": id +"/compute:v1/SubnetworkList/items": items +"/compute:v1/SubnetworkList/items/item": item +"/compute:v1/SubnetworkList/kind": kind +"/compute:v1/SubnetworkList/nextPageToken": next_page_token +"/compute:v1/SubnetworkList/selfLink": self_link +"/compute:v1/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request +"/compute:v1/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range +"/compute:v1/SubnetworksScopedList": subnetworks_scoped_list +"/compute:v1/SubnetworksScopedList/subnetworks": subnetworks +"/compute:v1/SubnetworksScopedList/subnetworks/subnetwork": subnetwork +"/compute:v1/SubnetworksScopedList/warning": warning +"/compute:v1/SubnetworksScopedList/warning/code": code +"/compute:v1/SubnetworksScopedList/warning/data": data +"/compute:v1/SubnetworksScopedList/warning/data/datum": datum +"/compute:v1/SubnetworksScopedList/warning/data/datum/key": key +"/compute:v1/SubnetworksScopedList/warning/data/datum/value": value +"/compute:v1/SubnetworksScopedList/warning/message": message +"/compute:v1/TCPHealthCheck": tcp_health_check +"/compute:v1/TCPHealthCheck/port": port +"/compute:v1/TCPHealthCheck/portName": port_name +"/compute:v1/TCPHealthCheck/proxyHeader": proxy_header +"/compute:v1/TCPHealthCheck/request": request +"/compute:v1/TCPHealthCheck/response": response +"/compute:v1/Tags": tags +"/compute:v1/Tags/fingerprint": fingerprint +"/compute:v1/Tags/items": items +"/compute:v1/Tags/items/item": item +"/compute:v1/TargetHttpProxy": target_http_proxy +"/compute:v1/TargetHttpProxy/creationTimestamp": creation_timestamp +"/compute:v1/TargetHttpProxy/description": description +"/compute:v1/TargetHttpProxy/id": id +"/compute:v1/TargetHttpProxy/kind": kind +"/compute:v1/TargetHttpProxy/name": name +"/compute:v1/TargetHttpProxy/selfLink": self_link +"/compute:v1/TargetHttpProxy/urlMap": url_map +"/compute:v1/TargetHttpProxyList": target_http_proxy_list +"/compute:v1/TargetHttpProxyList/id": id +"/compute:v1/TargetHttpProxyList/items": items +"/compute:v1/TargetHttpProxyList/items/item": item +"/compute:v1/TargetHttpProxyList/kind": kind +"/compute:v1/TargetHttpProxyList/nextPageToken": next_page_token +"/compute:v1/TargetHttpProxyList/selfLink": self_link +"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request +"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetHttpsProxy": target_https_proxy +"/compute:v1/TargetHttpsProxy/creationTimestamp": creation_timestamp +"/compute:v1/TargetHttpsProxy/description": description +"/compute:v1/TargetHttpsProxy/id": id +"/compute:v1/TargetHttpsProxy/kind": kind +"/compute:v1/TargetHttpsProxy/name": name +"/compute:v1/TargetHttpsProxy/selfLink": self_link +"/compute:v1/TargetHttpsProxy/sslCertificates": ssl_certificates +"/compute:v1/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetHttpsProxy/urlMap": url_map +"/compute:v1/TargetHttpsProxyList": target_https_proxy_list +"/compute:v1/TargetHttpsProxyList/id": id +"/compute:v1/TargetHttpsProxyList/items": items +"/compute:v1/TargetHttpsProxyList/items/item": item +"/compute:v1/TargetHttpsProxyList/kind": kind +"/compute:v1/TargetHttpsProxyList/nextPageToken": next_page_token +"/compute:v1/TargetHttpsProxyList/selfLink": self_link +"/compute:v1/TargetInstance": target_instance +"/compute:v1/TargetInstance/creationTimestamp": creation_timestamp +"/compute:v1/TargetInstance/description": description +"/compute:v1/TargetInstance/id": id +"/compute:v1/TargetInstance/instance": instance +"/compute:v1/TargetInstance/kind": kind +"/compute:v1/TargetInstance/name": name +"/compute:v1/TargetInstance/natPolicy": nat_policy +"/compute:v1/TargetInstance/selfLink": self_link +"/compute:v1/TargetInstance/zone": zone +"/compute:v1/TargetInstanceAggregatedList": target_instance_aggregated_list +"/compute:v1/TargetInstanceAggregatedList/id": id +"/compute:v1/TargetInstanceAggregatedList/items": items +"/compute:v1/TargetInstanceAggregatedList/items/item": item +"/compute:v1/TargetInstanceAggregatedList/kind": kind +"/compute:v1/TargetInstanceAggregatedList/nextPageToken": next_page_token +"/compute:v1/TargetInstanceAggregatedList/selfLink": self_link +"/compute:v1/TargetInstanceList": target_instance_list +"/compute:v1/TargetInstanceList/id": id +"/compute:v1/TargetInstanceList/items": items +"/compute:v1/TargetInstanceList/items/item": item +"/compute:v1/TargetInstanceList/kind": kind +"/compute:v1/TargetInstanceList/nextPageToken": next_page_token +"/compute:v1/TargetInstanceList/selfLink": self_link +"/compute:v1/TargetInstancesScopedList": target_instances_scoped_list +"/compute:v1/TargetInstancesScopedList/targetInstances": target_instances +"/compute:v1/TargetInstancesScopedList/targetInstances/target_instance": target_instance +"/compute:v1/TargetInstancesScopedList/warning": warning +"/compute:v1/TargetInstancesScopedList/warning/code": code +"/compute:v1/TargetInstancesScopedList/warning/data": data +"/compute:v1/TargetInstancesScopedList/warning/data/datum": datum +"/compute:v1/TargetInstancesScopedList/warning/data/datum/key": key +"/compute:v1/TargetInstancesScopedList/warning/data/datum/value": value +"/compute:v1/TargetInstancesScopedList/warning/message": message +"/compute:v1/TargetPool": target_pool +"/compute:v1/TargetPool/backupPool": backup_pool +"/compute:v1/TargetPool/creationTimestamp": creation_timestamp +"/compute:v1/TargetPool/description": description +"/compute:v1/TargetPool/failoverRatio": failover_ratio +"/compute:v1/TargetPool/healthChecks": health_checks +"/compute:v1/TargetPool/healthChecks/health_check": health_check +"/compute:v1/TargetPool/id": id +"/compute:v1/TargetPool/instances": instances +"/compute:v1/TargetPool/instances/instance": instance +"/compute:v1/TargetPool/kind": kind +"/compute:v1/TargetPool/name": name +"/compute:v1/TargetPool/region": region +"/compute:v1/TargetPool/selfLink": self_link +"/compute:v1/TargetPool/sessionAffinity": session_affinity +"/compute:v1/TargetPoolAggregatedList": target_pool_aggregated_list +"/compute:v1/TargetPoolAggregatedList/id": id +"/compute:v1/TargetPoolAggregatedList/items": items +"/compute:v1/TargetPoolAggregatedList/items/item": item +"/compute:v1/TargetPoolAggregatedList/kind": kind +"/compute:v1/TargetPoolAggregatedList/nextPageToken": next_page_token +"/compute:v1/TargetPoolAggregatedList/selfLink": self_link +"/compute:v1/TargetPoolInstanceHealth": target_pool_instance_health +"/compute:v1/TargetPoolInstanceHealth/healthStatus": health_status +"/compute:v1/TargetPoolInstanceHealth/healthStatus/health_status": health_status +"/compute:v1/TargetPoolInstanceHealth/kind": kind +"/compute:v1/TargetPoolList": target_pool_list +"/compute:v1/TargetPoolList/id": id +"/compute:v1/TargetPoolList/items": items +"/compute:v1/TargetPoolList/items/item": item +"/compute:v1/TargetPoolList/kind": kind +"/compute:v1/TargetPoolList/nextPageToken": next_page_token +"/compute:v1/TargetPoolList/selfLink": self_link +"/compute:v1/TargetPoolsAddHealthCheckRequest/healthChecks": health_checks +"/compute:v1/TargetPoolsAddHealthCheckRequest/healthChecks/health_check": health_check +"/compute:v1/TargetPoolsAddInstanceRequest/instances": instances +"/compute:v1/TargetPoolsAddInstanceRequest/instances/instance": instance +"/compute:v1/TargetPoolsRemoveHealthCheckRequest/healthChecks": health_checks +"/compute:v1/TargetPoolsRemoveHealthCheckRequest/healthChecks/health_check": health_check +"/compute:v1/TargetPoolsRemoveInstanceRequest/instances": instances +"/compute:v1/TargetPoolsRemoveInstanceRequest/instances/instance": instance +"/compute:v1/TargetPoolsScopedList": target_pools_scoped_list +"/compute:v1/TargetPoolsScopedList/targetPools": target_pools +"/compute:v1/TargetPoolsScopedList/targetPools/target_pool": target_pool +"/compute:v1/TargetPoolsScopedList/warning": warning +"/compute:v1/TargetPoolsScopedList/warning/code": code +"/compute:v1/TargetPoolsScopedList/warning/data": data +"/compute:v1/TargetPoolsScopedList/warning/data/datum": datum +"/compute:v1/TargetPoolsScopedList/warning/data/datum/key": key +"/compute:v1/TargetPoolsScopedList/warning/data/datum/value": value +"/compute:v1/TargetPoolsScopedList/warning/message": message +"/compute:v1/TargetReference": target_reference +"/compute:v1/TargetReference/target": target +"/compute:v1/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request +"/compute:v1/TargetSslProxiesSetBackendServiceRequest/service": service +"/compute:v1/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request +"/compute:v1/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetSslProxy": target_ssl_proxy +"/compute:v1/TargetSslProxy/creationTimestamp": creation_timestamp +"/compute:v1/TargetSslProxy/description": description +"/compute:v1/TargetSslProxy/id": id +"/compute:v1/TargetSslProxy/kind": kind +"/compute:v1/TargetSslProxy/name": name +"/compute:v1/TargetSslProxy/proxyHeader": proxy_header +"/compute:v1/TargetSslProxy/selfLink": self_link +"/compute:v1/TargetSslProxy/service": service +"/compute:v1/TargetSslProxy/sslCertificates": ssl_certificates +"/compute:v1/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetSslProxyList": target_ssl_proxy_list +"/compute:v1/TargetSslProxyList/id": id +"/compute:v1/TargetSslProxyList/items": items +"/compute:v1/TargetSslProxyList/items/item": item +"/compute:v1/TargetSslProxyList/kind": kind +"/compute:v1/TargetSslProxyList/nextPageToken": next_page_token +"/compute:v1/TargetSslProxyList/selfLink": self_link +"/compute:v1/TargetVpnGateway": target_vpn_gateway +"/compute:v1/TargetVpnGateway/creationTimestamp": creation_timestamp +"/compute:v1/TargetVpnGateway/description": description +"/compute:v1/TargetVpnGateway/forwardingRules": forwarding_rules +"/compute:v1/TargetVpnGateway/forwardingRules/forwarding_rule": forwarding_rule +"/compute:v1/TargetVpnGateway/id": id +"/compute:v1/TargetVpnGateway/kind": kind +"/compute:v1/TargetVpnGateway/name": name +"/compute:v1/TargetVpnGateway/network": network +"/compute:v1/TargetVpnGateway/region": region +"/compute:v1/TargetVpnGateway/selfLink": self_link +"/compute:v1/TargetVpnGateway/status": status +"/compute:v1/TargetVpnGateway/tunnels": tunnels +"/compute:v1/TargetVpnGateway/tunnels/tunnel": tunnel +"/compute:v1/TargetVpnGatewayAggregatedList": target_vpn_gateway_aggregated_list +"/compute:v1/TargetVpnGatewayAggregatedList/id": id +"/compute:v1/TargetVpnGatewayAggregatedList/items": items +"/compute:v1/TargetVpnGatewayAggregatedList/items/item": item +"/compute:v1/TargetVpnGatewayAggregatedList/kind": kind +"/compute:v1/TargetVpnGatewayAggregatedList/nextPageToken": next_page_token +"/compute:v1/TargetVpnGatewayAggregatedList/selfLink": self_link +"/compute:v1/TargetVpnGatewayList": target_vpn_gateway_list +"/compute:v1/TargetVpnGatewayList/id": id +"/compute:v1/TargetVpnGatewayList/items": items +"/compute:v1/TargetVpnGatewayList/items/item": item +"/compute:v1/TargetVpnGatewayList/kind": kind +"/compute:v1/TargetVpnGatewayList/nextPageToken": next_page_token +"/compute:v1/TargetVpnGatewayList/selfLink": self_link +"/compute:v1/TargetVpnGatewaysScopedList": target_vpn_gateways_scoped_list +"/compute:v1/TargetVpnGatewaysScopedList/targetVpnGateways": target_vpn_gateways +"/compute:v1/TargetVpnGatewaysScopedList/targetVpnGateways/target_vpn_gateway": target_vpn_gateway +"/compute:v1/TargetVpnGatewaysScopedList/warning": warning +"/compute:v1/TargetVpnGatewaysScopedList/warning/code": code +"/compute:v1/TargetVpnGatewaysScopedList/warning/data": data +"/compute:v1/TargetVpnGatewaysScopedList/warning/data/datum": datum +"/compute:v1/TargetVpnGatewaysScopedList/warning/data/datum/key": key +"/compute:v1/TargetVpnGatewaysScopedList/warning/data/datum/value": value +"/compute:v1/TargetVpnGatewaysScopedList/warning/message": message +"/compute:v1/TestFailure": test_failure +"/compute:v1/TestFailure/actualService": actual_service +"/compute:v1/TestFailure/expectedService": expected_service +"/compute:v1/TestFailure/host": host +"/compute:v1/TestFailure/path": path +"/compute:v1/UrlMap": url_map +"/compute:v1/UrlMap/creationTimestamp": creation_timestamp +"/compute:v1/UrlMap/defaultService": default_service +"/compute:v1/UrlMap/description": description +"/compute:v1/UrlMap/fingerprint": fingerprint +"/compute:v1/UrlMap/hostRules": host_rules +"/compute:v1/UrlMap/hostRules/host_rule": host_rule +"/compute:v1/UrlMap/id": id +"/compute:v1/UrlMap/kind": kind +"/compute:v1/UrlMap/name": name +"/compute:v1/UrlMap/pathMatchers": path_matchers +"/compute:v1/UrlMap/pathMatchers/path_matcher": path_matcher +"/compute:v1/UrlMap/selfLink": self_link +"/compute:v1/UrlMap/tests": tests +"/compute:v1/UrlMap/tests/test": test +"/compute:v1/UrlMapList": url_map_list +"/compute:v1/UrlMapList/id": id +"/compute:v1/UrlMapList/items": items +"/compute:v1/UrlMapList/items/item": item +"/compute:v1/UrlMapList/kind": kind +"/compute:v1/UrlMapList/nextPageToken": next_page_token +"/compute:v1/UrlMapList/selfLink": self_link +"/compute:v1/UrlMapReference": url_map_reference +"/compute:v1/UrlMapReference/urlMap": url_map +"/compute:v1/UrlMapTest": url_map_test +"/compute:v1/UrlMapTest/description": description +"/compute:v1/UrlMapTest/host": host +"/compute:v1/UrlMapTest/path": path +"/compute:v1/UrlMapTest/service": service +"/compute:v1/UrlMapValidationResult": url_map_validation_result +"/compute:v1/UrlMapValidationResult/loadErrors": load_errors +"/compute:v1/UrlMapValidationResult/loadErrors/load_error": load_error +"/compute:v1/UrlMapValidationResult/loadSucceeded": load_succeeded +"/compute:v1/UrlMapValidationResult/testFailures": test_failures +"/compute:v1/UrlMapValidationResult/testFailures/test_failure": test_failure +"/compute:v1/UrlMapValidationResult/testPassed": test_passed +"/compute:v1/UrlMapsValidateRequest/resource": resource +"/compute:v1/UrlMapsValidateResponse/result": result +"/compute:v1/UsageExportLocation": usage_export_location +"/compute:v1/UsageExportLocation/bucketName": bucket_name +"/compute:v1/UsageExportLocation/reportNamePrefix": report_name_prefix +"/compute:v1/VpnTunnel": vpn_tunnel +"/compute:v1/VpnTunnel/creationTimestamp": creation_timestamp +"/compute:v1/VpnTunnel/description": description +"/compute:v1/VpnTunnel/detailedStatus": detailed_status +"/compute:v1/VpnTunnel/id": id +"/compute:v1/VpnTunnel/ikeVersion": ike_version +"/compute:v1/VpnTunnel/kind": kind +"/compute:v1/VpnTunnel/localTrafficSelector": local_traffic_selector +"/compute:v1/VpnTunnel/localTrafficSelector/local_traffic_selector": local_traffic_selector +"/compute:v1/VpnTunnel/name": name +"/compute:v1/VpnTunnel/peerIp": peer_ip +"/compute:v1/VpnTunnel/region": region +"/compute:v1/VpnTunnel/remoteTrafficSelector": remote_traffic_selector +"/compute:v1/VpnTunnel/remoteTrafficSelector/remote_traffic_selector": remote_traffic_selector +"/compute:v1/VpnTunnel/router": router +"/compute:v1/VpnTunnel/selfLink": self_link +"/compute:v1/VpnTunnel/sharedSecret": shared_secret +"/compute:v1/VpnTunnel/sharedSecretHash": shared_secret_hash +"/compute:v1/VpnTunnel/status": status +"/compute:v1/VpnTunnel/targetVpnGateway": target_vpn_gateway +"/compute:v1/VpnTunnelAggregatedList": vpn_tunnel_aggregated_list +"/compute:v1/VpnTunnelAggregatedList/id": id +"/compute:v1/VpnTunnelAggregatedList/items": items +"/compute:v1/VpnTunnelAggregatedList/items/item": item +"/compute:v1/VpnTunnelAggregatedList/kind": kind +"/compute:v1/VpnTunnelAggregatedList/nextPageToken": next_page_token +"/compute:v1/VpnTunnelAggregatedList/selfLink": self_link +"/compute:v1/VpnTunnelList": vpn_tunnel_list +"/compute:v1/VpnTunnelList/id": id +"/compute:v1/VpnTunnelList/items": items +"/compute:v1/VpnTunnelList/items/item": item +"/compute:v1/VpnTunnelList/kind": kind +"/compute:v1/VpnTunnelList/nextPageToken": next_page_token +"/compute:v1/VpnTunnelList/selfLink": self_link +"/compute:v1/VpnTunnelsScopedList": vpn_tunnels_scoped_list +"/compute:v1/VpnTunnelsScopedList/vpnTunnels": vpn_tunnels +"/compute:v1/VpnTunnelsScopedList/vpnTunnels/vpn_tunnel": vpn_tunnel +"/compute:v1/VpnTunnelsScopedList/warning": warning +"/compute:v1/VpnTunnelsScopedList/warning/code": code +"/compute:v1/VpnTunnelsScopedList/warning/data": data +"/compute:v1/VpnTunnelsScopedList/warning/data/datum": datum +"/compute:v1/VpnTunnelsScopedList/warning/data/datum/key": key +"/compute:v1/VpnTunnelsScopedList/warning/data/datum/value": value +"/compute:v1/VpnTunnelsScopedList/warning/message": message +"/compute:v1/Zone": zone +"/compute:v1/Zone/creationTimestamp": creation_timestamp +"/compute:v1/Zone/deprecated": deprecated +"/compute:v1/Zone/description": description +"/compute:v1/Zone/id": id +"/compute:v1/Zone/kind": kind +"/compute:v1/Zone/name": name +"/compute:v1/Zone/region": region +"/compute:v1/Zone/selfLink": self_link +"/compute:v1/Zone/status": status +"/compute:v1/ZoneList": zone_list +"/compute:v1/ZoneList/id": id +"/compute:v1/ZoneList/items": items +"/compute:v1/ZoneList/items/item": item +"/compute:v1/ZoneList/kind": kind +"/compute:v1/ZoneList/nextPageToken": next_page_token +"/compute:v1/ZoneList/selfLink": self_link +"/content:v2/fields": fields +"/content:v2/key": key +"/content:v2/quotaUser": quota_user +"/content:v2/userIp": user_ip +"/content:v2/content.accounts.custombatch/dryRun": dry_run +"/content:v2/content.accounts.delete": delete_account +"/content:v2/content.accounts.delete/accountId": account_id +"/content:v2/content.accounts.delete/dryRun": dry_run +"/content:v2/content.accounts.delete/merchantId": merchant_id +"/content:v2/content.accounts.get": get_account +"/content:v2/content.accounts.get/accountId": account_id +"/content:v2/content.accounts.get/merchantId": merchant_id +"/content:v2/content.accounts.insert": insert_account +"/content:v2/content.accounts.insert/dryRun": dry_run +"/content:v2/content.accounts.insert/merchantId": merchant_id +"/content:v2/content.accounts.list": list_accounts +"/content:v2/content.accounts.list/maxResults": max_results +"/content:v2/content.accounts.list/merchantId": merchant_id +"/content:v2/content.accounts.list/pageToken": page_token +"/content:v2/content.accounts.patch": patch_account +"/content:v2/content.accounts.patch/accountId": account_id +"/content:v2/content.accounts.patch/dryRun": dry_run +"/content:v2/content.accounts.patch/merchantId": merchant_id +"/content:v2/content.accounts.update": update_account +"/content:v2/content.accounts.update/accountId": account_id +"/content:v2/content.accounts.update/dryRun": dry_run +"/content:v2/content.accounts.update/merchantId": merchant_id +"/content:v2/content.accountshipping.custombatch/dryRun": dry_run +"/content:v2/content.accountshipping.get/accountId": account_id +"/content:v2/content.accountshipping.get/merchantId": merchant_id +"/content:v2/content.accountshipping.list/maxResults": max_results +"/content:v2/content.accountshipping.list/merchantId": merchant_id +"/content:v2/content.accountshipping.list/pageToken": page_token +"/content:v2/content.accountshipping.patch/accountId": account_id +"/content:v2/content.accountshipping.patch/dryRun": dry_run +"/content:v2/content.accountshipping.patch/merchantId": merchant_id +"/content:v2/content.accountshipping.update/accountId": account_id +"/content:v2/content.accountshipping.update/dryRun": dry_run +"/content:v2/content.accountshipping.update/merchantId": merchant_id +"/content:v2/content.accountstatuses.get/accountId": account_id +"/content:v2/content.accountstatuses.get/merchantId": merchant_id +"/content:v2/content.accountstatuses.list/maxResults": max_results +"/content:v2/content.accountstatuses.list/merchantId": merchant_id +"/content:v2/content.accountstatuses.list/pageToken": page_token +"/content:v2/content.accounttax.custombatch/dryRun": dry_run +"/content:v2/content.accounttax.get/accountId": account_id +"/content:v2/content.accounttax.get/merchantId": merchant_id +"/content:v2/content.accounttax.list/maxResults": max_results +"/content:v2/content.accounttax.list/merchantId": merchant_id +"/content:v2/content.accounttax.list/pageToken": page_token +"/content:v2/content.accounttax.patch/accountId": account_id +"/content:v2/content.accounttax.patch/dryRun": dry_run +"/content:v2/content.accounttax.patch/merchantId": merchant_id +"/content:v2/content.accounttax.update/accountId": account_id +"/content:v2/content.accounttax.update/dryRun": dry_run +"/content:v2/content.accounttax.update/merchantId": merchant_id +"/content:v2/content.datafeeds.custombatch/dryRun": dry_run +"/content:v2/content.datafeeds.delete": delete_datafeed +"/content:v2/content.datafeeds.delete/datafeedId": datafeed_id +"/content:v2/content.datafeeds.delete/dryRun": dry_run +"/content:v2/content.datafeeds.delete/merchantId": merchant_id +"/content:v2/content.datafeeds.get": get_datafeed +"/content:v2/content.datafeeds.get/datafeedId": datafeed_id +"/content:v2/content.datafeeds.get/merchantId": merchant_id +"/content:v2/content.datafeeds.insert": insert_datafeed +"/content:v2/content.datafeeds.insert/dryRun": dry_run +"/content:v2/content.datafeeds.insert/merchantId": merchant_id +"/content:v2/content.datafeeds.list": list_datafeeds +"/content:v2/content.datafeeds.list/maxResults": max_results +"/content:v2/content.datafeeds.list/merchantId": merchant_id +"/content:v2/content.datafeeds.list/pageToken": page_token +"/content:v2/content.datafeeds.patch": patch_datafeed +"/content:v2/content.datafeeds.patch/datafeedId": datafeed_id +"/content:v2/content.datafeeds.patch/dryRun": dry_run +"/content:v2/content.datafeeds.patch/merchantId": merchant_id +"/content:v2/content.datafeeds.update": update_datafeed +"/content:v2/content.datafeeds.update/datafeedId": datafeed_id +"/content:v2/content.datafeeds.update/dryRun": dry_run +"/content:v2/content.datafeeds.update/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.get/datafeedId": datafeed_id +"/content:v2/content.datafeedstatuses.get/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.list/maxResults": max_results +"/content:v2/content.datafeedstatuses.list/merchantId": merchant_id +"/content:v2/content.datafeedstatuses.list/pageToken": page_token +"/content:v2/content.inventory.custombatch/dryRun": dry_run +"/content:v2/content.inventory.set/dryRun": dry_run +"/content:v2/content.inventory.set/merchantId": merchant_id +"/content:v2/content.inventory.set/productId": product_id +"/content:v2/content.inventory.set/storeCode": store_code +"/content:v2/content.orders.acknowledge": acknowledge_order +"/content:v2/content.orders.acknowledge/merchantId": merchant_id +"/content:v2/content.orders.acknowledge/orderId": order_id +"/content:v2/content.orders.advancetestorder/merchantId": merchant_id +"/content:v2/content.orders.advancetestorder/orderId": order_id +"/content:v2/content.orders.cancel": cancel_order +"/content:v2/content.orders.cancel/merchantId": merchant_id +"/content:v2/content.orders.cancel/orderId": order_id +"/content:v2/content.orders.cancellineitem/merchantId": merchant_id +"/content:v2/content.orders.cancellineitem/orderId": order_id +"/content:v2/content.orders.createtestorder/merchantId": merchant_id +"/content:v2/content.orders.get": get_order +"/content:v2/content.orders.get/merchantId": merchant_id +"/content:v2/content.orders.get/orderId": order_id +"/content:v2/content.orders.getbymerchantorderid/merchantId": merchant_id +"/content:v2/content.orders.getbymerchantorderid/merchantOrderId": merchant_order_id +"/content:v2/content.orders.gettestordertemplate/merchantId": merchant_id +"/content:v2/content.orders.gettestordertemplate/templateName": template_name +"/content:v2/content.orders.list": list_orders +"/content:v2/content.orders.list/acknowledged": acknowledged +"/content:v2/content.orders.list/maxResults": max_results +"/content:v2/content.orders.list/merchantId": merchant_id +"/content:v2/content.orders.list/orderBy": order_by +"/content:v2/content.orders.list/pageToken": page_token +"/content:v2/content.orders.list/placedDateEnd": placed_date_end +"/content:v2/content.orders.list/placedDateStart": placed_date_start +"/content:v2/content.orders.list/statuses": statuses +"/content:v2/content.orders.refund": refund_order +"/content:v2/content.orders.refund/merchantId": merchant_id +"/content:v2/content.orders.refund/orderId": order_id +"/content:v2/content.orders.returnlineitem/merchantId": merchant_id +"/content:v2/content.orders.returnlineitem/orderId": order_id +"/content:v2/content.orders.shiplineitems": shiplineitems_order +"/content:v2/content.orders.shiplineitems/merchantId": merchant_id +"/content:v2/content.orders.shiplineitems/orderId": order_id +"/content:v2/content.orders.updatemerchantorderid/merchantId": merchant_id +"/content:v2/content.orders.updatemerchantorderid/orderId": order_id +"/content:v2/content.orders.updateshipment/merchantId": merchant_id +"/content:v2/content.orders.updateshipment/orderId": order_id +"/content:v2/content.products.custombatch/dryRun": dry_run +"/content:v2/content.products.delete": delete_product +"/content:v2/content.products.delete/dryRun": dry_run +"/content:v2/content.products.delete/merchantId": merchant_id +"/content:v2/content.products.delete/productId": product_id +"/content:v2/content.products.get": get_product +"/content:v2/content.products.get/merchantId": merchant_id +"/content:v2/content.products.get/productId": product_id +"/content:v2/content.products.insert": insert_product +"/content:v2/content.products.insert/dryRun": dry_run +"/content:v2/content.products.insert/merchantId": merchant_id +"/content:v2/content.products.list": list_products +"/content:v2/content.products.list/includeInvalidInsertedItems": include_invalid_inserted_items +"/content:v2/content.products.list/maxResults": max_results +"/content:v2/content.products.list/merchantId": merchant_id +"/content:v2/content.products.list/pageToken": page_token +"/content:v2/content.productstatuses.get/merchantId": merchant_id +"/content:v2/content.productstatuses.get/productId": product_id +"/content:v2/content.productstatuses.list/includeInvalidInsertedItems": include_invalid_inserted_items +"/content:v2/content.productstatuses.list/maxResults": max_results +"/content:v2/content.productstatuses.list/merchantId": merchant_id +"/content:v2/content.productstatuses.list/pageToken": page_token +"/content:v2/content.shippingsettings.custombatch": custombatch_shippingsetting +"/content:v2/content.shippingsettings.custombatch/dryRun": dry_run +"/content:v2/content.shippingsettings.get": get_shippingsetting +"/content:v2/content.shippingsettings.get/accountId": account_id +"/content:v2/content.shippingsettings.get/merchantId": merchant_id +"/content:v2/content.shippingsettings.getsupportedcarriers": getsupportedcarriers_shippingsetting +"/content:v2/content.shippingsettings.getsupportedcarriers/merchantId": merchant_id +"/content:v2/content.shippingsettings.list": list_shippingsettings +"/content:v2/content.shippingsettings.list/maxResults": max_results +"/content:v2/content.shippingsettings.list/merchantId": merchant_id +"/content:v2/content.shippingsettings.list/pageToken": page_token +"/content:v2/content.shippingsettings.patch": patch_shippingsetting +"/content:v2/content.shippingsettings.patch/accountId": account_id +"/content:v2/content.shippingsettings.patch/dryRun": dry_run +"/content:v2/content.shippingsettings.patch/merchantId": merchant_id +"/content:v2/content.shippingsettings.update": update_shippingsetting +"/content:v2/content.shippingsettings.update/accountId": account_id +"/content:v2/content.shippingsettings.update/dryRun": dry_run +"/content:v2/content.shippingsettings.update/merchantId": merchant_id +"/content:v2/Account": account +"/content:v2/Account/adultContent": adult_content +"/content:v2/Account/adwordsLinks": adwords_links +"/content:v2/Account/adwordsLinks/adwords_link": adwords_link +"/content:v2/Account/id": id +"/content:v2/Account/kind": kind +"/content:v2/Account/name": name +"/content:v2/Account/reviewsUrl": reviews_url +"/content:v2/Account/sellerId": seller_id +"/content:v2/Account/users": users +"/content:v2/Account/users/user": user +"/content:v2/Account/websiteUrl": website_url +"/content:v2/AccountAdwordsLink": account_adwords_link +"/content:v2/AccountAdwordsLink/adwordsId": adwords_id +"/content:v2/AccountAdwordsLink/status": status +"/content:v2/AccountIdentifier": account_identifier +"/content:v2/AccountIdentifier/aggregatorId": aggregator_id +"/content:v2/AccountIdentifier/merchantId": merchant_id +"/content:v2/AccountShipping": account_shipping +"/content:v2/AccountShipping/accountId": account_id +"/content:v2/AccountShipping/carrierRates": carrier_rates +"/content:v2/AccountShipping/carrierRates/carrier_rate": carrier_rate +"/content:v2/AccountShipping/kind": kind +"/content:v2/AccountShipping/locationGroups": location_groups +"/content:v2/AccountShipping/locationGroups/location_group": location_group +"/content:v2/AccountShipping/rateTables": rate_tables +"/content:v2/AccountShipping/rateTables/rate_table": rate_table +"/content:v2/AccountShipping/services": services +"/content:v2/AccountShipping/services/service": service +"/content:v2/AccountShippingCarrierRate": account_shipping_carrier_rate +"/content:v2/AccountShippingCarrierRate/carrier": carrier +"/content:v2/AccountShippingCarrierRate/carrierService": carrier_service +"/content:v2/AccountShippingCarrierRate/modifierFlatRate": modifier_flat_rate +"/content:v2/AccountShippingCarrierRate/modifierPercent": modifier_percent +"/content:v2/AccountShippingCarrierRate/name": name +"/content:v2/AccountShippingCarrierRate/saleCountry": sale_country +"/content:v2/AccountShippingCarrierRate/shippingOrigin": shipping_origin +"/content:v2/AccountShippingCondition": account_shipping_condition +"/content:v2/AccountShippingCondition/deliveryLocationGroup": delivery_location_group +"/content:v2/AccountShippingCondition/deliveryLocationId": delivery_location_id +"/content:v2/AccountShippingCondition/deliveryPostalCode": delivery_postal_code +"/content:v2/AccountShippingCondition/deliveryPostalCodeRange": delivery_postal_code_range +"/content:v2/AccountShippingCondition/priceMax": price_max +"/content:v2/AccountShippingCondition/shippingLabel": shipping_label +"/content:v2/AccountShippingCondition/weightMax": weight_max +"/content:v2/AccountShippingLocationGroup": account_shipping_location_group +"/content:v2/AccountShippingLocationGroup/country": country +"/content:v2/AccountShippingLocationGroup/locationIds": location_ids +"/content:v2/AccountShippingLocationGroup/locationIds/location_id": location_id +"/content:v2/AccountShippingLocationGroup/name": name +"/content:v2/AccountShippingLocationGroup/postalCodeRanges": postal_code_ranges +"/content:v2/AccountShippingLocationGroup/postalCodeRanges/postal_code_range": postal_code_range +"/content:v2/AccountShippingLocationGroup/postalCodes": postal_codes +"/content:v2/AccountShippingLocationGroup/postalCodes/postal_code": postal_code +"/content:v2/AccountShippingPostalCodeRange": account_shipping_postal_code_range +"/content:v2/AccountShippingPostalCodeRange/end": end +"/content:v2/AccountShippingPostalCodeRange/start": start +"/content:v2/AccountShippingRateTable": account_shipping_rate_table +"/content:v2/AccountShippingRateTable/content": content +"/content:v2/AccountShippingRateTable/content/content": content +"/content:v2/AccountShippingRateTable/name": name +"/content:v2/AccountShippingRateTable/saleCountry": sale_country +"/content:v2/AccountShippingRateTableCell": account_shipping_rate_table_cell +"/content:v2/AccountShippingRateTableCell/condition": condition +"/content:v2/AccountShippingRateTableCell/rate": rate +"/content:v2/AccountShippingShippingService": account_shipping_shipping_service +"/content:v2/AccountShippingShippingService/active": active +"/content:v2/AccountShippingShippingService/calculationMethod": calculation_method +"/content:v2/AccountShippingShippingService/costRuleTree": cost_rule_tree +"/content:v2/AccountShippingShippingService/maxDaysInTransit": max_days_in_transit +"/content:v2/AccountShippingShippingService/minDaysInTransit": min_days_in_transit +"/content:v2/AccountShippingShippingService/name": name +"/content:v2/AccountShippingShippingService/saleCountry": sale_country +"/content:v2/AccountShippingShippingServiceCalculationMethod": account_shipping_shipping_service_calculation_method +"/content:v2/AccountShippingShippingServiceCalculationMethod/carrierRate": carrier_rate +"/content:v2/AccountShippingShippingServiceCalculationMethod/excluded": excluded +"/content:v2/AccountShippingShippingServiceCalculationMethod/flatRate": flat_rate +"/content:v2/AccountShippingShippingServiceCalculationMethod/percentageRate": percentage_rate +"/content:v2/AccountShippingShippingServiceCalculationMethod/rateTable": rate_table +"/content:v2/AccountShippingShippingServiceCostRule": account_shipping_shipping_service_cost_rule +"/content:v2/AccountShippingShippingServiceCostRule/calculationMethod": calculation_method +"/content:v2/AccountShippingShippingServiceCostRule/children": children +"/content:v2/AccountShippingShippingServiceCostRule/children/child": child +"/content:v2/AccountShippingShippingServiceCostRule/condition": condition +"/content:v2/AccountStatus": account_status +"/content:v2/AccountStatus/accountId": account_id +"/content:v2/AccountStatus/dataQualityIssues": data_quality_issues +"/content:v2/AccountStatus/dataQualityIssues/data_quality_issue": data_quality_issue +"/content:v2/AccountStatus/kind": kind +"/content:v2/AccountStatusDataQualityIssue": account_status_data_quality_issue +"/content:v2/AccountStatusDataQualityIssue/country": country +"/content:v2/AccountStatusDataQualityIssue/displayedValue": displayed_value +"/content:v2/AccountStatusDataQualityIssue/exampleItems": example_items +"/content:v2/AccountStatusDataQualityIssue/exampleItems/example_item": example_item +"/content:v2/AccountStatusDataQualityIssue/id": id +"/content:v2/AccountStatusDataQualityIssue/lastChecked": last_checked +"/content:v2/AccountStatusDataQualityIssue/numItems": num_items +"/content:v2/AccountStatusDataQualityIssue/severity": severity +"/content:v2/AccountStatusDataQualityIssue/submittedValue": submitted_value +"/content:v2/AccountStatusExampleItem": account_status_example_item +"/content:v2/AccountStatusExampleItem/itemId": item_id +"/content:v2/AccountStatusExampleItem/link": link +"/content:v2/AccountStatusExampleItem/submittedValue": submitted_value +"/content:v2/AccountStatusExampleItem/title": title +"/content:v2/AccountStatusExampleItem/valueOnLandingPage": value_on_landing_page +"/content:v2/AccountTax": account_tax +"/content:v2/AccountTax/accountId": account_id +"/content:v2/AccountTax/kind": kind +"/content:v2/AccountTax/rules": rules +"/content:v2/AccountTax/rules/rule": rule +"/content:v2/AccountTaxTaxRule": account_tax_tax_rule +"/content:v2/AccountTaxTaxRule/country": country +"/content:v2/AccountTaxTaxRule/locationId": location_id +"/content:v2/AccountTaxTaxRule/ratePercent": rate_percent +"/content:v2/AccountTaxTaxRule/shippingTaxed": shipping_taxed +"/content:v2/AccountTaxTaxRule/useGlobalRate": use_global_rate +"/content:v2/AccountUser": account_user +"/content:v2/AccountUser/admin": admin +"/content:v2/AccountUser/emailAddress": email_address +"/content:v2/AccountsAuthInfoResponse/accountIdentifiers": account_identifiers +"/content:v2/AccountsAuthInfoResponse/accountIdentifiers/account_identifier": account_identifier +"/content:v2/AccountsAuthInfoResponse/kind": kind +"/content:v2/AccountsCustomBatchRequest/entries": entries +"/content:v2/AccountsCustomBatchRequest/entries/entry": entry +"/content:v2/AccountsCustomBatchRequestEntry/account": account +"/content:v2/AccountsCustomBatchRequestEntry/accountId": account_id +"/content:v2/AccountsCustomBatchRequestEntry/batchId": batch_id +"/content:v2/AccountsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccountsCustomBatchResponse/entries": entries +"/content:v2/AccountsCustomBatchResponse/entries/entry": entry +"/content:v2/AccountsCustomBatchResponse/kind": kind +"/content:v2/AccountsCustomBatchResponseEntry/account": account +"/content:v2/AccountsCustomBatchResponseEntry/batchId": batch_id +"/content:v2/AccountsCustomBatchResponseEntry/errors": errors +"/content:v2/AccountsCustomBatchResponseEntry/kind": kind +"/content:v2/AccountsListResponse/kind": kind +"/content:v2/AccountsListResponse/nextPageToken": next_page_token +"/content:v2/AccountsListResponse/resources": resources +"/content:v2/AccountsListResponse/resources/resource": resource +"/content:v2/AccountshippingCustomBatchRequest/entries": entries +"/content:v2/AccountshippingCustomBatchRequest/entries/entry": entry +"/content:v2/AccountshippingCustomBatchRequestEntry/accountId": account_id +"/content:v2/AccountshippingCustomBatchRequestEntry/accountShipping": account_shipping +"/content:v2/AccountshippingCustomBatchRequestEntry/batchId": batch_id +"/content:v2/AccountshippingCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccountshippingCustomBatchResponse/entries": entries +"/content:v2/AccountshippingCustomBatchResponse/entries/entry": entry +"/content:v2/AccountshippingCustomBatchResponse/kind": kind +"/content:v2/AccountshippingCustomBatchResponseEntry/accountShipping": account_shipping +"/content:v2/AccountshippingCustomBatchResponseEntry/batchId": batch_id +"/content:v2/AccountshippingCustomBatchResponseEntry/errors": errors +"/content:v2/AccountshippingCustomBatchResponseEntry/kind": kind +"/content:v2/AccountshippingListResponse/kind": kind +"/content:v2/AccountshippingListResponse/nextPageToken": next_page_token +"/content:v2/AccountshippingListResponse/resources": resources +"/content:v2/AccountshippingListResponse/resources/resource": resource +"/content:v2/AccountstatusesCustomBatchRequest/entries": entries +"/content:v2/AccountstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/AccountstatusesCustomBatchRequestEntry/accountId": account_id +"/content:v2/AccountstatusesCustomBatchRequestEntry/batchId": batch_id +"/content:v2/AccountstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccountstatusesCustomBatchResponse/entries": entries +"/content:v2/AccountstatusesCustomBatchResponse/entries/entry": entry +"/content:v2/AccountstatusesCustomBatchResponse/kind": kind +"/content:v2/AccountstatusesCustomBatchResponseEntry/accountStatus": account_status +"/content:v2/AccountstatusesCustomBatchResponseEntry/batchId": batch_id +"/content:v2/AccountstatusesCustomBatchResponseEntry/errors": errors +"/content:v2/AccountstatusesListResponse/kind": kind +"/content:v2/AccountstatusesListResponse/nextPageToken": next_page_token +"/content:v2/AccountstatusesListResponse/resources": resources +"/content:v2/AccountstatusesListResponse/resources/resource": resource +"/content:v2/AccounttaxCustomBatchRequest/entries": entries +"/content:v2/AccounttaxCustomBatchRequest/entries/entry": entry +"/content:v2/AccounttaxCustomBatchRequestEntry/accountId": account_id +"/content:v2/AccounttaxCustomBatchRequestEntry/accountTax": account_tax +"/content:v2/AccounttaxCustomBatchRequestEntry/batchId": batch_id +"/content:v2/AccounttaxCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/AccounttaxCustomBatchResponse/entries": entries +"/content:v2/AccounttaxCustomBatchResponse/entries/entry": entry +"/content:v2/AccounttaxCustomBatchResponse/kind": kind +"/content:v2/AccounttaxCustomBatchResponseEntry/accountTax": account_tax +"/content:v2/AccounttaxCustomBatchResponseEntry/batchId": batch_id +"/content:v2/AccounttaxCustomBatchResponseEntry/errors": errors +"/content:v2/AccounttaxCustomBatchResponseEntry/kind": kind +"/content:v2/AccounttaxListResponse/kind": kind +"/content:v2/AccounttaxListResponse/nextPageToken": next_page_token +"/content:v2/AccounttaxListResponse/resources": resources +"/content:v2/AccounttaxListResponse/resources/resource": resource +"/content:v2/CarrierRate": carrier_rate +"/content:v2/CarrierRate/carrierName": carrier_name +"/content:v2/CarrierRate/carrierService": carrier_service +"/content:v2/CarrierRate/flatAdjustment": flat_adjustment +"/content:v2/CarrierRate/name": name +"/content:v2/CarrierRate/originPostalCode": origin_postal_code +"/content:v2/CarrierRate/percentageAdjustment": percentage_adjustment +"/content:v2/CarriersCarrier": carriers_carrier +"/content:v2/CarriersCarrier/country": country +"/content:v2/CarriersCarrier/name": name +"/content:v2/CarriersCarrier/services": services +"/content:v2/CarriersCarrier/services/service": service +"/content:v2/Datafeed": datafeed +"/content:v2/Datafeed/attributeLanguage": attribute_language +"/content:v2/Datafeed/contentLanguage": content_language +"/content:v2/Datafeed/contentType": content_type +"/content:v2/Datafeed/fetchSchedule": fetch_schedule +"/content:v2/Datafeed/fileName": file_name +"/content:v2/Datafeed/format": format +"/content:v2/Datafeed/id": id +"/content:v2/Datafeed/intendedDestinations": intended_destinations +"/content:v2/Datafeed/intendedDestinations/intended_destination": intended_destination +"/content:v2/Datafeed/kind": kind +"/content:v2/Datafeed/name": name +"/content:v2/Datafeed/targetCountry": target_country +"/content:v2/DatafeedFetchSchedule": datafeed_fetch_schedule +"/content:v2/DatafeedFetchSchedule/dayOfMonth": day_of_month +"/content:v2/DatafeedFetchSchedule/fetchUrl": fetch_url +"/content:v2/DatafeedFetchSchedule/hour": hour +"/content:v2/DatafeedFetchSchedule/minuteOfHour": minute_of_hour +"/content:v2/DatafeedFetchSchedule/password": password +"/content:v2/DatafeedFetchSchedule/timeZone": time_zone +"/content:v2/DatafeedFetchSchedule/username": username +"/content:v2/DatafeedFetchSchedule/weekday": weekday +"/content:v2/DatafeedFormat": datafeed_format +"/content:v2/DatafeedFormat/columnDelimiter": column_delimiter +"/content:v2/DatafeedFormat/fileEncoding": file_encoding +"/content:v2/DatafeedFormat/quotingMode": quoting_mode +"/content:v2/DatafeedStatus": datafeed_status +"/content:v2/DatafeedStatus/datafeedId": datafeed_id +"/content:v2/DatafeedStatus/errors": errors +"/content:v2/DatafeedStatus/errors/error": error +"/content:v2/DatafeedStatus/itemsTotal": items_total +"/content:v2/DatafeedStatus/itemsValid": items_valid +"/content:v2/DatafeedStatus/kind": kind +"/content:v2/DatafeedStatus/lastUploadDate": last_upload_date +"/content:v2/DatafeedStatus/processingStatus": processing_status +"/content:v2/DatafeedStatus/warnings": warnings +"/content:v2/DatafeedStatus/warnings/warning": warning +"/content:v2/DatafeedStatusError": datafeed_status_error +"/content:v2/DatafeedStatusError/code": code +"/content:v2/DatafeedStatusError/count": count +"/content:v2/DatafeedStatusError/examples": examples +"/content:v2/DatafeedStatusError/examples/example": example +"/content:v2/DatafeedStatusError/message": message +"/content:v2/DatafeedStatusExample": datafeed_status_example +"/content:v2/DatafeedStatusExample/itemId": item_id +"/content:v2/DatafeedStatusExample/lineNumber": line_number +"/content:v2/DatafeedStatusExample/value": value +"/content:v2/DatafeedsCustomBatchRequest/entries": entries +"/content:v2/DatafeedsCustomBatchRequest/entries/entry": entry +"/content:v2/DatafeedsCustomBatchRequestEntry/batchId": batch_id +"/content:v2/DatafeedsCustomBatchRequestEntry/datafeed": datafeed +"/content:v2/DatafeedsCustomBatchRequestEntry/datafeedId": datafeed_id +"/content:v2/DatafeedsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/DatafeedsCustomBatchResponse/entries": entries +"/content:v2/DatafeedsCustomBatchResponse/entries/entry": entry +"/content:v2/DatafeedsCustomBatchResponse/kind": kind +"/content:v2/DatafeedsCustomBatchResponseEntry/batchId": batch_id +"/content:v2/DatafeedsCustomBatchResponseEntry/datafeed": datafeed +"/content:v2/DatafeedsCustomBatchResponseEntry/errors": errors +"/content:v2/DatafeedsListResponse/kind": kind +"/content:v2/DatafeedsListResponse/nextPageToken": next_page_token +"/content:v2/DatafeedsListResponse/resources": resources +"/content:v2/DatafeedsListResponse/resources/resource": resource +"/content:v2/DatafeedstatusesCustomBatchRequest/entries": entries +"/content:v2/DatafeedstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/DatafeedstatusesCustomBatchRequestEntry/batchId": batch_id +"/content:v2/DatafeedstatusesCustomBatchRequestEntry/datafeedId": datafeed_id +"/content:v2/DatafeedstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/DatafeedstatusesCustomBatchResponse/entries": entries +"/content:v2/DatafeedstatusesCustomBatchResponse/entries/entry": entry +"/content:v2/DatafeedstatusesCustomBatchResponse/kind": kind +"/content:v2/DatafeedstatusesCustomBatchResponseEntry/batchId": batch_id +"/content:v2/DatafeedstatusesCustomBatchResponseEntry/datafeedStatus": datafeed_status +"/content:v2/DatafeedstatusesCustomBatchResponseEntry/errors": errors +"/content:v2/DatafeedstatusesListResponse/kind": kind +"/content:v2/DatafeedstatusesListResponse/nextPageToken": next_page_token +"/content:v2/DatafeedstatusesListResponse/resources": resources +"/content:v2/DatafeedstatusesListResponse/resources/resource": resource +"/content:v2/DeliveryTime": delivery_time +"/content:v2/DeliveryTime/maxTransitTimeInDays": max_transit_time_in_days +"/content:v2/DeliveryTime/minTransitTimeInDays": min_transit_time_in_days +"/content:v2/Error": error +"/content:v2/Error/domain": domain +"/content:v2/Error/message": message +"/content:v2/Error/reason": reason +"/content:v2/Errors": errors +"/content:v2/Errors/code": code +"/content:v2/Errors/errors": errors +"/content:v2/Errors/errors/error": error +"/content:v2/Errors/message": message +"/content:v2/Headers": headers +"/content:v2/Headers/locations": locations +"/content:v2/Headers/locations/location": location +"/content:v2/Headers/numberOfItems": number_of_items +"/content:v2/Headers/numberOfItems/number_of_item": number_of_item +"/content:v2/Headers/postalCodeGroupNames": postal_code_group_names +"/content:v2/Headers/postalCodeGroupNames/postal_code_group_name": postal_code_group_name +"/content:v2/Headers/prices": prices +"/content:v2/Headers/prices/price": price +"/content:v2/Headers/weights": weights +"/content:v2/Headers/weights/weight": weight +"/content:v2/Installment": installment +"/content:v2/Installment/amount": amount +"/content:v2/Installment/months": months +"/content:v2/Inventory": inventory +"/content:v2/Inventory/availability": availability +"/content:v2/Inventory/installment": installment +"/content:v2/Inventory/kind": kind +"/content:v2/Inventory/loyaltyPoints": loyalty_points +"/content:v2/Inventory/pickup": pickup +"/content:v2/Inventory/price": price +"/content:v2/Inventory/quantity": quantity +"/content:v2/Inventory/salePrice": sale_price +"/content:v2/Inventory/salePriceEffectiveDate": sale_price_effective_date +"/content:v2/Inventory/sellOnGoogleQuantity": sell_on_google_quantity +"/content:v2/InventoryCustomBatchRequest/entries": entries +"/content:v2/InventoryCustomBatchRequest/entries/entry": entry +"/content:v2/InventoryCustomBatchRequestEntry/batchId": batch_id +"/content:v2/InventoryCustomBatchRequestEntry/inventory": inventory +"/content:v2/InventoryCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/InventoryCustomBatchRequestEntry/productId": product_id +"/content:v2/InventoryCustomBatchRequestEntry/storeCode": store_code +"/content:v2/InventoryCustomBatchResponse/entries": entries +"/content:v2/InventoryCustomBatchResponse/entries/entry": entry +"/content:v2/InventoryCustomBatchResponse/kind": kind +"/content:v2/InventoryCustomBatchResponseEntry/batchId": batch_id +"/content:v2/InventoryCustomBatchResponseEntry/errors": errors +"/content:v2/InventoryCustomBatchResponseEntry/kind": kind +"/content:v2/InventoryPickup": inventory_pickup +"/content:v2/InventoryPickup/pickupMethod": pickup_method +"/content:v2/InventoryPickup/pickupSla": pickup_sla +"/content:v2/InventorySetRequest/availability": availability +"/content:v2/InventorySetRequest/installment": installment +"/content:v2/InventorySetRequest/loyaltyPoints": loyalty_points +"/content:v2/InventorySetRequest/pickup": pickup +"/content:v2/InventorySetRequest/price": price +"/content:v2/InventorySetRequest/quantity": quantity +"/content:v2/InventorySetRequest/salePrice": sale_price +"/content:v2/InventorySetRequest/salePriceEffectiveDate": sale_price_effective_date +"/content:v2/InventorySetRequest/sellOnGoogleQuantity": sell_on_google_quantity +"/content:v2/InventorySetResponse/kind": kind +"/content:v2/LocationIdSet": location_id_set +"/content:v2/LocationIdSet/locationIds": location_ids +"/content:v2/LocationIdSet/locationIds/location_id": location_id +"/content:v2/LoyaltyPoints": loyalty_points +"/content:v2/LoyaltyPoints/name": name +"/content:v2/LoyaltyPoints/pointsValue": points_value +"/content:v2/LoyaltyPoints/ratio": ratio +"/content:v2/Order": order +"/content:v2/Order/acknowledged": acknowledged +"/content:v2/Order/channelType": channel_type +"/content:v2/Order/customer": customer +"/content:v2/Order/deliveryDetails": delivery_details +"/content:v2/Order/id": id +"/content:v2/Order/kind": kind +"/content:v2/Order/lineItems": line_items +"/content:v2/Order/lineItems/line_item": line_item +"/content:v2/Order/merchantId": merchant_id +"/content:v2/Order/merchantOrderId": merchant_order_id +"/content:v2/Order/netAmount": net_amount +"/content:v2/Order/paymentMethod": payment_method +"/content:v2/Order/paymentStatus": payment_status +"/content:v2/Order/placedDate": placed_date +"/content:v2/Order/promotions": promotions +"/content:v2/Order/promotions/promotion": promotion +"/content:v2/Order/refunds": refunds +"/content:v2/Order/refunds/refund": refund +"/content:v2/Order/shipments": shipments +"/content:v2/Order/shipments/shipment": shipment +"/content:v2/Order/shippingCost": shipping_cost +"/content:v2/Order/shippingCostTax": shipping_cost_tax +"/content:v2/Order/shippingOption": shipping_option +"/content:v2/Order/status": status +"/content:v2/OrderAddress": order_address +"/content:v2/OrderAddress/country": country +"/content:v2/OrderAddress/fullAddress": full_address +"/content:v2/OrderAddress/fullAddress/full_address": full_address +"/content:v2/OrderAddress/isPostOfficeBox": is_post_office_box +"/content:v2/OrderAddress/locality": locality +"/content:v2/OrderAddress/postalCode": postal_code +"/content:v2/OrderAddress/recipientName": recipient_name +"/content:v2/OrderAddress/region": region +"/content:v2/OrderAddress/streetAddress": street_address +"/content:v2/OrderAddress/streetAddress/street_address": street_address +"/content:v2/OrderCancellation": order_cancellation +"/content:v2/OrderCancellation/actor": actor +"/content:v2/OrderCancellation/creationDate": creation_date +"/content:v2/OrderCancellation/quantity": quantity +"/content:v2/OrderCancellation/reason": reason +"/content:v2/OrderCancellation/reasonText": reason_text +"/content:v2/OrderCustomer": order_customer +"/content:v2/OrderCustomer/email": email +"/content:v2/OrderCustomer/explicitMarketingPreference": explicit_marketing_preference +"/content:v2/OrderCustomer/fullName": full_name +"/content:v2/OrderDeliveryDetails": order_delivery_details +"/content:v2/OrderDeliveryDetails/address": address +"/content:v2/OrderDeliveryDetails/phoneNumber": phone_number +"/content:v2/OrderLineItem": order_line_item +"/content:v2/OrderLineItem/cancellations": cancellations +"/content:v2/OrderLineItem/cancellations/cancellation": cancellation +"/content:v2/OrderLineItem/id": id +"/content:v2/OrderLineItem/price": price +"/content:v2/OrderLineItem/product": product +"/content:v2/OrderLineItem/quantityCanceled": quantity_canceled +"/content:v2/OrderLineItem/quantityDelivered": quantity_delivered +"/content:v2/OrderLineItem/quantityOrdered": quantity_ordered +"/content:v2/OrderLineItem/quantityPending": quantity_pending +"/content:v2/OrderLineItem/quantityReturned": quantity_returned +"/content:v2/OrderLineItem/quantityShipped": quantity_shipped +"/content:v2/OrderLineItem/returnInfo": return_info +"/content:v2/OrderLineItem/returns": returns +"/content:v2/OrderLineItem/returns/return": return +"/content:v2/OrderLineItem/shippingDetails": shipping_details +"/content:v2/OrderLineItem/tax": tax +"/content:v2/OrderLineItemProduct": order_line_item_product +"/content:v2/OrderLineItemProduct/brand": brand +"/content:v2/OrderLineItemProduct/channel": channel +"/content:v2/OrderLineItemProduct/condition": condition +"/content:v2/OrderLineItemProduct/contentLanguage": content_language +"/content:v2/OrderLineItemProduct/gtin": gtin +"/content:v2/OrderLineItemProduct/id": id +"/content:v2/OrderLineItemProduct/imageLink": image_link +"/content:v2/OrderLineItemProduct/itemGroupId": item_group_id +"/content:v2/OrderLineItemProduct/mpn": mpn +"/content:v2/OrderLineItemProduct/offerId": offer_id +"/content:v2/OrderLineItemProduct/price": price +"/content:v2/OrderLineItemProduct/shownImage": shown_image +"/content:v2/OrderLineItemProduct/targetCountry": target_country +"/content:v2/OrderLineItemProduct/title": title +"/content:v2/OrderLineItemProduct/variantAttributes": variant_attributes +"/content:v2/OrderLineItemProduct/variantAttributes/variant_attribute": variant_attribute +"/content:v2/OrderLineItemProductVariantAttribute": order_line_item_product_variant_attribute +"/content:v2/OrderLineItemProductVariantAttribute/dimension": dimension +"/content:v2/OrderLineItemProductVariantAttribute/value": value +"/content:v2/OrderLineItemReturnInfo": order_line_item_return_info +"/content:v2/OrderLineItemReturnInfo/daysToReturn": days_to_return +"/content:v2/OrderLineItemReturnInfo/isReturnable": is_returnable +"/content:v2/OrderLineItemReturnInfo/policyUrl": policy_url +"/content:v2/OrderLineItemShippingDetails": order_line_item_shipping_details +"/content:v2/OrderLineItemShippingDetails/deliverByDate": deliver_by_date +"/content:v2/OrderLineItemShippingDetails/method": method_prop +"/content:v2/OrderLineItemShippingDetails/shipByDate": ship_by_date +"/content:v2/OrderLineItemShippingDetailsMethod": order_line_item_shipping_details_method +"/content:v2/OrderLineItemShippingDetailsMethod/carrier": carrier +"/content:v2/OrderLineItemShippingDetailsMethod/maxDaysInTransit": max_days_in_transit +"/content:v2/OrderLineItemShippingDetailsMethod/methodName": method_name +"/content:v2/OrderLineItemShippingDetailsMethod/minDaysInTransit": min_days_in_transit +"/content:v2/OrderPaymentMethod": order_payment_method +"/content:v2/OrderPaymentMethod/billingAddress": billing_address +"/content:v2/OrderPaymentMethod/expirationMonth": expiration_month +"/content:v2/OrderPaymentMethod/expirationYear": expiration_year +"/content:v2/OrderPaymentMethod/lastFourDigits": last_four_digits +"/content:v2/OrderPaymentMethod/phoneNumber": phone_number +"/content:v2/OrderPaymentMethod/type": type +"/content:v2/OrderPromotion": order_promotion +"/content:v2/OrderPromotion/benefits": benefits +"/content:v2/OrderPromotion/benefits/benefit": benefit +"/content:v2/OrderPromotion/effectiveDates": effective_dates +"/content:v2/OrderPromotion/genericRedemptionCode": generic_redemption_code +"/content:v2/OrderPromotion/id": id +"/content:v2/OrderPromotion/longTitle": long_title +"/content:v2/OrderPromotion/productApplicability": product_applicability +"/content:v2/OrderPromotion/redemptionChannel": redemption_channel +"/content:v2/OrderPromotionBenefit": order_promotion_benefit +"/content:v2/OrderPromotionBenefit/discount": discount +"/content:v2/OrderPromotionBenefit/offerIds": offer_ids +"/content:v2/OrderPromotionBenefit/offerIds/offer_id": offer_id +"/content:v2/OrderPromotionBenefit/subType": sub_type +"/content:v2/OrderPromotionBenefit/taxImpact": tax_impact +"/content:v2/OrderPromotionBenefit/type": type +"/content:v2/OrderRefund": order_refund +"/content:v2/OrderRefund/actor": actor +"/content:v2/OrderRefund/amount": amount +"/content:v2/OrderRefund/creationDate": creation_date +"/content:v2/OrderRefund/reason": reason +"/content:v2/OrderRefund/reasonText": reason_text +"/content:v2/OrderReturn": order_return +"/content:v2/OrderReturn/actor": actor +"/content:v2/OrderReturn/creationDate": creation_date +"/content:v2/OrderReturn/quantity": quantity +"/content:v2/OrderReturn/reason": reason +"/content:v2/OrderReturn/reasonText": reason_text +"/content:v2/OrderShipment": order_shipment +"/content:v2/OrderShipment/carrier": carrier +"/content:v2/OrderShipment/creationDate": creation_date +"/content:v2/OrderShipment/deliveryDate": delivery_date +"/content:v2/OrderShipment/id": id +"/content:v2/OrderShipment/lineItems": line_items +"/content:v2/OrderShipment/lineItems/line_item": line_item +"/content:v2/OrderShipment/status": status +"/content:v2/OrderShipment/trackingId": tracking_id +"/content:v2/OrderShipmentLineItemShipment": order_shipment_line_item_shipment +"/content:v2/OrderShipmentLineItemShipment/lineItemId": line_item_id +"/content:v2/OrderShipmentLineItemShipment/quantity": quantity +"/content:v2/OrdersAcknowledgeRequest": orders_acknowledge_request +"/content:v2/OrdersAcknowledgeRequest/operationId": operation_id +"/content:v2/OrdersAcknowledgeResponse": orders_acknowledge_response +"/content:v2/OrdersAcknowledgeResponse/executionStatus": execution_status +"/content:v2/OrdersAcknowledgeResponse/kind": kind +"/content:v2/OrdersAdvanceTestOrderResponse": orders_advance_test_order_response +"/content:v2/OrdersAdvanceTestOrderResponse/kind": kind +"/content:v2/OrdersCancelLineItemRequest": orders_cancel_line_item_request +"/content:v2/OrdersCancelLineItemRequest/amount": amount +"/content:v2/OrdersCancelLineItemRequest/lineItemId": line_item_id +"/content:v2/OrdersCancelLineItemRequest/operationId": operation_id +"/content:v2/OrdersCancelLineItemRequest/quantity": quantity +"/content:v2/OrdersCancelLineItemRequest/reason": reason +"/content:v2/OrdersCancelLineItemRequest/reasonText": reason_text +"/content:v2/OrdersCancelLineItemResponse": orders_cancel_line_item_response +"/content:v2/OrdersCancelLineItemResponse/executionStatus": execution_status +"/content:v2/OrdersCancelLineItemResponse/kind": kind +"/content:v2/OrdersCancelRequest": orders_cancel_request +"/content:v2/OrdersCancelRequest/operationId": operation_id +"/content:v2/OrdersCancelRequest/reason": reason +"/content:v2/OrdersCancelRequest/reasonText": reason_text +"/content:v2/OrdersCancelResponse": orders_cancel_response +"/content:v2/OrdersCancelResponse/executionStatus": execution_status +"/content:v2/OrdersCancelResponse/kind": kind +"/content:v2/OrdersCreateTestOrderRequest": orders_create_test_order_request +"/content:v2/OrdersCreateTestOrderRequest/templateName": template_name +"/content:v2/OrdersCreateTestOrderRequest/testOrder": test_order +"/content:v2/OrdersCreateTestOrderResponse": orders_create_test_order_response +"/content:v2/OrdersCreateTestOrderResponse/kind": kind +"/content:v2/OrdersCreateTestOrderResponse/orderId": order_id +"/content:v2/OrdersCustomBatchRequest": orders_custom_batch_request +"/content:v2/OrdersCustomBatchRequest/entries": entries +"/content:v2/OrdersCustomBatchRequest/entries/entry": entry +"/content:v2/OrdersCustomBatchRequestEntry": orders_custom_batch_request_entry +"/content:v2/OrdersCustomBatchRequestEntry/batchId": batch_id +"/content:v2/OrdersCustomBatchRequestEntry/cancel": cancel +"/content:v2/OrdersCustomBatchRequestEntry/cancelLineItem": cancel_line_item +"/content:v2/OrdersCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/OrdersCustomBatchRequestEntry/merchantOrderId": merchant_order_id +"/content:v2/OrdersCustomBatchRequestEntry/method": method_prop +"/content:v2/OrdersCustomBatchRequestEntry/operationId": operation_id +"/content:v2/OrdersCustomBatchRequestEntry/orderId": order_id +"/content:v2/OrdersCustomBatchRequestEntry/refund": refund +"/content:v2/OrdersCustomBatchRequestEntry/returnLineItem": return_line_item +"/content:v2/OrdersCustomBatchRequestEntry/shipLineItems": ship_line_items +"/content:v2/OrdersCustomBatchRequestEntry/updateShipment": update_shipment +"/content:v2/OrdersCustomBatchRequestEntryCancel": orders_custom_batch_request_entry_cancel +"/content:v2/OrdersCustomBatchRequestEntryCancel/reason": reason +"/content:v2/OrdersCustomBatchRequestEntryCancel/reasonText": reason_text +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem": orders_custom_batch_request_entry_cancel_line_item +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/amount": amount +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/lineItemId": line_item_id +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/quantity": quantity +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/reason": reason +"/content:v2/OrdersCustomBatchRequestEntryCancelLineItem/reasonText": reason_text +"/content:v2/OrdersCustomBatchRequestEntryRefund": orders_custom_batch_request_entry_refund +"/content:v2/OrdersCustomBatchRequestEntryRefund/amount": amount +"/content:v2/OrdersCustomBatchRequestEntryRefund/reason": reason +"/content:v2/OrdersCustomBatchRequestEntryRefund/reasonText": reason_text +"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem": orders_custom_batch_request_entry_return_line_item +"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/lineItemId": line_item_id +"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/quantity": quantity +"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/reason": reason +"/content:v2/OrdersCustomBatchRequestEntryReturnLineItem/reasonText": reason_text +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems": orders_custom_batch_request_entry_ship_line_items +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/carrier": carrier +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/lineItems": line_items +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/lineItems/line_item": line_item +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/shipmentId": shipment_id +"/content:v2/OrdersCustomBatchRequestEntryShipLineItems/trackingId": tracking_id +"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment": orders_custom_batch_request_entry_update_shipment +"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/carrier": carrier +"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/shipmentId": shipment_id +"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/status": status +"/content:v2/OrdersCustomBatchRequestEntryUpdateShipment/trackingId": tracking_id +"/content:v2/OrdersCustomBatchResponse": orders_custom_batch_response +"/content:v2/OrdersCustomBatchResponse/entries": entries +"/content:v2/OrdersCustomBatchResponse/entries/entry": entry +"/content:v2/OrdersCustomBatchResponse/kind": kind +"/content:v2/OrdersCustomBatchResponseEntry": orders_custom_batch_response_entry +"/content:v2/OrdersCustomBatchResponseEntry/batchId": batch_id +"/content:v2/OrdersCustomBatchResponseEntry/errors": errors +"/content:v2/OrdersCustomBatchResponseEntry/executionStatus": execution_status +"/content:v2/OrdersCustomBatchResponseEntry/kind": kind +"/content:v2/OrdersCustomBatchResponseEntry/order": order +"/content:v2/OrdersGetByMerchantOrderIdResponse": orders_get_by_merchant_order_id_response +"/content:v2/OrdersGetByMerchantOrderIdResponse/kind": kind +"/content:v2/OrdersGetByMerchantOrderIdResponse/order": order +"/content:v2/OrdersGetTestOrderTemplateResponse": orders_get_test_order_template_response +"/content:v2/OrdersGetTestOrderTemplateResponse/kind": kind +"/content:v2/OrdersGetTestOrderTemplateResponse/template": template +"/content:v2/OrdersListResponse": orders_list_response +"/content:v2/OrdersListResponse/kind": kind +"/content:v2/OrdersListResponse/nextPageToken": next_page_token +"/content:v2/OrdersListResponse/resources": resources +"/content:v2/OrdersListResponse/resources/resource": resource +"/content:v2/OrdersRefundRequest": orders_refund_request +"/content:v2/OrdersRefundRequest/amount": amount +"/content:v2/OrdersRefundRequest/operationId": operation_id +"/content:v2/OrdersRefundRequest/reason": reason +"/content:v2/OrdersRefundRequest/reasonText": reason_text +"/content:v2/OrdersRefundResponse": orders_refund_response +"/content:v2/OrdersRefundResponse/executionStatus": execution_status +"/content:v2/OrdersRefundResponse/kind": kind +"/content:v2/OrdersReturnLineItemRequest": orders_return_line_item_request +"/content:v2/OrdersReturnLineItemRequest/lineItemId": line_item_id +"/content:v2/OrdersReturnLineItemRequest/operationId": operation_id +"/content:v2/OrdersReturnLineItemRequest/quantity": quantity +"/content:v2/OrdersReturnLineItemRequest/reason": reason +"/content:v2/OrdersReturnLineItemRequest/reasonText": reason_text +"/content:v2/OrdersReturnLineItemResponse": orders_return_line_item_response +"/content:v2/OrdersReturnLineItemResponse/executionStatus": execution_status +"/content:v2/OrdersReturnLineItemResponse/kind": kind +"/content:v2/OrdersShipLineItemsRequest": orders_ship_line_items_request +"/content:v2/OrdersShipLineItemsRequest/carrier": carrier +"/content:v2/OrdersShipLineItemsRequest/lineItems": line_items +"/content:v2/OrdersShipLineItemsRequest/lineItems/line_item": line_item +"/content:v2/OrdersShipLineItemsRequest/operationId": operation_id +"/content:v2/OrdersShipLineItemsRequest/shipmentId": shipment_id +"/content:v2/OrdersShipLineItemsRequest/trackingId": tracking_id +"/content:v2/OrdersShipLineItemsResponse": orders_ship_line_items_response +"/content:v2/OrdersShipLineItemsResponse/executionStatus": execution_status +"/content:v2/OrdersShipLineItemsResponse/kind": kind +"/content:v2/OrdersUpdateMerchantOrderIdRequest": orders_update_merchant_order_id_request +"/content:v2/OrdersUpdateMerchantOrderIdRequest/merchantOrderId": merchant_order_id +"/content:v2/OrdersUpdateMerchantOrderIdRequest/operationId": operation_id +"/content:v2/OrdersUpdateMerchantOrderIdResponse": orders_update_merchant_order_id_response +"/content:v2/OrdersUpdateMerchantOrderIdResponse/executionStatus": execution_status +"/content:v2/OrdersUpdateMerchantOrderIdResponse/kind": kind +"/content:v2/OrdersUpdateShipmentRequest": orders_update_shipment_request +"/content:v2/OrdersUpdateShipmentRequest/carrier": carrier +"/content:v2/OrdersUpdateShipmentRequest/operationId": operation_id +"/content:v2/OrdersUpdateShipmentRequest/shipmentId": shipment_id +"/content:v2/OrdersUpdateShipmentRequest/status": status +"/content:v2/OrdersUpdateShipmentRequest/trackingId": tracking_id +"/content:v2/OrdersUpdateShipmentResponse": orders_update_shipment_response +"/content:v2/OrdersUpdateShipmentResponse/executionStatus": execution_status +"/content:v2/OrdersUpdateShipmentResponse/kind": kind +"/content:v2/PostalCodeGroup": postal_code_group +"/content:v2/PostalCodeGroup/country": country +"/content:v2/PostalCodeGroup/name": name +"/content:v2/PostalCodeGroup/postalCodeRanges": postal_code_ranges +"/content:v2/PostalCodeGroup/postalCodeRanges/postal_code_range": postal_code_range +"/content:v2/PostalCodeRange": postal_code_range +"/content:v2/PostalCodeRange/postalCodeRangeBegin": postal_code_range_begin +"/content:v2/PostalCodeRange/postalCodeRangeEnd": postal_code_range_end +"/content:v2/Price": price +"/content:v2/Price/currency": currency +"/content:v2/Price/value": value +"/content:v2/Product": product +"/content:v2/Product/additionalImageLinks": additional_image_links +"/content:v2/Product/additionalImageLinks/additional_image_link": additional_image_link +"/content:v2/Product/additionalProductTypes": additional_product_types +"/content:v2/Product/additionalProductTypes/additional_product_type": additional_product_type +"/content:v2/Product/adult": adult +"/content:v2/Product/adwordsGrouping": adwords_grouping +"/content:v2/Product/adwordsLabels": adwords_labels +"/content:v2/Product/adwordsLabels/adwords_label": adwords_label +"/content:v2/Product/adwordsRedirect": adwords_redirect +"/content:v2/Product/ageGroup": age_group +"/content:v2/Product/aspects": aspects +"/content:v2/Product/aspects/aspect": aspect +"/content:v2/Product/availability": availability +"/content:v2/Product/availabilityDate": availability_date +"/content:v2/Product/brand": brand +"/content:v2/Product/channel": channel +"/content:v2/Product/color": color +"/content:v2/Product/condition": condition +"/content:v2/Product/contentLanguage": content_language +"/content:v2/Product/customAttributes": custom_attributes +"/content:v2/Product/customAttributes/custom_attribute": custom_attribute +"/content:v2/Product/customGroups": custom_groups +"/content:v2/Product/customGroups/custom_group": custom_group +"/content:v2/Product/customLabel0": custom_label0 +"/content:v2/Product/customLabel1": custom_label1 +"/content:v2/Product/customLabel2": custom_label2 +"/content:v2/Product/customLabel3": custom_label3 +"/content:v2/Product/customLabel4": custom_label4 +"/content:v2/Product/description": description +"/content:v2/Product/destinations": destinations +"/content:v2/Product/destinations/destination": destination +"/content:v2/Product/displayAdsId": display_ads_id +"/content:v2/Product/displayAdsLink": display_ads_link +"/content:v2/Product/displayAdsSimilarIds": display_ads_similar_ids +"/content:v2/Product/displayAdsSimilarIds/display_ads_similar_id": display_ads_similar_id +"/content:v2/Product/displayAdsTitle": display_ads_title +"/content:v2/Product/displayAdsValue": display_ads_value +"/content:v2/Product/energyEfficiencyClass": energy_efficiency_class +"/content:v2/Product/expirationDate": expiration_date +"/content:v2/Product/gender": gender +"/content:v2/Product/googleProductCategory": google_product_category +"/content:v2/Product/gtin": gtin +"/content:v2/Product/id": id +"/content:v2/Product/identifierExists": identifier_exists +"/content:v2/Product/imageLink": image_link +"/content:v2/Product/installment": installment +"/content:v2/Product/isBundle": is_bundle +"/content:v2/Product/itemGroupId": item_group_id +"/content:v2/Product/kind": kind +"/content:v2/Product/link": link +"/content:v2/Product/loyaltyPoints": loyalty_points +"/content:v2/Product/material": material +"/content:v2/Product/mobileLink": mobile_link +"/content:v2/Product/mpn": mpn +"/content:v2/Product/multipack": multipack +"/content:v2/Product/offerId": offer_id +"/content:v2/Product/onlineOnly": online_only +"/content:v2/Product/pattern": pattern +"/content:v2/Product/price": price +"/content:v2/Product/productType": product_type +"/content:v2/Product/promotionIds": promotion_ids +"/content:v2/Product/promotionIds/promotion_id": promotion_id +"/content:v2/Product/salePrice": sale_price +"/content:v2/Product/salePriceEffectiveDate": sale_price_effective_date +"/content:v2/Product/sellOnGoogleQuantity": sell_on_google_quantity +"/content:v2/Product/shipping": shipping +"/content:v2/Product/shipping/shipping": shipping +"/content:v2/Product/shippingHeight": shipping_height +"/content:v2/Product/shippingLabel": shipping_label +"/content:v2/Product/shippingLength": shipping_length +"/content:v2/Product/shippingWeight": shipping_weight +"/content:v2/Product/shippingWidth": shipping_width +"/content:v2/Product/sizeSystem": size_system +"/content:v2/Product/sizeType": size_type +"/content:v2/Product/sizes": sizes +"/content:v2/Product/sizes/size": size +"/content:v2/Product/targetCountry": target_country +"/content:v2/Product/taxes": taxes +"/content:v2/Product/taxes/tax": tax +"/content:v2/Product/title": title +"/content:v2/Product/unitPricingBaseMeasure": unit_pricing_base_measure +"/content:v2/Product/unitPricingMeasure": unit_pricing_measure +"/content:v2/Product/validatedDestinations": validated_destinations +"/content:v2/Product/validatedDestinations/validated_destination": validated_destination +"/content:v2/Product/warnings": warnings +"/content:v2/Product/warnings/warning": warning +"/content:v2/ProductAspect": product_aspect +"/content:v2/ProductAspect/aspectName": aspect_name +"/content:v2/ProductAspect/destinationName": destination_name +"/content:v2/ProductAspect/intention": intention +"/content:v2/ProductCustomAttribute": product_custom_attribute +"/content:v2/ProductCustomAttribute/name": name +"/content:v2/ProductCustomAttribute/type": type +"/content:v2/ProductCustomAttribute/unit": unit +"/content:v2/ProductCustomAttribute/value": value +"/content:v2/ProductCustomGroup": product_custom_group +"/content:v2/ProductCustomGroup/attributes": attributes +"/content:v2/ProductCustomGroup/attributes/attribute": attribute +"/content:v2/ProductCustomGroup/name": name +"/content:v2/ProductDestination": product_destination +"/content:v2/ProductDestination/destinationName": destination_name +"/content:v2/ProductDestination/intention": intention +"/content:v2/ProductShipping": product_shipping +"/content:v2/ProductShipping/country": country +"/content:v2/ProductShipping/locationGroupName": location_group_name +"/content:v2/ProductShipping/locationId": location_id +"/content:v2/ProductShipping/postalCode": postal_code +"/content:v2/ProductShipping/price": price +"/content:v2/ProductShipping/region": region +"/content:v2/ProductShipping/service": service +"/content:v2/ProductShippingDimension": product_shipping_dimension +"/content:v2/ProductShippingDimension/unit": unit +"/content:v2/ProductShippingDimension/value": value +"/content:v2/ProductShippingWeight": product_shipping_weight +"/content:v2/ProductShippingWeight/unit": unit +"/content:v2/ProductShippingWeight/value": value +"/content:v2/ProductStatus": product_status +"/content:v2/ProductStatus/creationDate": creation_date +"/content:v2/ProductStatus/dataQualityIssues": data_quality_issues +"/content:v2/ProductStatus/dataQualityIssues/data_quality_issue": data_quality_issue +"/content:v2/ProductStatus/destinationStatuses": destination_statuses +"/content:v2/ProductStatus/destinationStatuses/destination_status": destination_status +"/content:v2/ProductStatus/googleExpirationDate": google_expiration_date +"/content:v2/ProductStatus/kind": kind +"/content:v2/ProductStatus/lastUpdateDate": last_update_date +"/content:v2/ProductStatus/link": link +"/content:v2/ProductStatus/productId": product_id +"/content:v2/ProductStatus/title": title +"/content:v2/ProductStatusDataQualityIssue": product_status_data_quality_issue +"/content:v2/ProductStatusDataQualityIssue/detail": detail +"/content:v2/ProductStatusDataQualityIssue/fetchStatus": fetch_status +"/content:v2/ProductStatusDataQualityIssue/id": id +"/content:v2/ProductStatusDataQualityIssue/location": location +"/content:v2/ProductStatusDataQualityIssue/severity": severity +"/content:v2/ProductStatusDataQualityIssue/timestamp": timestamp +"/content:v2/ProductStatusDataQualityIssue/valueOnLandingPage": value_on_landing_page +"/content:v2/ProductStatusDataQualityIssue/valueProvided": value_provided +"/content:v2/ProductStatusDestinationStatus": product_status_destination_status +"/content:v2/ProductStatusDestinationStatus/approvalStatus": approval_status +"/content:v2/ProductStatusDestinationStatus/destination": destination +"/content:v2/ProductStatusDestinationStatus/intention": intention +"/content:v2/ProductTax": product_tax +"/content:v2/ProductTax/country": country +"/content:v2/ProductTax/locationId": location_id +"/content:v2/ProductTax/postalCode": postal_code +"/content:v2/ProductTax/rate": rate +"/content:v2/ProductTax/region": region +"/content:v2/ProductTax/taxShip": tax_ship +"/content:v2/ProductUnitPricingBaseMeasure": product_unit_pricing_base_measure +"/content:v2/ProductUnitPricingBaseMeasure/unit": unit +"/content:v2/ProductUnitPricingBaseMeasure/value": value +"/content:v2/ProductUnitPricingMeasure": product_unit_pricing_measure +"/content:v2/ProductUnitPricingMeasure/unit": unit +"/content:v2/ProductUnitPricingMeasure/value": value +"/content:v2/ProductsCustomBatchRequest/entries": entries +"/content:v2/ProductsCustomBatchRequest/entries/entry": entry +"/content:v2/ProductsCustomBatchRequestEntry/batchId": batch_id +"/content:v2/ProductsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/ProductsCustomBatchRequestEntry/product": product +"/content:v2/ProductsCustomBatchRequestEntry/productId": product_id +"/content:v2/ProductsCustomBatchResponse/entries": entries +"/content:v2/ProductsCustomBatchResponse/entries/entry": entry +"/content:v2/ProductsCustomBatchResponse/kind": kind +"/content:v2/ProductsCustomBatchResponseEntry/batchId": batch_id +"/content:v2/ProductsCustomBatchResponseEntry/errors": errors +"/content:v2/ProductsCustomBatchResponseEntry/kind": kind +"/content:v2/ProductsCustomBatchResponseEntry/product": product +"/content:v2/ProductsListResponse/kind": kind +"/content:v2/ProductsListResponse/nextPageToken": next_page_token +"/content:v2/ProductsListResponse/resources": resources +"/content:v2/ProductsListResponse/resources/resource": resource +"/content:v2/ProductstatusesCustomBatchRequest/entries": entries +"/content:v2/ProductstatusesCustomBatchRequest/entries/entry": entry +"/content:v2/ProductstatusesCustomBatchRequestEntry/batchId": batch_id +"/content:v2/ProductstatusesCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/ProductstatusesCustomBatchRequestEntry/productId": product_id +"/content:v2/ProductstatusesCustomBatchResponse/entries": entries +"/content:v2/ProductstatusesCustomBatchResponse/entries/entry": entry +"/content:v2/ProductstatusesCustomBatchResponse/kind": kind +"/content:v2/ProductstatusesCustomBatchResponseEntry/batchId": batch_id +"/content:v2/ProductstatusesCustomBatchResponseEntry/errors": errors +"/content:v2/ProductstatusesCustomBatchResponseEntry/kind": kind +"/content:v2/ProductstatusesCustomBatchResponseEntry/productStatus": product_status +"/content:v2/ProductstatusesListResponse/kind": kind +"/content:v2/ProductstatusesListResponse/nextPageToken": next_page_token +"/content:v2/ProductstatusesListResponse/resources": resources +"/content:v2/ProductstatusesListResponse/resources/resource": resource +"/content:v2/RateGroup": rate_group +"/content:v2/RateGroup/applicableShippingLabels": applicable_shipping_labels +"/content:v2/RateGroup/applicableShippingLabels/applicable_shipping_label": applicable_shipping_label +"/content:v2/RateGroup/carrierRates": carrier_rates +"/content:v2/RateGroup/carrierRates/carrier_rate": carrier_rate +"/content:v2/RateGroup/mainTable": main_table +"/content:v2/RateGroup/singleValue": single_value +"/content:v2/RateGroup/subtables": subtables +"/content:v2/RateGroup/subtables/subtable": subtable +"/content:v2/Row": row +"/content:v2/Row/cells": cells +"/content:v2/Row/cells/cell": cell +"/content:v2/Service": service +"/content:v2/Service/active": active +"/content:v2/Service/currency": currency +"/content:v2/Service/deliveryCountry": delivery_country +"/content:v2/Service/deliveryTime": delivery_time +"/content:v2/Service/name": name +"/content:v2/Service/rateGroups": rate_groups +"/content:v2/Service/rateGroups/rate_group": rate_group +"/content:v2/ShippingSettings": shipping_settings +"/content:v2/ShippingSettings/accountId": account_id +"/content:v2/ShippingSettings/postalCodeGroups": postal_code_groups +"/content:v2/ShippingSettings/postalCodeGroups/postal_code_group": postal_code_group +"/content:v2/ShippingSettings/services": services +"/content:v2/ShippingSettings/services/service": service +"/content:v2/ShippingsettingsCustomBatchRequest": shippingsettings_custom_batch_request +"/content:v2/ShippingsettingsCustomBatchRequest/entries": entries +"/content:v2/ShippingsettingsCustomBatchRequest/entries/entry": entry +"/content:v2/ShippingsettingsCustomBatchRequestEntry": shippingsettings_custom_batch_request_entry +"/content:v2/ShippingsettingsCustomBatchRequestEntry/accountId": account_id +"/content:v2/ShippingsettingsCustomBatchRequestEntry/batchId": batch_id +"/content:v2/ShippingsettingsCustomBatchRequestEntry/merchantId": merchant_id +"/content:v2/ShippingsettingsCustomBatchRequestEntry/method": method_prop +"/content:v2/ShippingsettingsCustomBatchRequestEntry/shippingSettings": shipping_settings +"/content:v2/ShippingsettingsCustomBatchResponse": shippingsettings_custom_batch_response +"/content:v2/ShippingsettingsCustomBatchResponse/entries": entries +"/content:v2/ShippingsettingsCustomBatchResponse/entries/entry": entry +"/content:v2/ShippingsettingsCustomBatchResponse/kind": kind +"/content:v2/ShippingsettingsCustomBatchResponseEntry": shippingsettings_custom_batch_response_entry +"/content:v2/ShippingsettingsCustomBatchResponseEntry/batchId": batch_id +"/content:v2/ShippingsettingsCustomBatchResponseEntry/errors": errors +"/content:v2/ShippingsettingsCustomBatchResponseEntry/kind": kind +"/content:v2/ShippingsettingsCustomBatchResponseEntry/shippingSettings": shipping_settings +"/content:v2/ShippingsettingsGetSupportedCarriersResponse": shippingsettings_get_supported_carriers_response +"/content:v2/ShippingsettingsGetSupportedCarriersResponse/carriers": carriers +"/content:v2/ShippingsettingsGetSupportedCarriersResponse/carriers/carrier": carrier +"/content:v2/ShippingsettingsGetSupportedCarriersResponse/kind": kind +"/content:v2/ShippingsettingsListResponse": shippingsettings_list_response +"/content:v2/ShippingsettingsListResponse/kind": kind +"/content:v2/ShippingsettingsListResponse/nextPageToken": next_page_token +"/content:v2/ShippingsettingsListResponse/resources": resources +"/content:v2/ShippingsettingsListResponse/resources/resource": resource +"/content:v2/Table": table +"/content:v2/Table/columnHeaders": column_headers +"/content:v2/Table/name": name +"/content:v2/Table/rowHeaders": row_headers +"/content:v2/Table/rows": rows +"/content:v2/Table/rows/row": row +"/content:v2/TestOrder": test_order +"/content:v2/TestOrder/customer": customer +"/content:v2/TestOrder/kind": kind +"/content:v2/TestOrder/lineItems": line_items +"/content:v2/TestOrder/lineItems/line_item": line_item +"/content:v2/TestOrder/paymentMethod": payment_method +"/content:v2/TestOrder/predefinedDeliveryAddress": predefined_delivery_address +"/content:v2/TestOrder/promotions": promotions +"/content:v2/TestOrder/promotions/promotion": promotion +"/content:v2/TestOrder/shippingCost": shipping_cost +"/content:v2/TestOrder/shippingCostTax": shipping_cost_tax +"/content:v2/TestOrder/shippingOption": shipping_option +"/content:v2/TestOrderCustomer": test_order_customer +"/content:v2/TestOrderCustomer/email": email +"/content:v2/TestOrderCustomer/explicitMarketingPreference": explicit_marketing_preference +"/content:v2/TestOrderCustomer/fullName": full_name +"/content:v2/TestOrderLineItem": test_order_line_item +"/content:v2/TestOrderLineItem/product": product +"/content:v2/TestOrderLineItem/quantityOrdered": quantity_ordered +"/content:v2/TestOrderLineItem/returnInfo": return_info +"/content:v2/TestOrderLineItem/shippingDetails": shipping_details +"/content:v2/TestOrderLineItem/unitTax": unit_tax +"/content:v2/TestOrderLineItemProduct": test_order_line_item_product +"/content:v2/TestOrderLineItemProduct/brand": brand +"/content:v2/TestOrderLineItemProduct/channel": channel +"/content:v2/TestOrderLineItemProduct/condition": condition +"/content:v2/TestOrderLineItemProduct/contentLanguage": content_language +"/content:v2/TestOrderLineItemProduct/gtin": gtin +"/content:v2/TestOrderLineItemProduct/imageLink": image_link +"/content:v2/TestOrderLineItemProduct/itemGroupId": item_group_id +"/content:v2/TestOrderLineItemProduct/mpn": mpn +"/content:v2/TestOrderLineItemProduct/offerId": offer_id +"/content:v2/TestOrderLineItemProduct/price": price +"/content:v2/TestOrderLineItemProduct/targetCountry": target_country +"/content:v2/TestOrderLineItemProduct/title": title +"/content:v2/TestOrderLineItemProduct/variantAttributes": variant_attributes +"/content:v2/TestOrderLineItemProduct/variantAttributes/variant_attribute": variant_attribute +"/content:v2/TestOrderPaymentMethod": test_order_payment_method +"/content:v2/TestOrderPaymentMethod/expirationMonth": expiration_month +"/content:v2/TestOrderPaymentMethod/expirationYear": expiration_year +"/content:v2/TestOrderPaymentMethod/lastFourDigits": last_four_digits +"/content:v2/TestOrderPaymentMethod/predefinedBillingAddress": predefined_billing_address +"/content:v2/TestOrderPaymentMethod/type": type +"/content:v2/Value": value +"/content:v2/Value/carrierRateName": carrier_rate_name +"/content:v2/Value/flatRate": flat_rate +"/content:v2/Value/noShipping": no_shipping +"/content:v2/Value/pricePercentage": price_percentage +"/content:v2/Value/subtableName": subtable_name +"/content:v2/Weight": weight +"/content:v2/Weight/unit": unit +"/content:v2/Weight/value": value +"/customsearch:v1/fields": fields +"/customsearch:v1/key": key +"/customsearch:v1/quotaUser": quota_user +"/customsearch:v1/userIp": user_ip +"/customsearch:v1/search.cse.list": list_cses +"/customsearch:v1/search.cse.list/c2coff": c2coff +"/customsearch:v1/search.cse.list/cr": cr +"/customsearch:v1/search.cse.list/cref": cref +"/customsearch:v1/search.cse.list/cx": cx +"/customsearch:v1/search.cse.list/dateRestrict": date_restrict +"/customsearch:v1/search.cse.list/exactTerms": exact_terms +"/customsearch:v1/search.cse.list/excludeTerms": exclude_terms +"/customsearch:v1/search.cse.list/fileType": file_type +"/customsearch:v1/search.cse.list/filter": filter +"/customsearch:v1/search.cse.list/gl": gl +"/customsearch:v1/search.cse.list/googlehost": googlehost +"/customsearch:v1/search.cse.list/highRange": high_range +"/customsearch:v1/search.cse.list/hl": hl +"/customsearch:v1/search.cse.list/hq": hq +"/customsearch:v1/search.cse.list/imgColorType": img_color_type +"/customsearch:v1/search.cse.list/imgDominantColor": img_dominant_color +"/customsearch:v1/search.cse.list/imgSize": img_size +"/customsearch:v1/search.cse.list/imgType": img_type +"/customsearch:v1/search.cse.list/linkSite": link_site +"/customsearch:v1/search.cse.list/lowRange": low_range +"/customsearch:v1/search.cse.list/lr": lr +"/customsearch:v1/search.cse.list/num": num +"/customsearch:v1/search.cse.list/orTerms": or_terms +"/customsearch:v1/search.cse.list/q": q +"/customsearch:v1/search.cse.list/relatedSite": related_site +"/customsearch:v1/search.cse.list/rights": rights +"/customsearch:v1/search.cse.list/safe": safe +"/customsearch:v1/search.cse.list/searchType": search_type +"/customsearch:v1/search.cse.list/siteSearch": site_search +"/customsearch:v1/search.cse.list/siteSearchFilter": site_search_filter +"/customsearch:v1/search.cse.list/sort": sort +"/customsearch:v1/search.cse.list/start": start +"/customsearch:v1/Context": context +"/customsearch:v1/Context/facets": facets +"/customsearch:v1/Context/facets/facet": facet +"/customsearch:v1/Context/facets/facet/facet": facet +"/customsearch:v1/Context/facets/facet/facet/anchor": anchor +"/customsearch:v1/Context/facets/facet/facet/label": label +"/customsearch:v1/Context/facets/facet/facet/label_with_op": label_with_op +"/customsearch:v1/Context/title": title +"/customsearch:v1/Promotion": promotion +"/customsearch:v1/Promotion/bodyLines": body_lines +"/customsearch:v1/Promotion/bodyLines/body_line": body_line +"/customsearch:v1/Promotion/bodyLines/body_line/htmlTitle": html_title +"/customsearch:v1/Promotion/bodyLines/body_line/link": link +"/customsearch:v1/Promotion/bodyLines/body_line/title": title +"/customsearch:v1/Promotion/bodyLines/body_line/url": url +"/customsearch:v1/Promotion/displayLink": display_link +"/customsearch:v1/Promotion/htmlTitle": html_title +"/customsearch:v1/Promotion/image": image +"/customsearch:v1/Promotion/image/height": height +"/customsearch:v1/Promotion/image/source": source +"/customsearch:v1/Promotion/image/width": width +"/customsearch:v1/Promotion/link": link +"/customsearch:v1/Promotion/title": title +"/customsearch:v1/Query": query +"/customsearch:v1/Query/count": count +"/customsearch:v1/Query/cr": cr +"/customsearch:v1/Query/cref": cref +"/customsearch:v1/Query/cx": cx +"/customsearch:v1/Query/dateRestrict": date_restrict +"/customsearch:v1/Query/disableCnTwTranslation": disable_cn_tw_translation +"/customsearch:v1/Query/exactTerms": exact_terms +"/customsearch:v1/Query/excludeTerms": exclude_terms +"/customsearch:v1/Query/fileType": file_type +"/customsearch:v1/Query/filter": filter +"/customsearch:v1/Query/gl": gl +"/customsearch:v1/Query/googleHost": google_host +"/customsearch:v1/Query/highRange": high_range +"/customsearch:v1/Query/hl": hl +"/customsearch:v1/Query/hq": hq +"/customsearch:v1/Query/imgColorType": img_color_type +"/customsearch:v1/Query/imgDominantColor": img_dominant_color +"/customsearch:v1/Query/imgSize": img_size +"/customsearch:v1/Query/imgType": img_type +"/customsearch:v1/Query/inputEncoding": input_encoding +"/customsearch:v1/Query/language": language +"/customsearch:v1/Query/linkSite": link_site +"/customsearch:v1/Query/lowRange": low_range +"/customsearch:v1/Query/orTerms": or_terms +"/customsearch:v1/Query/outputEncoding": output_encoding +"/customsearch:v1/Query/relatedSite": related_site +"/customsearch:v1/Query/rights": rights +"/customsearch:v1/Query/safe": safe +"/customsearch:v1/Query/searchTerms": search_terms +"/customsearch:v1/Query/searchType": search_type +"/customsearch:v1/Query/siteSearch": site_search +"/customsearch:v1/Query/siteSearchFilter": site_search_filter +"/customsearch:v1/Query/sort": sort +"/customsearch:v1/Query/startIndex": start_index +"/customsearch:v1/Query/startPage": start_page +"/customsearch:v1/Query/title": title +"/customsearch:v1/Query/totalResults": total_results +"/customsearch:v1/Result": result +"/customsearch:v1/Result/cacheId": cache_id +"/customsearch:v1/Result/displayLink": display_link +"/customsearch:v1/Result/fileFormat": file_format +"/customsearch:v1/Result/formattedUrl": formatted_url +"/customsearch:v1/Result/htmlFormattedUrl": html_formatted_url +"/customsearch:v1/Result/htmlSnippet": html_snippet +"/customsearch:v1/Result/htmlTitle": html_title +"/customsearch:v1/Result/image": image +"/customsearch:v1/Result/image/byteSize": byte_size +"/customsearch:v1/Result/image/contextLink": context_link +"/customsearch:v1/Result/image/height": height +"/customsearch:v1/Result/image/thumbnailHeight": thumbnail_height +"/customsearch:v1/Result/image/thumbnailLink": thumbnail_link +"/customsearch:v1/Result/image/thumbnailWidth": thumbnail_width +"/customsearch:v1/Result/image/width": width +"/customsearch:v1/Result/kind": kind +"/customsearch:v1/Result/labels": labels +"/customsearch:v1/Result/labels/label": label +"/customsearch:v1/Result/labels/label/displayName": display_name +"/customsearch:v1/Result/labels/label/label_with_op": label_with_op +"/customsearch:v1/Result/labels/label/name": name +"/customsearch:v1/Result/link": link +"/customsearch:v1/Result/mime": mime +"/customsearch:v1/Result/pagemap": pagemap +"/customsearch:v1/Result/pagemap/pagemap": pagemap +"/customsearch:v1/Result/pagemap/pagemap/pagemap": pagemap +"/customsearch:v1/Result/pagemap/pagemap/pagemap/pagemap": pagemap +"/customsearch:v1/Result/snippet": snippet +"/customsearch:v1/Result/title": title +"/customsearch:v1/Search": search +"/customsearch:v1/Search/context": context +"/customsearch:v1/Search/items": items +"/customsearch:v1/Search/items/item": item +"/customsearch:v1/Search/kind": kind +"/customsearch:v1/Search/promotions": promotions +"/customsearch:v1/Search/promotions/promotion": promotion +"/customsearch:v1/Search/queries": queries +"/customsearch:v1/Search/queries/query": query +"/customsearch:v1/Search/queries/query/query": query +"/customsearch:v1/Search/searchInformation": search_information +"/customsearch:v1/Search/searchInformation/formattedSearchTime": formatted_search_time +"/customsearch:v1/Search/searchInformation/formattedTotalResults": formatted_total_results +"/customsearch:v1/Search/searchInformation/searchTime": search_time +"/customsearch:v1/Search/searchInformation/totalResults": total_results +"/customsearch:v1/Search/spelling": spelling +"/customsearch:v1/Search/spelling/correctedQuery": corrected_query +"/customsearch:v1/Search/spelling/htmlCorrectedQuery": html_corrected_query +"/customsearch:v1/Search/url": url +"/customsearch:v1/Search/url/template": template +"/customsearch:v1/Search/url/type": type +"/datastore:v1/key": key +"/datastore:v1/quotaUser": quota_user +"/datastore:v1/fields": fields +"/datastore:v1/datastore.projects.runQuery": run_project_query +"/datastore:v1/datastore.projects.runQuery/projectId": project_id +"/datastore:v1/datastore.projects.beginTransaction": begin_project_transaction +"/datastore:v1/datastore.projects.beginTransaction/projectId": project_id +"/datastore:v1/datastore.projects.allocateIds": allocate_project_ids +"/datastore:v1/datastore.projects.allocateIds/projectId": project_id +"/datastore:v1/datastore.projects.lookup": lookup_project +"/datastore:v1/datastore.projects.lookup/projectId": project_id +"/datastore:v1/datastore.projects.commit": commit_project +"/datastore:v1/datastore.projects.commit/projectId": project_id +"/datastore:v1/datastore.projects.rollback": rollback_project +"/datastore:v1/datastore.projects.rollback/projectId": project_id +"/datastore:v1/Value": value +"/datastore:v1/Value/stringValue": string_value +"/datastore:v1/Value/arrayValue": array_value +"/datastore:v1/Value/entityValue": entity_value +"/datastore:v1/Value/meaning": meaning +"/datastore:v1/Value/integerValue": integer_value +"/datastore:v1/Value/doubleValue": double_value +"/datastore:v1/Value/blobValue": blob_value +"/datastore:v1/Value/geoPointValue": geo_point_value +"/datastore:v1/Value/nullValue": null_value +"/datastore:v1/Value/booleanValue": boolean_value +"/datastore:v1/Value/keyValue": key_value +"/datastore:v1/Value/excludeFromIndexes": exclude_from_indexes +"/datastore:v1/Value/timestampValue": timestamp_value +"/datastore:v1/ReadOptions": read_options +"/datastore:v1/ReadOptions/transaction": transaction +"/datastore:v1/ReadOptions/readConsistency": read_consistency +"/datastore:v1/PropertyOrder": property_order +"/datastore:v1/PropertyOrder/direction": direction +"/datastore:v1/PropertyOrder/property": property +"/datastore:v1/CommitRequest": commit_request +"/datastore:v1/CommitRequest/transaction": transaction +"/datastore:v1/CommitRequest/mode": mode +"/datastore:v1/CommitRequest/mutations": mutations +"/datastore:v1/CommitRequest/mutations/mutation": mutation +"/datastore:v1/Query": query +"/datastore:v1/Query/limit": limit +"/datastore:v1/Query/filter": filter +"/datastore:v1/Query/endCursor": end_cursor +"/datastore:v1/Query/distinctOn": distinct_on +"/datastore:v1/Query/distinctOn/distinct_on": distinct_on +"/datastore:v1/Query/offset": offset +"/datastore:v1/Query/projection": projection +"/datastore:v1/Query/projection/projection": projection +"/datastore:v1/Query/order": order +"/datastore:v1/Query/order/order": order +"/datastore:v1/Query/startCursor": start_cursor +"/datastore:v1/Query/kind": kind +"/datastore:v1/Query/kind/kind": kind +"/datastore:v1/RollbackRequest": rollback_request +"/datastore:v1/RollbackRequest/transaction": transaction +"/datastore:v1/EntityResult": entity_result +"/datastore:v1/EntityResult/cursor": cursor +"/datastore:v1/EntityResult/entity": entity +"/datastore:v1/EntityResult/version": version +"/datastore:v1/GqlQueryParameter": gql_query_parameter +"/datastore:v1/GqlQueryParameter/value": value +"/datastore:v1/GqlQueryParameter/cursor": cursor +"/datastore:v1/ArrayValue": array_value +"/datastore:v1/ArrayValue/values": values +"/datastore:v1/ArrayValue/values/value": value +"/datastore:v1/Filter": filter +"/datastore:v1/Filter/propertyFilter": property_filter +"/datastore:v1/Filter/compositeFilter": composite_filter +"/datastore:v1/BeginTransactionResponse/transaction": transaction +"/datastore:v1/PartitionId": partition_id +"/datastore:v1/PartitionId/namespaceId": namespace_id +"/datastore:v1/PartitionId/projectId": project_id +"/datastore:v1/QueryResultBatch": query_result_batch +"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version +"/datastore:v1/QueryResultBatch/endCursor": end_cursor +"/datastore:v1/QueryResultBatch/skippedCursor": skipped_cursor +"/datastore:v1/QueryResultBatch/entityResultType": entity_result_type +"/datastore:v1/QueryResultBatch/moreResults": more_results +"/datastore:v1/QueryResultBatch/entityResults": entity_results +"/datastore:v1/QueryResultBatch/entityResults/entity_result": entity_result +"/datastore:v1/QueryResultBatch/skippedResults": skipped_results +"/datastore:v1/AllocateIdsRequest/keys": keys +"/datastore:v1/AllocateIdsRequest/keys/key": key +"/datastore:v1/KindExpression": kind_expression +"/datastore:v1/KindExpression/name": name +"/datastore:v1/PropertyFilter": property_filter +"/datastore:v1/PropertyFilter/value": value +"/datastore:v1/PropertyFilter/op": op +"/datastore:v1/PropertyFilter/property": property +"/datastore:v1/PathElement": path_element +"/datastore:v1/PathElement/kind": kind +"/datastore:v1/PathElement/id": id +"/datastore:v1/PathElement/name": name +"/datastore:v1/RollbackResponse": rollback_response +"/datastore:v1/PropertyReference": property_reference +"/datastore:v1/PropertyReference/name": name +"/datastore:v1/Projection": projection +"/datastore:v1/Projection/property": property +"/datastore:v1/MutationResult": mutation_result +"/datastore:v1/MutationResult/conflictDetected": conflict_detected +"/datastore:v1/MutationResult/key": key +"/datastore:v1/MutationResult/version": version +"/datastore:v1/AllocateIdsResponse/keys": keys +"/datastore:v1/AllocateIdsResponse/keys/key": key +"/datastore:v1/LookupResponse": lookup_response +"/datastore:v1/LookupResponse/found": found +"/datastore:v1/LookupResponse/found/found": found +"/datastore:v1/LookupResponse/missing": missing +"/datastore:v1/LookupResponse/missing/missing": missing +"/datastore:v1/LookupResponse/deferred": deferred +"/datastore:v1/LookupResponse/deferred/deferred": deferred +"/datastore:v1/Key": key +"/datastore:v1/Key/partitionId": partition_id +"/datastore:v1/Key/path": path +"/datastore:v1/Key/path/path": path +"/datastore:v1/RunQueryResponse": run_query_response +"/datastore:v1/RunQueryResponse/batch": batch +"/datastore:v1/RunQueryResponse/query": query +"/datastore:v1/Entity": entity +"/datastore:v1/Entity/properties": properties +"/datastore:v1/Entity/properties/property": property +"/datastore:v1/Entity/key": key +"/datastore:v1/GqlQuery": gql_query +"/datastore:v1/GqlQuery/queryString": query_string +"/datastore:v1/GqlQuery/namedBindings": named_bindings +"/datastore:v1/GqlQuery/namedBindings/named_binding": named_binding +"/datastore:v1/GqlQuery/allowLiterals": allow_literals +"/datastore:v1/GqlQuery/positionalBindings": positional_bindings +"/datastore:v1/GqlQuery/positionalBindings/positional_binding": positional_binding +"/datastore:v1/Mutation": mutation +"/datastore:v1/Mutation/insert": insert +"/datastore:v1/Mutation/update": update +"/datastore:v1/Mutation/baseVersion": base_version +"/datastore:v1/Mutation/upsert": upsert +"/datastore:v1/Mutation/delete": delete +"/datastore:v1/CommitResponse": commit_response +"/datastore:v1/CommitResponse/mutationResults": mutation_results +"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result +"/datastore:v1/CommitResponse/indexUpdates": index_updates +"/datastore:v1/RunQueryRequest": run_query_request +"/datastore:v1/RunQueryRequest/partitionId": partition_id +"/datastore:v1/RunQueryRequest/gqlQuery": gql_query +"/datastore:v1/RunQueryRequest/readOptions": read_options +"/datastore:v1/RunQueryRequest/query": query +"/datastore:v1/LookupRequest": lookup_request +"/datastore:v1/LookupRequest/readOptions": read_options +"/datastore:v1/LookupRequest/keys": keys +"/datastore:v1/LookupRequest/keys/key": key +"/datastore:v1/LatLng": lat_lng +"/datastore:v1/LatLng/latitude": latitude +"/datastore:v1/LatLng/longitude": longitude +"/datastore:v1/CompositeFilter": composite_filter +"/datastore:v1/CompositeFilter/op": op +"/datastore:v1/CompositeFilter/filters": filters +"/datastore:v1/CompositeFilter/filters/filter": filter +"/deploymentmanager:v2/fields": fields +"/deploymentmanager:v2/key": key +"/deploymentmanager:v2/quotaUser": quota_user +"/deploymentmanager:v2/userIp": user_ip +"/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview": cancel_deployment_preview +"/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.delete": delete_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.delete/deletePolicy": delete_policy +"/deploymentmanager:v2/deploymentmanager.deployments.delete/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.delete/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.get": get_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.get/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.get/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy": get_deployment_iam_policy +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/resource": resource +"/deploymentmanager:v2/deploymentmanager.deployments.insert": insert_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.insert/preview": preview +"/deploymentmanager:v2/deploymentmanager.deployments.insert/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.list": list_deployments +"/deploymentmanager:v2/deploymentmanager.deployments.list/filter": filter +"/deploymentmanager:v2/deploymentmanager.deployments.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.deployments.list/orderBy": order_by +"/deploymentmanager:v2/deploymentmanager.deployments.list/pageToken": page_token +"/deploymentmanager:v2/deploymentmanager.deployments.list/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.patch": patch_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.patch/createPolicy": create_policy +"/deploymentmanager:v2/deploymentmanager.deployments.patch/deletePolicy": delete_policy +"/deploymentmanager:v2/deploymentmanager.deployments.patch/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.patch/preview": preview +"/deploymentmanager:v2/deploymentmanager.deployments.patch/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy": set_deployment_iam_policy +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy/resource": resource +"/deploymentmanager:v2/deploymentmanager.deployments.stop": stop_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.stop/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.stop/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions": test_deployment_iam_permissions +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions/resource": resource +"/deploymentmanager:v2/deploymentmanager.deployments.update": update_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.update/createPolicy": create_policy +"/deploymentmanager:v2/deploymentmanager.deployments.update/deletePolicy": delete_policy +"/deploymentmanager:v2/deploymentmanager.deployments.update/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.deployments.update/preview": preview +"/deploymentmanager:v2/deploymentmanager.deployments.update/project": project +"/deploymentmanager:v2/deploymentmanager.manifests.get": get_manifest +"/deploymentmanager:v2/deploymentmanager.manifests.get/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.manifests.get/manifest": manifest +"/deploymentmanager:v2/deploymentmanager.manifests.get/project": project +"/deploymentmanager:v2/deploymentmanager.manifests.list": list_manifests +"/deploymentmanager:v2/deploymentmanager.manifests.list/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.manifests.list/filter": filter +"/deploymentmanager:v2/deploymentmanager.manifests.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.manifests.list/orderBy": order_by +"/deploymentmanager:v2/deploymentmanager.manifests.list/pageToken": page_token +"/deploymentmanager:v2/deploymentmanager.manifests.list/project": project +"/deploymentmanager:v2/deploymentmanager.operations.get": get_operation +"/deploymentmanager:v2/deploymentmanager.operations.get/operation": operation +"/deploymentmanager:v2/deploymentmanager.operations.get/project": project +"/deploymentmanager:v2/deploymentmanager.operations.list": list_operations +"/deploymentmanager:v2/deploymentmanager.operations.list/filter": filter +"/deploymentmanager:v2/deploymentmanager.operations.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.operations.list/orderBy": order_by +"/deploymentmanager:v2/deploymentmanager.operations.list/pageToken": page_token +"/deploymentmanager:v2/deploymentmanager.operations.list/project": project +"/deploymentmanager:v2/deploymentmanager.resources.get": get_resource +"/deploymentmanager:v2/deploymentmanager.resources.get/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.resources.get/project": project +"/deploymentmanager:v2/deploymentmanager.resources.get/resource": resource +"/deploymentmanager:v2/deploymentmanager.resources.list": list_resources +"/deploymentmanager:v2/deploymentmanager.resources.list/deployment": deployment +"/deploymentmanager:v2/deploymentmanager.resources.list/filter": filter +"/deploymentmanager:v2/deploymentmanager.resources.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.resources.list/orderBy": order_by +"/deploymentmanager:v2/deploymentmanager.resources.list/pageToken": page_token +"/deploymentmanager:v2/deploymentmanager.resources.list/project": project +"/deploymentmanager:v2/deploymentmanager.types.list": list_types +"/deploymentmanager:v2/deploymentmanager.types.list/filter": filter +"/deploymentmanager:v2/deploymentmanager.types.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.types.list/orderBy": order_by +"/deploymentmanager:v2/deploymentmanager.types.list/pageToken": page_token +"/deploymentmanager:v2/deploymentmanager.types.list/project": project +"/deploymentmanager:v2/AuditConfig": audit_config +"/deploymentmanager:v2/AuditConfig/auditLogConfigs": audit_log_configs +"/deploymentmanager:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/deploymentmanager:v2/AuditConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditConfig/service": service +"/deploymentmanager:v2/AuditLogConfig": audit_log_config +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditLogConfig/logType": log_type +"/deploymentmanager:v2/Binding": binding +"/deploymentmanager:v2/Binding/members": members +"/deploymentmanager:v2/Binding/members/member": member +"/deploymentmanager:v2/Binding/role": role +"/deploymentmanager:v2/Condition": condition +"/deploymentmanager:v2/Condition/iam": iam +"/deploymentmanager:v2/Condition/op": op +"/deploymentmanager:v2/Condition/svc": svc +"/deploymentmanager:v2/Condition/sys": sys +"/deploymentmanager:v2/Condition/value": value +"/deploymentmanager:v2/Condition/values": values +"/deploymentmanager:v2/Condition/values/value": value +"/deploymentmanager:v2/ConfigFile": config_file +"/deploymentmanager:v2/ConfigFile/content": content +"/deploymentmanager:v2/Deployment": deployment +"/deploymentmanager:v2/Deployment/description": description +"/deploymentmanager:v2/Deployment/fingerprint": fingerprint +"/deploymentmanager:v2/Deployment/id": id +"/deploymentmanager:v2/Deployment/insertTime": insert_time +"/deploymentmanager:v2/Deployment/labels": labels +"/deploymentmanager:v2/Deployment/labels/label": label +"/deploymentmanager:v2/Deployment/manifest": manifest +"/deploymentmanager:v2/Deployment/name": name +"/deploymentmanager:v2/Deployment/operation": operation +"/deploymentmanager:v2/Deployment/selfLink": self_link +"/deploymentmanager:v2/Deployment/target": target +"/deploymentmanager:v2/Deployment/update": update +"/deploymentmanager:v2/DeploymentLabelEntry": deployment_label_entry +"/deploymentmanager:v2/DeploymentLabelEntry/key": key +"/deploymentmanager:v2/DeploymentLabelEntry/value": value +"/deploymentmanager:v2/DeploymentUpdate": deployment_update +"/deploymentmanager:v2/DeploymentUpdate/labels": labels +"/deploymentmanager:v2/DeploymentUpdate/labels/label": label +"/deploymentmanager:v2/DeploymentUpdate/manifest": manifest +"/deploymentmanager:v2/DeploymentUpdateLabelEntry": deployment_update_label_entry +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/key": key +"/deploymentmanager:v2/DeploymentUpdateLabelEntry/value": value +"/deploymentmanager:v2/DeploymentsCancelPreviewRequest": deployments_cancel_preview_request +"/deploymentmanager:v2/DeploymentsCancelPreviewRequest/fingerprint": fingerprint +"/deploymentmanager:v2/DeploymentsListResponse/deployments": deployments +"/deploymentmanager:v2/DeploymentsListResponse/deployments/deployment": deployment +"/deploymentmanager:v2/DeploymentsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/DeploymentsStopRequest": deployments_stop_request +"/deploymentmanager:v2/DeploymentsStopRequest/fingerprint": fingerprint +"/deploymentmanager:v2/ImportFile": import_file +"/deploymentmanager:v2/ImportFile/content": content +"/deploymentmanager:v2/ImportFile/name": name +"/deploymentmanager:v2/LogConfig": log_config +"/deploymentmanager:v2/LogConfig/counter": counter +"/deploymentmanager:v2/LogConfigCounterOptions": log_config_counter_options +"/deploymentmanager:v2/LogConfigCounterOptions/field": field +"/deploymentmanager:v2/LogConfigCounterOptions/metric": metric +"/deploymentmanager:v2/Manifest": manifest +"/deploymentmanager:v2/Manifest/config": config +"/deploymentmanager:v2/Manifest/expandedConfig": expanded_config +"/deploymentmanager:v2/Manifest/id": id +"/deploymentmanager:v2/Manifest/imports": imports +"/deploymentmanager:v2/Manifest/imports/import": import +"/deploymentmanager:v2/Manifest/insertTime": insert_time +"/deploymentmanager:v2/Manifest/layout": layout +"/deploymentmanager:v2/Manifest/name": name +"/deploymentmanager:v2/Manifest/selfLink": self_link +"/deploymentmanager:v2/ManifestsListResponse/manifests": manifests +"/deploymentmanager:v2/ManifestsListResponse/manifests/manifest": manifest +"/deploymentmanager:v2/ManifestsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/Operation": operation +"/deploymentmanager:v2/Operation/clientOperationId": client_operation_id +"/deploymentmanager:v2/Operation/creationTimestamp": creation_timestamp +"/deploymentmanager:v2/Operation/description": description +"/deploymentmanager:v2/Operation/endTime": end_time +"/deploymentmanager:v2/Operation/error": error +"/deploymentmanager:v2/Operation/error/errors": errors +"/deploymentmanager:v2/Operation/error/errors/error": error +"/deploymentmanager:v2/Operation/error/errors/error/code": code +"/deploymentmanager:v2/Operation/error/errors/error/location": location +"/deploymentmanager:v2/Operation/error/errors/error/message": message +"/deploymentmanager:v2/Operation/httpErrorMessage": http_error_message +"/deploymentmanager:v2/Operation/httpErrorStatusCode": http_error_status_code +"/deploymentmanager:v2/Operation/id": id +"/deploymentmanager:v2/Operation/insertTime": insert_time +"/deploymentmanager:v2/Operation/kind": kind +"/deploymentmanager:v2/Operation/name": name +"/deploymentmanager:v2/Operation/operationType": operation_type +"/deploymentmanager:v2/Operation/progress": progress +"/deploymentmanager:v2/Operation/region": region +"/deploymentmanager:v2/Operation/selfLink": self_link +"/deploymentmanager:v2/Operation/startTime": start_time +"/deploymentmanager:v2/Operation/status": status +"/deploymentmanager:v2/Operation/statusMessage": status_message +"/deploymentmanager:v2/Operation/targetId": target_id +"/deploymentmanager:v2/Operation/targetLink": target_link +"/deploymentmanager:v2/Operation/user": user +"/deploymentmanager:v2/Operation/warnings": warnings +"/deploymentmanager:v2/Operation/warnings/warning": warning +"/deploymentmanager:v2/Operation/warnings/warning/code": code +"/deploymentmanager:v2/Operation/warnings/warning/data": data +"/deploymentmanager:v2/Operation/warnings/warning/data/datum": datum +"/deploymentmanager:v2/Operation/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/Operation/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/Operation/warnings/warning/message": message +"/deploymentmanager:v2/Operation/zone": zone +"/deploymentmanager:v2/OperationsListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/OperationsListResponse/operations": operations +"/deploymentmanager:v2/OperationsListResponse/operations/operation": operation +"/deploymentmanager:v2/Policy": policy +"/deploymentmanager:v2/Policy/auditConfigs": audit_configs +"/deploymentmanager:v2/Policy/auditConfigs/audit_config": audit_config +"/deploymentmanager:v2/Policy/bindings": bindings +"/deploymentmanager:v2/Policy/bindings/binding": binding +"/deploymentmanager:v2/Policy/etag": etag +"/deploymentmanager:v2/Policy/iamOwned": iam_owned +"/deploymentmanager:v2/Policy/rules": rules +"/deploymentmanager:v2/Policy/rules/rule": rule +"/deploymentmanager:v2/Policy/version": version +"/deploymentmanager:v2/Resource": resource +"/deploymentmanager:v2/Resource/accessControl": access_control +"/deploymentmanager:v2/Resource/finalProperties": final_properties +"/deploymentmanager:v2/Resource/id": id +"/deploymentmanager:v2/Resource/insertTime": insert_time +"/deploymentmanager:v2/Resource/manifest": manifest +"/deploymentmanager:v2/Resource/name": name +"/deploymentmanager:v2/Resource/properties": properties +"/deploymentmanager:v2/Resource/type": type +"/deploymentmanager:v2/Resource/update": update +"/deploymentmanager:v2/Resource/updateTime": update_time +"/deploymentmanager:v2/Resource/url": url +"/deploymentmanager:v2/Resource/warnings": warnings +"/deploymentmanager:v2/Resource/warnings/warning": warning +"/deploymentmanager:v2/Resource/warnings/warning/code": code +"/deploymentmanager:v2/Resource/warnings/warning/data": data +"/deploymentmanager:v2/Resource/warnings/warning/data/datum": datum +"/deploymentmanager:v2/Resource/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/Resource/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/Resource/warnings/warning/message": message +"/deploymentmanager:v2/ResourceAccessControl": resource_access_control +"/deploymentmanager:v2/ResourceAccessControl/gcpIamPolicy": gcp_iam_policy +"/deploymentmanager:v2/ResourceUpdate": resource_update +"/deploymentmanager:v2/ResourceUpdate/accessControl": access_control +"/deploymentmanager:v2/ResourceUpdate/error": error +"/deploymentmanager:v2/ResourceUpdate/error/errors": errors +"/deploymentmanager:v2/ResourceUpdate/error/errors/error": error +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/code": code +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/location": location +"/deploymentmanager:v2/ResourceUpdate/error/errors/error/message": message +"/deploymentmanager:v2/ResourceUpdate/finalProperties": final_properties +"/deploymentmanager:v2/ResourceUpdate/intent": intent +"/deploymentmanager:v2/ResourceUpdate/manifest": manifest +"/deploymentmanager:v2/ResourceUpdate/properties": properties +"/deploymentmanager:v2/ResourceUpdate/state": state +"/deploymentmanager:v2/ResourceUpdate/warnings": warnings +"/deploymentmanager:v2/ResourceUpdate/warnings/warning": warning +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/code": code +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data": data +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum": datum +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/key": key +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/data/datum/value": value +"/deploymentmanager:v2/ResourceUpdate/warnings/warning/message": message +"/deploymentmanager:v2/ResourcesListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/ResourcesListResponse/resources": resources +"/deploymentmanager:v2/ResourcesListResponse/resources/resource": resource +"/deploymentmanager:v2/Rule": rule +"/deploymentmanager:v2/Rule/action": action +"/deploymentmanager:v2/Rule/conditions": conditions +"/deploymentmanager:v2/Rule/conditions/condition": condition +"/deploymentmanager:v2/Rule/description": description +"/deploymentmanager:v2/Rule/ins": ins +"/deploymentmanager:v2/Rule/ins/in": in +"/deploymentmanager:v2/Rule/logConfigs": log_configs +"/deploymentmanager:v2/Rule/logConfigs/log_config": log_config +"/deploymentmanager:v2/Rule/notIns": not_ins +"/deploymentmanager:v2/Rule/notIns/not_in": not_in +"/deploymentmanager:v2/Rule/permissions": permissions +"/deploymentmanager:v2/Rule/permissions/permission": permission +"/deploymentmanager:v2/TargetConfiguration": target_configuration +"/deploymentmanager:v2/TargetConfiguration/config": config +"/deploymentmanager:v2/TargetConfiguration/imports": imports +"/deploymentmanager:v2/TargetConfiguration/imports/import": import +"/deploymentmanager:v2/TestPermissionsRequest": test_permissions_request +"/deploymentmanager:v2/TestPermissionsRequest/permissions": permissions +"/deploymentmanager:v2/TestPermissionsRequest/permissions/permission": permission +"/deploymentmanager:v2/TestPermissionsResponse": test_permissions_response +"/deploymentmanager:v2/TestPermissionsResponse/permissions": permissions +"/deploymentmanager:v2/TestPermissionsResponse/permissions/permission": permission +"/deploymentmanager:v2/Type": type +"/deploymentmanager:v2/Type/id": id +"/deploymentmanager:v2/Type/insertTime": insert_time +"/deploymentmanager:v2/Type/name": name +"/deploymentmanager:v2/Type/operation": operation +"/deploymentmanager:v2/Type/selfLink": self_link +"/deploymentmanager:v2/TypesListResponse/nextPageToken": next_page_token +"/deploymentmanager:v2/TypesListResponse/types": types +"/deploymentmanager:v2/TypesListResponse/types/type": type +"/dfareporting:v2.6/fields": fields +"/dfareporting:v2.6/key": key +"/dfareporting:v2.6/quotaUser": quota_user +"/dfareporting:v2.6/userIp": user_ip +"/dfareporting:v2.6/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary +"/dfareporting:v2.6/dfareporting.accountActiveAdSummaries.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id +"/dfareporting:v2.6/dfareporting.accountPermissionGroups.get": get_account_permission_group +"/dfareporting:v2.6/dfareporting.accountPermissionGroups.get/id": id +"/dfareporting:v2.6/dfareporting.accountPermissionGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountPermissionGroups.list": list_account_permission_groups +"/dfareporting:v2.6/dfareporting.accountPermissionGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountPermissions.get": get_account_permission +"/dfareporting:v2.6/dfareporting.accountPermissions.get/id": id +"/dfareporting:v2.6/dfareporting.accountPermissions.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountPermissions.list": list_account_permissions +"/dfareporting:v2.6/dfareporting.accountPermissions.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.get": get_account_user_profile +"/dfareporting:v2.6/dfareporting.accountUserProfiles.get/id": id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.insert": insert_account_user_profile +"/dfareporting:v2.6/dfareporting.accountUserProfiles.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list": list_account_user_profiles +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/active": active +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/ids": ids +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.list/userRoleId": user_role_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.patch": patch_account_user_profile +"/dfareporting:v2.6/dfareporting.accountUserProfiles.patch/id": id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accountUserProfiles.update": update_account_user_profile +"/dfareporting:v2.6/dfareporting.accountUserProfiles.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accounts.get": get_account +"/dfareporting:v2.6/dfareporting.accounts.get/id": id +"/dfareporting:v2.6/dfareporting.accounts.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accounts.list": list_accounts +"/dfareporting:v2.6/dfareporting.accounts.list/active": active +"/dfareporting:v2.6/dfareporting.accounts.list/ids": ids +"/dfareporting:v2.6/dfareporting.accounts.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.accounts.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.accounts.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accounts.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.accounts.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.accounts.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.accounts.patch": patch_account +"/dfareporting:v2.6/dfareporting.accounts.patch/id": id +"/dfareporting:v2.6/dfareporting.accounts.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.accounts.update": update_account +"/dfareporting:v2.6/dfareporting.accounts.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.ads.get": get_ad +"/dfareporting:v2.6/dfareporting.ads.get/id": id +"/dfareporting:v2.6/dfareporting.ads.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.ads.insert": insert_ad +"/dfareporting:v2.6/dfareporting.ads.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.ads.list": list_ads +"/dfareporting:v2.6/dfareporting.ads.list/active": active +"/dfareporting:v2.6/dfareporting.ads.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.ads.list/archived": archived +"/dfareporting:v2.6/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids +"/dfareporting:v2.6/dfareporting.ads.list/campaignIds": campaign_ids +"/dfareporting:v2.6/dfareporting.ads.list/compatibility": compatibility +"/dfareporting:v2.6/dfareporting.ads.list/creativeIds": creative_ids +"/dfareporting:v2.6/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids +"/dfareporting:v2.6/dfareporting.ads.list/creativeType": creative_type +"/dfareporting:v2.6/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.6/dfareporting.ads.list/ids": ids +"/dfareporting:v2.6/dfareporting.ads.list/landingPageIds": landing_page_ids +"/dfareporting:v2.6/dfareporting.ads.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.6/dfareporting.ads.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.ads.list/placementIds": placement_ids +"/dfareporting:v2.6/dfareporting.ads.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.ads.list/remarketingListIds": remarketing_list_ids +"/dfareporting:v2.6/dfareporting.ads.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.ads.list/sizeIds": size_ids +"/dfareporting:v2.6/dfareporting.ads.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.ads.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.ads.list/sslCompliant": ssl_compliant +"/dfareporting:v2.6/dfareporting.ads.list/sslRequired": ssl_required +"/dfareporting:v2.6/dfareporting.ads.list/type": type +"/dfareporting:v2.6/dfareporting.ads.patch": patch_ad +"/dfareporting:v2.6/dfareporting.ads.patch/id": id +"/dfareporting:v2.6/dfareporting.ads.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.ads.update": update_ad +"/dfareporting:v2.6/dfareporting.ads.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.delete": delete_advertiser_group +"/dfareporting:v2.6/dfareporting.advertiserGroups.delete/id": id +"/dfareporting:v2.6/dfareporting.advertiserGroups.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.get": get_advertiser_group +"/dfareporting:v2.6/dfareporting.advertiserGroups.get/id": id +"/dfareporting:v2.6/dfareporting.advertiserGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.insert": insert_advertiser_group +"/dfareporting:v2.6/dfareporting.advertiserGroups.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.list": list_advertiser_groups +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/ids": ids +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.advertiserGroups.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.advertiserGroups.patch": patch_advertiser_group +"/dfareporting:v2.6/dfareporting.advertiserGroups.patch/id": id +"/dfareporting:v2.6/dfareporting.advertiserGroups.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertiserGroups.update": update_advertiser_group +"/dfareporting:v2.6/dfareporting.advertiserGroups.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertisers.get": get_advertiser +"/dfareporting:v2.6/dfareporting.advertisers.get/id": id +"/dfareporting:v2.6/dfareporting.advertisers.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertisers.insert": insert_advertiser +"/dfareporting:v2.6/dfareporting.advertisers.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertisers.list": list_advertisers +"/dfareporting:v2.6/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.6/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids +"/dfareporting:v2.6/dfareporting.advertisers.list/ids": ids +"/dfareporting:v2.6/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only +"/dfareporting:v2.6/dfareporting.advertisers.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.advertisers.list/onlyParent": only_parent +"/dfareporting:v2.6/dfareporting.advertisers.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.advertisers.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertisers.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.advertisers.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.advertisers.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.advertisers.list/status": status +"/dfareporting:v2.6/dfareporting.advertisers.list/subaccountId": subaccount_id +"/dfareporting:v2.6/dfareporting.advertisers.patch": patch_advertiser +"/dfareporting:v2.6/dfareporting.advertisers.patch/id": id +"/dfareporting:v2.6/dfareporting.advertisers.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.advertisers.update": update_advertiser +"/dfareporting:v2.6/dfareporting.advertisers.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.browsers.list": list_browsers +"/dfareporting:v2.6/dfareporting.browsers.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.campaigns.get": get_campaign +"/dfareporting:v2.6/dfareporting.campaigns.get/id": id +"/dfareporting:v2.6/dfareporting.campaigns.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaigns.insert": insert_campaign +"/dfareporting:v2.6/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name +"/dfareporting:v2.6/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url +"/dfareporting:v2.6/dfareporting.campaigns.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaigns.list": list_campaigns +"/dfareporting:v2.6/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.6/dfareporting.campaigns.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.campaigns.list/archived": archived +"/dfareporting:v2.6/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity +"/dfareporting:v2.6/dfareporting.campaigns.list/excludedIds": excluded_ids +"/dfareporting:v2.6/dfareporting.campaigns.list/ids": ids +"/dfareporting:v2.6/dfareporting.campaigns.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.6/dfareporting.campaigns.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.campaigns.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaigns.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.campaigns.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.campaigns.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.campaigns.list/subaccountId": subaccount_id +"/dfareporting:v2.6/dfareporting.campaigns.patch": patch_campaign +"/dfareporting:v2.6/dfareporting.campaigns.patch/id": id +"/dfareporting:v2.6/dfareporting.campaigns.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.campaigns.update": update_campaign +"/dfareporting:v2.6/dfareporting.campaigns.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.changeLogs.get": get_change_log +"/dfareporting:v2.6/dfareporting.changeLogs.get/id": id +"/dfareporting:v2.6/dfareporting.changeLogs.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.changeLogs.list": list_change_logs +"/dfareporting:v2.6/dfareporting.changeLogs.list/action": action +"/dfareporting:v2.6/dfareporting.changeLogs.list/ids": ids +"/dfareporting:v2.6/dfareporting.changeLogs.list/maxChangeTime": max_change_time +"/dfareporting:v2.6/dfareporting.changeLogs.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.changeLogs.list/minChangeTime": min_change_time +"/dfareporting:v2.6/dfareporting.changeLogs.list/objectIds": object_ids +"/dfareporting:v2.6/dfareporting.changeLogs.list/objectType": object_type +"/dfareporting:v2.6/dfareporting.changeLogs.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.changeLogs.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.changeLogs.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.changeLogs.list/userProfileIds": user_profile_ids +"/dfareporting:v2.6/dfareporting.cities.list": list_cities +"/dfareporting:v2.6/dfareporting.cities.list/countryDartIds": country_dart_ids +"/dfareporting:v2.6/dfareporting.cities.list/dartIds": dart_ids +"/dfareporting:v2.6/dfareporting.cities.list/namePrefix": name_prefix +"/dfareporting:v2.6/dfareporting.cities.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.cities.list/regionDartIds": region_dart_ids +"/dfareporting:v2.6/dfareporting.connectionTypes.get": get_connection_type +"/dfareporting:v2.6/dfareporting.connectionTypes.get/id": id +"/dfareporting:v2.6/dfareporting.connectionTypes.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.connectionTypes.list": list_connection_types +"/dfareporting:v2.6/dfareporting.connectionTypes.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.delete": delete_content_category +"/dfareporting:v2.6/dfareporting.contentCategories.delete/id": id +"/dfareporting:v2.6/dfareporting.contentCategories.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.get": get_content_category +"/dfareporting:v2.6/dfareporting.contentCategories.get/id": id +"/dfareporting:v2.6/dfareporting.contentCategories.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.insert": insert_content_category +"/dfareporting:v2.6/dfareporting.contentCategories.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.list": list_content_categories +"/dfareporting:v2.6/dfareporting.contentCategories.list/ids": ids +"/dfareporting:v2.6/dfareporting.contentCategories.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.contentCategories.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.contentCategories.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.contentCategories.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.contentCategories.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.contentCategories.patch": patch_content_category +"/dfareporting:v2.6/dfareporting.contentCategories.patch/id": id +"/dfareporting:v2.6/dfareporting.contentCategories.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.contentCategories.update": update_content_category +"/dfareporting:v2.6/dfareporting.contentCategories.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.conversions.batchinsert": batchinsert_conversion +"/dfareporting:v2.6/dfareporting.conversions.batchinsert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.countries.get": get_country +"/dfareporting:v2.6/dfareporting.countries.get/dartId": dart_id +"/dfareporting:v2.6/dfareporting.countries.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.countries.list": list_countries +"/dfareporting:v2.6/dfareporting.countries.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeAssets.insert": insert_creative_asset +"/dfareporting:v2.6/dfareporting.creativeAssets.insert/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.creativeAssets.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.delete": delete_creative_field_value +"/dfareporting:v2.6/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.delete/id": id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.get": get_creative_field_value +"/dfareporting:v2.6/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.get/id": id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.insert": insert_creative_field_value +"/dfareporting:v2.6/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list": list_creative_field_values +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/ids": ids +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.creativeFieldValues.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.creativeFieldValues.patch": patch_creative_field_value +"/dfareporting:v2.6/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.patch/id": id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.update": update_creative_field_value +"/dfareporting:v2.6/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id +"/dfareporting:v2.6/dfareporting.creativeFieldValues.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.delete": delete_creative_field +"/dfareporting:v2.6/dfareporting.creativeFields.delete/id": id +"/dfareporting:v2.6/dfareporting.creativeFields.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.get": get_creative_field +"/dfareporting:v2.6/dfareporting.creativeFields.get/id": id +"/dfareporting:v2.6/dfareporting.creativeFields.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.insert": insert_creative_field +"/dfareporting:v2.6/dfareporting.creativeFields.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.list": list_creative_fields +"/dfareporting:v2.6/dfareporting.creativeFields.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.creativeFields.list/ids": ids +"/dfareporting:v2.6/dfareporting.creativeFields.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.creativeFields.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.creativeFields.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.creativeFields.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.creativeFields.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.creativeFields.patch": patch_creative_field +"/dfareporting:v2.6/dfareporting.creativeFields.patch/id": id +"/dfareporting:v2.6/dfareporting.creativeFields.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeFields.update": update_creative_field +"/dfareporting:v2.6/dfareporting.creativeFields.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeGroups.get": get_creative_group +"/dfareporting:v2.6/dfareporting.creativeGroups.get/id": id +"/dfareporting:v2.6/dfareporting.creativeGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeGroups.insert": insert_creative_group +"/dfareporting:v2.6/dfareporting.creativeGroups.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeGroups.list": list_creative_groups +"/dfareporting:v2.6/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.creativeGroups.list/groupNumber": group_number +"/dfareporting:v2.6/dfareporting.creativeGroups.list/ids": ids +"/dfareporting:v2.6/dfareporting.creativeGroups.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.creativeGroups.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.creativeGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeGroups.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.creativeGroups.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.creativeGroups.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.creativeGroups.patch": patch_creative_group +"/dfareporting:v2.6/dfareporting.creativeGroups.patch/id": id +"/dfareporting:v2.6/dfareporting.creativeGroups.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creativeGroups.update": update_creative_group +"/dfareporting:v2.6/dfareporting.creativeGroups.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creatives.get": get_creative +"/dfareporting:v2.6/dfareporting.creatives.get/id": id +"/dfareporting:v2.6/dfareporting.creatives.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creatives.insert": insert_creative +"/dfareporting:v2.6/dfareporting.creatives.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creatives.list": list_creatives +"/dfareporting:v2.6/dfareporting.creatives.list/active": active +"/dfareporting:v2.6/dfareporting.creatives.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.creatives.list/archived": archived +"/dfareporting:v2.6/dfareporting.creatives.list/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.6/dfareporting.creatives.list/creativeFieldIds": creative_field_ids +"/dfareporting:v2.6/dfareporting.creatives.list/ids": ids +"/dfareporting:v2.6/dfareporting.creatives.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.creatives.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.creatives.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creatives.list/renderingIds": rendering_ids +"/dfareporting:v2.6/dfareporting.creatives.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.creatives.list/sizeIds": size_ids +"/dfareporting:v2.6/dfareporting.creatives.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.creatives.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.creatives.list/studioCreativeId": studio_creative_id +"/dfareporting:v2.6/dfareporting.creatives.list/types": types +"/dfareporting:v2.6/dfareporting.creatives.patch": patch_creative +"/dfareporting:v2.6/dfareporting.creatives.patch/id": id +"/dfareporting:v2.6/dfareporting.creatives.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.creatives.update": update_creative +"/dfareporting:v2.6/dfareporting.creatives.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.dimensionValues.query": query_dimension_value +"/dfareporting:v2.6/dfareporting.dimensionValues.query/maxResults": max_results +"/dfareporting:v2.6/dfareporting.dimensionValues.query/pageToken": page_token +"/dfareporting:v2.6/dfareporting.dimensionValues.query/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySiteContacts.get": get_directory_site_contact +"/dfareporting:v2.6/dfareporting.directorySiteContacts.get/id": id +"/dfareporting:v2.6/dfareporting.directorySiteContacts.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list": list_directory_site_contacts +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/ids": ids +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.directorySiteContacts.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.directorySites.get": get_directory_site +"/dfareporting:v2.6/dfareporting.directorySites.get/id": id +"/dfareporting:v2.6/dfareporting.directorySites.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySites.insert": insert_directory_site +"/dfareporting:v2.6/dfareporting.directorySites.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySites.list": list_directory_sites +"/dfareporting:v2.6/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.6/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.6/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.6/dfareporting.directorySites.list/active": active +"/dfareporting:v2.6/dfareporting.directorySites.list/countryId": country_id +"/dfareporting:v2.6/dfareporting.directorySites.list/dfp_network_code": dfp_network_code +"/dfareporting:v2.6/dfareporting.directorySites.list/ids": ids +"/dfareporting:v2.6/dfareporting.directorySites.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.directorySites.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.directorySites.list/parentId": parent_id +"/dfareporting:v2.6/dfareporting.directorySites.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.directorySites.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.directorySites.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.directorySites.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.delete/name": name +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.delete/objectType": object_type +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list/names": names +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list/objectType": object_type +"/dfareporting:v2.6/dfareporting.dynamicTargetingKeys.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.delete": delete_event_tag +"/dfareporting:v2.6/dfareporting.eventTags.delete/id": id +"/dfareporting:v2.6/dfareporting.eventTags.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.get": get_event_tag +"/dfareporting:v2.6/dfareporting.eventTags.get/id": id +"/dfareporting:v2.6/dfareporting.eventTags.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.insert": insert_event_tag +"/dfareporting:v2.6/dfareporting.eventTags.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.list": list_event_tags +"/dfareporting:v2.6/dfareporting.eventTags.list/adId": ad_id +"/dfareporting:v2.6/dfareporting.eventTags.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.eventTags.list/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.eventTags.list/definitionsOnly": definitions_only +"/dfareporting:v2.6/dfareporting.eventTags.list/enabled": enabled +"/dfareporting:v2.6/dfareporting.eventTags.list/eventTagTypes": event_tag_types +"/dfareporting:v2.6/dfareporting.eventTags.list/ids": ids +"/dfareporting:v2.6/dfareporting.eventTags.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.eventTags.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.eventTags.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.eventTags.patch": patch_event_tag +"/dfareporting:v2.6/dfareporting.eventTags.patch/id": id +"/dfareporting:v2.6/dfareporting.eventTags.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.eventTags.update": update_event_tag +"/dfareporting:v2.6/dfareporting.eventTags.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.files.get": get_file +"/dfareporting:v2.6/dfareporting.files.get/fileId": file_id +"/dfareporting:v2.6/dfareporting.files.get/reportId": report_id +"/dfareporting:v2.6/dfareporting.files.list": list_files +"/dfareporting:v2.6/dfareporting.files.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.files.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.files.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.files.list/scope": scope +"/dfareporting:v2.6/dfareporting.files.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.files.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.floodlightActivities.delete": delete_floodlight_activity +"/dfareporting:v2.6/dfareporting.floodlightActivities.delete/id": id +"/dfareporting:v2.6/dfareporting.floodlightActivities.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.get": get_floodlight_activity +"/dfareporting:v2.6/dfareporting.floodlightActivities.get/id": id +"/dfareporting:v2.6/dfareporting.floodlightActivities.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.insert": insert_floodlight_activity +"/dfareporting:v2.6/dfareporting.floodlightActivities.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.list": list_floodlight_activities +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/ids": ids +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.floodlightActivities.list/tagString": tag_string +"/dfareporting:v2.6/dfareporting.floodlightActivities.patch": patch_floodlight_activity +"/dfareporting:v2.6/dfareporting.floodlightActivities.patch/id": id +"/dfareporting:v2.6/dfareporting.floodlightActivities.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivities.update": update_floodlight_activity +"/dfareporting:v2.6/dfareporting.floodlightActivities.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.get/id": id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/ids": ids +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.list/type": type +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.patch/id": id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group +"/dfareporting:v2.6/dfareporting.floodlightActivityGroups.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.get": get_floodlight_configuration +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.get/id": id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.list": list_floodlight_configurations +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.list/ids": ids +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.patch/id": id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.update": update_floodlight_configuration +"/dfareporting:v2.6/dfareporting.floodlightConfigurations.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.inventoryItems.get": get_inventory_item +"/dfareporting:v2.6/dfareporting.inventoryItems.get/id": id +"/dfareporting:v2.6/dfareporting.inventoryItems.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.inventoryItems.get/projectId": project_id +"/dfareporting:v2.6/dfareporting.inventoryItems.list": list_inventory_items +"/dfareporting:v2.6/dfareporting.inventoryItems.list/ids": ids +"/dfareporting:v2.6/dfareporting.inventoryItems.list/inPlan": in_plan +"/dfareporting:v2.6/dfareporting.inventoryItems.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.inventoryItems.list/orderId": order_id +"/dfareporting:v2.6/dfareporting.inventoryItems.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.inventoryItems.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.inventoryItems.list/projectId": project_id +"/dfareporting:v2.6/dfareporting.inventoryItems.list/siteId": site_id +"/dfareporting:v2.6/dfareporting.inventoryItems.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.inventoryItems.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.inventoryItems.list/type": type +"/dfareporting:v2.6/dfareporting.landingPages.delete": delete_landing_page +"/dfareporting:v2.6/dfareporting.landingPages.delete/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.delete/id": id +"/dfareporting:v2.6/dfareporting.landingPages.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.landingPages.get": get_landing_page +"/dfareporting:v2.6/dfareporting.landingPages.get/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.get/id": id +"/dfareporting:v2.6/dfareporting.landingPages.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.landingPages.insert": insert_landing_page +"/dfareporting:v2.6/dfareporting.landingPages.insert/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.landingPages.list": list_landing_pages +"/dfareporting:v2.6/dfareporting.landingPages.list/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.landingPages.patch": patch_landing_page +"/dfareporting:v2.6/dfareporting.landingPages.patch/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.patch/id": id +"/dfareporting:v2.6/dfareporting.landingPages.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.landingPages.update": update_landing_page +"/dfareporting:v2.6/dfareporting.landingPages.update/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.landingPages.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.languages.list": list_languages +"/dfareporting:v2.6/dfareporting.languages.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.metros.list": list_metros +"/dfareporting:v2.6/dfareporting.metros.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.mobileCarriers.get": get_mobile_carrier +"/dfareporting:v2.6/dfareporting.mobileCarriers.get/id": id +"/dfareporting:v2.6/dfareporting.mobileCarriers.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.mobileCarriers.list": list_mobile_carriers +"/dfareporting:v2.6/dfareporting.mobileCarriers.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.operatingSystemVersions.get": get_operating_system_version +"/dfareporting:v2.6/dfareporting.operatingSystemVersions.get/id": id +"/dfareporting:v2.6/dfareporting.operatingSystemVersions.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.operatingSystemVersions.list": list_operating_system_versions +"/dfareporting:v2.6/dfareporting.operatingSystemVersions.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.operatingSystems.get": get_operating_system +"/dfareporting:v2.6/dfareporting.operatingSystems.get/dartId": dart_id +"/dfareporting:v2.6/dfareporting.operatingSystems.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.operatingSystems.list": list_operating_systems +"/dfareporting:v2.6/dfareporting.operatingSystems.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.orderDocuments.get": get_order_document +"/dfareporting:v2.6/dfareporting.orderDocuments.get/id": id +"/dfareporting:v2.6/dfareporting.orderDocuments.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.orderDocuments.get/projectId": project_id +"/dfareporting:v2.6/dfareporting.orderDocuments.list": list_order_documents +"/dfareporting:v2.6/dfareporting.orderDocuments.list/approved": approved +"/dfareporting:v2.6/dfareporting.orderDocuments.list/ids": ids +"/dfareporting:v2.6/dfareporting.orderDocuments.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.orderDocuments.list/orderId": order_id +"/dfareporting:v2.6/dfareporting.orderDocuments.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.orderDocuments.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.orderDocuments.list/projectId": project_id +"/dfareporting:v2.6/dfareporting.orderDocuments.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.orderDocuments.list/siteId": site_id +"/dfareporting:v2.6/dfareporting.orderDocuments.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.orderDocuments.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.orders.get": get_order +"/dfareporting:v2.6/dfareporting.orders.get/id": id +"/dfareporting:v2.6/dfareporting.orders.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.orders.get/projectId": project_id +"/dfareporting:v2.6/dfareporting.orders.list": list_orders +"/dfareporting:v2.6/dfareporting.orders.list/ids": ids +"/dfareporting:v2.6/dfareporting.orders.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.orders.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.orders.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.orders.list/projectId": project_id +"/dfareporting:v2.6/dfareporting.orders.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.orders.list/siteId": site_id +"/dfareporting:v2.6/dfareporting.orders.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.orders.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.placementGroups.get": get_placement_group +"/dfareporting:v2.6/dfareporting.placementGroups.get/id": id +"/dfareporting:v2.6/dfareporting.placementGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementGroups.insert": insert_placement_group +"/dfareporting:v2.6/dfareporting.placementGroups.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementGroups.list": list_placement_groups +"/dfareporting:v2.6/dfareporting.placementGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/archived": archived +"/dfareporting:v2.6/dfareporting.placementGroups.list/campaignIds": campaign_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/ids": ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/maxEndDate": max_end_date +"/dfareporting:v2.6/dfareporting.placementGroups.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.placementGroups.list/maxStartDate": max_start_date +"/dfareporting:v2.6/dfareporting.placementGroups.list/minEndDate": min_end_date +"/dfareporting:v2.6/dfareporting.placementGroups.list/minStartDate": min_start_date +"/dfareporting:v2.6/dfareporting.placementGroups.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.placementGroups.list/placementGroupType": placement_group_type +"/dfareporting:v2.6/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/pricingTypes": pricing_types +"/dfareporting:v2.6/dfareporting.placementGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementGroups.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.placementGroups.list/siteIds": site_ids +"/dfareporting:v2.6/dfareporting.placementGroups.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.placementGroups.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.placementGroups.patch": patch_placement_group +"/dfareporting:v2.6/dfareporting.placementGroups.patch/id": id +"/dfareporting:v2.6/dfareporting.placementGroups.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementGroups.update": update_placement_group +"/dfareporting:v2.6/dfareporting.placementGroups.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.delete": delete_placement_strategy +"/dfareporting:v2.6/dfareporting.placementStrategies.delete/id": id +"/dfareporting:v2.6/dfareporting.placementStrategies.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.get": get_placement_strategy +"/dfareporting:v2.6/dfareporting.placementStrategies.get/id": id +"/dfareporting:v2.6/dfareporting.placementStrategies.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.insert": insert_placement_strategy +"/dfareporting:v2.6/dfareporting.placementStrategies.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.list": list_placement_strategies +"/dfareporting:v2.6/dfareporting.placementStrategies.list/ids": ids +"/dfareporting:v2.6/dfareporting.placementStrategies.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.placementStrategies.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.placementStrategies.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.placementStrategies.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.placementStrategies.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.placementStrategies.patch": patch_placement_strategy +"/dfareporting:v2.6/dfareporting.placementStrategies.patch/id": id +"/dfareporting:v2.6/dfareporting.placementStrategies.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placementStrategies.update": update_placement_strategy +"/dfareporting:v2.6/dfareporting.placementStrategies.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.generatetags/campaignId": campaign_id +"/dfareporting:v2.6/dfareporting.placements.generatetags/placementIds": placement_ids +"/dfareporting:v2.6/dfareporting.placements.generatetags/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.generatetags/tagFormats": tag_formats +"/dfareporting:v2.6/dfareporting.placements.get": get_placement +"/dfareporting:v2.6/dfareporting.placements.get/id": id +"/dfareporting:v2.6/dfareporting.placements.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.insert": insert_placement +"/dfareporting:v2.6/dfareporting.placements.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.list": list_placements +"/dfareporting:v2.6/dfareporting.placements.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.placements.list/archived": archived +"/dfareporting:v2.6/dfareporting.placements.list/campaignIds": campaign_ids +"/dfareporting:v2.6/dfareporting.placements.list/compatibilities": compatibilities +"/dfareporting:v2.6/dfareporting.placements.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.6/dfareporting.placements.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.6/dfareporting.placements.list/groupIds": group_ids +"/dfareporting:v2.6/dfareporting.placements.list/ids": ids +"/dfareporting:v2.6/dfareporting.placements.list/maxEndDate": max_end_date +"/dfareporting:v2.6/dfareporting.placements.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.placements.list/maxStartDate": max_start_date +"/dfareporting:v2.6/dfareporting.placements.list/minEndDate": min_end_date +"/dfareporting:v2.6/dfareporting.placements.list/minStartDate": min_start_date +"/dfareporting:v2.6/dfareporting.placements.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.placements.list/paymentSource": payment_source +"/dfareporting:v2.6/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.6/dfareporting.placements.list/pricingTypes": pricing_types +"/dfareporting:v2.6/dfareporting.placements.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.placements.list/siteIds": site_ids +"/dfareporting:v2.6/dfareporting.placements.list/sizeIds": size_ids +"/dfareporting:v2.6/dfareporting.placements.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.placements.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.placements.patch": patch_placement +"/dfareporting:v2.6/dfareporting.placements.patch/id": id +"/dfareporting:v2.6/dfareporting.placements.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.placements.update": update_placement +"/dfareporting:v2.6/dfareporting.placements.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.platformTypes.get": get_platform_type +"/dfareporting:v2.6/dfareporting.platformTypes.get/id": id +"/dfareporting:v2.6/dfareporting.platformTypes.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.platformTypes.list": list_platform_types +"/dfareporting:v2.6/dfareporting.platformTypes.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.postalCodes.get": get_postal_code +"/dfareporting:v2.6/dfareporting.postalCodes.get/code": code +"/dfareporting:v2.6/dfareporting.postalCodes.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.postalCodes.list": list_postal_codes +"/dfareporting:v2.6/dfareporting.postalCodes.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.projects.get": get_project +"/dfareporting:v2.6/dfareporting.projects.get/id": id +"/dfareporting:v2.6/dfareporting.projects.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.projects.list": list_projects +"/dfareporting:v2.6/dfareporting.projects.list/advertiserIds": advertiser_ids +"/dfareporting:v2.6/dfareporting.projects.list/ids": ids +"/dfareporting:v2.6/dfareporting.projects.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.projects.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.projects.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.projects.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.projects.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.projects.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.regions.list": list_regions +"/dfareporting:v2.6/dfareporting.regions.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingListShares.get": get_remarketing_list_share +"/dfareporting:v2.6/dfareporting.remarketingListShares.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id +"/dfareporting:v2.6/dfareporting.remarketingListShares.patch": patch_remarketing_list_share +"/dfareporting:v2.6/dfareporting.remarketingListShares.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id +"/dfareporting:v2.6/dfareporting.remarketingListShares.update": update_remarketing_list_share +"/dfareporting:v2.6/dfareporting.remarketingListShares.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingLists.get": get_remarketing_list +"/dfareporting:v2.6/dfareporting.remarketingLists.get/id": id +"/dfareporting:v2.6/dfareporting.remarketingLists.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingLists.insert": insert_remarketing_list +"/dfareporting:v2.6/dfareporting.remarketingLists.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingLists.list": list_remarketing_lists +"/dfareporting:v2.6/dfareporting.remarketingLists.list/active": active +"/dfareporting:v2.6/dfareporting.remarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/dfareporting.remarketingLists.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.remarketingLists.list/name": name +"/dfareporting:v2.6/dfareporting.remarketingLists.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.remarketingLists.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingLists.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.remarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.remarketingLists.patch": patch_remarketing_list +"/dfareporting:v2.6/dfareporting.remarketingLists.patch/id": id +"/dfareporting:v2.6/dfareporting.remarketingLists.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.remarketingLists.update": update_remarketing_list +"/dfareporting:v2.6/dfareporting.remarketingLists.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.delete": delete_report +"/dfareporting:v2.6/dfareporting.reports.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.delete/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.get": get_report +"/dfareporting:v2.6/dfareporting.reports.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.get/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.insert": insert_report +"/dfareporting:v2.6/dfareporting.reports.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.list": list_reports +"/dfareporting:v2.6/dfareporting.reports.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.reports.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.reports.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.list/scope": scope +"/dfareporting:v2.6/dfareporting.reports.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.reports.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.reports.patch": patch_report +"/dfareporting:v2.6/dfareporting.reports.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.patch/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.run": run_report +"/dfareporting:v2.6/dfareporting.reports.run/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.run/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.run/synchronous": synchronous +"/dfareporting:v2.6/dfareporting.reports.update": update_report +"/dfareporting:v2.6/dfareporting.reports.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.update/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.compatibleFields.query": query_report_compatible_field +"/dfareporting:v2.6/dfareporting.reports.compatibleFields.query/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.files.get": get_report_file +"/dfareporting:v2.6/dfareporting.reports.files.get/fileId": file_id +"/dfareporting:v2.6/dfareporting.reports.files.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.files.get/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.files.list": list_report_files +"/dfareporting:v2.6/dfareporting.reports.files.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.reports.files.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.reports.files.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.reports.files.list/reportId": report_id +"/dfareporting:v2.6/dfareporting.reports.files.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.reports.files.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.sites.get": get_site +"/dfareporting:v2.6/dfareporting.sites.get/id": id +"/dfareporting:v2.6/dfareporting.sites.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sites.insert": insert_site +"/dfareporting:v2.6/dfareporting.sites.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sites.list": list_sites +"/dfareporting:v2.6/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.6/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.6/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.6/dfareporting.sites.list/adWordsSite": ad_words_site +"/dfareporting:v2.6/dfareporting.sites.list/approved": approved +"/dfareporting:v2.6/dfareporting.sites.list/campaignIds": campaign_ids +"/dfareporting:v2.6/dfareporting.sites.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.6/dfareporting.sites.list/ids": ids +"/dfareporting:v2.6/dfareporting.sites.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.sites.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.sites.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sites.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.sites.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.sites.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.sites.list/subaccountId": subaccount_id +"/dfareporting:v2.6/dfareporting.sites.list/unmappedSite": unmapped_site +"/dfareporting:v2.6/dfareporting.sites.patch": patch_site +"/dfareporting:v2.6/dfareporting.sites.patch/id": id +"/dfareporting:v2.6/dfareporting.sites.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sites.update": update_site +"/dfareporting:v2.6/dfareporting.sites.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sizes.get": get_size +"/dfareporting:v2.6/dfareporting.sizes.get/id": id +"/dfareporting:v2.6/dfareporting.sizes.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sizes.insert": insert_size +"/dfareporting:v2.6/dfareporting.sizes.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sizes.list": list_sizes +"/dfareporting:v2.6/dfareporting.sizes.list/height": height +"/dfareporting:v2.6/dfareporting.sizes.list/iabStandard": iab_standard +"/dfareporting:v2.6/dfareporting.sizes.list/ids": ids +"/dfareporting:v2.6/dfareporting.sizes.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.sizes.list/width": width +"/dfareporting:v2.6/dfareporting.subaccounts.get": get_subaccount +"/dfareporting:v2.6/dfareporting.subaccounts.get/id": id +"/dfareporting:v2.6/dfareporting.subaccounts.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.subaccounts.insert": insert_subaccount +"/dfareporting:v2.6/dfareporting.subaccounts.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.subaccounts.list": list_subaccounts +"/dfareporting:v2.6/dfareporting.subaccounts.list/ids": ids +"/dfareporting:v2.6/dfareporting.subaccounts.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.subaccounts.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.subaccounts.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.subaccounts.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.subaccounts.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.subaccounts.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.subaccounts.patch": patch_subaccount +"/dfareporting:v2.6/dfareporting.subaccounts.patch/id": id +"/dfareporting:v2.6/dfareporting.subaccounts.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.subaccounts.update": update_subaccount +"/dfareporting:v2.6/dfareporting.subaccounts.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.get/id": id +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/active": active +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/name": name +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.targetingTemplates.get": get_targeting_template +"/dfareporting:v2.6/dfareporting.targetingTemplates.get/id": id +"/dfareporting:v2.6/dfareporting.targetingTemplates.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetingTemplates.insert": insert_targeting_template +"/dfareporting:v2.6/dfareporting.targetingTemplates.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetingTemplates.list": list_targeting_templates +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/advertiserId": advertiser_id +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/ids": ids +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.targetingTemplates.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.targetingTemplates.patch": patch_targeting_template +"/dfareporting:v2.6/dfareporting.targetingTemplates.patch/id": id +"/dfareporting:v2.6/dfareporting.targetingTemplates.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.targetingTemplates.update": update_targeting_template +"/dfareporting:v2.6/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userProfiles.get": get_user_profile +"/dfareporting:v2.6/dfareporting.userProfiles.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userProfiles.list": list_user_profiles +"/dfareporting:v2.6/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group +"/dfareporting:v2.6/dfareporting.userRolePermissionGroups.get/id": id +"/dfareporting:v2.6/dfareporting.userRolePermissionGroups.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups +"/dfareporting:v2.6/dfareporting.userRolePermissionGroups.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRolePermissions.get": get_user_role_permission +"/dfareporting:v2.6/dfareporting.userRolePermissions.get/id": id +"/dfareporting:v2.6/dfareporting.userRolePermissions.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRolePermissions.list": list_user_role_permissions +"/dfareporting:v2.6/dfareporting.userRolePermissions.list/ids": ids +"/dfareporting:v2.6/dfareporting.userRolePermissions.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.delete": delete_user_role +"/dfareporting:v2.6/dfareporting.userRoles.delete/id": id +"/dfareporting:v2.6/dfareporting.userRoles.delete/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.get": get_user_role +"/dfareporting:v2.6/dfareporting.userRoles.get/id": id +"/dfareporting:v2.6/dfareporting.userRoles.get/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.insert": insert_user_role +"/dfareporting:v2.6/dfareporting.userRoles.insert/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.list": list_user_roles +"/dfareporting:v2.6/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only +"/dfareporting:v2.6/dfareporting.userRoles.list/ids": ids +"/dfareporting:v2.6/dfareporting.userRoles.list/maxResults": max_results +"/dfareporting:v2.6/dfareporting.userRoles.list/pageToken": page_token +"/dfareporting:v2.6/dfareporting.userRoles.list/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.list/searchString": search_string +"/dfareporting:v2.6/dfareporting.userRoles.list/sortField": sort_field +"/dfareporting:v2.6/dfareporting.userRoles.list/sortOrder": sort_order +"/dfareporting:v2.6/dfareporting.userRoles.list/subaccountId": subaccount_id +"/dfareporting:v2.6/dfareporting.userRoles.patch": patch_user_role +"/dfareporting:v2.6/dfareporting.userRoles.patch/id": id +"/dfareporting:v2.6/dfareporting.userRoles.patch/profileId": profile_id +"/dfareporting:v2.6/dfareporting.userRoles.update": update_user_role +"/dfareporting:v2.6/dfareporting.userRoles.update/profileId": profile_id +"/dfareporting:v2.6/Account": account +"/dfareporting:v2.6/Account/accountPermissionIds": account_permission_ids +"/dfareporting:v2.6/Account/accountPermissionIds/account_permission_id": account_permission_id +"/dfareporting:v2.6/Account/accountProfile": account_profile +"/dfareporting:v2.6/Account/active": active +"/dfareporting:v2.6/Account/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.6/Account/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.6/Account/availablePermissionIds": available_permission_ids +"/dfareporting:v2.6/Account/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.6/Account/countryId": country_id +"/dfareporting:v2.6/Account/currencyId": currency_id +"/dfareporting:v2.6/Account/defaultCreativeSizeId": default_creative_size_id +"/dfareporting:v2.6/Account/description": description +"/dfareporting:v2.6/Account/id": id +"/dfareporting:v2.6/Account/kind": kind +"/dfareporting:v2.6/Account/locale": locale +"/dfareporting:v2.6/Account/maximumImageSize": maximum_image_size +"/dfareporting:v2.6/Account/name": name +"/dfareporting:v2.6/Account/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.6/Account/reportsConfiguration": reports_configuration +"/dfareporting:v2.6/Account/shareReportsWithTwitter": share_reports_with_twitter +"/dfareporting:v2.6/Account/teaserSizeLimit": teaser_size_limit +"/dfareporting:v2.6/AccountActiveAdSummary": account_active_ad_summary +"/dfareporting:v2.6/AccountActiveAdSummary/accountId": account_id +"/dfareporting:v2.6/AccountActiveAdSummary/activeAds": active_ads +"/dfareporting:v2.6/AccountActiveAdSummary/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.6/AccountActiveAdSummary/availableAds": available_ads +"/dfareporting:v2.6/AccountActiveAdSummary/kind": kind +"/dfareporting:v2.6/AccountPermission": account_permission +"/dfareporting:v2.6/AccountPermission/accountProfiles": account_profiles +"/dfareporting:v2.6/AccountPermission/accountProfiles/account_profile": account_profile +"/dfareporting:v2.6/AccountPermission/id": id +"/dfareporting:v2.6/AccountPermission/kind": kind +"/dfareporting:v2.6/AccountPermission/level": level +"/dfareporting:v2.6/AccountPermission/name": name +"/dfareporting:v2.6/AccountPermission/permissionGroupId": permission_group_id +"/dfareporting:v2.6/AccountPermissionGroup": account_permission_group +"/dfareporting:v2.6/AccountPermissionGroup/id": id +"/dfareporting:v2.6/AccountPermissionGroup/kind": kind +"/dfareporting:v2.6/AccountPermissionGroup/name": name +"/dfareporting:v2.6/AccountPermissionGroupsListResponse/accountPermissionGroups": account_permission_groups +"/dfareporting:v2.6/AccountPermissionGroupsListResponse/accountPermissionGroups/account_permission_group": account_permission_group +"/dfareporting:v2.6/AccountPermissionGroupsListResponse/kind": kind +"/dfareporting:v2.6/AccountPermissionsListResponse/accountPermissions": account_permissions +"/dfareporting:v2.6/AccountPermissionsListResponse/accountPermissions/account_permission": account_permission +"/dfareporting:v2.6/AccountPermissionsListResponse/kind": kind +"/dfareporting:v2.6/AccountUserProfile": account_user_profile +"/dfareporting:v2.6/AccountUserProfile/accountId": account_id +"/dfareporting:v2.6/AccountUserProfile/active": active +"/dfareporting:v2.6/AccountUserProfile/advertiserFilter": advertiser_filter +"/dfareporting:v2.6/AccountUserProfile/campaignFilter": campaign_filter +"/dfareporting:v2.6/AccountUserProfile/comments": comments +"/dfareporting:v2.6/AccountUserProfile/email": email +"/dfareporting:v2.6/AccountUserProfile/id": id +"/dfareporting:v2.6/AccountUserProfile/kind": kind +"/dfareporting:v2.6/AccountUserProfile/locale": locale +"/dfareporting:v2.6/AccountUserProfile/name": name +"/dfareporting:v2.6/AccountUserProfile/siteFilter": site_filter +"/dfareporting:v2.6/AccountUserProfile/subaccountId": subaccount_id +"/dfareporting:v2.6/AccountUserProfile/traffickerType": trafficker_type +"/dfareporting:v2.6/AccountUserProfile/userAccessType": user_access_type +"/dfareporting:v2.6/AccountUserProfile/userRoleFilter": user_role_filter +"/dfareporting:v2.6/AccountUserProfile/userRoleId": user_role_id +"/dfareporting:v2.6/AccountUserProfilesListResponse/accountUserProfiles": account_user_profiles +"/dfareporting:v2.6/AccountUserProfilesListResponse/accountUserProfiles/account_user_profile": account_user_profile +"/dfareporting:v2.6/AccountUserProfilesListResponse/kind": kind +"/dfareporting:v2.6/AccountUserProfilesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/AccountsListResponse/accounts": accounts +"/dfareporting:v2.6/AccountsListResponse/accounts/account": account +"/dfareporting:v2.6/AccountsListResponse/kind": kind +"/dfareporting:v2.6/AccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/Activities": activities +"/dfareporting:v2.6/Activities/filters": filters +"/dfareporting:v2.6/Activities/filters/filter": filter +"/dfareporting:v2.6/Activities/kind": kind +"/dfareporting:v2.6/Activities/metricNames": metric_names +"/dfareporting:v2.6/Activities/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Ad": ad +"/dfareporting:v2.6/Ad/accountId": account_id +"/dfareporting:v2.6/Ad/active": active +"/dfareporting:v2.6/Ad/advertiserId": advertiser_id +"/dfareporting:v2.6/Ad/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/Ad/archived": archived +"/dfareporting:v2.6/Ad/audienceSegmentId": audience_segment_id +"/dfareporting:v2.6/Ad/campaignId": campaign_id +"/dfareporting:v2.6/Ad/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.6/Ad/clickThroughUrl": click_through_url +"/dfareporting:v2.6/Ad/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.6/Ad/comments": comments +"/dfareporting:v2.6/Ad/compatibility": compatibility +"/dfareporting:v2.6/Ad/createInfo": create_info +"/dfareporting:v2.6/Ad/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.6/Ad/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.6/Ad/creativeRotation": creative_rotation +"/dfareporting:v2.6/Ad/dayPartTargeting": day_part_targeting +"/dfareporting:v2.6/Ad/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.6/Ad/deliverySchedule": delivery_schedule +"/dfareporting:v2.6/Ad/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.6/Ad/endTime": end_time +"/dfareporting:v2.6/Ad/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.6/Ad/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.6/Ad/geoTargeting": geo_targeting +"/dfareporting:v2.6/Ad/id": id +"/dfareporting:v2.6/Ad/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Ad/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.6/Ad/kind": kind +"/dfareporting:v2.6/Ad/languageTargeting": language_targeting +"/dfareporting:v2.6/Ad/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Ad/name": name +"/dfareporting:v2.6/Ad/placementAssignments": placement_assignments +"/dfareporting:v2.6/Ad/placementAssignments/placement_assignment": placement_assignment +"/dfareporting:v2.6/Ad/remarketingListExpression": remarketing_list_expression +"/dfareporting:v2.6/Ad/size": size +"/dfareporting:v2.6/Ad/sslCompliant": ssl_compliant +"/dfareporting:v2.6/Ad/sslRequired": ssl_required +"/dfareporting:v2.6/Ad/startTime": start_time +"/dfareporting:v2.6/Ad/subaccountId": subaccount_id +"/dfareporting:v2.6/Ad/targetingTemplateId": targeting_template_id +"/dfareporting:v2.6/Ad/technologyTargeting": technology_targeting +"/dfareporting:v2.6/Ad/type": type +"/dfareporting:v2.6/AdSlot": ad_slot +"/dfareporting:v2.6/AdSlot/comment": comment +"/dfareporting:v2.6/AdSlot/compatibility": compatibility +"/dfareporting:v2.6/AdSlot/height": height +"/dfareporting:v2.6/AdSlot/linkedPlacementId": linked_placement_id +"/dfareporting:v2.6/AdSlot/name": name +"/dfareporting:v2.6/AdSlot/paymentSourceType": payment_source_type +"/dfareporting:v2.6/AdSlot/primary": primary +"/dfareporting:v2.6/AdSlot/width": width +"/dfareporting:v2.6/AdsListResponse/ads": ads +"/dfareporting:v2.6/AdsListResponse/ads/ad": ad +"/dfareporting:v2.6/AdsListResponse/kind": kind +"/dfareporting:v2.6/AdsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/Advertiser": advertiser +"/dfareporting:v2.6/Advertiser/accountId": account_id +"/dfareporting:v2.6/Advertiser/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.6/Advertiser/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.6/Advertiser/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.6/Advertiser/defaultEmail": default_email +"/dfareporting:v2.6/Advertiser/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/Advertiser/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.6/Advertiser/id": id +"/dfareporting:v2.6/Advertiser/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Advertiser/kind": kind +"/dfareporting:v2.6/Advertiser/name": name +"/dfareporting:v2.6/Advertiser/originalFloodlightConfigurationId": original_floodlight_configuration_id +"/dfareporting:v2.6/Advertiser/status": status +"/dfareporting:v2.6/Advertiser/subaccountId": subaccount_id +"/dfareporting:v2.6/Advertiser/suspended": suspended +"/dfareporting:v2.6/AdvertiserGroup": advertiser_group +"/dfareporting:v2.6/AdvertiserGroup/accountId": account_id +"/dfareporting:v2.6/AdvertiserGroup/id": id +"/dfareporting:v2.6/AdvertiserGroup/kind": kind +"/dfareporting:v2.6/AdvertiserGroup/name": name +"/dfareporting:v2.6/AdvertiserGroupsListResponse/advertiserGroups": advertiser_groups +"/dfareporting:v2.6/AdvertiserGroupsListResponse/advertiserGroups/advertiser_group": advertiser_group +"/dfareporting:v2.6/AdvertiserGroupsListResponse/kind": kind +"/dfareporting:v2.6/AdvertiserGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/AdvertisersListResponse/advertisers": advertisers +"/dfareporting:v2.6/AdvertisersListResponse/advertisers/advertiser": advertiser +"/dfareporting:v2.6/AdvertisersListResponse/kind": kind +"/dfareporting:v2.6/AdvertisersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/AudienceSegment": audience_segment +"/dfareporting:v2.6/AudienceSegment/allocation": allocation +"/dfareporting:v2.6/AudienceSegment/id": id +"/dfareporting:v2.6/AudienceSegment/name": name +"/dfareporting:v2.6/AudienceSegmentGroup": audience_segment_group +"/dfareporting:v2.6/AudienceSegmentGroup/audienceSegments": audience_segments +"/dfareporting:v2.6/AudienceSegmentGroup/audienceSegments/audience_segment": audience_segment +"/dfareporting:v2.6/AudienceSegmentGroup/id": id +"/dfareporting:v2.6/AudienceSegmentGroup/name": name +"/dfareporting:v2.6/Browser": browser +"/dfareporting:v2.6/Browser/browserVersionId": browser_version_id +"/dfareporting:v2.6/Browser/dartId": dart_id +"/dfareporting:v2.6/Browser/kind": kind +"/dfareporting:v2.6/Browser/majorVersion": major_version +"/dfareporting:v2.6/Browser/minorVersion": minor_version +"/dfareporting:v2.6/Browser/name": name +"/dfareporting:v2.6/BrowsersListResponse/browsers": browsers +"/dfareporting:v2.6/BrowsersListResponse/browsers/browser": browser +"/dfareporting:v2.6/BrowsersListResponse/kind": kind +"/dfareporting:v2.6/Campaign": campaign +"/dfareporting:v2.6/Campaign/accountId": account_id +"/dfareporting:v2.6/Campaign/additionalCreativeOptimizationConfigurations": additional_creative_optimization_configurations +"/dfareporting:v2.6/Campaign/additionalCreativeOptimizationConfigurations/additional_creative_optimization_configuration": additional_creative_optimization_configuration +"/dfareporting:v2.6/Campaign/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.6/Campaign/advertiserId": advertiser_id +"/dfareporting:v2.6/Campaign/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/Campaign/archived": archived +"/dfareporting:v2.6/Campaign/audienceSegmentGroups": audience_segment_groups +"/dfareporting:v2.6/Campaign/audienceSegmentGroups/audience_segment_group": audience_segment_group +"/dfareporting:v2.6/Campaign/billingInvoiceCode": billing_invoice_code +"/dfareporting:v2.6/Campaign/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.6/Campaign/comment": comment +"/dfareporting:v2.6/Campaign/createInfo": create_info +"/dfareporting:v2.6/Campaign/creativeGroupIds": creative_group_ids +"/dfareporting:v2.6/Campaign/creativeGroupIds/creative_group_id": creative_group_id +"/dfareporting:v2.6/Campaign/creativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.6/Campaign/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.6/Campaign/endDate": end_date +"/dfareporting:v2.6/Campaign/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.6/Campaign/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.6/Campaign/externalId": external_id +"/dfareporting:v2.6/Campaign/id": id +"/dfareporting:v2.6/Campaign/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Campaign/kind": kind +"/dfareporting:v2.6/Campaign/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Campaign/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/Campaign/name": name +"/dfareporting:v2.6/Campaign/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.6/Campaign/startDate": start_date +"/dfareporting:v2.6/Campaign/subaccountId": subaccount_id +"/dfareporting:v2.6/Campaign/traffickerEmails": trafficker_emails +"/dfareporting:v2.6/Campaign/traffickerEmails/trafficker_email": trafficker_email +"/dfareporting:v2.6/CampaignCreativeAssociation": campaign_creative_association +"/dfareporting:v2.6/CampaignCreativeAssociation/creativeId": creative_id +"/dfareporting:v2.6/CampaignCreativeAssociation/kind": kind +"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations": campaign_creative_associations +"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations/campaign_creative_association": campaign_creative_association +"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse/kind": kind +"/dfareporting:v2.6/CampaignCreativeAssociationsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CampaignsListResponse/campaigns": campaigns +"/dfareporting:v2.6/CampaignsListResponse/campaigns/campaign": campaign +"/dfareporting:v2.6/CampaignsListResponse/kind": kind +"/dfareporting:v2.6/CampaignsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/ChangeLog": change_log +"/dfareporting:v2.6/ChangeLog/accountId": account_id +"/dfareporting:v2.6/ChangeLog/action": action +"/dfareporting:v2.6/ChangeLog/changeTime": change_time +"/dfareporting:v2.6/ChangeLog/fieldName": field_name +"/dfareporting:v2.6/ChangeLog/id": id +"/dfareporting:v2.6/ChangeLog/kind": kind +"/dfareporting:v2.6/ChangeLog/newValue": new_value +"/dfareporting:v2.6/ChangeLog/objectType": object_type +"/dfareporting:v2.6/ChangeLog/oldValue": old_value +"/dfareporting:v2.6/ChangeLog/subaccountId": subaccount_id +"/dfareporting:v2.6/ChangeLog/transactionId": transaction_id +"/dfareporting:v2.6/ChangeLog/userProfileId": user_profile_id +"/dfareporting:v2.6/ChangeLog/userProfileName": user_profile_name +"/dfareporting:v2.6/ChangeLogsListResponse/changeLogs": change_logs +"/dfareporting:v2.6/ChangeLogsListResponse/changeLogs/change_log": change_log +"/dfareporting:v2.6/ChangeLogsListResponse/kind": kind +"/dfareporting:v2.6/ChangeLogsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CitiesListResponse/cities": cities +"/dfareporting:v2.6/CitiesListResponse/cities/city": city +"/dfareporting:v2.6/CitiesListResponse/kind": kind +"/dfareporting:v2.6/City": city +"/dfareporting:v2.6/City/countryCode": country_code +"/dfareporting:v2.6/City/countryDartId": country_dart_id +"/dfareporting:v2.6/City/dartId": dart_id +"/dfareporting:v2.6/City/kind": kind +"/dfareporting:v2.6/City/metroCode": metro_code +"/dfareporting:v2.6/City/metroDmaId": metro_dma_id +"/dfareporting:v2.6/City/name": name +"/dfareporting:v2.6/City/regionCode": region_code +"/dfareporting:v2.6/City/regionDartId": region_dart_id +"/dfareporting:v2.6/ClickTag": click_tag +"/dfareporting:v2.6/ClickTag/eventName": event_name +"/dfareporting:v2.6/ClickTag/name": name +"/dfareporting:v2.6/ClickTag/value": value +"/dfareporting:v2.6/ClickThroughUrl": click_through_url +"/dfareporting:v2.6/ClickThroughUrl/computedClickThroughUrl": computed_click_through_url +"/dfareporting:v2.6/ClickThroughUrl/customClickThroughUrl": custom_click_through_url +"/dfareporting:v2.6/ClickThroughUrl/defaultLandingPage": default_landing_page +"/dfareporting:v2.6/ClickThroughUrl/landingPageId": landing_page_id +"/dfareporting:v2.6/ClickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.6/ClickThroughUrlSuffixProperties/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.6/ClickThroughUrlSuffixProperties/overrideInheritedSuffix": override_inherited_suffix +"/dfareporting:v2.6/CompanionClickThroughOverride": companion_click_through_override +"/dfareporting:v2.6/CompanionClickThroughOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.6/CompanionClickThroughOverride/creativeId": creative_id +"/dfareporting:v2.6/CompatibleFields": compatible_fields +"/dfareporting:v2.6/CompatibleFields/crossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.6/CompatibleFields/floodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.6/CompatibleFields/kind": kind +"/dfareporting:v2.6/CompatibleFields/pathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.6/CompatibleFields/reachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.6/CompatibleFields/reportCompatibleFields": report_compatible_fields +"/dfareporting:v2.6/ConnectionType": connection_type +"/dfareporting:v2.6/ConnectionType/id": id +"/dfareporting:v2.6/ConnectionType/kind": kind +"/dfareporting:v2.6/ConnectionType/name": name +"/dfareporting:v2.6/ConnectionTypesListResponse/connectionTypes": connection_types +"/dfareporting:v2.6/ConnectionTypesListResponse/connectionTypes/connection_type": connection_type +"/dfareporting:v2.6/ConnectionTypesListResponse/kind": kind +"/dfareporting:v2.6/ContentCategoriesListResponse/contentCategories": content_categories +"/dfareporting:v2.6/ContentCategoriesListResponse/contentCategories/content_category": content_category +"/dfareporting:v2.6/ContentCategoriesListResponse/kind": kind +"/dfareporting:v2.6/ContentCategoriesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/ContentCategory": content_category +"/dfareporting:v2.6/ContentCategory/accountId": account_id +"/dfareporting:v2.6/ContentCategory/id": id +"/dfareporting:v2.6/ContentCategory/kind": kind +"/dfareporting:v2.6/ContentCategory/name": name +"/dfareporting:v2.6/Conversion": conversion +"/dfareporting:v2.6/Conversion/childDirectedTreatment": child_directed_treatment +"/dfareporting:v2.6/Conversion/customVariables": custom_variables +"/dfareporting:v2.6/Conversion/customVariables/custom_variable": custom_variable +"/dfareporting:v2.6/Conversion/encryptedUserId": encrypted_user_id +"/dfareporting:v2.6/Conversion/encryptedUserIdCandidates": encrypted_user_id_candidates +"/dfareporting:v2.6/Conversion/encryptedUserIdCandidates/encrypted_user_id_candidate": encrypted_user_id_candidate +"/dfareporting:v2.6/Conversion/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/Conversion/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/Conversion/kind": kind +"/dfareporting:v2.6/Conversion/limitAdTracking": limit_ad_tracking +"/dfareporting:v2.6/Conversion/mobileDeviceId": mobile_device_id +"/dfareporting:v2.6/Conversion/ordinal": ordinal +"/dfareporting:v2.6/Conversion/quantity": quantity +"/dfareporting:v2.6/Conversion/timestampMicros": timestamp_micros +"/dfareporting:v2.6/Conversion/value": value +"/dfareporting:v2.6/ConversionError": conversion_error +"/dfareporting:v2.6/ConversionError/code": code +"/dfareporting:v2.6/ConversionError/kind": kind +"/dfareporting:v2.6/ConversionError/message": message +"/dfareporting:v2.6/ConversionStatus": conversion_status +"/dfareporting:v2.6/ConversionStatus/conversion": conversion +"/dfareporting:v2.6/ConversionStatus/errors": errors +"/dfareporting:v2.6/ConversionStatus/errors/error": error +"/dfareporting:v2.6/ConversionStatus/kind": kind +"/dfareporting:v2.6/ConversionsBatchInsertRequest": conversions_batch_insert_request +"/dfareporting:v2.6/ConversionsBatchInsertRequest/conversions": conversions +"/dfareporting:v2.6/ConversionsBatchInsertRequest/conversions/conversion": conversion +"/dfareporting:v2.6/ConversionsBatchInsertRequest/encryptionInfo": encryption_info +"/dfareporting:v2.6/ConversionsBatchInsertRequest/kind": kind +"/dfareporting:v2.6/ConversionsBatchInsertResponse": conversions_batch_insert_response +"/dfareporting:v2.6/ConversionsBatchInsertResponse/hasFailures": has_failures +"/dfareporting:v2.6/ConversionsBatchInsertResponse/kind": kind +"/dfareporting:v2.6/ConversionsBatchInsertResponse/status": status +"/dfareporting:v2.6/ConversionsBatchInsertResponse/status/status": status +"/dfareporting:v2.6/CountriesListResponse/countries": countries +"/dfareporting:v2.6/CountriesListResponse/countries/country": country +"/dfareporting:v2.6/CountriesListResponse/kind": kind +"/dfareporting:v2.6/Country": country +"/dfareporting:v2.6/Country/countryCode": country_code +"/dfareporting:v2.6/Country/dartId": dart_id +"/dfareporting:v2.6/Country/kind": kind +"/dfareporting:v2.6/Country/name": name +"/dfareporting:v2.6/Country/sslEnabled": ssl_enabled +"/dfareporting:v2.6/Creative": creative +"/dfareporting:v2.6/Creative/accountId": account_id +"/dfareporting:v2.6/Creative/active": active +"/dfareporting:v2.6/Creative/adParameters": ad_parameters +"/dfareporting:v2.6/Creative/adTagKeys": ad_tag_keys +"/dfareporting:v2.6/Creative/adTagKeys/ad_tag_key": ad_tag_key +"/dfareporting:v2.6/Creative/advertiserId": advertiser_id +"/dfareporting:v2.6/Creative/allowScriptAccess": allow_script_access +"/dfareporting:v2.6/Creative/archived": archived +"/dfareporting:v2.6/Creative/artworkType": artwork_type +"/dfareporting:v2.6/Creative/authoringSource": authoring_source +"/dfareporting:v2.6/Creative/authoringTool": authoring_tool +"/dfareporting:v2.6/Creative/auto_advance_images": auto_advance_images +"/dfareporting:v2.6/Creative/backgroundColor": background_color +"/dfareporting:v2.6/Creative/backupImageClickThroughUrl": backup_image_click_through_url +"/dfareporting:v2.6/Creative/backupImageFeatures": backup_image_features +"/dfareporting:v2.6/Creative/backupImageFeatures/backup_image_feature": backup_image_feature +"/dfareporting:v2.6/Creative/backupImageReportingLabel": backup_image_reporting_label +"/dfareporting:v2.6/Creative/backupImageTargetWindow": backup_image_target_window +"/dfareporting:v2.6/Creative/clickTags": click_tags +"/dfareporting:v2.6/Creative/clickTags/click_tag": click_tag +"/dfareporting:v2.6/Creative/commercialId": commercial_id +"/dfareporting:v2.6/Creative/companionCreatives": companion_creatives +"/dfareporting:v2.6/Creative/companionCreatives/companion_creative": companion_creative +"/dfareporting:v2.6/Creative/compatibility": compatibility +"/dfareporting:v2.6/Creative/compatibility/compatibility": compatibility +"/dfareporting:v2.6/Creative/convertFlashToHtml5": convert_flash_to_html5 +"/dfareporting:v2.6/Creative/counterCustomEvents": counter_custom_events +"/dfareporting:v2.6/Creative/counterCustomEvents/counter_custom_event": counter_custom_event +"/dfareporting:v2.6/Creative/creativeAssetSelection": creative_asset_selection +"/dfareporting:v2.6/Creative/creativeAssets": creative_assets +"/dfareporting:v2.6/Creative/creativeAssets/creative_asset": creative_asset +"/dfareporting:v2.6/Creative/creativeFieldAssignments": creative_field_assignments +"/dfareporting:v2.6/Creative/creativeFieldAssignments/creative_field_assignment": creative_field_assignment +"/dfareporting:v2.6/Creative/customKeyValues": custom_key_values +"/dfareporting:v2.6/Creative/customKeyValues/custom_key_value": custom_key_value +"/dfareporting:v2.6/Creative/dynamicAssetSelection": dynamic_asset_selection +"/dfareporting:v2.6/Creative/exitCustomEvents": exit_custom_events +"/dfareporting:v2.6/Creative/exitCustomEvents/exit_custom_event": exit_custom_event +"/dfareporting:v2.6/Creative/fsCommand": fs_command +"/dfareporting:v2.6/Creative/htmlCode": html_code +"/dfareporting:v2.6/Creative/htmlCodeLocked": html_code_locked +"/dfareporting:v2.6/Creative/id": id +"/dfareporting:v2.6/Creative/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Creative/kind": kind +"/dfareporting:v2.6/Creative/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Creative/latestTraffickedCreativeId": latest_trafficked_creative_id +"/dfareporting:v2.6/Creative/name": name +"/dfareporting:v2.6/Creative/overrideCss": override_css +"/dfareporting:v2.6/Creative/redirectUrl": redirect_url +"/dfareporting:v2.6/Creative/renderingId": rendering_id +"/dfareporting:v2.6/Creative/renderingIdDimensionValue": rendering_id_dimension_value +"/dfareporting:v2.6/Creative/requiredFlashPluginVersion": required_flash_plugin_version +"/dfareporting:v2.6/Creative/requiredFlashVersion": required_flash_version +"/dfareporting:v2.6/Creative/size": size +"/dfareporting:v2.6/Creative/skippable": skippable +"/dfareporting:v2.6/Creative/sslCompliant": ssl_compliant +"/dfareporting:v2.6/Creative/sslOverride": ssl_override +"/dfareporting:v2.6/Creative/studioAdvertiserId": studio_advertiser_id +"/dfareporting:v2.6/Creative/studioCreativeId": studio_creative_id +"/dfareporting:v2.6/Creative/studioTraffickedCreativeId": studio_trafficked_creative_id +"/dfareporting:v2.6/Creative/subaccountId": subaccount_id +"/dfareporting:v2.6/Creative/thirdPartyBackupImageImpressionsUrl": third_party_backup_image_impressions_url +"/dfareporting:v2.6/Creative/thirdPartyRichMediaImpressionsUrl": third_party_rich_media_impressions_url +"/dfareporting:v2.6/Creative/thirdPartyUrls": third_party_urls +"/dfareporting:v2.6/Creative/thirdPartyUrls/third_party_url": third_party_url +"/dfareporting:v2.6/Creative/timerCustomEvents": timer_custom_events +"/dfareporting:v2.6/Creative/timerCustomEvents/timer_custom_event": timer_custom_event +"/dfareporting:v2.6/Creative/totalFileSize": total_file_size +"/dfareporting:v2.6/Creative/type": type +"/dfareporting:v2.6/Creative/version": version +"/dfareporting:v2.6/Creative/videoDescription": video_description +"/dfareporting:v2.6/Creative/videoDuration": video_duration +"/dfareporting:v2.6/CreativeAsset": creative_asset +"/dfareporting:v2.6/CreativeAsset/actionScript3": action_script3 +"/dfareporting:v2.6/CreativeAsset/active": active +"/dfareporting:v2.6/CreativeAsset/alignment": alignment +"/dfareporting:v2.6/CreativeAsset/artworkType": artwork_type +"/dfareporting:v2.6/CreativeAsset/assetIdentifier": asset_identifier +"/dfareporting:v2.6/CreativeAsset/backupImageExit": backup_image_exit +"/dfareporting:v2.6/CreativeAsset/bitRate": bit_rate +"/dfareporting:v2.6/CreativeAsset/childAssetType": child_asset_type +"/dfareporting:v2.6/CreativeAsset/collapsedSize": collapsed_size +"/dfareporting:v2.6/CreativeAsset/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.6/CreativeAsset/companionCreativeIds/companion_creative_id": companion_creative_id +"/dfareporting:v2.6/CreativeAsset/customStartTimeValue": custom_start_time_value +"/dfareporting:v2.6/CreativeAsset/detectedFeatures": detected_features +"/dfareporting:v2.6/CreativeAsset/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.6/CreativeAsset/displayType": display_type +"/dfareporting:v2.6/CreativeAsset/duration": duration +"/dfareporting:v2.6/CreativeAsset/durationType": duration_type +"/dfareporting:v2.6/CreativeAsset/expandedDimension": expanded_dimension +"/dfareporting:v2.6/CreativeAsset/fileSize": file_size +"/dfareporting:v2.6/CreativeAsset/flashVersion": flash_version +"/dfareporting:v2.6/CreativeAsset/hideFlashObjects": hide_flash_objects +"/dfareporting:v2.6/CreativeAsset/hideSelectionBoxes": hide_selection_boxes +"/dfareporting:v2.6/CreativeAsset/horizontallyLocked": horizontally_locked +"/dfareporting:v2.6/CreativeAsset/id": id +"/dfareporting:v2.6/CreativeAsset/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/CreativeAsset/mimeType": mime_type +"/dfareporting:v2.6/CreativeAsset/offset": offset +"/dfareporting:v2.6/CreativeAsset/originalBackup": original_backup +"/dfareporting:v2.6/CreativeAsset/position": position +"/dfareporting:v2.6/CreativeAsset/positionLeftUnit": position_left_unit +"/dfareporting:v2.6/CreativeAsset/positionTopUnit": position_top_unit +"/dfareporting:v2.6/CreativeAsset/progressiveServingUrl": progressive_serving_url +"/dfareporting:v2.6/CreativeAsset/pushdown": pushdown +"/dfareporting:v2.6/CreativeAsset/pushdownDuration": pushdown_duration +"/dfareporting:v2.6/CreativeAsset/role": role +"/dfareporting:v2.6/CreativeAsset/size": size +"/dfareporting:v2.6/CreativeAsset/sslCompliant": ssl_compliant +"/dfareporting:v2.6/CreativeAsset/startTimeType": start_time_type +"/dfareporting:v2.6/CreativeAsset/streamingServingUrl": streaming_serving_url +"/dfareporting:v2.6/CreativeAsset/transparency": transparency +"/dfareporting:v2.6/CreativeAsset/verticallyLocked": vertically_locked +"/dfareporting:v2.6/CreativeAsset/videoDuration": video_duration +"/dfareporting:v2.6/CreativeAsset/windowMode": window_mode +"/dfareporting:v2.6/CreativeAsset/zIndex": z_index +"/dfareporting:v2.6/CreativeAsset/zipFilename": zip_filename +"/dfareporting:v2.6/CreativeAsset/zipFilesize": zip_filesize +"/dfareporting:v2.6/CreativeAssetId": creative_asset_id +"/dfareporting:v2.6/CreativeAssetId/name": name +"/dfareporting:v2.6/CreativeAssetId/type": type +"/dfareporting:v2.6/CreativeAssetMetadata": creative_asset_metadata +"/dfareporting:v2.6/CreativeAssetMetadata/assetIdentifier": asset_identifier +"/dfareporting:v2.6/CreativeAssetMetadata/clickTags": click_tags +"/dfareporting:v2.6/CreativeAssetMetadata/clickTags/click_tag": click_tag +"/dfareporting:v2.6/CreativeAssetMetadata/detectedFeatures": detected_features +"/dfareporting:v2.6/CreativeAssetMetadata/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.6/CreativeAssetMetadata/id": id +"/dfareporting:v2.6/CreativeAssetMetadata/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/CreativeAssetMetadata/kind": kind +"/dfareporting:v2.6/CreativeAssetMetadata/warnedValidationRules": warned_validation_rules +"/dfareporting:v2.6/CreativeAssetMetadata/warnedValidationRules/warned_validation_rule": warned_validation_rule +"/dfareporting:v2.6/CreativeAssetSelection": creative_asset_selection +"/dfareporting:v2.6/CreativeAssetSelection/defaultAssetId": default_asset_id +"/dfareporting:v2.6/CreativeAssetSelection/rules": rules +"/dfareporting:v2.6/CreativeAssetSelection/rules/rule": rule +"/dfareporting:v2.6/CreativeAssignment": creative_assignment +"/dfareporting:v2.6/CreativeAssignment/active": active +"/dfareporting:v2.6/CreativeAssignment/applyEventTags": apply_event_tags +"/dfareporting:v2.6/CreativeAssignment/clickThroughUrl": click_through_url +"/dfareporting:v2.6/CreativeAssignment/companionCreativeOverrides": companion_creative_overrides +"/dfareporting:v2.6/CreativeAssignment/companionCreativeOverrides/companion_creative_override": companion_creative_override +"/dfareporting:v2.6/CreativeAssignment/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.6/CreativeAssignment/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.6/CreativeAssignment/creativeId": creative_id +"/dfareporting:v2.6/CreativeAssignment/creativeIdDimensionValue": creative_id_dimension_value +"/dfareporting:v2.6/CreativeAssignment/endTime": end_time +"/dfareporting:v2.6/CreativeAssignment/richMediaExitOverrides": rich_media_exit_overrides +"/dfareporting:v2.6/CreativeAssignment/richMediaExitOverrides/rich_media_exit_override": rich_media_exit_override +"/dfareporting:v2.6/CreativeAssignment/sequence": sequence +"/dfareporting:v2.6/CreativeAssignment/sslCompliant": ssl_compliant +"/dfareporting:v2.6/CreativeAssignment/startTime": start_time +"/dfareporting:v2.6/CreativeAssignment/weight": weight +"/dfareporting:v2.6/CreativeCustomEvent": creative_custom_event +"/dfareporting:v2.6/CreativeCustomEvent/advertiserCustomEventId": advertiser_custom_event_id +"/dfareporting:v2.6/CreativeCustomEvent/advertiserCustomEventName": advertiser_custom_event_name +"/dfareporting:v2.6/CreativeCustomEvent/advertiserCustomEventType": advertiser_custom_event_type +"/dfareporting:v2.6/CreativeCustomEvent/artworkLabel": artwork_label +"/dfareporting:v2.6/CreativeCustomEvent/artworkType": artwork_type +"/dfareporting:v2.6/CreativeCustomEvent/exitUrl": exit_url +"/dfareporting:v2.6/CreativeCustomEvent/id": id +"/dfareporting:v2.6/CreativeCustomEvent/popupWindowProperties": popup_window_properties +"/dfareporting:v2.6/CreativeCustomEvent/targetType": target_type +"/dfareporting:v2.6/CreativeCustomEvent/videoReportingId": video_reporting_id +"/dfareporting:v2.6/CreativeField": creative_field +"/dfareporting:v2.6/CreativeField/accountId": account_id +"/dfareporting:v2.6/CreativeField/advertiserId": advertiser_id +"/dfareporting:v2.6/CreativeField/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/CreativeField/id": id +"/dfareporting:v2.6/CreativeField/kind": kind +"/dfareporting:v2.6/CreativeField/name": name +"/dfareporting:v2.6/CreativeField/subaccountId": subaccount_id +"/dfareporting:v2.6/CreativeFieldAssignment": creative_field_assignment +"/dfareporting:v2.6/CreativeFieldAssignment/creativeFieldId": creative_field_id +"/dfareporting:v2.6/CreativeFieldAssignment/creativeFieldValueId": creative_field_value_id +"/dfareporting:v2.6/CreativeFieldValue": creative_field_value +"/dfareporting:v2.6/CreativeFieldValue/id": id +"/dfareporting:v2.6/CreativeFieldValue/kind": kind +"/dfareporting:v2.6/CreativeFieldValue/value": value +"/dfareporting:v2.6/CreativeFieldValuesListResponse/creativeFieldValues": creative_field_values +"/dfareporting:v2.6/CreativeFieldValuesListResponse/creativeFieldValues/creative_field_value": creative_field_value +"/dfareporting:v2.6/CreativeFieldValuesListResponse/kind": kind +"/dfareporting:v2.6/CreativeFieldValuesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CreativeFieldsListResponse/creativeFields": creative_fields +"/dfareporting:v2.6/CreativeFieldsListResponse/creativeFields/creative_field": creative_field +"/dfareporting:v2.6/CreativeFieldsListResponse/kind": kind +"/dfareporting:v2.6/CreativeFieldsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CreativeGroup": creative_group +"/dfareporting:v2.6/CreativeGroup/accountId": account_id +"/dfareporting:v2.6/CreativeGroup/advertiserId": advertiser_id +"/dfareporting:v2.6/CreativeGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/CreativeGroup/groupNumber": group_number +"/dfareporting:v2.6/CreativeGroup/id": id +"/dfareporting:v2.6/CreativeGroup/kind": kind +"/dfareporting:v2.6/CreativeGroup/name": name +"/dfareporting:v2.6/CreativeGroup/subaccountId": subaccount_id +"/dfareporting:v2.6/CreativeGroupAssignment": creative_group_assignment +"/dfareporting:v2.6/CreativeGroupAssignment/creativeGroupId": creative_group_id +"/dfareporting:v2.6/CreativeGroupAssignment/creativeGroupNumber": creative_group_number +"/dfareporting:v2.6/CreativeGroupsListResponse/creativeGroups": creative_groups +"/dfareporting:v2.6/CreativeGroupsListResponse/creativeGroups/creative_group": creative_group +"/dfareporting:v2.6/CreativeGroupsListResponse/kind": kind +"/dfareporting:v2.6/CreativeGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CreativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.6/CreativeOptimizationConfiguration/id": id +"/dfareporting:v2.6/CreativeOptimizationConfiguration/name": name +"/dfareporting:v2.6/CreativeOptimizationConfiguration/optimizationActivitys": optimization_activitys +"/dfareporting:v2.6/CreativeOptimizationConfiguration/optimizationActivitys/optimization_activity": optimization_activity +"/dfareporting:v2.6/CreativeOptimizationConfiguration/optimizationModel": optimization_model +"/dfareporting:v2.6/CreativeRotation": creative_rotation +"/dfareporting:v2.6/CreativeRotation/creativeAssignments": creative_assignments +"/dfareporting:v2.6/CreativeRotation/creativeAssignments/creative_assignment": creative_assignment +"/dfareporting:v2.6/CreativeRotation/creativeOptimizationConfigurationId": creative_optimization_configuration_id +"/dfareporting:v2.6/CreativeRotation/type": type +"/dfareporting:v2.6/CreativeRotation/weightCalculationStrategy": weight_calculation_strategy +"/dfareporting:v2.6/CreativeSettings": creative_settings +"/dfareporting:v2.6/CreativeSettings/iFrameFooter": i_frame_footer +"/dfareporting:v2.6/CreativeSettings/iFrameHeader": i_frame_header +"/dfareporting:v2.6/CreativesListResponse/creatives": creatives +"/dfareporting:v2.6/CreativesListResponse/creatives/creative": creative +"/dfareporting:v2.6/CreativesListResponse/kind": kind +"/dfareporting:v2.6/CreativesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/breakdown": breakdown +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/breakdown/breakdown": breakdown +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/kind": kind +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/overlapMetrics": overlap_metrics +"/dfareporting:v2.6/CrossDimensionReachReportCompatibleFields/overlapMetrics/overlap_metric": overlap_metric +"/dfareporting:v2.6/CustomFloodlightVariable": custom_floodlight_variable +"/dfareporting:v2.6/CustomFloodlightVariable/kind": kind +"/dfareporting:v2.6/CustomFloodlightVariable/type": type +"/dfareporting:v2.6/CustomFloodlightVariable/value": value +"/dfareporting:v2.6/CustomRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.6/CustomRichMediaEvents/filteredEventIds": filtered_event_ids +"/dfareporting:v2.6/CustomRichMediaEvents/filteredEventIds/filtered_event_id": filtered_event_id +"/dfareporting:v2.6/CustomRichMediaEvents/kind": kind +"/dfareporting:v2.6/DateRange": date_range +"/dfareporting:v2.6/DateRange/endDate": end_date +"/dfareporting:v2.6/DateRange/kind": kind +"/dfareporting:v2.6/DateRange/relativeDateRange": relative_date_range +"/dfareporting:v2.6/DateRange/startDate": start_date +"/dfareporting:v2.6/DayPartTargeting": day_part_targeting +"/dfareporting:v2.6/DayPartTargeting/daysOfWeek": days_of_week +"/dfareporting:v2.6/DayPartTargeting/daysOfWeek/days_of_week": days_of_week +"/dfareporting:v2.6/DayPartTargeting/hoursOfDay": hours_of_day +"/dfareporting:v2.6/DayPartTargeting/hoursOfDay/hours_of_day": hours_of_day +"/dfareporting:v2.6/DayPartTargeting/userLocalTime": user_local_time +"/dfareporting:v2.6/DefaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.6/DefaultClickThroughEventTagProperties/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.6/DefaultClickThroughEventTagProperties/overrideInheritedEventTag": override_inherited_event_tag +"/dfareporting:v2.6/DeliverySchedule": delivery_schedule +"/dfareporting:v2.6/DeliverySchedule/frequencyCap": frequency_cap +"/dfareporting:v2.6/DeliverySchedule/hardCutoff": hard_cutoff +"/dfareporting:v2.6/DeliverySchedule/impressionRatio": impression_ratio +"/dfareporting:v2.6/DeliverySchedule/priority": priority +"/dfareporting:v2.6/DfpSettings": dfp_settings +"/dfareporting:v2.6/DfpSettings/dfp_network_code": dfp_network_code +"/dfareporting:v2.6/DfpSettings/dfp_network_name": dfp_network_name +"/dfareporting:v2.6/DfpSettings/programmaticPlacementAccepted": programmatic_placement_accepted +"/dfareporting:v2.6/DfpSettings/pubPaidPlacementAccepted": pub_paid_placement_accepted +"/dfareporting:v2.6/DfpSettings/publisherPortalOnly": publisher_portal_only +"/dfareporting:v2.6/Dimension": dimension +"/dfareporting:v2.6/Dimension/kind": kind +"/dfareporting:v2.6/Dimension/name": name +"/dfareporting:v2.6/DimensionFilter": dimension_filter +"/dfareporting:v2.6/DimensionFilter/dimensionName": dimension_name +"/dfareporting:v2.6/DimensionFilter/kind": kind +"/dfareporting:v2.6/DimensionFilter/value": value +"/dfareporting:v2.6/DimensionValue": dimension_value +"/dfareporting:v2.6/DimensionValue/dimensionName": dimension_name +"/dfareporting:v2.6/DimensionValue/etag": etag +"/dfareporting:v2.6/DimensionValue/id": id +"/dfareporting:v2.6/DimensionValue/kind": kind +"/dfareporting:v2.6/DimensionValue/matchType": match_type +"/dfareporting:v2.6/DimensionValue/value": value +"/dfareporting:v2.6/DimensionValueList": dimension_value_list +"/dfareporting:v2.6/DimensionValueList/etag": etag +"/dfareporting:v2.6/DimensionValueList/items": items +"/dfareporting:v2.6/DimensionValueList/items/item": item +"/dfareporting:v2.6/DimensionValueList/kind": kind +"/dfareporting:v2.6/DimensionValueList/nextPageToken": next_page_token +"/dfareporting:v2.6/DimensionValueRequest/dimensionName": dimension_name +"/dfareporting:v2.6/DimensionValueRequest/endDate": end_date +"/dfareporting:v2.6/DimensionValueRequest/filters": filters +"/dfareporting:v2.6/DimensionValueRequest/filters/filter": filter +"/dfareporting:v2.6/DimensionValueRequest/kind": kind +"/dfareporting:v2.6/DimensionValueRequest/startDate": start_date +"/dfareporting:v2.6/DirectorySite": directory_site +"/dfareporting:v2.6/DirectorySite/active": active +"/dfareporting:v2.6/DirectorySite/contactAssignments": contact_assignments +"/dfareporting:v2.6/DirectorySite/contactAssignments/contact_assignment": contact_assignment +"/dfareporting:v2.6/DirectorySite/countryId": country_id +"/dfareporting:v2.6/DirectorySite/currencyId": currency_id +"/dfareporting:v2.6/DirectorySite/description": description +"/dfareporting:v2.6/DirectorySite/id": id +"/dfareporting:v2.6/DirectorySite/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/DirectorySite/inpageTagFormats": inpage_tag_formats +"/dfareporting:v2.6/DirectorySite/inpageTagFormats/inpage_tag_format": inpage_tag_format +"/dfareporting:v2.6/DirectorySite/interstitialTagFormats": interstitial_tag_formats +"/dfareporting:v2.6/DirectorySite/interstitialTagFormats/interstitial_tag_format": interstitial_tag_format +"/dfareporting:v2.6/DirectorySite/kind": kind +"/dfareporting:v2.6/DirectorySite/name": name +"/dfareporting:v2.6/DirectorySite/parentId": parent_id +"/dfareporting:v2.6/DirectorySite/settings": settings +"/dfareporting:v2.6/DirectorySite/url": url +"/dfareporting:v2.6/DirectorySiteContact": directory_site_contact +"/dfareporting:v2.6/DirectorySiteContact/address": address +"/dfareporting:v2.6/DirectorySiteContact/email": email +"/dfareporting:v2.6/DirectorySiteContact/firstName": first_name +"/dfareporting:v2.6/DirectorySiteContact/id": id +"/dfareporting:v2.6/DirectorySiteContact/kind": kind +"/dfareporting:v2.6/DirectorySiteContact/lastName": last_name +"/dfareporting:v2.6/DirectorySiteContact/phone": phone +"/dfareporting:v2.6/DirectorySiteContact/role": role +"/dfareporting:v2.6/DirectorySiteContact/title": title +"/dfareporting:v2.6/DirectorySiteContact/type": type +"/dfareporting:v2.6/DirectorySiteContactAssignment": directory_site_contact_assignment +"/dfareporting:v2.6/DirectorySiteContactAssignment/contactId": contact_id +"/dfareporting:v2.6/DirectorySiteContactAssignment/visibility": visibility +"/dfareporting:v2.6/DirectorySiteContactsListResponse/directorySiteContacts": directory_site_contacts +"/dfareporting:v2.6/DirectorySiteContactsListResponse/directorySiteContacts/directory_site_contact": directory_site_contact +"/dfareporting:v2.6/DirectorySiteContactsListResponse/kind": kind +"/dfareporting:v2.6/DirectorySiteContactsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/DirectorySiteSettings": directory_site_settings +"/dfareporting:v2.6/DirectorySiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.6/DirectorySiteSettings/dfp_settings": dfp_settings +"/dfareporting:v2.6/DirectorySiteSettings/instream_video_placement_accepted": instream_video_placement_accepted +"/dfareporting:v2.6/DirectorySiteSettings/interstitialPlacementAccepted": interstitial_placement_accepted +"/dfareporting:v2.6/DirectorySiteSettings/nielsenOcrOptOut": nielsen_ocr_opt_out +"/dfareporting:v2.6/DirectorySiteSettings/verificationTagOptOut": verification_tag_opt_out +"/dfareporting:v2.6/DirectorySiteSettings/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.6/DirectorySitesListResponse/directorySites": directory_sites +"/dfareporting:v2.6/DirectorySitesListResponse/directorySites/directory_site": directory_site +"/dfareporting:v2.6/DirectorySitesListResponse/kind": kind +"/dfareporting:v2.6/DirectorySitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/DynamicTargetingKey": dynamic_targeting_key +"/dfareporting:v2.6/DynamicTargetingKey/kind": kind +"/dfareporting:v2.6/DynamicTargetingKey/name": name +"/dfareporting:v2.6/DynamicTargetingKey/objectId": object_id_prop +"/dfareporting:v2.6/DynamicTargetingKey/objectType": object_type +"/dfareporting:v2.6/DynamicTargetingKeysListResponse": dynamic_targeting_keys_list_response +"/dfareporting:v2.6/DynamicTargetingKeysListResponse/dynamicTargetingKeys": dynamic_targeting_keys +"/dfareporting:v2.6/DynamicTargetingKeysListResponse/dynamicTargetingKeys/dynamic_targeting_key": dynamic_targeting_key +"/dfareporting:v2.6/DynamicTargetingKeysListResponse/kind": kind +"/dfareporting:v2.6/EncryptionInfo": encryption_info +"/dfareporting:v2.6/EncryptionInfo/encryptionEntityId": encryption_entity_id +"/dfareporting:v2.6/EncryptionInfo/encryptionEntityType": encryption_entity_type +"/dfareporting:v2.6/EncryptionInfo/encryptionSource": encryption_source +"/dfareporting:v2.6/EncryptionInfo/kind": kind +"/dfareporting:v2.6/EventTag": event_tag +"/dfareporting:v2.6/EventTag/accountId": account_id +"/dfareporting:v2.6/EventTag/advertiserId": advertiser_id +"/dfareporting:v2.6/EventTag/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/EventTag/campaignId": campaign_id +"/dfareporting:v2.6/EventTag/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.6/EventTag/enabledByDefault": enabled_by_default +"/dfareporting:v2.6/EventTag/excludeFromAdxRequests": exclude_from_adx_requests +"/dfareporting:v2.6/EventTag/id": id +"/dfareporting:v2.6/EventTag/kind": kind +"/dfareporting:v2.6/EventTag/name": name +"/dfareporting:v2.6/EventTag/siteFilterType": site_filter_type +"/dfareporting:v2.6/EventTag/siteIds": site_ids +"/dfareporting:v2.6/EventTag/siteIds/site_id": site_id +"/dfareporting:v2.6/EventTag/sslCompliant": ssl_compliant +"/dfareporting:v2.6/EventTag/status": status +"/dfareporting:v2.6/EventTag/subaccountId": subaccount_id +"/dfareporting:v2.6/EventTag/type": type +"/dfareporting:v2.6/EventTag/url": url +"/dfareporting:v2.6/EventTag/urlEscapeLevels": url_escape_levels +"/dfareporting:v2.6/EventTagOverride": event_tag_override +"/dfareporting:v2.6/EventTagOverride/enabled": enabled +"/dfareporting:v2.6/EventTagOverride/id": id +"/dfareporting:v2.6/EventTagsListResponse/eventTags": event_tags +"/dfareporting:v2.6/EventTagsListResponse/eventTags/event_tag": event_tag +"/dfareporting:v2.6/EventTagsListResponse/kind": kind +"/dfareporting:v2.6/File": file +"/dfareporting:v2.6/File/dateRange": date_range +"/dfareporting:v2.6/File/etag": etag +"/dfareporting:v2.6/File/fileName": file_name +"/dfareporting:v2.6/File/format": format +"/dfareporting:v2.6/File/id": id +"/dfareporting:v2.6/File/kind": kind +"/dfareporting:v2.6/File/lastModifiedTime": last_modified_time +"/dfareporting:v2.6/File/reportId": report_id +"/dfareporting:v2.6/File/status": status +"/dfareporting:v2.6/File/urls": urls +"/dfareporting:v2.6/File/urls/apiUrl": api_url +"/dfareporting:v2.6/File/urls/browserUrl": browser_url +"/dfareporting:v2.6/FileList": file_list +"/dfareporting:v2.6/FileList/etag": etag +"/dfareporting:v2.6/FileList/items": items +"/dfareporting:v2.6/FileList/items/item": item +"/dfareporting:v2.6/FileList/kind": kind +"/dfareporting:v2.6/FileList/nextPageToken": next_page_token +"/dfareporting:v2.6/Flight": flight +"/dfareporting:v2.6/Flight/endDate": end_date +"/dfareporting:v2.6/Flight/rateOrCost": rate_or_cost +"/dfareporting:v2.6/Flight/startDate": start_date +"/dfareporting:v2.6/Flight/units": units +"/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse/floodlightActivityTag": floodlight_activity_tag +"/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse/kind": kind +"/dfareporting:v2.6/FloodlightActivitiesListResponse/floodlightActivities": floodlight_activities +"/dfareporting:v2.6/FloodlightActivitiesListResponse/floodlightActivities/floodlight_activity": floodlight_activity +"/dfareporting:v2.6/FloodlightActivitiesListResponse/kind": kind +"/dfareporting:v2.6/FloodlightActivitiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/FloodlightActivity": floodlight_activity +"/dfareporting:v2.6/FloodlightActivity/accountId": account_id +"/dfareporting:v2.6/FloodlightActivity/advertiserId": advertiser_id +"/dfareporting:v2.6/FloodlightActivity/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/FloodlightActivity/cacheBustingType": cache_busting_type +"/dfareporting:v2.6/FloodlightActivity/countingMethod": counting_method +"/dfareporting:v2.6/FloodlightActivity/defaultTags": default_tags +"/dfareporting:v2.6/FloodlightActivity/defaultTags/default_tag": default_tag +"/dfareporting:v2.6/FloodlightActivity/expectedUrl": expected_url +"/dfareporting:v2.6/FloodlightActivity/floodlightActivityGroupId": floodlight_activity_group_id +"/dfareporting:v2.6/FloodlightActivity/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.6/FloodlightActivity/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.6/FloodlightActivity/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.6/FloodlightActivity/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/FloodlightActivity/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.6/FloodlightActivity/hidden": hidden +"/dfareporting:v2.6/FloodlightActivity/id": id +"/dfareporting:v2.6/FloodlightActivity/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/FloodlightActivity/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.6/FloodlightActivity/kind": kind +"/dfareporting:v2.6/FloodlightActivity/name": name +"/dfareporting:v2.6/FloodlightActivity/notes": notes +"/dfareporting:v2.6/FloodlightActivity/publisherTags": publisher_tags +"/dfareporting:v2.6/FloodlightActivity/publisherTags/publisher_tag": publisher_tag +"/dfareporting:v2.6/FloodlightActivity/secure": secure +"/dfareporting:v2.6/FloodlightActivity/sslCompliant": ssl_compliant +"/dfareporting:v2.6/FloodlightActivity/sslRequired": ssl_required +"/dfareporting:v2.6/FloodlightActivity/subaccountId": subaccount_id +"/dfareporting:v2.6/FloodlightActivity/tagFormat": tag_format +"/dfareporting:v2.6/FloodlightActivity/tagString": tag_string +"/dfareporting:v2.6/FloodlightActivity/userDefinedVariableTypes": user_defined_variable_types +"/dfareporting:v2.6/FloodlightActivity/userDefinedVariableTypes/user_defined_variable_type": user_defined_variable_type +"/dfareporting:v2.6/FloodlightActivityDynamicTag": floodlight_activity_dynamic_tag +"/dfareporting:v2.6/FloodlightActivityDynamicTag/id": id +"/dfareporting:v2.6/FloodlightActivityDynamicTag/name": name +"/dfareporting:v2.6/FloodlightActivityDynamicTag/tag": tag +"/dfareporting:v2.6/FloodlightActivityGroup": floodlight_activity_group +"/dfareporting:v2.6/FloodlightActivityGroup/accountId": account_id +"/dfareporting:v2.6/FloodlightActivityGroup/advertiserId": advertiser_id +"/dfareporting:v2.6/FloodlightActivityGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/FloodlightActivityGroup/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.6/FloodlightActivityGroup/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.6/FloodlightActivityGroup/id": id +"/dfareporting:v2.6/FloodlightActivityGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/FloodlightActivityGroup/kind": kind +"/dfareporting:v2.6/FloodlightActivityGroup/name": name +"/dfareporting:v2.6/FloodlightActivityGroup/subaccountId": subaccount_id +"/dfareporting:v2.6/FloodlightActivityGroup/tagString": tag_string +"/dfareporting:v2.6/FloodlightActivityGroup/type": type +"/dfareporting:v2.6/FloodlightActivityGroupsListResponse/floodlightActivityGroups": floodlight_activity_groups +"/dfareporting:v2.6/FloodlightActivityGroupsListResponse/floodlightActivityGroups/floodlight_activity_group": floodlight_activity_group +"/dfareporting:v2.6/FloodlightActivityGroupsListResponse/kind": kind +"/dfareporting:v2.6/FloodlightActivityGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag": floodlight_activity_publisher_dynamic_tag +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/clickThrough": click_through +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/directorySiteId": directory_site_id +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/dynamicTag": dynamic_tag +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/siteId": site_id +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.6/FloodlightActivityPublisherDynamicTag/viewThrough": view_through +"/dfareporting:v2.6/FloodlightConfiguration": floodlight_configuration +"/dfareporting:v2.6/FloodlightConfiguration/accountId": account_id +"/dfareporting:v2.6/FloodlightConfiguration/advertiserId": advertiser_id +"/dfareporting:v2.6/FloodlightConfiguration/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/FloodlightConfiguration/analyticsDataSharingEnabled": analytics_data_sharing_enabled +"/dfareporting:v2.6/FloodlightConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.6/FloodlightConfiguration/firstDayOfWeek": first_day_of_week +"/dfareporting:v2.6/FloodlightConfiguration/id": id +"/dfareporting:v2.6/FloodlightConfiguration/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/FloodlightConfiguration/inAppAttributionTrackingEnabled": in_app_attribution_tracking_enabled +"/dfareporting:v2.6/FloodlightConfiguration/kind": kind +"/dfareporting:v2.6/FloodlightConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/FloodlightConfiguration/naturalSearchConversionAttributionOption": natural_search_conversion_attribution_option +"/dfareporting:v2.6/FloodlightConfiguration/omnitureSettings": omniture_settings +"/dfareporting:v2.6/FloodlightConfiguration/standardVariableTypes": standard_variable_types +"/dfareporting:v2.6/FloodlightConfiguration/standardVariableTypes/standard_variable_type": standard_variable_type +"/dfareporting:v2.6/FloodlightConfiguration/subaccountId": subaccount_id +"/dfareporting:v2.6/FloodlightConfiguration/tagSettings": tag_settings +"/dfareporting:v2.6/FloodlightConfiguration/thirdPartyAuthenticationTokens": third_party_authentication_tokens +"/dfareporting:v2.6/FloodlightConfiguration/thirdPartyAuthenticationTokens/third_party_authentication_token": third_party_authentication_token +"/dfareporting:v2.6/FloodlightConfiguration/userDefinedVariableConfigurations": user_defined_variable_configurations +"/dfareporting:v2.6/FloodlightConfiguration/userDefinedVariableConfigurations/user_defined_variable_configuration": user_defined_variable_configuration +"/dfareporting:v2.6/FloodlightConfigurationsListResponse/floodlightConfigurations": floodlight_configurations +"/dfareporting:v2.6/FloodlightConfigurationsListResponse/floodlightConfigurations/floodlight_configuration": floodlight_configuration +"/dfareporting:v2.6/FloodlightConfigurationsListResponse/kind": kind +"/dfareporting:v2.6/FloodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.6/FloodlightReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.6/FloodlightReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/FloodlightReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.6/FloodlightReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.6/FloodlightReportCompatibleFields/kind": kind +"/dfareporting:v2.6/FloodlightReportCompatibleFields/metrics": metrics +"/dfareporting:v2.6/FloodlightReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.6/FrequencyCap": frequency_cap +"/dfareporting:v2.6/FrequencyCap/duration": duration +"/dfareporting:v2.6/FrequencyCap/impressions": impressions +"/dfareporting:v2.6/FsCommand": fs_command +"/dfareporting:v2.6/FsCommand/left": left +"/dfareporting:v2.6/FsCommand/positionOption": position_option +"/dfareporting:v2.6/FsCommand/top": top +"/dfareporting:v2.6/FsCommand/windowHeight": window_height +"/dfareporting:v2.6/FsCommand/windowWidth": window_width +"/dfareporting:v2.6/GeoTargeting": geo_targeting +"/dfareporting:v2.6/GeoTargeting/cities": cities +"/dfareporting:v2.6/GeoTargeting/cities/city": city +"/dfareporting:v2.6/GeoTargeting/countries": countries +"/dfareporting:v2.6/GeoTargeting/countries/country": country +"/dfareporting:v2.6/GeoTargeting/excludeCountries": exclude_countries +"/dfareporting:v2.6/GeoTargeting/metros": metros +"/dfareporting:v2.6/GeoTargeting/metros/metro": metro +"/dfareporting:v2.6/GeoTargeting/postalCodes": postal_codes +"/dfareporting:v2.6/GeoTargeting/postalCodes/postal_code": postal_code +"/dfareporting:v2.6/GeoTargeting/regions": regions +"/dfareporting:v2.6/GeoTargeting/regions/region": region +"/dfareporting:v2.6/InventoryItem": inventory_item +"/dfareporting:v2.6/InventoryItem/accountId": account_id +"/dfareporting:v2.6/InventoryItem/adSlots": ad_slots +"/dfareporting:v2.6/InventoryItem/adSlots/ad_slot": ad_slot +"/dfareporting:v2.6/InventoryItem/advertiserId": advertiser_id +"/dfareporting:v2.6/InventoryItem/contentCategoryId": content_category_id +"/dfareporting:v2.6/InventoryItem/estimatedClickThroughRate": estimated_click_through_rate +"/dfareporting:v2.6/InventoryItem/estimatedConversionRate": estimated_conversion_rate +"/dfareporting:v2.6/InventoryItem/id": id +"/dfareporting:v2.6/InventoryItem/inPlan": in_plan +"/dfareporting:v2.6/InventoryItem/kind": kind +"/dfareporting:v2.6/InventoryItem/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/InventoryItem/name": name +"/dfareporting:v2.6/InventoryItem/negotiationChannelId": negotiation_channel_id +"/dfareporting:v2.6/InventoryItem/orderId": order_id +"/dfareporting:v2.6/InventoryItem/placementStrategyId": placement_strategy_id +"/dfareporting:v2.6/InventoryItem/pricing": pricing +"/dfareporting:v2.6/InventoryItem/projectId": project_id +"/dfareporting:v2.6/InventoryItem/rfpId": rfp_id +"/dfareporting:v2.6/InventoryItem/siteId": site_id +"/dfareporting:v2.6/InventoryItem/subaccountId": subaccount_id +"/dfareporting:v2.6/InventoryItem/type": type +"/dfareporting:v2.6/InventoryItemsListResponse/inventoryItems": inventory_items +"/dfareporting:v2.6/InventoryItemsListResponse/inventoryItems/inventory_item": inventory_item +"/dfareporting:v2.6/InventoryItemsListResponse/kind": kind +"/dfareporting:v2.6/InventoryItemsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/KeyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.6/KeyValueTargetingExpression/expression": expression +"/dfareporting:v2.6/LandingPage": landing_page +"/dfareporting:v2.6/LandingPage/default": default +"/dfareporting:v2.6/LandingPage/id": id +"/dfareporting:v2.6/LandingPage/kind": kind +"/dfareporting:v2.6/LandingPage/name": name +"/dfareporting:v2.6/LandingPage/url": url +"/dfareporting:v2.6/LandingPagesListResponse/kind": kind +"/dfareporting:v2.6/LandingPagesListResponse/landingPages": landing_pages +"/dfareporting:v2.6/LandingPagesListResponse/landingPages/landing_page": landing_page +"/dfareporting:v2.6/Language": language +"/dfareporting:v2.6/Language/id": id +"/dfareporting:v2.6/Language/kind": kind +"/dfareporting:v2.6/Language/languageCode": language_code +"/dfareporting:v2.6/Language/name": name +"/dfareporting:v2.6/LanguageTargeting": language_targeting +"/dfareporting:v2.6/LanguageTargeting/languages": languages +"/dfareporting:v2.6/LanguageTargeting/languages/language": language +"/dfareporting:v2.6/LanguagesListResponse": languages_list_response +"/dfareporting:v2.6/LanguagesListResponse/kind": kind +"/dfareporting:v2.6/LanguagesListResponse/languages": languages +"/dfareporting:v2.6/LanguagesListResponse/languages/language": language +"/dfareporting:v2.6/LastModifiedInfo": last_modified_info +"/dfareporting:v2.6/LastModifiedInfo/time": time +"/dfareporting:v2.6/ListPopulationClause": list_population_clause +"/dfareporting:v2.6/ListPopulationClause/terms": terms +"/dfareporting:v2.6/ListPopulationClause/terms/term": term +"/dfareporting:v2.6/ListPopulationRule": list_population_rule +"/dfareporting:v2.6/ListPopulationRule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/ListPopulationRule/floodlightActivityName": floodlight_activity_name +"/dfareporting:v2.6/ListPopulationRule/listPopulationClauses": list_population_clauses +"/dfareporting:v2.6/ListPopulationRule/listPopulationClauses/list_population_clause": list_population_clause +"/dfareporting:v2.6/ListPopulationTerm": list_population_term +"/dfareporting:v2.6/ListPopulationTerm/contains": contains +"/dfareporting:v2.6/ListPopulationTerm/negation": negation +"/dfareporting:v2.6/ListPopulationTerm/operator": operator +"/dfareporting:v2.6/ListPopulationTerm/remarketingListId": remarketing_list_id +"/dfareporting:v2.6/ListPopulationTerm/type": type +"/dfareporting:v2.6/ListPopulationTerm/value": value +"/dfareporting:v2.6/ListPopulationTerm/variableFriendlyName": variable_friendly_name +"/dfareporting:v2.6/ListPopulationTerm/variableName": variable_name +"/dfareporting:v2.6/ListTargetingExpression": list_targeting_expression +"/dfareporting:v2.6/ListTargetingExpression/expression": expression +"/dfareporting:v2.6/LookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/LookbackConfiguration/clickDuration": click_duration +"/dfareporting:v2.6/LookbackConfiguration/postImpressionActivitiesDuration": post_impression_activities_duration +"/dfareporting:v2.6/Metric": metric +"/dfareporting:v2.6/Metric/kind": kind +"/dfareporting:v2.6/Metric/name": name +"/dfareporting:v2.6/Metro": metro +"/dfareporting:v2.6/Metro/countryCode": country_code +"/dfareporting:v2.6/Metro/countryDartId": country_dart_id +"/dfareporting:v2.6/Metro/dartId": dart_id +"/dfareporting:v2.6/Metro/dmaId": dma_id +"/dfareporting:v2.6/Metro/kind": kind +"/dfareporting:v2.6/Metro/metroCode": metro_code +"/dfareporting:v2.6/Metro/name": name +"/dfareporting:v2.6/MetrosListResponse/kind": kind +"/dfareporting:v2.6/MetrosListResponse/metros": metros +"/dfareporting:v2.6/MetrosListResponse/metros/metro": metro +"/dfareporting:v2.6/MobileCarrier": mobile_carrier +"/dfareporting:v2.6/MobileCarrier/countryCode": country_code +"/dfareporting:v2.6/MobileCarrier/countryDartId": country_dart_id +"/dfareporting:v2.6/MobileCarrier/id": id +"/dfareporting:v2.6/MobileCarrier/kind": kind +"/dfareporting:v2.6/MobileCarrier/name": name +"/dfareporting:v2.6/MobileCarriersListResponse/kind": kind +"/dfareporting:v2.6/MobileCarriersListResponse/mobileCarriers": mobile_carriers +"/dfareporting:v2.6/MobileCarriersListResponse/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.6/ObjectFilter": object_filter +"/dfareporting:v2.6/ObjectFilter/kind": kind +"/dfareporting:v2.6/ObjectFilter/objectIds": object_ids +"/dfareporting:v2.6/ObjectFilter/status": status +"/dfareporting:v2.6/OffsetPosition": offset_position +"/dfareporting:v2.6/OffsetPosition/left": left +"/dfareporting:v2.6/OffsetPosition/top": top +"/dfareporting:v2.6/OmnitureSettings": omniture_settings +"/dfareporting:v2.6/OmnitureSettings/omnitureCostDataEnabled": omniture_cost_data_enabled +"/dfareporting:v2.6/OmnitureSettings/omnitureIntegrationEnabled": omniture_integration_enabled +"/dfareporting:v2.6/OperatingSystem": operating_system +"/dfareporting:v2.6/OperatingSystem/dartId": dart_id +"/dfareporting:v2.6/OperatingSystem/desktop": desktop +"/dfareporting:v2.6/OperatingSystem/kind": kind +"/dfareporting:v2.6/OperatingSystem/mobile": mobile +"/dfareporting:v2.6/OperatingSystem/name": name +"/dfareporting:v2.6/OperatingSystemVersion": operating_system_version +"/dfareporting:v2.6/OperatingSystemVersion/id": id +"/dfareporting:v2.6/OperatingSystemVersion/kind": kind +"/dfareporting:v2.6/OperatingSystemVersion/majorVersion": major_version +"/dfareporting:v2.6/OperatingSystemVersion/minorVersion": minor_version +"/dfareporting:v2.6/OperatingSystemVersion/name": name +"/dfareporting:v2.6/OperatingSystemVersion/operatingSystem": operating_system +"/dfareporting:v2.6/OperatingSystemVersionsListResponse/kind": kind +"/dfareporting:v2.6/OperatingSystemVersionsListResponse/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.6/OperatingSystemVersionsListResponse/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.6/OperatingSystemsListResponse/kind": kind +"/dfareporting:v2.6/OperatingSystemsListResponse/operatingSystems": operating_systems +"/dfareporting:v2.6/OperatingSystemsListResponse/operatingSystems/operating_system": operating_system +"/dfareporting:v2.6/OptimizationActivity": optimization_activity +"/dfareporting:v2.6/OptimizationActivity/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/OptimizationActivity/floodlightActivityIdDimensionValue": floodlight_activity_id_dimension_value +"/dfareporting:v2.6/OptimizationActivity/weight": weight +"/dfareporting:v2.6/Order": order +"/dfareporting:v2.6/Order/accountId": account_id +"/dfareporting:v2.6/Order/advertiserId": advertiser_id +"/dfareporting:v2.6/Order/approverUserProfileIds": approver_user_profile_ids +"/dfareporting:v2.6/Order/approverUserProfileIds/approver_user_profile_id": approver_user_profile_id +"/dfareporting:v2.6/Order/buyerInvoiceId": buyer_invoice_id +"/dfareporting:v2.6/Order/buyerOrganizationName": buyer_organization_name +"/dfareporting:v2.6/Order/comments": comments +"/dfareporting:v2.6/Order/contacts": contacts +"/dfareporting:v2.6/Order/contacts/contact": contact +"/dfareporting:v2.6/Order/id": id +"/dfareporting:v2.6/Order/kind": kind +"/dfareporting:v2.6/Order/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Order/name": name +"/dfareporting:v2.6/Order/notes": notes +"/dfareporting:v2.6/Order/planningTermId": planning_term_id +"/dfareporting:v2.6/Order/projectId": project_id +"/dfareporting:v2.6/Order/sellerOrderId": seller_order_id +"/dfareporting:v2.6/Order/sellerOrganizationName": seller_organization_name +"/dfareporting:v2.6/Order/siteId": site_id +"/dfareporting:v2.6/Order/siteId/site_id": site_id +"/dfareporting:v2.6/Order/siteNames": site_names +"/dfareporting:v2.6/Order/siteNames/site_name": site_name +"/dfareporting:v2.6/Order/subaccountId": subaccount_id +"/dfareporting:v2.6/Order/termsAndConditions": terms_and_conditions +"/dfareporting:v2.6/OrderContact": order_contact +"/dfareporting:v2.6/OrderContact/contactInfo": contact_info +"/dfareporting:v2.6/OrderContact/contactName": contact_name +"/dfareporting:v2.6/OrderContact/contactTitle": contact_title +"/dfareporting:v2.6/OrderContact/contactType": contact_type +"/dfareporting:v2.6/OrderContact/signatureUserProfileId": signature_user_profile_id +"/dfareporting:v2.6/OrderDocument": order_document +"/dfareporting:v2.6/OrderDocument/accountId": account_id +"/dfareporting:v2.6/OrderDocument/advertiserId": advertiser_id +"/dfareporting:v2.6/OrderDocument/amendedOrderDocumentId": amended_order_document_id +"/dfareporting:v2.6/OrderDocument/approvedByUserProfileIds": approved_by_user_profile_ids +"/dfareporting:v2.6/OrderDocument/approvedByUserProfileIds/approved_by_user_profile_id": approved_by_user_profile_id +"/dfareporting:v2.6/OrderDocument/cancelled": cancelled +"/dfareporting:v2.6/OrderDocument/createdInfo": created_info +"/dfareporting:v2.6/OrderDocument/effectiveDate": effective_date +"/dfareporting:v2.6/OrderDocument/id": id +"/dfareporting:v2.6/OrderDocument/kind": kind +"/dfareporting:v2.6/OrderDocument/lastSentRecipients": last_sent_recipients +"/dfareporting:v2.6/OrderDocument/lastSentRecipients/last_sent_recipient": last_sent_recipient +"/dfareporting:v2.6/OrderDocument/lastSentTime": last_sent_time +"/dfareporting:v2.6/OrderDocument/orderId": order_id +"/dfareporting:v2.6/OrderDocument/projectId": project_id +"/dfareporting:v2.6/OrderDocument/signed": signed +"/dfareporting:v2.6/OrderDocument/subaccountId": subaccount_id +"/dfareporting:v2.6/OrderDocument/title": title +"/dfareporting:v2.6/OrderDocument/type": type +"/dfareporting:v2.6/OrderDocumentsListResponse/kind": kind +"/dfareporting:v2.6/OrderDocumentsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/OrderDocumentsListResponse/orderDocuments": order_documents +"/dfareporting:v2.6/OrderDocumentsListResponse/orderDocuments/order_document": order_document +"/dfareporting:v2.6/OrdersListResponse/kind": kind +"/dfareporting:v2.6/OrdersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/OrdersListResponse/orders": orders +"/dfareporting:v2.6/OrdersListResponse/orders/order": order +"/dfareporting:v2.6/PathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/conversionDimensions": conversion_dimensions +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/kind": kind +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/metrics": metrics +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.6/PathToConversionReportCompatibleFields/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.6/Placement": placement +"/dfareporting:v2.6/Placement/accountId": account_id +"/dfareporting:v2.6/Placement/advertiserId": advertiser_id +"/dfareporting:v2.6/Placement/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/Placement/archived": archived +"/dfareporting:v2.6/Placement/campaignId": campaign_id +"/dfareporting:v2.6/Placement/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.6/Placement/comment": comment +"/dfareporting:v2.6/Placement/compatibility": compatibility +"/dfareporting:v2.6/Placement/contentCategoryId": content_category_id +"/dfareporting:v2.6/Placement/createInfo": create_info +"/dfareporting:v2.6/Placement/directorySiteId": directory_site_id +"/dfareporting:v2.6/Placement/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.6/Placement/externalId": external_id +"/dfareporting:v2.6/Placement/id": id +"/dfareporting:v2.6/Placement/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Placement/keyName": key_name +"/dfareporting:v2.6/Placement/kind": kind +"/dfareporting:v2.6/Placement/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Placement/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/Placement/name": name +"/dfareporting:v2.6/Placement/paymentApproved": payment_approved +"/dfareporting:v2.6/Placement/paymentSource": payment_source +"/dfareporting:v2.6/Placement/placementGroupId": placement_group_id +"/dfareporting:v2.6/Placement/placementGroupIdDimensionValue": placement_group_id_dimension_value +"/dfareporting:v2.6/Placement/placementStrategyId": placement_strategy_id +"/dfareporting:v2.6/Placement/pricingSchedule": pricing_schedule +"/dfareporting:v2.6/Placement/primary": primary +"/dfareporting:v2.6/Placement/publisherUpdateInfo": publisher_update_info +"/dfareporting:v2.6/Placement/siteId": site_id +"/dfareporting:v2.6/Placement/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.6/Placement/size": size +"/dfareporting:v2.6/Placement/sslRequired": ssl_required +"/dfareporting:v2.6/Placement/status": status +"/dfareporting:v2.6/Placement/subaccountId": subaccount_id +"/dfareporting:v2.6/Placement/tagFormats": tag_formats +"/dfareporting:v2.6/Placement/tagFormats/tag_format": tag_format +"/dfareporting:v2.6/Placement/tagSetting": tag_setting +"/dfareporting:v2.6/PlacementAssignment": placement_assignment +"/dfareporting:v2.6/PlacementAssignment/active": active +"/dfareporting:v2.6/PlacementAssignment/placementId": placement_id +"/dfareporting:v2.6/PlacementAssignment/placementIdDimensionValue": placement_id_dimension_value +"/dfareporting:v2.6/PlacementAssignment/sslRequired": ssl_required +"/dfareporting:v2.6/PlacementGroup": placement_group +"/dfareporting:v2.6/PlacementGroup/accountId": account_id +"/dfareporting:v2.6/PlacementGroup/advertiserId": advertiser_id +"/dfareporting:v2.6/PlacementGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/PlacementGroup/archived": archived +"/dfareporting:v2.6/PlacementGroup/campaignId": campaign_id +"/dfareporting:v2.6/PlacementGroup/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.6/PlacementGroup/childPlacementIds": child_placement_ids +"/dfareporting:v2.6/PlacementGroup/childPlacementIds/child_placement_id": child_placement_id +"/dfareporting:v2.6/PlacementGroup/comment": comment +"/dfareporting:v2.6/PlacementGroup/contentCategoryId": content_category_id +"/dfareporting:v2.6/PlacementGroup/createInfo": create_info +"/dfareporting:v2.6/PlacementGroup/directorySiteId": directory_site_id +"/dfareporting:v2.6/PlacementGroup/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.6/PlacementGroup/externalId": external_id +"/dfareporting:v2.6/PlacementGroup/id": id +"/dfareporting:v2.6/PlacementGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/PlacementGroup/kind": kind +"/dfareporting:v2.6/PlacementGroup/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/PlacementGroup/name": name +"/dfareporting:v2.6/PlacementGroup/placementGroupType": placement_group_type +"/dfareporting:v2.6/PlacementGroup/placementStrategyId": placement_strategy_id +"/dfareporting:v2.6/PlacementGroup/pricingSchedule": pricing_schedule +"/dfareporting:v2.6/PlacementGroup/primaryPlacementId": primary_placement_id +"/dfareporting:v2.6/PlacementGroup/primaryPlacementIdDimensionValue": primary_placement_id_dimension_value +"/dfareporting:v2.6/PlacementGroup/siteId": site_id +"/dfareporting:v2.6/PlacementGroup/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.6/PlacementGroup/subaccountId": subaccount_id +"/dfareporting:v2.6/PlacementGroupsListResponse/kind": kind +"/dfareporting:v2.6/PlacementGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/PlacementGroupsListResponse/placementGroups": placement_groups +"/dfareporting:v2.6/PlacementGroupsListResponse/placementGroups/placement_group": placement_group +"/dfareporting:v2.6/PlacementStrategiesListResponse/kind": kind +"/dfareporting:v2.6/PlacementStrategiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/PlacementStrategiesListResponse/placementStrategies": placement_strategies +"/dfareporting:v2.6/PlacementStrategiesListResponse/placementStrategies/placement_strategy": placement_strategy +"/dfareporting:v2.6/PlacementStrategy": placement_strategy +"/dfareporting:v2.6/PlacementStrategy/accountId": account_id +"/dfareporting:v2.6/PlacementStrategy/id": id +"/dfareporting:v2.6/PlacementStrategy/kind": kind +"/dfareporting:v2.6/PlacementStrategy/name": name +"/dfareporting:v2.6/PlacementTag": placement_tag +"/dfareporting:v2.6/PlacementTag/placementId": placement_id +"/dfareporting:v2.6/PlacementTag/tagDatas": tag_datas +"/dfareporting:v2.6/PlacementTag/tagDatas/tag_data": tag_data +"/dfareporting:v2.6/PlacementsGenerateTagsResponse/kind": kind +"/dfareporting:v2.6/PlacementsGenerateTagsResponse/placementTags": placement_tags +"/dfareporting:v2.6/PlacementsGenerateTagsResponse/placementTags/placement_tag": placement_tag +"/dfareporting:v2.6/PlacementsListResponse/kind": kind +"/dfareporting:v2.6/PlacementsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/PlacementsListResponse/placements": placements +"/dfareporting:v2.6/PlacementsListResponse/placements/placement": placement +"/dfareporting:v2.6/PlatformType": platform_type +"/dfareporting:v2.6/PlatformType/id": id +"/dfareporting:v2.6/PlatformType/kind": kind +"/dfareporting:v2.6/PlatformType/name": name +"/dfareporting:v2.6/PlatformTypesListResponse/kind": kind +"/dfareporting:v2.6/PlatformTypesListResponse/platformTypes": platform_types +"/dfareporting:v2.6/PlatformTypesListResponse/platformTypes/platform_type": platform_type +"/dfareporting:v2.6/PopupWindowProperties": popup_window_properties +"/dfareporting:v2.6/PopupWindowProperties/dimension": dimension +"/dfareporting:v2.6/PopupWindowProperties/offset": offset +"/dfareporting:v2.6/PopupWindowProperties/positionType": position_type +"/dfareporting:v2.6/PopupWindowProperties/showAddressBar": show_address_bar +"/dfareporting:v2.6/PopupWindowProperties/showMenuBar": show_menu_bar +"/dfareporting:v2.6/PopupWindowProperties/showScrollBar": show_scroll_bar +"/dfareporting:v2.6/PopupWindowProperties/showStatusBar": show_status_bar +"/dfareporting:v2.6/PopupWindowProperties/showToolBar": show_tool_bar +"/dfareporting:v2.6/PopupWindowProperties/title": title +"/dfareporting:v2.6/PostalCode": postal_code +"/dfareporting:v2.6/PostalCode/code": code +"/dfareporting:v2.6/PostalCode/countryCode": country_code +"/dfareporting:v2.6/PostalCode/countryDartId": country_dart_id +"/dfareporting:v2.6/PostalCode/id": id +"/dfareporting:v2.6/PostalCode/kind": kind +"/dfareporting:v2.6/PostalCodesListResponse/kind": kind +"/dfareporting:v2.6/PostalCodesListResponse/postalCodes": postal_codes +"/dfareporting:v2.6/PostalCodesListResponse/postalCodes/postal_code": postal_code +"/dfareporting:v2.6/Pricing": pricing +"/dfareporting:v2.6/Pricing/capCostType": cap_cost_type +"/dfareporting:v2.6/Pricing/endDate": end_date +"/dfareporting:v2.6/Pricing/flights": flights +"/dfareporting:v2.6/Pricing/flights/flight": flight +"/dfareporting:v2.6/Pricing/groupType": group_type +"/dfareporting:v2.6/Pricing/pricingType": pricing_type +"/dfareporting:v2.6/Pricing/startDate": start_date +"/dfareporting:v2.6/PricingSchedule": pricing_schedule +"/dfareporting:v2.6/PricingSchedule/capCostOption": cap_cost_option +"/dfareporting:v2.6/PricingSchedule/disregardOverdelivery": disregard_overdelivery +"/dfareporting:v2.6/PricingSchedule/endDate": end_date +"/dfareporting:v2.6/PricingSchedule/flighted": flighted +"/dfareporting:v2.6/PricingSchedule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.6/PricingSchedule/pricingPeriods": pricing_periods +"/dfareporting:v2.6/PricingSchedule/pricingPeriods/pricing_period": pricing_period +"/dfareporting:v2.6/PricingSchedule/pricingType": pricing_type +"/dfareporting:v2.6/PricingSchedule/startDate": start_date +"/dfareporting:v2.6/PricingSchedule/testingStartDate": testing_start_date +"/dfareporting:v2.6/PricingSchedulePricingPeriod": pricing_schedule_pricing_period +"/dfareporting:v2.6/PricingSchedulePricingPeriod/endDate": end_date +"/dfareporting:v2.6/PricingSchedulePricingPeriod/pricingComment": pricing_comment +"/dfareporting:v2.6/PricingSchedulePricingPeriod/rateOrCostNanos": rate_or_cost_nanos +"/dfareporting:v2.6/PricingSchedulePricingPeriod/startDate": start_date +"/dfareporting:v2.6/PricingSchedulePricingPeriod/units": units +"/dfareporting:v2.6/Project": project +"/dfareporting:v2.6/Project/accountId": account_id +"/dfareporting:v2.6/Project/advertiserId": advertiser_id +"/dfareporting:v2.6/Project/audienceAgeGroup": audience_age_group +"/dfareporting:v2.6/Project/audienceGender": audience_gender +"/dfareporting:v2.6/Project/budget": budget +"/dfareporting:v2.6/Project/clientBillingCode": client_billing_code +"/dfareporting:v2.6/Project/clientName": client_name +"/dfareporting:v2.6/Project/endDate": end_date +"/dfareporting:v2.6/Project/id": id +"/dfareporting:v2.6/Project/kind": kind +"/dfareporting:v2.6/Project/lastModifiedInfo": last_modified_info +"/dfareporting:v2.6/Project/name": name +"/dfareporting:v2.6/Project/overview": overview +"/dfareporting:v2.6/Project/startDate": start_date +"/dfareporting:v2.6/Project/subaccountId": subaccount_id +"/dfareporting:v2.6/Project/targetClicks": target_clicks +"/dfareporting:v2.6/Project/targetConversions": target_conversions +"/dfareporting:v2.6/Project/targetCpaNanos": target_cpa_nanos +"/dfareporting:v2.6/Project/targetCpcNanos": target_cpc_nanos +"/dfareporting:v2.6/Project/targetCpmActiveViewNanos": target_cpm_active_view_nanos +"/dfareporting:v2.6/Project/targetCpmNanos": target_cpm_nanos +"/dfareporting:v2.6/Project/targetImpressions": target_impressions +"/dfareporting:v2.6/ProjectsListResponse/kind": kind +"/dfareporting:v2.6/ProjectsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/ProjectsListResponse/projects": projects +"/dfareporting:v2.6/ProjectsListResponse/projects/project": project +"/dfareporting:v2.6/ReachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.6/ReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.6/ReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/ReachReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.6/ReachReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.6/ReachReportCompatibleFields/kind": kind +"/dfareporting:v2.6/ReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.6/ReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.6/ReachReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.6/ReachReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.6/ReachReportCompatibleFields/reachByFrequencyMetrics": reach_by_frequency_metrics +"/dfareporting:v2.6/ReachReportCompatibleFields/reachByFrequencyMetrics/reach_by_frequency_metric": reach_by_frequency_metric +"/dfareporting:v2.6/Recipient": recipient +"/dfareporting:v2.6/Recipient/deliveryType": delivery_type +"/dfareporting:v2.6/Recipient/email": email +"/dfareporting:v2.6/Recipient/kind": kind +"/dfareporting:v2.6/Region": region +"/dfareporting:v2.6/Region/countryCode": country_code +"/dfareporting:v2.6/Region/countryDartId": country_dart_id +"/dfareporting:v2.6/Region/dartId": dart_id +"/dfareporting:v2.6/Region/kind": kind +"/dfareporting:v2.6/Region/name": name +"/dfareporting:v2.6/Region/regionCode": region_code +"/dfareporting:v2.6/RegionsListResponse/kind": kind +"/dfareporting:v2.6/RegionsListResponse/regions": regions +"/dfareporting:v2.6/RegionsListResponse/regions/region": region +"/dfareporting:v2.6/RemarketingList": remarketing_list +"/dfareporting:v2.6/RemarketingList/accountId": account_id +"/dfareporting:v2.6/RemarketingList/active": active +"/dfareporting:v2.6/RemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.6/RemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/RemarketingList/description": description +"/dfareporting:v2.6/RemarketingList/id": id +"/dfareporting:v2.6/RemarketingList/kind": kind +"/dfareporting:v2.6/RemarketingList/lifeSpan": life_span +"/dfareporting:v2.6/RemarketingList/listPopulationRule": list_population_rule +"/dfareporting:v2.6/RemarketingList/listSize": list_size +"/dfareporting:v2.6/RemarketingList/listSource": list_source +"/dfareporting:v2.6/RemarketingList/name": name +"/dfareporting:v2.6/RemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.6/RemarketingListShare": remarketing_list_share +"/dfareporting:v2.6/RemarketingListShare/kind": kind +"/dfareporting:v2.6/RemarketingListShare/remarketingListId": remarketing_list_id +"/dfareporting:v2.6/RemarketingListShare/sharedAccountIds": shared_account_ids +"/dfareporting:v2.6/RemarketingListShare/sharedAccountIds/shared_account_id": shared_account_id +"/dfareporting:v2.6/RemarketingListShare/sharedAdvertiserIds": shared_advertiser_ids +"/dfareporting:v2.6/RemarketingListShare/sharedAdvertiserIds/shared_advertiser_id": shared_advertiser_id +"/dfareporting:v2.6/RemarketingListsListResponse/kind": kind +"/dfareporting:v2.6/RemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/RemarketingListsListResponse/remarketingLists": remarketing_lists +"/dfareporting:v2.6/RemarketingListsListResponse/remarketingLists/remarketing_list": remarketing_list +"/dfareporting:v2.6/Report": report +"/dfareporting:v2.6/Report/accountId": account_id +"/dfareporting:v2.6/Report/criteria": criteria +"/dfareporting:v2.6/Report/criteria/activities": activities +"/dfareporting:v2.6/Report/criteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.6/Report/criteria/dateRange": date_range +"/dfareporting:v2.6/Report/criteria/dimensionFilters": dimension_filters +"/dfareporting:v2.6/Report/criteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/Report/criteria/dimensions": dimensions +"/dfareporting:v2.6/Report/criteria/dimensions/dimension": dimension +"/dfareporting:v2.6/Report/criteria/metricNames": metric_names +"/dfareporting:v2.6/Report/criteria/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Report/crossDimensionReachCriteria": cross_dimension_reach_criteria +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/breakdown": breakdown +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/breakdown/breakdown": breakdown +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/dateRange": date_range +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/dimension": dimension +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/metricNames": metric_names +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/overlapMetricNames": overlap_metric_names +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/overlapMetricNames/overlap_metric_name": overlap_metric_name +"/dfareporting:v2.6/Report/crossDimensionReachCriteria/pivoted": pivoted +"/dfareporting:v2.6/Report/delivery": delivery +"/dfareporting:v2.6/Report/delivery/emailOwner": email_owner +"/dfareporting:v2.6/Report/delivery/emailOwnerDeliveryType": email_owner_delivery_type +"/dfareporting:v2.6/Report/delivery/message": message +"/dfareporting:v2.6/Report/delivery/recipients": recipients +"/dfareporting:v2.6/Report/delivery/recipients/recipient": recipient +"/dfareporting:v2.6/Report/etag": etag +"/dfareporting:v2.6/Report/fileName": file_name +"/dfareporting:v2.6/Report/floodlightCriteria": floodlight_criteria +"/dfareporting:v2.6/Report/floodlightCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.6/Report/floodlightCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.6/Report/floodlightCriteria/dateRange": date_range +"/dfareporting:v2.6/Report/floodlightCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.6/Report/floodlightCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/Report/floodlightCriteria/dimensions": dimensions +"/dfareporting:v2.6/Report/floodlightCriteria/dimensions/dimension": dimension +"/dfareporting:v2.6/Report/floodlightCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.6/Report/floodlightCriteria/metricNames": metric_names +"/dfareporting:v2.6/Report/floodlightCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Report/floodlightCriteria/reportProperties": report_properties +"/dfareporting:v2.6/Report/floodlightCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.6/Report/floodlightCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.6/Report/floodlightCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.6/Report/format": format +"/dfareporting:v2.6/Report/id": id +"/dfareporting:v2.6/Report/kind": kind +"/dfareporting:v2.6/Report/lastModifiedTime": last_modified_time +"/dfareporting:v2.6/Report/name": name +"/dfareporting:v2.6/Report/ownerProfileId": owner_profile_id +"/dfareporting:v2.6/Report/pathToConversionCriteria": path_to_conversion_criteria +"/dfareporting:v2.6/Report/pathToConversionCriteria/activityFilters": activity_filters +"/dfareporting:v2.6/Report/pathToConversionCriteria/activityFilters/activity_filter": activity_filter +"/dfareporting:v2.6/Report/pathToConversionCriteria/conversionDimensions": conversion_dimensions +"/dfareporting:v2.6/Report/pathToConversionCriteria/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.6/Report/pathToConversionCriteria/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.6/Report/pathToConversionCriteria/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.6/Report/pathToConversionCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.6/Report/pathToConversionCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.6/Report/pathToConversionCriteria/dateRange": date_range +"/dfareporting:v2.6/Report/pathToConversionCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.6/Report/pathToConversionCriteria/metricNames": metric_names +"/dfareporting:v2.6/Report/pathToConversionCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Report/pathToConversionCriteria/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.6/Report/pathToConversionCriteria/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties": report_properties +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/clicksLookbackWindow": clicks_lookback_window +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/impressionsLookbackWindow": impressions_lookback_window +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/maximumClickInteractions": maximum_click_interactions +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/maximumImpressionInteractions": maximum_impression_interactions +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/maximumInteractionGap": maximum_interaction_gap +"/dfareporting:v2.6/Report/pathToConversionCriteria/reportProperties/pivotOnInteractionPath": pivot_on_interaction_path +"/dfareporting:v2.6/Report/reachCriteria": reach_criteria +"/dfareporting:v2.6/Report/reachCriteria/activities": activities +"/dfareporting:v2.6/Report/reachCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.6/Report/reachCriteria/dateRange": date_range +"/dfareporting:v2.6/Report/reachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.6/Report/reachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/Report/reachCriteria/dimensions": dimensions +"/dfareporting:v2.6/Report/reachCriteria/dimensions/dimension": dimension +"/dfareporting:v2.6/Report/reachCriteria/enableAllDimensionCombinations": enable_all_dimension_combinations +"/dfareporting:v2.6/Report/reachCriteria/metricNames": metric_names +"/dfareporting:v2.6/Report/reachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.6/Report/reachCriteria/reachByFrequencyMetricNames": reach_by_frequency_metric_names +"/dfareporting:v2.6/Report/reachCriteria/reachByFrequencyMetricNames/reach_by_frequency_metric_name": reach_by_frequency_metric_name +"/dfareporting:v2.6/Report/schedule": schedule +"/dfareporting:v2.6/Report/schedule/active": active +"/dfareporting:v2.6/Report/schedule/every": every +"/dfareporting:v2.6/Report/schedule/expirationDate": expiration_date +"/dfareporting:v2.6/Report/schedule/repeats": repeats +"/dfareporting:v2.6/Report/schedule/repeatsOnWeekDays": repeats_on_week_days +"/dfareporting:v2.6/Report/schedule/repeatsOnWeekDays/repeats_on_week_day": repeats_on_week_day +"/dfareporting:v2.6/Report/schedule/runsOnDayOfMonth": runs_on_day_of_month +"/dfareporting:v2.6/Report/schedule/startDate": start_date +"/dfareporting:v2.6/Report/subAccountId": sub_account_id +"/dfareporting:v2.6/Report/type": type +"/dfareporting:v2.6/ReportCompatibleFields": report_compatible_fields +"/dfareporting:v2.6/ReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.6/ReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.6/ReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.6/ReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.6/ReportCompatibleFields/kind": kind +"/dfareporting:v2.6/ReportCompatibleFields/metrics": metrics +"/dfareporting:v2.6/ReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.6/ReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.6/ReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.6/ReportList": report_list +"/dfareporting:v2.6/ReportList/etag": etag +"/dfareporting:v2.6/ReportList/items": items +"/dfareporting:v2.6/ReportList/items/item": item +"/dfareporting:v2.6/ReportList/kind": kind +"/dfareporting:v2.6/ReportList/nextPageToken": next_page_token +"/dfareporting:v2.6/ReportsConfiguration": reports_configuration +"/dfareporting:v2.6/ReportsConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.6/ReportsConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/ReportsConfiguration/reportGenerationTimeZoneId": report_generation_time_zone_id +"/dfareporting:v2.6/RichMediaExitOverride": rich_media_exit_override +"/dfareporting:v2.6/RichMediaExitOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.6/RichMediaExitOverride/enabled": enabled +"/dfareporting:v2.6/RichMediaExitOverride/exitId": exit_id +"/dfareporting:v2.6/Rule": rule +"/dfareporting:v2.6/Rule/assetId": asset_id +"/dfareporting:v2.6/Rule/name": name +"/dfareporting:v2.6/Rule/targetingTemplateId": targeting_template_id +"/dfareporting:v2.6/Site": site +"/dfareporting:v2.6/Site/accountId": account_id +"/dfareporting:v2.6/Site/approved": approved +"/dfareporting:v2.6/Site/directorySiteId": directory_site_id +"/dfareporting:v2.6/Site/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.6/Site/id": id +"/dfareporting:v2.6/Site/idDimensionValue": id_dimension_value +"/dfareporting:v2.6/Site/keyName": key_name +"/dfareporting:v2.6/Site/kind": kind +"/dfareporting:v2.6/Site/name": name +"/dfareporting:v2.6/Site/siteContacts": site_contacts +"/dfareporting:v2.6/Site/siteContacts/site_contact": site_contact +"/dfareporting:v2.6/Site/siteSettings": site_settings +"/dfareporting:v2.6/Site/subaccountId": subaccount_id +"/dfareporting:v2.6/SiteContact": site_contact +"/dfareporting:v2.6/SiteContact/address": address +"/dfareporting:v2.6/SiteContact/contactType": contact_type +"/dfareporting:v2.6/SiteContact/email": email +"/dfareporting:v2.6/SiteContact/firstName": first_name +"/dfareporting:v2.6/SiteContact/id": id +"/dfareporting:v2.6/SiteContact/lastName": last_name +"/dfareporting:v2.6/SiteContact/phone": phone +"/dfareporting:v2.6/SiteContact/title": title +"/dfareporting:v2.6/SiteSettings": site_settings +"/dfareporting:v2.6/SiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.6/SiteSettings/creativeSettings": creative_settings +"/dfareporting:v2.6/SiteSettings/disableBrandSafeAds": disable_brand_safe_ads +"/dfareporting:v2.6/SiteSettings/disableNewCookie": disable_new_cookie +"/dfareporting:v2.6/SiteSettings/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.6/SiteSettings/tagSetting": tag_setting +"/dfareporting:v2.6/SiteSettings/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.6/SitesListResponse/kind": kind +"/dfareporting:v2.6/SitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/SitesListResponse/sites": sites +"/dfareporting:v2.6/SitesListResponse/sites/site": site +"/dfareporting:v2.6/Size": size +"/dfareporting:v2.6/Size/height": height +"/dfareporting:v2.6/Size/iab": iab +"/dfareporting:v2.6/Size/id": id +"/dfareporting:v2.6/Size/kind": kind +"/dfareporting:v2.6/Size/width": width +"/dfareporting:v2.6/SizesListResponse/kind": kind +"/dfareporting:v2.6/SizesListResponse/sizes": sizes +"/dfareporting:v2.6/SizesListResponse/sizes/size": size +"/dfareporting:v2.6/SortedDimension": sorted_dimension +"/dfareporting:v2.6/SortedDimension/kind": kind +"/dfareporting:v2.6/SortedDimension/name": name +"/dfareporting:v2.6/SortedDimension/sortOrder": sort_order +"/dfareporting:v2.6/Subaccount": subaccount +"/dfareporting:v2.6/Subaccount/accountId": account_id +"/dfareporting:v2.6/Subaccount/availablePermissionIds": available_permission_ids +"/dfareporting:v2.6/Subaccount/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.6/Subaccount/id": id +"/dfareporting:v2.6/Subaccount/kind": kind +"/dfareporting:v2.6/Subaccount/name": name +"/dfareporting:v2.6/SubaccountsListResponse/kind": kind +"/dfareporting:v2.6/SubaccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/SubaccountsListResponse/subaccounts": subaccounts +"/dfareporting:v2.6/SubaccountsListResponse/subaccounts/subaccount": subaccount +"/dfareporting:v2.6/TagData": tag_data +"/dfareporting:v2.6/TagData/adId": ad_id +"/dfareporting:v2.6/TagData/clickTag": click_tag +"/dfareporting:v2.6/TagData/creativeId": creative_id +"/dfareporting:v2.6/TagData/format": format +"/dfareporting:v2.6/TagData/impressionTag": impression_tag +"/dfareporting:v2.6/TagSetting": tag_setting +"/dfareporting:v2.6/TagSetting/additionalKeyValues": additional_key_values +"/dfareporting:v2.6/TagSetting/includeClickThroughUrls": include_click_through_urls +"/dfareporting:v2.6/TagSetting/includeClickTracking": include_click_tracking +"/dfareporting:v2.6/TagSetting/keywordOption": keyword_option +"/dfareporting:v2.6/TagSettings": tag_settings +"/dfareporting:v2.6/TagSettings/dynamicTagEnabled": dynamic_tag_enabled +"/dfareporting:v2.6/TagSettings/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.6/TargetWindow": target_window +"/dfareporting:v2.6/TargetWindow/customHtml": custom_html +"/dfareporting:v2.6/TargetWindow/targetWindowOption": target_window_option +"/dfareporting:v2.6/TargetableRemarketingList": targetable_remarketing_list +"/dfareporting:v2.6/TargetableRemarketingList/accountId": account_id +"/dfareporting:v2.6/TargetableRemarketingList/active": active +"/dfareporting:v2.6/TargetableRemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.6/TargetableRemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/TargetableRemarketingList/description": description +"/dfareporting:v2.6/TargetableRemarketingList/id": id +"/dfareporting:v2.6/TargetableRemarketingList/kind": kind +"/dfareporting:v2.6/TargetableRemarketingList/lifeSpan": life_span +"/dfareporting:v2.6/TargetableRemarketingList/listSize": list_size +"/dfareporting:v2.6/TargetableRemarketingList/listSource": list_source +"/dfareporting:v2.6/TargetableRemarketingList/name": name +"/dfareporting:v2.6/TargetableRemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.6/TargetableRemarketingListsListResponse/kind": kind +"/dfareporting:v2.6/TargetableRemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/TargetableRemarketingListsListResponse/targetableRemarketingLists": targetable_remarketing_lists +"/dfareporting:v2.6/TargetableRemarketingListsListResponse/targetableRemarketingLists/targetable_remarketing_list": targetable_remarketing_list +"/dfareporting:v2.6/TargetingTemplate": targeting_template +"/dfareporting:v2.6/TargetingTemplate/accountId": account_id +"/dfareporting:v2.6/TargetingTemplate/advertiserId": advertiser_id +"/dfareporting:v2.6/TargetingTemplate/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.6/TargetingTemplate/dayPartTargeting": day_part_targeting +"/dfareporting:v2.6/TargetingTemplate/geoTargeting": geo_targeting +"/dfareporting:v2.6/TargetingTemplate/id": id +"/dfareporting:v2.6/TargetingTemplate/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.6/TargetingTemplate/kind": kind +"/dfareporting:v2.6/TargetingTemplate/languageTargeting": language_targeting +"/dfareporting:v2.6/TargetingTemplate/listTargetingExpression": list_targeting_expression +"/dfareporting:v2.6/TargetingTemplate/name": name +"/dfareporting:v2.6/TargetingTemplate/subaccountId": subaccount_id +"/dfareporting:v2.6/TargetingTemplate/technologyTargeting": technology_targeting +"/dfareporting:v2.6/TargetingTemplatesListResponse": targeting_templates_list_response +"/dfareporting:v2.6/TargetingTemplatesListResponse/kind": kind +"/dfareporting:v2.6/TargetingTemplatesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/TargetingTemplatesListResponse/targetingTemplates": targeting_templates +"/dfareporting:v2.6/TargetingTemplatesListResponse/targetingTemplates/targeting_template": targeting_template +"/dfareporting:v2.6/TechnologyTargeting": technology_targeting +"/dfareporting:v2.6/TechnologyTargeting/browsers": browsers +"/dfareporting:v2.6/TechnologyTargeting/browsers/browser": browser +"/dfareporting:v2.6/TechnologyTargeting/connectionTypes": connection_types +"/dfareporting:v2.6/TechnologyTargeting/connectionTypes/connection_type": connection_type +"/dfareporting:v2.6/TechnologyTargeting/mobileCarriers": mobile_carriers +"/dfareporting:v2.6/TechnologyTargeting/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.6/TechnologyTargeting/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.6/TechnologyTargeting/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.6/TechnologyTargeting/operatingSystems": operating_systems +"/dfareporting:v2.6/TechnologyTargeting/operatingSystems/operating_system": operating_system +"/dfareporting:v2.6/TechnologyTargeting/platformTypes": platform_types +"/dfareporting:v2.6/TechnologyTargeting/platformTypes/platform_type": platform_type +"/dfareporting:v2.6/ThirdPartyAuthenticationToken": third_party_authentication_token +"/dfareporting:v2.6/ThirdPartyAuthenticationToken/name": name +"/dfareporting:v2.6/ThirdPartyAuthenticationToken/value": value +"/dfareporting:v2.6/ThirdPartyTrackingUrl": third_party_tracking_url +"/dfareporting:v2.6/ThirdPartyTrackingUrl/thirdPartyUrlType": third_party_url_type +"/dfareporting:v2.6/ThirdPartyTrackingUrl/url": url +"/dfareporting:v2.6/UserDefinedVariableConfiguration": user_defined_variable_configuration +"/dfareporting:v2.6/UserDefinedVariableConfiguration/dataType": data_type +"/dfareporting:v2.6/UserDefinedVariableConfiguration/reportName": report_name +"/dfareporting:v2.6/UserDefinedVariableConfiguration/variableType": variable_type +"/dfareporting:v2.6/UserProfile": user_profile +"/dfareporting:v2.6/UserProfile/accountId": account_id +"/dfareporting:v2.6/UserProfile/accountName": account_name +"/dfareporting:v2.6/UserProfile/etag": etag +"/dfareporting:v2.6/UserProfile/kind": kind +"/dfareporting:v2.6/UserProfile/profileId": profile_id +"/dfareporting:v2.6/UserProfile/subAccountId": sub_account_id +"/dfareporting:v2.6/UserProfile/subAccountName": sub_account_name +"/dfareporting:v2.6/UserProfile/userName": user_name +"/dfareporting:v2.6/UserProfileList": user_profile_list +"/dfareporting:v2.6/UserProfileList/etag": etag +"/dfareporting:v2.6/UserProfileList/items": items +"/dfareporting:v2.6/UserProfileList/items/item": item +"/dfareporting:v2.6/UserProfileList/kind": kind +"/dfareporting:v2.6/UserRole": user_role +"/dfareporting:v2.6/UserRole/accountId": account_id +"/dfareporting:v2.6/UserRole/defaultUserRole": default_user_role +"/dfareporting:v2.6/UserRole/id": id +"/dfareporting:v2.6/UserRole/kind": kind +"/dfareporting:v2.6/UserRole/name": name +"/dfareporting:v2.6/UserRole/parentUserRoleId": parent_user_role_id +"/dfareporting:v2.6/UserRole/permissions": permissions +"/dfareporting:v2.6/UserRole/permissions/permission": permission +"/dfareporting:v2.6/UserRole/subaccountId": subaccount_id +"/dfareporting:v2.6/UserRolePermission": user_role_permission +"/dfareporting:v2.6/UserRolePermission/availability": availability +"/dfareporting:v2.6/UserRolePermission/id": id +"/dfareporting:v2.6/UserRolePermission/kind": kind +"/dfareporting:v2.6/UserRolePermission/name": name +"/dfareporting:v2.6/UserRolePermission/permissionGroupId": permission_group_id +"/dfareporting:v2.6/UserRolePermissionGroup": user_role_permission_group +"/dfareporting:v2.6/UserRolePermissionGroup/id": id +"/dfareporting:v2.6/UserRolePermissionGroup/kind": kind +"/dfareporting:v2.6/UserRolePermissionGroup/name": name +"/dfareporting:v2.6/UserRolePermissionGroupsListResponse/kind": kind +"/dfareporting:v2.6/UserRolePermissionGroupsListResponse/userRolePermissionGroups": user_role_permission_groups +"/dfareporting:v2.6/UserRolePermissionGroupsListResponse/userRolePermissionGroups/user_role_permission_group": user_role_permission_group +"/dfareporting:v2.6/UserRolePermissionsListResponse/kind": kind +"/dfareporting:v2.6/UserRolePermissionsListResponse/userRolePermissions": user_role_permissions +"/dfareporting:v2.6/UserRolePermissionsListResponse/userRolePermissions/user_role_permission": user_role_permission +"/dfareporting:v2.6/UserRolesListResponse/kind": kind +"/dfareporting:v2.6/UserRolesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.6/UserRolesListResponse/userRoles": user_roles +"/dfareporting:v2.6/UserRolesListResponse/userRoles/user_role": user_role +"/discovery:v1/fields": fields +"/discovery:v1/key": key +"/discovery:v1/quotaUser": quota_user +"/discovery:v1/userIp": user_ip +"/discovery:v1/discovery.apis.getRest/api": api +"/discovery:v1/discovery.apis.getRest/version": version +"/discovery:v1/discovery.apis.list": list_apis +"/discovery:v1/discovery.apis.list/name": name +"/discovery:v1/discovery.apis.list/preferred": preferred +"/discovery:v1/DirectoryList": directory_list +"/discovery:v1/DirectoryList/discoveryVersion": discovery_version +"/discovery:v1/DirectoryList/items": items +"/discovery:v1/DirectoryList/items/item": item +"/discovery:v1/DirectoryList/items/item/description": description +"/discovery:v1/DirectoryList/items/item/discoveryLink": discovery_link +"/discovery:v1/DirectoryList/items/item/discoveryRestUrl": discovery_rest_url +"/discovery:v1/DirectoryList/items/item/documentationLink": documentation_link +"/discovery:v1/DirectoryList/items/item/icons": icons +"/discovery:v1/DirectoryList/items/item/icons/x16": x16 +"/discovery:v1/DirectoryList/items/item/icons/x32": x32 +"/discovery:v1/DirectoryList/items/item/id": id +"/discovery:v1/DirectoryList/items/item/kind": kind +"/discovery:v1/DirectoryList/items/item/labels": labels +"/discovery:v1/DirectoryList/items/item/labels/label": label +"/discovery:v1/DirectoryList/items/item/name": name +"/discovery:v1/DirectoryList/items/item/preferred": preferred +"/discovery:v1/DirectoryList/items/item/title": title +"/discovery:v1/DirectoryList/items/item/version": version +"/discovery:v1/DirectoryList/kind": kind +"/discovery:v1/JsonSchema": json_schema +"/discovery:v1/JsonSchema/$ref": _ref +"/discovery:v1/JsonSchema/additionalProperties": additional_properties +"/discovery:v1/JsonSchema/annotations": annotations +"/discovery:v1/JsonSchema/annotations/required": required +"/discovery:v1/JsonSchema/annotations/required/required": required +"/discovery:v1/JsonSchema/default": default +"/discovery:v1/JsonSchema/description": description +"/discovery:v1/JsonSchema/enum": enum +"/discovery:v1/JsonSchema/enum/enum": enum +"/discovery:v1/JsonSchema/enumDescriptions": enum_descriptions +"/discovery:v1/JsonSchema/enumDescriptions/enum_description": enum_description +"/discovery:v1/JsonSchema/format": format +"/discovery:v1/JsonSchema/id": id +"/discovery:v1/JsonSchema/items": items +"/discovery:v1/JsonSchema/location": location +"/discovery:v1/JsonSchema/maximum": maximum +"/discovery:v1/JsonSchema/minimum": minimum +"/discovery:v1/JsonSchema/pattern": pattern +"/discovery:v1/JsonSchema/properties": properties +"/discovery:v1/JsonSchema/properties/property": property +"/discovery:v1/JsonSchema/readOnly": read_only +"/discovery:v1/JsonSchema/repeated": repeated +"/discovery:v1/JsonSchema/required": required +"/discovery:v1/JsonSchema/type": type +"/discovery:v1/JsonSchema/variant": variant +"/discovery:v1/JsonSchema/variant/discriminant": discriminant +"/discovery:v1/JsonSchema/variant/map": map +"/discovery:v1/JsonSchema/variant/map/map": map +"/discovery:v1/JsonSchema/variant/map/map/$ref": _ref +"/discovery:v1/JsonSchema/variant/map/map/type_value": type_value +"/discovery:v1/RestDescription": rest_description +"/discovery:v1/RestDescription/auth": auth +"/discovery:v1/RestDescription/auth/oauth2": oauth2 +"/discovery:v1/RestDescription/auth/oauth2/scopes": scopes +"/discovery:v1/RestDescription/auth/oauth2/scopes/scope": scope +"/discovery:v1/RestDescription/auth/oauth2/scopes/scope/description": description +"/discovery:v1/RestDescription/basePath": base_path +"/discovery:v1/RestDescription/baseUrl": base_url +"/discovery:v1/RestDescription/batchPath": batch_path +"/discovery:v1/RestDescription/canonicalName": canonical_name +"/discovery:v1/RestDescription/description": description +"/discovery:v1/RestDescription/discoveryVersion": discovery_version +"/discovery:v1/RestDescription/documentationLink": documentation_link +"/discovery:v1/RestDescription/etag": etag +"/discovery:v1/RestDescription/exponentialBackoffDefault": exponential_backoff_default +"/discovery:v1/RestDescription/features": features +"/discovery:v1/RestDescription/features/feature": feature +"/discovery:v1/RestDescription/icons": icons +"/discovery:v1/RestDescription/icons/x16": x16 +"/discovery:v1/RestDescription/icons/x32": x32 +"/discovery:v1/RestDescription/id": id +"/discovery:v1/RestDescription/kind": kind +"/discovery:v1/RestDescription/labels": labels +"/discovery:v1/RestDescription/labels/label": label +"/discovery:v1/RestDescription/methods/api_method": api_method +"/discovery:v1/RestDescription/name": name +"/discovery:v1/RestDescription/ownerDomain": owner_domain +"/discovery:v1/RestDescription/ownerName": owner_name +"/discovery:v1/RestDescription/packagePath": package_path +"/discovery:v1/RestDescription/parameters": parameters +"/discovery:v1/RestDescription/parameters/parameter": parameter +"/discovery:v1/RestDescription/protocol": protocol +"/discovery:v1/RestDescription/resources": resources +"/discovery:v1/RestDescription/resources/resource": resource +"/discovery:v1/RestDescription/revision": revision +"/discovery:v1/RestDescription/rootUrl": root_url +"/discovery:v1/RestDescription/schemas": schemas +"/discovery:v1/RestDescription/schemas/schema": schema +"/discovery:v1/RestDescription/servicePath": service_path +"/discovery:v1/RestDescription/title": title +"/discovery:v1/RestDescription/version": version +"/discovery:v1/RestDescription/version_module": version_module +"/discovery:v1/RestMethod": rest_method +"/discovery:v1/RestMethod/description": description +"/discovery:v1/RestMethod/etagRequired": etag_required +"/discovery:v1/RestMethod/httpMethod": http_method +"/discovery:v1/RestMethod/id": id +"/discovery:v1/RestMethod/mediaUpload": media_upload +"/discovery:v1/RestMethod/mediaUpload/accept": accept +"/discovery:v1/RestMethod/mediaUpload/accept/accept": accept +"/discovery:v1/RestMethod/mediaUpload/maxSize": max_size +"/discovery:v1/RestMethod/mediaUpload/protocols": protocols +"/discovery:v1/RestMethod/mediaUpload/protocols/resumable": resumable +"/discovery:v1/RestMethod/mediaUpload/protocols/resumable/multipart": multipart +"/discovery:v1/RestMethod/mediaUpload/protocols/resumable/path": path +"/discovery:v1/RestMethod/mediaUpload/protocols/simple": simple +"/discovery:v1/RestMethod/mediaUpload/protocols/simple/multipart": multipart +"/discovery:v1/RestMethod/mediaUpload/protocols/simple/path": path +"/discovery:v1/RestMethod/parameterOrder": parameter_order +"/discovery:v1/RestMethod/parameterOrder/parameter_order": parameter_order +"/discovery:v1/RestMethod/parameters": parameters +"/discovery:v1/RestMethod/parameters/parameter": parameter +"/discovery:v1/RestMethod/path": path +"/discovery:v1/RestMethod/request": request +"/discovery:v1/RestMethod/request/$ref": _ref +"/discovery:v1/RestMethod/request/parameterName": parameter_name +"/discovery:v1/RestMethod/response": response +"/discovery:v1/RestMethod/response/$ref": _ref +"/discovery:v1/RestMethod/scopes": scopes +"/discovery:v1/RestMethod/scopes/scope": scope +"/discovery:v1/RestMethod/supportsMediaDownload": supports_media_download +"/discovery:v1/RestMethod/supportsMediaUpload": supports_media_upload +"/discovery:v1/RestMethod/supportsSubscription": supports_subscription +"/discovery:v1/RestMethod/useMediaDownloadService": use_media_download_service +"/discovery:v1/RestResource": rest_resource +"/discovery:v1/RestResource/methods/api_method": api_method +"/discovery:v1/RestResource/resources": resources +"/discovery:v1/RestResource/resources/resource": resource +"/dns:v1/fields": fields +"/dns:v1/key": key +"/dns:v1/quotaUser": quota_user +"/dns:v1/userIp": user_ip +"/dns:v1/dns.changes.create": create_change +"/dns:v1/dns.changes.create/managedZone": managed_zone +"/dns:v1/dns.changes.create/project": project +"/dns:v1/dns.changes.get": get_change +"/dns:v1/dns.changes.get/changeId": change_id +"/dns:v1/dns.changes.get/managedZone": managed_zone +"/dns:v1/dns.changes.get/project": project +"/dns:v1/dns.changes.list": list_changes +"/dns:v1/dns.changes.list/managedZone": managed_zone +"/dns:v1/dns.changes.list/maxResults": max_results +"/dns:v1/dns.changes.list/pageToken": page_token +"/dns:v1/dns.changes.list/project": project +"/dns:v1/dns.changes.list/sortBy": sort_by +"/dns:v1/dns.changes.list/sortOrder": sort_order +"/dns:v1/dns.managedZones.create": create_managed_zone +"/dns:v1/dns.managedZones.create/project": project +"/dns:v1/dns.managedZones.delete": delete_managed_zone +"/dns:v1/dns.managedZones.delete/managedZone": managed_zone +"/dns:v1/dns.managedZones.delete/project": project +"/dns:v1/dns.managedZones.get": get_managed_zone +"/dns:v1/dns.managedZones.get/managedZone": managed_zone +"/dns:v1/dns.managedZones.get/project": project +"/dns:v1/dns.managedZones.list": list_managed_zones +"/dns:v1/dns.managedZones.list/dnsName": dns_name +"/dns:v1/dns.managedZones.list/maxResults": max_results +"/dns:v1/dns.managedZones.list/pageToken": page_token +"/dns:v1/dns.managedZones.list/project": project +"/dns:v1/dns.projects.get": get_project +"/dns:v1/dns.projects.get/project": project +"/dns:v1/dns.resourceRecordSets.list": list_resource_record_sets +"/dns:v1/dns.resourceRecordSets.list/managedZone": managed_zone +"/dns:v1/dns.resourceRecordSets.list/maxResults": max_results +"/dns:v1/dns.resourceRecordSets.list/name": name +"/dns:v1/dns.resourceRecordSets.list/pageToken": page_token +"/dns:v1/dns.resourceRecordSets.list/project": project +"/dns:v1/dns.resourceRecordSets.list/type": type +"/dns:v1/Change": change +"/dns:v1/Change/additions": additions +"/dns:v1/Change/additions/addition": addition +"/dns:v1/Change/deletions": deletions +"/dns:v1/Change/deletions/deletion": deletion +"/dns:v1/Change/id": id +"/dns:v1/Change/kind": kind +"/dns:v1/Change/startTime": start_time +"/dns:v1/Change/status": status +"/dns:v1/ChangesListResponse/changes": changes +"/dns:v1/ChangesListResponse/changes/change": change +"/dns:v1/ChangesListResponse/kind": kind +"/dns:v1/ChangesListResponse/nextPageToken": next_page_token +"/dns:v1/ManagedZone": managed_zone +"/dns:v1/ManagedZone/creationTime": creation_time +"/dns:v1/ManagedZone/description": description +"/dns:v1/ManagedZone/dnsName": dns_name +"/dns:v1/ManagedZone/id": id +"/dns:v1/ManagedZone/kind": kind +"/dns:v1/ManagedZone/name": name +"/dns:v1/ManagedZone/nameServerSet": name_server_set +"/dns:v1/ManagedZone/nameServers": name_servers +"/dns:v1/ManagedZone/nameServers/name_server": name_server +"/dns:v1/ManagedZonesListResponse/kind": kind +"/dns:v1/ManagedZonesListResponse/managedZones": managed_zones +"/dns:v1/ManagedZonesListResponse/managedZones/managed_zone": managed_zone +"/dns:v1/ManagedZonesListResponse/nextPageToken": next_page_token +"/dns:v1/Project": project +"/dns:v1/Project/id": id +"/dns:v1/Project/kind": kind +"/dns:v1/Project/number": number +"/dns:v1/Project/quota": quota +"/dns:v1/Quota": quota +"/dns:v1/Quota/kind": kind +"/dns:v1/Quota/managedZones": managed_zones +"/dns:v1/Quota/resourceRecordsPerRrset": resource_records_per_rrset +"/dns:v1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change +"/dns:v1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change +"/dns:v1/Quota/rrsetsPerManagedZone": rrsets_per_managed_zone +"/dns:v1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change +"/dns:v1/ResourceRecordSet": resource_record_set +"/dns:v1/ResourceRecordSet/kind": kind +"/dns:v1/ResourceRecordSet/name": name +"/dns:v1/ResourceRecordSet/rrdatas": rrdatas +"/dns:v1/ResourceRecordSet/rrdatas/rrdata": rrdata +"/dns:v1/ResourceRecordSet/ttl": ttl +"/dns:v1/ResourceRecordSet/type": type +"/dns:v1/ResourceRecordSetsListResponse/kind": kind +"/dns:v1/ResourceRecordSetsListResponse/nextPageToken": next_page_token +"/dns:v1/ResourceRecordSetsListResponse/rrsets": rrsets +"/dns:v1/ResourceRecordSetsListResponse/rrsets/rrset": rrset +"/doubleclickbidmanager:v1/fields": fields +"/doubleclickbidmanager:v1/key": key +"/doubleclickbidmanager:v1/quotaUser": quota_user +"/doubleclickbidmanager:v1/userIp": user_ip +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.deletequery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports/queryId": query_id +"/doubleclickbidmanager:v1/doubleclickbidmanager.sdf.download": download_sdf +"/doubleclickbidmanager:v1/DownloadLineItemsRequest/fileSpec": file_spec +"/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds": filter_ids +"/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds/filter_id": filter_id +"/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterType": filter_type +"/doubleclickbidmanager:v1/DownloadLineItemsRequest/format": format +"/doubleclickbidmanager:v1/DownloadLineItemsResponse/lineItems": line_items +"/doubleclickbidmanager:v1/DownloadRequest": download_request +"/doubleclickbidmanager:v1/DownloadRequest/fileTypes": file_types +"/doubleclickbidmanager:v1/DownloadRequest/fileTypes/file_type": file_type +"/doubleclickbidmanager:v1/DownloadRequest/filterIds": filter_ids +"/doubleclickbidmanager:v1/DownloadRequest/filterIds/filter_id": filter_id +"/doubleclickbidmanager:v1/DownloadRequest/filterType": filter_type +"/doubleclickbidmanager:v1/DownloadRequest/version": version +"/doubleclickbidmanager:v1/DownloadResponse": download_response +"/doubleclickbidmanager:v1/DownloadResponse/adGroups": ad_groups +"/doubleclickbidmanager:v1/DownloadResponse/ads": ads +"/doubleclickbidmanager:v1/DownloadResponse/insertionOrders": insertion_orders +"/doubleclickbidmanager:v1/DownloadResponse/lineItems": line_items +"/doubleclickbidmanager:v1/FilterPair": filter_pair +"/doubleclickbidmanager:v1/FilterPair/type": type +"/doubleclickbidmanager:v1/FilterPair/value": value +"/doubleclickbidmanager:v1/ListQueriesResponse/kind": kind +"/doubleclickbidmanager:v1/ListQueriesResponse/queries": queries +"/doubleclickbidmanager:v1/ListQueriesResponse/queries/query": query +"/doubleclickbidmanager:v1/ListReportsResponse/kind": kind +"/doubleclickbidmanager:v1/ListReportsResponse/reports": reports +"/doubleclickbidmanager:v1/ListReportsResponse/reports/report": report +"/doubleclickbidmanager:v1/Parameters": parameters +"/doubleclickbidmanager:v1/Parameters/filters": filters +"/doubleclickbidmanager:v1/Parameters/filters/filter": filter +"/doubleclickbidmanager:v1/Parameters/groupBys": group_bys +"/doubleclickbidmanager:v1/Parameters/groupBys/group_by": group_by +"/doubleclickbidmanager:v1/Parameters/includeInviteData": include_invite_data +"/doubleclickbidmanager:v1/Parameters/metrics": metrics +"/doubleclickbidmanager:v1/Parameters/metrics/metric": metric +"/doubleclickbidmanager:v1/Parameters/type": type +"/doubleclickbidmanager:v1/Query": query +"/doubleclickbidmanager:v1/Query/kind": kind +"/doubleclickbidmanager:v1/Query/metadata": metadata +"/doubleclickbidmanager:v1/Query/params": params +"/doubleclickbidmanager:v1/Query/queryId": query_id +"/doubleclickbidmanager:v1/Query/reportDataEndTimeMs": report_data_end_time_ms +"/doubleclickbidmanager:v1/Query/reportDataStartTimeMs": report_data_start_time_ms +"/doubleclickbidmanager:v1/Query/schedule": schedule +"/doubleclickbidmanager:v1/Query/timezoneCode": timezone_code +"/doubleclickbidmanager:v1/QueryMetadata": query_metadata +"/doubleclickbidmanager:v1/QueryMetadata/dataRange": data_range +"/doubleclickbidmanager:v1/QueryMetadata/format": format +"/doubleclickbidmanager:v1/QueryMetadata/googleCloudStoragePathForLatestReport": google_cloud_storage_path_for_latest_report +"/doubleclickbidmanager:v1/QueryMetadata/googleDrivePathForLatestReport": google_drive_path_for_latest_report +"/doubleclickbidmanager:v1/QueryMetadata/latestReportRunTimeMs": latest_report_run_time_ms +"/doubleclickbidmanager:v1/QueryMetadata/locale": locale +"/doubleclickbidmanager:v1/QueryMetadata/reportCount": report_count +"/doubleclickbidmanager:v1/QueryMetadata/running": running +"/doubleclickbidmanager:v1/QueryMetadata/sendNotification": send_notification +"/doubleclickbidmanager:v1/QueryMetadata/shareEmailAddress": share_email_address +"/doubleclickbidmanager:v1/QueryMetadata/shareEmailAddress/share_email_address": share_email_address +"/doubleclickbidmanager:v1/QueryMetadata/title": title +"/doubleclickbidmanager:v1/QuerySchedule": query_schedule +"/doubleclickbidmanager:v1/QuerySchedule/endTimeMs": end_time_ms +"/doubleclickbidmanager:v1/QuerySchedule/frequency": frequency +"/doubleclickbidmanager:v1/QuerySchedule/nextRunMinuteOfDay": next_run_minute_of_day +"/doubleclickbidmanager:v1/QuerySchedule/nextRunTimezoneCode": next_run_timezone_code +"/doubleclickbidmanager:v1/Report": report +"/doubleclickbidmanager:v1/Report/key": key +"/doubleclickbidmanager:v1/Report/metadata": metadata +"/doubleclickbidmanager:v1/Report/params": params +"/doubleclickbidmanager:v1/ReportFailure": report_failure +"/doubleclickbidmanager:v1/ReportFailure/errorCode": error_code +"/doubleclickbidmanager:v1/ReportKey": report_key +"/doubleclickbidmanager:v1/ReportKey/queryId": query_id +"/doubleclickbidmanager:v1/ReportKey/reportId": report_id +"/doubleclickbidmanager:v1/ReportMetadata": report_metadata +"/doubleclickbidmanager:v1/ReportMetadata/googleCloudStoragePath": google_cloud_storage_path +"/doubleclickbidmanager:v1/ReportMetadata/reportDataEndTimeMs": report_data_end_time_ms +"/doubleclickbidmanager:v1/ReportMetadata/reportDataStartTimeMs": report_data_start_time_ms +"/doubleclickbidmanager:v1/ReportMetadata/status": status +"/doubleclickbidmanager:v1/ReportStatus": report_status +"/doubleclickbidmanager:v1/ReportStatus/failure": failure +"/doubleclickbidmanager:v1/ReportStatus/finishTimeMs": finish_time_ms +"/doubleclickbidmanager:v1/ReportStatus/format": format +"/doubleclickbidmanager:v1/ReportStatus/state": state +"/doubleclickbidmanager:v1/RowStatus": row_status +"/doubleclickbidmanager:v1/RowStatus/changed": changed +"/doubleclickbidmanager:v1/RowStatus/entityId": entity_id +"/doubleclickbidmanager:v1/RowStatus/entityName": entity_name +"/doubleclickbidmanager:v1/RowStatus/errors": errors +"/doubleclickbidmanager:v1/RowStatus/errors/error": error +"/doubleclickbidmanager:v1/RowStatus/persisted": persisted +"/doubleclickbidmanager:v1/RowStatus/rowNumber": row_number +"/doubleclickbidmanager:v1/RunQueryRequest/dataRange": data_range +"/doubleclickbidmanager:v1/RunQueryRequest/reportDataEndTimeMs": report_data_end_time_ms +"/doubleclickbidmanager:v1/RunQueryRequest/reportDataStartTimeMs": report_data_start_time_ms +"/doubleclickbidmanager:v1/RunQueryRequest/timezoneCode": timezone_code +"/doubleclickbidmanager:v1/UploadLineItemsRequest/dryRun": dry_run +"/doubleclickbidmanager:v1/UploadLineItemsRequest/format": format +"/doubleclickbidmanager:v1/UploadLineItemsRequest/lineItems": line_items +"/doubleclickbidmanager:v1/UploadLineItemsResponse/uploadStatus": upload_status +"/doubleclickbidmanager:v1/UploadStatus": upload_status +"/doubleclickbidmanager:v1/UploadStatus/errors": errors +"/doubleclickbidmanager:v1/UploadStatus/errors/error": error +"/doubleclickbidmanager:v1/UploadStatus/rowStatus": row_status +"/doubleclickbidmanager:v1/UploadStatus/rowStatus/row_status": row_status +"/doubleclicksearch:v2/fields": fields +"/doubleclicksearch:v2/key": key +"/doubleclicksearch:v2/quotaUser": quota_user +"/doubleclicksearch:v2/userIp": user_ip +"/doubleclicksearch:v2/doubleclicksearch.conversion.get": get_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adGroupId": ad_group_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/adId": ad_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/agencyId": agency_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/campaignId": campaign_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/criterionId": criterion_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/endDate": end_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/engineAccountId": engine_account_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/rowCount": row_count +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startDate": start_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.get/startRow": start_row +"/doubleclicksearch:v2/doubleclicksearch.conversion.insert": insert_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch": patch_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/agencyId": agency_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/endDate": end_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/engineAccountId": engine_account_id +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/rowCount": row_count +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startDate": start_date +"/doubleclicksearch:v2/doubleclicksearch.conversion.patch/startRow": start_row +"/doubleclicksearch:v2/doubleclicksearch.conversion.update": update_conversion +"/doubleclicksearch:v2/doubleclicksearch.conversion.updateAvailability": update_conversion_availability +"/doubleclicksearch:v2/doubleclicksearch.reports.generate": generate_report +"/doubleclicksearch:v2/doubleclicksearch.reports.get": get_report +"/doubleclicksearch:v2/doubleclicksearch.reports.get/reportId": report_id +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile": get_report_file +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportFragment": report_fragment +"/doubleclicksearch:v2/doubleclicksearch.reports.getFile/reportId": report_id +"/doubleclicksearch:v2/doubleclicksearch.reports.request": request_report +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list": list_saved_columns +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/advertiserId": advertiser_id +"/doubleclicksearch:v2/doubleclicksearch.savedColumns.list/agencyId": agency_id +"/doubleclicksearch:v2/Availability": availability +"/doubleclicksearch:v2/Availability/advertiserId": advertiser_id +"/doubleclicksearch:v2/Availability/agencyId": agency_id +"/doubleclicksearch:v2/Availability/availabilityTimestamp": availability_timestamp +"/doubleclicksearch:v2/Availability/segmentationId": segmentation_id +"/doubleclicksearch:v2/Availability/segmentationName": segmentation_name +"/doubleclicksearch:v2/Availability/segmentationType": segmentation_type +"/doubleclicksearch:v2/Conversion": conversion +"/doubleclicksearch:v2/Conversion/adGroupId": ad_group_id +"/doubleclicksearch:v2/Conversion/adId": ad_id +"/doubleclicksearch:v2/Conversion/advertiserId": advertiser_id +"/doubleclicksearch:v2/Conversion/agencyId": agency_id +"/doubleclicksearch:v2/Conversion/attributionModel": attribution_model +"/doubleclicksearch:v2/Conversion/campaignId": campaign_id +"/doubleclicksearch:v2/Conversion/channel": channel +"/doubleclicksearch:v2/Conversion/clickId": click_id +"/doubleclicksearch:v2/Conversion/conversionId": conversion_id +"/doubleclicksearch:v2/Conversion/conversionModifiedTimestamp": conversion_modified_timestamp +"/doubleclicksearch:v2/Conversion/conversionTimestamp": conversion_timestamp +"/doubleclicksearch:v2/Conversion/countMillis": count_millis +"/doubleclicksearch:v2/Conversion/criterionId": criterion_id +"/doubleclicksearch:v2/Conversion/currencyCode": currency_code +"/doubleclicksearch:v2/Conversion/customDimension": custom_dimension +"/doubleclicksearch:v2/Conversion/customDimension/custom_dimension": custom_dimension +"/doubleclicksearch:v2/Conversion/customMetric": custom_metric +"/doubleclicksearch:v2/Conversion/customMetric/custom_metric": custom_metric +"/doubleclicksearch:v2/Conversion/deviceType": device_type +"/doubleclicksearch:v2/Conversion/dsConversionId": ds_conversion_id +"/doubleclicksearch:v2/Conversion/engineAccountId": engine_account_id +"/doubleclicksearch:v2/Conversion/floodlightOrderId": floodlight_order_id +"/doubleclicksearch:v2/Conversion/inventoryAccountId": inventory_account_id +"/doubleclicksearch:v2/Conversion/productCountry": product_country +"/doubleclicksearch:v2/Conversion/productGroupId": product_group_id +"/doubleclicksearch:v2/Conversion/productId": product_id +"/doubleclicksearch:v2/Conversion/productLanguage": product_language +"/doubleclicksearch:v2/Conversion/quantityMillis": quantity_millis +"/doubleclicksearch:v2/Conversion/revenueMicros": revenue_micros +"/doubleclicksearch:v2/Conversion/segmentationId": segmentation_id +"/doubleclicksearch:v2/Conversion/segmentationName": segmentation_name +"/doubleclicksearch:v2/Conversion/segmentationType": segmentation_type +"/doubleclicksearch:v2/Conversion/state": state +"/doubleclicksearch:v2/Conversion/storeId": store_id +"/doubleclicksearch:v2/Conversion/type": type +"/doubleclicksearch:v2/ConversionList": conversion_list +"/doubleclicksearch:v2/ConversionList/conversion": conversion +"/doubleclicksearch:v2/ConversionList/conversion/conversion": conversion +"/doubleclicksearch:v2/ConversionList/kind": kind +"/doubleclicksearch:v2/CustomDimension": custom_dimension +"/doubleclicksearch:v2/CustomDimension/name": name +"/doubleclicksearch:v2/CustomDimension/value": value +"/doubleclicksearch:v2/CustomMetric": custom_metric +"/doubleclicksearch:v2/CustomMetric/name": name +"/doubleclicksearch:v2/CustomMetric/value": value +"/doubleclicksearch:v2/Report": report +"/doubleclicksearch:v2/Report/files": files +"/doubleclicksearch:v2/Report/files/file": file +"/doubleclicksearch:v2/Report/files/file/byteCount": byte_count +"/doubleclicksearch:v2/Report/files/file/url": url +"/doubleclicksearch:v2/Report/id": id +"/doubleclicksearch:v2/Report/isReportReady": is_report_ready +"/doubleclicksearch:v2/Report/kind": kind +"/doubleclicksearch:v2/Report/request": request +"/doubleclicksearch:v2/Report/rowCount": row_count +"/doubleclicksearch:v2/Report/rows": rows +"/doubleclicksearch:v2/Report/rows/row": row +"/doubleclicksearch:v2/Report/statisticsCurrencyCode": statistics_currency_code +"/doubleclicksearch:v2/Report/statisticsTimeZone": statistics_time_zone +"/doubleclicksearch:v2/ReportApiColumnSpec": report_api_column_spec +"/doubleclicksearch:v2/ReportApiColumnSpec/columnName": column_name +"/doubleclicksearch:v2/ReportApiColumnSpec/customDimensionName": custom_dimension_name +"/doubleclicksearch:v2/ReportApiColumnSpec/customMetricName": custom_metric_name +"/doubleclicksearch:v2/ReportApiColumnSpec/endDate": end_date +"/doubleclicksearch:v2/ReportApiColumnSpec/groupByColumn": group_by_column +"/doubleclicksearch:v2/ReportApiColumnSpec/headerText": header_text +"/doubleclicksearch:v2/ReportApiColumnSpec/platformSource": platform_source +"/doubleclicksearch:v2/ReportApiColumnSpec/productReportPerspective": product_report_perspective +"/doubleclicksearch:v2/ReportApiColumnSpec/savedColumnName": saved_column_name +"/doubleclicksearch:v2/ReportApiColumnSpec/startDate": start_date +"/doubleclicksearch:v2/ReportRequest/columns": columns +"/doubleclicksearch:v2/ReportRequest/columns/column": column +"/doubleclicksearch:v2/ReportRequest/downloadFormat": download_format +"/doubleclicksearch:v2/ReportRequest/filters": filters +"/doubleclicksearch:v2/ReportRequest/filters/filter": filter +"/doubleclicksearch:v2/ReportRequest/filters/filter/column": column +"/doubleclicksearch:v2/ReportRequest/filters/filter/operator": operator +"/doubleclicksearch:v2/ReportRequest/filters/filter/values": values +"/doubleclicksearch:v2/ReportRequest/filters/filter/values/value": value +"/doubleclicksearch:v2/ReportRequest/includeDeletedEntities": include_deleted_entities +"/doubleclicksearch:v2/ReportRequest/includeRemovedEntities": include_removed_entities +"/doubleclicksearch:v2/ReportRequest/maxRowsPerFile": max_rows_per_file +"/doubleclicksearch:v2/ReportRequest/orderBy": order_by +"/doubleclicksearch:v2/ReportRequest/orderBy/order_by": order_by +"/doubleclicksearch:v2/ReportRequest/orderBy/order_by/column": column +"/doubleclicksearch:v2/ReportRequest/orderBy/order_by/sortOrder": sort_order +"/doubleclicksearch:v2/ReportRequest/reportScope": report_scope +"/doubleclicksearch:v2/ReportRequest/reportScope/adGroupId": ad_group_id +"/doubleclicksearch:v2/ReportRequest/reportScope/adId": ad_id +"/doubleclicksearch:v2/ReportRequest/reportScope/advertiserId": advertiser_id +"/doubleclicksearch:v2/ReportRequest/reportScope/agencyId": agency_id +"/doubleclicksearch:v2/ReportRequest/reportScope/campaignId": campaign_id +"/doubleclicksearch:v2/ReportRequest/reportScope/engineAccountId": engine_account_id +"/doubleclicksearch:v2/ReportRequest/reportScope/keywordId": keyword_id +"/doubleclicksearch:v2/ReportRequest/reportType": report_type +"/doubleclicksearch:v2/ReportRequest/rowCount": row_count +"/doubleclicksearch:v2/ReportRequest/startRow": start_row +"/doubleclicksearch:v2/ReportRequest/statisticsCurrency": statistics_currency +"/doubleclicksearch:v2/ReportRequest/timeRange": time_range +"/doubleclicksearch:v2/ReportRequest/timeRange/changedAttributesSinceTimestamp": changed_attributes_since_timestamp +"/doubleclicksearch:v2/ReportRequest/timeRange/changedMetricsSinceTimestamp": changed_metrics_since_timestamp +"/doubleclicksearch:v2/ReportRequest/timeRange/endDate": end_date +"/doubleclicksearch:v2/ReportRequest/timeRange/startDate": start_date +"/doubleclicksearch:v2/ReportRequest/verifySingleTimeZone": verify_single_time_zone +"/doubleclicksearch:v2/ReportRow": report_row +"/doubleclicksearch:v2/ReportRow/report_row": report_row +"/doubleclicksearch:v2/SavedColumn": saved_column +"/doubleclicksearch:v2/SavedColumn/kind": kind +"/doubleclicksearch:v2/SavedColumn/savedColumnName": saved_column_name +"/doubleclicksearch:v2/SavedColumn/type": type +"/doubleclicksearch:v2/SavedColumnList": saved_column_list +"/doubleclicksearch:v2/SavedColumnList/items": items +"/doubleclicksearch:v2/SavedColumnList/items/item": item +"/doubleclicksearch:v2/SavedColumnList/kind": kind +"/doubleclicksearch:v2/UpdateAvailabilityRequest/availabilities": availabilities +"/doubleclicksearch:v2/UpdateAvailabilityRequest/availabilities/availability": availability +"/doubleclicksearch:v2/UpdateAvailabilityResponse/availabilities": availabilities +"/doubleclicksearch:v2/UpdateAvailabilityResponse/availabilities/availability": availability +"/drive:v2/fields": fields +"/drive:v2/key": key +"/drive:v2/quotaUser": quota_user +"/drive:v2/userIp": user_ip +"/drive:v2/drive.about.get": get_about +"/drive:v2/drive.about.get/includeSubscribed": include_subscribed +"/drive:v2/drive.about.get/maxChangeIdCount": max_change_id_count +"/drive:v2/drive.about.get/startChangeId": start_change_id +"/drive:v2/drive.apps.get": get_app +"/drive:v2/drive.apps.get/appId": app_id +"/drive:v2/drive.apps.list": list_apps +"/drive:v2/drive.apps.list/appFilterExtensions": app_filter_extensions +"/drive:v2/drive.apps.list/appFilterMimeTypes": app_filter_mime_types +"/drive:v2/drive.apps.list/languageCode": language_code +"/drive:v2/drive.changes.get": get_change +"/drive:v2/drive.changes.get/changeId": change_id +"/drive:v2/drive.changes.list": list_changes +"/drive:v2/drive.changes.list/includeDeleted": include_deleted +"/drive:v2/drive.changes.list/includeSubscribed": include_subscribed +"/drive:v2/drive.changes.list/maxResults": max_results +"/drive:v2/drive.changes.list/pageToken": page_token +"/drive:v2/drive.changes.list/spaces": spaces +"/drive:v2/drive.changes.list/startChangeId": start_change_id +"/drive:v2/drive.changes.watch": watch_change +"/drive:v2/drive.changes.watch/includeDeleted": include_deleted +"/drive:v2/drive.changes.watch/includeSubscribed": include_subscribed +"/drive:v2/drive.changes.watch/maxResults": max_results +"/drive:v2/drive.changes.watch/pageToken": page_token +"/drive:v2/drive.changes.watch/spaces": spaces +"/drive:v2/drive.changes.watch/startChangeId": start_change_id +"/drive:v2/drive.channels.stop": stop_channel +"/drive:v2/drive.children.delete": delete_child +"/drive:v2/drive.children.delete/childId": child_id +"/drive:v2/drive.children.delete/folderId": folder_id +"/drive:v2/drive.children.get": get_child +"/drive:v2/drive.children.get/childId": child_id +"/drive:v2/drive.children.get/folderId": folder_id +"/drive:v2/drive.children.insert": insert_child +"/drive:v2/drive.children.insert/folderId": folder_id +"/drive:v2/drive.children.list": list_children +"/drive:v2/drive.children.list/folderId": folder_id +"/drive:v2/drive.children.list/maxResults": max_results +"/drive:v2/drive.children.list/orderBy": order_by +"/drive:v2/drive.children.list/pageToken": page_token +"/drive:v2/drive.children.list/q": q +"/drive:v2/drive.comments.delete": delete_comment +"/drive:v2/drive.comments.delete/commentId": comment_id +"/drive:v2/drive.comments.delete/fileId": file_id +"/drive:v2/drive.comments.get": get_comment +"/drive:v2/drive.comments.get/commentId": comment_id +"/drive:v2/drive.comments.get/fileId": file_id +"/drive:v2/drive.comments.get/includeDeleted": include_deleted +"/drive:v2/drive.comments.insert": insert_comment +"/drive:v2/drive.comments.insert/fileId": file_id +"/drive:v2/drive.comments.list": list_comments +"/drive:v2/drive.comments.list/fileId": file_id +"/drive:v2/drive.comments.list/includeDeleted": include_deleted +"/drive:v2/drive.comments.list/maxResults": max_results +"/drive:v2/drive.comments.list/pageToken": page_token +"/drive:v2/drive.comments.list/updatedMin": updated_min +"/drive:v2/drive.comments.patch": patch_comment +"/drive:v2/drive.comments.patch/commentId": comment_id +"/drive:v2/drive.comments.patch/fileId": file_id +"/drive:v2/drive.comments.update": update_comment +"/drive:v2/drive.comments.update/commentId": comment_id +"/drive:v2/drive.comments.update/fileId": file_id +"/drive:v2/drive.files.copy": copy_file +"/drive:v2/drive.files.copy/convert": convert +"/drive:v2/drive.files.copy/fileId": file_id +"/drive:v2/drive.files.copy/ocr": ocr +"/drive:v2/drive.files.copy/ocrLanguage": ocr_language +"/drive:v2/drive.files.copy/pinned": pinned +"/drive:v2/drive.files.copy/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.copy/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.copy/visibility": visibility +"/drive:v2/drive.files.delete": delete_file +"/drive:v2/drive.files.delete/fileId": file_id +"/drive:v2/drive.files.export": export_file +"/drive:v2/drive.files.export/fileId": file_id +"/drive:v2/drive.files.export/mimeType": mime_type +"/drive:v2/drive.files.generateIds": generate_file_ids +"/drive:v2/drive.files.generateIds/maxResults": max_results +"/drive:v2/drive.files.generateIds/space": space +"/drive:v2/drive.files.get": get_file +"/drive:v2/drive.files.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v2/drive.files.get/fileId": file_id +"/drive:v2/drive.files.get/projection": projection +"/drive:v2/drive.files.get/revisionId": revision_id +"/drive:v2/drive.files.get/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.insert": insert_file +"/drive:v2/drive.files.insert/convert": convert +"/drive:v2/drive.files.insert/ocr": ocr +"/drive:v2/drive.files.insert/ocrLanguage": ocr_language +"/drive:v2/drive.files.insert/pinned": pinned +"/drive:v2/drive.files.insert/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.insert/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.insert/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.insert/visibility": visibility +"/drive:v2/drive.files.list": list_files +"/drive:v2/drive.files.list/corpus": corpus +"/drive:v2/drive.files.list/maxResults": max_results +"/drive:v2/drive.files.list/orderBy": order_by +"/drive:v2/drive.files.list/pageToken": page_token +"/drive:v2/drive.files.list/projection": projection +"/drive:v2/drive.files.list/q": q +"/drive:v2/drive.files.list/spaces": spaces +"/drive:v2/drive.files.patch": patch_file +"/drive:v2/drive.files.patch/addParents": add_parents +"/drive:v2/drive.files.patch/convert": convert +"/drive:v2/drive.files.patch/fileId": file_id +"/drive:v2/drive.files.patch/modifiedDateBehavior": modified_date_behavior +"/drive:v2/drive.files.patch/newRevision": new_revision +"/drive:v2/drive.files.patch/ocr": ocr +"/drive:v2/drive.files.patch/ocrLanguage": ocr_language +"/drive:v2/drive.files.patch/pinned": pinned +"/drive:v2/drive.files.patch/removeParents": remove_parents +"/drive:v2/drive.files.patch/setModifiedDate": set_modified_date +"/drive:v2/drive.files.patch/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.patch/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.patch/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.patch/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.touch": touch_file +"/drive:v2/drive.files.touch/fileId": file_id +"/drive:v2/drive.files.trash": trash_file +"/drive:v2/drive.files.trash/fileId": file_id +"/drive:v2/drive.files.untrash": untrash_file +"/drive:v2/drive.files.untrash/fileId": file_id +"/drive:v2/drive.files.update": update_file +"/drive:v2/drive.files.update/addParents": add_parents +"/drive:v2/drive.files.update/convert": convert +"/drive:v2/drive.files.update/fileId": file_id +"/drive:v2/drive.files.update/modifiedDateBehavior": modified_date_behavior +"/drive:v2/drive.files.update/newRevision": new_revision +"/drive:v2/drive.files.update/ocr": ocr +"/drive:v2/drive.files.update/ocrLanguage": ocr_language +"/drive:v2/drive.files.update/pinned": pinned +"/drive:v2/drive.files.update/removeParents": remove_parents +"/drive:v2/drive.files.update/setModifiedDate": set_modified_date +"/drive:v2/drive.files.update/timedTextLanguage": timed_text_language +"/drive:v2/drive.files.update/timedTextTrackName": timed_text_track_name +"/drive:v2/drive.files.update/updateViewedDate": update_viewed_date +"/drive:v2/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v2/drive.files.watch": watch_file +"/drive:v2/drive.files.watch/acknowledgeAbuse": acknowledge_abuse +"/drive:v2/drive.files.watch/fileId": file_id +"/drive:v2/drive.files.watch/projection": projection +"/drive:v2/drive.files.watch/revisionId": revision_id +"/drive:v2/drive.files.watch/updateViewedDate": update_viewed_date +"/drive:v2/drive.parents.delete": delete_parent +"/drive:v2/drive.parents.delete/fileId": file_id +"/drive:v2/drive.parents.delete/parentId": parent_id +"/drive:v2/drive.parents.get": get_parent +"/drive:v2/drive.parents.get/fileId": file_id +"/drive:v2/drive.parents.get/parentId": parent_id +"/drive:v2/drive.parents.insert": insert_parent +"/drive:v2/drive.parents.insert/fileId": file_id +"/drive:v2/drive.parents.list": list_parents +"/drive:v2/drive.parents.list/fileId": file_id +"/drive:v2/drive.permissions.delete": delete_permission +"/drive:v2/drive.permissions.delete/fileId": file_id +"/drive:v2/drive.permissions.delete/permissionId": permission_id +"/drive:v2/drive.permissions.get": get_permission +"/drive:v2/drive.permissions.get/fileId": file_id +"/drive:v2/drive.permissions.get/permissionId": permission_id +"/drive:v2/drive.permissions.getIdForEmail/email": email +"/drive:v2/drive.permissions.insert": insert_permission +"/drive:v2/drive.permissions.insert/emailMessage": email_message +"/drive:v2/drive.permissions.insert/fileId": file_id +"/drive:v2/drive.permissions.insert/sendNotificationEmails": send_notification_emails +"/drive:v2/drive.permissions.list": list_permissions +"/drive:v2/drive.permissions.list/fileId": file_id +"/drive:v2/drive.permissions.patch": patch_permission +"/drive:v2/drive.permissions.patch/fileId": file_id +"/drive:v2/drive.permissions.patch/permissionId": permission_id +"/drive:v2/drive.permissions.patch/removeExpiration": remove_expiration +"/drive:v2/drive.permissions.patch/transferOwnership": transfer_ownership +"/drive:v2/drive.permissions.update": update_permission +"/drive:v2/drive.permissions.update/fileId": file_id +"/drive:v2/drive.permissions.update/permissionId": permission_id +"/drive:v2/drive.permissions.update/removeExpiration": remove_expiration +"/drive:v2/drive.permissions.update/transferOwnership": transfer_ownership +"/drive:v2/drive.properties.delete": delete_property +"/drive:v2/drive.properties.delete/fileId": file_id +"/drive:v2/drive.properties.delete/propertyKey": property_key +"/drive:v2/drive.properties.delete/visibility": visibility +"/drive:v2/drive.properties.get": get_property +"/drive:v2/drive.properties.get/fileId": file_id +"/drive:v2/drive.properties.get/propertyKey": property_key +"/drive:v2/drive.properties.get/visibility": visibility +"/drive:v2/drive.properties.insert": insert_property +"/drive:v2/drive.properties.insert/fileId": file_id +"/drive:v2/drive.properties.list": list_properties +"/drive:v2/drive.properties.list/fileId": file_id +"/drive:v2/drive.properties.patch": patch_property +"/drive:v2/drive.properties.patch/fileId": file_id +"/drive:v2/drive.properties.patch/propertyKey": property_key +"/drive:v2/drive.properties.patch/visibility": visibility +"/drive:v2/drive.properties.update": update_property +"/drive:v2/drive.properties.update/fileId": file_id +"/drive:v2/drive.properties.update/propertyKey": property_key +"/drive:v2/drive.properties.update/visibility": visibility +"/drive:v2/drive.realtime.get": get_realtime +"/drive:v2/drive.realtime.get/fileId": file_id +"/drive:v2/drive.realtime.get/revision": revision +"/drive:v2/drive.realtime.update": update_realtime +"/drive:v2/drive.realtime.update/baseRevision": base_revision +"/drive:v2/drive.realtime.update/fileId": file_id +"/drive:v2/drive.replies.delete": delete_reply +"/drive:v2/drive.replies.delete/commentId": comment_id +"/drive:v2/drive.replies.delete/fileId": file_id +"/drive:v2/drive.replies.delete/replyId": reply_id +"/drive:v2/drive.replies.get": get_reply +"/drive:v2/drive.replies.get/commentId": comment_id +"/drive:v2/drive.replies.get/fileId": file_id +"/drive:v2/drive.replies.get/includeDeleted": include_deleted +"/drive:v2/drive.replies.get/replyId": reply_id +"/drive:v2/drive.replies.insert": insert_reply +"/drive:v2/drive.replies.insert/commentId": comment_id +"/drive:v2/drive.replies.insert/fileId": file_id +"/drive:v2/drive.replies.list": list_replies +"/drive:v2/drive.replies.list/commentId": comment_id +"/drive:v2/drive.replies.list/fileId": file_id +"/drive:v2/drive.replies.list/includeDeleted": include_deleted +"/drive:v2/drive.replies.list/maxResults": max_results +"/drive:v2/drive.replies.list/pageToken": page_token +"/drive:v2/drive.replies.patch": patch_reply +"/drive:v2/drive.replies.patch/commentId": comment_id +"/drive:v2/drive.replies.patch/fileId": file_id +"/drive:v2/drive.replies.patch/replyId": reply_id +"/drive:v2/drive.replies.update": update_reply +"/drive:v2/drive.replies.update/commentId": comment_id +"/drive:v2/drive.replies.update/fileId": file_id +"/drive:v2/drive.replies.update/replyId": reply_id +"/drive:v2/drive.revisions.delete": delete_revision +"/drive:v2/drive.revisions.delete/fileId": file_id +"/drive:v2/drive.revisions.delete/revisionId": revision_id +"/drive:v2/drive.revisions.get": get_revision +"/drive:v2/drive.revisions.get/fileId": file_id +"/drive:v2/drive.revisions.get/revisionId": revision_id +"/drive:v2/drive.revisions.list": list_revisions +"/drive:v2/drive.revisions.list/fileId": file_id +"/drive:v2/drive.revisions.list/maxResults": max_results +"/drive:v2/drive.revisions.list/pageToken": page_token +"/drive:v2/drive.revisions.patch": patch_revision +"/drive:v2/drive.revisions.patch/fileId": file_id +"/drive:v2/drive.revisions.patch/revisionId": revision_id +"/drive:v2/drive.revisions.update": update_revision +"/drive:v2/drive.revisions.update/fileId": file_id +"/drive:v2/drive.revisions.update/revisionId": revision_id +"/drive:v2/About": about +"/drive:v2/About/additionalRoleInfo": additional_role_info +"/drive:v2/About/additionalRoleInfo/additional_role_info": additional_role_info +"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets": role_sets +"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set": role_set +"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/additionalRoles": additional_roles +"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/additionalRoles/additional_role": additional_role +"/drive:v2/About/additionalRoleInfo/additional_role_info/roleSets/role_set/primaryRole": primary_role +"/drive:v2/About/additionalRoleInfo/additional_role_info/type": type +"/drive:v2/About/domainSharingPolicy": domain_sharing_policy +"/drive:v2/About/etag": etag +"/drive:v2/About/exportFormats": export_formats +"/drive:v2/About/exportFormats/export_format": export_format +"/drive:v2/About/exportFormats/export_format/source": source +"/drive:v2/About/exportFormats/export_format/targets": targets +"/drive:v2/About/exportFormats/export_format/targets/target": target +"/drive:v2/About/features": features +"/drive:v2/About/features/feature": feature +"/drive:v2/About/features/feature/featureName": feature_name +"/drive:v2/About/features/feature/featureRate": feature_rate +"/drive:v2/About/folderColorPalette": folder_color_palette +"/drive:v2/About/folderColorPalette/folder_color_palette": folder_color_palette +"/drive:v2/About/importFormats": import_formats +"/drive:v2/About/importFormats/import_format": import_format +"/drive:v2/About/importFormats/import_format/source": source +"/drive:v2/About/importFormats/import_format/targets": targets +"/drive:v2/About/importFormats/import_format/targets/target": target +"/drive:v2/About/isCurrentAppInstalled": is_current_app_installed +"/drive:v2/About/kind": kind +"/drive:v2/About/languageCode": language_code +"/drive:v2/About/largestChangeId": largest_change_id +"/drive:v2/About/maxUploadSizes": max_upload_sizes +"/drive:v2/About/maxUploadSizes/max_upload_size": max_upload_size +"/drive:v2/About/maxUploadSizes/max_upload_size/size": size +"/drive:v2/About/maxUploadSizes/max_upload_size/type": type +"/drive:v2/About/name": name +"/drive:v2/About/permissionId": permission_id +"/drive:v2/About/quotaBytesByService": quota_bytes_by_service +"/drive:v2/About/quotaBytesByService/quota_bytes_by_service": quota_bytes_by_service +"/drive:v2/About/quotaBytesByService/quota_bytes_by_service/bytesUsed": bytes_used +"/drive:v2/About/quotaBytesByService/quota_bytes_by_service/serviceName": service_name +"/drive:v2/About/quotaBytesTotal": quota_bytes_total +"/drive:v2/About/quotaBytesUsed": quota_bytes_used +"/drive:v2/About/quotaBytesUsedAggregate": quota_bytes_used_aggregate +"/drive:v2/About/quotaBytesUsedInTrash": quota_bytes_used_in_trash +"/drive:v2/About/quotaType": quota_type +"/drive:v2/About/remainingChangeIds": remaining_change_ids +"/drive:v2/About/rootFolderId": root_folder_id +"/drive:v2/About/selfLink": self_link +"/drive:v2/About/user": user +"/drive:v2/App": app +"/drive:v2/App/authorized": authorized +"/drive:v2/App/createInFolderTemplate": create_in_folder_template +"/drive:v2/App/createUrl": create_url +"/drive:v2/App/hasDriveWideScope": has_drive_wide_scope +"/drive:v2/App/icons": icons +"/drive:v2/App/icons/icon": icon +"/drive:v2/App/icons/icon/category": category +"/drive:v2/App/icons/icon/iconUrl": icon_url +"/drive:v2/App/icons/icon/size": size +"/drive:v2/App/id": id +"/drive:v2/App/installed": installed +"/drive:v2/App/kind": kind +"/drive:v2/App/longDescription": long_description +"/drive:v2/App/name": name +"/drive:v2/App/objectType": object_type +"/drive:v2/App/openUrlTemplate": open_url_template +"/drive:v2/App/primaryFileExtensions": primary_file_extensions +"/drive:v2/App/primaryFileExtensions/primary_file_extension": primary_file_extension +"/drive:v2/App/primaryMimeTypes": primary_mime_types +"/drive:v2/App/primaryMimeTypes/primary_mime_type": primary_mime_type +"/drive:v2/App/productId": product_id +"/drive:v2/App/productUrl": product_url +"/drive:v2/App/secondaryFileExtensions": secondary_file_extensions +"/drive:v2/App/secondaryFileExtensions/secondary_file_extension": secondary_file_extension +"/drive:v2/App/secondaryMimeTypes": secondary_mime_types +"/drive:v2/App/secondaryMimeTypes/secondary_mime_type": secondary_mime_type +"/drive:v2/App/shortDescription": short_description +"/drive:v2/App/supportsCreate": supports_create +"/drive:v2/App/supportsImport": supports_import +"/drive:v2/App/supportsMultiOpen": supports_multi_open +"/drive:v2/App/supportsOfflineCreate": supports_offline_create +"/drive:v2/App/useByDefault": use_by_default +"/drive:v2/AppList": app_list +"/drive:v2/AppList/defaultAppIds": default_app_ids +"/drive:v2/AppList/defaultAppIds/default_app_id": default_app_id +"/drive:v2/AppList/etag": etag +"/drive:v2/AppList/items": items +"/drive:v2/AppList/items/item": item +"/drive:v2/AppList/kind": kind +"/drive:v2/AppList/selfLink": self_link +"/drive:v2/Change": change +"/drive:v2/Change/deleted": deleted +"/drive:v2/Change/file": file +"/drive:v2/Change/fileId": file_id +"/drive:v2/Change/id": id +"/drive:v2/Change/kind": kind +"/drive:v2/Change/modificationDate": modification_date +"/drive:v2/Change/selfLink": self_link +"/drive:v2/ChangeList": change_list +"/drive:v2/ChangeList/etag": etag +"/drive:v2/ChangeList/items": items +"/drive:v2/ChangeList/items/item": item +"/drive:v2/ChangeList/kind": kind +"/drive:v2/ChangeList/largestChangeId": largest_change_id +"/drive:v2/ChangeList/nextLink": next_link +"/drive:v2/ChangeList/nextPageToken": next_page_token +"/drive:v2/ChangeList/selfLink": self_link +"/drive:v2/Channel": channel +"/drive:v2/Channel/address": address +"/drive:v2/Channel/expiration": expiration +"/drive:v2/Channel/id": id +"/drive:v2/Channel/kind": kind +"/drive:v2/Channel/params": params +"/drive:v2/Channel/params/param": param +"/drive:v2/Channel/payload": payload +"/drive:v2/Channel/resourceId": resource_id +"/drive:v2/Channel/resourceUri": resource_uri +"/drive:v2/Channel/token": token +"/drive:v2/Channel/type": type +"/drive:v2/ChildList": child_list +"/drive:v2/ChildList/etag": etag +"/drive:v2/ChildList/items": items +"/drive:v2/ChildList/items/item": item +"/drive:v2/ChildList/kind": kind +"/drive:v2/ChildList/nextLink": next_link +"/drive:v2/ChildList/nextPageToken": next_page_token +"/drive:v2/ChildList/selfLink": self_link +"/drive:v2/ChildReference": child_reference +"/drive:v2/ChildReference/childLink": child_link +"/drive:v2/ChildReference/id": id +"/drive:v2/ChildReference/kind": kind +"/drive:v2/ChildReference/selfLink": self_link +"/drive:v2/Comment": comment +"/drive:v2/Comment/anchor": anchor +"/drive:v2/Comment/author": author +"/drive:v2/Comment/commentId": comment_id +"/drive:v2/Comment/content": content +"/drive:v2/Comment/context": context +"/drive:v2/Comment/context/type": type +"/drive:v2/Comment/context/value": value +"/drive:v2/Comment/createdDate": created_date +"/drive:v2/Comment/deleted": deleted +"/drive:v2/Comment/fileId": file_id +"/drive:v2/Comment/fileTitle": file_title +"/drive:v2/Comment/htmlContent": html_content +"/drive:v2/Comment/kind": kind +"/drive:v2/Comment/modifiedDate": modified_date +"/drive:v2/Comment/replies": replies +"/drive:v2/Comment/replies/reply": reply +"/drive:v2/Comment/selfLink": self_link +"/drive:v2/Comment/status": status +"/drive:v2/CommentList": comment_list +"/drive:v2/CommentList/items": items +"/drive:v2/CommentList/items/item": item +"/drive:v2/CommentList/kind": kind +"/drive:v2/CommentList/nextLink": next_link +"/drive:v2/CommentList/nextPageToken": next_page_token +"/drive:v2/CommentList/selfLink": self_link +"/drive:v2/CommentReply": comment_reply +"/drive:v2/CommentReply/author": author +"/drive:v2/CommentReply/content": content +"/drive:v2/CommentReply/createdDate": created_date +"/drive:v2/CommentReply/deleted": deleted +"/drive:v2/CommentReply/htmlContent": html_content +"/drive:v2/CommentReply/kind": kind +"/drive:v2/CommentReply/modifiedDate": modified_date +"/drive:v2/CommentReply/replyId": reply_id +"/drive:v2/CommentReply/verb": verb +"/drive:v2/CommentReplyList": comment_reply_list +"/drive:v2/CommentReplyList/items": items +"/drive:v2/CommentReplyList/items/item": item +"/drive:v2/CommentReplyList/kind": kind +"/drive:v2/CommentReplyList/nextLink": next_link +"/drive:v2/CommentReplyList/nextPageToken": next_page_token +"/drive:v2/CommentReplyList/selfLink": self_link +"/drive:v2/File": file +"/drive:v2/File/alternateLink": alternate_link +"/drive:v2/File/appDataContents": app_data_contents +"/drive:v2/File/canComment": can_comment +"/drive:v2/File/canReadRevisions": can_read_revisions +"/drive:v2/File/copyable": copyable +"/drive:v2/File/createdDate": created_date +"/drive:v2/File/defaultOpenWithLink": default_open_with_link +"/drive:v2/File/description": description +"/drive:v2/File/downloadUrl": download_url +"/drive:v2/File/editable": editable +"/drive:v2/File/embedLink": embed_link +"/drive:v2/File/etag": etag +"/drive:v2/File/explicitlyTrashed": explicitly_trashed +"/drive:v2/File/exportLinks": export_links +"/drive:v2/File/exportLinks/export_link": export_link +"/drive:v2/File/fileExtension": file_extension +"/drive:v2/File/fileSize": file_size +"/drive:v2/File/folderColorRgb": folder_color_rgb +"/drive:v2/File/fullFileExtension": full_file_extension +"/drive:v2/File/hasThumbnail": has_thumbnail +"/drive:v2/File/headRevisionId": head_revision_id +"/drive:v2/File/iconLink": icon_link +"/drive:v2/File/id": id +"/drive:v2/File/imageMediaMetadata": image_media_metadata +"/drive:v2/File/imageMediaMetadata/aperture": aperture +"/drive:v2/File/imageMediaMetadata/cameraMake": camera_make +"/drive:v2/File/imageMediaMetadata/cameraModel": camera_model +"/drive:v2/File/imageMediaMetadata/colorSpace": color_space +"/drive:v2/File/imageMediaMetadata/date": date +"/drive:v2/File/imageMediaMetadata/exposureBias": exposure_bias +"/drive:v2/File/imageMediaMetadata/exposureMode": exposure_mode +"/drive:v2/File/imageMediaMetadata/exposureTime": exposure_time +"/drive:v2/File/imageMediaMetadata/flashUsed": flash_used +"/drive:v2/File/imageMediaMetadata/focalLength": focal_length +"/drive:v2/File/imageMediaMetadata/height": height +"/drive:v2/File/imageMediaMetadata/isoSpeed": iso_speed +"/drive:v2/File/imageMediaMetadata/lens": lens +"/drive:v2/File/imageMediaMetadata/location": location +"/drive:v2/File/imageMediaMetadata/location/altitude": altitude +"/drive:v2/File/imageMediaMetadata/location/latitude": latitude +"/drive:v2/File/imageMediaMetadata/location/longitude": longitude +"/drive:v2/File/imageMediaMetadata/maxApertureValue": max_aperture_value +"/drive:v2/File/imageMediaMetadata/meteringMode": metering_mode +"/drive:v2/File/imageMediaMetadata/rotation": rotation +"/drive:v2/File/imageMediaMetadata/sensor": sensor +"/drive:v2/File/imageMediaMetadata/subjectDistance": subject_distance +"/drive:v2/File/imageMediaMetadata/whiteBalance": white_balance +"/drive:v2/File/imageMediaMetadata/width": width +"/drive:v2/File/indexableText": indexable_text +"/drive:v2/File/indexableText/text": text +"/drive:v2/File/isAppAuthorized": is_app_authorized +"/drive:v2/File/kind": kind +"/drive:v2/File/labels": labels +"/drive:v2/File/labels/hidden": hidden +"/drive:v2/File/labels/modified": modified +"/drive:v2/File/labels/restricted": restricted +"/drive:v2/File/labels/starred": starred +"/drive:v2/File/labels/trashed": trashed +"/drive:v2/File/labels/viewed": viewed +"/drive:v2/File/lastModifyingUser": last_modifying_user +"/drive:v2/File/lastModifyingUserName": last_modifying_user_name +"/drive:v2/File/lastViewedByMeDate": last_viewed_by_me_date +"/drive:v2/File/markedViewedByMeDate": marked_viewed_by_me_date +"/drive:v2/File/md5Checksum": md5_checksum +"/drive:v2/File/mimeType": mime_type +"/drive:v2/File/modifiedByMeDate": modified_by_me_date +"/drive:v2/File/modifiedDate": modified_date +"/drive:v2/File/openWithLinks": open_with_links +"/drive:v2/File/openWithLinks/open_with_link": open_with_link +"/drive:v2/File/originalFilename": original_filename +"/drive:v2/File/ownedByMe": owned_by_me +"/drive:v2/File/ownerNames": owner_names +"/drive:v2/File/ownerNames/owner_name": owner_name +"/drive:v2/File/owners": owners +"/drive:v2/File/owners/owner": owner +"/drive:v2/File/parents": parents +"/drive:v2/File/parents/parent": parent +"/drive:v2/File/permissions": permissions +"/drive:v2/File/permissions/permission": permission +"/drive:v2/File/properties": properties +"/drive:v2/File/properties/property": property +"/drive:v2/File/quotaBytesUsed": quota_bytes_used +"/drive:v2/File/selfLink": self_link +"/drive:v2/File/shareable": shareable +"/drive:v2/File/shared": shared +"/drive:v2/File/sharedWithMeDate": shared_with_me_date +"/drive:v2/File/sharingUser": sharing_user +"/drive:v2/File/spaces": spaces +"/drive:v2/File/spaces/space": space +"/drive:v2/File/thumbnail": thumbnail +"/drive:v2/File/thumbnail/image": image +"/drive:v2/File/thumbnail/mimeType": mime_type +"/drive:v2/File/thumbnailLink": thumbnail_link +"/drive:v2/File/thumbnailVersion": thumbnail_version +"/drive:v2/File/title": title +"/drive:v2/File/userPermission": user_permission +"/drive:v2/File/version": version +"/drive:v2/File/videoMediaMetadata": video_media_metadata +"/drive:v2/File/videoMediaMetadata/durationMillis": duration_millis +"/drive:v2/File/videoMediaMetadata/height": height +"/drive:v2/File/videoMediaMetadata/width": width +"/drive:v2/File/webContentLink": web_content_link +"/drive:v2/File/webViewLink": web_view_link +"/drive:v2/File/writersCanShare": writers_can_share +"/drive:v2/FileList": file_list +"/drive:v2/FileList/etag": etag +"/drive:v2/FileList/items": items +"/drive:v2/FileList/items/item": item +"/drive:v2/FileList/kind": kind +"/drive:v2/FileList/nextLink": next_link +"/drive:v2/FileList/nextPageToken": next_page_token +"/drive:v2/FileList/selfLink": self_link +"/drive:v2/GeneratedIds": generated_ids +"/drive:v2/GeneratedIds/ids": ids +"/drive:v2/GeneratedIds/ids/id": id +"/drive:v2/GeneratedIds/kind": kind +"/drive:v2/GeneratedIds/space": space +"/drive:v2/ParentList": parent_list +"/drive:v2/ParentList/etag": etag +"/drive:v2/ParentList/items": items +"/drive:v2/ParentList/items/item": item +"/drive:v2/ParentList/kind": kind +"/drive:v2/ParentList/selfLink": self_link +"/drive:v2/ParentReference": parent_reference +"/drive:v2/ParentReference/id": id +"/drive:v2/ParentReference/isRoot": is_root +"/drive:v2/ParentReference/kind": kind +"/drive:v2/ParentReference/parentLink": parent_link +"/drive:v2/ParentReference/selfLink": self_link +"/drive:v2/Permission": permission +"/drive:v2/Permission/additionalRoles": additional_roles +"/drive:v2/Permission/additionalRoles/additional_role": additional_role +"/drive:v2/Permission/authKey": auth_key +"/drive:v2/Permission/domain": domain +"/drive:v2/Permission/emailAddress": email_address +"/drive:v2/Permission/etag": etag +"/drive:v2/Permission/expirationDate": expiration_date +"/drive:v2/Permission/id": id +"/drive:v2/Permission/kind": kind +"/drive:v2/Permission/name": name +"/drive:v2/Permission/photoLink": photo_link +"/drive:v2/Permission/role": role +"/drive:v2/Permission/selfLink": self_link +"/drive:v2/Permission/type": type +"/drive:v2/Permission/value": value +"/drive:v2/Permission/withLink": with_link +"/drive:v2/PermissionId": permission_id +"/drive:v2/PermissionId/id": id +"/drive:v2/PermissionId/kind": kind +"/drive:v2/PermissionList": permission_list +"/drive:v2/PermissionList/etag": etag +"/drive:v2/PermissionList/items": items +"/drive:v2/PermissionList/items/item": item +"/drive:v2/PermissionList/kind": kind +"/drive:v2/PermissionList/selfLink": self_link +"/drive:v2/Property": property +"/drive:v2/Property/etag": etag +"/drive:v2/Property/key": key +"/drive:v2/Property/kind": kind +"/drive:v2/Property/selfLink": self_link +"/drive:v2/Property/value": value +"/drive:v2/Property/visibility": visibility +"/drive:v2/PropertyList": property_list +"/drive:v2/PropertyList/etag": etag +"/drive:v2/PropertyList/items": items +"/drive:v2/PropertyList/items/item": item +"/drive:v2/PropertyList/kind": kind +"/drive:v2/PropertyList/selfLink": self_link +"/drive:v2/Revision": revision +"/drive:v2/Revision/downloadUrl": download_url +"/drive:v2/Revision/etag": etag +"/drive:v2/Revision/exportLinks": export_links +"/drive:v2/Revision/exportLinks/export_link": export_link +"/drive:v2/Revision/fileSize": file_size +"/drive:v2/Revision/id": id +"/drive:v2/Revision/kind": kind +"/drive:v2/Revision/lastModifyingUser": last_modifying_user +"/drive:v2/Revision/lastModifyingUserName": last_modifying_user_name +"/drive:v2/Revision/md5Checksum": md5_checksum +"/drive:v2/Revision/mimeType": mime_type +"/drive:v2/Revision/modifiedDate": modified_date +"/drive:v2/Revision/originalFilename": original_filename +"/drive:v2/Revision/pinned": pinned +"/drive:v2/Revision/publishAuto": publish_auto +"/drive:v2/Revision/published": published +"/drive:v2/Revision/publishedLink": published_link +"/drive:v2/Revision/publishedOutsideDomain": published_outside_domain +"/drive:v2/Revision/selfLink": self_link +"/drive:v2/RevisionList": revision_list +"/drive:v2/RevisionList/etag": etag +"/drive:v2/RevisionList/items": items +"/drive:v2/RevisionList/items/item": item +"/drive:v2/RevisionList/kind": kind +"/drive:v2/RevisionList/nextPageToken": next_page_token +"/drive:v2/RevisionList/selfLink": self_link +"/drive:v2/User": user +"/drive:v2/User/displayName": display_name +"/drive:v2/User/emailAddress": email_address +"/drive:v2/User/isAuthenticatedUser": is_authenticated_user +"/drive:v2/User/kind": kind +"/drive:v2/User/permissionId": permission_id +"/drive:v2/User/picture": picture +"/drive:v2/User/picture/url": url +"/drive:v3/fields": fields +"/drive:v3/key": key +"/drive:v3/quotaUser": quota_user +"/drive:v3/userIp": user_ip +"/drive:v3/drive.about.get": get_about +"/drive:v3/drive.changes.list": list_changes +"/drive:v3/drive.changes.list/includeRemoved": include_removed +"/drive:v3/drive.changes.list/pageSize": page_size +"/drive:v3/drive.changes.list/pageToken": page_token +"/drive:v3/drive.changes.list/restrictToMyDrive": restrict_to_my_drive +"/drive:v3/drive.changes.list/spaces": spaces +"/drive:v3/drive.changes.watch": watch_change +"/drive:v3/drive.changes.watch/includeRemoved": include_removed +"/drive:v3/drive.changes.watch/pageSize": page_size +"/drive:v3/drive.changes.watch/pageToken": page_token +"/drive:v3/drive.changes.watch/restrictToMyDrive": restrict_to_my_drive +"/drive:v3/drive.changes.watch/spaces": spaces +"/drive:v3/drive.channels.stop": stop_channel +"/drive:v3/drive.comments.create": create_comment +"/drive:v3/drive.comments.create/fileId": file_id +"/drive:v3/drive.comments.delete": delete_comment +"/drive:v3/drive.comments.delete/commentId": comment_id +"/drive:v3/drive.comments.delete/fileId": file_id +"/drive:v3/drive.comments.get": get_comment +"/drive:v3/drive.comments.get/commentId": comment_id +"/drive:v3/drive.comments.get/fileId": file_id +"/drive:v3/drive.comments.get/includeDeleted": include_deleted +"/drive:v3/drive.comments.list": list_comments +"/drive:v3/drive.comments.list/fileId": file_id +"/drive:v3/drive.comments.list/includeDeleted": include_deleted +"/drive:v3/drive.comments.list/pageSize": page_size +"/drive:v3/drive.comments.list/pageToken": page_token +"/drive:v3/drive.comments.list/startModifiedTime": start_modified_time +"/drive:v3/drive.comments.update": update_comment +"/drive:v3/drive.comments.update/commentId": comment_id +"/drive:v3/drive.comments.update/fileId": file_id +"/drive:v3/drive.files.copy": copy_file +"/drive:v3/drive.files.copy/fileId": file_id +"/drive:v3/drive.files.copy/ignoreDefaultVisibility": ignore_default_visibility +"/drive:v3/drive.files.copy/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.copy/ocrLanguage": ocr_language +"/drive:v3/drive.files.create": create_file +"/drive:v3/drive.files.create/ignoreDefaultVisibility": ignore_default_visibility +"/drive:v3/drive.files.create/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.create/ocrLanguage": ocr_language +"/drive:v3/drive.files.create/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v3/drive.files.delete": delete_file +"/drive:v3/drive.files.delete/fileId": file_id +"/drive:v3/drive.files.emptyTrash": empty_file_trash +"/drive:v3/drive.files.export": export_file +"/drive:v3/drive.files.export/fileId": file_id +"/drive:v3/drive.files.export/mimeType": mime_type +"/drive:v3/drive.files.generateIds": generate_file_ids +"/drive:v3/drive.files.generateIds/count": count +"/drive:v3/drive.files.generateIds/space": space +"/drive:v3/drive.files.get": get_file +"/drive:v3/drive.files.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.files.get/fileId": file_id +"/drive:v3/drive.files.list": list_files +"/drive:v3/drive.files.list/corpus": corpus +"/drive:v3/drive.files.list/orderBy": order_by +"/drive:v3/drive.files.list/pageSize": page_size +"/drive:v3/drive.files.list/pageToken": page_token +"/drive:v3/drive.files.list/q": q +"/drive:v3/drive.files.list/spaces": spaces +"/drive:v3/drive.files.update": update_file +"/drive:v3/drive.files.update/addParents": add_parents +"/drive:v3/drive.files.update/fileId": file_id +"/drive:v3/drive.files.update/keepRevisionForever": keep_revision_forever +"/drive:v3/drive.files.update/ocrLanguage": ocr_language +"/drive:v3/drive.files.update/removeParents": remove_parents +"/drive:v3/drive.files.update/useContentAsIndexableText": use_content_as_indexable_text +"/drive:v3/drive.files.watch": watch_file +"/drive:v3/drive.files.watch/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.files.watch/fileId": file_id +"/drive:v3/drive.permissions.create": create_permission +"/drive:v3/drive.permissions.create/emailMessage": email_message +"/drive:v3/drive.permissions.create/fileId": file_id +"/drive:v3/drive.permissions.create/sendNotificationEmail": send_notification_email +"/drive:v3/drive.permissions.create/transferOwnership": transfer_ownership +"/drive:v3/drive.permissions.delete": delete_permission +"/drive:v3/drive.permissions.delete/fileId": file_id +"/drive:v3/drive.permissions.delete/permissionId": permission_id +"/drive:v3/drive.permissions.get": get_permission +"/drive:v3/drive.permissions.get/fileId": file_id +"/drive:v3/drive.permissions.get/permissionId": permission_id +"/drive:v3/drive.permissions.list": list_permissions +"/drive:v3/drive.permissions.list/fileId": file_id +"/drive:v3/drive.permissions.update": update_permission +"/drive:v3/drive.permissions.update/fileId": file_id +"/drive:v3/drive.permissions.update/permissionId": permission_id +"/drive:v3/drive.permissions.update/removeExpiration": remove_expiration +"/drive:v3/drive.permissions.update/transferOwnership": transfer_ownership +"/drive:v3/drive.replies.create": create_reply +"/drive:v3/drive.replies.create/commentId": comment_id +"/drive:v3/drive.replies.create/fileId": file_id +"/drive:v3/drive.replies.delete": delete_reply +"/drive:v3/drive.replies.delete/commentId": comment_id +"/drive:v3/drive.replies.delete/fileId": file_id +"/drive:v3/drive.replies.delete/replyId": reply_id +"/drive:v3/drive.replies.get": get_reply +"/drive:v3/drive.replies.get/commentId": comment_id +"/drive:v3/drive.replies.get/fileId": file_id +"/drive:v3/drive.replies.get/includeDeleted": include_deleted +"/drive:v3/drive.replies.get/replyId": reply_id +"/drive:v3/drive.replies.list": list_replies +"/drive:v3/drive.replies.list/commentId": comment_id +"/drive:v3/drive.replies.list/fileId": file_id +"/drive:v3/drive.replies.list/includeDeleted": include_deleted +"/drive:v3/drive.replies.list/pageSize": page_size +"/drive:v3/drive.replies.list/pageToken": page_token +"/drive:v3/drive.replies.update": update_reply +"/drive:v3/drive.replies.update/commentId": comment_id +"/drive:v3/drive.replies.update/fileId": file_id +"/drive:v3/drive.replies.update/replyId": reply_id +"/drive:v3/drive.revisions.delete": delete_revision +"/drive:v3/drive.revisions.delete/fileId": file_id +"/drive:v3/drive.revisions.delete/revisionId": revision_id +"/drive:v3/drive.revisions.get": get_revision +"/drive:v3/drive.revisions.get/acknowledgeAbuse": acknowledge_abuse +"/drive:v3/drive.revisions.get/fileId": file_id +"/drive:v3/drive.revisions.get/revisionId": revision_id +"/drive:v3/drive.revisions.list": list_revisions +"/drive:v3/drive.revisions.list/fileId": file_id +"/drive:v3/drive.revisions.list/pageSize": page_size +"/drive:v3/drive.revisions.list/pageToken": page_token +"/drive:v3/drive.revisions.update": update_revision +"/drive:v3/drive.revisions.update/fileId": file_id +"/drive:v3/drive.revisions.update/revisionId": revision_id +"/drive:v3/About": about +"/drive:v3/About/appInstalled": app_installed +"/drive:v3/About/exportFormats": export_formats +"/drive:v3/About/exportFormats/export_format": export_format +"/drive:v3/About/exportFormats/export_format/export_format": export_format +"/drive:v3/About/folderColorPalette": folder_color_palette +"/drive:v3/About/folderColorPalette/folder_color_palette": folder_color_palette +"/drive:v3/About/importFormats": import_formats +"/drive:v3/About/importFormats/import_format": import_format +"/drive:v3/About/importFormats/import_format/import_format": import_format +"/drive:v3/About/kind": kind +"/drive:v3/About/maxImportSizes": max_import_sizes +"/drive:v3/About/maxImportSizes/max_import_size": max_import_size +"/drive:v3/About/maxUploadSize": max_upload_size +"/drive:v3/About/storageQuota": storage_quota +"/drive:v3/About/storageQuota/limit": limit +"/drive:v3/About/storageQuota/usage": usage +"/drive:v3/About/storageQuota/usageInDrive": usage_in_drive +"/drive:v3/About/storageQuota/usageInDriveTrash": usage_in_drive_trash +"/drive:v3/About/user": user +"/drive:v3/Change": change +"/drive:v3/Change/file": file +"/drive:v3/Change/fileId": file_id +"/drive:v3/Change/kind": kind +"/drive:v3/Change/removed": removed +"/drive:v3/Change/time": time +"/drive:v3/ChangeList": change_list +"/drive:v3/ChangeList/changes": changes +"/drive:v3/ChangeList/changes/change": change +"/drive:v3/ChangeList/kind": kind +"/drive:v3/ChangeList/newStartPageToken": new_start_page_token +"/drive:v3/ChangeList/nextPageToken": next_page_token +"/drive:v3/Channel": channel +"/drive:v3/Channel/address": address +"/drive:v3/Channel/expiration": expiration +"/drive:v3/Channel/id": id +"/drive:v3/Channel/kind": kind +"/drive:v3/Channel/params": params +"/drive:v3/Channel/params/param": param +"/drive:v3/Channel/payload": payload +"/drive:v3/Channel/resourceId": resource_id +"/drive:v3/Channel/resourceUri": resource_uri +"/drive:v3/Channel/token": token +"/drive:v3/Channel/type": type +"/drive:v3/Comment": comment +"/drive:v3/Comment/anchor": anchor +"/drive:v3/Comment/author": author +"/drive:v3/Comment/content": content +"/drive:v3/Comment/createdTime": created_time +"/drive:v3/Comment/deleted": deleted +"/drive:v3/Comment/htmlContent": html_content +"/drive:v3/Comment/id": id +"/drive:v3/Comment/kind": kind +"/drive:v3/Comment/modifiedTime": modified_time +"/drive:v3/Comment/quotedFileContent": quoted_file_content +"/drive:v3/Comment/quotedFileContent/mimeType": mime_type +"/drive:v3/Comment/quotedFileContent/value": value +"/drive:v3/Comment/replies": replies +"/drive:v3/Comment/replies/reply": reply +"/drive:v3/Comment/resolved": resolved +"/drive:v3/CommentList": comment_list +"/drive:v3/CommentList/comments": comments +"/drive:v3/CommentList/comments/comment": comment +"/drive:v3/CommentList/kind": kind +"/drive:v3/CommentList/nextPageToken": next_page_token +"/drive:v3/File": file +"/drive:v3/File/appProperties": app_properties +"/drive:v3/File/appProperties/app_property": app_property +"/drive:v3/File/capabilities": capabilities +"/drive:v3/File/capabilities/canComment": can_comment +"/drive:v3/File/capabilities/canCopy": can_copy +"/drive:v3/File/capabilities/canEdit": can_edit +"/drive:v3/File/capabilities/canReadRevisions": can_read_revisions +"/drive:v3/File/capabilities/canShare": can_share +"/drive:v3/File/contentHints": content_hints +"/drive:v3/File/contentHints/indexableText": indexable_text +"/drive:v3/File/contentHints/thumbnail": thumbnail +"/drive:v3/File/contentHints/thumbnail/image": image +"/drive:v3/File/contentHints/thumbnail/mimeType": mime_type +"/drive:v3/File/createdTime": created_time +"/drive:v3/File/description": description +"/drive:v3/File/explicitlyTrashed": explicitly_trashed +"/drive:v3/File/fileExtension": file_extension +"/drive:v3/File/folderColorRgb": folder_color_rgb +"/drive:v3/File/fullFileExtension": full_file_extension +"/drive:v3/File/hasThumbnail": has_thumbnail +"/drive:v3/File/headRevisionId": head_revision_id +"/drive:v3/File/iconLink": icon_link +"/drive:v3/File/id": id +"/drive:v3/File/imageMediaMetadata": image_media_metadata +"/drive:v3/File/imageMediaMetadata/aperture": aperture +"/drive:v3/File/imageMediaMetadata/cameraMake": camera_make +"/drive:v3/File/imageMediaMetadata/cameraModel": camera_model +"/drive:v3/File/imageMediaMetadata/colorSpace": color_space +"/drive:v3/File/imageMediaMetadata/exposureBias": exposure_bias +"/drive:v3/File/imageMediaMetadata/exposureMode": exposure_mode +"/drive:v3/File/imageMediaMetadata/exposureTime": exposure_time +"/drive:v3/File/imageMediaMetadata/flashUsed": flash_used +"/drive:v3/File/imageMediaMetadata/focalLength": focal_length +"/drive:v3/File/imageMediaMetadata/height": height +"/drive:v3/File/imageMediaMetadata/isoSpeed": iso_speed +"/drive:v3/File/imageMediaMetadata/lens": lens +"/drive:v3/File/imageMediaMetadata/location": location +"/drive:v3/File/imageMediaMetadata/location/altitude": altitude +"/drive:v3/File/imageMediaMetadata/location/latitude": latitude +"/drive:v3/File/imageMediaMetadata/location/longitude": longitude +"/drive:v3/File/imageMediaMetadata/maxApertureValue": max_aperture_value +"/drive:v3/File/imageMediaMetadata/meteringMode": metering_mode +"/drive:v3/File/imageMediaMetadata/rotation": rotation +"/drive:v3/File/imageMediaMetadata/sensor": sensor +"/drive:v3/File/imageMediaMetadata/subjectDistance": subject_distance +"/drive:v3/File/imageMediaMetadata/time": time +"/drive:v3/File/imageMediaMetadata/whiteBalance": white_balance +"/drive:v3/File/imageMediaMetadata/width": width +"/drive:v3/File/isAppAuthorized": is_app_authorized +"/drive:v3/File/kind": kind +"/drive:v3/File/lastModifyingUser": last_modifying_user +"/drive:v3/File/md5Checksum": md5_checksum +"/drive:v3/File/mimeType": mime_type +"/drive:v3/File/modifiedByMe": modified_by_me +"/drive:v3/File/modifiedByMeTime": modified_by_me_time +"/drive:v3/File/modifiedTime": modified_time +"/drive:v3/File/name": name +"/drive:v3/File/originalFilename": original_filename +"/drive:v3/File/ownedByMe": owned_by_me +"/drive:v3/File/owners": owners +"/drive:v3/File/owners/owner": owner +"/drive:v3/File/parents": parents +"/drive:v3/File/parents/parent": parent +"/drive:v3/File/permissions": permissions +"/drive:v3/File/permissions/permission": permission +"/drive:v3/File/properties": properties +"/drive:v3/File/properties/property": property +"/drive:v3/File/quotaBytesUsed": quota_bytes_used +"/drive:v3/File/shared": shared +"/drive:v3/File/sharedWithMeTime": shared_with_me_time +"/drive:v3/File/sharingUser": sharing_user +"/drive:v3/File/size": size +"/drive:v3/File/spaces": spaces +"/drive:v3/File/spaces/space": space +"/drive:v3/File/starred": starred +"/drive:v3/File/thumbnailLink": thumbnail_link +"/drive:v3/File/thumbnailVersion": thumbnail_version +"/drive:v3/File/trashed": trashed +"/drive:v3/File/version": version +"/drive:v3/File/videoMediaMetadata": video_media_metadata +"/drive:v3/File/videoMediaMetadata/durationMillis": duration_millis +"/drive:v3/File/videoMediaMetadata/height": height +"/drive:v3/File/videoMediaMetadata/width": width +"/drive:v3/File/viewedByMe": viewed_by_me +"/drive:v3/File/viewedByMeTime": viewed_by_me_time +"/drive:v3/File/viewersCanCopyContent": viewers_can_copy_content +"/drive:v3/File/webContentLink": web_content_link +"/drive:v3/File/webViewLink": web_view_link +"/drive:v3/File/writersCanShare": writers_can_share +"/drive:v3/FileList": file_list +"/drive:v3/FileList/files": files +"/drive:v3/FileList/files/file": file +"/drive:v3/FileList/kind": kind +"/drive:v3/FileList/nextPageToken": next_page_token +"/drive:v3/GeneratedIds": generated_ids +"/drive:v3/GeneratedIds/ids": ids +"/drive:v3/GeneratedIds/ids/id": id +"/drive:v3/GeneratedIds/kind": kind +"/drive:v3/GeneratedIds/space": space +"/drive:v3/Permission": permission +"/drive:v3/Permission/allowFileDiscovery": allow_file_discovery +"/drive:v3/Permission/displayName": display_name +"/drive:v3/Permission/domain": domain +"/drive:v3/Permission/emailAddress": email_address +"/drive:v3/Permission/expirationTime": expiration_time +"/drive:v3/Permission/id": id +"/drive:v3/Permission/kind": kind +"/drive:v3/Permission/photoLink": photo_link +"/drive:v3/Permission/role": role +"/drive:v3/Permission/type": type +"/drive:v3/PermissionList": permission_list +"/drive:v3/PermissionList/kind": kind +"/drive:v3/PermissionList/permissions": permissions +"/drive:v3/PermissionList/permissions/permission": permission +"/drive:v3/Reply": reply +"/drive:v3/Reply/action": action +"/drive:v3/Reply/author": author +"/drive:v3/Reply/content": content +"/drive:v3/Reply/createdTime": created_time +"/drive:v3/Reply/deleted": deleted +"/drive:v3/Reply/htmlContent": html_content +"/drive:v3/Reply/id": id +"/drive:v3/Reply/kind": kind +"/drive:v3/Reply/modifiedTime": modified_time +"/drive:v3/ReplyList": reply_list +"/drive:v3/ReplyList/kind": kind +"/drive:v3/ReplyList/nextPageToken": next_page_token +"/drive:v3/ReplyList/replies": replies +"/drive:v3/ReplyList/replies/reply": reply +"/drive:v3/Revision": revision +"/drive:v3/Revision/id": id +"/drive:v3/Revision/keepForever": keep_forever +"/drive:v3/Revision/kind": kind +"/drive:v3/Revision/lastModifyingUser": last_modifying_user +"/drive:v3/Revision/md5Checksum": md5_checksum +"/drive:v3/Revision/mimeType": mime_type +"/drive:v3/Revision/modifiedTime": modified_time +"/drive:v3/Revision/originalFilename": original_filename +"/drive:v3/Revision/publishAuto": publish_auto +"/drive:v3/Revision/published": published +"/drive:v3/Revision/publishedOutsideDomain": published_outside_domain +"/drive:v3/Revision/size": size +"/drive:v3/RevisionList": revision_list +"/drive:v3/RevisionList/kind": kind +"/drive:v3/RevisionList/nextPageToken": next_page_token +"/drive:v3/RevisionList/revisions": revisions +"/drive:v3/RevisionList/revisions/revision": revision +"/drive:v3/StartPageToken": start_page_token +"/drive:v3/StartPageToken/kind": kind +"/drive:v3/StartPageToken/startPageToken": start_page_token +"/drive:v3/User": user +"/drive:v3/User/displayName": display_name +"/drive:v3/User/emailAddress": email_address +"/drive:v3/User/kind": kind +"/drive:v3/User/me": me +"/drive:v3/User/permissionId": permission_id +"/drive:v3/User/photoLink": photo_link +"/fitness:v1/fields": fields +"/fitness:v1/key": key +"/fitness:v1/quotaUser": quota_user +"/fitness:v1/userIp": user_ip +"/fitness:v1/fitness.users.dataSources.create": create_user_data_source +"/fitness:v1/fitness.users.dataSources.create/userId": user_id +"/fitness:v1/fitness.users.dataSources.delete": delete_user_data_source +"/fitness:v1/fitness.users.dataSources.delete/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.delete/userId": user_id +"/fitness:v1/fitness.users.dataSources.get": get_user_data_source +"/fitness:v1/fitness.users.dataSources.get/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.get/userId": user_id +"/fitness:v1/fitness.users.dataSources.list": list_user_data_sources +"/fitness:v1/fitness.users.dataSources.list/dataTypeName": data_type_name +"/fitness:v1/fitness.users.dataSources.list/userId": user_id +"/fitness:v1/fitness.users.dataSources.patch": patch_user_data_source +"/fitness:v1/fitness.users.dataSources.patch/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.patch/userId": user_id +"/fitness:v1/fitness.users.dataSources.update": update_user_data_source +"/fitness:v1/fitness.users.dataSources.update/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.update/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.delete": delete_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.delete/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.delete/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.delete/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.delete/modifiedTimeMillis": modified_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.delete/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.get": get_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.get/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.get/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.get/limit": limit +"/fitness:v1/fitness.users.dataSources.datasets.get/pageToken": page_token +"/fitness:v1/fitness.users.dataSources.datasets.get/userId": user_id +"/fitness:v1/fitness.users.dataSources.datasets.patch": patch_user_data_source_dataset +"/fitness:v1/fitness.users.dataSources.datasets.patch/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.dataSources.datasets.patch/dataSourceId": data_source_id +"/fitness:v1/fitness.users.dataSources.datasets.patch/datasetId": dataset_id +"/fitness:v1/fitness.users.dataSources.datasets.patch/userId": user_id +"/fitness:v1/fitness.users.dataset.aggregate": aggregate_dataset +"/fitness:v1/fitness.users.dataset.aggregate/userId": user_id +"/fitness:v1/fitness.users.sessions.delete": delete_user_session +"/fitness:v1/fitness.users.sessions.delete/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.sessions.delete/sessionId": session_id +"/fitness:v1/fitness.users.sessions.delete/userId": user_id +"/fitness:v1/fitness.users.sessions.list": list_user_sessions +"/fitness:v1/fitness.users.sessions.list/endTime": end_time +"/fitness:v1/fitness.users.sessions.list/includeDeleted": include_deleted +"/fitness:v1/fitness.users.sessions.list/pageToken": page_token +"/fitness:v1/fitness.users.sessions.list/startTime": start_time +"/fitness:v1/fitness.users.sessions.list/userId": user_id +"/fitness:v1/fitness.users.sessions.update": update_user_session +"/fitness:v1/fitness.users.sessions.update/currentTimeMillis": current_time_millis +"/fitness:v1/fitness.users.sessions.update/sessionId": session_id +"/fitness:v1/fitness.users.sessions.update/userId": user_id +"/fitness:v1/AggregateBucket": aggregate_bucket +"/fitness:v1/AggregateBucket/activity": activity +"/fitness:v1/AggregateBucket/dataset": dataset +"/fitness:v1/AggregateBucket/dataset/dataset": dataset +"/fitness:v1/AggregateBucket/endTimeMillis": end_time_millis +"/fitness:v1/AggregateBucket/session": session +"/fitness:v1/AggregateBucket/startTimeMillis": start_time_millis +"/fitness:v1/AggregateBucket/type": type +"/fitness:v1/AggregateBy": aggregate_by +"/fitness:v1/AggregateBy/dataSourceId": data_source_id +"/fitness:v1/AggregateBy/dataTypeName": data_type_name +"/fitness:v1/AggregateRequest": aggregate_request +"/fitness:v1/AggregateRequest/aggregateBy": aggregate_by +"/fitness:v1/AggregateRequest/aggregateBy/aggregate_by": aggregate_by +"/fitness:v1/AggregateRequest/bucketByActivitySegment": bucket_by_activity_segment +"/fitness:v1/AggregateRequest/bucketByActivityType": bucket_by_activity_type +"/fitness:v1/AggregateRequest/bucketBySession": bucket_by_session +"/fitness:v1/AggregateRequest/bucketByTime": bucket_by_time +"/fitness:v1/AggregateRequest/endTimeMillis": end_time_millis +"/fitness:v1/AggregateRequest/filteredDataQualityStandard": filtered_data_quality_standard +"/fitness:v1/AggregateRequest/filteredDataQualityStandard/filtered_data_quality_standard": filtered_data_quality_standard +"/fitness:v1/AggregateRequest/startTimeMillis": start_time_millis +"/fitness:v1/AggregateResponse": aggregate_response +"/fitness:v1/AggregateResponse/bucket": bucket +"/fitness:v1/AggregateResponse/bucket/bucket": bucket +"/fitness:v1/Application": application +"/fitness:v1/Application/detailsUrl": details_url +"/fitness:v1/Application/name": name +"/fitness:v1/Application/packageName": package_name +"/fitness:v1/Application/version": version +"/fitness:v1/BucketByActivity": bucket_by_activity +"/fitness:v1/BucketByActivity/activityDataSourceId": activity_data_source_id +"/fitness:v1/BucketByActivity/minDurationMillis": min_duration_millis +"/fitness:v1/BucketBySession": bucket_by_session +"/fitness:v1/BucketBySession/minDurationMillis": min_duration_millis +"/fitness:v1/BucketByTime": bucket_by_time +"/fitness:v1/BucketByTime/durationMillis": duration_millis +"/fitness:v1/BucketByTime/period": period +"/fitness:v1/BucketByTimePeriod": bucket_by_time_period +"/fitness:v1/BucketByTimePeriod/timeZoneId": time_zone_id +"/fitness:v1/BucketByTimePeriod/type": type +"/fitness:v1/BucketByTimePeriod/value": value +"/fitness:v1/DataPoint": data_point +"/fitness:v1/DataPoint/computationTimeMillis": computation_time_millis +"/fitness:v1/DataPoint/dataTypeName": data_type_name +"/fitness:v1/DataPoint/endTimeNanos": end_time_nanos +"/fitness:v1/DataPoint/modifiedTimeMillis": modified_time_millis +"/fitness:v1/DataPoint/originDataSourceId": origin_data_source_id +"/fitness:v1/DataPoint/rawTimestampNanos": raw_timestamp_nanos +"/fitness:v1/DataPoint/startTimeNanos": start_time_nanos +"/fitness:v1/DataPoint/value": value +"/fitness:v1/DataPoint/value/value": value +"/fitness:v1/DataSource": data_source +"/fitness:v1/DataSource/application": application +"/fitness:v1/DataSource/dataQualityStandard": data_quality_standard +"/fitness:v1/DataSource/dataQualityStandard/data_quality_standard": data_quality_standard +"/fitness:v1/DataSource/dataStreamId": data_stream_id +"/fitness:v1/DataSource/dataStreamName": data_stream_name +"/fitness:v1/DataSource/dataType": data_type +"/fitness:v1/DataSource/device": device +"/fitness:v1/DataSource/name": name +"/fitness:v1/DataSource/type": type +"/fitness:v1/DataType": data_type +"/fitness:v1/DataType/field": field +"/fitness:v1/DataType/field/field": field +"/fitness:v1/DataType/name": name +"/fitness:v1/DataTypeField": data_type_field +"/fitness:v1/DataTypeField/format": format +"/fitness:v1/DataTypeField/name": name +"/fitness:v1/DataTypeField/optional": optional +"/fitness:v1/Dataset": dataset +"/fitness:v1/Dataset/dataSourceId": data_source_id +"/fitness:v1/Dataset/maxEndTimeNs": max_end_time_ns +"/fitness:v1/Dataset/minStartTimeNs": min_start_time_ns +"/fitness:v1/Dataset/nextPageToken": next_page_token +"/fitness:v1/Dataset/point": point +"/fitness:v1/Dataset/point/point": point +"/fitness:v1/Device": device +"/fitness:v1/Device/manufacturer": manufacturer +"/fitness:v1/Device/model": model +"/fitness:v1/Device/type": type +"/fitness:v1/Device/uid": uid +"/fitness:v1/Device/version": version +"/fitness:v1/ListDataSourcesResponse": list_data_sources_response +"/fitness:v1/ListDataSourcesResponse/dataSource": data_source +"/fitness:v1/ListDataSourcesResponse/dataSource/data_source": data_source +"/fitness:v1/ListSessionsResponse": list_sessions_response +"/fitness:v1/ListSessionsResponse/deletedSession": deleted_session +"/fitness:v1/ListSessionsResponse/deletedSession/deleted_session": deleted_session +"/fitness:v1/ListSessionsResponse/hasMoreData": has_more_data +"/fitness:v1/ListSessionsResponse/nextPageToken": next_page_token +"/fitness:v1/ListSessionsResponse/session": session +"/fitness:v1/ListSessionsResponse/session/session": session +"/fitness:v1/MapValue": map_value +"/fitness:v1/MapValue/fpVal": fp_val +"/fitness:v1/Session": session +"/fitness:v1/Session/activeTimeMillis": active_time_millis +"/fitness:v1/Session/activityType": activity_type +"/fitness:v1/Session/application": application +"/fitness:v1/Session/description": description +"/fitness:v1/Session/endTimeMillis": end_time_millis +"/fitness:v1/Session/id": id +"/fitness:v1/Session/modifiedTimeMillis": modified_time_millis +"/fitness:v1/Session/name": name +"/fitness:v1/Session/startTimeMillis": start_time_millis +"/fitness:v1/Value": value +"/fitness:v1/Value/fpVal": fp_val +"/fitness:v1/Value/intVal": int_val +"/fitness:v1/Value/mapVal": map_val +"/fitness:v1/Value/mapVal/map_val": map_val +"/fitness:v1/Value/stringVal": string_val +"/fitness:v1/ValueMapValEntry": value_map_val_entry +"/fitness:v1/ValueMapValEntry/key": key +"/fitness:v1/ValueMapValEntry/value": value +"/fusiontables:v2/fields": fields +"/fusiontables:v2/key": key +"/fusiontables:v2/quotaUser": quota_user +"/fusiontables:v2/userIp": user_ip +"/fusiontables:v2/fusiontables.column.delete": delete_column +"/fusiontables:v2/fusiontables.column.delete/columnId": column_id +"/fusiontables:v2/fusiontables.column.delete/tableId": table_id +"/fusiontables:v2/fusiontables.column.get": get_column +"/fusiontables:v2/fusiontables.column.get/columnId": column_id +"/fusiontables:v2/fusiontables.column.get/tableId": table_id +"/fusiontables:v2/fusiontables.column.insert": insert_column +"/fusiontables:v2/fusiontables.column.insert/tableId": table_id +"/fusiontables:v2/fusiontables.column.list": list_columns +"/fusiontables:v2/fusiontables.column.list/maxResults": max_results +"/fusiontables:v2/fusiontables.column.list/pageToken": page_token +"/fusiontables:v2/fusiontables.column.list/tableId": table_id +"/fusiontables:v2/fusiontables.column.patch": patch_column +"/fusiontables:v2/fusiontables.column.patch/columnId": column_id +"/fusiontables:v2/fusiontables.column.patch/tableId": table_id +"/fusiontables:v2/fusiontables.column.update": update_column +"/fusiontables:v2/fusiontables.column.update/columnId": column_id +"/fusiontables:v2/fusiontables.column.update/tableId": table_id +"/fusiontables:v2/fusiontables.query.sql": sql_query +"/fusiontables:v2/fusiontables.query.sql/hdrs": hdrs +"/fusiontables:v2/fusiontables.query.sql/sql": sql +"/fusiontables:v2/fusiontables.query.sql/typed": typed +"/fusiontables:v2/fusiontables.query.sqlGet": sql_query_get +"/fusiontables:v2/fusiontables.query.sqlGet/hdrs": hdrs +"/fusiontables:v2/fusiontables.query.sqlGet/sql": sql +"/fusiontables:v2/fusiontables.query.sqlGet/typed": typed +"/fusiontables:v2/fusiontables.style.delete": delete_style +"/fusiontables:v2/fusiontables.style.delete/styleId": style_id +"/fusiontables:v2/fusiontables.style.delete/tableId": table_id +"/fusiontables:v2/fusiontables.style.get": get_style +"/fusiontables:v2/fusiontables.style.get/styleId": style_id +"/fusiontables:v2/fusiontables.style.get/tableId": table_id +"/fusiontables:v2/fusiontables.style.insert": insert_style +"/fusiontables:v2/fusiontables.style.insert/tableId": table_id +"/fusiontables:v2/fusiontables.style.list": list_styles +"/fusiontables:v2/fusiontables.style.list/maxResults": max_results +"/fusiontables:v2/fusiontables.style.list/pageToken": page_token +"/fusiontables:v2/fusiontables.style.list/tableId": table_id +"/fusiontables:v2/fusiontables.style.patch": patch_style +"/fusiontables:v2/fusiontables.style.patch/styleId": style_id +"/fusiontables:v2/fusiontables.style.patch/tableId": table_id +"/fusiontables:v2/fusiontables.style.update": update_style +"/fusiontables:v2/fusiontables.style.update/styleId": style_id +"/fusiontables:v2/fusiontables.style.update/tableId": table_id +"/fusiontables:v2/fusiontables.table.copy": copy_table +"/fusiontables:v2/fusiontables.table.copy/copyPresentation": copy_presentation +"/fusiontables:v2/fusiontables.table.copy/tableId": table_id +"/fusiontables:v2/fusiontables.table.delete": delete_table +"/fusiontables:v2/fusiontables.table.delete/tableId": table_id +"/fusiontables:v2/fusiontables.table.get": get_table +"/fusiontables:v2/fusiontables.table.get/tableId": table_id +"/fusiontables:v2/fusiontables.table.importRows/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.importRows/encoding": encoding +"/fusiontables:v2/fusiontables.table.importRows/endLine": end_line +"/fusiontables:v2/fusiontables.table.importRows/isStrict": is_strict +"/fusiontables:v2/fusiontables.table.importRows/startLine": start_line +"/fusiontables:v2/fusiontables.table.importRows/tableId": table_id +"/fusiontables:v2/fusiontables.table.importTable/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.importTable/encoding": encoding +"/fusiontables:v2/fusiontables.table.importTable/name": name +"/fusiontables:v2/fusiontables.table.insert": insert_table +"/fusiontables:v2/fusiontables.table.list": list_tables +"/fusiontables:v2/fusiontables.table.list/maxResults": max_results +"/fusiontables:v2/fusiontables.table.list/pageToken": page_token +"/fusiontables:v2/fusiontables.table.patch": patch_table +"/fusiontables:v2/fusiontables.table.patch/replaceViewDefinition": replace_view_definition +"/fusiontables:v2/fusiontables.table.patch/tableId": table_id +"/fusiontables:v2/fusiontables.table.replaceRows": replace_table_rows +"/fusiontables:v2/fusiontables.table.replaceRows/delimiter": delimiter +"/fusiontables:v2/fusiontables.table.replaceRows/encoding": encoding +"/fusiontables:v2/fusiontables.table.replaceRows/endLine": end_line +"/fusiontables:v2/fusiontables.table.replaceRows/isStrict": is_strict +"/fusiontables:v2/fusiontables.table.replaceRows/startLine": start_line +"/fusiontables:v2/fusiontables.table.replaceRows/tableId": table_id +"/fusiontables:v2/fusiontables.table.update": update_table +"/fusiontables:v2/fusiontables.table.update/replaceViewDefinition": replace_view_definition +"/fusiontables:v2/fusiontables.table.update/tableId": table_id +"/fusiontables:v2/fusiontables.task.delete": delete_task +"/fusiontables:v2/fusiontables.task.delete/tableId": table_id +"/fusiontables:v2/fusiontables.task.delete/taskId": task_id +"/fusiontables:v2/fusiontables.task.get": get_task +"/fusiontables:v2/fusiontables.task.get/tableId": table_id +"/fusiontables:v2/fusiontables.task.get/taskId": task_id +"/fusiontables:v2/fusiontables.task.list": list_tasks +"/fusiontables:v2/fusiontables.task.list/maxResults": max_results +"/fusiontables:v2/fusiontables.task.list/pageToken": page_token +"/fusiontables:v2/fusiontables.task.list/startIndex": start_index +"/fusiontables:v2/fusiontables.task.list/tableId": table_id +"/fusiontables:v2/fusiontables.template.delete": delete_template +"/fusiontables:v2/fusiontables.template.delete/tableId": table_id +"/fusiontables:v2/fusiontables.template.delete/templateId": template_id +"/fusiontables:v2/fusiontables.template.get": get_template +"/fusiontables:v2/fusiontables.template.get/tableId": table_id +"/fusiontables:v2/fusiontables.template.get/templateId": template_id +"/fusiontables:v2/fusiontables.template.insert": insert_template +"/fusiontables:v2/fusiontables.template.insert/tableId": table_id +"/fusiontables:v2/fusiontables.template.list": list_templates +"/fusiontables:v2/fusiontables.template.list/maxResults": max_results +"/fusiontables:v2/fusiontables.template.list/pageToken": page_token +"/fusiontables:v2/fusiontables.template.list/tableId": table_id +"/fusiontables:v2/fusiontables.template.patch": patch_template +"/fusiontables:v2/fusiontables.template.patch/tableId": table_id +"/fusiontables:v2/fusiontables.template.patch/templateId": template_id +"/fusiontables:v2/fusiontables.template.update": update_template +"/fusiontables:v2/fusiontables.template.update/tableId": table_id +"/fusiontables:v2/fusiontables.template.update/templateId": template_id +"/fusiontables:v2/Bucket": bucket +"/fusiontables:v2/Bucket/color": color +"/fusiontables:v2/Bucket/icon": icon +"/fusiontables:v2/Bucket/max": max +"/fusiontables:v2/Bucket/min": min +"/fusiontables:v2/Bucket/opacity": opacity +"/fusiontables:v2/Bucket/weight": weight +"/fusiontables:v2/Column": column +"/fusiontables:v2/Column/baseColumn": base_column +"/fusiontables:v2/Column/baseColumn/columnId": column_id +"/fusiontables:v2/Column/baseColumn/tableIndex": table_index +"/fusiontables:v2/Column/columnId": column_id +"/fusiontables:v2/Column/columnJsonSchema": column_json_schema +"/fusiontables:v2/Column/columnPropertiesJson": column_properties_json +"/fusiontables:v2/Column/description": description +"/fusiontables:v2/Column/formatPattern": format_pattern +"/fusiontables:v2/Column/graphPredicate": graph_predicate +"/fusiontables:v2/Column/kind": kind +"/fusiontables:v2/Column/name": name +"/fusiontables:v2/Column/type": type +"/fusiontables:v2/Column/validValues": valid_values +"/fusiontables:v2/Column/validValues/valid_value": valid_value +"/fusiontables:v2/Column/validateData": validate_data +"/fusiontables:v2/ColumnList": column_list +"/fusiontables:v2/ColumnList/items": items +"/fusiontables:v2/ColumnList/items/item": item +"/fusiontables:v2/ColumnList/kind": kind +"/fusiontables:v2/ColumnList/nextPageToken": next_page_token +"/fusiontables:v2/ColumnList/totalItems": total_items +"/fusiontables:v2/Geometry": geometry +"/fusiontables:v2/Geometry/geometries": geometries +"/fusiontables:v2/Geometry/geometries/geometry": geometry +"/fusiontables:v2/Geometry/geometry": geometry +"/fusiontables:v2/Geometry/type": type +"/fusiontables:v2/Import": import +"/fusiontables:v2/Import/kind": kind +"/fusiontables:v2/Import/numRowsReceived": num_rows_received +"/fusiontables:v2/Line": line +"/fusiontables:v2/Line/coordinates": coordinates +"/fusiontables:v2/Line/coordinates/coordinate": coordinate +"/fusiontables:v2/Line/coordinates/coordinate/coordinate": coordinate +"/fusiontables:v2/Line/type": type +"/fusiontables:v2/LineStyle": line_style +"/fusiontables:v2/LineStyle/strokeColor": stroke_color +"/fusiontables:v2/LineStyle/strokeColorStyler": stroke_color_styler +"/fusiontables:v2/LineStyle/strokeOpacity": stroke_opacity +"/fusiontables:v2/LineStyle/strokeWeight": stroke_weight +"/fusiontables:v2/LineStyle/strokeWeightStyler": stroke_weight_styler +"/fusiontables:v2/Point": point +"/fusiontables:v2/Point/coordinates": coordinates +"/fusiontables:v2/Point/coordinates/coordinate": coordinate +"/fusiontables:v2/Point/type": type +"/fusiontables:v2/PointStyle": point_style +"/fusiontables:v2/PointStyle/iconName": icon_name +"/fusiontables:v2/PointStyle/iconStyler": icon_styler +"/fusiontables:v2/Polygon": polygon +"/fusiontables:v2/Polygon/coordinates": coordinates +"/fusiontables:v2/Polygon/coordinates/coordinate": coordinate +"/fusiontables:v2/Polygon/coordinates/coordinate/coordinate": coordinate +"/fusiontables:v2/Polygon/coordinates/coordinate/coordinate/coordinate": coordinate +"/fusiontables:v2/Polygon/type": type +"/fusiontables:v2/PolygonStyle": polygon_style +"/fusiontables:v2/PolygonStyle/fillColor": fill_color +"/fusiontables:v2/PolygonStyle/fillColorStyler": fill_color_styler +"/fusiontables:v2/PolygonStyle/fillOpacity": fill_opacity +"/fusiontables:v2/PolygonStyle/strokeColor": stroke_color +"/fusiontables:v2/PolygonStyle/strokeColorStyler": stroke_color_styler +"/fusiontables:v2/PolygonStyle/strokeOpacity": stroke_opacity +"/fusiontables:v2/PolygonStyle/strokeWeight": stroke_weight +"/fusiontables:v2/PolygonStyle/strokeWeightStyler": stroke_weight_styler +"/fusiontables:v2/Sqlresponse": sqlresponse +"/fusiontables:v2/Sqlresponse/columns": columns +"/fusiontables:v2/Sqlresponse/columns/column": column +"/fusiontables:v2/Sqlresponse/kind": kind +"/fusiontables:v2/Sqlresponse/rows": rows +"/fusiontables:v2/Sqlresponse/rows/row": row +"/fusiontables:v2/Sqlresponse/rows/row/row": row +"/fusiontables:v2/StyleFunction": style_function +"/fusiontables:v2/StyleFunction/buckets": buckets +"/fusiontables:v2/StyleFunction/buckets/bucket": bucket +"/fusiontables:v2/StyleFunction/columnName": column_name +"/fusiontables:v2/StyleFunction/gradient": gradient +"/fusiontables:v2/StyleFunction/gradient/colors": colors +"/fusiontables:v2/StyleFunction/gradient/colors/color": color +"/fusiontables:v2/StyleFunction/gradient/colors/color/color": color +"/fusiontables:v2/StyleFunction/gradient/colors/color/opacity": opacity +"/fusiontables:v2/StyleFunction/gradient/max": max +"/fusiontables:v2/StyleFunction/gradient/min": min +"/fusiontables:v2/StyleFunction/kind": kind +"/fusiontables:v2/StyleSetting": style_setting +"/fusiontables:v2/StyleSetting/kind": kind +"/fusiontables:v2/StyleSetting/markerOptions": marker_options +"/fusiontables:v2/StyleSetting/name": name +"/fusiontables:v2/StyleSetting/polygonOptions": polygon_options +"/fusiontables:v2/StyleSetting/polylineOptions": polyline_options +"/fusiontables:v2/StyleSetting/styleId": style_id +"/fusiontables:v2/StyleSetting/tableId": table_id +"/fusiontables:v2/StyleSettingList": style_setting_list +"/fusiontables:v2/StyleSettingList/items": items +"/fusiontables:v2/StyleSettingList/items/item": item +"/fusiontables:v2/StyleSettingList/kind": kind +"/fusiontables:v2/StyleSettingList/nextPageToken": next_page_token +"/fusiontables:v2/StyleSettingList/totalItems": total_items +"/fusiontables:v2/Table": table +"/fusiontables:v2/Table/attribution": attribution +"/fusiontables:v2/Table/attributionLink": attribution_link +"/fusiontables:v2/Table/baseTableIds": base_table_ids +"/fusiontables:v2/Table/baseTableIds/base_table_id": base_table_id +"/fusiontables:v2/Table/columnPropertiesJsonSchema": column_properties_json_schema +"/fusiontables:v2/Table/columns": columns +"/fusiontables:v2/Table/columns/column": column +"/fusiontables:v2/Table/description": description +"/fusiontables:v2/Table/isExportable": is_exportable +"/fusiontables:v2/Table/kind": kind +"/fusiontables:v2/Table/name": name +"/fusiontables:v2/Table/sql": sql +"/fusiontables:v2/Table/tableId": table_id +"/fusiontables:v2/Table/tablePropertiesJson": table_properties_json +"/fusiontables:v2/Table/tablePropertiesJsonSchema": table_properties_json_schema +"/fusiontables:v2/TableList": table_list +"/fusiontables:v2/TableList/items": items +"/fusiontables:v2/TableList/items/item": item +"/fusiontables:v2/TableList/kind": kind +"/fusiontables:v2/TableList/nextPageToken": next_page_token +"/fusiontables:v2/Task": task +"/fusiontables:v2/Task/kind": kind +"/fusiontables:v2/Task/progress": progress +"/fusiontables:v2/Task/started": started +"/fusiontables:v2/Task/taskId": task_id +"/fusiontables:v2/Task/type": type +"/fusiontables:v2/TaskList": task_list +"/fusiontables:v2/TaskList/items": items +"/fusiontables:v2/TaskList/items/item": item +"/fusiontables:v2/TaskList/kind": kind +"/fusiontables:v2/TaskList/nextPageToken": next_page_token +"/fusiontables:v2/TaskList/totalItems": total_items +"/fusiontables:v2/Template": template +"/fusiontables:v2/Template/automaticColumnNames": automatic_column_names +"/fusiontables:v2/Template/automaticColumnNames/automatic_column_name": automatic_column_name +"/fusiontables:v2/Template/body": body +"/fusiontables:v2/Template/kind": kind +"/fusiontables:v2/Template/name": name +"/fusiontables:v2/Template/tableId": table_id +"/fusiontables:v2/Template/templateId": template_id +"/fusiontables:v2/TemplateList": template_list +"/fusiontables:v2/TemplateList/items": items +"/fusiontables:v2/TemplateList/items/item": item +"/fusiontables:v2/TemplateList/kind": kind +"/fusiontables:v2/TemplateList/nextPageToken": next_page_token +"/fusiontables:v2/TemplateList/totalItems": total_items +"/games:v1/fields": fields +"/games:v1/key": key +"/games:v1/quotaUser": quota_user +"/games:v1/userIp": user_ip +"/games:v1/games.achievementDefinitions.list": list_achievement_definitions +"/games:v1/games.achievementDefinitions.list/consistencyToken": consistency_token +"/games:v1/games.achievementDefinitions.list/language": language +"/games:v1/games.achievementDefinitions.list/maxResults": max_results +"/games:v1/games.achievementDefinitions.list/pageToken": page_token +"/games:v1/games.achievements.increment": increment_achievement +"/games:v1/games.achievements.increment/achievementId": achievement_id +"/games:v1/games.achievements.increment/consistencyToken": consistency_token +"/games:v1/games.achievements.increment/requestId": request_id +"/games:v1/games.achievements.increment/stepsToIncrement": steps_to_increment +"/games:v1/games.achievements.list": list_achievements +"/games:v1/games.achievements.list/consistencyToken": consistency_token +"/games:v1/games.achievements.list/language": language +"/games:v1/games.achievements.list/maxResults": max_results +"/games:v1/games.achievements.list/pageToken": page_token +"/games:v1/games.achievements.list/playerId": player_id +"/games:v1/games.achievements.list/state": state +"/games:v1/games.achievements.reveal": reveal_achievement +"/games:v1/games.achievements.reveal/achievementId": achievement_id +"/games:v1/games.achievements.reveal/consistencyToken": consistency_token +"/games:v1/games.achievements.setStepsAtLeast": set_achievement_steps_at_least +"/games:v1/games.achievements.setStepsAtLeast/achievementId": achievement_id +"/games:v1/games.achievements.setStepsAtLeast/consistencyToken": consistency_token +"/games:v1/games.achievements.setStepsAtLeast/steps": steps +"/games:v1/games.achievements.unlock": unlock_achievement +"/games:v1/games.achievements.unlock/achievementId": achievement_id +"/games:v1/games.achievements.unlock/consistencyToken": consistency_token +"/games:v1/games.achievements.updateMultiple/consistencyToken": consistency_token +"/games:v1/games.applications.get": get_application +"/games:v1/games.applications.get/applicationId": application_id +"/games:v1/games.applications.get/consistencyToken": consistency_token +"/games:v1/games.applications.get/language": language +"/games:v1/games.applications.get/platformType": platform_type +"/games:v1/games.applications.played": played_application +"/games:v1/games.applications.played/consistencyToken": consistency_token +"/games:v1/games.applications.verify": verify_application +"/games:v1/games.applications.verify/applicationId": application_id +"/games:v1/games.applications.verify/consistencyToken": consistency_token +"/games:v1/games.events.listByPlayer": list_event_by_player +"/games:v1/games.events.listByPlayer/consistencyToken": consistency_token +"/games:v1/games.events.listByPlayer/language": language +"/games:v1/games.events.listByPlayer/maxResults": max_results +"/games:v1/games.events.listByPlayer/pageToken": page_token +"/games:v1/games.events.listDefinitions/consistencyToken": consistency_token +"/games:v1/games.events.listDefinitions/language": language +"/games:v1/games.events.listDefinitions/maxResults": max_results +"/games:v1/games.events.listDefinitions/pageToken": page_token +"/games:v1/games.events.record": record_event +"/games:v1/games.events.record/consistencyToken": consistency_token +"/games:v1/games.events.record/language": language +"/games:v1/games.leaderboards.get": get_leaderboard +"/games:v1/games.leaderboards.get/consistencyToken": consistency_token +"/games:v1/games.leaderboards.get/language": language +"/games:v1/games.leaderboards.get/leaderboardId": leaderboard_id +"/games:v1/games.leaderboards.list": list_leaderboards +"/games:v1/games.leaderboards.list/consistencyToken": consistency_token +"/games:v1/games.leaderboards.list/language": language +"/games:v1/games.leaderboards.list/maxResults": max_results +"/games:v1/games.leaderboards.list/pageToken": page_token +"/games:v1/games.metagame.getMetagameConfig/consistencyToken": consistency_token +"/games:v1/games.metagame.listCategoriesByPlayer": list_metagame_categories_by_player +"/games:v1/games.metagame.listCategoriesByPlayer/collection": collection +"/games:v1/games.metagame.listCategoriesByPlayer/consistencyToken": consistency_token +"/games:v1/games.metagame.listCategoriesByPlayer/language": language +"/games:v1/games.metagame.listCategoriesByPlayer/maxResults": max_results +"/games:v1/games.metagame.listCategoriesByPlayer/pageToken": page_token +"/games:v1/games.metagame.listCategoriesByPlayer/playerId": player_id +"/games:v1/games.players.get": get_player +"/games:v1/games.players.get/consistencyToken": consistency_token +"/games:v1/games.players.get/language": language +"/games:v1/games.players.get/playerId": player_id +"/games:v1/games.players.list": list_players +"/games:v1/games.players.list/collection": collection +"/games:v1/games.players.list/consistencyToken": consistency_token +"/games:v1/games.players.list/language": language +"/games:v1/games.players.list/maxResults": max_results +"/games:v1/games.players.list/pageToken": page_token +"/games:v1/games.pushtokens.remove": remove_pushtoken +"/games:v1/games.pushtokens.remove/consistencyToken": consistency_token +"/games:v1/games.pushtokens.update": update_pushtoken +"/games:v1/games.pushtokens.update/consistencyToken": consistency_token +"/games:v1/games.questMilestones.claim": claim_quest_milestone +"/games:v1/games.questMilestones.claim/consistencyToken": consistency_token +"/games:v1/games.questMilestones.claim/milestoneId": milestone_id +"/games:v1/games.questMilestones.claim/questId": quest_id +"/games:v1/games.questMilestones.claim/requestId": request_id +"/games:v1/games.quests.accept": accept_quest +"/games:v1/games.quests.accept/consistencyToken": consistency_token +"/games:v1/games.quests.accept/language": language +"/games:v1/games.quests.accept/questId": quest_id +"/games:v1/games.quests.list": list_quests +"/games:v1/games.quests.list/consistencyToken": consistency_token +"/games:v1/games.quests.list/language": language +"/games:v1/games.quests.list/maxResults": max_results +"/games:v1/games.quests.list/pageToken": page_token +"/games:v1/games.quests.list/playerId": player_id +"/games:v1/games.revisions.check": check_revision +"/games:v1/games.revisions.check/clientRevision": client_revision +"/games:v1/games.revisions.check/consistencyToken": consistency_token +"/games:v1/games.rooms.create": create_room +"/games:v1/games.rooms.create/consistencyToken": consistency_token +"/games:v1/games.rooms.create/language": language +"/games:v1/games.rooms.decline": decline_room +"/games:v1/games.rooms.decline/consistencyToken": consistency_token +"/games:v1/games.rooms.decline/language": language +"/games:v1/games.rooms.decline/roomId": room_id +"/games:v1/games.rooms.dismiss": dismiss_room +"/games:v1/games.rooms.dismiss/consistencyToken": consistency_token +"/games:v1/games.rooms.dismiss/roomId": room_id +"/games:v1/games.rooms.get": get_room +"/games:v1/games.rooms.get/consistencyToken": consistency_token +"/games:v1/games.rooms.get/language": language +"/games:v1/games.rooms.get/roomId": room_id +"/games:v1/games.rooms.join": join_room +"/games:v1/games.rooms.join/consistencyToken": consistency_token +"/games:v1/games.rooms.join/language": language +"/games:v1/games.rooms.join/roomId": room_id +"/games:v1/games.rooms.leave": leave_room +"/games:v1/games.rooms.leave/consistencyToken": consistency_token +"/games:v1/games.rooms.leave/language": language +"/games:v1/games.rooms.leave/roomId": room_id +"/games:v1/games.rooms.list": list_rooms +"/games:v1/games.rooms.list/consistencyToken": consistency_token +"/games:v1/games.rooms.list/language": language +"/games:v1/games.rooms.list/maxResults": max_results +"/games:v1/games.rooms.list/pageToken": page_token +"/games:v1/games.rooms.reportStatus/consistencyToken": consistency_token +"/games:v1/games.rooms.reportStatus/language": language +"/games:v1/games.rooms.reportStatus/roomId": room_id +"/games:v1/games.scores.get": get_score +"/games:v1/games.scores.get/consistencyToken": consistency_token +"/games:v1/games.scores.get/includeRankType": include_rank_type +"/games:v1/games.scores.get/language": language +"/games:v1/games.scores.get/leaderboardId": leaderboard_id +"/games:v1/games.scores.get/maxResults": max_results +"/games:v1/games.scores.get/pageToken": page_token +"/games:v1/games.scores.get/playerId": player_id +"/games:v1/games.scores.get/timeSpan": time_span +"/games:v1/games.scores.list": list_scores +"/games:v1/games.scores.list/collection": collection +"/games:v1/games.scores.list/consistencyToken": consistency_token +"/games:v1/games.scores.list/language": language +"/games:v1/games.scores.list/leaderboardId": leaderboard_id +"/games:v1/games.scores.list/maxResults": max_results +"/games:v1/games.scores.list/pageToken": page_token +"/games:v1/games.scores.list/timeSpan": time_span +"/games:v1/games.scores.listWindow": list_score_window +"/games:v1/games.scores.listWindow/collection": collection +"/games:v1/games.scores.listWindow/consistencyToken": consistency_token +"/games:v1/games.scores.listWindow/language": language +"/games:v1/games.scores.listWindow/leaderboardId": leaderboard_id +"/games:v1/games.scores.listWindow/maxResults": max_results +"/games:v1/games.scores.listWindow/pageToken": page_token +"/games:v1/games.scores.listWindow/resultsAbove": results_above +"/games:v1/games.scores.listWindow/returnTopIfAbsent": return_top_if_absent +"/games:v1/games.scores.listWindow/timeSpan": time_span +"/games:v1/games.scores.submit": submit_score +"/games:v1/games.scores.submit/consistencyToken": consistency_token +"/games:v1/games.scores.submit/language": language +"/games:v1/games.scores.submit/leaderboardId": leaderboard_id +"/games:v1/games.scores.submit/score": score +"/games:v1/games.scores.submit/scoreTag": score_tag +"/games:v1/games.scores.submitMultiple": submit_score_multiple +"/games:v1/games.scores.submitMultiple/consistencyToken": consistency_token +"/games:v1/games.scores.submitMultiple/language": language +"/games:v1/games.snapshots.get": get_snapshot +"/games:v1/games.snapshots.get/consistencyToken": consistency_token +"/games:v1/games.snapshots.get/language": language +"/games:v1/games.snapshots.get/snapshotId": snapshot_id +"/games:v1/games.snapshots.list": list_snapshots +"/games:v1/games.snapshots.list/consistencyToken": consistency_token +"/games:v1/games.snapshots.list/language": language +"/games:v1/games.snapshots.list/maxResults": max_results +"/games:v1/games.snapshots.list/pageToken": page_token +"/games:v1/games.snapshots.list/playerId": player_id +"/games:v1/games.turnBasedMatches.cancel": cancel_turn_based_match +"/games:v1/games.turnBasedMatches.cancel/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.cancel/matchId": match_id +"/games:v1/games.turnBasedMatches.create": create_turn_based_match +"/games:v1/games.turnBasedMatches.create/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.create/language": language +"/games:v1/games.turnBasedMatches.decline": decline_turn_based_match +"/games:v1/games.turnBasedMatches.decline/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.decline/language": language +"/games:v1/games.turnBasedMatches.decline/matchId": match_id +"/games:v1/games.turnBasedMatches.dismiss": dismiss_turn_based_match +"/games:v1/games.turnBasedMatches.dismiss/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.dismiss/matchId": match_id +"/games:v1/games.turnBasedMatches.finish": finish_turn_based_match +"/games:v1/games.turnBasedMatches.finish/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.finish/language": language +"/games:v1/games.turnBasedMatches.finish/matchId": match_id +"/games:v1/games.turnBasedMatches.get": get_turn_based_match +"/games:v1/games.turnBasedMatches.get/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.get/includeMatchData": include_match_data +"/games:v1/games.turnBasedMatches.get/language": language +"/games:v1/games.turnBasedMatches.get/matchId": match_id +"/games:v1/games.turnBasedMatches.join": join_turn_based_match +"/games:v1/games.turnBasedMatches.join/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.join/language": language +"/games:v1/games.turnBasedMatches.join/matchId": match_id +"/games:v1/games.turnBasedMatches.leave": leave_turn_based_match +"/games:v1/games.turnBasedMatches.leave/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.leave/language": language +"/games:v1/games.turnBasedMatches.leave/matchId": match_id +"/games:v1/games.turnBasedMatches.leaveTurn/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.leaveTurn/language": language +"/games:v1/games.turnBasedMatches.leaveTurn/matchId": match_id +"/games:v1/games.turnBasedMatches.leaveTurn/matchVersion": match_version +"/games:v1/games.turnBasedMatches.leaveTurn/pendingParticipantId": pending_participant_id +"/games:v1/games.turnBasedMatches.list": list_turn_based_matches +"/games:v1/games.turnBasedMatches.list/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.list/includeMatchData": include_match_data +"/games:v1/games.turnBasedMatches.list/language": language +"/games:v1/games.turnBasedMatches.list/maxCompletedMatches": max_completed_matches +"/games:v1/games.turnBasedMatches.list/maxResults": max_results +"/games:v1/games.turnBasedMatches.list/pageToken": page_token +"/games:v1/games.turnBasedMatches.rematch": rematch_turn_based_match +"/games:v1/games.turnBasedMatches.rematch/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.rematch/language": language +"/games:v1/games.turnBasedMatches.rematch/matchId": match_id +"/games:v1/games.turnBasedMatches.rematch/requestId": request_id +"/games:v1/games.turnBasedMatches.sync": sync_turn_based_match +"/games:v1/games.turnBasedMatches.sync/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.sync/includeMatchData": include_match_data +"/games:v1/games.turnBasedMatches.sync/language": language +"/games:v1/games.turnBasedMatches.sync/maxCompletedMatches": max_completed_matches +"/games:v1/games.turnBasedMatches.sync/maxResults": max_results +"/games:v1/games.turnBasedMatches.sync/pageToken": page_token +"/games:v1/games.turnBasedMatches.takeTurn/consistencyToken": consistency_token +"/games:v1/games.turnBasedMatches.takeTurn/language": language +"/games:v1/games.turnBasedMatches.takeTurn/matchId": match_id +"/games:v1/AchievementDefinition": achievement_definition +"/games:v1/AchievementDefinition/achievementType": achievement_type +"/games:v1/AchievementDefinition/description": description +"/games:v1/AchievementDefinition/experiencePoints": experience_points +"/games:v1/AchievementDefinition/formattedTotalSteps": formatted_total_steps +"/games:v1/AchievementDefinition/id": id +"/games:v1/AchievementDefinition/initialState": initial_state +"/games:v1/AchievementDefinition/isRevealedIconUrlDefault": is_revealed_icon_url_default +"/games:v1/AchievementDefinition/isUnlockedIconUrlDefault": is_unlocked_icon_url_default +"/games:v1/AchievementDefinition/kind": kind +"/games:v1/AchievementDefinition/name": name +"/games:v1/AchievementDefinition/revealedIconUrl": revealed_icon_url +"/games:v1/AchievementDefinition/totalSteps": total_steps +"/games:v1/AchievementDefinition/unlockedIconUrl": unlocked_icon_url +"/games:v1/AchievementDefinitionsListResponse/items": items +"/games:v1/AchievementDefinitionsListResponse/items/item": item +"/games:v1/AchievementDefinitionsListResponse/kind": kind +"/games:v1/AchievementDefinitionsListResponse/nextPageToken": next_page_token +"/games:v1/AchievementIncrementResponse/currentSteps": current_steps +"/games:v1/AchievementIncrementResponse/kind": kind +"/games:v1/AchievementIncrementResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementRevealResponse/currentState": current_state +"/games:v1/AchievementRevealResponse/kind": kind +"/games:v1/AchievementSetStepsAtLeastResponse/currentSteps": current_steps +"/games:v1/AchievementSetStepsAtLeastResponse/kind": kind +"/games:v1/AchievementSetStepsAtLeastResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUnlockResponse/kind": kind +"/games:v1/AchievementUnlockResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUpdateMultipleRequest/kind": kind +"/games:v1/AchievementUpdateMultipleRequest/updates": updates +"/games:v1/AchievementUpdateMultipleRequest/updates/update": update +"/games:v1/AchievementUpdateMultipleResponse/kind": kind +"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements": updated_achievements +"/games:v1/AchievementUpdateMultipleResponse/updatedAchievements/updated_achievement": updated_achievement +"/games:v1/AchievementUpdateRequest/achievementId": achievement_id +"/games:v1/AchievementUpdateRequest/incrementPayload": increment_payload +"/games:v1/AchievementUpdateRequest/kind": kind +"/games:v1/AchievementUpdateRequest/setStepsAtLeastPayload": set_steps_at_least_payload +"/games:v1/AchievementUpdateRequest/updateType": update_type +"/games:v1/AchievementUpdateResponse/achievementId": achievement_id +"/games:v1/AchievementUpdateResponse/currentState": current_state +"/games:v1/AchievementUpdateResponse/currentSteps": current_steps +"/games:v1/AchievementUpdateResponse/kind": kind +"/games:v1/AchievementUpdateResponse/newlyUnlocked": newly_unlocked +"/games:v1/AchievementUpdateResponse/updateOccurred": update_occurred +"/games:v1/AggregateStats": aggregate_stats +"/games:v1/AggregateStats/count": count +"/games:v1/AggregateStats/kind": kind +"/games:v1/AggregateStats/max": max +"/games:v1/AggregateStats/min": min +"/games:v1/AggregateStats/sum": sum +"/games:v1/AnonymousPlayer": anonymous_player +"/games:v1/AnonymousPlayer/avatarImageUrl": avatar_image_url +"/games:v1/AnonymousPlayer/displayName": display_name +"/games:v1/AnonymousPlayer/kind": kind +"/games:v1/Application": application +"/games:v1/Application/achievement_count": achievement_count +"/games:v1/Application/assets": assets +"/games:v1/Application/assets/asset": asset +"/games:v1/Application/author": author +"/games:v1/Application/category": category +"/games:v1/Application/description": description +"/games:v1/Application/enabledFeatures": enabled_features +"/games:v1/Application/enabledFeatures/enabled_feature": enabled_feature +"/games:v1/Application/id": id +"/games:v1/Application/instances": instances +"/games:v1/Application/instances/instance": instance +"/games:v1/Application/kind": kind +"/games:v1/Application/lastUpdatedTimestamp": last_updated_timestamp +"/games:v1/Application/leaderboard_count": leaderboard_count +"/games:v1/Application/name": name +"/games:v1/Application/themeColor": theme_color +"/games:v1/ApplicationCategory": application_category +"/games:v1/ApplicationCategory/kind": kind +"/games:v1/ApplicationCategory/primary": primary +"/games:v1/ApplicationCategory/secondary": secondary +"/games:v1/ApplicationVerifyResponse": application_verify_response +"/games:v1/ApplicationVerifyResponse/alternate_player_id": alternate_player_id +"/games:v1/ApplicationVerifyResponse/kind": kind +"/games:v1/ApplicationVerifyResponse/player_id": player_id +"/games:v1/Category": category +"/games:v1/Category/category": category +"/games:v1/Category/experiencePoints": experience_points +"/games:v1/Category/kind": kind +"/games:v1/CategoryListResponse/items": items +"/games:v1/CategoryListResponse/items/item": item +"/games:v1/CategoryListResponse/kind": kind +"/games:v1/CategoryListResponse/nextPageToken": next_page_token +"/games:v1/EventBatchRecordFailure": event_batch_record_failure +"/games:v1/EventBatchRecordFailure/failureCause": failure_cause +"/games:v1/EventBatchRecordFailure/kind": kind +"/games:v1/EventBatchRecordFailure/range": range +"/games:v1/EventChild": event_child +"/games:v1/EventChild/childId": child_id +"/games:v1/EventChild/kind": kind +"/games:v1/EventDefinition": event_definition +"/games:v1/EventDefinition/childEvents": child_events +"/games:v1/EventDefinition/childEvents/child_event": child_event +"/games:v1/EventDefinition/description": description +"/games:v1/EventDefinition/displayName": display_name +"/games:v1/EventDefinition/id": id +"/games:v1/EventDefinition/imageUrl": image_url +"/games:v1/EventDefinition/isDefaultImageUrl": is_default_image_url +"/games:v1/EventDefinition/kind": kind +"/games:v1/EventDefinition/visibility": visibility +"/games:v1/EventDefinitionListResponse/items": items +"/games:v1/EventDefinitionListResponse/items/item": item +"/games:v1/EventDefinitionListResponse/kind": kind +"/games:v1/EventDefinitionListResponse/nextPageToken": next_page_token +"/games:v1/EventPeriodRange": event_period_range +"/games:v1/EventPeriodRange/kind": kind +"/games:v1/EventPeriodRange/periodEndMillis": period_end_millis +"/games:v1/EventPeriodRange/periodStartMillis": period_start_millis +"/games:v1/EventPeriodUpdate": event_period_update +"/games:v1/EventPeriodUpdate/kind": kind +"/games:v1/EventPeriodUpdate/timePeriod": time_period +"/games:v1/EventPeriodUpdate/updates": updates +"/games:v1/EventPeriodUpdate/updates/update": update +"/games:v1/EventRecordFailure": event_record_failure +"/games:v1/EventRecordFailure/eventId": event_id +"/games:v1/EventRecordFailure/failureCause": failure_cause +"/games:v1/EventRecordFailure/kind": kind +"/games:v1/EventRecordRequest/currentTimeMillis": current_time_millis +"/games:v1/EventRecordRequest/kind": kind +"/games:v1/EventRecordRequest/requestId": request_id +"/games:v1/EventRecordRequest/timePeriods": time_periods +"/games:v1/EventRecordRequest/timePeriods/time_period": time_period +"/games:v1/EventUpdateRequest/definitionId": definition_id +"/games:v1/EventUpdateRequest/kind": kind +"/games:v1/EventUpdateRequest/updateCount": update_count +"/games:v1/EventUpdateResponse/batchFailures": batch_failures +"/games:v1/EventUpdateResponse/batchFailures/batch_failure": batch_failure +"/games:v1/EventUpdateResponse/eventFailures": event_failures +"/games:v1/EventUpdateResponse/eventFailures/event_failure": event_failure +"/games:v1/EventUpdateResponse/kind": kind +"/games:v1/EventUpdateResponse/playerEvents": player_events +"/games:v1/EventUpdateResponse/playerEvents/player_event": player_event +"/games:v1/GamesAchievementIncrement": games_achievement_increment +"/games:v1/GamesAchievementIncrement/kind": kind +"/games:v1/GamesAchievementIncrement/requestId": request_id +"/games:v1/GamesAchievementIncrement/steps": steps +"/games:v1/GamesAchievementSetStepsAtLeast": games_achievement_set_steps_at_least +"/games:v1/GamesAchievementSetStepsAtLeast/kind": kind +"/games:v1/GamesAchievementSetStepsAtLeast/steps": steps +"/games:v1/ImageAsset": image_asset +"/games:v1/ImageAsset/height": height +"/games:v1/ImageAsset/kind": kind +"/games:v1/ImageAsset/name": name +"/games:v1/ImageAsset/url": url +"/games:v1/ImageAsset/width": width +"/games:v1/Instance": instance +"/games:v1/Instance/acquisitionUri": acquisition_uri +"/games:v1/Instance/androidInstance": android_instance +"/games:v1/Instance/iosInstance": ios_instance +"/games:v1/Instance/kind": kind +"/games:v1/Instance/name": name +"/games:v1/Instance/platformType": platform_type +"/games:v1/Instance/realtimePlay": realtime_play +"/games:v1/Instance/turnBasedPlay": turn_based_play +"/games:v1/Instance/webInstance": web_instance +"/games:v1/InstanceAndroidDetails": instance_android_details +"/games:v1/InstanceAndroidDetails/enablePiracyCheck": enable_piracy_check +"/games:v1/InstanceAndroidDetails/kind": kind +"/games:v1/InstanceAndroidDetails/packageName": package_name +"/games:v1/InstanceAndroidDetails/preferred": preferred +"/games:v1/InstanceIosDetails": instance_ios_details +"/games:v1/InstanceIosDetails/bundleIdentifier": bundle_identifier +"/games:v1/InstanceIosDetails/itunesAppId": itunes_app_id +"/games:v1/InstanceIosDetails/kind": kind +"/games:v1/InstanceIosDetails/preferredForIpad": preferred_for_ipad +"/games:v1/InstanceIosDetails/preferredForIphone": preferred_for_iphone +"/games:v1/InstanceIosDetails/supportIpad": support_ipad +"/games:v1/InstanceIosDetails/supportIphone": support_iphone +"/games:v1/InstanceWebDetails": instance_web_details +"/games:v1/InstanceWebDetails/kind": kind +"/games:v1/InstanceWebDetails/launchUrl": launch_url +"/games:v1/InstanceWebDetails/preferred": preferred +"/games:v1/Leaderboard": leaderboard +"/games:v1/Leaderboard/iconUrl": icon_url +"/games:v1/Leaderboard/id": id +"/games:v1/Leaderboard/isIconUrlDefault": is_icon_url_default +"/games:v1/Leaderboard/kind": kind +"/games:v1/Leaderboard/name": name +"/games:v1/Leaderboard/order": order +"/games:v1/LeaderboardEntry": leaderboard_entry +"/games:v1/LeaderboardEntry/formattedScore": formatted_score +"/games:v1/LeaderboardEntry/formattedScoreRank": formatted_score_rank +"/games:v1/LeaderboardEntry/kind": kind +"/games:v1/LeaderboardEntry/player": player +"/games:v1/LeaderboardEntry/scoreRank": score_rank +"/games:v1/LeaderboardEntry/scoreTag": score_tag +"/games:v1/LeaderboardEntry/scoreValue": score_value +"/games:v1/LeaderboardEntry/timeSpan": time_span +"/games:v1/LeaderboardEntry/writeTimestampMillis": write_timestamp_millis +"/games:v1/LeaderboardListResponse/items": items +"/games:v1/LeaderboardListResponse/items/item": item +"/games:v1/LeaderboardListResponse/kind": kind +"/games:v1/LeaderboardListResponse/nextPageToken": next_page_token +"/games:v1/LeaderboardScoreRank": leaderboard_score_rank +"/games:v1/LeaderboardScoreRank/formattedNumScores": formatted_num_scores +"/games:v1/LeaderboardScoreRank/formattedRank": formatted_rank +"/games:v1/LeaderboardScoreRank/kind": kind +"/games:v1/LeaderboardScoreRank/numScores": num_scores +"/games:v1/LeaderboardScoreRank/rank": rank +"/games:v1/LeaderboardScores": leaderboard_scores +"/games:v1/LeaderboardScores/items": items +"/games:v1/LeaderboardScores/items/item": item +"/games:v1/LeaderboardScores/kind": kind +"/games:v1/LeaderboardScores/nextPageToken": next_page_token +"/games:v1/LeaderboardScores/numScores": num_scores +"/games:v1/LeaderboardScores/playerScore": player_score +"/games:v1/LeaderboardScores/prevPageToken": prev_page_token +"/games:v1/MetagameConfig": metagame_config +"/games:v1/MetagameConfig/currentVersion": current_version +"/games:v1/MetagameConfig/kind": kind +"/games:v1/MetagameConfig/playerLevels": player_levels +"/games:v1/MetagameConfig/playerLevels/player_level": player_level +"/games:v1/NetworkDiagnostics": network_diagnostics +"/games:v1/NetworkDiagnostics/androidNetworkSubtype": android_network_subtype +"/games:v1/NetworkDiagnostics/androidNetworkType": android_network_type +"/games:v1/NetworkDiagnostics/iosNetworkType": ios_network_type +"/games:v1/NetworkDiagnostics/kind": kind +"/games:v1/NetworkDiagnostics/networkOperatorCode": network_operator_code +"/games:v1/NetworkDiagnostics/networkOperatorName": network_operator_name +"/games:v1/NetworkDiagnostics/registrationLatencyMillis": registration_latency_millis +"/games:v1/ParticipantResult": participant_result +"/games:v1/ParticipantResult/kind": kind +"/games:v1/ParticipantResult/participantId": participant_id +"/games:v1/ParticipantResult/placing": placing +"/games:v1/ParticipantResult/result": result +"/games:v1/PeerChannelDiagnostics": peer_channel_diagnostics +"/games:v1/PeerChannelDiagnostics/bytesReceived": bytes_received +"/games:v1/PeerChannelDiagnostics/bytesSent": bytes_sent +"/games:v1/PeerChannelDiagnostics/kind": kind +"/games:v1/PeerChannelDiagnostics/numMessagesLost": num_messages_lost +"/games:v1/PeerChannelDiagnostics/numMessagesReceived": num_messages_received +"/games:v1/PeerChannelDiagnostics/numMessagesSent": num_messages_sent +"/games:v1/PeerChannelDiagnostics/numSendFailures": num_send_failures +"/games:v1/PeerChannelDiagnostics/roundtripLatencyMillis": roundtrip_latency_millis +"/games:v1/PeerSessionDiagnostics": peer_session_diagnostics +"/games:v1/PeerSessionDiagnostics/connectedTimestampMillis": connected_timestamp_millis +"/games:v1/PeerSessionDiagnostics/kind": kind +"/games:v1/PeerSessionDiagnostics/participantId": participant_id +"/games:v1/PeerSessionDiagnostics/reliableChannel": reliable_channel +"/games:v1/PeerSessionDiagnostics/unreliableChannel": unreliable_channel +"/games:v1/Played": played +"/games:v1/Played/autoMatched": auto_matched +"/games:v1/Played/kind": kind +"/games:v1/Played/timeMillis": time_millis +"/games:v1/Player": player +"/games:v1/Player/avatarImageUrl": avatar_image_url +"/games:v1/Player/bannerUrlLandscape": banner_url_landscape +"/games:v1/Player/bannerUrlPortrait": banner_url_portrait +"/games:v1/Player/displayName": display_name +"/games:v1/Player/experienceInfo": experience_info +"/games:v1/Player/kind": kind +"/games:v1/Player/lastPlayedWith": last_played_with +"/games:v1/Player/name": name +"/games:v1/Player/name/familyName": family_name +"/games:v1/Player/name/givenName": given_name +"/games:v1/Player/originalPlayerId": original_player_id +"/games:v1/Player/playerId": player_id +"/games:v1/Player/profileSettings": profile_settings +"/games:v1/Player/title": title +"/games:v1/PlayerAchievement": player_achievement +"/games:v1/PlayerAchievement/achievementState": achievement_state +"/games:v1/PlayerAchievement/currentSteps": current_steps +"/games:v1/PlayerAchievement/experiencePoints": experience_points +"/games:v1/PlayerAchievement/formattedCurrentStepsString": formatted_current_steps_string +"/games:v1/PlayerAchievement/id": id +"/games:v1/PlayerAchievement/kind": kind +"/games:v1/PlayerAchievement/lastUpdatedTimestamp": last_updated_timestamp +"/games:v1/PlayerAchievementListResponse/items": items +"/games:v1/PlayerAchievementListResponse/items/item": item +"/games:v1/PlayerAchievementListResponse/kind": kind +"/games:v1/PlayerAchievementListResponse/nextPageToken": next_page_token +"/games:v1/PlayerEvent": player_event +"/games:v1/PlayerEvent/definitionId": definition_id +"/games:v1/PlayerEvent/formattedNumEvents": formatted_num_events +"/games:v1/PlayerEvent/kind": kind +"/games:v1/PlayerEvent/numEvents": num_events +"/games:v1/PlayerEvent/playerId": player_id +"/games:v1/PlayerEventListResponse/items": items +"/games:v1/PlayerEventListResponse/items/item": item +"/games:v1/PlayerEventListResponse/kind": kind +"/games:v1/PlayerEventListResponse/nextPageToken": next_page_token +"/games:v1/PlayerExperienceInfo": player_experience_info +"/games:v1/PlayerExperienceInfo/currentExperiencePoints": current_experience_points +"/games:v1/PlayerExperienceInfo/currentLevel": current_level +"/games:v1/PlayerExperienceInfo/kind": kind +"/games:v1/PlayerExperienceInfo/lastLevelUpTimestampMillis": last_level_up_timestamp_millis +"/games:v1/PlayerExperienceInfo/nextLevel": next_level +"/games:v1/PlayerLeaderboardScore": player_leaderboard_score +"/games:v1/PlayerLeaderboardScore/kind": kind +"/games:v1/PlayerLeaderboardScore/leaderboard_id": leaderboard_id +"/games:v1/PlayerLeaderboardScore/publicRank": public_rank +"/games:v1/PlayerLeaderboardScore/scoreString": score_string +"/games:v1/PlayerLeaderboardScore/scoreTag": score_tag +"/games:v1/PlayerLeaderboardScore/scoreValue": score_value +"/games:v1/PlayerLeaderboardScore/socialRank": social_rank +"/games:v1/PlayerLeaderboardScore/timeSpan": time_span +"/games:v1/PlayerLeaderboardScore/writeTimestamp": write_timestamp +"/games:v1/PlayerLeaderboardScoreListResponse/items": items +"/games:v1/PlayerLeaderboardScoreListResponse/items/item": item +"/games:v1/PlayerLeaderboardScoreListResponse/kind": kind +"/games:v1/PlayerLeaderboardScoreListResponse/nextPageToken": next_page_token +"/games:v1/PlayerLeaderboardScoreListResponse/player": player +"/games:v1/PlayerLevel": player_level +"/games:v1/PlayerLevel/kind": kind +"/games:v1/PlayerLevel/level": level +"/games:v1/PlayerLevel/maxExperiencePoints": max_experience_points +"/games:v1/PlayerLevel/minExperiencePoints": min_experience_points +"/games:v1/PlayerListResponse/items": items +"/games:v1/PlayerListResponse/items/item": item +"/games:v1/PlayerListResponse/kind": kind +"/games:v1/PlayerListResponse/nextPageToken": next_page_token +"/games:v1/PlayerScore": player_score +"/games:v1/PlayerScore/formattedScore": formatted_score +"/games:v1/PlayerScore/kind": kind +"/games:v1/PlayerScore/score": score +"/games:v1/PlayerScore/scoreTag": score_tag +"/games:v1/PlayerScore/timeSpan": time_span +"/games:v1/PlayerScoreListResponse/kind": kind +"/games:v1/PlayerScoreListResponse/submittedScores": submitted_scores +"/games:v1/PlayerScoreListResponse/submittedScores/submitted_score": submitted_score +"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans": beaten_score_time_spans +"/games:v1/PlayerScoreResponse/beatenScoreTimeSpans/beaten_score_time_span": beaten_score_time_span +"/games:v1/PlayerScoreResponse/formattedScore": formatted_score +"/games:v1/PlayerScoreResponse/kind": kind +"/games:v1/PlayerScoreResponse/leaderboardId": leaderboard_id +"/games:v1/PlayerScoreResponse/scoreTag": score_tag +"/games:v1/PlayerScoreResponse/unbeatenScores": unbeaten_scores +"/games:v1/PlayerScoreResponse/unbeatenScores/unbeaten_score": unbeaten_score +"/games:v1/PlayerScoreSubmissionList": player_score_submission_list +"/games:v1/PlayerScoreSubmissionList/kind": kind +"/games:v1/PlayerScoreSubmissionList/scores": scores +"/games:v1/PlayerScoreSubmissionList/scores/score": score +"/games:v1/ProfileSettings": profile_settings +"/games:v1/ProfileSettings/kind": kind +"/games:v1/ProfileSettings/profileVisible": profile_visible +"/games:v1/PushToken": push_token +"/games:v1/PushToken/clientRevision": client_revision +"/games:v1/PushToken/id": id +"/games:v1/PushToken/kind": kind +"/games:v1/PushToken/language": language +"/games:v1/PushTokenId": push_token_id +"/games:v1/PushTokenId/ios": ios +"/games:v1/PushTokenId/ios/apns_device_token": apns_device_token +"/games:v1/PushTokenId/ios/apns_environment": apns_environment +"/games:v1/PushTokenId/kind": kind +"/games:v1/Quest": quest +"/games:v1/Quest/acceptedTimestampMillis": accepted_timestamp_millis +"/games:v1/Quest/applicationId": application_id +"/games:v1/Quest/bannerUrl": banner_url +"/games:v1/Quest/description": description +"/games:v1/Quest/endTimestampMillis": end_timestamp_millis +"/games:v1/Quest/iconUrl": icon_url +"/games:v1/Quest/id": id +"/games:v1/Quest/isDefaultBannerUrl": is_default_banner_url +"/games:v1/Quest/isDefaultIconUrl": is_default_icon_url +"/games:v1/Quest/kind": kind +"/games:v1/Quest/lastUpdatedTimestampMillis": last_updated_timestamp_millis +"/games:v1/Quest/milestones": milestones +"/games:v1/Quest/milestones/milestone": milestone +"/games:v1/Quest/name": name +"/games:v1/Quest/notifyTimestampMillis": notify_timestamp_millis +"/games:v1/Quest/startTimestampMillis": start_timestamp_millis +"/games:v1/Quest/state": state +"/games:v1/QuestContribution": quest_contribution +"/games:v1/QuestContribution/formattedValue": formatted_value +"/games:v1/QuestContribution/kind": kind +"/games:v1/QuestContribution/value": value +"/games:v1/QuestCriterion": quest_criterion +"/games:v1/QuestCriterion/completionContribution": completion_contribution +"/games:v1/QuestCriterion/currentContribution": current_contribution +"/games:v1/QuestCriterion/eventId": event_id +"/games:v1/QuestCriterion/initialPlayerProgress": initial_player_progress +"/games:v1/QuestCriterion/kind": kind +"/games:v1/QuestListResponse/items": items +"/games:v1/QuestListResponse/items/item": item +"/games:v1/QuestListResponse/kind": kind +"/games:v1/QuestListResponse/nextPageToken": next_page_token +"/games:v1/QuestMilestone": quest_milestone +"/games:v1/QuestMilestone/completionRewardData": completion_reward_data +"/games:v1/QuestMilestone/criteria": criteria +"/games:v1/QuestMilestone/criteria/criterium": criterium +"/games:v1/QuestMilestone/id": id +"/games:v1/QuestMilestone/kind": kind +"/games:v1/QuestMilestone/state": state +"/games:v1/RevisionCheckResponse/apiVersion": api_version +"/games:v1/RevisionCheckResponse/kind": kind +"/games:v1/RevisionCheckResponse/revisionStatus": revision_status +"/games:v1/Room": room +"/games:v1/Room/applicationId": application_id +"/games:v1/Room/autoMatchingCriteria": auto_matching_criteria +"/games:v1/Room/autoMatchingStatus": auto_matching_status +"/games:v1/Room/creationDetails": creation_details +"/games:v1/Room/description": description +"/games:v1/Room/inviterId": inviter_id +"/games:v1/Room/kind": kind +"/games:v1/Room/lastUpdateDetails": last_update_details +"/games:v1/Room/participants": participants +"/games:v1/Room/participants/participant": participant +"/games:v1/Room/roomId": room_id +"/games:v1/Room/roomStatusVersion": room_status_version +"/games:v1/Room/status": status +"/games:v1/Room/variant": variant +"/games:v1/RoomAutoMatchStatus": room_auto_match_status +"/games:v1/RoomAutoMatchStatus/kind": kind +"/games:v1/RoomAutoMatchStatus/waitEstimateSeconds": wait_estimate_seconds +"/games:v1/RoomAutoMatchingCriteria": room_auto_matching_criteria +"/games:v1/RoomAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask +"/games:v1/RoomAutoMatchingCriteria/kind": kind +"/games:v1/RoomAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players +"/games:v1/RoomAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players +"/games:v1/RoomClientAddress": room_client_address +"/games:v1/RoomClientAddress/kind": kind +"/games:v1/RoomClientAddress/xmppAddress": xmpp_address +"/games:v1/RoomCreateRequest/autoMatchingCriteria": auto_matching_criteria +"/games:v1/RoomCreateRequest/capabilities": capabilities +"/games:v1/RoomCreateRequest/capabilities/capability": capability +"/games:v1/RoomCreateRequest/clientAddress": client_address +"/games:v1/RoomCreateRequest/invitedPlayerIds": invited_player_ids +"/games:v1/RoomCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id +"/games:v1/RoomCreateRequest/kind": kind +"/games:v1/RoomCreateRequest/networkDiagnostics": network_diagnostics +"/games:v1/RoomCreateRequest/requestId": request_id +"/games:v1/RoomCreateRequest/variant": variant +"/games:v1/RoomJoinRequest/capabilities": capabilities +"/games:v1/RoomJoinRequest/capabilities/capability": capability +"/games:v1/RoomJoinRequest/clientAddress": client_address +"/games:v1/RoomJoinRequest/kind": kind +"/games:v1/RoomJoinRequest/networkDiagnostics": network_diagnostics +"/games:v1/RoomLeaveDiagnostics": room_leave_diagnostics +"/games:v1/RoomLeaveDiagnostics/androidNetworkSubtype": android_network_subtype +"/games:v1/RoomLeaveDiagnostics/androidNetworkType": android_network_type +"/games:v1/RoomLeaveDiagnostics/iosNetworkType": ios_network_type +"/games:v1/RoomLeaveDiagnostics/kind": kind +"/games:v1/RoomLeaveDiagnostics/networkOperatorCode": network_operator_code +"/games:v1/RoomLeaveDiagnostics/networkOperatorName": network_operator_name +"/games:v1/RoomLeaveDiagnostics/peerSession": peer_session +"/games:v1/RoomLeaveDiagnostics/peerSession/peer_session": peer_session +"/games:v1/RoomLeaveDiagnostics/socketsUsed": sockets_used +"/games:v1/RoomLeaveRequest/kind": kind +"/games:v1/RoomLeaveRequest/leaveDiagnostics": leave_diagnostics +"/games:v1/RoomLeaveRequest/reason": reason +"/games:v1/RoomList": room_list +"/games:v1/RoomList/items": items +"/games:v1/RoomList/items/item": item +"/games:v1/RoomList/kind": kind +"/games:v1/RoomList/nextPageToken": next_page_token +"/games:v1/RoomModification": room_modification +"/games:v1/RoomModification/kind": kind +"/games:v1/RoomModification/modifiedTimestampMillis": modified_timestamp_millis +"/games:v1/RoomModification/participantId": participant_id +"/games:v1/RoomP2PStatus": room_p2_p_status +"/games:v1/RoomP2PStatus/connectionSetupLatencyMillis": connection_setup_latency_millis +"/games:v1/RoomP2PStatus/error": error +"/games:v1/RoomP2PStatus/error_reason": error_reason +"/games:v1/RoomP2PStatus/kind": kind +"/games:v1/RoomP2PStatus/participantId": participant_id +"/games:v1/RoomP2PStatus/status": status +"/games:v1/RoomP2PStatus/unreliableRoundtripLatencyMillis": unreliable_roundtrip_latency_millis +"/games:v1/RoomP2PStatuses": room_p2_p_statuses +"/games:v1/RoomP2PStatuses/kind": kind +"/games:v1/RoomP2PStatuses/updates": updates +"/games:v1/RoomP2PStatuses/updates/update": update +"/games:v1/RoomParticipant": room_participant +"/games:v1/RoomParticipant/autoMatched": auto_matched +"/games:v1/RoomParticipant/autoMatchedPlayer": auto_matched_player +"/games:v1/RoomParticipant/capabilities": capabilities +"/games:v1/RoomParticipant/capabilities/capability": capability +"/games:v1/RoomParticipant/clientAddress": client_address +"/games:v1/RoomParticipant/connected": connected +"/games:v1/RoomParticipant/id": id +"/games:v1/RoomParticipant/kind": kind +"/games:v1/RoomParticipant/leaveReason": leave_reason +"/games:v1/RoomParticipant/player": player +"/games:v1/RoomParticipant/status": status +"/games:v1/RoomStatus": room_status +"/games:v1/RoomStatus/autoMatchingStatus": auto_matching_status +"/games:v1/RoomStatus/kind": kind +"/games:v1/RoomStatus/participants": participants +"/games:v1/RoomStatus/participants/participant": participant +"/games:v1/RoomStatus/roomId": room_id +"/games:v1/RoomStatus/status": status +"/games:v1/RoomStatus/statusVersion": status_version +"/games:v1/ScoreSubmission": score_submission +"/games:v1/ScoreSubmission/kind": kind +"/games:v1/ScoreSubmission/leaderboardId": leaderboard_id +"/games:v1/ScoreSubmission/score": score +"/games:v1/ScoreSubmission/scoreTag": score_tag +"/games:v1/ScoreSubmission/signature": signature +"/games:v1/Snapshot": snapshot +"/games:v1/Snapshot/coverImage": cover_image +"/games:v1/Snapshot/description": description +"/games:v1/Snapshot/driveId": drive_id +"/games:v1/Snapshot/durationMillis": duration_millis +"/games:v1/Snapshot/id": id +"/games:v1/Snapshot/kind": kind +"/games:v1/Snapshot/lastModifiedMillis": last_modified_millis +"/games:v1/Snapshot/progressValue": progress_value +"/games:v1/Snapshot/title": title +"/games:v1/Snapshot/type": type +"/games:v1/Snapshot/uniqueName": unique_name +"/games:v1/SnapshotImage": snapshot_image +"/games:v1/SnapshotImage/height": height +"/games:v1/SnapshotImage/kind": kind +"/games:v1/SnapshotImage/mime_type": mime_type +"/games:v1/SnapshotImage/url": url +"/games:v1/SnapshotImage/width": width +"/games:v1/SnapshotListResponse/items": items +"/games:v1/SnapshotListResponse/items/item": item +"/games:v1/SnapshotListResponse/kind": kind +"/games:v1/SnapshotListResponse/nextPageToken": next_page_token +"/games:v1/TurnBasedAutoMatchingCriteria": turn_based_auto_matching_criteria +"/games:v1/TurnBasedAutoMatchingCriteria/exclusiveBitmask": exclusive_bitmask +"/games:v1/TurnBasedAutoMatchingCriteria/kind": kind +"/games:v1/TurnBasedAutoMatchingCriteria/maxAutoMatchingPlayers": max_auto_matching_players +"/games:v1/TurnBasedAutoMatchingCriteria/minAutoMatchingPlayers": min_auto_matching_players +"/games:v1/TurnBasedMatch": turn_based_match +"/games:v1/TurnBasedMatch/applicationId": application_id +"/games:v1/TurnBasedMatch/autoMatchingCriteria": auto_matching_criteria +"/games:v1/TurnBasedMatch/creationDetails": creation_details +"/games:v1/TurnBasedMatch/data": data +"/games:v1/TurnBasedMatch/description": description +"/games:v1/TurnBasedMatch/inviterId": inviter_id +"/games:v1/TurnBasedMatch/kind": kind +"/games:v1/TurnBasedMatch/lastUpdateDetails": last_update_details +"/games:v1/TurnBasedMatch/matchId": match_id +"/games:v1/TurnBasedMatch/matchNumber": match_number +"/games:v1/TurnBasedMatch/matchVersion": match_version +"/games:v1/TurnBasedMatch/participants": participants +"/games:v1/TurnBasedMatch/participants/participant": participant +"/games:v1/TurnBasedMatch/pendingParticipantId": pending_participant_id +"/games:v1/TurnBasedMatch/previousMatchData": previous_match_data +"/games:v1/TurnBasedMatch/rematchId": rematch_id +"/games:v1/TurnBasedMatch/results": results +"/games:v1/TurnBasedMatch/results/result": result +"/games:v1/TurnBasedMatch/status": status +"/games:v1/TurnBasedMatch/userMatchStatus": user_match_status +"/games:v1/TurnBasedMatch/variant": variant +"/games:v1/TurnBasedMatch/withParticipantId": with_participant_id +"/games:v1/TurnBasedMatchCreateRequest/autoMatchingCriteria": auto_matching_criteria +"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds": invited_player_ids +"/games:v1/TurnBasedMatchCreateRequest/invitedPlayerIds/invited_player_id": invited_player_id +"/games:v1/TurnBasedMatchCreateRequest/kind": kind +"/games:v1/TurnBasedMatchCreateRequest/requestId": request_id +"/games:v1/TurnBasedMatchCreateRequest/variant": variant +"/games:v1/TurnBasedMatchData": turn_based_match_data +"/games:v1/TurnBasedMatchData/data": data +"/games:v1/TurnBasedMatchData/dataAvailable": data_available +"/games:v1/TurnBasedMatchData/kind": kind +"/games:v1/TurnBasedMatchDataRequest/data": data +"/games:v1/TurnBasedMatchDataRequest/kind": kind +"/games:v1/TurnBasedMatchList": turn_based_match_list +"/games:v1/TurnBasedMatchList/items": items +"/games:v1/TurnBasedMatchList/items/item": item +"/games:v1/TurnBasedMatchList/kind": kind +"/games:v1/TurnBasedMatchList/nextPageToken": next_page_token +"/games:v1/TurnBasedMatchModification": turn_based_match_modification +"/games:v1/TurnBasedMatchModification/kind": kind +"/games:v1/TurnBasedMatchModification/modifiedTimestampMillis": modified_timestamp_millis +"/games:v1/TurnBasedMatchModification/participantId": participant_id +"/games:v1/TurnBasedMatchParticipant": turn_based_match_participant +"/games:v1/TurnBasedMatchParticipant/autoMatched": auto_matched +"/games:v1/TurnBasedMatchParticipant/autoMatchedPlayer": auto_matched_player +"/games:v1/TurnBasedMatchParticipant/id": id +"/games:v1/TurnBasedMatchParticipant/kind": kind +"/games:v1/TurnBasedMatchParticipant/player": player +"/games:v1/TurnBasedMatchParticipant/status": status +"/games:v1/TurnBasedMatchRematch": turn_based_match_rematch +"/games:v1/TurnBasedMatchRematch/kind": kind +"/games:v1/TurnBasedMatchRematch/previousMatch": previous_match +"/games:v1/TurnBasedMatchRematch/rematch": rematch +"/games:v1/TurnBasedMatchResults": turn_based_match_results +"/games:v1/TurnBasedMatchResults/data": data +"/games:v1/TurnBasedMatchResults/kind": kind +"/games:v1/TurnBasedMatchResults/matchVersion": match_version +"/games:v1/TurnBasedMatchResults/results": results +"/games:v1/TurnBasedMatchResults/results/result": result +"/games:v1/TurnBasedMatchSync": turn_based_match_sync +"/games:v1/TurnBasedMatchSync/items": items +"/games:v1/TurnBasedMatchSync/items/item": item +"/games:v1/TurnBasedMatchSync/kind": kind +"/games:v1/TurnBasedMatchSync/moreAvailable": more_available +"/games:v1/TurnBasedMatchSync/nextPageToken": next_page_token +"/games:v1/TurnBasedMatchTurn": turn_based_match_turn +"/games:v1/TurnBasedMatchTurn/data": data +"/games:v1/TurnBasedMatchTurn/kind": kind +"/games:v1/TurnBasedMatchTurn/matchVersion": match_version +"/games:v1/TurnBasedMatchTurn/pendingParticipantId": pending_participant_id +"/games:v1/TurnBasedMatchTurn/results": results +"/games:v1/TurnBasedMatchTurn/results/result": result +"/gamesConfiguration:v1configuration/fields": fields +"/gamesConfiguration:v1configuration/key": key +"/gamesConfiguration:v1configuration/quotaUser": quota_user +"/gamesConfiguration:v1configuration/userIp": user_ip +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete": delete_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.delete/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get": get_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.get/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert": insert_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.insert/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list": list_achievement_configurations +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/maxResults": max_results +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.list/pageToken": page_token +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch": patch_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.patch/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update": update_achievement_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.achievementConfigurations.update/achievementId": achievement_id +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload": upload_image_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/imageType": image_type +"/gamesConfiguration:v1configuration/gamesConfiguration.imageConfigurations.upload/resourceId": resource_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete": delete_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.delete/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get": get_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.get/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert": insert_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.insert/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list": list_leaderboard_configurations +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/applicationId": application_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/maxResults": max_results +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.list/pageToken": page_token +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch": patch_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.patch/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update": update_leaderboard_configuration +"/gamesConfiguration:v1configuration/gamesConfiguration.leaderboardConfigurations.update/leaderboardId": leaderboard_id +"/gamesConfiguration:v1configuration/AchievementConfiguration": achievement_configuration +"/gamesConfiguration:v1configuration/AchievementConfiguration/achievementType": achievement_type +"/gamesConfiguration:v1configuration/AchievementConfiguration/draft": draft +"/gamesConfiguration:v1configuration/AchievementConfiguration/id": id +"/gamesConfiguration:v1configuration/AchievementConfiguration/initialState": initial_state +"/gamesConfiguration:v1configuration/AchievementConfiguration/kind": kind +"/gamesConfiguration:v1configuration/AchievementConfiguration/published": published +"/gamesConfiguration:v1configuration/AchievementConfiguration/stepsToUnlock": steps_to_unlock +"/gamesConfiguration:v1configuration/AchievementConfiguration/token": token +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail": achievement_configuration_detail +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/description": description +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/iconUrl": icon_url +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/kind": kind +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/name": name +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/pointValue": point_value +"/gamesConfiguration:v1configuration/AchievementConfigurationDetail/sortRank": sort_rank +"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/items": items +"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/items/item": item +"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/kind": kind +"/gamesConfiguration:v1configuration/AchievementConfigurationListResponse/nextPageToken": next_page_token +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration": games_number_affix_configuration +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/few": few +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/many": many +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/one": one +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/other": other +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/two": two +"/gamesConfiguration:v1configuration/GamesNumberAffixConfiguration/zero": zero +"/gamesConfiguration:v1configuration/GamesNumberFormatConfiguration": games_number_format_configuration +"/gamesConfiguration:v1configuration/GamesNumberFormatConfiguration/currencyCode": currency_code +"/gamesConfiguration:v1configuration/GamesNumberFormatConfiguration/numDecimalPlaces": num_decimal_places +"/gamesConfiguration:v1configuration/GamesNumberFormatConfiguration/numberFormatType": number_format_type +"/gamesConfiguration:v1configuration/GamesNumberFormatConfiguration/suffix": suffix +"/gamesConfiguration:v1configuration/ImageConfiguration": image_configuration +"/gamesConfiguration:v1configuration/ImageConfiguration/imageType": image_type +"/gamesConfiguration:v1configuration/ImageConfiguration/kind": kind +"/gamesConfiguration:v1configuration/ImageConfiguration/resourceId": resource_id +"/gamesConfiguration:v1configuration/ImageConfiguration/url": url +"/gamesConfiguration:v1configuration/LeaderboardConfiguration": leaderboard_configuration +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/draft": draft +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/id": id +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/kind": kind +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/published": published +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/scoreMax": score_max +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/scoreMin": score_min +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/scoreOrder": score_order +"/gamesConfiguration:v1configuration/LeaderboardConfiguration/token": token +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail": leaderboard_configuration_detail +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/iconUrl": icon_url +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/kind": kind +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/name": name +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/scoreFormat": score_format +"/gamesConfiguration:v1configuration/LeaderboardConfigurationDetail/sortRank": sort_rank +"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/items": items +"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/items/item": item +"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/kind": kind +"/gamesConfiguration:v1configuration/LeaderboardConfigurationListResponse/nextPageToken": next_page_token +"/gamesConfiguration:v1configuration/LocalizedString": localized_string +"/gamesConfiguration:v1configuration/LocalizedString/kind": kind +"/gamesConfiguration:v1configuration/LocalizedString/locale": locale +"/gamesConfiguration:v1configuration/LocalizedString/value": value +"/gamesConfiguration:v1configuration/LocalizedStringBundle": localized_string_bundle +"/gamesConfiguration:v1configuration/LocalizedStringBundle/kind": kind +"/gamesConfiguration:v1configuration/LocalizedStringBundle/translations": translations +"/gamesConfiguration:v1configuration/LocalizedStringBundle/translations/translation": translation +"/gamesManagement:v1management/fields": fields +"/gamesManagement:v1management/key": key +"/gamesManagement:v1management/quotaUser": quota_user +"/gamesManagement:v1management/userIp": user_ip +"/gamesManagement:v1management/gamesManagement.achievements.reset": reset_achievement +"/gamesManagement:v1management/gamesManagement.achievements.reset/achievementId": achievement_id +"/gamesManagement:v1management/gamesManagement.achievements.resetAll": reset_achievement_all +"/gamesManagement:v1management/gamesManagement.achievements.resetAllForAllPlayers": reset_achievement_all_for_all_players +"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers": reset_achievement_for_all_players +"/gamesManagement:v1management/gamesManagement.achievements.resetForAllPlayers/achievementId": achievement_id +"/gamesManagement:v1management/gamesManagement.achievements.resetMultipleForAllPlayers": reset_achievement_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.applications.listHidden": list_application_hidden +"/gamesManagement:v1management/gamesManagement.applications.listHidden/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.applications.listHidden/maxResults": max_results +"/gamesManagement:v1management/gamesManagement.applications.listHidden/pageToken": page_token +"/gamesManagement:v1management/gamesManagement.events.reset": reset_event +"/gamesManagement:v1management/gamesManagement.events.reset/eventId": event_id +"/gamesManagement:v1management/gamesManagement.events.resetAll": reset_event_all +"/gamesManagement:v1management/gamesManagement.events.resetAllForAllPlayers": reset_event_all_for_all_players +"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers": reset_event_for_all_players +"/gamesManagement:v1management/gamesManagement.events.resetForAllPlayers/eventId": event_id +"/gamesManagement:v1management/gamesManagement.events.resetMultipleForAllPlayers": reset_event_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.players.hide": hide_player +"/gamesManagement:v1management/gamesManagement.players.hide/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.players.hide/playerId": player_id +"/gamesManagement:v1management/gamesManagement.players.unhide": unhide_player +"/gamesManagement:v1management/gamesManagement.players.unhide/applicationId": application_id +"/gamesManagement:v1management/gamesManagement.players.unhide/playerId": player_id +"/gamesManagement:v1management/gamesManagement.quests.reset": reset_quest +"/gamesManagement:v1management/gamesManagement.quests.reset/questId": quest_id +"/gamesManagement:v1management/gamesManagement.quests.resetAll": reset_quest_all +"/gamesManagement:v1management/gamesManagement.quests.resetAllForAllPlayers": reset_quest_all_for_all_players +"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers": reset_quest_for_all_players +"/gamesManagement:v1management/gamesManagement.quests.resetForAllPlayers/questId": quest_id +"/gamesManagement:v1management/gamesManagement.quests.resetMultipleForAllPlayers": reset_quest_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.rooms.reset": reset_room +"/gamesManagement:v1management/gamesManagement.rooms.resetForAllPlayers": reset_room_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.reset": reset_score +"/gamesManagement:v1management/gamesManagement.scores.reset/leaderboardId": leaderboard_id +"/gamesManagement:v1management/gamesManagement.scores.resetAll": reset_score_all +"/gamesManagement:v1management/gamesManagement.scores.resetAllForAllPlayers": reset_score_all_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers": reset_score_for_all_players +"/gamesManagement:v1management/gamesManagement.scores.resetForAllPlayers/leaderboardId": leaderboard_id +"/gamesManagement:v1management/gamesManagement.scores.resetMultipleForAllPlayers": reset_score_multiple_for_all_players +"/gamesManagement:v1management/gamesManagement.turnBasedMatches.reset": reset_turn_based_match +"/gamesManagement:v1management/gamesManagement.turnBasedMatches.resetForAllPlayers": reset_turn_based_match_for_all_players +"/gamesManagement:v1management/AchievementResetAllResponse": achievement_reset_all_response +"/gamesManagement:v1management/AchievementResetAllResponse/kind": kind +"/gamesManagement:v1management/AchievementResetAllResponse/results": results +"/gamesManagement:v1management/AchievementResetAllResponse/results/result": result +"/gamesManagement:v1management/AchievementResetMultipleForAllRequest": achievement_reset_multiple_for_all_request +"/gamesManagement:v1management/AchievementResetMultipleForAllRequest/achievement_ids": achievement_ids +"/gamesManagement:v1management/AchievementResetMultipleForAllRequest/achievement_ids/achievement_id": achievement_id +"/gamesManagement:v1management/AchievementResetMultipleForAllRequest/kind": kind +"/gamesManagement:v1management/AchievementResetResponse": achievement_reset_response +"/gamesManagement:v1management/AchievementResetResponse/currentState": current_state +"/gamesManagement:v1management/AchievementResetResponse/definitionId": definition_id +"/gamesManagement:v1management/AchievementResetResponse/kind": kind +"/gamesManagement:v1management/AchievementResetResponse/updateOccurred": update_occurred +"/gamesManagement:v1management/EventsResetMultipleForAllRequest": events_reset_multiple_for_all_request +"/gamesManagement:v1management/EventsResetMultipleForAllRequest/event_ids": event_ids +"/gamesManagement:v1management/EventsResetMultipleForAllRequest/event_ids/event_id": event_id +"/gamesManagement:v1management/EventsResetMultipleForAllRequest/kind": kind +"/gamesManagement:v1management/GamesPlayedResource": games_played_resource +"/gamesManagement:v1management/GamesPlayedResource/autoMatched": auto_matched +"/gamesManagement:v1management/GamesPlayedResource/timeMillis": time_millis +"/gamesManagement:v1management/GamesPlayerExperienceInfoResource": games_player_experience_info_resource +"/gamesManagement:v1management/GamesPlayerExperienceInfoResource/currentExperiencePoints": current_experience_points +"/gamesManagement:v1management/GamesPlayerExperienceInfoResource/currentLevel": current_level +"/gamesManagement:v1management/GamesPlayerExperienceInfoResource/lastLevelUpTimestampMillis": last_level_up_timestamp_millis +"/gamesManagement:v1management/GamesPlayerExperienceInfoResource/nextLevel": next_level +"/gamesManagement:v1management/GamesPlayerLevelResource": games_player_level_resource +"/gamesManagement:v1management/GamesPlayerLevelResource/level": level +"/gamesManagement:v1management/GamesPlayerLevelResource/maxExperiencePoints": max_experience_points +"/gamesManagement:v1management/GamesPlayerLevelResource/minExperiencePoints": min_experience_points +"/gamesManagement:v1management/HiddenPlayer": hidden_player +"/gamesManagement:v1management/HiddenPlayer/hiddenTimeMillis": hidden_time_millis +"/gamesManagement:v1management/HiddenPlayer/kind": kind +"/gamesManagement:v1management/HiddenPlayer/player": player +"/gamesManagement:v1management/HiddenPlayerList": hidden_player_list +"/gamesManagement:v1management/HiddenPlayerList/items": items +"/gamesManagement:v1management/HiddenPlayerList/items/item": item +"/gamesManagement:v1management/HiddenPlayerList/kind": kind +"/gamesManagement:v1management/HiddenPlayerList/nextPageToken": next_page_token +"/gamesManagement:v1management/Player": player +"/gamesManagement:v1management/Player/avatarImageUrl": avatar_image_url +"/gamesManagement:v1management/Player/bannerUrlLandscape": banner_url_landscape +"/gamesManagement:v1management/Player/bannerUrlPortrait": banner_url_portrait +"/gamesManagement:v1management/Player/displayName": display_name +"/gamesManagement:v1management/Player/experienceInfo": experience_info +"/gamesManagement:v1management/Player/kind": kind +"/gamesManagement:v1management/Player/lastPlayedWith": last_played_with +"/gamesManagement:v1management/Player/name": name +"/gamesManagement:v1management/Player/name/familyName": family_name +"/gamesManagement:v1management/Player/name/givenName": given_name +"/gamesManagement:v1management/Player/originalPlayerId": original_player_id +"/gamesManagement:v1management/Player/playerId": player_id +"/gamesManagement:v1management/Player/profileSettings": profile_settings +"/gamesManagement:v1management/Player/title": title +"/gamesManagement:v1management/PlayerScoreResetAllResponse": player_score_reset_all_response +"/gamesManagement:v1management/PlayerScoreResetAllResponse/kind": kind +"/gamesManagement:v1management/PlayerScoreResetAllResponse/results": results +"/gamesManagement:v1management/PlayerScoreResetAllResponse/results/result": result +"/gamesManagement:v1management/PlayerScoreResetResponse": player_score_reset_response +"/gamesManagement:v1management/PlayerScoreResetResponse/definitionId": definition_id +"/gamesManagement:v1management/PlayerScoreResetResponse/kind": kind +"/gamesManagement:v1management/PlayerScoreResetResponse/resetScoreTimeSpans": reset_score_time_spans +"/gamesManagement:v1management/PlayerScoreResetResponse/resetScoreTimeSpans/reset_score_time_span": reset_score_time_span +"/gamesManagement:v1management/ProfileSettings": profile_settings +"/gamesManagement:v1management/ProfileSettings/kind": kind +"/gamesManagement:v1management/ProfileSettings/profileVisible": profile_visible +"/gamesManagement:v1management/QuestsResetMultipleForAllRequest": quests_reset_multiple_for_all_request +"/gamesManagement:v1management/QuestsResetMultipleForAllRequest/kind": kind +"/gamesManagement:v1management/QuestsResetMultipleForAllRequest/quest_ids": quest_ids +"/gamesManagement:v1management/QuestsResetMultipleForAllRequest/quest_ids/quest_id": quest_id +"/gamesManagement:v1management/ScoresResetMultipleForAllRequest": scores_reset_multiple_for_all_request +"/gamesManagement:v1management/ScoresResetMultipleForAllRequest/kind": kind +"/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids": leaderboard_ids +"/gamesManagement:v1management/ScoresResetMultipleForAllRequest/leaderboard_ids/leaderboard_id": leaderboard_id +"/gmail:v1/fields": fields +"/gmail:v1/key": key +"/gmail:v1/quotaUser": quota_user +"/gmail:v1/userIp": user_ip +"/gmail:v1/gmail.users.getProfile/userId": user_id +"/gmail:v1/gmail.users.stop": stop_user +"/gmail:v1/gmail.users.stop/userId": user_id +"/gmail:v1/gmail.users.watch": watch_user +"/gmail:v1/gmail.users.watch/userId": user_id +"/gmail:v1/gmail.users.drafts.create": create_user_draft +"/gmail:v1/gmail.users.drafts.create/userId": user_id +"/gmail:v1/gmail.users.drafts.delete": delete_user_draft +"/gmail:v1/gmail.users.drafts.delete/id": id +"/gmail:v1/gmail.users.drafts.delete/userId": user_id +"/gmail:v1/gmail.users.drafts.get": get_user_draft +"/gmail:v1/gmail.users.drafts.get/format": format +"/gmail:v1/gmail.users.drafts.get/id": id +"/gmail:v1/gmail.users.drafts.get/userId": user_id +"/gmail:v1/gmail.users.drafts.list": list_user_drafts +"/gmail:v1/gmail.users.drafts.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.drafts.list/maxResults": max_results +"/gmail:v1/gmail.users.drafts.list/pageToken": page_token +"/gmail:v1/gmail.users.drafts.list/q": q +"/gmail:v1/gmail.users.drafts.list/userId": user_id +"/gmail:v1/gmail.users.drafts.send": send_user_draft +"/gmail:v1/gmail.users.drafts.send/userId": user_id +"/gmail:v1/gmail.users.drafts.update": update_user_draft +"/gmail:v1/gmail.users.drafts.update/id": id +"/gmail:v1/gmail.users.drafts.update/userId": user_id +"/gmail:v1/gmail.users.history.list": list_user_histories +"/gmail:v1/gmail.users.history.list/labelId": label_id +"/gmail:v1/gmail.users.history.list/maxResults": max_results +"/gmail:v1/gmail.users.history.list/pageToken": page_token +"/gmail:v1/gmail.users.history.list/startHistoryId": start_history_id +"/gmail:v1/gmail.users.history.list/userId": user_id +"/gmail:v1/gmail.users.labels.create": create_user_label +"/gmail:v1/gmail.users.labels.create/userId": user_id +"/gmail:v1/gmail.users.labels.delete": delete_user_label +"/gmail:v1/gmail.users.labels.delete/id": id +"/gmail:v1/gmail.users.labels.delete/userId": user_id +"/gmail:v1/gmail.users.labels.get": get_user_label +"/gmail:v1/gmail.users.labels.get/id": id +"/gmail:v1/gmail.users.labels.get/userId": user_id +"/gmail:v1/gmail.users.labels.list": list_user_labels +"/gmail:v1/gmail.users.labels.list/userId": user_id +"/gmail:v1/gmail.users.labels.patch": patch_user_label +"/gmail:v1/gmail.users.labels.patch/id": id +"/gmail:v1/gmail.users.labels.patch/userId": user_id +"/gmail:v1/gmail.users.labels.update": update_user_label +"/gmail:v1/gmail.users.labels.update/id": id +"/gmail:v1/gmail.users.labels.update/userId": user_id +"/gmail:v1/gmail.users.messages.batchDelete": batch_delete_messages +"/gmail:v1/gmail.users.messages.batchDelete/userId": user_id +"/gmail:v1/gmail.users.messages.batchModify": batch_modify_messages +"/gmail:v1/gmail.users.messages.batchModify/userId": user_id +"/gmail:v1/gmail.users.messages.delete": delete_user_message +"/gmail:v1/gmail.users.messages.delete/id": id +"/gmail:v1/gmail.users.messages.delete/userId": user_id +"/gmail:v1/gmail.users.messages.get": get_user_message +"/gmail:v1/gmail.users.messages.get/format": format +"/gmail:v1/gmail.users.messages.get/id": id +"/gmail:v1/gmail.users.messages.get/metadataHeaders": metadata_headers +"/gmail:v1/gmail.users.messages.get/userId": user_id +"/gmail:v1/gmail.users.messages.import": import_user_message +"/gmail:v1/gmail.users.messages.import/deleted": deleted +"/gmail:v1/gmail.users.messages.import/internalDateSource": internal_date_source +"/gmail:v1/gmail.users.messages.import/neverMarkSpam": never_mark_spam +"/gmail:v1/gmail.users.messages.import/processForCalendar": process_for_calendar +"/gmail:v1/gmail.users.messages.import/userId": user_id +"/gmail:v1/gmail.users.messages.insert": insert_user_message +"/gmail:v1/gmail.users.messages.insert/deleted": deleted +"/gmail:v1/gmail.users.messages.insert/internalDateSource": internal_date_source +"/gmail:v1/gmail.users.messages.insert/userId": user_id +"/gmail:v1/gmail.users.messages.list": list_user_messages +"/gmail:v1/gmail.users.messages.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.messages.list/labelIds": label_ids +"/gmail:v1/gmail.users.messages.list/maxResults": max_results +"/gmail:v1/gmail.users.messages.list/pageToken": page_token +"/gmail:v1/gmail.users.messages.list/q": q +"/gmail:v1/gmail.users.messages.list/userId": user_id +"/gmail:v1/gmail.users.messages.modify": modify_message +"/gmail:v1/gmail.users.messages.modify/id": id +"/gmail:v1/gmail.users.messages.modify/userId": user_id +"/gmail:v1/gmail.users.messages.send": send_user_message +"/gmail:v1/gmail.users.messages.send/userId": user_id +"/gmail:v1/gmail.users.messages.trash": trash_user_message +"/gmail:v1/gmail.users.messages.trash/id": id +"/gmail:v1/gmail.users.messages.trash/userId": user_id +"/gmail:v1/gmail.users.messages.untrash": untrash_user_message +"/gmail:v1/gmail.users.messages.untrash/id": id +"/gmail:v1/gmail.users.messages.untrash/userId": user_id +"/gmail:v1/gmail.users.messages.attachments.get": get_user_message_attachment +"/gmail:v1/gmail.users.messages.attachments.get/id": id +"/gmail:v1/gmail.users.messages.attachments.get/messageId": message_id +"/gmail:v1/gmail.users.messages.attachments.get/userId": user_id +"/gmail:v1/gmail.users.settings.getAutoForwarding": get_user_setting_auto_forwarding +"/gmail:v1/gmail.users.settings.getAutoForwarding/userId": user_id +"/gmail:v1/gmail.users.settings.getImap": get_user_setting_imap +"/gmail:v1/gmail.users.settings.getImap/userId": user_id +"/gmail:v1/gmail.users.settings.getPop": get_user_setting_pop +"/gmail:v1/gmail.users.settings.getPop/userId": user_id +"/gmail:v1/gmail.users.settings.getVacation": get_user_setting_vacation +"/gmail:v1/gmail.users.settings.getVacation/userId": user_id +"/gmail:v1/gmail.users.settings.updateAutoForwarding": update_user_setting_auto_forwarding +"/gmail:v1/gmail.users.settings.updateAutoForwarding/userId": user_id +"/gmail:v1/gmail.users.settings.updateImap": update_user_setting_imap +"/gmail:v1/gmail.users.settings.updateImap/userId": user_id +"/gmail:v1/gmail.users.settings.updatePop": update_user_setting_pop +"/gmail:v1/gmail.users.settings.updatePop/userId": user_id +"/gmail:v1/gmail.users.settings.updateVacation": update_user_setting_vacation +"/gmail:v1/gmail.users.settings.updateVacation/userId": user_id +"/gmail:v1/gmail.users.settings.filters.create": create_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.create/userId": user_id +"/gmail:v1/gmail.users.settings.filters.delete": delete_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.delete/id": id +"/gmail:v1/gmail.users.settings.filters.delete/userId": user_id +"/gmail:v1/gmail.users.settings.filters.get": get_user_setting_filter +"/gmail:v1/gmail.users.settings.filters.get/id": id +"/gmail:v1/gmail.users.settings.filters.get/userId": user_id +"/gmail:v1/gmail.users.settings.filters.list": list_user_setting_filters +"/gmail:v1/gmail.users.settings.filters.list/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.create": create_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.create/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete": delete_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/forwardingEmail": forwarding_email +"/gmail:v1/gmail.users.settings.forwardingAddresses.delete/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.get": get_user_setting_forwarding_address +"/gmail:v1/gmail.users.settings.forwardingAddresses.get/forwardingEmail": forwarding_email +"/gmail:v1/gmail.users.settings.forwardingAddresses.get/userId": user_id +"/gmail:v1/gmail.users.settings.forwardingAddresses.list": list_user_setting_forwarding_addresses +"/gmail:v1/gmail.users.settings.forwardingAddresses.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.create": create_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.create/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.delete": delete_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.delete/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.delete/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.get": get_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.get/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.get/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.list": list_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.patch": patch_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.patch/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.patch/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.update": update_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.update/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.update/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.verify": verify_user_setting_send_as +"/gmail:v1/gmail.users.settings.sendAs.verify/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.verify/userId": user_id +"/gmail:v1/gmail.users.threads.delete": delete_user_thread +"/gmail:v1/gmail.users.threads.delete/id": id +"/gmail:v1/gmail.users.threads.delete/userId": user_id +"/gmail:v1/gmail.users.threads.get": get_user_thread +"/gmail:v1/gmail.users.threads.get/format": format +"/gmail:v1/gmail.users.threads.get/id": id +"/gmail:v1/gmail.users.threads.get/metadataHeaders": metadata_headers +"/gmail:v1/gmail.users.threads.get/userId": user_id +"/gmail:v1/gmail.users.threads.list": list_user_threads +"/gmail:v1/gmail.users.threads.list/includeSpamTrash": include_spam_trash +"/gmail:v1/gmail.users.threads.list/labelIds": label_ids +"/gmail:v1/gmail.users.threads.list/maxResults": max_results +"/gmail:v1/gmail.users.threads.list/pageToken": page_token +"/gmail:v1/gmail.users.threads.list/q": q +"/gmail:v1/gmail.users.threads.list/userId": user_id +"/gmail:v1/gmail.users.threads.modify": modify_thread +"/gmail:v1/gmail.users.threads.modify/id": id +"/gmail:v1/gmail.users.threads.modify/userId": user_id +"/gmail:v1/gmail.users.threads.trash": trash_user_thread +"/gmail:v1/gmail.users.threads.trash/id": id +"/gmail:v1/gmail.users.threads.trash/userId": user_id +"/gmail:v1/gmail.users.threads.untrash": untrash_user_thread +"/gmail:v1/gmail.users.threads.untrash/id": id +"/gmail:v1/gmail.users.threads.untrash/userId": user_id +"/gmail:v1/AutoForwarding": auto_forwarding +"/gmail:v1/AutoForwarding/disposition": disposition +"/gmail:v1/AutoForwarding/emailAddress": email_address +"/gmail:v1/AutoForwarding/enabled": enabled +"/gmail:v1/BatchDeleteMessagesRequest": batch_delete_messages_request +"/gmail:v1/BatchDeleteMessagesRequest/ids": ids +"/gmail:v1/BatchDeleteMessagesRequest/ids/id": id +"/gmail:v1/BatchModifyMessagesRequest": batch_modify_messages_request +"/gmail:v1/BatchModifyMessagesRequest/addLabelIds": add_label_ids +"/gmail:v1/BatchModifyMessagesRequest/addLabelIds/add_label_id": add_label_id +"/gmail:v1/BatchModifyMessagesRequest/ids": ids +"/gmail:v1/BatchModifyMessagesRequest/ids/id": id +"/gmail:v1/BatchModifyMessagesRequest/removeLabelIds": remove_label_ids +"/gmail:v1/BatchModifyMessagesRequest/removeLabelIds/remove_label_id": remove_label_id +"/gmail:v1/Draft": draft +"/gmail:v1/Draft/id": id +"/gmail:v1/Draft/message": message +"/gmail:v1/Filter": filter +"/gmail:v1/Filter/action": action +"/gmail:v1/Filter/criteria": criteria +"/gmail:v1/Filter/id": id +"/gmail:v1/FilterAction": filter_action +"/gmail:v1/FilterAction/addLabelIds": add_label_ids +"/gmail:v1/FilterAction/addLabelIds/add_label_id": add_label_id +"/gmail:v1/FilterAction/forward": forward +"/gmail:v1/FilterAction/removeLabelIds": remove_label_ids +"/gmail:v1/FilterAction/removeLabelIds/remove_label_id": remove_label_id +"/gmail:v1/FilterCriteria": filter_criteria +"/gmail:v1/FilterCriteria/excludeChats": exclude_chats +"/gmail:v1/FilterCriteria/from": from +"/gmail:v1/FilterCriteria/hasAttachment": has_attachment +"/gmail:v1/FilterCriteria/negatedQuery": negated_query +"/gmail:v1/FilterCriteria/query": query +"/gmail:v1/FilterCriteria/size": size +"/gmail:v1/FilterCriteria/sizeComparison": size_comparison +"/gmail:v1/FilterCriteria/subject": subject +"/gmail:v1/FilterCriteria/to": to +"/gmail:v1/ForwardingAddress": forwarding_address +"/gmail:v1/ForwardingAddress/forwardingEmail": forwarding_email +"/gmail:v1/ForwardingAddress/verificationStatus": verification_status +"/gmail:v1/History": history +"/gmail:v1/History/id": id +"/gmail:v1/History/labelsAdded": labels_added +"/gmail:v1/History/labelsAdded/labels_added": labels_added +"/gmail:v1/History/labelsRemoved": labels_removed +"/gmail:v1/History/labelsRemoved/labels_removed": labels_removed +"/gmail:v1/History/messages": messages +"/gmail:v1/History/messages/message": message +"/gmail:v1/History/messagesAdded": messages_added +"/gmail:v1/History/messagesAdded/messages_added": messages_added +"/gmail:v1/History/messagesDeleted": messages_deleted +"/gmail:v1/History/messagesDeleted/messages_deleted": messages_deleted +"/gmail:v1/HistoryLabelAdded": history_label_added +"/gmail:v1/HistoryLabelAdded/labelIds": label_ids +"/gmail:v1/HistoryLabelAdded/labelIds/label_id": label_id +"/gmail:v1/HistoryLabelAdded/message": message +"/gmail:v1/HistoryLabelRemoved": history_label_removed +"/gmail:v1/HistoryLabelRemoved/labelIds": label_ids +"/gmail:v1/HistoryLabelRemoved/labelIds/label_id": label_id +"/gmail:v1/HistoryLabelRemoved/message": message +"/gmail:v1/HistoryMessageAdded": history_message_added +"/gmail:v1/HistoryMessageAdded/message": message +"/gmail:v1/HistoryMessageDeleted": history_message_deleted +"/gmail:v1/HistoryMessageDeleted/message": message +"/gmail:v1/ImapSettings": imap_settings +"/gmail:v1/ImapSettings/autoExpunge": auto_expunge +"/gmail:v1/ImapSettings/enabled": enabled +"/gmail:v1/ImapSettings/expungeBehavior": expunge_behavior +"/gmail:v1/ImapSettings/maxFolderSize": max_folder_size +"/gmail:v1/Label": label +"/gmail:v1/Label/id": id +"/gmail:v1/Label/labelListVisibility": label_list_visibility +"/gmail:v1/Label/messageListVisibility": message_list_visibility +"/gmail:v1/Label/messagesTotal": messages_total +"/gmail:v1/Label/messagesUnread": messages_unread +"/gmail:v1/Label/name": name +"/gmail:v1/Label/threadsTotal": threads_total +"/gmail:v1/Label/threadsUnread": threads_unread +"/gmail:v1/Label/type": type +"/gmail:v1/ListDraftsResponse": list_drafts_response +"/gmail:v1/ListDraftsResponse/drafts": drafts +"/gmail:v1/ListDraftsResponse/drafts/draft": draft +"/gmail:v1/ListDraftsResponse/nextPageToken": next_page_token +"/gmail:v1/ListDraftsResponse/resultSizeEstimate": result_size_estimate +"/gmail:v1/ListFiltersResponse": list_filters_response +"/gmail:v1/ListFiltersResponse/filter": filter +"/gmail:v1/ListFiltersResponse/filter/filter": filter +"/gmail:v1/ListForwardingAddressesResponse": list_forwarding_addresses_response +"/gmail:v1/ListForwardingAddressesResponse/forwardingAddresses": forwarding_addresses +"/gmail:v1/ListForwardingAddressesResponse/forwardingAddresses/forwarding_address": forwarding_address +"/gmail:v1/ListHistoryResponse": list_history_response +"/gmail:v1/ListHistoryResponse/history": history +"/gmail:v1/ListHistoryResponse/history/history": history +"/gmail:v1/ListHistoryResponse/historyId": history_id +"/gmail:v1/ListHistoryResponse/nextPageToken": next_page_token +"/gmail:v1/ListLabelsResponse": list_labels_response +"/gmail:v1/ListLabelsResponse/labels": labels +"/gmail:v1/ListLabelsResponse/labels/label": label +"/gmail:v1/ListMessagesResponse": list_messages_response +"/gmail:v1/ListMessagesResponse/messages": messages +"/gmail:v1/ListMessagesResponse/messages/message": message +"/gmail:v1/ListMessagesResponse/nextPageToken": next_page_token +"/gmail:v1/ListMessagesResponse/resultSizeEstimate": result_size_estimate +"/gmail:v1/ListSendAsResponse": list_send_as_response +"/gmail:v1/ListSendAsResponse/sendAs": send_as +"/gmail:v1/ListSendAsResponse/sendAs/send_as": send_as +"/gmail:v1/ListThreadsResponse": list_threads_response +"/gmail:v1/ListThreadsResponse/nextPageToken": next_page_token +"/gmail:v1/ListThreadsResponse/resultSizeEstimate": result_size_estimate +"/gmail:v1/ListThreadsResponse/threads": threads +"/gmail:v1/ListThreadsResponse/threads/thread": thread +"/gmail:v1/Message": message +"/gmail:v1/Message/historyId": history_id +"/gmail:v1/Message/id": id +"/gmail:v1/Message/internalDate": internal_date +"/gmail:v1/Message/labelIds": label_ids +"/gmail:v1/Message/labelIds/label_id": label_id +"/gmail:v1/Message/payload": payload +"/gmail:v1/Message/raw": raw +"/gmail:v1/Message/sizeEstimate": size_estimate +"/gmail:v1/Message/snippet": snippet +"/gmail:v1/Message/threadId": thread_id +"/gmail:v1/MessagePart": message_part +"/gmail:v1/MessagePart/body": body +"/gmail:v1/MessagePart/filename": filename +"/gmail:v1/MessagePart/headers": headers +"/gmail:v1/MessagePart/headers/header": header +"/gmail:v1/MessagePart/mimeType": mime_type +"/gmail:v1/MessagePart/partId": part_id +"/gmail:v1/MessagePart/parts": parts +"/gmail:v1/MessagePart/parts/part": part +"/gmail:v1/MessagePartBody": message_part_body +"/gmail:v1/MessagePartBody/attachmentId": attachment_id +"/gmail:v1/MessagePartBody/data": data +"/gmail:v1/MessagePartBody/size": size +"/gmail:v1/MessagePartHeader": message_part_header +"/gmail:v1/MessagePartHeader/name": name +"/gmail:v1/MessagePartHeader/value": value +"/gmail:v1/ModifyMessageRequest": modify_message_request +"/gmail:v1/ModifyMessageRequest/addLabelIds": add_label_ids +"/gmail:v1/ModifyMessageRequest/addLabelIds/add_label_id": add_label_id +"/gmail:v1/ModifyMessageRequest/removeLabelIds": remove_label_ids +"/gmail:v1/ModifyMessageRequest/removeLabelIds/remove_label_id": remove_label_id +"/gmail:v1/ModifyThreadRequest": modify_thread_request +"/gmail:v1/ModifyThreadRequest/addLabelIds": add_label_ids +"/gmail:v1/ModifyThreadRequest/addLabelIds/add_label_id": add_label_id +"/gmail:v1/ModifyThreadRequest/removeLabelIds": remove_label_ids +"/gmail:v1/ModifyThreadRequest/removeLabelIds/remove_label_id": remove_label_id +"/gmail:v1/PopSettings": pop_settings +"/gmail:v1/PopSettings/accessWindow": access_window +"/gmail:v1/PopSettings/disposition": disposition +"/gmail:v1/Profile": profile +"/gmail:v1/Profile/emailAddress": email_address +"/gmail:v1/Profile/historyId": history_id +"/gmail:v1/Profile/messagesTotal": messages_total +"/gmail:v1/Profile/threadsTotal": threads_total +"/gmail:v1/SendAs": send_as +"/gmail:v1/SendAs/displayName": display_name +"/gmail:v1/SendAs/isDefault": is_default +"/gmail:v1/SendAs/isPrimary": is_primary +"/gmail:v1/SendAs/replyToAddress": reply_to_address +"/gmail:v1/SendAs/sendAsEmail": send_as_email +"/gmail:v1/SendAs/signature": signature +"/gmail:v1/SendAs/smtpMsa": smtp_msa +"/gmail:v1/SendAs/treatAsAlias": treat_as_alias +"/gmail:v1/SendAs/verificationStatus": verification_status +"/gmail:v1/SmtpMsa": smtp_msa +"/gmail:v1/SmtpMsa/host": host +"/gmail:v1/SmtpMsa/password": password +"/gmail:v1/SmtpMsa/port": port +"/gmail:v1/SmtpMsa/securityMode": security_mode +"/gmail:v1/SmtpMsa/username": username +"/gmail:v1/Thread": thread +"/gmail:v1/Thread/historyId": history_id +"/gmail:v1/Thread/id": id +"/gmail:v1/Thread/messages": messages +"/gmail:v1/Thread/messages/message": message +"/gmail:v1/Thread/snippet": snippet +"/gmail:v1/VacationSettings": vacation_settings +"/gmail:v1/VacationSettings/enableAutoReply": enable_auto_reply +"/gmail:v1/VacationSettings/endTime": end_time +"/gmail:v1/VacationSettings/responseBodyHtml": response_body_html +"/gmail:v1/VacationSettings/responseBodyPlainText": response_body_plain_text +"/gmail:v1/VacationSettings/responseSubject": response_subject +"/gmail:v1/VacationSettings/restrictToContacts": restrict_to_contacts +"/gmail:v1/VacationSettings/restrictToDomain": restrict_to_domain +"/gmail:v1/VacationSettings/startTime": start_time +"/gmail:v1/WatchRequest": watch_request +"/gmail:v1/WatchRequest/labelFilterAction": label_filter_action +"/gmail:v1/WatchRequest/labelIds": label_ids +"/gmail:v1/WatchRequest/labelIds/label_id": label_id +"/gmail:v1/WatchRequest/topicName": topic_name +"/gmail:v1/WatchResponse": watch_response +"/gmail:v1/WatchResponse/expiration": expiration +"/gmail:v1/WatchResponse/historyId": history_id +"/groupsmigration:v1/fields": fields +"/groupsmigration:v1/key": key +"/groupsmigration:v1/quotaUser": quota_user +"/groupsmigration:v1/userIp": user_ip +"/groupsmigration:v1/groupsmigration.archive.insert": insert_archive +"/groupsmigration:v1/groupsmigration.archive.insert/groupId": group_id +"/groupsmigration:v1/Groups": groups +"/groupsmigration:v1/Groups/kind": kind +"/groupsmigration:v1/Groups/responseCode": response_code +"/groupssettings:v1/fields": fields +"/groupssettings:v1/key": key +"/groupssettings:v1/quotaUser": quota_user +"/groupssettings:v1/userIp": user_ip +"/groupssettings:v1/groupsSettings.groups.get": get_group +"/groupssettings:v1/groupsSettings.groups.get/groupUniqueId": group_unique_id +"/groupssettings:v1/groupsSettings.groups.patch": patch_group +"/groupssettings:v1/groupsSettings.groups.patch/groupUniqueId": group_unique_id +"/groupssettings:v1/groupsSettings.groups.update": update_group +"/groupssettings:v1/groupsSettings.groups.update/groupUniqueId": group_unique_id +"/groupssettings:v1/Groups": groups +"/groupssettings:v1/Groups/allowExternalMembers": allow_external_members +"/groupssettings:v1/Groups/allowGoogleCommunication": allow_google_communication +"/groupssettings:v1/Groups/allowWebPosting": allow_web_posting +"/groupssettings:v1/Groups/archiveOnly": archive_only +"/groupssettings:v1/Groups/customFooterText": custom_footer_text +"/groupssettings:v1/Groups/customReplyTo": custom_reply_to +"/groupssettings:v1/Groups/defaultMessageDenyNotificationText": default_message_deny_notification_text +"/groupssettings:v1/Groups/description": description +"/groupssettings:v1/Groups/email": email +"/groupssettings:v1/Groups/includeCustomFooter": include_custom_footer +"/groupssettings:v1/Groups/includeInGlobalAddressList": include_in_global_address_list +"/groupssettings:v1/Groups/isArchived": is_archived +"/groupssettings:v1/Groups/kind": kind +"/groupssettings:v1/Groups/maxMessageBytes": max_message_bytes +"/groupssettings:v1/Groups/membersCanPostAsTheGroup": members_can_post_as_the_group +"/groupssettings:v1/Groups/messageDisplayFont": message_display_font +"/groupssettings:v1/Groups/messageModerationLevel": message_moderation_level +"/groupssettings:v1/Groups/name": name +"/groupssettings:v1/Groups/primaryLanguage": primary_language +"/groupssettings:v1/Groups/replyTo": reply_to +"/groupssettings:v1/Groups/sendMessageDenyNotification": send_message_deny_notification +"/groupssettings:v1/Groups/showInGroupDirectory": show_in_group_directory +"/groupssettings:v1/Groups/spamModerationLevel": spam_moderation_level +"/groupssettings:v1/Groups/whoCanAdd": who_can_add +"/groupssettings:v1/Groups/whoCanContactOwner": who_can_contact_owner +"/groupssettings:v1/Groups/whoCanInvite": who_can_invite +"/groupssettings:v1/Groups/whoCanJoin": who_can_join +"/groupssettings:v1/Groups/whoCanLeaveGroup": who_can_leave_group +"/groupssettings:v1/Groups/whoCanPostMessage": who_can_post_message +"/groupssettings:v1/Groups/whoCanViewGroup": who_can_view_group +"/groupssettings:v1/Groups/whoCanViewMembership": who_can_view_membership +"/appengine:v1beta5/fields": fields +"/appengine:v1beta5/key": key +"/appengine:v1beta5/quotaUser": quota_user +"/appengine:v1beta5/appengine.apps.create": create_app +"/appengine:v1beta5/appengine.apps.get": get_app +"/appengine:v1beta5/appengine.apps.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.get/ensureResourcesExist": ensure_resources_exist +"/appengine:v1beta5/appengine.apps.patch": patch_app +"/appengine:v1beta5/appengine.apps.patch/appsId": apps_id +"/appengine:v1beta5/appengine.apps.patch/mask": mask +"/appengine:v1beta5/appengine.apps.operations.list": list_app_operations +"/appengine:v1beta5/appengine.apps.operations.list/appsId": apps_id +"/appengine:v1beta5/appengine.apps.operations.list/filter": filter +"/appengine:v1beta5/appengine.apps.operations.list/pageSize": page_size +"/appengine:v1beta5/appengine.apps.operations.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.operations.get": get_app_operation +"/appengine:v1beta5/appengine.apps.operations.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.operations.get/operationsId": operations_id +"/appengine:v1beta5/appengine.apps.services.delete": delete_app_service +"/appengine:v1beta5/appengine.apps.services.delete/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.delete/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.get": get_app_service +"/appengine:v1beta5/appengine.apps.services.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.get/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.list": list_app_services +"/appengine:v1beta5/appengine.apps.services.list/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.list/pageSize": page_size +"/appengine:v1beta5/appengine.apps.services.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.services.patch": patch_app_service +"/appengine:v1beta5/appengine.apps.services.patch/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.patch/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.patch/mask": mask +"/appengine:v1beta5/appengine.apps.services.patch/migrateTraffic": migrate_traffic +"/appengine:v1beta5/appengine.apps.services.versions.create": create_app_service_version +"/appengine:v1beta5/appengine.apps.services.versions.create/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.create/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.delete": delete_app_service_version +"/appengine:v1beta5/appengine.apps.services.versions.delete/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.delete/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.delete/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.get": get_app_service_version +"/appengine:v1beta5/appengine.apps.services.versions.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.get/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.get/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.get/view": view +"/appengine:v1beta5/appengine.apps.services.versions.list": list_app_service_versions +"/appengine:v1beta5/appengine.apps.services.versions.list/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.list/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.list/view": view +"/appengine:v1beta5/appengine.apps.services.versions.list/pageSize": page_size +"/appengine:v1beta5/appengine.apps.services.versions.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.services.versions.patch": patch_app_service_version +"/appengine:v1beta5/appengine.apps.services.versions.patch/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.patch/mask": mask +"/appengine:v1beta5/appengine.apps.services.versions.instances.delete": delete_app_service_version_instance +"/appengine:v1beta5/appengine.apps.services.versions.instances.delete/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.delete/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.delete/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.delete/instancesId": instances_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.get": get_app_service_version_instance +"/appengine:v1beta5/appengine.apps.services.versions.instances.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.get/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.get/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.get/instancesId": instances_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.list": list_app_service_version_instances +"/appengine:v1beta5/appengine.apps.services.versions.instances.list/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.list/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.list/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.list/pageSize": page_size +"/appengine:v1beta5/appengine.apps.services.versions.instances.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.services.versions.instances.debug": debug_instance +"/appengine:v1beta5/appengine.apps.services.versions.instances.debug/appsId": apps_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.debug/servicesId": services_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.debug/versionsId": versions_id +"/appengine:v1beta5/appengine.apps.services.versions.instances.debug/instancesId": instances_id +"/appengine:v1beta5/appengine.apps.locations.list": list_app_locations +"/appengine:v1beta5/appengine.apps.locations.list/appsId": apps_id +"/appengine:v1beta5/appengine.apps.locations.list/filter": filter +"/appengine:v1beta5/appengine.apps.locations.list/pageSize": page_size +"/appengine:v1beta5/appengine.apps.locations.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.locations.get": get_app_location +"/appengine:v1beta5/appengine.apps.locations.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.locations.get/locationsId": locations_id +"/appengine:v1beta5/ListOperationsResponse": list_operations_response +"/appengine:v1beta5/ListOperationsResponse/operations": operations +"/appengine:v1beta5/ListOperationsResponse/operations/operation": operation +"/appengine:v1beta5/ListOperationsResponse/nextPageToken": next_page_token +"/appengine:v1beta5/Operation": operation +"/appengine:v1beta5/Operation/name": name +"/appengine:v1beta5/Operation/metadata": metadata +"/appengine:v1beta5/Operation/metadata/metadatum": metadatum +"/appengine:v1beta5/Operation/done": done +"/appengine:v1beta5/Operation/error": error +"/appengine:v1beta5/Operation/response": response +"/appengine:v1beta5/Operation/response/response": response +"/appengine:v1beta5/Status": status +"/appengine:v1beta5/Status/code": code +"/appengine:v1beta5/Status/message": message +"/appengine:v1beta5/Status/details": details +"/appengine:v1beta5/Status/details/detail": detail +"/appengine:v1beta5/Status/details/detail/detail": detail +"/appengine:v1beta5/Application": application +"/appengine:v1beta5/Application/name": name +"/appengine:v1beta5/Application/id": id +"/appengine:v1beta5/Application/dispatchRules": dispatch_rules +"/appengine:v1beta5/Application/dispatchRules/dispatch_rule": dispatch_rule +"/appengine:v1beta5/Application/authDomain": auth_domain +"/appengine:v1beta5/Application/location": location +"/appengine:v1beta5/Application/codeBucket": code_bucket +"/appengine:v1beta5/Application/defaultCookieExpiration": default_cookie_expiration +"/appengine:v1beta5/Application/defaultHostname": default_hostname +"/appengine:v1beta5/Application/defaultBucket": default_bucket +"/appengine:v1beta5/UrlDispatchRule": url_dispatch_rule +"/appengine:v1beta5/UrlDispatchRule/domain": domain +"/appengine:v1beta5/UrlDispatchRule/path": path +"/appengine:v1beta5/UrlDispatchRule/service": service +"/appengine:v1beta5/Version": version +"/appengine:v1beta5/Version/name": name +"/appengine:v1beta5/Version/id": id +"/appengine:v1beta5/Version/automaticScaling": automatic_scaling +"/appengine:v1beta5/Version/basicScaling": basic_scaling +"/appengine:v1beta5/Version/manualScaling": manual_scaling +"/appengine:v1beta5/Version/inboundServices": inbound_services +"/appengine:v1beta5/Version/inboundServices/inbound_service": inbound_service +"/appengine:v1beta5/Version/instanceClass": instance_class +"/appengine:v1beta5/Version/network": network +"/appengine:v1beta5/Version/resources": resources +"/appengine:v1beta5/Version/runtime": runtime +"/appengine:v1beta5/Version/threadsafe": threadsafe +"/appengine:v1beta5/Version/vm": vm +"/appengine:v1beta5/Version/betaSettings": beta_settings +"/appengine:v1beta5/Version/betaSettings/beta_setting": beta_setting +"/appengine:v1beta5/Version/env": env +"/appengine:v1beta5/Version/servingStatus": serving_status +"/appengine:v1beta5/Version/deployer": deployer +"/appengine:v1beta5/Version/creationTime": creation_time +"/appengine:v1beta5/Version/diskUsageBytes": disk_usage_bytes +"/appengine:v1beta5/Version/handlers": handlers +"/appengine:v1beta5/Version/handlers/handler": handler +"/appengine:v1beta5/Version/errorHandlers": error_handlers +"/appengine:v1beta5/Version/errorHandlers/error_handler": error_handler +"/appengine:v1beta5/Version/libraries": libraries +"/appengine:v1beta5/Version/libraries/library": library +"/appengine:v1beta5/Version/apiConfig": api_config +"/appengine:v1beta5/Version/envVariables": env_variables +"/appengine:v1beta5/Version/envVariables/env_variable": env_variable +"/appengine:v1beta5/Version/defaultExpiration": default_expiration +"/appengine:v1beta5/Version/healthCheck": health_check +"/appengine:v1beta5/Version/nobuildFilesRegex": nobuild_files_regex +"/appengine:v1beta5/Version/deployment": deployment +"/appengine:v1beta5/Version/endpointsApiService": endpoints_api_service +"/appengine:v1beta5/AutomaticScaling": automatic_scaling +"/appengine:v1beta5/AutomaticScaling/coolDownPeriod": cool_down_period +"/appengine:v1beta5/AutomaticScaling/cpuUtilization": cpu_utilization +"/appengine:v1beta5/AutomaticScaling/maxConcurrentRequests": max_concurrent_requests +"/appengine:v1beta5/AutomaticScaling/maxIdleInstances": max_idle_instances +"/appengine:v1beta5/AutomaticScaling/maxTotalInstances": max_total_instances +"/appengine:v1beta5/AutomaticScaling/maxPendingLatency": max_pending_latency +"/appengine:v1beta5/AutomaticScaling/minIdleInstances": min_idle_instances +"/appengine:v1beta5/AutomaticScaling/minTotalInstances": min_total_instances +"/appengine:v1beta5/AutomaticScaling/minPendingLatency": min_pending_latency +"/appengine:v1beta5/AutomaticScaling/requestUtilization": request_utilization +"/appengine:v1beta5/AutomaticScaling/diskUtilization": disk_utilization +"/appengine:v1beta5/AutomaticScaling/networkUtilization": network_utilization +"/appengine:v1beta5/CpuUtilization": cpu_utilization +"/appengine:v1beta5/CpuUtilization/aggregationWindowLength": aggregation_window_length +"/appengine:v1beta5/CpuUtilization/targetUtilization": target_utilization +"/appengine:v1beta5/RequestUtilization": request_utilization +"/appengine:v1beta5/RequestUtilization/targetRequestCountPerSec": target_request_count_per_sec +"/appengine:v1beta5/RequestUtilization/targetConcurrentRequests": target_concurrent_requests +"/appengine:v1beta5/DiskUtilization": disk_utilization +"/appengine:v1beta5/DiskUtilization/targetWriteBytesPerSec": target_write_bytes_per_sec +"/appengine:v1beta5/DiskUtilization/targetWriteOpsPerSec": target_write_ops_per_sec +"/appengine:v1beta5/DiskUtilization/targetReadBytesPerSec": target_read_bytes_per_sec +"/appengine:v1beta5/DiskUtilization/targetReadOpsPerSec": target_read_ops_per_sec +"/appengine:v1beta5/NetworkUtilization": network_utilization +"/appengine:v1beta5/NetworkUtilization/targetSentBytesPerSec": target_sent_bytes_per_sec +"/appengine:v1beta5/NetworkUtilization/targetSentPacketsPerSec": target_sent_packets_per_sec +"/appengine:v1beta5/NetworkUtilization/targetReceivedBytesPerSec": target_received_bytes_per_sec +"/appengine:v1beta5/NetworkUtilization/targetReceivedPacketsPerSec": target_received_packets_per_sec +"/appengine:v1beta5/BasicScaling": basic_scaling +"/appengine:v1beta5/BasicScaling/idleTimeout": idle_timeout +"/appengine:v1beta5/BasicScaling/maxInstances": max_instances +"/appengine:v1beta5/ManualScaling": manual_scaling +"/appengine:v1beta5/ManualScaling/instances": instances +"/appengine:v1beta5/Network": network +"/appengine:v1beta5/Network/forwardedPorts": forwarded_ports +"/appengine:v1beta5/Network/forwardedPorts/forwarded_port": forwarded_port +"/appengine:v1beta5/Network/instanceTag": instance_tag +"/appengine:v1beta5/Network/name": name +"/appengine:v1beta5/Network/subnetworkName": subnetwork_name +"/appengine:v1beta5/Resources": resources +"/appengine:v1beta5/Resources/cpu": cpu +"/appengine:v1beta5/Resources/diskGb": disk_gb +"/appengine:v1beta5/Resources/memoryGb": memory_gb +"/appengine:v1beta5/Resources/volumes": volumes +"/appengine:v1beta5/Resources/volumes/volume": volume +"/appengine:v1beta5/Volume": volume +"/appengine:v1beta5/Volume/name": name +"/appengine:v1beta5/Volume/volumeType": volume_type +"/appengine:v1beta5/Volume/sizeGb": size_gb +"/appengine:v1beta5/UrlMap": url_map +"/appengine:v1beta5/UrlMap/urlRegex": url_regex +"/appengine:v1beta5/UrlMap/staticFiles": static_files +"/appengine:v1beta5/UrlMap/script": script +"/appengine:v1beta5/UrlMap/apiEndpoint": api_endpoint +"/appengine:v1beta5/UrlMap/securityLevel": security_level +"/appengine:v1beta5/UrlMap/login": login +"/appengine:v1beta5/UrlMap/authFailAction": auth_fail_action +"/appengine:v1beta5/UrlMap/redirectHttpResponseCode": redirect_http_response_code +"/appengine:v1beta5/StaticFilesHandler": static_files_handler +"/appengine:v1beta5/StaticFilesHandler/path": path +"/appengine:v1beta5/StaticFilesHandler/uploadPathRegex": upload_path_regex +"/appengine:v1beta5/StaticFilesHandler/httpHeaders": http_headers +"/appengine:v1beta5/StaticFilesHandler/httpHeaders/http_header": http_header +"/appengine:v1beta5/StaticFilesHandler/mimeType": mime_type +"/appengine:v1beta5/StaticFilesHandler/expiration": expiration +"/appengine:v1beta5/StaticFilesHandler/requireMatchingFile": require_matching_file +"/appengine:v1beta5/StaticFilesHandler/applicationReadable": application_readable +"/appengine:v1beta5/ScriptHandler": script_handler +"/appengine:v1beta5/ScriptHandler/scriptPath": script_path +"/appengine:v1beta5/ApiEndpointHandler": api_endpoint_handler +"/appengine:v1beta5/ApiEndpointHandler/scriptPath": script_path +"/appengine:v1beta5/ErrorHandler": error_handler +"/appengine:v1beta5/ErrorHandler/errorCode": error_code +"/appengine:v1beta5/ErrorHandler/staticFile": static_file +"/appengine:v1beta5/ErrorHandler/mimeType": mime_type +"/appengine:v1beta5/Library": library +"/appengine:v1beta5/Library/name": name +"/appengine:v1beta5/Library/version": version +"/appengine:v1beta5/ApiConfigHandler": api_config_handler +"/appengine:v1beta5/ApiConfigHandler/authFailAction": auth_fail_action +"/appengine:v1beta5/ApiConfigHandler/login": login +"/appengine:v1beta5/ApiConfigHandler/script": script +"/appengine:v1beta5/ApiConfigHandler/securityLevel": security_level +"/appengine:v1beta5/ApiConfigHandler/url": url +"/appengine:v1beta5/HealthCheck": health_check +"/appengine:v1beta5/HealthCheck/disableHealthCheck": disable_health_check +"/appengine:v1beta5/HealthCheck/host": host +"/appengine:v1beta5/HealthCheck/healthyThreshold": healthy_threshold +"/appengine:v1beta5/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/appengine:v1beta5/HealthCheck/restartThreshold": restart_threshold +"/appengine:v1beta5/HealthCheck/checkInterval": check_interval +"/appengine:v1beta5/HealthCheck/timeout": timeout +"/appengine:v1beta5/Deployment": deployment +"/appengine:v1beta5/Deployment/files": files +"/appengine:v1beta5/Deployment/files/file": file +"/appengine:v1beta5/Deployment/container": container +"/appengine:v1beta5/Deployment/sourceReferences": source_references +"/appengine:v1beta5/Deployment/sourceReferences/source_reference": source_reference +"/appengine:v1beta5/FileInfo": file_info +"/appengine:v1beta5/FileInfo/sourceUrl": source_url +"/appengine:v1beta5/FileInfo/sha1Sum": sha1_sum +"/appengine:v1beta5/FileInfo/mimeType": mime_type +"/appengine:v1beta5/ContainerInfo": container_info +"/appengine:v1beta5/ContainerInfo/image": image +"/appengine:v1beta5/SourceReference": source_reference +"/appengine:v1beta5/SourceReference/repository": repository +"/appengine:v1beta5/SourceReference/revisionId": revision_id +"/appengine:v1beta5/EndpointsApiService": endpoints_api_service +"/appengine:v1beta5/EndpointsApiService/name": name +"/appengine:v1beta5/EndpointsApiService/configId": config_id +"/appengine:v1beta5/ListVersionsResponse": list_versions_response +"/appengine:v1beta5/ListVersionsResponse/versions": versions +"/appengine:v1beta5/ListVersionsResponse/versions/version": version +"/appengine:v1beta5/ListVersionsResponse/nextPageToken": next_page_token +"/appengine:v1beta5/Service": service +"/appengine:v1beta5/Service/name": name +"/appengine:v1beta5/Service/id": id +"/appengine:v1beta5/Service/split": split +"/appengine:v1beta5/TrafficSplit": traffic_split +"/appengine:v1beta5/TrafficSplit/shardBy": shard_by +"/appengine:v1beta5/TrafficSplit/allocations": allocations +"/appengine:v1beta5/TrafficSplit/allocations/allocation": allocation +"/appengine:v1beta5/ListServicesResponse": list_services_response +"/appengine:v1beta5/ListServicesResponse/services": services +"/appengine:v1beta5/ListServicesResponse/services/service": service +"/appengine:v1beta5/ListServicesResponse/nextPageToken": next_page_token +"/appengine:v1beta5/Instance": instance +"/appengine:v1beta5/Instance/name": name +"/appengine:v1beta5/Instance/id": id +"/appengine:v1beta5/Instance/appEngineRelease": app_engine_release +"/appengine:v1beta5/Instance/availability": availability +"/appengine:v1beta5/Instance/vmName": vm_name +"/appengine:v1beta5/Instance/vmZoneName": vm_zone_name +"/appengine:v1beta5/Instance/vmId": vm_id +"/appengine:v1beta5/Instance/startTimestamp": start_timestamp +"/appengine:v1beta5/Instance/requests": requests +"/appengine:v1beta5/Instance/errors": errors +"/appengine:v1beta5/Instance/qps": qps +"/appengine:v1beta5/Instance/averageLatency": average_latency +"/appengine:v1beta5/Instance/memoryUsage": memory_usage +"/appengine:v1beta5/Instance/vmStatus": vm_status +"/appengine:v1beta5/Instance/vmUnlocked": vm_unlocked +"/appengine:v1beta5/Instance/vmIp": vm_ip +"/appengine:v1beta5/ListInstancesResponse": list_instances_response +"/appengine:v1beta5/ListInstancesResponse/instances": instances +"/appengine:v1beta5/ListInstancesResponse/instances/instance": instance +"/appengine:v1beta5/ListInstancesResponse/nextPageToken": next_page_token +"/appengine:v1beta5/DebugInstanceRequest": debug_instance_request +"/appengine:v1beta5/DebugInstanceRequest/sshKey": ssh_key +"/appengine:v1beta5/ListLocationsResponse": list_locations_response +"/appengine:v1beta5/ListLocationsResponse/locations": locations +"/appengine:v1beta5/ListLocationsResponse/locations/location": location +"/appengine:v1beta5/ListLocationsResponse/nextPageToken": next_page_token +"/appengine:v1beta5/Location": location +"/appengine:v1beta5/Location/name": name +"/appengine:v1beta5/Location/locationId": location_id +"/appengine:v1beta5/Location/labels": labels +"/appengine:v1beta5/Location/labels/label": label +"/appengine:v1beta5/Location/metadata": metadata +"/appengine:v1beta5/Location/metadata/metadatum": metadatum +"/appengine:v1beta5/OperationMetadataExperimental": operation_metadata_experimental +"/appengine:v1beta5/OperationMetadataExperimental/method": method_prop +"/appengine:v1beta5/OperationMetadataExperimental/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataExperimental/endTime": end_time +"/appengine:v1beta5/OperationMetadataExperimental/user": user +"/appengine:v1beta5/OperationMetadataExperimental/target": target +"/appengine:v1beta5/OperationMetadata": operation_metadata +"/appengine:v1beta5/OperationMetadata/operationType": operation_type +"/appengine:v1beta5/OperationMetadata/insertTime": insert_time +"/appengine:v1beta5/OperationMetadata/endTime": end_time +"/appengine:v1beta5/OperationMetadata/user": user +"/appengine:v1beta5/OperationMetadata/target": target +"/appengine:v1beta5/OperationMetadata/method": method_prop +"/appengine:v1beta5/OperationMetadataV1Beta5": operation_metadata_v1_beta5 +"/appengine:v1beta5/OperationMetadataV1Beta5/method": method_prop +"/appengine:v1beta5/OperationMetadataV1Beta5/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataV1Beta5/endTime": end_time +"/appengine:v1beta5/OperationMetadataV1Beta5/user": user +"/appengine:v1beta5/OperationMetadataV1Beta5/target": target +"/appengine:v1beta5/OperationMetadataV1": operation_metadata_v1 +"/appengine:v1beta5/OperationMetadataV1/method": method_prop +"/appengine:v1beta5/OperationMetadataV1/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataV1/endTime": end_time +"/appengine:v1beta5/OperationMetadataV1/user": user +"/appengine:v1beta5/OperationMetadataV1/target": target +"/appengine:v1beta5/OperationMetadataV1/ephemeralMessage": ephemeral_message +"/appengine:v1beta5/OperationMetadataV1/warning": warning +"/appengine:v1beta5/OperationMetadataV1/warning/warning": warning +"/appengine:v1beta5/LocationMetadata": location_metadata +"/appengine:v1beta5/LocationMetadata/standardEnvironmentAvailable": standard_environment_available +"/appengine:v1beta5/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available +"/classroom:v1/fields": fields +"/classroom:v1/key": key +"/classroom:v1/quotaUser": quota_user +"/classroom:v1/classroom.courses.create": create_course +"/classroom:v1/classroom.courses.get": get_course +"/classroom:v1/classroom.courses.get/id": id +"/classroom:v1/classroom.courses.update": update_course +"/classroom:v1/classroom.courses.update/id": id +"/classroom:v1/classroom.courses.patch": patch_course +"/classroom:v1/classroom.courses.patch/id": id +"/classroom:v1/classroom.courses.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.delete": delete_course +"/classroom:v1/classroom.courses.delete/id": id +"/classroom:v1/classroom.courses.list": list_courses +"/classroom:v1/classroom.courses.list/studentId": student_id +"/classroom:v1/classroom.courses.list/teacherId": teacher_id +"/classroom:v1/classroom.courses.list/courseStates": course_states +"/classroom:v1/classroom.courses.list/pageSize": page_size +"/classroom:v1/classroom.courses.list/pageToken": page_token +"/classroom:v1/classroom.courses.aliases.create": create_course_alias +"/classroom:v1/classroom.courses.aliases.create/courseId": course_id +"/classroom:v1/classroom.courses.aliases.delete": delete_course_alias +"/classroom:v1/classroom.courses.aliases.delete/courseId": course_id +"/classroom:v1/classroom.courses.aliases.delete/alias": alias_ +"/classroom:v1/classroom.courses.aliases.list": list_course_aliases +"/classroom:v1/classroom.courses.aliases.list/courseId": course_id +"/classroom:v1/classroom.courses.aliases.list/pageSize": page_size +"/classroom:v1/classroom.courses.aliases.list/pageToken": page_token +"/classroom:v1/classroom.courses.teachers.create": create_course_teacher +"/classroom:v1/classroom.courses.teachers.create/courseId": course_id +"/classroom:v1/classroom.courses.teachers.get": get_course_teacher +"/classroom:v1/classroom.courses.teachers.get/courseId": course_id +"/classroom:v1/classroom.courses.teachers.get/userId": user_id +"/classroom:v1/classroom.courses.teachers.delete": delete_course_teacher +"/classroom:v1/classroom.courses.teachers.delete/courseId": course_id +"/classroom:v1/classroom.courses.teachers.delete/userId": user_id +"/classroom:v1/classroom.courses.teachers.list": list_course_teachers +"/classroom:v1/classroom.courses.teachers.list/courseId": course_id +"/classroom:v1/classroom.courses.teachers.list/pageSize": page_size +"/classroom:v1/classroom.courses.teachers.list/pageToken": page_token +"/classroom:v1/classroom.courses.students.create": create_course_student +"/classroom:v1/classroom.courses.students.create/courseId": course_id +"/classroom:v1/classroom.courses.students.create/enrollmentCode": enrollment_code +"/classroom:v1/classroom.courses.students.get": get_course_student +"/classroom:v1/classroom.courses.students.get/courseId": course_id +"/classroom:v1/classroom.courses.students.get/userId": user_id +"/classroom:v1/classroom.courses.students.delete": delete_course_student +"/classroom:v1/classroom.courses.students.delete/courseId": course_id +"/classroom:v1/classroom.courses.students.delete/userId": user_id +"/classroom:v1/classroom.courses.students.list": list_course_students +"/classroom:v1/classroom.courses.students.list/courseId": course_id +"/classroom:v1/classroom.courses.students.list/pageSize": page_size +"/classroom:v1/classroom.courses.students.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.create/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.patch": patch_course_course_work +"/classroom:v1/classroom.courses.courseWork.patch/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.patch/id": id +"/classroom:v1/classroom.courses.courseWork.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.courseWork.delete": delete_course_course_work +"/classroom:v1/classroom.courses.courseWork.delete/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.delete/id": id +"/classroom:v1/classroom.courses.courseWork.get/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.get/id": id +"/classroom:v1/classroom.courses.courseWork.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.list/courseWorkStates": course_work_states +"/classroom:v1/classroom.courses.courseWork.list/orderBy": order_by +"/classroom:v1/classroom.courses.courseWork.list/pageSize": page_size +"/classroom:v1/classroom.courses.courseWork.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.get/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/userId": user_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/states": states +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/late": late +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageSize": page_size +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.list/pageToken": page_token +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn": turn_in_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.turnIn/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim": reclaim_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.reclaim/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return": return_student_submission +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.return/id": id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments": modify_student_submission_attachments +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/courseWorkId": course_work_id +"/classroom:v1/classroom.courses.courseWork.studentSubmissions.modifyAttachments/id": id +"/classroom:v1/classroom.userProfiles.get": get_user_profile +"/classroom:v1/classroom.userProfiles.get/userId": user_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.list": list_user_profile_guardian_invitations +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/states": states +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardianInvitations.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardianInvitations.get": get_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.get/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.create": create_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.create/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch": patch_user_profile_guardian_invitation +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/invitationId": invitation_id +"/classroom:v1/classroom.userProfiles.guardianInvitations.patch/updateMask": update_mask +"/classroom:v1/classroom.userProfiles.guardians.list": list_user_profile_guardians +"/classroom:v1/classroom.userProfiles.guardians.list/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.list/invitedEmailAddress": invited_email_address +"/classroom:v1/classroom.userProfiles.guardians.list/pageToken": page_token +"/classroom:v1/classroom.userProfiles.guardians.list/pageSize": page_size +"/classroom:v1/classroom.userProfiles.guardians.get": get_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.get/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.get/guardianId": guardian_id +"/classroom:v1/classroom.userProfiles.guardians.delete": delete_user_profile_guardian +"/classroom:v1/classroom.userProfiles.guardians.delete/studentId": student_id +"/classroom:v1/classroom.userProfiles.guardians.delete/guardianId": guardian_id +"/classroom:v1/classroom.invitations.create": create_invitation +"/classroom:v1/classroom.invitations.get": get_invitation +"/classroom:v1/classroom.invitations.get/id": id +"/classroom:v1/classroom.invitations.delete": delete_invitation +"/classroom:v1/classroom.invitations.delete/id": id +"/classroom:v1/classroom.invitations.list": list_invitations +"/classroom:v1/classroom.invitations.list/userId": user_id +"/classroom:v1/classroom.invitations.list/courseId": course_id +"/classroom:v1/classroom.invitations.list/pageSize": page_size +"/classroom:v1/classroom.invitations.list/pageToken": page_token +"/classroom:v1/classroom.invitations.accept": accept_invitation +"/classroom:v1/classroom.invitations.accept/id": id +"/classroom:v1/Course": course +"/classroom:v1/Course/id": id +"/classroom:v1/Course/name": name +"/classroom:v1/Course/section": section +"/classroom:v1/Course/descriptionHeading": description_heading +"/classroom:v1/Course/description": description +"/classroom:v1/Course/room": room +"/classroom:v1/Course/ownerId": owner_id +"/classroom:v1/Course/creationTime": creation_time +"/classroom:v1/Course/updateTime": update_time +"/classroom:v1/Course/enrollmentCode": enrollment_code +"/classroom:v1/Course/courseState": course_state +"/classroom:v1/Course/alternateLink": alternate_link +"/classroom:v1/Course/teacherGroupEmail": teacher_group_email +"/classroom:v1/Course/courseGroupEmail": course_group_email +"/classroom:v1/Course/teacherFolder": teacher_folder +"/classroom:v1/Course/courseMaterialSets": course_material_sets +"/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set +"/classroom:v1/Course/guardiansEnabled": guardians_enabled +"/classroom:v1/DriveFolder": drive_folder +"/classroom:v1/DriveFolder/id": id +"/classroom:v1/DriveFolder/title": title +"/classroom:v1/DriveFolder/alternateLink": alternate_link +"/classroom:v1/CourseMaterialSet": course_material_set +"/classroom:v1/CourseMaterialSet/title": title +"/classroom:v1/CourseMaterialSet/materials": materials +"/classroom:v1/CourseMaterialSet/materials/material": material +"/classroom:v1/CourseMaterial": course_material +"/classroom:v1/CourseMaterial/driveFile": drive_file +"/classroom:v1/CourseMaterial/youTubeVideo": you_tube_video +"/classroom:v1/CourseMaterial/link": link +"/classroom:v1/CourseMaterial/form": form +"/classroom:v1/DriveFile": drive_file +"/classroom:v1/DriveFile/id": id +"/classroom:v1/DriveFile/title": title +"/classroom:v1/DriveFile/alternateLink": alternate_link +"/classroom:v1/DriveFile/thumbnailUrl": thumbnail_url +"/classroom:v1/YouTubeVideo": you_tube_video +"/classroom:v1/YouTubeVideo/id": id +"/classroom:v1/YouTubeVideo/title": title +"/classroom:v1/YouTubeVideo/alternateLink": alternate_link +"/classroom:v1/YouTubeVideo/thumbnailUrl": thumbnail_url +"/classroom:v1/Link": link +"/classroom:v1/Link/url": url +"/classroom:v1/Link/title": title +"/classroom:v1/Link/thumbnailUrl": thumbnail_url +"/classroom:v1/Form": form +"/classroom:v1/Form/formUrl": form_url +"/classroom:v1/Form/responseUrl": response_url +"/classroom:v1/Form/title": title +"/classroom:v1/Form/thumbnailUrl": thumbnail_url +"/classroom:v1/Empty": empty +"/classroom:v1/ListCoursesResponse": list_courses_response +"/classroom:v1/ListCoursesResponse/courses": courses +"/classroom:v1/ListCoursesResponse/courses/course": course +"/classroom:v1/ListCoursesResponse/nextPageToken": next_page_token +"/classroom:v1/CourseAlias": course_alias +"/classroom:v1/CourseAlias/alias": alias +"/classroom:v1/ListCourseAliasesResponse": list_course_aliases_response +"/classroom:v1/ListCourseAliasesResponse/aliases": aliases +"/classroom:v1/ListCourseAliasesResponse/aliases/alias": alias +"/classroom:v1/ListCourseAliasesResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardianInvitationsResponse": list_guardian_invitations_response +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations": guardian_invitations +"/classroom:v1/ListGuardianInvitationsResponse/guardianInvitations/guardian_invitation": guardian_invitation +"/classroom:v1/ListGuardianInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/GuardianInvitation": guardian_invitation +"/classroom:v1/GuardianInvitation/studentId": student_id +"/classroom:v1/GuardianInvitation/invitationId": invitation_id +"/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address +"/classroom:v1/GuardianInvitation/state": state +"/classroom:v1/GuardianInvitation/creationTime": creation_time +"/classroom:v1/UserProfile": user_profile +"/classroom:v1/UserProfile/id": id +"/classroom:v1/UserProfile/name": name +"/classroom:v1/UserProfile/emailAddress": email_address +"/classroom:v1/UserProfile/photoUrl": photo_url +"/classroom:v1/UserProfile/permissions": permissions +"/classroom:v1/UserProfile/permissions/permission": permission +"/classroom:v1/Name": name +"/classroom:v1/Name/givenName": given_name +"/classroom:v1/Name/familyName": family_name +"/classroom:v1/Name/fullName": full_name +"/classroom:v1/GlobalPermission": global_permission +"/classroom:v1/GlobalPermission/permission": permission +"/classroom:v1/Teacher": teacher +"/classroom:v1/Teacher/courseId": course_id +"/classroom:v1/Teacher/userId": user_id +"/classroom:v1/Teacher/profile": profile +"/classroom:v1/ListTeachersResponse": list_teachers_response +"/classroom:v1/ListTeachersResponse/teachers": teachers +"/classroom:v1/ListTeachersResponse/teachers/teacher": teacher +"/classroom:v1/ListTeachersResponse/nextPageToken": next_page_token +"/classroom:v1/Student": student +"/classroom:v1/Student/courseId": course_id +"/classroom:v1/Student/userId": user_id +"/classroom:v1/Student/profile": profile +"/classroom:v1/Student/studentWorkFolder": student_work_folder +"/classroom:v1/ListStudentsResponse": list_students_response +"/classroom:v1/ListStudentsResponse/students": students +"/classroom:v1/ListStudentsResponse/students/student": student +"/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardiansResponse": list_guardians_response +"/classroom:v1/ListGuardiansResponse/guardians": guardians +"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian +"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token +"/classroom:v1/Guardian": guardian +"/classroom:v1/Guardian/studentId": student_id +"/classroom:v1/Guardian/guardianId": guardian_id +"/classroom:v1/Guardian/guardianProfile": guardian_profile +"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address +"/classroom:v1/Invitation": invitation +"/classroom:v1/Invitation/id": id +"/classroom:v1/Invitation/userId": user_id +"/classroom:v1/Invitation/courseId": course_id +"/classroom:v1/Invitation/role": role +"/classroom:v1/ListInvitationsResponse": list_invitations_response +"/classroom:v1/ListInvitationsResponse/invitations": invitations +"/classroom:v1/ListInvitationsResponse/invitations/invitation": invitation +"/classroom:v1/ListInvitationsResponse/nextPageToken": next_page_token +"/classroom:v1/CourseWork": course_work +"/classroom:v1/CourseWork/courseId": course_id +"/classroom:v1/CourseWork/id": id +"/classroom:v1/CourseWork/title": title +"/classroom:v1/CourseWork/description": description +"/classroom:v1/CourseWork/materials": materials +"/classroom:v1/CourseWork/materials/material": material +"/classroom:v1/CourseWork/state": state +"/classroom:v1/CourseWork/alternateLink": alternate_link +"/classroom:v1/CourseWork/creationTime": creation_time +"/classroom:v1/CourseWork/updateTime": update_time +"/classroom:v1/CourseWork/dueDate": due_date +"/classroom:v1/CourseWork/dueTime": due_time +"/classroom:v1/CourseWork/maxPoints": max_points +"/classroom:v1/CourseWork/workType": work_type +"/classroom:v1/CourseWork/associatedWithDeveloper": associated_with_developer +"/classroom:v1/CourseWork/submissionModificationMode": submission_modification_mode +"/classroom:v1/CourseWork/assignment": assignment +"/classroom:v1/CourseWork/multipleChoiceQuestion": multiple_choice_question +"/classroom:v1/Material": material +"/classroom:v1/Material/driveFile": drive_file +"/classroom:v1/Material/youtubeVideo": youtube_video +"/classroom:v1/Material/link": link +"/classroom:v1/Material/form": form +"/classroom:v1/SharedDriveFile": shared_drive_file +"/classroom:v1/SharedDriveFile/driveFile": drive_file +"/classroom:v1/SharedDriveFile/shareMode": share_mode +"/classroom:v1/Date": date +"/classroom:v1/Date/year": year +"/classroom:v1/Date/month": month +"/classroom:v1/Date/day": day +"/classroom:v1/TimeOfDay": time_of_day +"/classroom:v1/TimeOfDay/hours": hours +"/classroom:v1/TimeOfDay/minutes": minutes +"/classroom:v1/TimeOfDay/seconds": seconds +"/classroom:v1/TimeOfDay/nanos": nanos +"/classroom:v1/Assignment": assignment +"/classroom:v1/Assignment/studentWorkFolder": student_work_folder +"/classroom:v1/MultipleChoiceQuestion": multiple_choice_question +"/classroom:v1/MultipleChoiceQuestion/choices": choices +"/classroom:v1/MultipleChoiceQuestion/choices/choice": choice +"/classroom:v1/ListCourseWorkResponse": list_course_work_response +"/classroom:v1/ListCourseWorkResponse/courseWork": course_work +"/classroom:v1/ListCourseWorkResponse/courseWork/course_work": course_work +"/classroom:v1/ListCourseWorkResponse/nextPageToken": next_page_token +"/classroom:v1/StudentSubmission": student_submission +"/classroom:v1/StudentSubmission/courseId": course_id +"/classroom:v1/StudentSubmission/courseWorkId": course_work_id +"/classroom:v1/StudentSubmission/id": id +"/classroom:v1/StudentSubmission/userId": user_id +"/classroom:v1/StudentSubmission/creationTime": creation_time +"/classroom:v1/StudentSubmission/updateTime": update_time +"/classroom:v1/StudentSubmission/state": state +"/classroom:v1/StudentSubmission/late": late +"/classroom:v1/StudentSubmission/draftGrade": draft_grade +"/classroom:v1/StudentSubmission/assignedGrade": assigned_grade +"/classroom:v1/StudentSubmission/alternateLink": alternate_link +"/classroom:v1/StudentSubmission/courseWorkType": course_work_type +"/classroom:v1/StudentSubmission/associatedWithDeveloper": associated_with_developer +"/classroom:v1/StudentSubmission/assignmentSubmission": assignment_submission +"/classroom:v1/StudentSubmission/shortAnswerSubmission": short_answer_submission +"/classroom:v1/StudentSubmission/multipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/AssignmentSubmission": assignment_submission +"/classroom:v1/AssignmentSubmission/attachments": attachments +"/classroom:v1/AssignmentSubmission/attachments/attachment": attachment +"/classroom:v1/Attachment": attachment +"/classroom:v1/Attachment/driveFile": drive_file +"/classroom:v1/Attachment/youTubeVideo": you_tube_video +"/classroom:v1/Attachment/link": link +"/classroom:v1/Attachment/form": form +"/classroom:v1/ShortAnswerSubmission": short_answer_submission +"/classroom:v1/ShortAnswerSubmission/answer": answer +"/classroom:v1/MultipleChoiceSubmission": multiple_choice_submission +"/classroom:v1/MultipleChoiceSubmission/answer": answer +"/classroom:v1/ListStudentSubmissionsResponse": list_student_submissions_response +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions": student_submissions +"/classroom:v1/ListStudentSubmissionsResponse/studentSubmissions/student_submission": student_submission +"/classroom:v1/ListStudentSubmissionsResponse/nextPageToken": next_page_token +"/classroom:v1/TurnInStudentSubmissionRequest": turn_in_student_submission_request +"/classroom:v1/ReclaimStudentSubmissionRequest": reclaim_student_submission_request +"/classroom:v1/ReturnStudentSubmissionRequest": return_student_submission_request +"/classroom:v1/ModifyAttachmentsRequest": modify_attachments_request +"/classroom:v1/ModifyAttachmentsRequest/addAttachments": add_attachments +"/classroom:v1/ModifyAttachmentsRequest/addAttachments/add_attachment": add_attachment +"/cloudbilling:v1/fields": fields +"/cloudbilling:v1/key": key +"/cloudbilling:v1/quotaUser": quota_user +"/cloudbilling:v1/cloudbilling.billingAccounts.get": get_billing_account +"/cloudbilling:v1/cloudbilling.billingAccounts.get/name": name +"/cloudbilling:v1/cloudbilling.billingAccounts.list": list_billing_accounts +"/cloudbilling:v1/cloudbilling.billingAccounts.list/pageSize": page_size +"/cloudbilling:v1/cloudbilling.billingAccounts.list/pageToken": page_token +"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list": list_billing_account_projects +"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/name": name +"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/pageSize": page_size +"/cloudbilling:v1/cloudbilling.billingAccounts.projects.list/pageToken": page_token +"/cloudbilling:v1/cloudbilling.projects.getBillingInfo": get_project_billing_info +"/cloudbilling:v1/cloudbilling.projects.getBillingInfo/name": name +"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo": update_project_billing_info +"/cloudbilling:v1/cloudbilling.projects.updateBillingInfo/name": name +"/cloudbilling:v1/BillingAccount": billing_account +"/cloudbilling:v1/BillingAccount/name": name +"/cloudbilling:v1/BillingAccount/open": open +"/cloudbilling:v1/BillingAccount/displayName": display_name +"/cloudbilling:v1/ListBillingAccountsResponse": list_billing_accounts_response +"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts": billing_accounts +"/cloudbilling:v1/ListBillingAccountsResponse/billingAccounts/billing_account": billing_account +"/cloudbilling:v1/ListBillingAccountsResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ListProjectBillingInfoResponse": list_project_billing_info_response +"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo": project_billing_info +"/cloudbilling:v1/ListProjectBillingInfoResponse/projectBillingInfo/project_billing_info": project_billing_info +"/cloudbilling:v1/ListProjectBillingInfoResponse/nextPageToken": next_page_token +"/cloudbilling:v1/ProjectBillingInfo": project_billing_info +"/cloudbilling:v1/ProjectBillingInfo/name": name +"/cloudbilling:v1/ProjectBillingInfo/projectId": project_id +"/cloudbilling:v1/ProjectBillingInfo/billingAccountName": billing_account_name +"/cloudbilling:v1/ProjectBillingInfo/billingEnabled": billing_enabled +"/clouddebugger:v2/fields": fields +"/clouddebugger:v2/key": key +"/clouddebugger:v2/quotaUser": quota_user +"/clouddebugger:v2/clouddebugger.controller.debuggees.register": register_debuggee +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list": list_controller_debuggee_breakpoints +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/waitToken": wait_token +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.list/successOnTimeout": success_on_timeout +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update": update_active_breakpoint +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.controller.debuggees.breakpoints.update/id": id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list": list_debugger_debuggees +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/project": project +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/includeInactive": include_inactive +"/clouddebugger:v2/clouddebugger.debugger.debuggees.list/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set": set_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.set/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get": get_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/breakpointId": breakpoint_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.get/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete": delete_debugger_debuggee_breakpoint +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/breakpointId": breakpoint_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.delete/clientVersion": client_version +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list": list_debugger_debuggee_breakpoints +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/debuggeeId": debuggee_id +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeAllUsers": include_all_users +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/includeInactive": include_inactive +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/action.value": action_value +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/stripResults": strip_results +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/waitToken": wait_token +"/clouddebugger:v2/clouddebugger.debugger.debuggees.breakpoints.list/clientVersion": client_version +"/clouddebugger:v2/RegisterDebuggeeRequest": register_debuggee_request +"/clouddebugger:v2/RegisterDebuggeeRequest/debuggee": debuggee +"/clouddebugger:v2/Debuggee": debuggee +"/clouddebugger:v2/Debuggee/id": id +"/clouddebugger:v2/Debuggee/project": project +"/clouddebugger:v2/Debuggee/uniquifier": uniquifier +"/clouddebugger:v2/Debuggee/description": description +"/clouddebugger:v2/Debuggee/isInactive": is_inactive +"/clouddebugger:v2/Debuggee/agentVersion": agent_version +"/clouddebugger:v2/Debuggee/isDisabled": is_disabled +"/clouddebugger:v2/Debuggee/status": status +"/clouddebugger:v2/Debuggee/sourceContexts": source_contexts +"/clouddebugger:v2/Debuggee/sourceContexts/source_context": source_context +"/clouddebugger:v2/Debuggee/extSourceContexts": ext_source_contexts +"/clouddebugger:v2/Debuggee/extSourceContexts/ext_source_context": ext_source_context +"/clouddebugger:v2/Debuggee/labels": labels +"/clouddebugger:v2/Debuggee/labels/label": label +"/clouddebugger:v2/StatusMessage": status_message +"/clouddebugger:v2/StatusMessage/isError": is_error +"/clouddebugger:v2/StatusMessage/refersTo": refers_to +"/clouddebugger:v2/StatusMessage/description": description +"/clouddebugger:v2/FormatMessage": format_message +"/clouddebugger:v2/FormatMessage/format": format +"/clouddebugger:v2/FormatMessage/parameters": parameters +"/clouddebugger:v2/FormatMessage/parameters/parameter": parameter +"/clouddebugger:v2/SourceContext": source_context +"/clouddebugger:v2/SourceContext/cloudRepo": cloud_repo +"/clouddebugger:v2/SourceContext/cloudWorkspace": cloud_workspace +"/clouddebugger:v2/SourceContext/gerrit": gerrit +"/clouddebugger:v2/SourceContext/git": git +"/clouddebugger:v2/CloudRepoSourceContext": cloud_repo_source_context +"/clouddebugger:v2/CloudRepoSourceContext/repoId": repo_id +"/clouddebugger:v2/CloudRepoSourceContext/revisionId": revision_id +"/clouddebugger:v2/CloudRepoSourceContext/aliasName": alias_name +"/clouddebugger:v2/CloudRepoSourceContext/aliasContext": alias_context +"/clouddebugger:v2/RepoId": repo_id +"/clouddebugger:v2/RepoId/projectRepoId": project_repo_id +"/clouddebugger:v2/RepoId/uid": uid +"/clouddebugger:v2/ProjectRepoId": project_repo_id +"/clouddebugger:v2/ProjectRepoId/projectId": project_id +"/clouddebugger:v2/ProjectRepoId/repoName": repo_name +"/clouddebugger:v2/AliasContext": alias_context +"/clouddebugger:v2/AliasContext/kind": kind +"/clouddebugger:v2/AliasContext/name": name +"/clouddebugger:v2/CloudWorkspaceSourceContext": cloud_workspace_source_context +"/clouddebugger:v2/CloudWorkspaceSourceContext/workspaceId": workspace_id +"/clouddebugger:v2/CloudWorkspaceSourceContext/snapshotId": snapshot_id +"/clouddebugger:v2/CloudWorkspaceId": cloud_workspace_id +"/clouddebugger:v2/CloudWorkspaceId/repoId": repo_id +"/clouddebugger:v2/CloudWorkspaceId/name": name +"/clouddebugger:v2/GerritSourceContext": gerrit_source_context +"/clouddebugger:v2/GerritSourceContext/hostUri": host_uri +"/clouddebugger:v2/GerritSourceContext/gerritProject": gerrit_project +"/clouddebugger:v2/GerritSourceContext/revisionId": revision_id +"/clouddebugger:v2/GerritSourceContext/aliasName": alias_name +"/clouddebugger:v2/GerritSourceContext/aliasContext": alias_context +"/clouddebugger:v2/GitSourceContext": git_source_context +"/clouddebugger:v2/GitSourceContext/url": url +"/clouddebugger:v2/GitSourceContext/revisionId": revision_id +"/clouddebugger:v2/ExtendedSourceContext": extended_source_context +"/clouddebugger:v2/ExtendedSourceContext/context": context +"/clouddebugger:v2/ExtendedSourceContext/labels": labels +"/clouddebugger:v2/ExtendedSourceContext/labels/label": label +"/clouddebugger:v2/RegisterDebuggeeResponse": register_debuggee_response +"/clouddebugger:v2/RegisterDebuggeeResponse/debuggee": debuggee +"/clouddebugger:v2/ListActiveBreakpointsResponse": list_active_breakpoints_response +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints": breakpoints +"/clouddebugger:v2/ListActiveBreakpointsResponse/breakpoints/breakpoint": breakpoint +"/clouddebugger:v2/ListActiveBreakpointsResponse/nextWaitToken": next_wait_token +"/clouddebugger:v2/ListActiveBreakpointsResponse/waitExpired": wait_expired +"/clouddebugger:v2/Breakpoint": breakpoint +"/clouddebugger:v2/Breakpoint/id": id +"/clouddebugger:v2/Breakpoint/action": action +"/clouddebugger:v2/Breakpoint/location": location +"/clouddebugger:v2/Breakpoint/condition": condition +"/clouddebugger:v2/Breakpoint/expressions": expressions +"/clouddebugger:v2/Breakpoint/expressions/expression": expression +"/clouddebugger:v2/Breakpoint/logMessageFormat": log_message_format +"/clouddebugger:v2/Breakpoint/logLevel": log_level +"/clouddebugger:v2/Breakpoint/isFinalState": is_final_state +"/clouddebugger:v2/Breakpoint/createTime": create_time +"/clouddebugger:v2/Breakpoint/finalTime": final_time +"/clouddebugger:v2/Breakpoint/userEmail": user_email +"/clouddebugger:v2/Breakpoint/status": status +"/clouddebugger:v2/Breakpoint/stackFrames": stack_frames +"/clouddebugger:v2/Breakpoint/stackFrames/stack_frame": stack_frame +"/clouddebugger:v2/Breakpoint/evaluatedExpressions": evaluated_expressions +"/clouddebugger:v2/Breakpoint/evaluatedExpressions/evaluated_expression": evaluated_expression +"/clouddebugger:v2/Breakpoint/variableTable": variable_table +"/clouddebugger:v2/Breakpoint/variableTable/variable_table": variable_table +"/clouddebugger:v2/Breakpoint/labels": labels +"/clouddebugger:v2/Breakpoint/labels/label": label +"/clouddebugger:v2/SourceLocation": source_location +"/clouddebugger:v2/SourceLocation/path": path +"/clouddebugger:v2/SourceLocation/line": line +"/clouddebugger:v2/StackFrame": stack_frame +"/clouddebugger:v2/StackFrame/function": function +"/clouddebugger:v2/StackFrame/location": location +"/clouddebugger:v2/StackFrame/arguments": arguments +"/clouddebugger:v2/StackFrame/arguments/argument": argument +"/clouddebugger:v2/StackFrame/locals": locals +"/clouddebugger:v2/StackFrame/locals/local": local +"/clouddebugger:v2/Variable": variable +"/clouddebugger:v2/Variable/name": name +"/clouddebugger:v2/Variable/value": value +"/clouddebugger:v2/Variable/type": type +"/clouddebugger:v2/Variable/members": members +"/clouddebugger:v2/Variable/members/member": member +"/clouddebugger:v2/Variable/varTableIndex": var_table_index +"/clouddebugger:v2/Variable/status": status +"/clouddebugger:v2/UpdateActiveBreakpointRequest": update_active_breakpoint_request +"/clouddebugger:v2/UpdateActiveBreakpointRequest/breakpoint": breakpoint +"/clouddebugger:v2/UpdateActiveBreakpointResponse": update_active_breakpoint_response +"/clouddebugger:v2/SetBreakpointResponse": set_breakpoint_response +"/clouddebugger:v2/SetBreakpointResponse/breakpoint": breakpoint +"/clouddebugger:v2/GetBreakpointResponse": get_breakpoint_response +"/clouddebugger:v2/GetBreakpointResponse/breakpoint": breakpoint +"/clouddebugger:v2/Empty": empty +"/clouddebugger:v2/ListBreakpointsResponse": list_breakpoints_response +"/clouddebugger:v2/ListBreakpointsResponse/breakpoints": breakpoints +"/clouddebugger:v2/ListBreakpointsResponse/breakpoints/breakpoint": breakpoint +"/clouddebugger:v2/ListBreakpointsResponse/nextWaitToken": next_wait_token +"/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response +"/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees +"/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee +"/cloudtrace:v1/fields": fields +"/cloudtrace:v1/key": key +"/cloudtrace:v1/quotaUser": quota_user +"/cloudtrace:v1/cloudtrace.projects.patchTraces": patch_project_traces +"/cloudtrace:v1/cloudtrace.projects.patchTraces/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.list": list_project_traces +"/cloudtrace:v1/cloudtrace.projects.traces.list/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.list/view": view +"/cloudtrace:v1/cloudtrace.projects.traces.list/pageSize": page_size +"/cloudtrace:v1/cloudtrace.projects.traces.list/pageToken": page_token +"/cloudtrace:v1/cloudtrace.projects.traces.list/startTime": start_time +"/cloudtrace:v1/cloudtrace.projects.traces.list/endTime": end_time +"/cloudtrace:v1/cloudtrace.projects.traces.list/filter": filter +"/cloudtrace:v1/cloudtrace.projects.traces.list/orderBy": order_by +"/cloudtrace:v1/cloudtrace.projects.traces.get": get_project_trace +"/cloudtrace:v1/cloudtrace.projects.traces.get/projectId": project_id +"/cloudtrace:v1/cloudtrace.projects.traces.get/traceId": trace_id +"/cloudtrace:v1/ListTracesResponse": list_traces_response +"/cloudtrace:v1/ListTracesResponse/traces": traces +"/cloudtrace:v1/ListTracesResponse/traces/trace": trace +"/cloudtrace:v1/ListTracesResponse/nextPageToken": next_page_token +"/cloudtrace:v1/Trace": trace +"/cloudtrace:v1/Trace/projectId": project_id +"/cloudtrace:v1/Trace/traceId": trace_id +"/cloudtrace:v1/Trace/spans": spans +"/cloudtrace:v1/Trace/spans/span": span +"/cloudtrace:v1/TraceSpan": trace_span +"/cloudtrace:v1/TraceSpan/spanId": span_id +"/cloudtrace:v1/TraceSpan/kind": kind +"/cloudtrace:v1/TraceSpan/name": name +"/cloudtrace:v1/TraceSpan/startTime": start_time +"/cloudtrace:v1/TraceSpan/endTime": end_time +"/cloudtrace:v1/TraceSpan/parentSpanId": parent_span_id +"/cloudtrace:v1/TraceSpan/labels": labels +"/cloudtrace:v1/TraceSpan/labels/label": label +"/cloudtrace:v1/Traces": traces +"/cloudtrace:v1/Traces/traces": traces +"/cloudtrace:v1/Traces/traces/trace": trace +"/cloudtrace:v1/Empty": empty +"/container:v1/fields": fields +"/container:v1/key": key +"/container:v1/quotaUser": quota_user +"/container:v1/container.projects.zones.getServerconfig": get_project_zone_serverconfig +"/container:v1/container.projects.zones.getServerconfig/projectId": project_id +"/container:v1/container.projects.zones.getServerconfig/zone": zone +"/container:v1/container.projects.zones.clusters.list/projectId": project_id +"/container:v1/container.projects.zones.clusters.list/zone": zone +"/container:v1/container.projects.zones.clusters.get/projectId": project_id +"/container:v1/container.projects.zones.clusters.get/zone": zone +"/container:v1/container.projects.zones.clusters.get/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.create/projectId": project_id +"/container:v1/container.projects.zones.clusters.create/zone": zone +"/container:v1/container.projects.zones.clusters.update": update_cluster +"/container:v1/container.projects.zones.clusters.update/projectId": project_id +"/container:v1/container.projects.zones.clusters.update/zone": zone +"/container:v1/container.projects.zones.clusters.update/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.delete/projectId": project_id +"/container:v1/container.projects.zones.clusters.delete/zone": zone +"/container:v1/container.projects.zones.clusters.delete/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.list": list_project_zone_cluster_node_pools +"/container:v1/container.projects.zones.clusters.nodePools.list/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.list/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.list/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.get": get_project_zone_cluster_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.get/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.get/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.get/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.get/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.create": create_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.create/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.create/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.create/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.delete": delete_project_zone_cluster_node_pool +"/container:v1/container.projects.zones.clusters.nodePools.delete/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.delete/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.delete/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.delete/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.operations.list/projectId": project_id +"/container:v1/container.projects.zones.operations.list/zone": zone +"/container:v1/container.projects.zones.operations.get/projectId": project_id +"/container:v1/container.projects.zones.operations.get/zone": zone +"/container:v1/container.projects.zones.operations.get/operationId": operation_id +"/container:v1/ListClustersResponse": list_clusters_response +"/container:v1/ListClustersResponse/clusters": clusters +"/container:v1/ListClustersResponse/clusters/cluster": cluster +"/container:v1/ListClustersResponse/missingZones": missing_zones +"/container:v1/ListClustersResponse/missingZones/missing_zone": missing_zone +"/container:v1/Cluster": cluster +"/container:v1/Cluster/name": name +"/container:v1/Cluster/description": description +"/container:v1/Cluster/initialNodeCount": initial_node_count +"/container:v1/Cluster/nodeConfig": node_config +"/container:v1/Cluster/masterAuth": master_auth +"/container:v1/Cluster/loggingService": logging_service +"/container:v1/Cluster/monitoringService": monitoring_service +"/container:v1/Cluster/network": network +"/container:v1/Cluster/clusterIpv4Cidr": cluster_ipv4_cidr +"/container:v1/Cluster/addonsConfig": addons_config +"/container:v1/Cluster/subnetwork": subnetwork +"/container:v1/Cluster/nodePools": node_pools +"/container:v1/Cluster/nodePools/node_pool": node_pool +"/container:v1/Cluster/locations": locations +"/container:v1/Cluster/locations/location": location +"/container:v1/Cluster/selfLink": self_link +"/container:v1/Cluster/zone": zone +"/container:v1/Cluster/endpoint": endpoint +"/container:v1/Cluster/initialClusterVersion": initial_cluster_version +"/container:v1/Cluster/currentMasterVersion": current_master_version +"/container:v1/Cluster/currentNodeVersion": current_node_version +"/container:v1/Cluster/createTime": create_time +"/container:v1/Cluster/status": status +"/container:v1/Cluster/statusMessage": status_message +"/container:v1/Cluster/nodeIpv4CidrSize": node_ipv4_cidr_size +"/container:v1/Cluster/servicesIpv4Cidr": services_ipv4_cidr +"/container:v1/Cluster/instanceGroupUrls": instance_group_urls +"/container:v1/Cluster/instanceGroupUrls/instance_group_url": instance_group_url +"/container:v1/Cluster/currentNodeCount": current_node_count +"/container:v1/NodeConfig": node_config +"/container:v1/NodeConfig/machineType": machine_type +"/container:v1/NodeConfig/diskSizeGb": disk_size_gb +"/container:v1/NodeConfig/oauthScopes": oauth_scopes +"/container:v1/NodeConfig/oauthScopes/oauth_scope": oauth_scope +"/container:v1/NodeConfig/metadata": metadata +"/container:v1/NodeConfig/metadata/metadatum": metadatum +"/container:v1/MasterAuth": master_auth +"/container:v1/MasterAuth/username": username +"/container:v1/MasterAuth/password": password +"/container:v1/MasterAuth/clusterCaCertificate": cluster_ca_certificate +"/container:v1/MasterAuth/clientCertificate": client_certificate +"/container:v1/MasterAuth/clientKey": client_key +"/container:v1/AddonsConfig": addons_config +"/container:v1/AddonsConfig/httpLoadBalancing": http_load_balancing +"/container:v1/AddonsConfig/horizontalPodAutoscaling": horizontal_pod_autoscaling +"/container:v1/HttpLoadBalancing": http_load_balancing +"/container:v1/HttpLoadBalancing/disabled": disabled +"/container:v1/HorizontalPodAutoscaling": horizontal_pod_autoscaling +"/container:v1/HorizontalPodAutoscaling/disabled": disabled +"/container:v1/NodePool": node_pool +"/container:v1/NodePool/name": name +"/container:v1/NodePool/config": config +"/container:v1/NodePool/initialNodeCount": initial_node_count +"/container:v1/NodePool/selfLink": self_link +"/container:v1/NodePool/version": version +"/container:v1/NodePool/instanceGroupUrls": instance_group_urls +"/container:v1/NodePool/instanceGroupUrls/instance_group_url": instance_group_url +"/container:v1/NodePool/status": status +"/container:v1/NodePool/statusMessage": status_message +"/container:v1/CreateClusterRequest": create_cluster_request +"/container:v1/CreateClusterRequest/cluster": cluster +"/container:v1/Operation": operation +"/container:v1/Operation/name": name +"/container:v1/Operation/zone": zone +"/container:v1/Operation/operationType": operation_type +"/container:v1/Operation/status": status +"/container:v1/Operation/detail": detail +"/container:v1/Operation/statusMessage": status_message +"/container:v1/Operation/selfLink": self_link +"/container:v1/Operation/targetLink": target_link +"/container:v1/UpdateClusterRequest": update_cluster_request +"/container:v1/UpdateClusterRequest/update": update +"/container:v1/ClusterUpdate": cluster_update +"/container:v1/ClusterUpdate/desiredNodeVersion": desired_node_version +"/container:v1/ClusterUpdate/desiredMonitoringService": desired_monitoring_service +"/container:v1/ClusterUpdate/desiredAddonsConfig": desired_addons_config +"/container:v1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id +"/container:v1/ClusterUpdate/desiredMasterVersion": desired_master_version +"/container:v1/ListOperationsResponse": list_operations_response +"/container:v1/ListOperationsResponse/operations": operations +"/container:v1/ListOperationsResponse/operations/operation": operation +"/container:v1/ListOperationsResponse/missingZones": missing_zones +"/container:v1/ListOperationsResponse/missingZones/missing_zone": missing_zone +"/container:v1/ServerConfig": server_config +"/container:v1/ServerConfig/defaultClusterVersion": default_cluster_version +"/container:v1/ServerConfig/validNodeVersions": valid_node_versions +"/container:v1/ServerConfig/validNodeVersions/valid_node_version": valid_node_version +"/container:v1/ServerConfig/defaultImageFamily": default_image_family +"/container:v1/ServerConfig/validImageFamilies": valid_image_families +"/container:v1/ServerConfig/validImageFamilies/valid_image_family": valid_image_family +"/container:v1/ListNodePoolsResponse": list_node_pools_response +"/container:v1/ListNodePoolsResponse/nodePools": node_pools +"/container:v1/ListNodePoolsResponse/nodePools/node_pool": node_pool +"/container:v1/CreateNodePoolRequest": create_node_pool_request +"/container:v1/CreateNodePoolRequest/nodePool": node_pool +"/dataflow:v1b3/fields": fields +"/dataflow:v1b3/key": key +"/dataflow:v1b3/quotaUser": quota_user +"/dataflow:v1b3/dataflow.projects.workerMessages": worker_project_messages +"/dataflow:v1b3/dataflow.projects.workerMessages/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job +"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job +"/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job +"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.jobs.list": list_project_jobs +"/dataflow:v1b3/dataflow.projects.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture": send_project_job_debug_capture +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list": list_project_job_messages +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get": get_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics": get_project_location_job_metrics +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template +"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id +"/dataflow:v1b3/GetDebugConfigRequest": get_debug_config_request +"/dataflow:v1b3/GetDebugConfigRequest/workerId": worker_id +"/dataflow:v1b3/GetDebugConfigRequest/componentId": component_id +"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response +"/dataflow:v1b3/GetDebugConfigResponse/config": config +"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request +"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id +"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id +"/dataflow:v1b3/SendDebugCaptureRequest/data": data +"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response +"/dataflow:v1b3/Job": job +"/dataflow:v1b3/Job/id": id +"/dataflow:v1b3/Job/projectId": project_id +"/dataflow:v1b3/Job/name": name +"/dataflow:v1b3/Job/type": type +"/dataflow:v1b3/Job/environment": environment +"/dataflow:v1b3/Job/steps": steps +"/dataflow:v1b3/Job/steps/step": step +"/dataflow:v1b3/Job/currentState": current_state +"/dataflow:v1b3/Job/currentStateTime": current_state_time +"/dataflow:v1b3/Job/requestedState": requested_state +"/dataflow:v1b3/Job/executionInfo": execution_info +"/dataflow:v1b3/Job/createTime": create_time +"/dataflow:v1b3/Job/replaceJobId": replace_job_id +"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping +"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping +"/dataflow:v1b3/Job/clientRequestId": client_request_id +"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id +"/dataflow:v1b3/Job/tempFiles": temp_files +"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file +"/dataflow:v1b3/Job/labels": labels +"/dataflow:v1b3/Job/labels/label": label +"/dataflow:v1b3/Job/location": location +"/dataflow:v1b3/Environment": environment +"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service +"/dataflow:v1b3/Environment/experiments": experiments +"/dataflow:v1b3/Environment/experiments/experiment": experiment +"/dataflow:v1b3/Environment/workerPools": worker_pools +"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool +"/dataflow:v1b3/Environment/userAgent": user_agent +"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent +"/dataflow:v1b3/Environment/version": version +"/dataflow:v1b3/Environment/version/version": version +"/dataflow:v1b3/Environment/dataset": dataset +"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options +"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option +"/dataflow:v1b3/Environment/internalExperiments": internal_experiments +"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment +"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/WorkerPool": worker_pool +"/dataflow:v1b3/WorkerPool/kind": kind +"/dataflow:v1b3/WorkerPool/numWorkers": num_workers +"/dataflow:v1b3/WorkerPool/packages": packages +"/dataflow:v1b3/WorkerPool/packages/package": package +"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set +"/dataflow:v1b3/WorkerPool/machineType": machine_type +"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy +"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb +"/dataflow:v1b3/WorkerPool/diskType": disk_type +"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image +"/dataflow:v1b3/WorkerPool/zone": zone +"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings +"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance +"/dataflow:v1b3/WorkerPool/dataDisks": data_disks +"/dataflow:v1b3/WorkerPool/dataDisks/data_disk": data_disk +"/dataflow:v1b3/WorkerPool/metadata": metadata +"/dataflow:v1b3/WorkerPool/metadata/metadatum": metadatum +"/dataflow:v1b3/WorkerPool/autoscalingSettings": autoscaling_settings +"/dataflow:v1b3/WorkerPool/poolArgs": pool_args +"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg +"/dataflow:v1b3/WorkerPool/network": network +"/dataflow:v1b3/WorkerPool/subnetwork": subnetwork +"/dataflow:v1b3/WorkerPool/workerHarnessContainerImage": worker_harness_container_image +"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker +"/dataflow:v1b3/WorkerPool/ipConfiguration": ip_configuration +"/dataflow:v1b3/Package": package +"/dataflow:v1b3/Package/name": name +"/dataflow:v1b3/Package/location": location +"/dataflow:v1b3/TaskRunnerSettings": task_runner_settings +"/dataflow:v1b3/TaskRunnerSettings/taskUser": task_user +"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes": oauth_scopes +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes/oauth_scope": oauth_scope +"/dataflow:v1b3/TaskRunnerSettings/baseUrl": base_url +"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version +"/dataflow:v1b3/TaskRunnerSettings/parallelWorkerSettings": parallel_worker_settings +"/dataflow:v1b3/TaskRunnerSettings/baseTaskDir": base_task_dir +"/dataflow:v1b3/TaskRunnerSettings/continueOnException": continue_on_exception +"/dataflow:v1b3/TaskRunnerSettings/logToSerialconsole": log_to_serialconsole +"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr +"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location +"/dataflow:v1b3/TaskRunnerSettings/logDir": log_dir +"/dataflow:v1b3/TaskRunnerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/TaskRunnerSettings/harnessCommand": harness_command +"/dataflow:v1b3/TaskRunnerSettings/workflowFileName": workflow_file_name +"/dataflow:v1b3/TaskRunnerSettings/commandlinesFileName": commandlines_file_name +"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id +"/dataflow:v1b3/TaskRunnerSettings/languageHint": language_hint +"/dataflow:v1b3/TaskRunnerSettings/streamingWorkerMainClass": streaming_worker_main_class +"/dataflow:v1b3/WorkerSettings": worker_settings +"/dataflow:v1b3/WorkerSettings/baseUrl": base_url +"/dataflow:v1b3/WorkerSettings/reportingEnabled": reporting_enabled +"/dataflow:v1b3/WorkerSettings/servicePath": service_path +"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path +"/dataflow:v1b3/WorkerSettings/workerId": worker_id +"/dataflow:v1b3/WorkerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Disk": disk +"/dataflow:v1b3/Disk/sizeGb": size_gb +"/dataflow:v1b3/Disk/diskType": disk_type +"/dataflow:v1b3/Disk/mountPoint": mount_point +"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings +"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm +"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers +"/dataflow:v1b3/Step": step +"/dataflow:v1b3/Step/kind": kind +"/dataflow:v1b3/Step/name": name +"/dataflow:v1b3/Step/properties": properties +"/dataflow:v1b3/Step/properties/property": property +"/dataflow:v1b3/JobExecutionInfo": job_execution_info +"/dataflow:v1b3/JobExecutionInfo/stages": stages +"/dataflow:v1b3/JobExecutionInfo/stages/stage": stage +"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info +"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name +"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name +"/dataflow:v1b3/ListJobsResponse": list_jobs_response +"/dataflow:v1b3/ListJobsResponse/jobs": jobs +"/dataflow:v1b3/ListJobsResponse/jobs/job": job +"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location +"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location +"/dataflow:v1b3/FailedLocation": failed_location +"/dataflow:v1b3/FailedLocation/name": name +"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message +"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token +"/dataflow:v1b3/JobMessage": job_message +"/dataflow:v1b3/JobMessage/id": id +"/dataflow:v1b3/JobMessage/time": time +"/dataflow:v1b3/JobMessage/messageText": message_text +"/dataflow:v1b3/JobMessage/messageImportance": message_importance +"/dataflow:v1b3/JobMetrics": job_metrics +"/dataflow:v1b3/JobMetrics/metricTime": metric_time +"/dataflow:v1b3/JobMetrics/metrics": metrics +"/dataflow:v1b3/JobMetrics/metrics/metric": metric +"/dataflow:v1b3/MetricUpdate": metric_update +"/dataflow:v1b3/MetricUpdate/name": name +"/dataflow:v1b3/MetricUpdate/kind": kind +"/dataflow:v1b3/MetricUpdate/cumulative": cumulative +"/dataflow:v1b3/MetricUpdate/scalar": scalar +"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum +"/dataflow:v1b3/MetricUpdate/meanCount": mean_count +"/dataflow:v1b3/MetricUpdate/set": set +"/dataflow:v1b3/MetricUpdate/internal": internal +"/dataflow:v1b3/MetricUpdate/updateTime": update_time +"/dataflow:v1b3/MetricStructuredName": metric_structured_name +"/dataflow:v1b3/MetricStructuredName/origin": origin +"/dataflow:v1b3/MetricStructuredName/name": name +"/dataflow:v1b3/MetricStructuredName/context": context +"/dataflow:v1b3/MetricStructuredName/context/context": context +"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request +"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name +"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter +"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment +"/dataflow:v1b3/RuntimeEnvironment": runtime_environment +"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers +"/dataflow:v1b3/RuntimeEnvironment/zone": zone +"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location +"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request +"/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status +"/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location +"/dataflow:v1b3/WorkItemStatus": work_item_status +"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id +"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index +"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/WorkItemStatus/completed": completed +"/dataflow:v1b3/WorkItemStatus/errors": errors +"/dataflow:v1b3/WorkItemStatus/errors/error": error +"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates +"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update +"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates +"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update +"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress +"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position +"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response +"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork +"/dataflow:v1b3/WorkItemStatus/progress": progress +"/dataflow:v1b3/Status": status +"/dataflow:v1b3/Status/code": code +"/dataflow:v1b3/Status/message": message +"/dataflow:v1b3/Status/details": details +"/dataflow:v1b3/Status/details/detail": detail +"/dataflow:v1b3/Status/details/detail/detail": detail +"/dataflow:v1b3/CounterUpdate": counter_update +"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind +"/dataflow:v1b3/CounterUpdate/shortId": short_id +"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata +"/dataflow:v1b3/CounterUpdate/cumulative": cumulative +"/dataflow:v1b3/CounterUpdate/integer": integer +"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point +"/dataflow:v1b3/CounterUpdate/boolean": boolean +"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean +"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean +"/dataflow:v1b3/CounterUpdate/integerList": integer_list +"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list +"/dataflow:v1b3/CounterUpdate/stringList": string_list +"/dataflow:v1b3/CounterUpdate/internal": internal +"/dataflow:v1b3/NameAndKind": name_and_kind +"/dataflow:v1b3/NameAndKind/name": name +"/dataflow:v1b3/NameAndKind/kind": kind +"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata +"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name +"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata +"/dataflow:v1b3/CounterStructuredName": counter_structured_name +"/dataflow:v1b3/CounterStructuredName/name": name +"/dataflow:v1b3/CounterStructuredName/standardOrigin": standard_origin +"/dataflow:v1b3/CounterStructuredName/otherOrigin": other_origin +"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name +"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name +"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name +"/dataflow:v1b3/CounterStructuredName/workerId": worker_id +"/dataflow:v1b3/CounterStructuredName/portion": portion +"/dataflow:v1b3/CounterMetadata": counter_metadata +"/dataflow:v1b3/CounterMetadata/kind": kind +"/dataflow:v1b3/CounterMetadata/description": description +"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units +"/dataflow:v1b3/CounterMetadata/otherUnits": other_units +"/dataflow:v1b3/SplitInt64": split_int64 +"/dataflow:v1b3/SplitInt64/lowBits": low_bits +"/dataflow:v1b3/SplitInt64/highBits": high_bits +"/dataflow:v1b3/IntegerMean": integer_mean +"/dataflow:v1b3/IntegerMean/sum": sum +"/dataflow:v1b3/IntegerMean/count": count +"/dataflow:v1b3/FloatingPointMean": floating_point_mean +"/dataflow:v1b3/FloatingPointMean/sum": sum +"/dataflow:v1b3/FloatingPointMean/count": count +"/dataflow:v1b3/IntegerList": integer_list +"/dataflow:v1b3/IntegerList/elements": elements +"/dataflow:v1b3/IntegerList/elements/element": element +"/dataflow:v1b3/FloatingPointList": floating_point_list +"/dataflow:v1b3/FloatingPointList/elements": elements +"/dataflow:v1b3/FloatingPointList/elements/element": element +"/dataflow:v1b3/StringList": string_list +"/dataflow:v1b3/StringList/elements": elements +"/dataflow:v1b3/StringList/elements/element": element +"/dataflow:v1b3/ApproximateReportedProgress": approximate_reported_progress +"/dataflow:v1b3/ApproximateReportedProgress/position": position +"/dataflow:v1b3/ApproximateReportedProgress/fractionConsumed": fraction_consumed +"/dataflow:v1b3/ApproximateReportedProgress/remainingParallelism": remaining_parallelism +"/dataflow:v1b3/ApproximateReportedProgress/consumedParallelism": consumed_parallelism +"/dataflow:v1b3/Position": position +"/dataflow:v1b3/Position/end": end +"/dataflow:v1b3/Position/key": key +"/dataflow:v1b3/Position/byteOffset": byte_offset +"/dataflow:v1b3/Position/recordIndex": record_index +"/dataflow:v1b3/Position/shufflePosition": shuffle_position +"/dataflow:v1b3/Position/concatPosition": concat_position +"/dataflow:v1b3/ConcatPosition": concat_position +"/dataflow:v1b3/ConcatPosition/index": index +"/dataflow:v1b3/ConcatPosition/position": position +"/dataflow:v1b3/ReportedParallelism": reported_parallelism +"/dataflow:v1b3/ReportedParallelism/isInfinite": is_infinite +"/dataflow:v1b3/ReportedParallelism/value": value +"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/DynamicSourceSplit/primary": primary +"/dataflow:v1b3/DynamicSourceSplit/residual": residual +"/dataflow:v1b3/DerivedSource": derived_source +"/dataflow:v1b3/DerivedSource/source": source +"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode +"/dataflow:v1b3/Source": source +"/dataflow:v1b3/Source/spec": spec +"/dataflow:v1b3/Source/spec/spec": spec +"/dataflow:v1b3/Source/codec": codec +"/dataflow:v1b3/Source/codec/codec": codec +"/dataflow:v1b3/Source/baseSpecs": base_specs +"/dataflow:v1b3/Source/baseSpecs/base_spec": base_spec +"/dataflow:v1b3/Source/baseSpecs/base_spec/base_spec": base_spec +"/dataflow:v1b3/Source/metadata": metadata +"/dataflow:v1b3/Source/doesNotNeedSplitting": does_not_need_splitting +"/dataflow:v1b3/SourceMetadata": source_metadata +"/dataflow:v1b3/SourceMetadata/producesSortedKeys": produces_sorted_keys +"/dataflow:v1b3/SourceMetadata/infinite": infinite +"/dataflow:v1b3/SourceMetadata/estimatedSizeBytes": estimated_size_bytes +"/dataflow:v1b3/SourceOperationResponse": source_operation_response +"/dataflow:v1b3/SourceOperationResponse/split": split +"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata +"/dataflow:v1b3/SourceSplitResponse": source_split_response +"/dataflow:v1b3/SourceSplitResponse/outcome": outcome +"/dataflow:v1b3/SourceSplitResponse/bundles": bundles +"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle +"/dataflow:v1b3/SourceSplitResponse/shards": shards +"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard +"/dataflow:v1b3/SourceSplitShard": source_split_shard +"/dataflow:v1b3/SourceSplitShard/source": source +"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode +"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response +"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata +"/dataflow:v1b3/SourceFork": source_fork +"/dataflow:v1b3/SourceFork/primary": primary +"/dataflow:v1b3/SourceFork/residual": residual +"/dataflow:v1b3/SourceFork/primarySource": primary_source +"/dataflow:v1b3/SourceFork/residualSource": residual_source +"/dataflow:v1b3/ApproximateProgress": approximate_progress +"/dataflow:v1b3/ApproximateProgress/position": position +"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete +"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time +"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state +"/dataflow:v1b3/WorkItemServiceState": work_item_service_state +"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request +"/dataflow:v1b3/WorkItemServiceState/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data +"/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum +"/dataflow:v1b3/WorkItemServiceState/nextReportIndex": next_report_index +"/dataflow:v1b3/WorkItemServiceState/metricShortId": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/metricShortId/metric_short_id": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point +"/dataflow:v1b3/ApproximateSplitRequest": approximate_split_request +"/dataflow:v1b3/ApproximateSplitRequest/position": position +"/dataflow:v1b3/ApproximateSplitRequest/fractionConsumed": fraction_consumed +"/dataflow:v1b3/MetricShortId": metric_short_id +"/dataflow:v1b3/MetricShortId/metricIndex": metric_index +"/dataflow:v1b3/MetricShortId/shortId": short_id +"/dataflow:v1b3/LeaseWorkItemRequest": lease_work_item_request +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes": work_item_types +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes/work_item_type": work_item_type +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability +"/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id +"/dataflow:v1b3/LeaseWorkItemRequest/location": location +"/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response +"/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items +"/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item +"/dataflow:v1b3/WorkItem": work_item +"/dataflow:v1b3/WorkItem/id": id +"/dataflow:v1b3/WorkItem/projectId": project_id +"/dataflow:v1b3/WorkItem/jobId": job_id +"/dataflow:v1b3/WorkItem/packages": packages +"/dataflow:v1b3/WorkItem/packages/package": package +"/dataflow:v1b3/WorkItem/mapTask": map_task +"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task +"/dataflow:v1b3/WorkItem/shellTask": shell_task +"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task +"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task +"/dataflow:v1b3/WorkItem/streamingComputationTask": streaming_computation_task +"/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task +"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItem/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItem/configuration": configuration +"/dataflow:v1b3/WorkItem/initialReportIndex": initial_report_index +"/dataflow:v1b3/MapTask": map_task +"/dataflow:v1b3/MapTask/instructions": instructions +"/dataflow:v1b3/MapTask/instructions/instruction": instruction +"/dataflow:v1b3/MapTask/systemName": system_name +"/dataflow:v1b3/MapTask/stageName": stage_name +"/dataflow:v1b3/ParallelInstruction": parallel_instruction +"/dataflow:v1b3/ParallelInstruction/systemName": system_name +"/dataflow:v1b3/ParallelInstruction/name": name +"/dataflow:v1b3/ParallelInstruction/originalName": original_name +"/dataflow:v1b3/ParallelInstruction/read": read +"/dataflow:v1b3/ParallelInstruction/write": write +"/dataflow:v1b3/ParallelInstruction/parDo": par_do +"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key +"/dataflow:v1b3/ParallelInstruction/flatten": flatten +"/dataflow:v1b3/ParallelInstruction/outputs": outputs +"/dataflow:v1b3/ParallelInstruction/outputs/output": output +"/dataflow:v1b3/ReadInstruction": read_instruction +"/dataflow:v1b3/ReadInstruction/source": source +"/dataflow:v1b3/WriteInstruction": write_instruction +"/dataflow:v1b3/WriteInstruction/input": input +"/dataflow:v1b3/WriteInstruction/sink": sink +"/dataflow:v1b3/InstructionInput": instruction_input +"/dataflow:v1b3/InstructionInput/producerInstructionIndex": producer_instruction_index +"/dataflow:v1b3/InstructionInput/outputNum": output_num +"/dataflow:v1b3/Sink": sink +"/dataflow:v1b3/Sink/spec": spec +"/dataflow:v1b3/Sink/spec/spec": spec +"/dataflow:v1b3/Sink/codec": codec +"/dataflow:v1b3/Sink/codec/codec": codec +"/dataflow:v1b3/ParDoInstruction": par_do_instruction +"/dataflow:v1b3/ParDoInstruction/input": input +"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs +"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/ParDoInstruction/userFn": user_fn +"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn +"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info +"/dataflow:v1b3/SideInputInfo": side_input_info +"/dataflow:v1b3/SideInputInfo/sources": sources +"/dataflow:v1b3/SideInputInfo/sources/source": source +"/dataflow:v1b3/SideInputInfo/kind": kind +"/dataflow:v1b3/SideInputInfo/kind/kind": kind +"/dataflow:v1b3/SideInputInfo/tag": tag +"/dataflow:v1b3/MultiOutputInfo": multi_output_info +"/dataflow:v1b3/MultiOutputInfo/tag": tag +"/dataflow:v1b3/PartialGroupByKeyInstruction": partial_group_by_key_instruction +"/dataflow:v1b3/PartialGroupByKeyInstruction/input": input +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs": side_inputs +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesStepName": original_combine_values_step_name +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name +"/dataflow:v1b3/FlattenInstruction": flatten_instruction +"/dataflow:v1b3/FlattenInstruction/inputs": inputs +"/dataflow:v1b3/FlattenInstruction/inputs/input": input +"/dataflow:v1b3/InstructionOutput": instruction_output +"/dataflow:v1b3/InstructionOutput/name": name +"/dataflow:v1b3/InstructionOutput/systemName": system_name +"/dataflow:v1b3/InstructionOutput/originalName": original_name +"/dataflow:v1b3/InstructionOutput/codec": codec +"/dataflow:v1b3/InstructionOutput/codec/codec": codec +"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes +"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes +"/dataflow:v1b3/SeqMapTask": seq_map_task +"/dataflow:v1b3/SeqMapTask/inputs": inputs +"/dataflow:v1b3/SeqMapTask/inputs/input": input +"/dataflow:v1b3/SeqMapTask/userFn": user_fn +"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn +"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos +"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info +"/dataflow:v1b3/SeqMapTask/name": name +"/dataflow:v1b3/SeqMapTask/systemName": system_name +"/dataflow:v1b3/SeqMapTask/stageName": stage_name +"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info +"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag +"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink +"/dataflow:v1b3/ShellTask": shell_task +"/dataflow:v1b3/ShellTask/command": command +"/dataflow:v1b3/ShellTask/exitCode": exit_code +"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task +"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port +"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port +"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology +"/dataflow:v1b3/StreamingSetupTask/drain": drain +"/dataflow:v1b3/TopologyConfig": topology_config +"/dataflow:v1b3/TopologyConfig/computations": computations +"/dataflow:v1b3/TopologyConfig/computations/computation": computation +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments": data_disk_assignments +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments/data_disk_assignment": data_disk_assignment +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap": user_stage_to_computation_name_map +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap/user_stage_to_computation_name_map": user_stage_to_computation_name_map +"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits +"/dataflow:v1b3/TopologyConfig/persistentStateVersion": persistent_state_version +"/dataflow:v1b3/ComputationTopology": computation_topology +"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name +"/dataflow:v1b3/ComputationTopology/computationId": computation_id +"/dataflow:v1b3/ComputationTopology/userStageName": user_stage_name +"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges +"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range +"/dataflow:v1b3/ComputationTopology/inputs": inputs +"/dataflow:v1b3/ComputationTopology/inputs/input": input +"/dataflow:v1b3/ComputationTopology/outputs": outputs +"/dataflow:v1b3/ComputationTopology/outputs/output": output +"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families +"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family +"/dataflow:v1b3/KeyRangeLocation": key_range_location +"/dataflow:v1b3/KeyRangeLocation/start": start +"/dataflow:v1b3/KeyRangeLocation/end": end +"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint +"/dataflow:v1b3/KeyRangeLocation/persistentDirectory": persistent_directory +"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk +"/dataflow:v1b3/StreamLocation": stream_location +"/dataflow:v1b3/StreamLocation/streamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamLocation/pubsubLocation": pubsub_location +"/dataflow:v1b3/StreamLocation/sideInputLocation": side_input_location +"/dataflow:v1b3/StreamLocation/customSourceLocation": custom_source_location +"/dataflow:v1b3/StreamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamingStageLocation/streamId": stream_id +"/dataflow:v1b3/PubsubLocation": pubsub_location +"/dataflow:v1b3/PubsubLocation/topic": topic +"/dataflow:v1b3/PubsubLocation/subscription": subscription +"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label +"/dataflow:v1b3/PubsubLocation/idLabel": id_label +"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data +"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription +"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes +"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location +"/dataflow:v1b3/StreamingSideInputLocation/tag": tag +"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family +"/dataflow:v1b3/CustomSourceLocation": custom_source_location +"/dataflow:v1b3/CustomSourceLocation/stateful": stateful +"/dataflow:v1b3/StateFamilyConfig": state_family_config +"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family +"/dataflow:v1b3/StateFamilyConfig/isRead": is_read +"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment +"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance +"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks +"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk +"/dataflow:v1b3/SourceOperationRequest": source_operation_request +"/dataflow:v1b3/SourceOperationRequest/split": split +"/dataflow:v1b3/SourceOperationRequest/getMetadata": get_metadata +"/dataflow:v1b3/SourceSplitRequest": source_split_request +"/dataflow:v1b3/SourceSplitRequest/source": source +"/dataflow:v1b3/SourceSplitRequest/options": options +"/dataflow:v1b3/SourceSplitOptions": source_split_options +"/dataflow:v1b3/SourceSplitOptions/desiredBundleSizeBytes": desired_bundle_size_bytes +"/dataflow:v1b3/SourceSplitOptions/desiredShardSizeBytes": desired_shard_size_bytes +"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request +"/dataflow:v1b3/SourceGetMetadataRequest/source": source +"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task +"/dataflow:v1b3/StreamingComputationTask/taskType": task_type +"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks +"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk +"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges +"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range +"/dataflow:v1b3/MountedDataDisk": mounted_data_disk +"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk +"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges +"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start +"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end +"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk +"/dataflow:v1b3/StreamingConfigTask": streaming_config_task +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingComputationConfig": streaming_computation_config +"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id +"/dataflow:v1b3/StreamingComputationConfig/systemName": system_name +"/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name +"/dataflow:v1b3/StreamingComputationConfig/instructions": instructions +"/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction +"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message +"/dataflow:v1b3/WorkerMessage": worker_message +"/dataflow:v1b3/WorkerMessage/labels": labels +"/dataflow:v1b3/WorkerMessage/labels/label": label +"/dataflow:v1b3/WorkerMessage/time": time +"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics +"/dataflow:v1b3/WorkerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy +"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time +"/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval +"/dataflow:v1b3/WorkerHealthReport/pods": pods +"/dataflow:v1b3/WorkerHealthReport/pods/pod": pod +"/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod +"/dataflow:v1b3/WorkerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessageCode/code": code +"/dataflow:v1b3/WorkerMessageCode/parameters": parameters +"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter +"/dataflow:v1b3/ResourceUtilizationReport": resource_utilization_report +"/dataflow:v1b3/ResourceUtilizationReport/metrics": metrics +"/dataflow:v1b3/ResourceUtilizationReport/metrics/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metrics/metric/metric": metric +"/dataflow:v1b3/SendWorkerMessagesResponse": send_worker_messages_response +"/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses": worker_message_responses +"/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses/worker_message_response": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response +"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval +"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response +"/dataproc:v1/fields": fields +"/dataproc:v1/key": key +"/dataproc:v1/quotaUser": quota_user +"/dataproc:v1/dataproc.projects.regions.clusters.create/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.create/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.patch/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.patch/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.patch/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.clusters.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.delete/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.delete/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.get/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.list/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.clusters.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.diagnose/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.submit": submit_job +"/dataproc:v1/dataproc.projects.regions.jobs.submit/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.submit/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.get/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.get/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.get/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.list/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name +"/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.cancel/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id +"/dataproc:v1/dataproc.projects.regions.operations.list/name": name +"/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter +"/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size +"/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name +"/dataproc:v1/dataproc.projects.regions.operations.delete/name": name +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/Cluster": cluster +"/dataproc:v1/Cluster/projectId": project_id +"/dataproc:v1/Cluster/clusterName": cluster_name +"/dataproc:v1/Cluster/config": config +"/dataproc:v1/Cluster/labels": labels +"/dataproc:v1/Cluster/labels/label": label +"/dataproc:v1/Cluster/status": status +"/dataproc:v1/Cluster/statusHistory": status_history +"/dataproc:v1/Cluster/statusHistory/status_history": status_history +"/dataproc:v1/Cluster/clusterUuid": cluster_uuid +"/dataproc:v1/Cluster/metrics": metrics +"/dataproc:v1/ClusterConfig": cluster_config +"/dataproc:v1/ClusterConfig/configBucket": config_bucket +"/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config +"/dataproc:v1/ClusterConfig/masterConfig": master_config +"/dataproc:v1/ClusterConfig/workerConfig": worker_config +"/dataproc:v1/ClusterConfig/secondaryWorkerConfig": secondary_worker_config +"/dataproc:v1/ClusterConfig/softwareConfig": software_config +"/dataproc:v1/ClusterConfig/initializationActions": initialization_actions +"/dataproc:v1/ClusterConfig/initializationActions/initialization_action": initialization_action +"/dataproc:v1/GceClusterConfig": gce_cluster_config +"/dataproc:v1/GceClusterConfig/zoneUri": zone_uri +"/dataproc:v1/GceClusterConfig/networkUri": network_uri +"/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri +"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only +"/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes +"/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope +"/dataproc:v1/GceClusterConfig/tags": tags +"/dataproc:v1/GceClusterConfig/tags/tag": tag +"/dataproc:v1/GceClusterConfig/metadata": metadata +"/dataproc:v1/GceClusterConfig/metadata/metadatum": metadatum +"/dataproc:v1/InstanceGroupConfig": instance_group_config +"/dataproc:v1/InstanceGroupConfig/numInstances": num_instances +"/dataproc:v1/InstanceGroupConfig/instanceNames": instance_names +"/dataproc:v1/InstanceGroupConfig/instanceNames/instance_name": instance_name +"/dataproc:v1/InstanceGroupConfig/imageUri": image_uri +"/dataproc:v1/InstanceGroupConfig/machineTypeUri": machine_type_uri +"/dataproc:v1/InstanceGroupConfig/diskConfig": disk_config +"/dataproc:v1/InstanceGroupConfig/isPreemptible": is_preemptible +"/dataproc:v1/InstanceGroupConfig/managedGroupConfig": managed_group_config +"/dataproc:v1/DiskConfig": disk_config +"/dataproc:v1/DiskConfig/bootDiskSizeGb": boot_disk_size_gb +"/dataproc:v1/DiskConfig/numLocalSsds": num_local_ssds +"/dataproc:v1/ManagedGroupConfig": managed_group_config +"/dataproc:v1/ManagedGroupConfig/instanceTemplateName": instance_template_name +"/dataproc:v1/ManagedGroupConfig/instanceGroupManagerName": instance_group_manager_name +"/dataproc:v1/SoftwareConfig": software_config +"/dataproc:v1/SoftwareConfig/imageVersion": image_version +"/dataproc:v1/SoftwareConfig/properties": properties +"/dataproc:v1/SoftwareConfig/properties/property": property +"/dataproc:v1/NodeInitializationAction": node_initialization_action +"/dataproc:v1/NodeInitializationAction/executableFile": executable_file +"/dataproc:v1/NodeInitializationAction/executionTimeout": execution_timeout +"/dataproc:v1/ClusterStatus": cluster_status +"/dataproc:v1/ClusterStatus/state": state +"/dataproc:v1/ClusterStatus/detail": detail +"/dataproc:v1/ClusterStatus/stateStartTime": state_start_time +"/dataproc:v1/ClusterMetrics": cluster_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric +"/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics +"/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric +"/dataproc:v1/Operation": operation +"/dataproc:v1/Operation/name": name +"/dataproc:v1/Operation/metadata": metadata +"/dataproc:v1/Operation/metadata/metadatum": metadatum +"/dataproc:v1/Operation/done": done +"/dataproc:v1/Operation/error": error +"/dataproc:v1/Operation/response": response +"/dataproc:v1/Operation/response/response": response +"/dataproc:v1/Status": status +"/dataproc:v1/Status/code": code +"/dataproc:v1/Status/message": message +"/dataproc:v1/Status/details": details +"/dataproc:v1/Status/details/detail": detail +"/dataproc:v1/Status/details/detail/detail": detail +"/dataproc:v1/ListClustersResponse": list_clusters_response +"/dataproc:v1/ListClustersResponse/clusters": clusters +"/dataproc:v1/ListClustersResponse/clusters/cluster": cluster +"/dataproc:v1/ListClustersResponse/nextPageToken": next_page_token +"/dataproc:v1/DiagnoseClusterRequest": diagnose_cluster_request +"/dataproc:v1/SubmitJobRequest": submit_job_request +"/dataproc:v1/SubmitJobRequest/job": job +"/dataproc:v1/Job": job +"/dataproc:v1/Job/reference": reference +"/dataproc:v1/Job/placement": placement +"/dataproc:v1/Job/hadoopJob": hadoop_job +"/dataproc:v1/Job/sparkJob": spark_job +"/dataproc:v1/Job/pysparkJob": pyspark_job +"/dataproc:v1/Job/hiveJob": hive_job +"/dataproc:v1/Job/pigJob": pig_job +"/dataproc:v1/Job/sparkSqlJob": spark_sql_job +"/dataproc:v1/Job/status": status +"/dataproc:v1/Job/statusHistory": status_history +"/dataproc:v1/Job/statusHistory/status_history": status_history +"/dataproc:v1/Job/yarnApplications": yarn_applications +"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application +"/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri +"/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri +"/dataproc:v1/Job/labels": labels +"/dataproc:v1/Job/labels/label": label +"/dataproc:v1/JobReference": job_reference +"/dataproc:v1/JobReference/projectId": project_id +"/dataproc:v1/JobReference/jobId": job_id +"/dataproc:v1/JobPlacement": job_placement +"/dataproc:v1/JobPlacement/clusterName": cluster_name +"/dataproc:v1/JobPlacement/clusterUuid": cluster_uuid +"/dataproc:v1/HadoopJob": hadoop_job +"/dataproc:v1/HadoopJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/HadoopJob/mainClass": main_class +"/dataproc:v1/HadoopJob/args": args +"/dataproc:v1/HadoopJob/args/arg": arg +"/dataproc:v1/HadoopJob/jarFileUris": jar_file_uris +"/dataproc:v1/HadoopJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/HadoopJob/fileUris": file_uris +"/dataproc:v1/HadoopJob/fileUris/file_uri": file_uri +"/dataproc:v1/HadoopJob/archiveUris": archive_uris +"/dataproc:v1/HadoopJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/HadoopJob/properties": properties +"/dataproc:v1/HadoopJob/properties/property": property +"/dataproc:v1/HadoopJob/loggingConfig": logging_config +"/dataproc:v1/LoggingConfig": logging_config +"/dataproc:v1/LoggingConfig/driverLogLevels": driver_log_levels +"/dataproc:v1/LoggingConfig/driverLogLevels/driver_log_level": driver_log_level +"/dataproc:v1/SparkJob": spark_job +"/dataproc:v1/SparkJob/mainJarFileUri": main_jar_file_uri +"/dataproc:v1/SparkJob/mainClass": main_class +"/dataproc:v1/SparkJob/args": args +"/dataproc:v1/SparkJob/args/arg": arg +"/dataproc:v1/SparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/SparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/SparkJob/fileUris": file_uris +"/dataproc:v1/SparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/SparkJob/archiveUris": archive_uris +"/dataproc:v1/SparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/SparkJob/properties": properties +"/dataproc:v1/SparkJob/properties/property": property +"/dataproc:v1/SparkJob/loggingConfig": logging_config +"/dataproc:v1/PySparkJob": py_spark_job +"/dataproc:v1/PySparkJob/mainPythonFileUri": main_python_file_uri +"/dataproc:v1/PySparkJob/args": args +"/dataproc:v1/PySparkJob/args/arg": arg +"/dataproc:v1/PySparkJob/pythonFileUris": python_file_uris +"/dataproc:v1/PySparkJob/pythonFileUris/python_file_uri": python_file_uri +"/dataproc:v1/PySparkJob/jarFileUris": jar_file_uris +"/dataproc:v1/PySparkJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PySparkJob/fileUris": file_uris +"/dataproc:v1/PySparkJob/fileUris/file_uri": file_uri +"/dataproc:v1/PySparkJob/archiveUris": archive_uris +"/dataproc:v1/PySparkJob/archiveUris/archive_uri": archive_uri +"/dataproc:v1/PySparkJob/properties": properties +"/dataproc:v1/PySparkJob/properties/property": property +"/dataproc:v1/PySparkJob/loggingConfig": logging_config +"/dataproc:v1/HiveJob": hive_job +"/dataproc:v1/HiveJob/queryFileUri": query_file_uri +"/dataproc:v1/HiveJob/queryList": query_list +"/dataproc:v1/HiveJob/continueOnFailure": continue_on_failure +"/dataproc:v1/HiveJob/scriptVariables": script_variables +"/dataproc:v1/HiveJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/HiveJob/properties": properties +"/dataproc:v1/HiveJob/properties/property": property +"/dataproc:v1/HiveJob/jarFileUris": jar_file_uris +"/dataproc:v1/HiveJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/QueryList": query_list +"/dataproc:v1/QueryList/queries": queries +"/dataproc:v1/QueryList/queries/query": query +"/dataproc:v1/PigJob": pig_job +"/dataproc:v1/PigJob/queryFileUri": query_file_uri +"/dataproc:v1/PigJob/queryList": query_list +"/dataproc:v1/PigJob/continueOnFailure": continue_on_failure +"/dataproc:v1/PigJob/scriptVariables": script_variables +"/dataproc:v1/PigJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/PigJob/properties": properties +"/dataproc:v1/PigJob/properties/property": property +"/dataproc:v1/PigJob/jarFileUris": jar_file_uris +"/dataproc:v1/PigJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/PigJob/loggingConfig": logging_config +"/dataproc:v1/SparkSqlJob": spark_sql_job +"/dataproc:v1/SparkSqlJob/queryFileUri": query_file_uri +"/dataproc:v1/SparkSqlJob/queryList": query_list +"/dataproc:v1/SparkSqlJob/scriptVariables": script_variables +"/dataproc:v1/SparkSqlJob/scriptVariables/script_variable": script_variable +"/dataproc:v1/SparkSqlJob/properties": properties +"/dataproc:v1/SparkSqlJob/properties/property": property +"/dataproc:v1/SparkSqlJob/jarFileUris": jar_file_uris +"/dataproc:v1/SparkSqlJob/jarFileUris/jar_file_uri": jar_file_uri +"/dataproc:v1/SparkSqlJob/loggingConfig": logging_config +"/dataproc:v1/JobStatus": job_status +"/dataproc:v1/JobStatus/state": state +"/dataproc:v1/JobStatus/details": details +"/dataproc:v1/JobStatus/stateStartTime": state_start_time +"/dataproc:v1/YarnApplication": yarn_application +"/dataproc:v1/YarnApplication/name": name +"/dataproc:v1/YarnApplication/state": state +"/dataproc:v1/YarnApplication/progress": progress +"/dataproc:v1/YarnApplication/trackingUrl": tracking_url +"/dataproc:v1/ListJobsResponse": list_jobs_response +"/dataproc:v1/ListJobsResponse/jobs": jobs +"/dataproc:v1/ListJobsResponse/jobs/job": job +"/dataproc:v1/ListJobsResponse/nextPageToken": next_page_token +"/dataproc:v1/CancelJobRequest": cancel_job_request +"/dataproc:v1/Empty": empty +"/dataproc:v1/ListOperationsResponse": list_operations_response +"/dataproc:v1/ListOperationsResponse/operations": operations +"/dataproc:v1/ListOperationsResponse/operations/operation": operation +"/dataproc:v1/ListOperationsResponse/nextPageToken": next_page_token +"/dataproc:v1/DiagnoseClusterResults": diagnose_cluster_results +"/dataproc:v1/DiagnoseClusterResults/outputUri": output_uri +"/dataproc:v1/ClusterOperationMetadata": cluster_operation_metadata +"/dataproc:v1/ClusterOperationMetadata/clusterName": cluster_name +"/dataproc:v1/ClusterOperationMetadata/clusterUuid": cluster_uuid +"/dataproc:v1/ClusterOperationMetadata/status": status +"/dataproc:v1/ClusterOperationMetadata/statusHistory": status_history +"/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history +"/dataproc:v1/ClusterOperationMetadata/operationType": operation_type +"/dataproc:v1/ClusterOperationMetadata/description": description +"/dataproc:v1/ClusterOperationMetadata/labels": labels +"/dataproc:v1/ClusterOperationMetadata/labels/label": label +"/dataproc:v1/ClusterOperationStatus": cluster_operation_status +"/dataproc:v1/ClusterOperationStatus/state": state +"/dataproc:v1/ClusterOperationStatus/innerState": inner_state +"/dataproc:v1/ClusterOperationStatus/details": details +"/dataproc:v1/ClusterOperationStatus/stateStartTime": state_start_time +"/dataproc:v1/DiagnoseClusterOutputLocation": diagnose_cluster_output_location +"/dataproc:v1/DiagnoseClusterOutputLocation/outputUri": output_uri +"/dataproc:v1/OperationMetadata": operation_metadata +"/dataproc:v1/OperationMetadata/state": state +"/dataproc:v1/OperationMetadata/innerState": inner_state +"/dataproc:v1/OperationMetadata/details": details +"/dataproc:v1/OperationMetadata/insertTime": insert_time +"/dataproc:v1/OperationMetadata/startTime": start_time +"/dataproc:v1/OperationMetadata/endTime": end_time +"/dataproc:v1/OperationMetadata/clusterName": cluster_name +"/dataproc:v1/OperationMetadata/clusterUuid": cluster_uuid +"/dataproc:v1/OperationMetadata/status": status +"/dataproc:v1/OperationMetadata/statusHistory": status_history +"/dataproc:v1/OperationMetadata/statusHistory/status_history": status_history +"/dataproc:v1/OperationMetadata/operationType": operation_type +"/dataproc:v1/OperationMetadata/description": description +"/dataproc:v1/OperationStatus": operation_status +"/dataproc:v1/OperationStatus/state": state +"/dataproc:v1/OperationStatus/innerState": inner_state +"/dataproc:v1/OperationStatus/details": details +"/dataproc:v1/OperationStatus/stateStartTime": state_start_time +"/genomics:v1/fields": fields +"/genomics:v1/key": key +"/genomics:v1/quotaUser": quota_user +"/genomics:v1/genomics.annotationsets.get/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.update": update_annotationset +"/genomics:v1/genomics.annotationsets.update/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.update/updateMask": update_mask +"/genomics:v1/genomics.annotationsets.delete": delete_annotationset +"/genomics:v1/genomics.annotationsets.delete/annotationSetId": annotation_set_id +"/genomics:v1/genomics.annotationsets.search": search_annotationset_annotation_sets +"/genomics:v1/genomics.annotations.create": create_annotation +"/genomics:v1/genomics.annotations.batchCreate": batch_create_annotations +"/genomics:v1/genomics.annotations.get": get_annotation +"/genomics:v1/genomics.annotations.get/annotationId": annotation_id +"/genomics:v1/genomics.annotations.update": update_annotation +"/genomics:v1/genomics.annotations.update/annotationId": annotation_id +"/genomics:v1/genomics.annotations.update/updateMask": update_mask +"/genomics:v1/genomics.annotations.delete": delete_annotation +"/genomics:v1/genomics.annotations.delete/annotationId": annotation_id +"/genomics:v1/genomics.annotations.search": search_annotations +"/genomics:v1/genomics.datasets.list": list_datasets +"/genomics:v1/genomics.datasets.list/projectId": project_id +"/genomics:v1/genomics.datasets.list/pageSize": page_size +"/genomics:v1/genomics.datasets.list/pageToken": page_token +"/genomics:v1/genomics.datasets.create": create_dataset +"/genomics:v1/genomics.datasets.get": get_dataset +"/genomics:v1/genomics.datasets.get/datasetId": dataset_id +"/genomics:v1/genomics.datasets.patch": patch_dataset +"/genomics:v1/genomics.datasets.patch/datasetId": dataset_id +"/genomics:v1/genomics.datasets.patch/updateMask": update_mask +"/genomics:v1/genomics.datasets.delete": delete_dataset +"/genomics:v1/genomics.datasets.delete/datasetId": dataset_id +"/genomics:v1/genomics.datasets.undelete": undelete_dataset +"/genomics:v1/genomics.datasets.undelete/datasetId": dataset_id +"/genomics:v1/genomics.datasets.setIamPolicy": set_dataset_iam_policy +"/genomics:v1/genomics.datasets.setIamPolicy/resource": resource +"/genomics:v1/genomics.datasets.getIamPolicy": get_dataset_iam_policy +"/genomics:v1/genomics.datasets.getIamPolicy/resource": resource +"/genomics:v1/genomics.datasets.testIamPermissions": test_dataset_iam_permissions +"/genomics:v1/genomics.datasets.testIamPermissions/resource": resource +"/genomics:v1/genomics.operations.list": list_operations +"/genomics:v1/genomics.operations.list/name": name +"/genomics:v1/genomics.operations.list/filter": filter +"/genomics:v1/genomics.operations.list/pageSize": page_size +"/genomics:v1/genomics.operations.list/pageToken": page_token +"/genomics:v1/genomics.operations.get": get_operation +"/genomics:v1/genomics.operations.get/name": name +"/genomics:v1/genomics.operations.cancel": cancel_operation +"/genomics:v1/genomics.operations.cancel/name": name +"/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.patch/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.patch/updateMask": update_mask +"/genomics:v1/genomics.readgroupsets.delete/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.get/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/readGroupSetId": read_group_set_id +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/referenceName": reference_name +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/start": start +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/end": end_ +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/targetBucketWidth": target_bucket_width +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageToken": page_token +"/genomics:v1/genomics.readgroupsets.coveragebuckets.list/pageSize": page_size +"/genomics:v1/genomics.reads.search": search_reads +"/genomics:v1/genomics.reads.stream": stream_reads +"/genomics:v1/genomics.referencesets.get/referenceSetId": reference_set_id +"/genomics:v1/genomics.references.search": search_references +"/genomics:v1/genomics.references.get": get_reference +"/genomics:v1/genomics.references.get/referenceId": reference_id +"/genomics:v1/genomics.references.bases.list": list_reference_bases +"/genomics:v1/genomics.references.bases.list/referenceId": reference_id +"/genomics:v1/genomics.references.bases.list/pageToken": page_token +"/genomics:v1/genomics.references.bases.list/pageSize": page_size +"/genomics:v1/genomics.variants.import": import_variants +"/genomics:v1/genomics.variants.search": search_variants +"/genomics:v1/genomics.variants.create": create_variant +"/genomics:v1/genomics.variants.patch": patch_variant +"/genomics:v1/genomics.variants.patch/variantId": variant_id +"/genomics:v1/genomics.variants.patch/updateMask": update_mask +"/genomics:v1/genomics.variants.delete": delete_variant +"/genomics:v1/genomics.variants.delete/variantId": variant_id +"/genomics:v1/genomics.variants.get": get_variant +"/genomics:v1/genomics.variants.get/variantId": variant_id +"/genomics:v1/genomics.variants.merge": merge_variants +"/genomics:v1/genomics.variants.stream": stream_variants +"/genomics:v1/genomics.variantsets.create": create_variantset +"/genomics:v1/genomics.variantsets.export/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.get": get_variantset +"/genomics:v1/genomics.variantsets.get/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.delete": delete_variantset +"/genomics:v1/genomics.variantsets.delete/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.patch": patch_variantset +"/genomics:v1/genomics.variantsets.patch/variantSetId": variant_set_id +"/genomics:v1/genomics.variantsets.patch/updateMask": update_mask +"/genomics:v1/genomics.callsets.patch/callSetId": call_set_id +"/genomics:v1/genomics.callsets.patch/updateMask": update_mask +"/genomics:v1/genomics.callsets.delete/callSetId": call_set_id +"/genomics:v1/genomics.callsets.get/callSetId": call_set_id +"/genomics:v1/AnnotationSet": annotation_set +"/genomics:v1/AnnotationSet/id": id +"/genomics:v1/AnnotationSet/datasetId": dataset_id +"/genomics:v1/AnnotationSet/referenceSetId": reference_set_id +"/genomics:v1/AnnotationSet/name": name +"/genomics:v1/AnnotationSet/sourceUri": source_uri +"/genomics:v1/AnnotationSet/type": type +"/genomics:v1/AnnotationSet/info": info +"/genomics:v1/AnnotationSet/info/info": info +"/genomics:v1/AnnotationSet/info/info/info": info +"/genomics:v1/Empty": empty +"/genomics:v1/SearchAnnotationSetsRequest": search_annotation_sets_request +"/genomics:v1/SearchAnnotationSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchAnnotationSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchAnnotationSetsRequest/referenceSetId": reference_set_id +"/genomics:v1/SearchAnnotationSetsRequest/name": name +"/genomics:v1/SearchAnnotationSetsRequest/types": types +"/genomics:v1/SearchAnnotationSetsRequest/types/type": type +"/genomics:v1/SearchAnnotationSetsRequest/pageToken": page_token +"/genomics:v1/SearchAnnotationSetsRequest/pageSize": page_size +"/genomics:v1/SearchAnnotationSetsResponse": search_annotation_sets_response +"/genomics:v1/SearchAnnotationSetsResponse/annotationSets": annotation_sets +"/genomics:v1/SearchAnnotationSetsResponse/annotationSets/annotation_set": annotation_set +"/genomics:v1/SearchAnnotationSetsResponse/nextPageToken": next_page_token +"/genomics:v1/Annotation": annotation +"/genomics:v1/Annotation/id": id +"/genomics:v1/Annotation/annotationSetId": annotation_set_id +"/genomics:v1/Annotation/name": name +"/genomics:v1/Annotation/referenceId": reference_id +"/genomics:v1/Annotation/referenceName": reference_name +"/genomics:v1/Annotation/start": start +"/genomics:v1/Annotation/end": end +"/genomics:v1/Annotation/reverseStrand": reverse_strand +"/genomics:v1/Annotation/type": type +"/genomics:v1/Annotation/variant": variant +"/genomics:v1/Annotation/transcript": transcript +"/genomics:v1/Annotation/info": info +"/genomics:v1/Annotation/info/info": info +"/genomics:v1/Annotation/info/info/info": info +"/genomics:v1/VariantAnnotation": variant_annotation +"/genomics:v1/VariantAnnotation/type": type +"/genomics:v1/VariantAnnotation/effect": effect +"/genomics:v1/VariantAnnotation/alternateBases": alternate_bases +"/genomics:v1/VariantAnnotation/geneId": gene_id +"/genomics:v1/VariantAnnotation/transcriptIds": transcript_ids +"/genomics:v1/VariantAnnotation/transcriptIds/transcript_id": transcript_id +"/genomics:v1/VariantAnnotation/conditions": conditions +"/genomics:v1/VariantAnnotation/conditions/condition": condition +"/genomics:v1/VariantAnnotation/clinicalSignificance": clinical_significance +"/genomics:v1/ClinicalCondition": clinical_condition +"/genomics:v1/ClinicalCondition/names": names +"/genomics:v1/ClinicalCondition/names/name": name +"/genomics:v1/ClinicalCondition/externalIds": external_ids +"/genomics:v1/ClinicalCondition/externalIds/external_id": external_id +"/genomics:v1/ClinicalCondition/conceptId": concept_id +"/genomics:v1/ClinicalCondition/omimId": omim_id +"/genomics:v1/ExternalId": external_id +"/genomics:v1/ExternalId/sourceName": source_name +"/genomics:v1/ExternalId/id": id +"/genomics:v1/Transcript": transcript +"/genomics:v1/Transcript/geneId": gene_id +"/genomics:v1/Transcript/exons": exons +"/genomics:v1/Transcript/exons/exon": exon +"/genomics:v1/Transcript/codingSequence": coding_sequence +"/genomics:v1/Exon": exon +"/genomics:v1/Exon/start": start +"/genomics:v1/Exon/end": end +"/genomics:v1/Exon/frame": frame +"/genomics:v1/CodingSequence": coding_sequence +"/genomics:v1/CodingSequence/start": start +"/genomics:v1/CodingSequence/end": end +"/genomics:v1/BatchCreateAnnotationsRequest": batch_create_annotations_request +"/genomics:v1/BatchCreateAnnotationsRequest/annotations": annotations +"/genomics:v1/BatchCreateAnnotationsRequest/annotations/annotation": annotation +"/genomics:v1/BatchCreateAnnotationsRequest/requestId": request_id +"/genomics:v1/BatchCreateAnnotationsResponse": batch_create_annotations_response +"/genomics:v1/BatchCreateAnnotationsResponse/entries": entries +"/genomics:v1/BatchCreateAnnotationsResponse/entries/entry": entry +"/genomics:v1/Entry": entry +"/genomics:v1/Entry/status": status +"/genomics:v1/Entry/annotation": annotation +"/genomics:v1/Status": status +"/genomics:v1/Status/code": code +"/genomics:v1/Status/message": message +"/genomics:v1/Status/details": details +"/genomics:v1/Status/details/detail": detail +"/genomics:v1/Status/details/detail/detail": detail +"/genomics:v1/SearchAnnotationsRequest": search_annotations_request +"/genomics:v1/SearchAnnotationsRequest/annotationSetIds": annotation_set_ids +"/genomics:v1/SearchAnnotationsRequest/annotationSetIds/annotation_set_id": annotation_set_id +"/genomics:v1/SearchAnnotationsRequest/referenceId": reference_id +"/genomics:v1/SearchAnnotationsRequest/referenceName": reference_name +"/genomics:v1/SearchAnnotationsRequest/start": start +"/genomics:v1/SearchAnnotationsRequest/end": end +"/genomics:v1/SearchAnnotationsRequest/pageToken": page_token +"/genomics:v1/SearchAnnotationsRequest/pageSize": page_size +"/genomics:v1/SearchAnnotationsResponse": search_annotations_response +"/genomics:v1/SearchAnnotationsResponse/annotations": annotations +"/genomics:v1/SearchAnnotationsResponse/annotations/annotation": annotation +"/genomics:v1/SearchAnnotationsResponse/nextPageToken": next_page_token +"/genomics:v1/ListDatasetsResponse": list_datasets_response +"/genomics:v1/ListDatasetsResponse/datasets": datasets +"/genomics:v1/ListDatasetsResponse/datasets/dataset": dataset +"/genomics:v1/ListDatasetsResponse/nextPageToken": next_page_token +"/genomics:v1/Dataset": dataset +"/genomics:v1/Dataset/id": id +"/genomics:v1/Dataset/projectId": project_id +"/genomics:v1/Dataset/name": name +"/genomics:v1/Dataset/createTime": create_time +"/genomics:v1/UndeleteDatasetRequest": undelete_dataset_request +"/genomics:v1/SetIamPolicyRequest": set_iam_policy_request +"/genomics:v1/SetIamPolicyRequest/policy": policy +"/genomics:v1/Policy": policy +"/genomics:v1/Policy/version": version +"/genomics:v1/Policy/bindings": bindings +"/genomics:v1/Policy/bindings/binding": binding +"/genomics:v1/Policy/etag": etag +"/genomics:v1/Binding": binding +"/genomics:v1/Binding/role": role +"/genomics:v1/Binding/members": members +"/genomics:v1/Binding/members/member": member +"/genomics:v1/GetIamPolicyRequest": get_iam_policy_request +"/genomics:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/genomics:v1/TestIamPermissionsRequest/permissions": permissions +"/genomics:v1/TestIamPermissionsRequest/permissions/permission": permission +"/genomics:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/genomics:v1/TestIamPermissionsResponse/permissions": permissions +"/genomics:v1/TestIamPermissionsResponse/permissions/permission": permission +"/genomics:v1/ListOperationsResponse": list_operations_response +"/genomics:v1/ListOperationsResponse/operations": operations +"/genomics:v1/ListOperationsResponse/operations/operation": operation +"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token +"/genomics:v1/Operation": operation +"/genomics:v1/Operation/name": name +"/genomics:v1/Operation/metadata": metadata +"/genomics:v1/Operation/metadata/metadatum": metadatum +"/genomics:v1/Operation/done": done +"/genomics:v1/Operation/error": error +"/genomics:v1/Operation/response": response +"/genomics:v1/Operation/response/response": response +"/genomics:v1/CancelOperationRequest": cancel_operation_request +"/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request +"/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id +"/genomics:v1/ImportReadGroupSetsRequest/referenceSetId": reference_set_id +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris": source_uris +"/genomics:v1/ImportReadGroupSetsRequest/sourceUris/source_uri": source_uri +"/genomics:v1/ImportReadGroupSetsRequest/partitionStrategy": partition_strategy +"/genomics:v1/ExportReadGroupSetRequest": export_read_group_set_request +"/genomics:v1/ExportReadGroupSetRequest/projectId": project_id +"/genomics:v1/ExportReadGroupSetRequest/exportUri": export_uri +"/genomics:v1/ExportReadGroupSetRequest/referenceNames": reference_names +"/genomics:v1/ExportReadGroupSetRequest/referenceNames/reference_name": reference_name +"/genomics:v1/SearchReadGroupSetsRequest": search_read_group_sets_request +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchReadGroupSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchReadGroupSetsRequest/name": name +"/genomics:v1/SearchReadGroupSetsRequest/pageToken": page_token +"/genomics:v1/SearchReadGroupSetsRequest/pageSize": page_size +"/genomics:v1/SearchReadGroupSetsResponse": search_read_group_sets_response +"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets": read_group_sets +"/genomics:v1/SearchReadGroupSetsResponse/readGroupSets/read_group_set": read_group_set +"/genomics:v1/SearchReadGroupSetsResponse/nextPageToken": next_page_token +"/genomics:v1/ReadGroupSet": read_group_set +"/genomics:v1/ReadGroupSet/id": id +"/genomics:v1/ReadGroupSet/datasetId": dataset_id +"/genomics:v1/ReadGroupSet/referenceSetId": reference_set_id +"/genomics:v1/ReadGroupSet/name": name +"/genomics:v1/ReadGroupSet/filename": filename +"/genomics:v1/ReadGroupSet/readGroups": read_groups +"/genomics:v1/ReadGroupSet/readGroups/read_group": read_group +"/genomics:v1/ReadGroupSet/info": info +"/genomics:v1/ReadGroupSet/info/info": info +"/genomics:v1/ReadGroupSet/info/info/info": info +"/genomics:v1/ReadGroup": read_group +"/genomics:v1/ReadGroup/id": id +"/genomics:v1/ReadGroup/datasetId": dataset_id +"/genomics:v1/ReadGroup/name": name +"/genomics:v1/ReadGroup/description": description +"/genomics:v1/ReadGroup/sampleId": sample_id +"/genomics:v1/ReadGroup/experiment": experiment +"/genomics:v1/ReadGroup/predictedInsertSize": predicted_insert_size +"/genomics:v1/ReadGroup/programs": programs +"/genomics:v1/ReadGroup/programs/program": program +"/genomics:v1/ReadGroup/referenceSetId": reference_set_id +"/genomics:v1/ReadGroup/info": info +"/genomics:v1/ReadGroup/info/info": info +"/genomics:v1/ReadGroup/info/info/info": info +"/genomics:v1/Experiment": experiment +"/genomics:v1/Experiment/libraryId": library_id +"/genomics:v1/Experiment/platformUnit": platform_unit +"/genomics:v1/Experiment/sequencingCenter": sequencing_center +"/genomics:v1/Experiment/instrumentModel": instrument_model +"/genomics:v1/Program": program +"/genomics:v1/Program/commandLine": command_line +"/genomics:v1/Program/id": id +"/genomics:v1/Program/name": name +"/genomics:v1/Program/prevProgramId": prev_program_id +"/genomics:v1/Program/version": version +"/genomics:v1/ListCoverageBucketsResponse": list_coverage_buckets_response +"/genomics:v1/ListCoverageBucketsResponse/bucketWidth": bucket_width +"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets": coverage_buckets +"/genomics:v1/ListCoverageBucketsResponse/coverageBuckets/coverage_bucket": coverage_bucket +"/genomics:v1/ListCoverageBucketsResponse/nextPageToken": next_page_token +"/genomics:v1/CoverageBucket": coverage_bucket +"/genomics:v1/CoverageBucket/range": range +"/genomics:v1/CoverageBucket/meanCoverage": mean_coverage +"/genomics:v1/Range": range +"/genomics:v1/Range/referenceName": reference_name +"/genomics:v1/Range/start": start +"/genomics:v1/Range/end": end +"/genomics:v1/SearchReadsRequest": search_reads_request +"/genomics:v1/SearchReadsRequest/readGroupSetIds": read_group_set_ids +"/genomics:v1/SearchReadsRequest/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/SearchReadsRequest/readGroupIds": read_group_ids +"/genomics:v1/SearchReadsRequest/readGroupIds/read_group_id": read_group_id +"/genomics:v1/SearchReadsRequest/referenceName": reference_name +"/genomics:v1/SearchReadsRequest/start": start +"/genomics:v1/SearchReadsRequest/end": end +"/genomics:v1/SearchReadsRequest/pageToken": page_token +"/genomics:v1/SearchReadsRequest/pageSize": page_size +"/genomics:v1/SearchReadsResponse": search_reads_response +"/genomics:v1/SearchReadsResponse/alignments": alignments +"/genomics:v1/SearchReadsResponse/alignments/alignment": alignment +"/genomics:v1/SearchReadsResponse/nextPageToken": next_page_token +"/genomics:v1/Read": read +"/genomics:v1/Read/id": id +"/genomics:v1/Read/readGroupId": read_group_id +"/genomics:v1/Read/readGroupSetId": read_group_set_id +"/genomics:v1/Read/fragmentName": fragment_name +"/genomics:v1/Read/properPlacement": proper_placement +"/genomics:v1/Read/duplicateFragment": duplicate_fragment +"/genomics:v1/Read/fragmentLength": fragment_length +"/genomics:v1/Read/readNumber": read_number +"/genomics:v1/Read/numberReads": number_reads +"/genomics:v1/Read/failedVendorQualityChecks": failed_vendor_quality_checks +"/genomics:v1/Read/alignment": alignment +"/genomics:v1/Read/secondaryAlignment": secondary_alignment +"/genomics:v1/Read/supplementaryAlignment": supplementary_alignment +"/genomics:v1/Read/alignedSequence": aligned_sequence +"/genomics:v1/Read/alignedQuality": aligned_quality +"/genomics:v1/Read/alignedQuality/aligned_quality": aligned_quality +"/genomics:v1/Read/nextMatePosition": next_mate_position +"/genomics:v1/Read/info": info +"/genomics:v1/Read/info/info": info +"/genomics:v1/Read/info/info/info": info +"/genomics:v1/LinearAlignment": linear_alignment +"/genomics:v1/LinearAlignment/position": position +"/genomics:v1/LinearAlignment/mappingQuality": mapping_quality +"/genomics:v1/LinearAlignment/cigar": cigar +"/genomics:v1/LinearAlignment/cigar/cigar": cigar +"/genomics:v1/Position": position +"/genomics:v1/Position/referenceName": reference_name +"/genomics:v1/Position/position": position +"/genomics:v1/Position/reverseStrand": reverse_strand +"/genomics:v1/CigarUnit": cigar_unit +"/genomics:v1/CigarUnit/operation": operation +"/genomics:v1/CigarUnit/operationLength": operation_length +"/genomics:v1/CigarUnit/referenceSequence": reference_sequence +"/genomics:v1/StreamReadsRequest": stream_reads_request +"/genomics:v1/StreamReadsRequest/projectId": project_id +"/genomics:v1/StreamReadsRequest/readGroupSetId": read_group_set_id +"/genomics:v1/StreamReadsRequest/referenceName": reference_name +"/genomics:v1/StreamReadsRequest/start": start +"/genomics:v1/StreamReadsRequest/end": end +"/genomics:v1/StreamReadsRequest/shard": shard +"/genomics:v1/StreamReadsRequest/totalShards": total_shards +"/genomics:v1/StreamReadsResponse": stream_reads_response +"/genomics:v1/StreamReadsResponse/alignments": alignments +"/genomics:v1/StreamReadsResponse/alignments/alignment": alignment +"/genomics:v1/SearchReferenceSetsRequest": search_reference_sets_request +"/genomics:v1/SearchReferenceSetsRequest/md5checksums": md5checksums +"/genomics:v1/SearchReferenceSetsRequest/md5checksums/md5checksum": md5checksum +"/genomics:v1/SearchReferenceSetsRequest/accessions": accessions +"/genomics:v1/SearchReferenceSetsRequest/accessions/accession": accession +"/genomics:v1/SearchReferenceSetsRequest/assemblyId": assembly_id +"/genomics:v1/SearchReferenceSetsRequest/pageToken": page_token +"/genomics:v1/SearchReferenceSetsRequest/pageSize": page_size +"/genomics:v1/SearchReferenceSetsResponse": search_reference_sets_response +"/genomics:v1/SearchReferenceSetsResponse/referenceSets": reference_sets +"/genomics:v1/SearchReferenceSetsResponse/referenceSets/reference_set": reference_set +"/genomics:v1/SearchReferenceSetsResponse/nextPageToken": next_page_token +"/genomics:v1/ReferenceSet": reference_set +"/genomics:v1/ReferenceSet/id": id +"/genomics:v1/ReferenceSet/referenceIds": reference_ids +"/genomics:v1/ReferenceSet/referenceIds/reference_id": reference_id +"/genomics:v1/ReferenceSet/md5checksum": md5checksum +"/genomics:v1/ReferenceSet/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/ReferenceSet/description": description +"/genomics:v1/ReferenceSet/assemblyId": assembly_id +"/genomics:v1/ReferenceSet/sourceUri": source_uri +"/genomics:v1/ReferenceSet/sourceAccessions": source_accessions +"/genomics:v1/ReferenceSet/sourceAccessions/source_accession": source_accession +"/genomics:v1/SearchReferencesRequest": search_references_request +"/genomics:v1/SearchReferencesRequest/md5checksums": md5checksums +"/genomics:v1/SearchReferencesRequest/md5checksums/md5checksum": md5checksum +"/genomics:v1/SearchReferencesRequest/accessions": accessions +"/genomics:v1/SearchReferencesRequest/accessions/accession": accession +"/genomics:v1/SearchReferencesRequest/referenceSetId": reference_set_id +"/genomics:v1/SearchReferencesRequest/pageToken": page_token +"/genomics:v1/SearchReferencesRequest/pageSize": page_size +"/genomics:v1/SearchReferencesResponse": search_references_response +"/genomics:v1/SearchReferencesResponse/references": references +"/genomics:v1/SearchReferencesResponse/references/reference": reference +"/genomics:v1/SearchReferencesResponse/nextPageToken": next_page_token +"/genomics:v1/Reference": reference +"/genomics:v1/Reference/id": id +"/genomics:v1/Reference/length": length +"/genomics:v1/Reference/md5checksum": md5checksum +"/genomics:v1/Reference/name": name +"/genomics:v1/Reference/sourceUri": source_uri +"/genomics:v1/Reference/sourceAccessions": source_accessions +"/genomics:v1/Reference/sourceAccessions/source_accession": source_accession +"/genomics:v1/Reference/ncbiTaxonId": ncbi_taxon_id +"/genomics:v1/ListBasesResponse": list_bases_response +"/genomics:v1/ListBasesResponse/offset": offset +"/genomics:v1/ListBasesResponse/sequence": sequence +"/genomics:v1/ListBasesResponse/nextPageToken": next_page_token +"/genomics:v1/ImportVariantsRequest": import_variants_request +"/genomics:v1/ImportVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/ImportVariantsRequest/sourceUris": source_uris +"/genomics:v1/ImportVariantsRequest/sourceUris/source_uri": source_uri +"/genomics:v1/ImportVariantsRequest/format": format +"/genomics:v1/ImportVariantsRequest/normalizeReferenceNames": normalize_reference_names +"/genomics:v1/ImportVariantsRequest/infoMergeConfig": info_merge_config +"/genomics:v1/ImportVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config +"/genomics:v1/VariantSet": variant_set +"/genomics:v1/VariantSet/datasetId": dataset_id +"/genomics:v1/VariantSet/id": id +"/genomics:v1/VariantSet/referenceSetId": reference_set_id +"/genomics:v1/VariantSet/referenceBounds": reference_bounds +"/genomics:v1/VariantSet/referenceBounds/reference_bound": reference_bound +"/genomics:v1/VariantSet/metadata": metadata +"/genomics:v1/VariantSet/metadata/metadatum": metadatum +"/genomics:v1/VariantSet/name": name +"/genomics:v1/VariantSet/description": description +"/genomics:v1/ReferenceBound": reference_bound +"/genomics:v1/ReferenceBound/referenceName": reference_name +"/genomics:v1/ReferenceBound/upperBound": upper_bound +"/genomics:v1/VariantSetMetadata": variant_set_metadata +"/genomics:v1/VariantSetMetadata/key": key +"/genomics:v1/VariantSetMetadata/value": value +"/genomics:v1/VariantSetMetadata/id": id +"/genomics:v1/VariantSetMetadata/type": type +"/genomics:v1/VariantSetMetadata/number": number +"/genomics:v1/VariantSetMetadata/description": description +"/genomics:v1/VariantSetMetadata/info": info +"/genomics:v1/VariantSetMetadata/info/info": info +"/genomics:v1/VariantSetMetadata/info/info/info": info +"/genomics:v1/ExportVariantSetRequest": export_variant_set_request +"/genomics:v1/ExportVariantSetRequest/callSetIds": call_set_ids +"/genomics:v1/ExportVariantSetRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/ExportVariantSetRequest/projectId": project_id +"/genomics:v1/ExportVariantSetRequest/format": format +"/genomics:v1/ExportVariantSetRequest/bigqueryDataset": bigquery_dataset +"/genomics:v1/ExportVariantSetRequest/bigqueryTable": bigquery_table +"/genomics:v1/SearchVariantSetsRequest": search_variant_sets_request +"/genomics:v1/SearchVariantSetsRequest/datasetIds": dataset_ids +"/genomics:v1/SearchVariantSetsRequest/datasetIds/dataset_id": dataset_id +"/genomics:v1/SearchVariantSetsRequest/pageToken": page_token +"/genomics:v1/SearchVariantSetsRequest/pageSize": page_size +"/genomics:v1/SearchVariantSetsResponse": search_variant_sets_response +"/genomics:v1/SearchVariantSetsResponse/variantSets": variant_sets +"/genomics:v1/SearchVariantSetsResponse/variantSets/variant_set": variant_set +"/genomics:v1/SearchVariantSetsResponse/nextPageToken": next_page_token +"/genomics:v1/SearchVariantsRequest": search_variants_request +"/genomics:v1/SearchVariantsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchVariantsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/SearchVariantsRequest/variantName": variant_name +"/genomics:v1/SearchVariantsRequest/callSetIds": call_set_ids +"/genomics:v1/SearchVariantsRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/SearchVariantsRequest/referenceName": reference_name +"/genomics:v1/SearchVariantsRequest/start": start +"/genomics:v1/SearchVariantsRequest/end": end +"/genomics:v1/SearchVariantsRequest/pageToken": page_token +"/genomics:v1/SearchVariantsRequest/pageSize": page_size +"/genomics:v1/SearchVariantsRequest/maxCalls": max_calls +"/genomics:v1/SearchVariantsResponse": search_variants_response +"/genomics:v1/SearchVariantsResponse/variants": variants +"/genomics:v1/SearchVariantsResponse/variants/variant": variant +"/genomics:v1/SearchVariantsResponse/nextPageToken": next_page_token +"/genomics:v1/Variant": variant +"/genomics:v1/Variant/variantSetId": variant_set_id +"/genomics:v1/Variant/id": id +"/genomics:v1/Variant/names": names +"/genomics:v1/Variant/names/name": name +"/genomics:v1/Variant/created": created +"/genomics:v1/Variant/referenceName": reference_name +"/genomics:v1/Variant/start": start +"/genomics:v1/Variant/end": end +"/genomics:v1/Variant/referenceBases": reference_bases +"/genomics:v1/Variant/alternateBases": alternate_bases +"/genomics:v1/Variant/alternateBases/alternate_basis": alternate_basis +"/genomics:v1/Variant/quality": quality +"/genomics:v1/Variant/filter": filter +"/genomics:v1/Variant/filter/filter": filter +"/genomics:v1/Variant/info": info +"/genomics:v1/Variant/info/info": info +"/genomics:v1/Variant/info/info/info": info +"/genomics:v1/Variant/calls": calls +"/genomics:v1/Variant/calls/call": call +"/genomics:v1/VariantCall": variant_call +"/genomics:v1/VariantCall/callSetId": call_set_id +"/genomics:v1/VariantCall/callSetName": call_set_name +"/genomics:v1/VariantCall/genotype": genotype +"/genomics:v1/VariantCall/genotype/genotype": genotype +"/genomics:v1/VariantCall/phaseset": phaseset +"/genomics:v1/VariantCall/genotypeLikelihood": genotype_likelihood +"/genomics:v1/VariantCall/genotypeLikelihood/genotype_likelihood": genotype_likelihood +"/genomics:v1/VariantCall/info": info +"/genomics:v1/VariantCall/info/info": info +"/genomics:v1/VariantCall/info/info/info": info +"/genomics:v1/MergeVariantsRequest": merge_variants_request +"/genomics:v1/MergeVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/MergeVariantsRequest/variants": variants +"/genomics:v1/MergeVariantsRequest/variants/variant": variant +"/genomics:v1/MergeVariantsRequest/infoMergeConfig": info_merge_config +"/genomics:v1/MergeVariantsRequest/infoMergeConfig/info_merge_config": info_merge_config +"/genomics:v1/SearchCallSetsRequest": search_call_sets_request +"/genomics:v1/SearchCallSetsRequest/variantSetIds": variant_set_ids +"/genomics:v1/SearchCallSetsRequest/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/SearchCallSetsRequest/name": name +"/genomics:v1/SearchCallSetsRequest/pageToken": page_token +"/genomics:v1/SearchCallSetsRequest/pageSize": page_size +"/genomics:v1/SearchCallSetsResponse": search_call_sets_response +"/genomics:v1/SearchCallSetsResponse/callSets": call_sets +"/genomics:v1/SearchCallSetsResponse/callSets/call_set": call_set +"/genomics:v1/SearchCallSetsResponse/nextPageToken": next_page_token +"/genomics:v1/CallSet": call_set +"/genomics:v1/CallSet/id": id +"/genomics:v1/CallSet/name": name +"/genomics:v1/CallSet/sampleId": sample_id +"/genomics:v1/CallSet/variantSetIds": variant_set_ids +"/genomics:v1/CallSet/variantSetIds/variant_set_id": variant_set_id +"/genomics:v1/CallSet/created": created +"/genomics:v1/CallSet/info": info +"/genomics:v1/CallSet/info/info": info +"/genomics:v1/CallSet/info/info/info": info +"/genomics:v1/StreamVariantsRequest": stream_variants_request +"/genomics:v1/StreamVariantsRequest/projectId": project_id +"/genomics:v1/StreamVariantsRequest/variantSetId": variant_set_id +"/genomics:v1/StreamVariantsRequest/callSetIds": call_set_ids +"/genomics:v1/StreamVariantsRequest/callSetIds/call_set_id": call_set_id +"/genomics:v1/StreamVariantsRequest/referenceName": reference_name +"/genomics:v1/StreamVariantsRequest/start": start +"/genomics:v1/StreamVariantsRequest/end": end +"/genomics:v1/StreamVariantsResponse": stream_variants_response +"/genomics:v1/StreamVariantsResponse/variants": variants +"/genomics:v1/StreamVariantsResponse/variants/variant": variant +"/genomics:v1/ImportReadGroupSetsResponse": import_read_group_sets_response +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds": read_group_set_ids +"/genomics:v1/ImportReadGroupSetsResponse/readGroupSetIds/read_group_set_id": read_group_set_id +"/genomics:v1/ImportVariantsResponse": import_variants_response +"/genomics:v1/ImportVariantsResponse/callSetIds": call_set_ids +"/genomics:v1/ImportVariantsResponse/callSetIds/call_set_id": call_set_id +"/genomics:v1/OperationMetadata": operation_metadata +"/genomics:v1/OperationMetadata/projectId": project_id +"/genomics:v1/OperationMetadata/createTime": create_time +"/genomics:v1/OperationMetadata/startTime": start_time +"/genomics:v1/OperationMetadata/endTime": end_time +"/genomics:v1/OperationMetadata/request": request +"/genomics:v1/OperationMetadata/request/request": request +"/genomics:v1/OperationMetadata/events": events +"/genomics:v1/OperationMetadata/events/event": event +"/genomics:v1/OperationMetadata/clientId": client_id +"/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata +"/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum +"/genomics:v1/OperationMetadata/labels": labels +"/genomics:v1/OperationMetadata/labels/label": label +"/genomics:v1/OperationEvent": operation_event +"/genomics:v1/OperationEvent/startTime": start_time +"/genomics:v1/OperationEvent/endTime": end_time +"/genomics:v1/OperationEvent/description": description +"/genomics:v1/RuntimeMetadata": runtime_metadata +"/genomics:v1/RuntimeMetadata/computeEngine": compute_engine +"/genomics:v1/ComputeEngine": compute_engine +"/genomics:v1/ComputeEngine/instanceName": instance_name +"/genomics:v1/ComputeEngine/zone": zone +"/genomics:v1/ComputeEngine/machineType": machine_type +"/genomics:v1/ComputeEngine/diskNames": disk_names +"/genomics:v1/ComputeEngine/diskNames/disk_name": disk_name +"/iam:v1/fields": fields +"/iam:v1/key": key +"/iam:v1/quotaUser": quota_user +"/iam:v1/iam.projects.serviceAccounts.list": list_project_service_accounts +"/iam:v1/iam.projects.serviceAccounts.list/name": name +"/iam:v1/iam.projects.serviceAccounts.list/pageSize": page_size +"/iam:v1/iam.projects.serviceAccounts.list/pageToken": page_token +"/iam:v1/iam.projects.serviceAccounts.get": get_project_service_account +"/iam:v1/iam.projects.serviceAccounts.get/name": name +"/iam:v1/iam.projects.serviceAccounts.create": create_service_account +"/iam:v1/iam.projects.serviceAccounts.create/name": name +"/iam:v1/iam.projects.serviceAccounts.update": update_project_service_account +"/iam:v1/iam.projects.serviceAccounts.update/name": name +"/iam:v1/iam.projects.serviceAccounts.delete": delete_project_service_account +"/iam:v1/iam.projects.serviceAccounts.delete/name": name +"/iam:v1/iam.projects.serviceAccounts.signBlob": sign_service_account_blob +"/iam:v1/iam.projects.serviceAccounts.signBlob/name": name +"/iam:v1/iam.projects.serviceAccounts.getIamPolicy": get_project_service_account_iam_policy +"/iam:v1/iam.projects.serviceAccounts.getIamPolicy/resource": resource +"/iam:v1/iam.projects.serviceAccounts.setIamPolicy": set_service_account_iam_policy +"/iam:v1/iam.projects.serviceAccounts.setIamPolicy/resource": resource +"/iam:v1/iam.projects.serviceAccounts.testIamPermissions": test_service_account_iam_permissions +"/iam:v1/iam.projects.serviceAccounts.testIamPermissions/resource": resource +"/iam:v1/iam.projects.serviceAccounts.keys.list": list_project_service_account_keys +"/iam:v1/iam.projects.serviceAccounts.keys.list/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.list/keyTypes": key_types +"/iam:v1/iam.projects.serviceAccounts.keys.get": get_project_service_account_key +"/iam:v1/iam.projects.serviceAccounts.keys.get/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.get/publicKeyType": public_key_type +"/iam:v1/iam.projects.serviceAccounts.keys.create": create_service_account_key +"/iam:v1/iam.projects.serviceAccounts.keys.create/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key +"/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name +"/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles +"/iam:v1/ListServiceAccountsResponse": list_service_accounts_response +"/iam:v1/ListServiceAccountsResponse/accounts": accounts +"/iam:v1/ListServiceAccountsResponse/accounts/account": account +"/iam:v1/ListServiceAccountsResponse/nextPageToken": next_page_token +"/iam:v1/ServiceAccount": service_account +"/iam:v1/ServiceAccount/name": name +"/iam:v1/ServiceAccount/projectId": project_id +"/iam:v1/ServiceAccount/uniqueId": unique_id +"/iam:v1/ServiceAccount/email": email +"/iam:v1/ServiceAccount/displayName": display_name +"/iam:v1/ServiceAccount/etag": etag +"/iam:v1/ServiceAccount/oauth2ClientId": oauth2_client_id +"/iam:v1/CreateServiceAccountRequest": create_service_account_request +"/iam:v1/CreateServiceAccountRequest/accountId": account_id +"/iam:v1/CreateServiceAccountRequest/serviceAccount": service_account +"/iam:v1/Empty": empty +"/iam:v1/ListServiceAccountKeysResponse": list_service_account_keys_response +"/iam:v1/ListServiceAccountKeysResponse/keys": keys +"/iam:v1/ListServiceAccountKeysResponse/keys/key": key +"/iam:v1/ServiceAccountKey": service_account_key +"/iam:v1/ServiceAccountKey/name": name +"/iam:v1/ServiceAccountKey/privateKeyType": private_key_type +"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm +"/iam:v1/ServiceAccountKey/privateKeyData": private_key_data +"/iam:v1/ServiceAccountKey/publicKeyData": public_key_data +"/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time +"/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time +"/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request +"/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type +"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm +"/iam:v1/SignBlobRequest": sign_blob_request +"/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign +"/iam:v1/SignBlobResponse": sign_blob_response +"/iam:v1/SignBlobResponse/keyId": key_id +"/iam:v1/SignBlobResponse/signature": signature +"/iam:v1/Policy": policy +"/iam:v1/Policy/version": version +"/iam:v1/Policy/bindings": bindings +"/iam:v1/Policy/bindings/binding": binding +"/iam:v1/Policy/etag": etag +"/iam:v1/Binding": binding +"/iam:v1/Binding/role": role +"/iam:v1/Binding/members": members +"/iam:v1/Binding/members/member": member +"/iam:v1/SetIamPolicyRequest": set_iam_policy_request +"/iam:v1/SetIamPolicyRequest/policy": policy +"/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/iam:v1/TestIamPermissionsRequest/permissions": permissions +"/iam:v1/TestIamPermissionsRequest/permissions/permission": permission +"/iam:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/iam:v1/TestIamPermissionsResponse/permissions": permissions +"/iam:v1/TestIamPermissionsResponse/permissions/permission": permission +"/iam:v1/QueryGrantableRolesRequest": query_grantable_roles_request +"/iam:v1/QueryGrantableRolesRequest/fullResourceName": full_resource_name +"/iam:v1/QueryGrantableRolesResponse": query_grantable_roles_response +"/iam:v1/QueryGrantableRolesResponse/roles": roles +"/iam:v1/QueryGrantableRolesResponse/roles/role": role +"/iam:v1/Role": role +"/iam:v1/Role/name": name +"/iam:v1/Role/title": title +"/iam:v1/Role/description": description +"/iam:v1/AuditData": audit_data +"/iam:v1/AuditData/policyDelta": policy_delta +"/iam:v1/PolicyDelta": policy_delta +"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas +"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta +"/iam:v1/BindingDelta": binding_delta +"/iam:v1/BindingDelta/action": action +"/iam:v1/BindingDelta/role": role +"/iam:v1/BindingDelta/member": member +"/kgsearch:v1/fields": fields +"/kgsearch:v1/key": key +"/kgsearch:v1/quotaUser": quota_user +"/kgsearch:v1/kgsearch.entities.search": search_entities +"/kgsearch:v1/kgsearch.entities.search/query": query +"/kgsearch:v1/kgsearch.entities.search/ids": ids +"/kgsearch:v1/kgsearch.entities.search/languages": languages +"/kgsearch:v1/kgsearch.entities.search/types": types +"/kgsearch:v1/kgsearch.entities.search/indent": indent +"/kgsearch:v1/kgsearch.entities.search/prefix": prefix +"/kgsearch:v1/kgsearch.entities.search/limit": limit +"/kgsearch:v1/SearchResponse": search_response +"/kgsearch:v1/SearchResponse/context": context +"/kgsearch:v1/SearchResponse/type": type +"/kgsearch:v1/SearchResponse/itemListElement": item_list_element +"/kgsearch:v1/SearchResponse/itemListElement/item_list_element": item_list_element +"/partners:v2/fields": fields +"/partners:v2/key": key +"/partners:v2/quotaUser": quota_user +"/partners:v2/partners.userEvents.log": log_user_event +"/partners:v2/partners.clientMessages.log": log_client_message_message +"/partners:v2/partners.userStates.list": list_user_states +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.userStates.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.userStates.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.userStates.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.userStates.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.userStates.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.companies.get": get_company +"/partners:v2/partners.companies.get/companyId": company_id +"/partners:v2/partners.companies.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.companies.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.companies.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.companies.get/view": view +"/partners:v2/partners.companies.get/orderBy": order_by +"/partners:v2/partners.companies.get/currencyCode": currency_code +"/partners:v2/partners.companies.get/address": address +"/partners:v2/partners.companies.list": list_companies +"/partners:v2/partners.companies.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.companies.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.companies.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.companies.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.companies.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.companies.list/pageSize": page_size +"/partners:v2/partners.companies.list/pageToken": page_token +"/partners:v2/partners.companies.list/companyName": company_name +"/partners:v2/partners.companies.list/view": view +"/partners:v2/partners.companies.list/minMonthlyBudget.currencyCode": min_monthly_budget_currency_code +"/partners:v2/partners.companies.list/minMonthlyBudget.units": min_monthly_budget_units +"/partners:v2/partners.companies.list/minMonthlyBudget.nanos": min_monthly_budget_nanos +"/partners:v2/partners.companies.list/maxMonthlyBudget.currencyCode": max_monthly_budget_currency_code +"/partners:v2/partners.companies.list/maxMonthlyBudget.units": max_monthly_budget_units +"/partners:v2/partners.companies.list/maxMonthlyBudget.nanos": max_monthly_budget_nanos +"/partners:v2/partners.companies.list/industries": industries +"/partners:v2/partners.companies.list/services": services +"/partners:v2/partners.companies.list/languageCodes": language_codes +"/partners:v2/partners.companies.list/address": address +"/partners:v2/partners.companies.list/orderBy": order_by +"/partners:v2/partners.companies.list/gpsMotivations": gps_motivations +"/partners:v2/partners.companies.list/websiteUrl": website_url +"/partners:v2/partners.companies.leads.create": create_lead +"/partners:v2/partners.companies.leads.create/companyId": company_id +"/partners:v2/LogUserEventRequest": log_user_event_request +"/partners:v2/LogUserEventRequest/requestMetadata": request_metadata +"/partners:v2/LogUserEventRequest/eventAction": event_action +"/partners:v2/LogUserEventRequest/eventCategory": event_category +"/partners:v2/LogUserEventRequest/eventScope": event_scope +"/partners:v2/LogUserEventRequest/eventDatas": event_datas +"/partners:v2/LogUserEventRequest/eventDatas/event_data": event_data +"/partners:v2/LogUserEventRequest/url": url +"/partners:v2/LogUserEventRequest/lead": lead +"/partners:v2/RequestMetadata": request_metadata +"/partners:v2/RequestMetadata/userOverrides": user_overrides +"/partners:v2/RequestMetadata/locale": locale +"/partners:v2/RequestMetadata/partnersSessionId": partners_session_id +"/partners:v2/RequestMetadata/experimentIds": experiment_ids +"/partners:v2/RequestMetadata/experimentIds/experiment_id": experiment_id +"/partners:v2/RequestMetadata/trafficSource": traffic_source +"/partners:v2/UserOverrides": user_overrides +"/partners:v2/UserOverrides/ipAddress": ip_address +"/partners:v2/UserOverrides/userId": user_id +"/partners:v2/TrafficSource": traffic_source +"/partners:v2/TrafficSource/trafficSourceId": traffic_source_id +"/partners:v2/TrafficSource/trafficSubId": traffic_sub_id +"/partners:v2/EventData": event_data +"/partners:v2/EventData/key": key +"/partners:v2/EventData/values": values +"/partners:v2/EventData/values/value": value +"/partners:v2/Lead": lead +"/partners:v2/Lead/id": id +"/partners:v2/Lead/type": type +"/partners:v2/Lead/email": email +"/partners:v2/Lead/givenName": given_name +"/partners:v2/Lead/familyName": family_name +"/partners:v2/Lead/websiteUrl": website_url +"/partners:v2/Lead/phoneNumber": phone_number +"/partners:v2/Lead/comments": comments +"/partners:v2/Lead/gpsMotivations": gps_motivations +"/partners:v2/Lead/gpsMotivations/gps_motivation": gps_motivation +"/partners:v2/Lead/minMonthlyBudget": min_monthly_budget +"/partners:v2/Money": money +"/partners:v2/Money/currencyCode": currency_code +"/partners:v2/Money/units": units +"/partners:v2/Money/nanos": nanos +"/partners:v2/LogUserEventResponse": log_user_event_response +"/partners:v2/LogUserEventResponse/responseMetadata": response_metadata +"/partners:v2/ResponseMetadata": response_metadata +"/partners:v2/ResponseMetadata/debugInfo": debug_info +"/partners:v2/DebugInfo": debug_info +"/partners:v2/DebugInfo/serverInfo": server_info +"/partners:v2/DebugInfo/serviceUrl": service_url +"/partners:v2/DebugInfo/serverTraceInfo": server_trace_info +"/partners:v2/LogMessageRequest": log_message_request +"/partners:v2/LogMessageRequest/requestMetadata": request_metadata +"/partners:v2/LogMessageRequest/level": level +"/partners:v2/LogMessageRequest/details": details +"/partners:v2/LogMessageRequest/clientInfo": client_info +"/partners:v2/LogMessageRequest/clientInfo/client_info": client_info +"/partners:v2/LogMessageResponse": log_message_response +"/partners:v2/LogMessageResponse/responseMetadata": response_metadata +"/partners:v2/ListUserStatesResponse": list_user_states_response +"/partners:v2/ListUserStatesResponse/responseMetadata": response_metadata +"/partners:v2/ListUserStatesResponse/userStates": user_states +"/partners:v2/ListUserStatesResponse/userStates/user_state": user_state +"/partners:v2/GetCompanyResponse": get_company_response +"/partners:v2/GetCompanyResponse/responseMetadata": response_metadata +"/partners:v2/GetCompanyResponse/company": company +"/partners:v2/Company": company +"/partners:v2/Company/id": id +"/partners:v2/Company/name": name +"/partners:v2/Company/localizedInfos": localized_infos +"/partners:v2/Company/localizedInfos/localized_info": localized_info +"/partners:v2/Company/locations": locations +"/partners:v2/Company/locations/location": location +"/partners:v2/Company/convertedMinMonthlyBudget": converted_min_monthly_budget +"/partners:v2/Company/originalMinMonthlyBudget": original_min_monthly_budget +"/partners:v2/Company/publicProfile": public_profile +"/partners:v2/Company/certificationStatuses": certification_statuses +"/partners:v2/Company/certificationStatuses/certification_status": certification_status +"/partners:v2/Company/ranks": ranks +"/partners:v2/Company/ranks/rank": rank +"/partners:v2/Company/websiteUrl": website_url +"/partners:v2/Company/industries": industries +"/partners:v2/Company/industries/industry": industry +"/partners:v2/Company/services": services +"/partners:v2/Company/services/service": service +"/partners:v2/LocalizedCompanyInfo": localized_company_info +"/partners:v2/LocalizedCompanyInfo/languageCode": language_code +"/partners:v2/LocalizedCompanyInfo/displayName": display_name +"/partners:v2/LocalizedCompanyInfo/overview": overview +"/partners:v2/LocalizedCompanyInfo/countryCodes": country_codes +"/partners:v2/LocalizedCompanyInfo/countryCodes/country_code": country_code +"/partners:v2/Location": location +"/partners:v2/Location/address": address +"/partners:v2/Location/latLng": lat_lng +"/partners:v2/LatLng": lat_lng +"/partners:v2/LatLng/latitude": latitude +"/partners:v2/LatLng/longitude": longitude +"/partners:v2/PublicProfile": public_profile +"/partners:v2/PublicProfile/id": id +"/partners:v2/PublicProfile/displayName": display_name +"/partners:v2/PublicProfile/url": url +"/partners:v2/PublicProfile/displayImageUrl": display_image_url +"/partners:v2/CertificationStatus": certification_status +"/partners:v2/CertificationStatus/type": type +"/partners:v2/CertificationStatus/examStatuses": exam_statuses +"/partners:v2/CertificationStatus/examStatuses/exam_status": exam_status +"/partners:v2/CertificationStatus/isCertified": is_certified +"/partners:v2/CertificationExamStatus": certification_exam_status +"/partners:v2/CertificationExamStatus/type": type +"/partners:v2/CertificationExamStatus/numberUsersPass": number_users_pass +"/partners:v2/Rank": rank +"/partners:v2/Rank/type": type +"/partners:v2/Rank/value": value +"/partners:v2/ListCompaniesResponse": list_companies_response +"/partners:v2/ListCompaniesResponse/responseMetadata": response_metadata +"/partners:v2/ListCompaniesResponse/companies": companies +"/partners:v2/ListCompaniesResponse/companies/company": company +"/partners:v2/ListCompaniesResponse/nextPageToken": next_page_token +"/partners:v2/CreateLeadRequest": create_lead_request +"/partners:v2/CreateLeadRequest/requestMetadata": request_metadata +"/partners:v2/CreateLeadRequest/lead": lead +"/partners:v2/CreateLeadRequest/recaptchaChallenge": recaptcha_challenge +"/partners:v2/RecaptchaChallenge": recaptcha_challenge +"/partners:v2/RecaptchaChallenge/id": id +"/partners:v2/RecaptchaChallenge/response": response +"/partners:v2/CreateLeadResponse": create_lead_response +"/partners:v2/CreateLeadResponse/responseMetadata": response_metadata +"/partners:v2/CreateLeadResponse/lead": lead +"/partners:v2/CreateLeadResponse/recaptchaStatus": recaptcha_status +"/people:v1/fields": fields +"/people:v1/key": key +"/people:v1/quotaUser": quota_user +"/people:v1/people.people.get": get_person +"/people:v1/people.people.get/resourceName": resource_name +"/people:v1/people.people.get/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.getBatchGet/resourceNames": resource_names +"/people:v1/people.people.getBatchGet/requestMask.includeField": request_mask_include_field +"/people:v1/people.people.connections.list": list_person_connections +"/people:v1/people.people.connections.list/resourceName": resource_name +"/people:v1/people.people.connections.list/pageToken": page_token +"/people:v1/people.people.connections.list/pageSize": page_size +"/people:v1/people.people.connections.list/sortOrder": sort_order +"/people:v1/people.people.connections.list/syncToken": sync_token +"/people:v1/people.people.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/Person": person +"/people:v1/Person/resourceName": resource_name +"/people:v1/Person/etag": etag +"/people:v1/Person/metadata": metadata +"/people:v1/Person/locales": locales +"/people:v1/Person/locales/locale": locale +"/people:v1/Person/names": names +"/people:v1/Person/names/name": name +"/people:v1/Person/nicknames": nicknames +"/people:v1/Person/nicknames/nickname": nickname +"/people:v1/Person/coverPhotos": cover_photos +"/people:v1/Person/coverPhotos/cover_photo": cover_photo +"/people:v1/Person/photos": photos +"/people:v1/Person/photos/photo": photo +"/people:v1/Person/genders": genders +"/people:v1/Person/genders/gender": gender +"/people:v1/Person/ageRange": age_range +"/people:v1/Person/birthdays": birthdays +"/people:v1/Person/birthdays/birthday": birthday +"/people:v1/Person/events": events +"/people:v1/Person/events/event": event +"/people:v1/Person/addresses": addresses +"/people:v1/Person/addresses/address": address +"/people:v1/Person/residences": residences +"/people:v1/Person/residences/residence": residence +"/people:v1/Person/emailAddresses": email_addresses +"/people:v1/Person/emailAddresses/email_address": email_address +"/people:v1/Person/phoneNumbers": phone_numbers +"/people:v1/Person/phoneNumbers/phone_number": phone_number +"/people:v1/Person/imClients": im_clients +"/people:v1/Person/imClients/im_client": im_client +"/people:v1/Person/taglines": taglines +"/people:v1/Person/taglines/tagline": tagline +"/people:v1/Person/biographies": biographies +"/people:v1/Person/biographies/biography": biography +"/people:v1/Person/urls": urls +"/people:v1/Person/urls/url": url +"/people:v1/Person/organizations": organizations +"/people:v1/Person/organizations/organization": organization +"/people:v1/Person/occupations": occupations +"/people:v1/Person/occupations/occupation": occupation +"/people:v1/Person/interests": interests +"/people:v1/Person/interests/interest": interest +"/people:v1/Person/skills": skills +"/people:v1/Person/skills/skill": skill +"/people:v1/Person/braggingRights": bragging_rights +"/people:v1/Person/braggingRights/bragging_right": bragging_right +"/people:v1/Person/relations": relations +"/people:v1/Person/relations/relation": relation +"/people:v1/Person/relationshipInterests": relationship_interests +"/people:v1/Person/relationshipInterests/relationship_interest": relationship_interest +"/people:v1/Person/relationshipStatuses": relationship_statuses +"/people:v1/Person/relationshipStatuses/relationship_status": relationship_status +"/people:v1/Person/memberships": memberships +"/people:v1/Person/memberships/membership": membership +"/people:v1/PersonMetadata": person_metadata +"/people:v1/PersonMetadata/sources": sources +"/people:v1/PersonMetadata/sources/source": source +"/people:v1/PersonMetadata/previousResourceNames": previous_resource_names +"/people:v1/PersonMetadata/previousResourceNames/previous_resource_name": previous_resource_name +"/people:v1/PersonMetadata/deleted": deleted +"/people:v1/PersonMetadata/objectType": object_type +"/people:v1/Source": source +"/people:v1/Source/type": type +"/people:v1/Source/id": id +"/people:v1/Locale": locale +"/people:v1/Locale/metadata": metadata +"/people:v1/Locale/value": value +"/people:v1/FieldMetadata": field_metadata +"/people:v1/FieldMetadata/primary": primary +"/people:v1/FieldMetadata/verified": verified +"/people:v1/FieldMetadata/source": source +"/people:v1/Name": name +"/people:v1/Name/metadata": metadata +"/people:v1/Name/displayName": display_name +"/people:v1/Name/familyName": family_name +"/people:v1/Name/givenName": given_name +"/people:v1/Name/middleName": middle_name +"/people:v1/Name/honorificPrefix": honorific_prefix +"/people:v1/Name/honorificSuffix": honorific_suffix +"/people:v1/Name/phoneticFamilyName": phonetic_family_name +"/people:v1/Name/phoneticGivenName": phonetic_given_name +"/people:v1/Name/phoneticMiddleName": phonetic_middle_name +"/people:v1/Name/phoneticHonorificPrefix": phonetic_honorific_prefix +"/people:v1/Name/phoneticHonorificSuffix": phonetic_honorific_suffix +"/people:v1/Nickname": nickname +"/people:v1/Nickname/metadata": metadata +"/people:v1/Nickname/value": value +"/people:v1/Nickname/type": type +"/people:v1/CoverPhoto": cover_photo +"/people:v1/CoverPhoto/metadata": metadata +"/people:v1/CoverPhoto/url": url +"/people:v1/CoverPhoto/default": default +"/people:v1/Photo": photo +"/people:v1/Photo/metadata": metadata +"/people:v1/Photo/url": url +"/people:v1/Gender": gender +"/people:v1/Gender/metadata": metadata +"/people:v1/Gender/value": value +"/people:v1/Gender/formattedValue": formatted_value +"/people:v1/Birthday": birthday +"/people:v1/Birthday/metadata": metadata +"/people:v1/Birthday/date": date +"/people:v1/Birthday/text": text +"/people:v1/Date": date +"/people:v1/Date/year": year +"/people:v1/Date/month": month +"/people:v1/Date/day": day +"/people:v1/Event": event +"/people:v1/Event/metadata": metadata +"/people:v1/Event/date": date +"/people:v1/Event/type": type +"/people:v1/Event/formattedType": formatted_type +"/people:v1/Address": address +"/people:v1/Address/metadata": metadata +"/people:v1/Address/formattedValue": formatted_value +"/people:v1/Address/type": type +"/people:v1/Address/formattedType": formatted_type +"/people:v1/Address/poBox": po_box +"/people:v1/Address/streetAddress": street_address +"/people:v1/Address/extendedAddress": extended_address +"/people:v1/Address/city": city +"/people:v1/Address/region": region +"/people:v1/Address/postalCode": postal_code +"/people:v1/Address/country": country +"/people:v1/Address/countryCode": country_code +"/people:v1/Residence": residence +"/people:v1/Residence/metadata": metadata +"/people:v1/Residence/value": value +"/people:v1/Residence/current": current +"/people:v1/EmailAddress": email_address +"/people:v1/EmailAddress/metadata": metadata +"/people:v1/EmailAddress/value": value +"/people:v1/EmailAddress/type": type +"/people:v1/EmailAddress/formattedType": formatted_type +"/people:v1/PhoneNumber": phone_number +"/people:v1/PhoneNumber/metadata": metadata +"/people:v1/PhoneNumber/value": value +"/people:v1/PhoneNumber/canonicalForm": canonical_form +"/people:v1/PhoneNumber/type": type +"/people:v1/PhoneNumber/formattedType": formatted_type +"/people:v1/ImClient": im_client +"/people:v1/ImClient/metadata": metadata +"/people:v1/ImClient/username": username +"/people:v1/ImClient/type": type +"/people:v1/ImClient/formattedType": formatted_type +"/people:v1/ImClient/protocol": protocol +"/people:v1/ImClient/formattedProtocol": formatted_protocol +"/people:v1/Tagline": tagline +"/people:v1/Tagline/metadata": metadata +"/people:v1/Tagline/value": value +"/people:v1/Biography": biography +"/people:v1/Biography/metadata": metadata +"/people:v1/Biography/value": value +"/people:v1/Url": url +"/people:v1/Url/metadata": metadata +"/people:v1/Url/value": value +"/people:v1/Url/type": type +"/people:v1/Url/formattedType": formatted_type +"/people:v1/Organization": organization +"/people:v1/Organization/metadata": metadata +"/people:v1/Organization/type": type +"/people:v1/Organization/formattedType": formatted_type +"/people:v1/Organization/startDate": start_date +"/people:v1/Organization/endDate": end_date +"/people:v1/Organization/current": current +"/people:v1/Organization/name": name +"/people:v1/Organization/phoneticName": phonetic_name +"/people:v1/Organization/department": department +"/people:v1/Organization/title": title +"/people:v1/Organization/jobDescription": job_description +"/people:v1/Organization/symbol": symbol +"/people:v1/Organization/domain": domain +"/people:v1/Organization/location": location +"/people:v1/Occupation": occupation +"/people:v1/Occupation/metadata": metadata +"/people:v1/Occupation/value": value +"/people:v1/Interest": interest +"/people:v1/Interest/metadata": metadata +"/people:v1/Interest/value": value +"/people:v1/Skill": skill +"/people:v1/Skill/metadata": metadata +"/people:v1/Skill/value": value +"/people:v1/BraggingRights": bragging_rights +"/people:v1/BraggingRights/metadata": metadata +"/people:v1/BraggingRights/value": value +"/people:v1/Relation": relation +"/people:v1/Relation/metadata": metadata +"/people:v1/Relation/person": person +"/people:v1/Relation/type": type +"/people:v1/Relation/formattedType": formatted_type +"/people:v1/RelationshipInterest": relationship_interest +"/people:v1/RelationshipInterest/metadata": metadata +"/people:v1/RelationshipInterest/value": value +"/people:v1/RelationshipInterest/formattedValue": formatted_value +"/people:v1/RelationshipStatus": relationship_status +"/people:v1/RelationshipStatus/metadata": metadata +"/people:v1/RelationshipStatus/value": value +"/people:v1/RelationshipStatus/formattedValue": formatted_value +"/people:v1/Membership": membership +"/people:v1/Membership/metadata": metadata +"/people:v1/Membership/contactGroupMembership": contact_group_membership +"/people:v1/Membership/domainMembership": domain_membership +"/people:v1/ContactGroupMembership": contact_group_membership +"/people:v1/ContactGroupMembership/contactGroupId": contact_group_id +"/people:v1/DomainMembership": domain_membership +"/people:v1/DomainMembership/inViewerDomain": in_viewer_domain +"/people:v1/GetPeopleResponse": get_people_response +"/people:v1/GetPeopleResponse/responses": responses +"/people:v1/GetPeopleResponse/responses/response": response +"/people:v1/PersonResponse": person_response +"/people:v1/PersonResponse/httpStatusCode": http_status_code +"/people:v1/PersonResponse/person": person +"/people:v1/PersonResponse/requestedResourceName": requested_resource_name +"/people:v1/ListConnectionsResponse": list_connections_response +"/people:v1/ListConnectionsResponse/connections": connections +"/people:v1/ListConnectionsResponse/connections/connection": connection +"/people:v1/ListConnectionsResponse/nextPageToken": next_page_token +"/people:v1/ListConnectionsResponse/nextSyncToken": next_sync_token +"/proximitybeacon:v1beta1/fields": fields +"/proximitybeacon:v1beta1/key": key +"/proximitybeacon:v1beta1/quotaUser": quota_user +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register": register_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.register/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission": decommission_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.decommission/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get": get_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.get/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list": list_beacons +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/q": q +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update": update_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.update/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate": activate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.activate/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate": deactivate_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.deactivate/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create": create_beacon_attachment +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.create/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list": list_beacon_attachments +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete": delete_beacon_attachment +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/attachmentName": attachment_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.delete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete": batch_beacon_attachment_delete +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/proximitybeacon.beacons.attachments.batchDelete/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list": list_beacon_diagnostics +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageSize": page_size +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/pageToken": page_token +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/alertFilter": alert_filter +"/proximitybeacon:v1beta1/proximitybeacon.beacons.diagnostics.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list": list_namespaces +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.list/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update": update_namespace +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/namespaceName": namespace_name +"/proximitybeacon:v1beta1/proximitybeacon.namespaces.update/projectId": project_id +"/proximitybeacon:v1beta1/proximitybeacon.getEidparams": get_eidparams +"/proximitybeacon:v1beta1/proximitybeacon.beaconinfo.getforobserved": getforobserved_beaconinfo +"/proximitybeacon:v1beta1/Beacon": beacon +"/proximitybeacon:v1beta1/Beacon/beaconName": beacon_name +"/proximitybeacon:v1beta1/Beacon/advertisedId": advertised_id +"/proximitybeacon:v1beta1/Beacon/status": status +"/proximitybeacon:v1beta1/Beacon/placeId": place_id +"/proximitybeacon:v1beta1/Beacon/latLng": lat_lng +"/proximitybeacon:v1beta1/Beacon/indoorLevel": indoor_level +"/proximitybeacon:v1beta1/Beacon/expectedStability": expected_stability +"/proximitybeacon:v1beta1/Beacon/description": description +"/proximitybeacon:v1beta1/Beacon/properties": properties +"/proximitybeacon:v1beta1/Beacon/properties/property": property +"/proximitybeacon:v1beta1/Beacon/ephemeralIdRegistration": ephemeral_id_registration +"/proximitybeacon:v1beta1/Beacon/provisioningKey": provisioning_key +"/proximitybeacon:v1beta1/AdvertisedId": advertised_id +"/proximitybeacon:v1beta1/AdvertisedId/type": type +"/proximitybeacon:v1beta1/AdvertisedId/id": id +"/proximitybeacon:v1beta1/LatLng": lat_lng +"/proximitybeacon:v1beta1/LatLng/latitude": latitude +"/proximitybeacon:v1beta1/LatLng/longitude": longitude +"/proximitybeacon:v1beta1/IndoorLevel": indoor_level +"/proximitybeacon:v1beta1/IndoorLevel/name": name +"/proximitybeacon:v1beta1/EphemeralIdRegistration": ephemeral_id_registration +"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconEcdhPublicKey": beacon_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/serviceEcdhPublicKey": service_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/beaconIdentityKey": beacon_identity_key +"/proximitybeacon:v1beta1/EphemeralIdRegistration/rotationPeriodExponent": rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialClockValue": initial_clock_value +"/proximitybeacon:v1beta1/EphemeralIdRegistration/initialEid": initial_eid +"/proximitybeacon:v1beta1/Empty": empty +"/proximitybeacon:v1beta1/ListBeaconsResponse": list_beacons_response +"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons": beacons +"/proximitybeacon:v1beta1/ListBeaconsResponse/beacons/beacon": beacon +"/proximitybeacon:v1beta1/ListBeaconsResponse/nextPageToken": next_page_token +"/proximitybeacon:v1beta1/ListBeaconsResponse/totalCount": total_count +"/proximitybeacon:v1beta1/BeaconAttachment": beacon_attachment +"/proximitybeacon:v1beta1/BeaconAttachment/attachmentName": attachment_name +"/proximitybeacon:v1beta1/BeaconAttachment/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/BeaconAttachment/data": data +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse": list_beacon_attachments_response +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments": attachments +"/proximitybeacon:v1beta1/ListBeaconAttachmentsResponse/attachments/attachment": attachment +"/proximitybeacon:v1beta1/DeleteAttachmentsResponse": delete_attachments_response +"/proximitybeacon:v1beta1/DeleteAttachmentsResponse/numDeleted": num_deleted +"/proximitybeacon:v1beta1/ListNamespacesResponse": list_namespaces_response +"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces": namespaces +"/proximitybeacon:v1beta1/ListNamespacesResponse/namespaces/namespace": namespace +"/proximitybeacon:v1beta1/Namespace": namespace +"/proximitybeacon:v1beta1/Namespace/namespaceName": namespace_name +"/proximitybeacon:v1beta1/Namespace/servingVisibility": serving_visibility +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams": ephemeral_id_registration_params +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/serviceEcdhPublicKey": service_ecdh_public_key +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/minRotationPeriodExponent": min_rotation_period_exponent +"/proximitybeacon:v1beta1/EphemeralIdRegistrationParams/maxRotationPeriodExponent": max_rotation_period_exponent +"/proximitybeacon:v1beta1/ListDiagnosticsResponse": list_diagnostics_response +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics": diagnostics +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/diagnostics/diagnostic": diagnostic +"/proximitybeacon:v1beta1/ListDiagnosticsResponse/nextPageToken": next_page_token +"/proximitybeacon:v1beta1/Diagnostics": diagnostics +"/proximitybeacon:v1beta1/Diagnostics/beaconName": beacon_name +"/proximitybeacon:v1beta1/Diagnostics/estimatedLowBatteryDate": estimated_low_battery_date +"/proximitybeacon:v1beta1/Diagnostics/alerts": alerts +"/proximitybeacon:v1beta1/Diagnostics/alerts/alert": alert +"/proximitybeacon:v1beta1/Date": date +"/proximitybeacon:v1beta1/Date/year": year +"/proximitybeacon:v1beta1/Date/month": month +"/proximitybeacon:v1beta1/Date/day": day +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest": get_info_for_observed_beacons_request +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations": observations +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/observations/observation": observation +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes": namespaced_types +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsRequest/namespacedTypes/namespaced_type": namespaced_type +"/proximitybeacon:v1beta1/Observation": observation +"/proximitybeacon:v1beta1/Observation/advertisedId": advertised_id +"/proximitybeacon:v1beta1/Observation/telemetry": telemetry +"/proximitybeacon:v1beta1/Observation/timestampMs": timestamp_ms +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse": get_info_for_observed_beacons_response +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons": beacons +"/proximitybeacon:v1beta1/GetInfoForObservedBeaconsResponse/beacons/beacon": beacon +"/proximitybeacon:v1beta1/BeaconInfo": beacon_info +"/proximitybeacon:v1beta1/BeaconInfo/advertisedId": advertised_id +"/proximitybeacon:v1beta1/BeaconInfo/beaconName": beacon_name +"/proximitybeacon:v1beta1/BeaconInfo/attachments": attachments +"/proximitybeacon:v1beta1/BeaconInfo/attachments/attachment": attachment +"/proximitybeacon:v1beta1/AttachmentInfo": attachment_info +"/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type +"/proximitybeacon:v1beta1/AttachmentInfo/data": data +"/script:v1/fields": fields +"/script:v1/key": key +"/script:v1/quotaUser": quota_user +"/script:v1/script.scripts.run": run_script +"/script:v1/script.scripts.run/scriptId": script_id +"/script:v1/ExecutionRequest": execution_request +"/script:v1/ExecutionRequest/function": function +"/script:v1/ExecutionRequest/parameters": parameters +"/script:v1/ExecutionRequest/parameters/parameter": parameter +"/script:v1/ExecutionRequest/sessionState": session_state +"/script:v1/ExecutionRequest/devMode": dev_mode +"/script:v1/Operation": operation +"/script:v1/Operation/name": name +"/script:v1/Operation/metadata": metadata +"/script:v1/Operation/metadata/metadatum": metadatum +"/script:v1/Operation/done": done +"/script:v1/Operation/error": error +"/script:v1/Operation/response": response +"/script:v1/Operation/response/response": response +"/script:v1/Status": status +"/script:v1/Status/code": code +"/script:v1/Status/message": message +"/script:v1/Status/details": details +"/script:v1/Status/details/detail": detail +"/script:v1/Status/details/detail/detail": detail +"/script:v1/ExecutionError": execution_error +"/script:v1/ExecutionError/scriptStackTraceElements": script_stack_trace_elements +"/script:v1/ExecutionError/scriptStackTraceElements/script_stack_trace_element": script_stack_trace_element +"/script:v1/ExecutionError/errorMessage": error_message +"/script:v1/ExecutionError/errorType": error_type +"/script:v1/ScriptStackTraceElement": script_stack_trace_element +"/script:v1/ScriptStackTraceElement/function": function +"/script:v1/ScriptStackTraceElement/lineNumber": line_number +"/script:v1/ExecutionResponse": execution_response +"/script:v1/ExecutionResponse/result": result +"/script:v1/ExecutionResponse/status": status +"/storagetransfer:v1/fields": fields +"/storagetransfer:v1/key": key +"/storagetransfer:v1/quotaUser": quota_user +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get": get_google_service_account +"/storagetransfer:v1/storagetransfer.googleServiceAccounts.get/projectId": project_id +"/storagetransfer:v1/storagetransfer.getGoogleServiceAccount/projectId": project_id +"/storagetransfer:v1/storagetransfer.transferJobs.create": create_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.patch": patch_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.patch/jobName": job_name +"/storagetransfer:v1/storagetransfer.transferJobs.get": get_transfer_job +"/storagetransfer:v1/storagetransfer.transferJobs.get/jobName": job_name +"/storagetransfer:v1/storagetransfer.transferJobs.get/projectId": project_id +"/storagetransfer:v1/storagetransfer.transferJobs.list": list_transfer_jobs +"/storagetransfer:v1/storagetransfer.transferJobs.list/filter": filter +"/storagetransfer:v1/storagetransfer.transferJobs.list/pageSize": page_size +"/storagetransfer:v1/storagetransfer.transferJobs.list/pageToken": page_token +"/storagetransfer:v1/storagetransfer.transferOperations.pause": pause_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.pause/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.resume": resume_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.resume/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.get": get_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.get/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list": list_transfer_operations +"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.list/filter": filter +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size +"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token +"/storagetransfer:v1/storagetransfer.transferOperations.cancel": cancel_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.cancel/name": name +"/storagetransfer:v1/storagetransfer.transferOperations.delete": delete_transfer_operation +"/storagetransfer:v1/storagetransfer.transferOperations.delete/name": name +"/storagetransfer:v1/GoogleServiceAccount": google_service_account +"/storagetransfer:v1/GoogleServiceAccount/accountEmail": account_email +"/storagetransfer:v1/TransferJob": transfer_job +"/storagetransfer:v1/TransferJob/name": name +"/storagetransfer:v1/TransferJob/description": description +"/storagetransfer:v1/TransferJob/projectId": project_id +"/storagetransfer:v1/TransferJob/transferSpec": transfer_spec +"/storagetransfer:v1/TransferJob/schedule": schedule +"/storagetransfer:v1/TransferJob/status": status +"/storagetransfer:v1/TransferJob/creationTime": creation_time +"/storagetransfer:v1/TransferJob/lastModificationTime": last_modification_time +"/storagetransfer:v1/TransferJob/deletionTime": deletion_time +"/storagetransfer:v1/TransferSpec": transfer_spec +"/storagetransfer:v1/TransferSpec/gcsDataSource": gcs_data_source +"/storagetransfer:v1/TransferSpec/awsS3DataSource": aws_s3_data_source +"/storagetransfer:v1/TransferSpec/httpDataSource": http_data_source +"/storagetransfer:v1/TransferSpec/gcsDataSink": gcs_data_sink +"/storagetransfer:v1/TransferSpec/objectConditions": object_conditions +"/storagetransfer:v1/TransferSpec/transferOptions": transfer_options +"/storagetransfer:v1/GcsData": gcs_data +"/storagetransfer:v1/GcsData/bucketName": bucket_name +"/storagetransfer:v1/AwsS3Data": aws_s3_data +"/storagetransfer:v1/AwsS3Data/bucketName": bucket_name +"/storagetransfer:v1/AwsS3Data/awsAccessKey": aws_access_key +"/storagetransfer:v1/AwsAccessKey": aws_access_key +"/storagetransfer:v1/AwsAccessKey/accessKeyId": access_key_id +"/storagetransfer:v1/AwsAccessKey/secretAccessKey": secret_access_key +"/storagetransfer:v1/HttpData": http_data +"/storagetransfer:v1/HttpData/listUrl": list_url +"/storagetransfer:v1/ObjectConditions": object_conditions +"/storagetransfer:v1/ObjectConditions/minTimeElapsedSinceLastModification": min_time_elapsed_since_last_modification +"/storagetransfer:v1/ObjectConditions/maxTimeElapsedSinceLastModification": max_time_elapsed_since_last_modification +"/storagetransfer:v1/ObjectConditions/includePrefixes": include_prefixes +"/storagetransfer:v1/ObjectConditions/includePrefixes/include_prefix": include_prefix +"/storagetransfer:v1/ObjectConditions/excludePrefixes": exclude_prefixes +"/storagetransfer:v1/ObjectConditions/excludePrefixes/exclude_prefix": exclude_prefix +"/storagetransfer:v1/TransferOptions": transfer_options +"/storagetransfer:v1/TransferOptions/overwriteObjectsAlreadyExistingInSink": overwrite_objects_already_existing_in_sink +"/storagetransfer:v1/TransferOptions/deleteObjectsUniqueInSink": delete_objects_unique_in_sink +"/storagetransfer:v1/TransferOptions/deleteObjectsFromSourceAfterTransfer": delete_objects_from_source_after_transfer +"/storagetransfer:v1/Schedule": schedule +"/storagetransfer:v1/Schedule/scheduleStartDate": schedule_start_date +"/storagetransfer:v1/Schedule/scheduleEndDate": schedule_end_date +"/storagetransfer:v1/Schedule/startTimeOfDay": start_time_of_day +"/storagetransfer:v1/Date": date +"/storagetransfer:v1/Date/year": year +"/storagetransfer:v1/Date/month": month +"/storagetransfer:v1/Date/day": day +"/storagetransfer:v1/TimeOfDay": time_of_day +"/storagetransfer:v1/TimeOfDay/hours": hours +"/storagetransfer:v1/TimeOfDay/minutes": minutes +"/storagetransfer:v1/TimeOfDay/seconds": seconds +"/storagetransfer:v1/TimeOfDay/nanos": nanos +"/storagetransfer:v1/UpdateTransferJobRequest": update_transfer_job_request +"/storagetransfer:v1/UpdateTransferJobRequest/projectId": project_id +"/storagetransfer:v1/UpdateTransferJobRequest/transferJob": transfer_job +"/storagetransfer:v1/UpdateTransferJobRequest/updateTransferJobFieldMask": update_transfer_job_field_mask +"/storagetransfer:v1/ListTransferJobsResponse": list_transfer_jobs_response +"/storagetransfer:v1/ListTransferJobsResponse/transferJobs": transfer_jobs +"/storagetransfer:v1/ListTransferJobsResponse/transferJobs/transfer_job": transfer_job +"/storagetransfer:v1/ListTransferJobsResponse/nextPageToken": next_page_token +"/storagetransfer:v1/PauseTransferOperationRequest": pause_transfer_operation_request +"/storagetransfer:v1/Empty": empty +"/storagetransfer:v1/ResumeTransferOperationRequest": resume_transfer_operation_request +"/storagetransfer:v1/Operation": operation +"/storagetransfer:v1/Operation/name": name +"/storagetransfer:v1/Operation/metadata": metadata +"/storagetransfer:v1/Operation/metadata/metadatum": metadatum +"/storagetransfer:v1/Operation/done": done +"/storagetransfer:v1/Operation/error": error +"/storagetransfer:v1/Operation/response": response +"/storagetransfer:v1/Operation/response/response": response +"/storagetransfer:v1/Status": status +"/storagetransfer:v1/Status/code": code +"/storagetransfer:v1/Status/message": message +"/storagetransfer:v1/Status/details": details +"/storagetransfer:v1/Status/details/detail": detail +"/storagetransfer:v1/Status/details/detail/detail": detail +"/storagetransfer:v1/ListOperationsResponse": list_operations_response +"/storagetransfer:v1/ListOperationsResponse/operations": operations +"/storagetransfer:v1/ListOperationsResponse/operations/operation": operation +"/storagetransfer:v1/ListOperationsResponse/nextPageToken": next_page_token +"/storagetransfer:v1/TransferOperation": transfer_operation +"/storagetransfer:v1/TransferOperation/name": name +"/storagetransfer:v1/TransferOperation/projectId": project_id +"/storagetransfer:v1/TransferOperation/transferSpec": transfer_spec +"/storagetransfer:v1/TransferOperation/startTime": start_time +"/storagetransfer:v1/TransferOperation/endTime": end_time +"/storagetransfer:v1/TransferOperation/status": status +"/storagetransfer:v1/TransferOperation/counters": counters +"/storagetransfer:v1/TransferOperation/errorBreakdowns": error_breakdowns +"/storagetransfer:v1/TransferOperation/errorBreakdowns/error_breakdown": error_breakdown +"/storagetransfer:v1/TransferOperation/transferJobName": transfer_job_name +"/storagetransfer:v1/TransferCounters": transfer_counters +"/storagetransfer:v1/TransferCounters/objectsFoundFromSource": objects_found_from_source +"/storagetransfer:v1/TransferCounters/bytesFoundFromSource": bytes_found_from_source +"/storagetransfer:v1/TransferCounters/objectsFoundOnlyFromSink": objects_found_only_from_sink +"/storagetransfer:v1/TransferCounters/bytesFoundOnlyFromSink": bytes_found_only_from_sink +"/storagetransfer:v1/TransferCounters/objectsFromSourceSkippedBySync": objects_from_source_skipped_by_sync +"/storagetransfer:v1/TransferCounters/bytesFromSourceSkippedBySync": bytes_from_source_skipped_by_sync +"/storagetransfer:v1/TransferCounters/objectsCopiedToSink": objects_copied_to_sink +"/storagetransfer:v1/TransferCounters/bytesCopiedToSink": bytes_copied_to_sink +"/storagetransfer:v1/TransferCounters/objectsDeletedFromSource": objects_deleted_from_source +"/storagetransfer:v1/TransferCounters/bytesDeletedFromSource": bytes_deleted_from_source +"/storagetransfer:v1/TransferCounters/objectsDeletedFromSink": objects_deleted_from_sink +"/storagetransfer:v1/TransferCounters/bytesDeletedFromSink": bytes_deleted_from_sink +"/storagetransfer:v1/TransferCounters/objectsFromSourceFailed": objects_from_source_failed +"/storagetransfer:v1/TransferCounters/bytesFromSourceFailed": bytes_from_source_failed +"/storagetransfer:v1/TransferCounters/objectsFailedToDeleteFromSink": objects_failed_to_delete_from_sink +"/storagetransfer:v1/TransferCounters/bytesFailedToDeleteFromSink": bytes_failed_to_delete_from_sink +"/storagetransfer:v1/ErrorSummary": error_summary +"/storagetransfer:v1/ErrorSummary/errorCode": error_code +"/storagetransfer:v1/ErrorSummary/errorCount": error_count +"/storagetransfer:v1/ErrorSummary/errorLogEntries": error_log_entries +"/storagetransfer:v1/ErrorSummary/errorLogEntries/error_log_entry": error_log_entry +"/storagetransfer:v1/ErrorLogEntry": error_log_entry +"/storagetransfer:v1/ErrorLogEntry/url": url +"/storagetransfer:v1/ErrorLogEntry/errorDetails": error_details +"/storagetransfer:v1/ErrorLogEntry/errorDetails/error_detail": error_detail +"/identitytoolkit:v3/fields": fields +"/identitytoolkit:v3/key": key +"/identitytoolkit:v3/quotaUser": quota_user +"/identitytoolkit:v3/userIp": user_ip +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/identitytoolkit.relyingparty.getProjectConfig/projectNumber": project_number +"/identitytoolkit:v3/identitytoolkit.relyingparty.setProjectConfig": set_relyingparty_project_config +"/identitytoolkit:v3/CreateAuthUriResponse": create_auth_uri_response +"/identitytoolkit:v3/CreateAuthUriResponse/allProviders": all_providers +"/identitytoolkit:v3/CreateAuthUriResponse/allProviders/all_provider": all_provider +"/identitytoolkit:v3/CreateAuthUriResponse/authUri": auth_uri +"/identitytoolkit:v3/CreateAuthUriResponse/captchaRequired": captcha_required +"/identitytoolkit:v3/CreateAuthUriResponse/forExistingProvider": for_existing_provider +"/identitytoolkit:v3/CreateAuthUriResponse/kind": kind +"/identitytoolkit:v3/CreateAuthUriResponse/providerId": provider_id +"/identitytoolkit:v3/CreateAuthUriResponse/registered": registered +"/identitytoolkit:v3/CreateAuthUriResponse/sessionId": session_id +"/identitytoolkit:v3/DeleteAccountResponse": delete_account_response +"/identitytoolkit:v3/DeleteAccountResponse/kind": kind +"/identitytoolkit:v3/DownloadAccountResponse": download_account_response +"/identitytoolkit:v3/DownloadAccountResponse/kind": kind +"/identitytoolkit:v3/DownloadAccountResponse/nextPageToken": next_page_token +"/identitytoolkit:v3/DownloadAccountResponse/users": users +"/identitytoolkit:v3/DownloadAccountResponse/users/user": user +"/identitytoolkit:v3/EmailTemplate": email_template +"/identitytoolkit:v3/EmailTemplate/body": body +"/identitytoolkit:v3/EmailTemplate/format": format +"/identitytoolkit:v3/EmailTemplate/from": from +"/identitytoolkit:v3/EmailTemplate/fromDisplayName": from_display_name +"/identitytoolkit:v3/EmailTemplate/replyTo": reply_to +"/identitytoolkit:v3/EmailTemplate/subject": subject +"/identitytoolkit:v3/GetAccountInfoResponse": get_account_info_response +"/identitytoolkit:v3/GetAccountInfoResponse/kind": kind +"/identitytoolkit:v3/GetAccountInfoResponse/users": users +"/identitytoolkit:v3/GetAccountInfoResponse/users/user": user +"/identitytoolkit:v3/GetOobConfirmationCodeResponse": get_oob_confirmation_code_response +"/identitytoolkit:v3/GetOobConfirmationCodeResponse/email": email +"/identitytoolkit:v3/GetOobConfirmationCodeResponse/kind": kind +"/identitytoolkit:v3/GetOobConfirmationCodeResponse/oobCode": oob_code +"/identitytoolkit:v3/GetRecaptchaParamResponse": get_recaptcha_param_response +"/identitytoolkit:v3/GetRecaptchaParamResponse/kind": kind +"/identitytoolkit:v3/GetRecaptchaParamResponse/recaptchaSiteKey": recaptcha_site_key +"/identitytoolkit:v3/GetRecaptchaParamResponse/recaptchaStoken": recaptcha_stoken +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/appId": app_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/authFlowType": auth_flow_type +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/clientId": client_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/context": context +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/continueUri": continue_uri +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/customParameter": custom_parameter +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/customParameter/custom_parameter": custom_parameter +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/hostedDomain": hosted_domain +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/identifier": identifier +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/oauthConsumerKey": oauth_consumer_key +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/oauthScope": oauth_scope +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/openidRealm": openid_realm +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/otaApp": ota_app +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/providerId": provider_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/sessionId": session_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDeleteAccountRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/maxResults": max_results +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/nextPageToken": next_page_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/targetProjectId": target_project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/localId/local_id": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/allowPasswordUser": allow_password_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/apiKey": api_key +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains": authorized_domains +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains/authorized_domain": authorized_domain +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/changeEmailTemplate": change_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/dynamicLinksDomain": dynamic_links_domain +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/enableAnonymousUser": enable_anonymous_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig": idp_config +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig/idp_config": idp_config +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/legacyResetPasswordTemplate": legacy_reset_password_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/projectId": project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/resetPasswordTemplate": reset_password_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/useEmailSending": use_email_sending +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/verifyEmailTemplate": verify_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/newPassword": new_password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oldPassword": old_password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyResetPasswordRequest/oobCode": oob_code +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaChallenge": captcha_challenge +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/createdAt": created_at +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteAttribute": delete_attribute +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteAttribute/delete_attribute": delete_attribute +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteProvider": delete_provider +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/deleteProvider/delete_provider": delete_provider +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/disableUser": disable_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/displayName": display_name +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/emailVerified": email_verified +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/lastLoginAt": last_login_at +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/oobCode": oob_code +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/photoUrl": photo_url +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider": provider +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/provider/provider": provider +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/returnSecureToken": return_secure_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/upgradeToFederatedLogin": upgrade_to_federated_login +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetAccountInfoRequest/validSince": valid_since +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/allowPasswordUser": allow_password_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/apiKey": api_key +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/authorizedDomains": authorized_domains +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/authorizedDomains/authorized_domain": authorized_domain +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/changeEmailTemplate": change_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/enableAnonymousUser": enable_anonymous_user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/idpConfig": idp_config +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/idpConfig/idp_config": idp_config +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/legacyResetPasswordTemplate": legacy_reset_password_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/resetPasswordTemplate": reset_password_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/useEmailSending": use_email_sending +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigRequest/verifyEmailTemplate": verify_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse": identitytoolkit_relyingparty_set_project_config_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySetProjectConfigResponse/projectId": project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserRequest/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaChallenge": captcha_challenge +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/disabled": disabled +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/displayName": display_name +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/emailVerified": email_verified +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/photoUrl": photo_url +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/allowOverwrite": allow_overwrite +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/rounds": rounds +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/saltSeparator": salt_separator +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/sanityCheck": sanity_check +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/signerKey": signer_key +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/targetProjectId": target_project_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/pendingIdToken": pending_id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnIdpCredential": return_idp_credential +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnSecureToken": return_secure_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/returnSecureToken": return_secure_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyCustomTokenRequest/token": token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaChallenge": captcha_challenge +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/delegatedProjectNumber": delegated_project_number +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/idToken": id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/instanceId": instance_id +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/pendingIdToken": pending_id_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyPasswordRequest/returnSecureToken": return_secure_token +"/identitytoolkit:v3/IdpConfig": idp_config +"/identitytoolkit:v3/IdpConfig/clientId": client_id +"/identitytoolkit:v3/IdpConfig/enabled": enabled +"/identitytoolkit:v3/IdpConfig/experimentPercent": experiment_percent +"/identitytoolkit:v3/IdpConfig/provider": provider +"/identitytoolkit:v3/IdpConfig/secret": secret +"/identitytoolkit:v3/IdpConfig/whitelistedAudiences": whitelisted_audiences +"/identitytoolkit:v3/IdpConfig/whitelistedAudiences/whitelisted_audience": whitelisted_audience +"/identitytoolkit:v3/Relyingparty": relyingparty +"/identitytoolkit:v3/Relyingparty/captchaResp": captcha_resp +"/identitytoolkit:v3/Relyingparty/challenge": challenge +"/identitytoolkit:v3/Relyingparty/email": email +"/identitytoolkit:v3/Relyingparty/idToken": id_token +"/identitytoolkit:v3/Relyingparty/kind": kind +"/identitytoolkit:v3/Relyingparty/newEmail": new_email +"/identitytoolkit:v3/Relyingparty/requestType": request_type +"/identitytoolkit:v3/Relyingparty/userIp": user_ip +"/identitytoolkit:v3/ResetPasswordResponse": reset_password_response +"/identitytoolkit:v3/ResetPasswordResponse/email": email +"/identitytoolkit:v3/ResetPasswordResponse/kind": kind +"/identitytoolkit:v3/ResetPasswordResponse/newEmail": new_email +"/identitytoolkit:v3/ResetPasswordResponse/requestType": request_type +"/identitytoolkit:v3/SetAccountInfoResponse": set_account_info_response +"/identitytoolkit:v3/SetAccountInfoResponse/displayName": display_name +"/identitytoolkit:v3/SetAccountInfoResponse/email": email +"/identitytoolkit:v3/SetAccountInfoResponse/expiresIn": expires_in +"/identitytoolkit:v3/SetAccountInfoResponse/idToken": id_token +"/identitytoolkit:v3/SetAccountInfoResponse/kind": kind +"/identitytoolkit:v3/SetAccountInfoResponse/localId": local_id +"/identitytoolkit:v3/SetAccountInfoResponse/newEmail": new_email +"/identitytoolkit:v3/SetAccountInfoResponse/passwordHash": password_hash +"/identitytoolkit:v3/SetAccountInfoResponse/photoUrl": photo_url +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo": provider_user_info +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info": provider_user_info +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/displayName": display_name +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/federatedId": federated_id +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/photoUrl": photo_url +"/identitytoolkit:v3/SetAccountInfoResponse/providerUserInfo/provider_user_info/providerId": provider_id +"/identitytoolkit:v3/SetAccountInfoResponse/refreshToken": refresh_token +"/identitytoolkit:v3/SignupNewUserResponse": signup_new_user_response +"/identitytoolkit:v3/SignupNewUserResponse/displayName": display_name +"/identitytoolkit:v3/SignupNewUserResponse/email": email +"/identitytoolkit:v3/SignupNewUserResponse/expiresIn": expires_in +"/identitytoolkit:v3/SignupNewUserResponse/idToken": id_token +"/identitytoolkit:v3/SignupNewUserResponse/kind": kind +"/identitytoolkit:v3/SignupNewUserResponse/localId": local_id +"/identitytoolkit:v3/SignupNewUserResponse/refreshToken": refresh_token +"/identitytoolkit:v3/UploadAccountResponse": upload_account_response +"/identitytoolkit:v3/UploadAccountResponse/error": error +"/identitytoolkit:v3/UploadAccountResponse/error/error": error +"/identitytoolkit:v3/UploadAccountResponse/error/error/index": index +"/identitytoolkit:v3/UploadAccountResponse/error/error/message": message +"/identitytoolkit:v3/UploadAccountResponse/kind": kind +"/identitytoolkit:v3/UserInfo": user_info +"/identitytoolkit:v3/UserInfo/createdAt": created_at +"/identitytoolkit:v3/UserInfo/customAuth": custom_auth +"/identitytoolkit:v3/UserInfo/disabled": disabled +"/identitytoolkit:v3/UserInfo/displayName": display_name +"/identitytoolkit:v3/UserInfo/email": email +"/identitytoolkit:v3/UserInfo/emailVerified": email_verified +"/identitytoolkit:v3/UserInfo/lastLoginAt": last_login_at +"/identitytoolkit:v3/UserInfo/localId": local_id +"/identitytoolkit:v3/UserInfo/passwordHash": password_hash +"/identitytoolkit:v3/UserInfo/passwordUpdatedAt": password_updated_at +"/identitytoolkit:v3/UserInfo/photoUrl": photo_url +"/identitytoolkit:v3/UserInfo/providerUserInfo": provider_user_info +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info": provider_user_info +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/displayName": display_name +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/email": email +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/federatedId": federated_id +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/photoUrl": photo_url +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/rawId": raw_id +"/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/screenName": screen_name +"/identitytoolkit:v3/UserInfo/rawPassword": raw_password +"/identitytoolkit:v3/UserInfo/salt": salt +"/identitytoolkit:v3/UserInfo/screenName": screen_name +"/identitytoolkit:v3/UserInfo/validSince": valid_since +"/identitytoolkit:v3/UserInfo/version": version +"/identitytoolkit:v3/VerifyAssertionResponse": verify_assertion_response +"/identitytoolkit:v3/VerifyAssertionResponse/action": action +"/identitytoolkit:v3/VerifyAssertionResponse/appInstallationUrl": app_installation_url +"/identitytoolkit:v3/VerifyAssertionResponse/appScheme": app_scheme +"/identitytoolkit:v3/VerifyAssertionResponse/context": context +"/identitytoolkit:v3/VerifyAssertionResponse/dateOfBirth": date_of_birth +"/identitytoolkit:v3/VerifyAssertionResponse/displayName": display_name +"/identitytoolkit:v3/VerifyAssertionResponse/email": email +"/identitytoolkit:v3/VerifyAssertionResponse/emailRecycled": email_recycled +"/identitytoolkit:v3/VerifyAssertionResponse/emailVerified": email_verified +"/identitytoolkit:v3/VerifyAssertionResponse/errorMessage": error_message +"/identitytoolkit:v3/VerifyAssertionResponse/expiresIn": expires_in +"/identitytoolkit:v3/VerifyAssertionResponse/federatedId": federated_id +"/identitytoolkit:v3/VerifyAssertionResponse/firstName": first_name +"/identitytoolkit:v3/VerifyAssertionResponse/fullName": full_name +"/identitytoolkit:v3/VerifyAssertionResponse/idToken": id_token +"/identitytoolkit:v3/VerifyAssertionResponse/inputEmail": input_email +"/identitytoolkit:v3/VerifyAssertionResponse/kind": kind +"/identitytoolkit:v3/VerifyAssertionResponse/language": language +"/identitytoolkit:v3/VerifyAssertionResponse/lastName": last_name +"/identitytoolkit:v3/VerifyAssertionResponse/localId": local_id +"/identitytoolkit:v3/VerifyAssertionResponse/needConfirmation": need_confirmation +"/identitytoolkit:v3/VerifyAssertionResponse/needEmail": need_email +"/identitytoolkit:v3/VerifyAssertionResponse/nickName": nick_name +"/identitytoolkit:v3/VerifyAssertionResponse/oauthAccessToken": oauth_access_token +"/identitytoolkit:v3/VerifyAssertionResponse/oauthAuthorizationCode": oauth_authorization_code +"/identitytoolkit:v3/VerifyAssertionResponse/oauthExpireIn": oauth_expire_in +"/identitytoolkit:v3/VerifyAssertionResponse/oauthIdToken": oauth_id_token +"/identitytoolkit:v3/VerifyAssertionResponse/oauthRequestToken": oauth_request_token +"/identitytoolkit:v3/VerifyAssertionResponse/oauthScope": oauth_scope +"/identitytoolkit:v3/VerifyAssertionResponse/oauthTokenSecret": oauth_token_secret +"/identitytoolkit:v3/VerifyAssertionResponse/originalEmail": original_email +"/identitytoolkit:v3/VerifyAssertionResponse/photoUrl": photo_url +"/identitytoolkit:v3/VerifyAssertionResponse/providerId": provider_id +"/identitytoolkit:v3/VerifyAssertionResponse/rawUserInfo": raw_user_info +"/identitytoolkit:v3/VerifyAssertionResponse/refreshToken": refresh_token +"/identitytoolkit:v3/VerifyAssertionResponse/screenName": screen_name +"/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone +"/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider": verified_provider +"/identitytoolkit:v3/VerifyAssertionResponse/verifiedProvider/verified_provider": verified_provider +"/identitytoolkit:v3/VerifyCustomTokenResponse": verify_custom_token_response +"/identitytoolkit:v3/VerifyCustomTokenResponse/expiresIn": expires_in +"/identitytoolkit:v3/VerifyCustomTokenResponse/idToken": id_token +"/identitytoolkit:v3/VerifyCustomTokenResponse/kind": kind +"/identitytoolkit:v3/VerifyCustomTokenResponse/refreshToken": refresh_token +"/identitytoolkit:v3/VerifyPasswordResponse": verify_password_response +"/identitytoolkit:v3/VerifyPasswordResponse/displayName": display_name +"/identitytoolkit:v3/VerifyPasswordResponse/email": email +"/identitytoolkit:v3/VerifyPasswordResponse/expiresIn": expires_in +"/identitytoolkit:v3/VerifyPasswordResponse/idToken": id_token +"/identitytoolkit:v3/VerifyPasswordResponse/kind": kind +"/identitytoolkit:v3/VerifyPasswordResponse/localId": local_id +"/identitytoolkit:v3/VerifyPasswordResponse/oauthAccessToken": oauth_access_token +"/identitytoolkit:v3/VerifyPasswordResponse/oauthAuthorizationCode": oauth_authorization_code +"/identitytoolkit:v3/VerifyPasswordResponse/oauthExpireIn": oauth_expire_in +"/identitytoolkit:v3/VerifyPasswordResponse/photoUrl": photo_url +"/identitytoolkit:v3/VerifyPasswordResponse/refreshToken": refresh_token +"/identitytoolkit:v3/VerifyPasswordResponse/registered": registered +"/language:v1beta1/key": key +"/language:v1beta1/quotaUser": quota_user +"/language:v1beta1/fields": fields +"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment +"/language:v1beta1/language.documents.analyzeSyntax": analyze_document_syntax +"/language:v1beta1/language.documents.annotateText": annotate_document_text +"/language:v1beta1/language.documents.analyzeEntities": analyze_document_entities +"/language:v1beta1/Document": document +"/language:v1beta1/Document/language": language +"/language:v1beta1/Document/gcsContentUri": gcs_content_uri +"/language:v1beta1/Document/type": type +"/language:v1beta1/Document/content": content +"/language:v1beta1/TextSpan": text_span +"/language:v1beta1/TextSpan/beginOffset": begin_offset +"/language:v1beta1/TextSpan/content": content +"/language:v1beta1/Status": status +"/language:v1beta1/Status/code": code +"/language:v1beta1/Status/details": details +"/language:v1beta1/Status/details/detail": detail +"/language:v1beta1/Status/details/detail/detail": detail +"/language:v1beta1/Status/message": message +"/language:v1beta1/AnalyzeEntitiesRequest": analyze_entities_request +"/language:v1beta1/AnalyzeEntitiesRequest/document": document +"/language:v1beta1/AnalyzeEntitiesRequest/encodingType": encoding_type +"/language:v1beta1/EntityMention": entity_mention +"/language:v1beta1/EntityMention/text": text +"/language:v1beta1/EntityMention/type": type +"/language:v1beta1/AnalyzeSentimentRequest": analyze_sentiment_request +"/language:v1beta1/AnalyzeSentimentRequest/document": document +"/language:v1beta1/AnalyzeSentimentRequest/encodingType": encoding_type +"/language:v1beta1/AnalyzeSentimentResponse": analyze_sentiment_response +"/language:v1beta1/AnalyzeSentimentResponse/documentSentiment": document_sentiment +"/language:v1beta1/AnalyzeSentimentResponse/language": language +"/language:v1beta1/AnalyzeSentimentResponse/sentences": sentences +"/language:v1beta1/AnalyzeSentimentResponse/sentences/sentence": sentence +"/language:v1beta1/AnalyzeSyntaxRequest": analyze_syntax_request +"/language:v1beta1/AnalyzeSyntaxRequest/document": document +"/language:v1beta1/AnalyzeSyntaxRequest/encodingType": encoding_type +"/language:v1beta1/DependencyEdge": dependency_edge +"/language:v1beta1/DependencyEdge/headTokenIndex": head_token_index +"/language:v1beta1/DependencyEdge/label": label +"/language:v1beta1/AnalyzeSyntaxResponse": analyze_syntax_response +"/language:v1beta1/AnalyzeSyntaxResponse/language": language +"/language:v1beta1/AnalyzeSyntaxResponse/tokens": tokens +"/language:v1beta1/AnalyzeSyntaxResponse/tokens/token": token +"/language:v1beta1/AnalyzeSyntaxResponse/sentences": sentences +"/language:v1beta1/AnalyzeSyntaxResponse/sentences/sentence": sentence +"/language:v1beta1/AnnotateTextRequest": annotate_text_request +"/language:v1beta1/AnnotateTextRequest/document": document +"/language:v1beta1/AnnotateTextRequest/encodingType": encoding_type +"/language:v1beta1/AnnotateTextRequest/features": features +"/language:v1beta1/Sentence": sentence +"/language:v1beta1/Sentence/text": text +"/language:v1beta1/Sentence/sentiment": sentiment +"/language:v1beta1/Features": features +"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1beta1/Features/extractEntities": extract_entities +"/language:v1beta1/Features/extractSyntax": extract_syntax +"/language:v1beta1/PartOfSpeech": part_of_speech +"/language:v1beta1/PartOfSpeech/aspect": aspect +"/language:v1beta1/PartOfSpeech/gender": gender +"/language:v1beta1/PartOfSpeech/person": person +"/language:v1beta1/PartOfSpeech/case": case +"/language:v1beta1/PartOfSpeech/form": form +"/language:v1beta1/PartOfSpeech/tense": tense +"/language:v1beta1/PartOfSpeech/proper": proper +"/language:v1beta1/PartOfSpeech/mood": mood +"/language:v1beta1/PartOfSpeech/tag": tag +"/language:v1beta1/PartOfSpeech/number": number +"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity +"/language:v1beta1/PartOfSpeech/voice": voice +"/language:v1beta1/AnnotateTextResponse": annotate_text_response +"/language:v1beta1/AnnotateTextResponse/entities": entities +"/language:v1beta1/AnnotateTextResponse/entities/entity": entity +"/language:v1beta1/AnnotateTextResponse/documentSentiment": document_sentiment +"/language:v1beta1/AnnotateTextResponse/language": language +"/language:v1beta1/AnnotateTextResponse/tokens": tokens +"/language:v1beta1/AnnotateTextResponse/tokens/token": token +"/language:v1beta1/AnnotateTextResponse/sentences": sentences +"/language:v1beta1/AnnotateTextResponse/sentences/sentence": sentence +"/language:v1beta1/Entity": entity +"/language:v1beta1/Entity/metadata": metadata +"/language:v1beta1/Entity/metadata/metadatum": metadatum +"/language:v1beta1/Entity/salience": salience +"/language:v1beta1/Entity/type": type +"/language:v1beta1/Entity/mentions": mentions +"/language:v1beta1/Entity/mentions/mention": mention +"/language:v1beta1/Entity/name": name +"/language:v1beta1/Sentiment": sentiment +"/language:v1beta1/Sentiment/score": score +"/language:v1beta1/Sentiment/polarity": polarity +"/language:v1beta1/Sentiment/magnitude": magnitude +"/language:v1beta1/Token": token +"/language:v1beta1/Token/text": text +"/language:v1beta1/Token/partOfSpeech": part_of_speech +"/language:v1beta1/Token/dependencyEdge": dependency_edge +"/language:v1beta1/Token/lemma": lemma +"/language:v1beta1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1beta1/AnalyzeEntitiesResponse/entities": entities +"/language:v1beta1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1beta1/AnalyzeEntitiesResponse/language": language +"/licensing:v1/fields": fields +"/licensing:v1/key": key +"/licensing:v1/quotaUser": quota_user +"/licensing:v1/userIp": user_ip +"/licensing:v1/licensing.licenseAssignments.delete": delete_license_assignment +"/licensing:v1/licensing.licenseAssignments.delete/productId": product_id +"/licensing:v1/licensing.licenseAssignments.delete/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.delete/userId": user_id +"/licensing:v1/licensing.licenseAssignments.get": get_license_assignment +"/licensing:v1/licensing.licenseAssignments.get/productId": product_id +"/licensing:v1/licensing.licenseAssignments.get/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.get/userId": user_id +"/licensing:v1/licensing.licenseAssignments.insert": insert_license_assignment +"/licensing:v1/licensing.licenseAssignments.insert/productId": product_id +"/licensing:v1/licensing.licenseAssignments.insert/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.listForProduct/customerId": customer_id +"/licensing:v1/licensing.licenseAssignments.listForProduct/maxResults": max_results +"/licensing:v1/licensing.licenseAssignments.listForProduct/pageToken": page_token +"/licensing:v1/licensing.licenseAssignments.listForProduct/productId": product_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/customerId": customer_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/maxResults": max_results +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/pageToken": page_token +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/productId": product_id +"/licensing:v1/licensing.licenseAssignments.listForProductAndSku/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.patch": patch_license_assignment +"/licensing:v1/licensing.licenseAssignments.patch/productId": product_id +"/licensing:v1/licensing.licenseAssignments.patch/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.patch/userId": user_id +"/licensing:v1/licensing.licenseAssignments.update": update_license_assignment +"/licensing:v1/licensing.licenseAssignments.update/productId": product_id +"/licensing:v1/licensing.licenseAssignments.update/skuId": sku_id +"/licensing:v1/licensing.licenseAssignments.update/userId": user_id +"/licensing:v1/LicenseAssignment": license_assignment +"/licensing:v1/LicenseAssignment/etags": etags +"/licensing:v1/LicenseAssignment/kind": kind +"/licensing:v1/LicenseAssignment/productId": product_id +"/licensing:v1/LicenseAssignment/selfLink": self_link +"/licensing:v1/LicenseAssignment/skuId": sku_id +"/licensing:v1/LicenseAssignment/userId": user_id +"/licensing:v1/LicenseAssignmentInsert": license_assignment_insert +"/licensing:v1/LicenseAssignmentInsert/userId": user_id +"/licensing:v1/LicenseAssignmentList": license_assignment_list +"/licensing:v1/LicenseAssignmentList/etag": etag +"/licensing:v1/LicenseAssignmentList/items": items +"/licensing:v1/LicenseAssignmentList/items/item": item +"/licensing:v1/LicenseAssignmentList/kind": kind +"/licensing:v1/LicenseAssignmentList/nextPageToken": next_page_token +"/logging:v2beta1/key": key +"/logging:v2beta1/quotaUser": quota_user +"/logging:v2beta1/fields": fields +"/logging:v2beta1/logging.projects.metrics.update": update_project_metric +"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.get": get_project_metric +"/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.create": create_project_metric +"/logging:v2beta1/logging.projects.metrics.create/parent": parent +"/logging:v2beta1/logging.projects.metrics.list": list_project_metrics +"/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size +"/logging:v2beta1/logging.projects.metrics.list/parent": parent +"/logging:v2beta1/logging.projects.metrics.list/pageToken": page_token +"/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric +"/logging:v2beta1/logging.projects.metrics.delete/metricName": metric_name +"/logging:v2beta1/logging.projects.logs.list/pageSize": page_size +"/logging:v2beta1/logging.projects.logs.list/parent": parent +"/logging:v2beta1/logging.projects.logs.list/pageToken": page_token +"/logging:v2beta1/logging.projects.logs.delete/logName": log_name +"/logging:v2beta1/logging.projects.sinks.update": update_project_sink +"/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.sinks.get": get_project_sink +"/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.create": create_project_sink +"/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.sinks.create/parent": parent +"/logging:v2beta1/logging.projects.sinks.list": list_project_sinks +"/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size +"/logging:v2beta1/logging.projects.sinks.list/parent": parent +"/logging:v2beta1/logging.projects.sinks.list/pageToken": page_token +"/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink +"/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name +"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs +"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size +"/logging:v2beta1/logging.organizations.logs.list/parent": parent +"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token +"/logging:v2beta1/logging.organizations.logs.delete": delete_organization_log +"/logging:v2beta1/logging.organizations.logs.delete/logName": log_name +"/logging:v2beta1/logging.entries.write": write_entry_log_entries +"/logging:v2beta1/logging.entries.list": list_entry_log_entries +"/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token +"/logging:v2beta1/logging.billingAccounts.logs.list": list_billing_account_logs +"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size +"/logging:v2beta1/logging.billingAccounts.logs.list/parent": parent +"/logging:v2beta1/logging.billingAccounts.logs.list/pageToken": page_token +"/logging:v2beta1/logging.billingAccounts.logs.delete": delete_billing_account_log +"/logging:v2beta1/logging.billingAccounts.logs.delete/logName": log_name +"/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response +"/logging:v2beta1/ListLogEntriesResponse/entries": entries +"/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry +"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListSinksResponse": list_sinks_response +"/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListSinksResponse/sinks": sinks +"/logging:v2beta1/ListSinksResponse/sinks/sink": sink +"/logging:v2beta1/SourceLocation": source_location +"/logging:v2beta1/SourceLocation/file": file +"/logging:v2beta1/SourceLocation/functionName": function_name +"/logging:v2beta1/SourceLocation/line": line +"/logging:v2beta1/LogSink": log_sink +"/logging:v2beta1/LogSink/destination": destination +"/logging:v2beta1/LogSink/filter": filter +"/logging:v2beta1/LogSink/endTime": end_time +"/logging:v2beta1/LogSink/name": name +"/logging:v2beta1/LogSink/startTime": start_time +"/logging:v2beta1/LogSink/outputVersionFormat": output_version_format +"/logging:v2beta1/LogSink/writerIdentity": writer_identity +"/logging:v2beta1/ListLogsResponse": list_logs_response +"/logging:v2beta1/ListLogsResponse/logNames": log_names +"/logging:v2beta1/ListLogsResponse/logNames/log_name": log_name +"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token +"/logging:v2beta1/LogMetric": log_metric +"/logging:v2beta1/LogMetric/description": description +"/logging:v2beta1/LogMetric/filter": filter +"/logging:v2beta1/LogMetric/name": name +"/logging:v2beta1/LogMetric/version": version +"/logging:v2beta1/LogEntry": log_entry +"/logging:v2beta1/LogEntry/textPayload": text_payload +"/logging:v2beta1/LogEntry/httpRequest": http_request +"/logging:v2beta1/LogEntry/sourceLocation": source_location +"/logging:v2beta1/LogEntry/jsonPayload": json_payload +"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2beta1/LogEntry/labels": labels +"/logging:v2beta1/LogEntry/labels/label": label +"/logging:v2beta1/LogEntry/trace": trace +"/logging:v2beta1/LogEntry/logName": log_name +"/logging:v2beta1/LogEntry/severity": severity +"/logging:v2beta1/LogEntry/resource": resource +"/logging:v2beta1/LogEntry/protoPayload": proto_payload +"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload +"/logging:v2beta1/LogEntry/timestamp": timestamp +"/logging:v2beta1/LogEntry/insertId": insert_id +"/logging:v2beta1/LogEntry/operation": operation +"/logging:v2beta1/LogLine": log_line +"/logging:v2beta1/LogLine/time": time +"/logging:v2beta1/LogLine/severity": severity +"/logging:v2beta1/LogLine/sourceLocation": source_location +"/logging:v2beta1/LogLine/logMessage": log_message +"/logging:v2beta1/SourceReference": source_reference +"/logging:v2beta1/SourceReference/repository": repository +"/logging:v2beta1/SourceReference/revisionId": revision_id +"/logging:v2beta1/MonitoredResource": monitored_resource +"/logging:v2beta1/MonitoredResource/labels": labels +"/logging:v2beta1/MonitoredResource/labels/label": label +"/logging:v2beta1/MonitoredResource/type": type +"/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request +"/logging:v2beta1/WriteLogEntriesRequest/labels": labels +"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label +"/logging:v2beta1/WriteLogEntriesRequest/entries": entries +"/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry +"/logging:v2beta1/WriteLogEntriesRequest/logName": log_name +"/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2beta1/WriteLogEntriesRequest/resource": resource +"/logging:v2beta1/LabelDescriptor": label_descriptor +"/logging:v2beta1/LabelDescriptor/description": description +"/logging:v2beta1/LabelDescriptor/valueType": value_type +"/logging:v2beta1/LabelDescriptor/key": key +"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response +"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics +"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric +"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token +"/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name +"/logging:v2beta1/MonitoredResourceDescriptor/description": description +"/logging:v2beta1/MonitoredResourceDescriptor/labels": labels +"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label +"/logging:v2beta1/MonitoredResourceDescriptor/type": type +"/logging:v2beta1/MonitoredResourceDescriptor/name": name +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/logging:v2beta1/LogEntryOperation": log_entry_operation +"/logging:v2beta1/LogEntryOperation/producer": producer +"/logging:v2beta1/LogEntryOperation/last": last +"/logging:v2beta1/LogEntryOperation/first": first +"/logging:v2beta1/LogEntryOperation/id": id +"/logging:v2beta1/Empty": empty +"/logging:v2beta1/HttpRequest": http_request +"/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup +"/logging:v2beta1/HttpRequest/responseSize": response_size +"/logging:v2beta1/HttpRequest/status": status +"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2beta1/HttpRequest/referer": referer +"/logging:v2beta1/HttpRequest/cacheHit": cache_hit +"/logging:v2beta1/HttpRequest/requestUrl": request_url +"/logging:v2beta1/HttpRequest/latency": latency +"/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes +"/logging:v2beta1/HttpRequest/requestMethod": request_method +"/logging:v2beta1/HttpRequest/remoteIp": remote_ip +"/logging:v2beta1/HttpRequest/serverIp": server_ip +"/logging:v2beta1/HttpRequest/userAgent": user_agent +"/logging:v2beta1/HttpRequest/requestSize": request_size +"/logging:v2beta1/LogEntrySourceLocation": log_entry_source_location +"/logging:v2beta1/LogEntrySourceLocation/function": function +"/logging:v2beta1/LogEntrySourceLocation/file": file +"/logging:v2beta1/LogEntrySourceLocation/line": line +"/logging:v2beta1/RequestLog": request_log +"/logging:v2beta1/RequestLog/responseSize": response_size +"/logging:v2beta1/RequestLog/requestId": request_id +"/logging:v2beta1/RequestLog/first": first +"/logging:v2beta1/RequestLog/method": method_prop +"/logging:v2beta1/RequestLog/versionId": version_id +"/logging:v2beta1/RequestLog/status": status +"/logging:v2beta1/RequestLog/wasLoadingRequest": was_loading_request +"/logging:v2beta1/RequestLog/ip": ip +"/logging:v2beta1/RequestLog/nickname": nickname +"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name +"/logging:v2beta1/RequestLog/pendingTime": pending_time +"/logging:v2beta1/RequestLog/instanceIndex": instance_index +"/logging:v2beta1/RequestLog/sourceReference": source_reference +"/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference +"/logging:v2beta1/RequestLog/moduleId": module_id +"/logging:v2beta1/RequestLog/host": host +"/logging:v2beta1/RequestLog/latency": latency +"/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry +"/logging:v2beta1/RequestLog/endTime": end_time +"/logging:v2beta1/RequestLog/line": line +"/logging:v2beta1/RequestLog/line/line": line +"/logging:v2beta1/RequestLog/megaCycles": mega_cycles +"/logging:v2beta1/RequestLog/appId": app_id +"/logging:v2beta1/RequestLog/traceId": trace_id +"/logging:v2beta1/RequestLog/taskName": task_name +"/logging:v2beta1/RequestLog/cost": cost +"/logging:v2beta1/RequestLog/instanceId": instance_id +"/logging:v2beta1/RequestLog/startTime": start_time +"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release +"/logging:v2beta1/RequestLog/resource": resource +"/logging:v2beta1/RequestLog/httpVersion": http_version +"/logging:v2beta1/RequestLog/referrer": referrer +"/logging:v2beta1/RequestLog/userAgent": user_agent +"/logging:v2beta1/RequestLog/finished": finished +"/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response +"/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request +"/logging:v2beta1/ListLogEntriesRequest/filter": filter +"/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids +"/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names +"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size +"/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by +"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token +"/mirror:v1/fields": fields +"/mirror:v1/key": key +"/mirror:v1/quotaUser": quota_user +"/mirror:v1/userIp": user_ip +"/mirror:v1/mirror.accounts.insert": insert_account +"/mirror:v1/mirror.accounts.insert/accountName": account_name +"/mirror:v1/mirror.accounts.insert/accountType": account_type +"/mirror:v1/mirror.accounts.insert/userToken": user_token +"/mirror:v1/mirror.contacts.delete": delete_contact +"/mirror:v1/mirror.contacts.delete/id": id +"/mirror:v1/mirror.contacts.get": get_contact +"/mirror:v1/mirror.contacts.get/id": id +"/mirror:v1/mirror.contacts.insert": insert_contact +"/mirror:v1/mirror.contacts.list": list_contacts +"/mirror:v1/mirror.contacts.patch": patch_contact +"/mirror:v1/mirror.contacts.patch/id": id +"/mirror:v1/mirror.contacts.update": update_contact +"/mirror:v1/mirror.contacts.update/id": id +"/mirror:v1/mirror.locations.get": get_location +"/mirror:v1/mirror.locations.get/id": id +"/mirror:v1/mirror.locations.list": list_locations +"/mirror:v1/mirror.settings.get": get_setting +"/mirror:v1/mirror.settings.get/id": id +"/mirror:v1/mirror.subscriptions.delete": delete_subscription +"/mirror:v1/mirror.subscriptions.delete/id": id +"/mirror:v1/mirror.subscriptions.insert": insert_subscription +"/mirror:v1/mirror.subscriptions.list": list_subscriptions +"/mirror:v1/mirror.subscriptions.update": update_subscription +"/mirror:v1/mirror.subscriptions.update/id": id +"/mirror:v1/mirror.timeline.delete": delete_timeline +"/mirror:v1/mirror.timeline.delete/id": id +"/mirror:v1/mirror.timeline.get": get_timeline +"/mirror:v1/mirror.timeline.get/id": id +"/mirror:v1/mirror.timeline.insert": insert_timeline +"/mirror:v1/mirror.timeline.list": list_timelines +"/mirror:v1/mirror.timeline.list/bundleId": bundle_id +"/mirror:v1/mirror.timeline.list/includeDeleted": include_deleted +"/mirror:v1/mirror.timeline.list/maxResults": max_results +"/mirror:v1/mirror.timeline.list/orderBy": order_by +"/mirror:v1/mirror.timeline.list/pageToken": page_token +"/mirror:v1/mirror.timeline.list/pinnedOnly": pinned_only +"/mirror:v1/mirror.timeline.list/sourceItemId": source_item_id +"/mirror:v1/mirror.timeline.patch": patch_timeline +"/mirror:v1/mirror.timeline.patch/id": id +"/mirror:v1/mirror.timeline.update": update_timeline +"/mirror:v1/mirror.timeline.update/id": id +"/mirror:v1/mirror.timeline.attachments.delete": delete_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.delete/attachmentId": attachment_id +"/mirror:v1/mirror.timeline.attachments.delete/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.get": get_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.get/attachmentId": attachment_id +"/mirror:v1/mirror.timeline.attachments.get/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.insert": insert_timeline_attachment +"/mirror:v1/mirror.timeline.attachments.insert/itemId": item_id +"/mirror:v1/mirror.timeline.attachments.list": list_timeline_attachments +"/mirror:v1/mirror.timeline.attachments.list/itemId": item_id +"/mirror:v1/Account": account +"/mirror:v1/Account/authTokens": auth_tokens +"/mirror:v1/Account/authTokens/auth_token": auth_token +"/mirror:v1/Account/features": features +"/mirror:v1/Account/features/feature": feature +"/mirror:v1/Account/password": password +"/mirror:v1/Account/userData": user_data +"/mirror:v1/Account/userData/user_datum": user_datum +"/mirror:v1/Attachment": attachment +"/mirror:v1/Attachment/contentType": content_type +"/mirror:v1/Attachment/contentUrl": content_url +"/mirror:v1/Attachment/id": id +"/mirror:v1/Attachment/isProcessingContent": is_processing_content +"/mirror:v1/AttachmentsListResponse/items": items +"/mirror:v1/AttachmentsListResponse/items/item": item +"/mirror:v1/AttachmentsListResponse/kind": kind +"/mirror:v1/AuthToken": auth_token +"/mirror:v1/AuthToken/authToken": auth_token +"/mirror:v1/AuthToken/type": type +"/mirror:v1/Command": command +"/mirror:v1/Command/type": type +"/mirror:v1/Contact": contact +"/mirror:v1/Contact/acceptCommands": accept_commands +"/mirror:v1/Contact/acceptCommands/accept_command": accept_command +"/mirror:v1/Contact/acceptTypes": accept_types +"/mirror:v1/Contact/acceptTypes/accept_type": accept_type +"/mirror:v1/Contact/displayName": display_name +"/mirror:v1/Contact/id": id +"/mirror:v1/Contact/imageUrls": image_urls +"/mirror:v1/Contact/imageUrls/image_url": image_url +"/mirror:v1/Contact/kind": kind +"/mirror:v1/Contact/phoneNumber": phone_number +"/mirror:v1/Contact/priority": priority +"/mirror:v1/Contact/sharingFeatures": sharing_features +"/mirror:v1/Contact/sharingFeatures/sharing_feature": sharing_feature +"/mirror:v1/Contact/source": source +"/mirror:v1/Contact/speakableName": speakable_name +"/mirror:v1/Contact/type": type +"/mirror:v1/ContactsListResponse/items": items +"/mirror:v1/ContactsListResponse/items/item": item +"/mirror:v1/ContactsListResponse/kind": kind +"/mirror:v1/Location": location +"/mirror:v1/Location/accuracy": accuracy +"/mirror:v1/Location/address": address +"/mirror:v1/Location/displayName": display_name +"/mirror:v1/Location/id": id +"/mirror:v1/Location/kind": kind +"/mirror:v1/Location/latitude": latitude +"/mirror:v1/Location/longitude": longitude +"/mirror:v1/Location/timestamp": timestamp +"/mirror:v1/LocationsListResponse/items": items +"/mirror:v1/LocationsListResponse/items/item": item +"/mirror:v1/LocationsListResponse/kind": kind +"/mirror:v1/MenuItem": menu_item +"/mirror:v1/MenuItem/action": action +"/mirror:v1/MenuItem/contextual_command": contextual_command +"/mirror:v1/MenuItem/id": id +"/mirror:v1/MenuItem/payload": payload +"/mirror:v1/MenuItem/removeWhenSelected": remove_when_selected +"/mirror:v1/MenuItem/values": values +"/mirror:v1/MenuItem/values/value": value +"/mirror:v1/MenuValue": menu_value +"/mirror:v1/MenuValue/displayName": display_name +"/mirror:v1/MenuValue/iconUrl": icon_url +"/mirror:v1/MenuValue/state": state +"/mirror:v1/Notification": notification +"/mirror:v1/Notification/collection": collection +"/mirror:v1/Notification/itemId": item_id +"/mirror:v1/Notification/operation": operation +"/mirror:v1/Notification/userActions": user_actions +"/mirror:v1/Notification/userActions/user_action": user_action +"/mirror:v1/Notification/userToken": user_token +"/mirror:v1/Notification/verifyToken": verify_token +"/mirror:v1/NotificationConfig": notification_config +"/mirror:v1/NotificationConfig/deliveryTime": delivery_time +"/mirror:v1/NotificationConfig/level": level +"/mirror:v1/Setting": setting +"/mirror:v1/Setting/id": id +"/mirror:v1/Setting/kind": kind +"/mirror:v1/Setting/value": value +"/mirror:v1/Subscription": subscription +"/mirror:v1/Subscription/callbackUrl": callback_url +"/mirror:v1/Subscription/collection": collection +"/mirror:v1/Subscription/id": id +"/mirror:v1/Subscription/kind": kind +"/mirror:v1/Subscription/notification": notification +"/mirror:v1/Subscription/operation": operation +"/mirror:v1/Subscription/operation/operation": operation +"/mirror:v1/Subscription/updated": updated +"/mirror:v1/Subscription/userToken": user_token +"/mirror:v1/Subscription/verifyToken": verify_token +"/mirror:v1/SubscriptionsListResponse/items": items +"/mirror:v1/SubscriptionsListResponse/items/item": item +"/mirror:v1/SubscriptionsListResponse/kind": kind +"/mirror:v1/TimelineItem": timeline_item +"/mirror:v1/TimelineItem/attachments": attachments +"/mirror:v1/TimelineItem/attachments/attachment": attachment +"/mirror:v1/TimelineItem/bundleId": bundle_id +"/mirror:v1/TimelineItem/canonicalUrl": canonical_url +"/mirror:v1/TimelineItem/created": created +"/mirror:v1/TimelineItem/creator": creator +"/mirror:v1/TimelineItem/displayTime": display_time +"/mirror:v1/TimelineItem/etag": etag +"/mirror:v1/TimelineItem/html": html +"/mirror:v1/TimelineItem/id": id +"/mirror:v1/TimelineItem/inReplyTo": in_reply_to +"/mirror:v1/TimelineItem/isBundleCover": is_bundle_cover +"/mirror:v1/TimelineItem/isDeleted": is_deleted +"/mirror:v1/TimelineItem/isPinned": is_pinned +"/mirror:v1/TimelineItem/kind": kind +"/mirror:v1/TimelineItem/location": location +"/mirror:v1/TimelineItem/menuItems": menu_items +"/mirror:v1/TimelineItem/menuItems/menu_item": menu_item +"/mirror:v1/TimelineItem/notification": notification +"/mirror:v1/TimelineItem/pinScore": pin_score +"/mirror:v1/TimelineItem/recipients": recipients +"/mirror:v1/TimelineItem/recipients/recipient": recipient +"/mirror:v1/TimelineItem/selfLink": self_link +"/mirror:v1/TimelineItem/sourceItemId": source_item_id +"/mirror:v1/TimelineItem/speakableText": speakable_text +"/mirror:v1/TimelineItem/speakableType": speakable_type +"/mirror:v1/TimelineItem/text": text +"/mirror:v1/TimelineItem/title": title +"/mirror:v1/TimelineItem/updated": updated +"/mirror:v1/TimelineListResponse/items": items +"/mirror:v1/TimelineListResponse/items/item": item +"/mirror:v1/TimelineListResponse/kind": kind +"/mirror:v1/TimelineListResponse/nextPageToken": next_page_token +"/mirror:v1/UserAction": user_action +"/mirror:v1/UserAction/payload": payload +"/mirror:v1/UserAction/type": type +"/mirror:v1/UserData": user_data +"/mirror:v1/UserData/key": key +"/mirror:v1/UserData/value": value +"/oauth2:v2/fields": fields +"/oauth2:v2/key": key +"/oauth2:v2/quotaUser": quota_user +"/oauth2:v2/userIp": user_ip +"/oauth2:v2/oauth2.getCertForOpenIdConnect": get_cert_for_open_id_connect +"/oauth2:v2/oauth2.tokeninfo": tokeninfo +"/oauth2:v2/oauth2.tokeninfo/access_token": access_token +"/oauth2:v2/oauth2.tokeninfo/id_token": id_token +"/oauth2:v2/oauth2.tokeninfo/token_handle": token_handle +"/oauth2:v2/oauth2.userinfo.get": get_userinfo +"/oauth2:v2/Jwk": jwk +"/oauth2:v2/Jwk/keys": keys +"/oauth2:v2/Jwk/keys/key": key +"/oauth2:v2/Jwk/keys/key/alg": alg +"/oauth2:v2/Jwk/keys/key/e": e +"/oauth2:v2/Jwk/keys/key/kid": kid +"/oauth2:v2/Jwk/keys/key/kty": kty +"/oauth2:v2/Jwk/keys/key/n": n +"/oauth2:v2/Jwk/keys/key/use": use +"/oauth2:v2/Tokeninfo": tokeninfo +"/oauth2:v2/Tokeninfo/access_type": access_type +"/oauth2:v2/Tokeninfo/audience": audience +"/oauth2:v2/Tokeninfo/email": email +"/oauth2:v2/Tokeninfo/expires_in": expires_in +"/oauth2:v2/Tokeninfo/issued_to": issued_to +"/oauth2:v2/Tokeninfo/scope": scope +"/oauth2:v2/Tokeninfo/token_handle": token_handle +"/oauth2:v2/Tokeninfo/user_id": user_id +"/oauth2:v2/Tokeninfo/verified_email": verified_email +"/oauth2:v2/Userinfoplus": userinfoplus +"/oauth2:v2/Userinfoplus/email": email +"/oauth2:v2/Userinfoplus/family_name": family_name +"/oauth2:v2/Userinfoplus/gender": gender +"/oauth2:v2/Userinfoplus/given_name": given_name +"/oauth2:v2/Userinfoplus/hd": hd +"/oauth2:v2/Userinfoplus/id": id +"/oauth2:v2/Userinfoplus/link": link +"/oauth2:v2/Userinfoplus/locale": locale +"/oauth2:v2/Userinfoplus/name": name +"/oauth2:v2/Userinfoplus/picture": picture +"/oauth2:v2/Userinfoplus/verified_email": verified_email +"/pagespeedonline:v2/fields": fields +"/pagespeedonline:v2/key": key +"/pagespeedonline:v2/quotaUser": quota_user +"/pagespeedonline:v2/userIp": user_ip +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/filter_third_party_resources": filter_third_party_resources +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/locale": locale +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/rule": rule +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/screenshot": screenshot +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/strategy": strategy +"/pagespeedonline:v2/pagespeedonline.pagespeedapi.runpagespeed/url": url +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args": args +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg": arg +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/key": key +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects": rects +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects/rect": rect +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects/rect/height": height +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects/rect/left": left +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects/rect/top": top +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/rects/rect/width": width +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects": secondary_rects +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects/secondary_rect": secondary_rect +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects/secondary_rect/height": height +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects/secondary_rect/left": left +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects/secondary_rect/top": top +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/secondary_rects/secondary_rect/width": width +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/type": type +"/pagespeedonline:v2/PagespeedApiFormatStringV2/args/arg/value": value +"/pagespeedonline:v2/PagespeedApiFormatStringV2/format": format +"/pagespeedonline:v2/PagespeedApiImageV2/data": data +"/pagespeedonline:v2/PagespeedApiImageV2/height": height +"/pagespeedonline:v2/PagespeedApiImageV2/key": key +"/pagespeedonline:v2/PagespeedApiImageV2/mime_type": mime_type +"/pagespeedonline:v2/PagespeedApiImageV2/page_rect": page_rect +"/pagespeedonline:v2/PagespeedApiImageV2/page_rect/height": height +"/pagespeedonline:v2/PagespeedApiImageV2/page_rect/left": left +"/pagespeedonline:v2/PagespeedApiImageV2/page_rect/top": top +"/pagespeedonline:v2/PagespeedApiImageV2/page_rect/width": width +"/pagespeedonline:v2/PagespeedApiImageV2/width": width +"/pagespeedonline:v2/Result": result +"/pagespeedonline:v2/Result/formattedResults": formatted_results +"/pagespeedonline:v2/Result/formattedResults/locale": locale +"/pagespeedonline:v2/Result/formattedResults/ruleResults": rule_results +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result": rule_result +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/groups": groups +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/groups/group": group +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/localizedRuleName": localized_rule_name +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/ruleImpact": rule_impact +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/summary": summary +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks": url_blocks +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block": url_block +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/header": header +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/urls": urls +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/urls/url": url +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/urls/url/details": details +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/urls/url/details/detail": detail +"/pagespeedonline:v2/Result/formattedResults/ruleResults/rule_result/urlBlocks/url_block/urls/url/result": result +"/pagespeedonline:v2/Result/id": id +"/pagespeedonline:v2/Result/invalidRules": invalid_rules +"/pagespeedonline:v2/Result/invalidRules/invalid_rule": invalid_rule +"/pagespeedonline:v2/Result/kind": kind +"/pagespeedonline:v2/Result/pageStats": page_stats +"/pagespeedonline:v2/Result/pageStats/cssResponseBytes": css_response_bytes +"/pagespeedonline:v2/Result/pageStats/flashResponseBytes": flash_response_bytes +"/pagespeedonline:v2/Result/pageStats/htmlResponseBytes": html_response_bytes +"/pagespeedonline:v2/Result/pageStats/imageResponseBytes": image_response_bytes +"/pagespeedonline:v2/Result/pageStats/javascriptResponseBytes": javascript_response_bytes +"/pagespeedonline:v2/Result/pageStats/numberCssResources": number_css_resources +"/pagespeedonline:v2/Result/pageStats/numberHosts": number_hosts +"/pagespeedonline:v2/Result/pageStats/numberJsResources": number_js_resources +"/pagespeedonline:v2/Result/pageStats/numberResources": number_resources +"/pagespeedonline:v2/Result/pageStats/numberStaticResources": number_static_resources +"/pagespeedonline:v2/Result/pageStats/otherResponseBytes": other_response_bytes +"/pagespeedonline:v2/Result/pageStats/textResponseBytes": text_response_bytes +"/pagespeedonline:v2/Result/pageStats/totalRequestBytes": total_request_bytes +"/pagespeedonline:v2/Result/responseCode": response_code +"/pagespeedonline:v2/Result/ruleGroups": rule_groups +"/pagespeedonline:v2/Result/ruleGroups/rule_group": rule_group +"/pagespeedonline:v2/Result/ruleGroups/rule_group/score": score +"/pagespeedonline:v2/Result/screenshot": screenshot +"/pagespeedonline:v2/Result/title": title +"/pagespeedonline:v2/Result/version": version +"/pagespeedonline:v2/Result/version/major": major +"/pagespeedonline:v2/Result/version/minor": minor +"/plus:v1/fields": fields +"/plus:v1/key": key +"/plus:v1/quotaUser": quota_user +"/plus:v1/userIp": user_ip +"/plus:v1/plus.activities.get": get_activity +"/plus:v1/plus.activities.get/activityId": activity_id +"/plus:v1/plus.activities.list": list_activities +"/plus:v1/plus.activities.list/collection": collection +"/plus:v1/plus.activities.list/maxResults": max_results +"/plus:v1/plus.activities.list/pageToken": page_token +"/plus:v1/plus.activities.list/userId": user_id +"/plus:v1/plus.activities.search": search_activities +"/plus:v1/plus.activities.search/language": language +"/plus:v1/plus.activities.search/maxResults": max_results +"/plus:v1/plus.activities.search/orderBy": order_by +"/plus:v1/plus.activities.search/pageToken": page_token +"/plus:v1/plus.activities.search/query": query +"/plus:v1/plus.comments.get": get_comment +"/plus:v1/plus.comments.get/commentId": comment_id +"/plus:v1/plus.comments.list": list_comments +"/plus:v1/plus.comments.list/activityId": activity_id +"/plus:v1/plus.comments.list/maxResults": max_results +"/plus:v1/plus.comments.list/pageToken": page_token +"/plus:v1/plus.comments.list/sortOrder": sort_order +"/plus:v1/plus.people.get": get_person +"/plus:v1/plus.people.get/userId": user_id +"/plus:v1/plus.people.list": list_people +"/plus:v1/plus.people.list/collection": collection +"/plus:v1/plus.people.list/maxResults": max_results +"/plus:v1/plus.people.list/orderBy": order_by +"/plus:v1/plus.people.list/pageToken": page_token +"/plus:v1/plus.people.list/userId": user_id +"/plus:v1/plus.people.listByActivity/activityId": activity_id +"/plus:v1/plus.people.listByActivity/collection": collection +"/plus:v1/plus.people.listByActivity/maxResults": max_results +"/plus:v1/plus.people.listByActivity/pageToken": page_token +"/plus:v1/plus.people.search": search_people +"/plus:v1/plus.people.search/language": language +"/plus:v1/plus.people.search/maxResults": max_results +"/plus:v1/plus.people.search/pageToken": page_token +"/plus:v1/plus.people.search/query": query +"/plus:v1/Acl": acl +"/plus:v1/Acl/description": description +"/plus:v1/Acl/items": items +"/plus:v1/Acl/items/item": item +"/plus:v1/Acl/kind": kind +"/plus:v1/Activity": activity +"/plus:v1/Activity/access": access +"/plus:v1/Activity/actor": actor +"/plus:v1/Activity/actor/clientSpecificActorInfo": client_specific_actor_info +"/plus:v1/Activity/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plus:v1/Activity/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plus:v1/Activity/actor/displayName": display_name +"/plus:v1/Activity/actor/id": id +"/plus:v1/Activity/actor/image": image +"/plus:v1/Activity/actor/image/url": url +"/plus:v1/Activity/actor/name": name +"/plus:v1/Activity/actor/name/familyName": family_name +"/plus:v1/Activity/actor/name/givenName": given_name +"/plus:v1/Activity/actor/url": url +"/plus:v1/Activity/actor/verification": verification +"/plus:v1/Activity/actor/verification/adHocVerified": ad_hoc_verified +"/plus:v1/Activity/address": address +"/plus:v1/Activity/annotation": annotation +"/plus:v1/Activity/crosspostSource": crosspost_source +"/plus:v1/Activity/etag": etag +"/plus:v1/Activity/geocode": geocode +"/plus:v1/Activity/id": id +"/plus:v1/Activity/kind": kind +"/plus:v1/Activity/location": location +"/plus:v1/Activity/object": object +"/plus:v1/Activity/object/actor": actor +"/plus:v1/Activity/object/actor/clientSpecificActorInfo": client_specific_actor_info +"/plus:v1/Activity/object/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plus:v1/Activity/object/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plus:v1/Activity/object/actor/displayName": display_name +"/plus:v1/Activity/object/actor/id": id +"/plus:v1/Activity/object/actor/image": image +"/plus:v1/Activity/object/actor/image/url": url +"/plus:v1/Activity/object/actor/url": url +"/plus:v1/Activity/object/actor/verification": verification +"/plus:v1/Activity/object/actor/verification/adHocVerified": ad_hoc_verified +"/plus:v1/Activity/object/attachments": attachments +"/plus:v1/Activity/object/attachments/attachment": attachment +"/plus:v1/Activity/object/attachments/attachment/content": content +"/plus:v1/Activity/object/attachments/attachment/displayName": display_name +"/plus:v1/Activity/object/attachments/attachment/embed": embed +"/plus:v1/Activity/object/attachments/attachment/embed/type": type +"/plus:v1/Activity/object/attachments/attachment/embed/url": url +"/plus:v1/Activity/object/attachments/attachment/fullImage": full_image +"/plus:v1/Activity/object/attachments/attachment/fullImage/height": height +"/plus:v1/Activity/object/attachments/attachment/fullImage/type": type +"/plus:v1/Activity/object/attachments/attachment/fullImage/url": url +"/plus:v1/Activity/object/attachments/attachment/fullImage/width": width +"/plus:v1/Activity/object/attachments/attachment/id": id +"/plus:v1/Activity/object/attachments/attachment/image": image +"/plus:v1/Activity/object/attachments/attachment/image/height": height +"/plus:v1/Activity/object/attachments/attachment/image/type": type +"/plus:v1/Activity/object/attachments/attachment/image/url": url +"/plus:v1/Activity/object/attachments/attachment/image/width": width +"/plus:v1/Activity/object/attachments/attachment/objectType": object_type +"/plus:v1/Activity/object/attachments/attachment/thumbnails": thumbnails +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail": thumbnail +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/description": description +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image": image +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/height": height +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/type": type +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/url": url +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/width": width +"/plus:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/url": url +"/plus:v1/Activity/object/attachments/attachment/url": url +"/plus:v1/Activity/object/content": content +"/plus:v1/Activity/object/id": id +"/plus:v1/Activity/object/objectType": object_type +"/plus:v1/Activity/object/originalContent": original_content +"/plus:v1/Activity/object/plusoners": plusoners +"/plus:v1/Activity/object/plusoners/selfLink": self_link +"/plus:v1/Activity/object/plusoners/totalItems": total_items +"/plus:v1/Activity/object/replies": replies +"/plus:v1/Activity/object/replies/selfLink": self_link +"/plus:v1/Activity/object/replies/totalItems": total_items +"/plus:v1/Activity/object/resharers": resharers +"/plus:v1/Activity/object/resharers/selfLink": self_link +"/plus:v1/Activity/object/resharers/totalItems": total_items +"/plus:v1/Activity/object/url": url +"/plus:v1/Activity/placeId": place_id +"/plus:v1/Activity/placeName": place_name +"/plus:v1/Activity/provider": provider +"/plus:v1/Activity/provider/title": title +"/plus:v1/Activity/published": published +"/plus:v1/Activity/radius": radius +"/plus:v1/Activity/title": title +"/plus:v1/Activity/updated": updated +"/plus:v1/Activity/url": url +"/plus:v1/Activity/verb": verb +"/plus:v1/ActivityFeed": activity_feed +"/plus:v1/ActivityFeed/etag": etag +"/plus:v1/ActivityFeed/id": id +"/plus:v1/ActivityFeed/items": items +"/plus:v1/ActivityFeed/items/item": item +"/plus:v1/ActivityFeed/kind": kind +"/plus:v1/ActivityFeed/nextLink": next_link +"/plus:v1/ActivityFeed/nextPageToken": next_page_token +"/plus:v1/ActivityFeed/selfLink": self_link +"/plus:v1/ActivityFeed/title": title +"/plus:v1/ActivityFeed/updated": updated +"/plus:v1/Comment": comment +"/plus:v1/Comment/actor": actor +"/plus:v1/Comment/actor/clientSpecificActorInfo": client_specific_actor_info +"/plus:v1/Comment/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plus:v1/Comment/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plus:v1/Comment/actor/displayName": display_name +"/plus:v1/Comment/actor/id": id +"/plus:v1/Comment/actor/image": image +"/plus:v1/Comment/actor/image/url": url +"/plus:v1/Comment/actor/url": url +"/plus:v1/Comment/actor/verification": verification +"/plus:v1/Comment/actor/verification/adHocVerified": ad_hoc_verified +"/plus:v1/Comment/etag": etag +"/plus:v1/Comment/id": id +"/plus:v1/Comment/inReplyTo": in_reply_to +"/plus:v1/Comment/inReplyTo/in_reply_to": in_reply_to +"/plus:v1/Comment/inReplyTo/in_reply_to/id": id +"/plus:v1/Comment/inReplyTo/in_reply_to/url": url +"/plus:v1/Comment/kind": kind +"/plus:v1/Comment/object": object +"/plus:v1/Comment/object/content": content +"/plus:v1/Comment/object/objectType": object_type +"/plus:v1/Comment/object/originalContent": original_content +"/plus:v1/Comment/plusoners": plusoners +"/plus:v1/Comment/plusoners/totalItems": total_items +"/plus:v1/Comment/published": published +"/plus:v1/Comment/selfLink": self_link +"/plus:v1/Comment/updated": updated +"/plus:v1/Comment/verb": verb +"/plus:v1/CommentFeed": comment_feed +"/plus:v1/CommentFeed/etag": etag +"/plus:v1/CommentFeed/id": id +"/plus:v1/CommentFeed/items": items +"/plus:v1/CommentFeed/items/item": item +"/plus:v1/CommentFeed/kind": kind +"/plus:v1/CommentFeed/nextLink": next_link +"/plus:v1/CommentFeed/nextPageToken": next_page_token +"/plus:v1/CommentFeed/title": title +"/plus:v1/CommentFeed/updated": updated +"/plus:v1/PeopleFeed": people_feed +"/plus:v1/PeopleFeed/etag": etag +"/plus:v1/PeopleFeed/items": items +"/plus:v1/PeopleFeed/items/item": item +"/plus:v1/PeopleFeed/kind": kind +"/plus:v1/PeopleFeed/nextPageToken": next_page_token +"/plus:v1/PeopleFeed/selfLink": self_link +"/plus:v1/PeopleFeed/title": title +"/plus:v1/PeopleFeed/totalItems": total_items +"/plus:v1/Person": person +"/plus:v1/Person/aboutMe": about_me +"/plus:v1/Person/ageRange": age_range +"/plus:v1/Person/ageRange/max": max +"/plus:v1/Person/ageRange/min": min +"/plus:v1/Person/birthday": birthday +"/plus:v1/Person/braggingRights": bragging_rights +"/plus:v1/Person/circledByCount": circled_by_count +"/plus:v1/Person/cover": cover +"/plus:v1/Person/cover/coverInfo": cover_info +"/plus:v1/Person/cover/coverInfo/leftImageOffset": left_image_offset +"/plus:v1/Person/cover/coverInfo/topImageOffset": top_image_offset +"/plus:v1/Person/cover/coverPhoto": cover_photo +"/plus:v1/Person/cover/coverPhoto/height": height +"/plus:v1/Person/cover/coverPhoto/url": url +"/plus:v1/Person/cover/coverPhoto/width": width +"/plus:v1/Person/cover/layout": layout +"/plus:v1/Person/currentLocation": current_location +"/plus:v1/Person/displayName": display_name +"/plus:v1/Person/domain": domain +"/plus:v1/Person/emails": emails +"/plus:v1/Person/emails/email": email +"/plus:v1/Person/emails/email/type": type +"/plus:v1/Person/emails/email/value": value +"/plus:v1/Person/etag": etag +"/plus:v1/Person/gender": gender +"/plus:v1/Person/id": id +"/plus:v1/Person/image": image +"/plus:v1/Person/image/isDefault": is_default +"/plus:v1/Person/image/url": url +"/plus:v1/Person/isPlusUser": is_plus_user +"/plus:v1/Person/kind": kind +"/plus:v1/Person/language": language +"/plus:v1/Person/name": name +"/plus:v1/Person/name/familyName": family_name +"/plus:v1/Person/name/formatted": formatted +"/plus:v1/Person/name/givenName": given_name +"/plus:v1/Person/name/honorificPrefix": honorific_prefix +"/plus:v1/Person/name/honorificSuffix": honorific_suffix +"/plus:v1/Person/name/middleName": middle_name +"/plus:v1/Person/nickname": nickname +"/plus:v1/Person/objectType": object_type +"/plus:v1/Person/occupation": occupation +"/plus:v1/Person/organizations": organizations +"/plus:v1/Person/organizations/organization": organization +"/plus:v1/Person/organizations/organization/department": department +"/plus:v1/Person/organizations/organization/description": description +"/plus:v1/Person/organizations/organization/endDate": end_date +"/plus:v1/Person/organizations/organization/location": location +"/plus:v1/Person/organizations/organization/name": name +"/plus:v1/Person/organizations/organization/primary": primary +"/plus:v1/Person/organizations/organization/startDate": start_date +"/plus:v1/Person/organizations/organization/title": title +"/plus:v1/Person/organizations/organization/type": type +"/plus:v1/Person/placesLived": places_lived +"/plus:v1/Person/placesLived/places_lived": places_lived +"/plus:v1/Person/placesLived/places_lived/primary": primary +"/plus:v1/Person/placesLived/places_lived/value": value +"/plus:v1/Person/plusOneCount": plus_one_count +"/plus:v1/Person/relationshipStatus": relationship_status +"/plus:v1/Person/skills": skills +"/plus:v1/Person/tagline": tagline +"/plus:v1/Person/url": url +"/plus:v1/Person/urls": urls +"/plus:v1/Person/urls/url": url +"/plus:v1/Person/urls/url/label": label +"/plus:v1/Person/urls/url/type": type +"/plus:v1/Person/urls/url/value": value +"/plus:v1/Person/verified": verified +"/plus:v1/Place": place +"/plus:v1/Place/address": address +"/plus:v1/Place/address/formatted": formatted +"/plus:v1/Place/displayName": display_name +"/plus:v1/Place/id": id +"/plus:v1/Place/kind": kind +"/plus:v1/Place/position": position +"/plus:v1/Place/position/latitude": latitude +"/plus:v1/Place/position/longitude": longitude +"/plus:v1/PlusAclentryResource": plus_aclentry_resource +"/plus:v1/PlusAclentryResource/displayName": display_name +"/plus:v1/PlusAclentryResource/id": id +"/plus:v1/PlusAclentryResource/type": type +"/plusDomains:v1/fields": fields +"/plusDomains:v1/key": key +"/plusDomains:v1/quotaUser": quota_user +"/plusDomains:v1/userIp": user_ip +"/plusDomains:v1/plusDomains.activities.get": get_activity +"/plusDomains:v1/plusDomains.activities.get/activityId": activity_id +"/plusDomains:v1/plusDomains.activities.insert": insert_activity +"/plusDomains:v1/plusDomains.activities.insert/preview": preview +"/plusDomains:v1/plusDomains.activities.insert/userId": user_id +"/plusDomains:v1/plusDomains.activities.list": list_activities +"/plusDomains:v1/plusDomains.activities.list/collection": collection +"/plusDomains:v1/plusDomains.activities.list/maxResults": max_results +"/plusDomains:v1/plusDomains.activities.list/pageToken": page_token +"/plusDomains:v1/plusDomains.activities.list/userId": user_id +"/plusDomains:v1/plusDomains.audiences.list": list_audiences +"/plusDomains:v1/plusDomains.audiences.list/maxResults": max_results +"/plusDomains:v1/plusDomains.audiences.list/pageToken": page_token +"/plusDomains:v1/plusDomains.audiences.list/userId": user_id +"/plusDomains:v1/plusDomains.circles.addPeople/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.addPeople/email": email +"/plusDomains:v1/plusDomains.circles.addPeople/userId": user_id +"/plusDomains:v1/plusDomains.circles.get": get_circle +"/plusDomains:v1/plusDomains.circles.get/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.insert": insert_circle +"/plusDomains:v1/plusDomains.circles.insert/userId": user_id +"/plusDomains:v1/plusDomains.circles.list": list_circles +"/plusDomains:v1/plusDomains.circles.list/maxResults": max_results +"/plusDomains:v1/plusDomains.circles.list/pageToken": page_token +"/plusDomains:v1/plusDomains.circles.list/userId": user_id +"/plusDomains:v1/plusDomains.circles.patch": patch_circle +"/plusDomains:v1/plusDomains.circles.patch/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.remove": remove_circle +"/plusDomains:v1/plusDomains.circles.remove/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.removePeople/circleId": circle_id +"/plusDomains:v1/plusDomains.circles.removePeople/email": email +"/plusDomains:v1/plusDomains.circles.removePeople/userId": user_id +"/plusDomains:v1/plusDomains.circles.update": update_circle +"/plusDomains:v1/plusDomains.circles.update/circleId": circle_id +"/plusDomains:v1/plusDomains.comments.get": get_comment +"/plusDomains:v1/plusDomains.comments.get/commentId": comment_id +"/plusDomains:v1/plusDomains.comments.insert": insert_comment +"/plusDomains:v1/plusDomains.comments.insert/activityId": activity_id +"/plusDomains:v1/plusDomains.comments.list": list_comments +"/plusDomains:v1/plusDomains.comments.list/activityId": activity_id +"/plusDomains:v1/plusDomains.comments.list/maxResults": max_results +"/plusDomains:v1/plusDomains.comments.list/pageToken": page_token +"/plusDomains:v1/plusDomains.comments.list/sortOrder": sort_order +"/plusDomains:v1/plusDomains.media.insert": insert_medium +"/plusDomains:v1/plusDomains.media.insert/collection": collection +"/plusDomains:v1/plusDomains.media.insert/userId": user_id +"/plusDomains:v1/plusDomains.people.get": get_person +"/plusDomains:v1/plusDomains.people.get/userId": user_id +"/plusDomains:v1/plusDomains.people.list": list_people +"/plusDomains:v1/plusDomains.people.list/collection": collection +"/plusDomains:v1/plusDomains.people.list/maxResults": max_results +"/plusDomains:v1/plusDomains.people.list/orderBy": order_by +"/plusDomains:v1/plusDomains.people.list/pageToken": page_token +"/plusDomains:v1/plusDomains.people.list/userId": user_id +"/plusDomains:v1/plusDomains.people.listByActivity/activityId": activity_id +"/plusDomains:v1/plusDomains.people.listByActivity/collection": collection +"/plusDomains:v1/plusDomains.people.listByActivity/maxResults": max_results +"/plusDomains:v1/plusDomains.people.listByActivity/pageToken": page_token +"/plusDomains:v1/plusDomains.people.listByCircle/circleId": circle_id +"/plusDomains:v1/plusDomains.people.listByCircle/maxResults": max_results +"/plusDomains:v1/plusDomains.people.listByCircle/pageToken": page_token +"/plusDomains:v1/Acl": acl +"/plusDomains:v1/Acl/description": description +"/plusDomains:v1/Acl/domainRestricted": domain_restricted +"/plusDomains:v1/Acl/items": items +"/plusDomains:v1/Acl/items/item": item +"/plusDomains:v1/Acl/kind": kind +"/plusDomains:v1/Activity": activity +"/plusDomains:v1/Activity/access": access +"/plusDomains:v1/Activity/actor": actor +"/plusDomains:v1/Activity/actor/clientSpecificActorInfo": client_specific_actor_info +"/plusDomains:v1/Activity/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plusDomains:v1/Activity/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plusDomains:v1/Activity/actor/displayName": display_name +"/plusDomains:v1/Activity/actor/id": id +"/plusDomains:v1/Activity/actor/image": image +"/plusDomains:v1/Activity/actor/image/url": url +"/plusDomains:v1/Activity/actor/name": name +"/plusDomains:v1/Activity/actor/name/familyName": family_name +"/plusDomains:v1/Activity/actor/name/givenName": given_name +"/plusDomains:v1/Activity/actor/url": url +"/plusDomains:v1/Activity/actor/verification": verification +"/plusDomains:v1/Activity/actor/verification/adHocVerified": ad_hoc_verified +"/plusDomains:v1/Activity/address": address +"/plusDomains:v1/Activity/annotation": annotation +"/plusDomains:v1/Activity/crosspostSource": crosspost_source +"/plusDomains:v1/Activity/etag": etag +"/plusDomains:v1/Activity/geocode": geocode +"/plusDomains:v1/Activity/id": id +"/plusDomains:v1/Activity/kind": kind +"/plusDomains:v1/Activity/location": location +"/plusDomains:v1/Activity/object": object +"/plusDomains:v1/Activity/object/actor": actor +"/plusDomains:v1/Activity/object/actor/clientSpecificActorInfo": client_specific_actor_info +"/plusDomains:v1/Activity/object/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plusDomains:v1/Activity/object/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plusDomains:v1/Activity/object/actor/displayName": display_name +"/plusDomains:v1/Activity/object/actor/id": id +"/plusDomains:v1/Activity/object/actor/image": image +"/plusDomains:v1/Activity/object/actor/image/url": url +"/plusDomains:v1/Activity/object/actor/url": url +"/plusDomains:v1/Activity/object/actor/verification": verification +"/plusDomains:v1/Activity/object/actor/verification/adHocVerified": ad_hoc_verified +"/plusDomains:v1/Activity/object/attachments": attachments +"/plusDomains:v1/Activity/object/attachments/attachment": attachment +"/plusDomains:v1/Activity/object/attachments/attachment/content": content +"/plusDomains:v1/Activity/object/attachments/attachment/displayName": display_name +"/plusDomains:v1/Activity/object/attachments/attachment/embed": embed +"/plusDomains:v1/Activity/object/attachments/attachment/embed/type": type +"/plusDomains:v1/Activity/object/attachments/attachment/embed/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/fullImage": full_image +"/plusDomains:v1/Activity/object/attachments/attachment/fullImage/height": height +"/plusDomains:v1/Activity/object/attachments/attachment/fullImage/type": type +"/plusDomains:v1/Activity/object/attachments/attachment/fullImage/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/fullImage/width": width +"/plusDomains:v1/Activity/object/attachments/attachment/id": id +"/plusDomains:v1/Activity/object/attachments/attachment/image": image +"/plusDomains:v1/Activity/object/attachments/attachment/image/height": height +"/plusDomains:v1/Activity/object/attachments/attachment/image/type": type +"/plusDomains:v1/Activity/object/attachments/attachment/image/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/image/width": width +"/plusDomains:v1/Activity/object/attachments/attachment/objectType": object_type +"/plusDomains:v1/Activity/object/attachments/attachment/previewThumbnails": preview_thumbnails +"/plusDomains:v1/Activity/object/attachments/attachment/previewThumbnails/preview_thumbnail": preview_thumbnail +"/plusDomains:v1/Activity/object/attachments/attachment/previewThumbnails/preview_thumbnail/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails": thumbnails +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail": thumbnail +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/description": description +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image": image +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/height": height +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/type": type +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/image/width": width +"/plusDomains:v1/Activity/object/attachments/attachment/thumbnails/thumbnail/url": url +"/plusDomains:v1/Activity/object/attachments/attachment/url": url +"/plusDomains:v1/Activity/object/content": content +"/plusDomains:v1/Activity/object/id": id +"/plusDomains:v1/Activity/object/objectType": object_type +"/plusDomains:v1/Activity/object/originalContent": original_content +"/plusDomains:v1/Activity/object/plusoners": plusoners +"/plusDomains:v1/Activity/object/plusoners/selfLink": self_link +"/plusDomains:v1/Activity/object/plusoners/totalItems": total_items +"/plusDomains:v1/Activity/object/replies": replies +"/plusDomains:v1/Activity/object/replies/selfLink": self_link +"/plusDomains:v1/Activity/object/replies/totalItems": total_items +"/plusDomains:v1/Activity/object/resharers": resharers +"/plusDomains:v1/Activity/object/resharers/selfLink": self_link +"/plusDomains:v1/Activity/object/resharers/totalItems": total_items +"/plusDomains:v1/Activity/object/statusForViewer": status_for_viewer +"/plusDomains:v1/Activity/object/statusForViewer/canComment": can_comment +"/plusDomains:v1/Activity/object/statusForViewer/canPlusone": can_plusone +"/plusDomains:v1/Activity/object/statusForViewer/canUpdate": can_update +"/plusDomains:v1/Activity/object/statusForViewer/isPlusOned": is_plus_oned +"/plusDomains:v1/Activity/object/statusForViewer/resharingDisabled": resharing_disabled +"/plusDomains:v1/Activity/object/url": url +"/plusDomains:v1/Activity/placeId": place_id +"/plusDomains:v1/Activity/placeName": place_name +"/plusDomains:v1/Activity/provider": provider +"/plusDomains:v1/Activity/provider/title": title +"/plusDomains:v1/Activity/published": published +"/plusDomains:v1/Activity/radius": radius +"/plusDomains:v1/Activity/title": title +"/plusDomains:v1/Activity/updated": updated +"/plusDomains:v1/Activity/url": url +"/plusDomains:v1/Activity/verb": verb +"/plusDomains:v1/ActivityFeed": activity_feed +"/plusDomains:v1/ActivityFeed/etag": etag +"/plusDomains:v1/ActivityFeed/id": id +"/plusDomains:v1/ActivityFeed/items": items +"/plusDomains:v1/ActivityFeed/items/item": item +"/plusDomains:v1/ActivityFeed/kind": kind +"/plusDomains:v1/ActivityFeed/nextLink": next_link +"/plusDomains:v1/ActivityFeed/nextPageToken": next_page_token +"/plusDomains:v1/ActivityFeed/selfLink": self_link +"/plusDomains:v1/ActivityFeed/title": title +"/plusDomains:v1/ActivityFeed/updated": updated +"/plusDomains:v1/Audience": audience +"/plusDomains:v1/Audience/etag": etag +"/plusDomains:v1/Audience/item": item +"/plusDomains:v1/Audience/kind": kind +"/plusDomains:v1/Audience/memberCount": member_count +"/plusDomains:v1/Audience/visibility": visibility +"/plusDomains:v1/AudiencesFeed": audiences_feed +"/plusDomains:v1/AudiencesFeed/etag": etag +"/plusDomains:v1/AudiencesFeed/items": items +"/plusDomains:v1/AudiencesFeed/items/item": item +"/plusDomains:v1/AudiencesFeed/kind": kind +"/plusDomains:v1/AudiencesFeed/nextPageToken": next_page_token +"/plusDomains:v1/AudiencesFeed/totalItems": total_items +"/plusDomains:v1/Circle": circle +"/plusDomains:v1/Circle/description": description +"/plusDomains:v1/Circle/displayName": display_name +"/plusDomains:v1/Circle/etag": etag +"/plusDomains:v1/Circle/id": id +"/plusDomains:v1/Circle/kind": kind +"/plusDomains:v1/Circle/people": people +"/plusDomains:v1/Circle/people/totalItems": total_items +"/plusDomains:v1/Circle/selfLink": self_link +"/plusDomains:v1/CircleFeed": circle_feed +"/plusDomains:v1/CircleFeed/etag": etag +"/plusDomains:v1/CircleFeed/items": items +"/plusDomains:v1/CircleFeed/items/item": item +"/plusDomains:v1/CircleFeed/kind": kind +"/plusDomains:v1/CircleFeed/nextLink": next_link +"/plusDomains:v1/CircleFeed/nextPageToken": next_page_token +"/plusDomains:v1/CircleFeed/selfLink": self_link +"/plusDomains:v1/CircleFeed/title": title +"/plusDomains:v1/CircleFeed/totalItems": total_items +"/plusDomains:v1/Comment": comment +"/plusDomains:v1/Comment/actor": actor +"/plusDomains:v1/Comment/actor/clientSpecificActorInfo": client_specific_actor_info +"/plusDomains:v1/Comment/actor/clientSpecificActorInfo/youtubeActorInfo": youtube_actor_info +"/plusDomains:v1/Comment/actor/clientSpecificActorInfo/youtubeActorInfo/channelId": channel_id +"/plusDomains:v1/Comment/actor/displayName": display_name +"/plusDomains:v1/Comment/actor/id": id +"/plusDomains:v1/Comment/actor/image": image +"/plusDomains:v1/Comment/actor/image/url": url +"/plusDomains:v1/Comment/actor/url": url +"/plusDomains:v1/Comment/actor/verification": verification +"/plusDomains:v1/Comment/actor/verification/adHocVerified": ad_hoc_verified +"/plusDomains:v1/Comment/etag": etag +"/plusDomains:v1/Comment/id": id +"/plusDomains:v1/Comment/inReplyTo": in_reply_to +"/plusDomains:v1/Comment/inReplyTo/in_reply_to": in_reply_to +"/plusDomains:v1/Comment/inReplyTo/in_reply_to/id": id +"/plusDomains:v1/Comment/inReplyTo/in_reply_to/url": url +"/plusDomains:v1/Comment/kind": kind +"/plusDomains:v1/Comment/object": object +"/plusDomains:v1/Comment/object/content": content +"/plusDomains:v1/Comment/object/objectType": object_type +"/plusDomains:v1/Comment/object/originalContent": original_content +"/plusDomains:v1/Comment/plusoners": plusoners +"/plusDomains:v1/Comment/plusoners/totalItems": total_items +"/plusDomains:v1/Comment/published": published +"/plusDomains:v1/Comment/selfLink": self_link +"/plusDomains:v1/Comment/updated": updated +"/plusDomains:v1/Comment/verb": verb +"/plusDomains:v1/CommentFeed": comment_feed +"/plusDomains:v1/CommentFeed/etag": etag +"/plusDomains:v1/CommentFeed/id": id +"/plusDomains:v1/CommentFeed/items": items +"/plusDomains:v1/CommentFeed/items/item": item +"/plusDomains:v1/CommentFeed/kind": kind +"/plusDomains:v1/CommentFeed/nextLink": next_link +"/plusDomains:v1/CommentFeed/nextPageToken": next_page_token +"/plusDomains:v1/CommentFeed/title": title +"/plusDomains:v1/CommentFeed/updated": updated +"/plusDomains:v1/Media": media +"/plusDomains:v1/Media/author": author +"/plusDomains:v1/Media/author/displayName": display_name +"/plusDomains:v1/Media/author/id": id +"/plusDomains:v1/Media/author/image": image +"/plusDomains:v1/Media/author/image/url": url +"/plusDomains:v1/Media/author/url": url +"/plusDomains:v1/Media/displayName": display_name +"/plusDomains:v1/Media/etag": etag +"/plusDomains:v1/Media/exif": exif +"/plusDomains:v1/Media/exif/time": time +"/plusDomains:v1/Media/height": height +"/plusDomains:v1/Media/id": id +"/plusDomains:v1/Media/kind": kind +"/plusDomains:v1/Media/mediaCreatedTime": media_created_time +"/plusDomains:v1/Media/mediaUrl": media_url +"/plusDomains:v1/Media/published": published +"/plusDomains:v1/Media/sizeBytes": size_bytes +"/plusDomains:v1/Media/streams": streams +"/plusDomains:v1/Media/streams/stream": stream +"/plusDomains:v1/Media/summary": summary +"/plusDomains:v1/Media/updated": updated +"/plusDomains:v1/Media/url": url +"/plusDomains:v1/Media/videoDuration": video_duration +"/plusDomains:v1/Media/videoStatus": video_status +"/plusDomains:v1/Media/width": width +"/plusDomains:v1/PeopleFeed": people_feed +"/plusDomains:v1/PeopleFeed/etag": etag +"/plusDomains:v1/PeopleFeed/items": items +"/plusDomains:v1/PeopleFeed/items/item": item +"/plusDomains:v1/PeopleFeed/kind": kind +"/plusDomains:v1/PeopleFeed/nextPageToken": next_page_token +"/plusDomains:v1/PeopleFeed/selfLink": self_link +"/plusDomains:v1/PeopleFeed/title": title +"/plusDomains:v1/PeopleFeed/totalItems": total_items +"/plusDomains:v1/Person": person +"/plusDomains:v1/Person/aboutMe": about_me +"/plusDomains:v1/Person/birthday": birthday +"/plusDomains:v1/Person/braggingRights": bragging_rights +"/plusDomains:v1/Person/circledByCount": circled_by_count +"/plusDomains:v1/Person/cover": cover +"/plusDomains:v1/Person/cover/coverInfo": cover_info +"/plusDomains:v1/Person/cover/coverInfo/leftImageOffset": left_image_offset +"/plusDomains:v1/Person/cover/coverInfo/topImageOffset": top_image_offset +"/plusDomains:v1/Person/cover/coverPhoto": cover_photo +"/plusDomains:v1/Person/cover/coverPhoto/height": height +"/plusDomains:v1/Person/cover/coverPhoto/url": url +"/plusDomains:v1/Person/cover/coverPhoto/width": width +"/plusDomains:v1/Person/cover/layout": layout +"/plusDomains:v1/Person/currentLocation": current_location +"/plusDomains:v1/Person/displayName": display_name +"/plusDomains:v1/Person/domain": domain +"/plusDomains:v1/Person/emails": emails +"/plusDomains:v1/Person/emails/email": email +"/plusDomains:v1/Person/emails/email/type": type +"/plusDomains:v1/Person/emails/email/value": value +"/plusDomains:v1/Person/etag": etag +"/plusDomains:v1/Person/gender": gender +"/plusDomains:v1/Person/id": id +"/plusDomains:v1/Person/image": image +"/plusDomains:v1/Person/image/isDefault": is_default +"/plusDomains:v1/Person/image/url": url +"/plusDomains:v1/Person/isPlusUser": is_plus_user +"/plusDomains:v1/Person/kind": kind +"/plusDomains:v1/Person/name": name +"/plusDomains:v1/Person/name/familyName": family_name +"/plusDomains:v1/Person/name/formatted": formatted +"/plusDomains:v1/Person/name/givenName": given_name +"/plusDomains:v1/Person/name/honorificPrefix": honorific_prefix +"/plusDomains:v1/Person/name/honorificSuffix": honorific_suffix +"/plusDomains:v1/Person/name/middleName": middle_name +"/plusDomains:v1/Person/nickname": nickname +"/plusDomains:v1/Person/objectType": object_type +"/plusDomains:v1/Person/occupation": occupation +"/plusDomains:v1/Person/organizations": organizations +"/plusDomains:v1/Person/organizations/organization": organization +"/plusDomains:v1/Person/organizations/organization/department": department +"/plusDomains:v1/Person/organizations/organization/description": description +"/plusDomains:v1/Person/organizations/organization/endDate": end_date +"/plusDomains:v1/Person/organizations/organization/location": location +"/plusDomains:v1/Person/organizations/organization/name": name +"/plusDomains:v1/Person/organizations/organization/primary": primary +"/plusDomains:v1/Person/organizations/organization/startDate": start_date +"/plusDomains:v1/Person/organizations/organization/title": title +"/plusDomains:v1/Person/organizations/organization/type": type +"/plusDomains:v1/Person/placesLived": places_lived +"/plusDomains:v1/Person/placesLived/places_lived": places_lived +"/plusDomains:v1/Person/placesLived/places_lived/primary": primary +"/plusDomains:v1/Person/placesLived/places_lived/value": value +"/plusDomains:v1/Person/plusOneCount": plus_one_count +"/plusDomains:v1/Person/relationshipStatus": relationship_status +"/plusDomains:v1/Person/skills": skills +"/plusDomains:v1/Person/tagline": tagline +"/plusDomains:v1/Person/url": url +"/plusDomains:v1/Person/urls": urls +"/plusDomains:v1/Person/urls/url": url +"/plusDomains:v1/Person/urls/url/label": label +"/plusDomains:v1/Person/urls/url/type": type +"/plusDomains:v1/Person/urls/url/value": value +"/plusDomains:v1/Person/verified": verified +"/plusDomains:v1/Place": place +"/plusDomains:v1/Place/address": address +"/plusDomains:v1/Place/address/formatted": formatted +"/plusDomains:v1/Place/displayName": display_name +"/plusDomains:v1/Place/id": id +"/plusDomains:v1/Place/kind": kind +"/plusDomains:v1/Place/position": position +"/plusDomains:v1/Place/position/latitude": latitude +"/plusDomains:v1/Place/position/longitude": longitude +"/plusDomains:v1/PlusDomainsAclentryResource": plus_domains_aclentry_resource +"/plusDomains:v1/PlusDomainsAclentryResource/displayName": display_name +"/plusDomains:v1/PlusDomainsAclentryResource/id": id +"/plusDomains:v1/PlusDomainsAclentryResource/type": type +"/plusDomains:v1/Videostream": videostream +"/plusDomains:v1/Videostream/height": height +"/plusDomains:v1/Videostream/type": type +"/plusDomains:v1/Videostream/url": url +"/plusDomains:v1/Videostream/width": width +"/prediction:v1.6/fields": fields +"/prediction:v1.6/key": key +"/prediction:v1.6/quotaUser": quota_user +"/prediction:v1.6/userIp": user_ip +"/prediction:v1.6/prediction.hostedmodels.predict/hostedModelName": hosted_model_name +"/prediction:v1.6/prediction.hostedmodels.predict/project": project +"/prediction:v1.6/prediction.trainedmodels.analyze/id": id +"/prediction:v1.6/prediction.trainedmodels.analyze/project": project +"/prediction:v1.6/prediction.trainedmodels.delete/id": id +"/prediction:v1.6/prediction.trainedmodels.delete/project": project +"/prediction:v1.6/prediction.trainedmodels.get/id": id +"/prediction:v1.6/prediction.trainedmodels.get/project": project +"/prediction:v1.6/prediction.trainedmodels.insert/project": project +"/prediction:v1.6/prediction.trainedmodels.list/maxResults": max_results +"/prediction:v1.6/prediction.trainedmodels.list/pageToken": page_token +"/prediction:v1.6/prediction.trainedmodels.list/project": project +"/prediction:v1.6/prediction.trainedmodels.predict/id": id +"/prediction:v1.6/prediction.trainedmodels.predict/project": project +"/prediction:v1.6/prediction.trainedmodels.update/id": id +"/prediction:v1.6/prediction.trainedmodels.update/project": project +"/prediction:v1.6/Analyze": analyze +"/prediction:v1.6/Analyze/dataDescription": data_description +"/prediction:v1.6/Analyze/dataDescription/features": features +"/prediction:v1.6/Analyze/dataDescription/features/feature": feature +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical": categorical +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical/count": count +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical/values": values +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical/values/value": value +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical/values/value/count": count +"/prediction:v1.6/Analyze/dataDescription/features/feature/categorical/values/value/value": value +"/prediction:v1.6/Analyze/dataDescription/features/feature/index": index +"/prediction:v1.6/Analyze/dataDescription/features/feature/numeric": numeric +"/prediction:v1.6/Analyze/dataDescription/features/feature/numeric/count": count +"/prediction:v1.6/Analyze/dataDescription/features/feature/numeric/mean": mean +"/prediction:v1.6/Analyze/dataDescription/features/feature/numeric/variance": variance +"/prediction:v1.6/Analyze/dataDescription/features/feature/text": text +"/prediction:v1.6/Analyze/dataDescription/features/feature/text/count": count +"/prediction:v1.6/Analyze/dataDescription/outputFeature": output_feature +"/prediction:v1.6/Analyze/dataDescription/outputFeature/numeric": numeric +"/prediction:v1.6/Analyze/dataDescription/outputFeature/numeric/count": count +"/prediction:v1.6/Analyze/dataDescription/outputFeature/numeric/mean": mean +"/prediction:v1.6/Analyze/dataDescription/outputFeature/numeric/variance": variance +"/prediction:v1.6/Analyze/dataDescription/outputFeature/text": text +"/prediction:v1.6/Analyze/dataDescription/outputFeature/text/text": text +"/prediction:v1.6/Analyze/dataDescription/outputFeature/text/text/count": count +"/prediction:v1.6/Analyze/dataDescription/outputFeature/text/text/value": value +"/prediction:v1.6/Analyze/errors": errors +"/prediction:v1.6/Analyze/errors/error": error +"/prediction:v1.6/Analyze/errors/error/error": error +"/prediction:v1.6/Analyze/id": id +"/prediction:v1.6/Analyze/kind": kind +"/prediction:v1.6/Analyze/modelDescription": model_description +"/prediction:v1.6/Analyze/modelDescription/confusionMatrix": confusion_matrix +"/prediction:v1.6/Analyze/modelDescription/confusionMatrix/confusion_matrix": confusion_matrix +"/prediction:v1.6/Analyze/modelDescription/confusionMatrix/confusion_matrix/confusion_matrix": confusion_matrix +"/prediction:v1.6/Analyze/modelDescription/confusionMatrixRowTotals": confusion_matrix_row_totals +"/prediction:v1.6/Analyze/modelDescription/confusionMatrixRowTotals/confusion_matrix_row_total": confusion_matrix_row_total +"/prediction:v1.6/Analyze/modelDescription/modelinfo": modelinfo +"/prediction:v1.6/Analyze/selfLink": self_link +"/prediction:v1.6/Input": input +"/prediction:v1.6/Input/input": input +"/prediction:v1.6/Input/input/csvInstance": csv_instance +"/prediction:v1.6/Input/input/csvInstance/csv_instance": csv_instance +"/prediction:v1.6/Insert": insert +"/prediction:v1.6/Insert/id": id +"/prediction:v1.6/Insert/modelType": model_type +"/prediction:v1.6/Insert/sourceModel": source_model +"/prediction:v1.6/Insert/storageDataLocation": storage_data_location +"/prediction:v1.6/Insert/storagePMMLLocation": storage_pmml_location +"/prediction:v1.6/Insert/storagePMMLModelLocation": storage_pmml_model_location +"/prediction:v1.6/Insert/trainingInstances": training_instances +"/prediction:v1.6/Insert/trainingInstances/training_instance": training_instance +"/prediction:v1.6/Insert/trainingInstances/training_instance/csvInstance": csv_instance +"/prediction:v1.6/Insert/trainingInstances/training_instance/csvInstance/csv_instance": csv_instance +"/prediction:v1.6/Insert/trainingInstances/training_instance/output": output +"/prediction:v1.6/Insert/utility": utility +"/prediction:v1.6/Insert/utility/utility": utility +"/prediction:v1.6/Insert/utility/utility/utility": utility +"/prediction:v1.6/Insert2": insert2 +"/prediction:v1.6/Insert2/created": created +"/prediction:v1.6/Insert2/id": id +"/prediction:v1.6/Insert2/kind": kind +"/prediction:v1.6/Insert2/modelInfo": model_info +"/prediction:v1.6/Insert2/modelInfo/classWeightedAccuracy": class_weighted_accuracy +"/prediction:v1.6/Insert2/modelInfo/classificationAccuracy": classification_accuracy +"/prediction:v1.6/Insert2/modelInfo/meanSquaredError": mean_squared_error +"/prediction:v1.6/Insert2/modelInfo/modelType": model_type +"/prediction:v1.6/Insert2/modelInfo/numberInstances": number_instances +"/prediction:v1.6/Insert2/modelInfo/numberLabels": number_labels +"/prediction:v1.6/Insert2/modelType": model_type +"/prediction:v1.6/Insert2/selfLink": self_link +"/prediction:v1.6/Insert2/storageDataLocation": storage_data_location +"/prediction:v1.6/Insert2/storagePMMLLocation": storage_pmml_location +"/prediction:v1.6/Insert2/storagePMMLModelLocation": storage_pmml_model_location +"/prediction:v1.6/Insert2/trainingComplete": training_complete +"/prediction:v1.6/Insert2/trainingStatus": training_status +"/prediction:v1.6/List": list +"/prediction:v1.6/List/items": items +"/prediction:v1.6/List/items/item": item +"/prediction:v1.6/List/kind": kind +"/prediction:v1.6/List/nextPageToken": next_page_token +"/prediction:v1.6/List/selfLink": self_link +"/prediction:v1.6/Output": output +"/prediction:v1.6/Output/id": id +"/prediction:v1.6/Output/kind": kind +"/prediction:v1.6/Output/outputLabel": output_label +"/prediction:v1.6/Output/outputMulti": output_multi +"/prediction:v1.6/Output/outputMulti/output_multi": output_multi +"/prediction:v1.6/Output/outputMulti/output_multi/label": label +"/prediction:v1.6/Output/outputMulti/output_multi/score": score +"/prediction:v1.6/Output/outputValue": output_value +"/prediction:v1.6/Output/selfLink": self_link +"/prediction:v1.6/Update": update +"/prediction:v1.6/Update/csvInstance": csv_instance +"/prediction:v1.6/Update/csvInstance/csv_instance": csv_instance +"/prediction:v1.6/Update/output": output +"/pubsub:v1/key": key +"/pubsub:v1/quotaUser": quota_user +"/pubsub:v1/fields": fields +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription +"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.subscriptions.list/project": project +"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.create/name": name +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription +"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.publish": publish_topic +"/pubsub:v1/pubsub.projects.topics.publish/topic": topic +"/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.list/project": project +"/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.topics.get/topic": topic +"/pubsub:v1/pubsub.projects.topics.create/name": name +"/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.delete/topic": topic +"/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions +"/pubsub:v1/pubsub.projects.topics.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource +"/pubsub:v1/Topic": topic +"/pubsub:v1/Topic/name": name +"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request +"/pubsub:v1/SetIamPolicyRequest/policy": policy +"/pubsub:v1/ReceivedMessage": received_message +"/pubsub:v1/ReceivedMessage/ackId": ack_id +"/pubsub:v1/ReceivedMessage/message": message +"/pubsub:v1/PublishRequest": publish_request +"/pubsub:v1/PublishRequest/messages": messages +"/pubsub:v1/PublishRequest/messages/message": message +"/pubsub:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/pubsub:v1/TestIamPermissionsResponse/permissions": permissions +"/pubsub:v1/TestIamPermissionsResponse/permissions/permission": permission +"/pubsub:v1/PublishResponse": publish_response +"/pubsub:v1/PublishResponse/messageIds": message_ids +"/pubsub:v1/PublishResponse/messageIds/message_id": message_id +"/pubsub:v1/ListSubscriptionsResponse": list_subscriptions_response +"/pubsub:v1/ListSubscriptionsResponse/subscriptions": subscriptions +"/pubsub:v1/ListSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListSubscriptionsResponse/nextPageToken": next_page_token +"/pubsub:v1/Policy": policy +"/pubsub:v1/Policy/bindings": bindings +"/pubsub:v1/Policy/bindings/binding": binding +"/pubsub:v1/Policy/etag": etag +"/pubsub:v1/Policy/version": version +"/pubsub:v1/ListTopicSubscriptionsResponse": list_topic_subscriptions_response +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions": subscriptions +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListTopicSubscriptionsResponse/nextPageToken": next_page_token +"/pubsub:v1/Subscription": subscription +"/pubsub:v1/Subscription/pushConfig": push_config +"/pubsub:v1/Subscription/topic": topic +"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/Subscription/name": name +"/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request +"/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id +"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/pubsub:v1/TestIamPermissionsRequest/permissions": permissions +"/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission +"/pubsub:v1/PushConfig": push_config +"/pubsub:v1/PushConfig/attributes": attributes +"/pubsub:v1/PushConfig/attributes/attribute": attribute +"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint +"/pubsub:v1/PullRequest": pull_request +"/pubsub:v1/PullRequest/returnImmediately": return_immediately +"/pubsub:v1/PullRequest/maxMessages": max_messages +"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request +"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config +"/pubsub:v1/PullResponse": pull_response +"/pubsub:v1/PullResponse/receivedMessages": received_messages +"/pubsub:v1/PullResponse/receivedMessages/received_message": received_message +"/pubsub:v1/PubsubMessage/data": data +"/pubsub:v1/PubsubMessage/attributes": attributes +"/pubsub:v1/PubsubMessage/attributes/attribute": attribute +"/pubsub:v1/PubsubMessage/messageId": message_id +"/pubsub:v1/PubsubMessage/publishTime": publish_time +"/pubsub:v1/AcknowledgeRequest": acknowledge_request +"/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids +"/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id +"/pubsub:v1/Empty": empty +"/pubsub:v1/ListTopicsResponse": list_topics_response +"/pubsub:v1/ListTopicsResponse/nextPageToken": next_page_token +"/pubsub:v1/ListTopicsResponse/topics": topics +"/pubsub:v1/ListTopicsResponse/topics/topic": topic +"/pubsub:v1/Binding": binding +"/pubsub:v1/Binding/members": members +"/pubsub:v1/Binding/members/member": member +"/pubsub:v1/Binding/role": role +"/qpxExpress:v1/fields": fields +"/qpxExpress:v1/key": key +"/qpxExpress:v1/quotaUser": quota_user +"/qpxExpress:v1/userIp": user_ip +"/qpxExpress:v1/qpxExpress.trips.search": search_trips +"/qpxExpress:v1/AircraftData": aircraft_data +"/qpxExpress:v1/AircraftData/code": code +"/qpxExpress:v1/AircraftData/kind": kind +"/qpxExpress:v1/AircraftData/name": name +"/qpxExpress:v1/AirportData": airport_data +"/qpxExpress:v1/AirportData/city": city +"/qpxExpress:v1/AirportData/code": code +"/qpxExpress:v1/AirportData/kind": kind +"/qpxExpress:v1/AirportData/name": name +"/qpxExpress:v1/BagDescriptor": bag_descriptor +"/qpxExpress:v1/BagDescriptor/commercialName": commercial_name +"/qpxExpress:v1/BagDescriptor/count": count +"/qpxExpress:v1/BagDescriptor/description": description +"/qpxExpress:v1/BagDescriptor/description/description": description +"/qpxExpress:v1/BagDescriptor/kind": kind +"/qpxExpress:v1/BagDescriptor/subcode": subcode +"/qpxExpress:v1/CarrierData": carrier_data +"/qpxExpress:v1/CarrierData/code": code +"/qpxExpress:v1/CarrierData/kind": kind +"/qpxExpress:v1/CarrierData/name": name +"/qpxExpress:v1/CityData": city_data +"/qpxExpress:v1/CityData/code": code +"/qpxExpress:v1/CityData/country": country +"/qpxExpress:v1/CityData/kind": kind +"/qpxExpress:v1/CityData/name": name +"/qpxExpress:v1/Data": data +"/qpxExpress:v1/Data/aircraft": aircraft +"/qpxExpress:v1/Data/aircraft/aircraft": aircraft +"/qpxExpress:v1/Data/airport": airport +"/qpxExpress:v1/Data/airport/airport": airport +"/qpxExpress:v1/Data/carrier": carrier +"/qpxExpress:v1/Data/carrier/carrier": carrier +"/qpxExpress:v1/Data/city": city +"/qpxExpress:v1/Data/city/city": city +"/qpxExpress:v1/Data/kind": kind +"/qpxExpress:v1/Data/tax": tax +"/qpxExpress:v1/Data/tax/tax": tax +"/qpxExpress:v1/FareInfo": fare_info +"/qpxExpress:v1/FareInfo/basisCode": basis_code +"/qpxExpress:v1/FareInfo/carrier": carrier +"/qpxExpress:v1/FareInfo/destination": destination +"/qpxExpress:v1/FareInfo/id": id +"/qpxExpress:v1/FareInfo/kind": kind +"/qpxExpress:v1/FareInfo/origin": origin +"/qpxExpress:v1/FareInfo/private": private +"/qpxExpress:v1/FlightInfo": flight_info +"/qpxExpress:v1/FlightInfo/carrier": carrier +"/qpxExpress:v1/FlightInfo/number": number +"/qpxExpress:v1/FreeBaggageAllowance": free_baggage_allowance +"/qpxExpress:v1/FreeBaggageAllowance/bagDescriptor": bag_descriptor +"/qpxExpress:v1/FreeBaggageAllowance/bagDescriptor/bag_descriptor": bag_descriptor +"/qpxExpress:v1/FreeBaggageAllowance/kilos": kilos +"/qpxExpress:v1/FreeBaggageAllowance/kilosPerPiece": kilos_per_piece +"/qpxExpress:v1/FreeBaggageAllowance/kind": kind +"/qpxExpress:v1/FreeBaggageAllowance/pieces": pieces +"/qpxExpress:v1/FreeBaggageAllowance/pounds": pounds +"/qpxExpress:v1/LegInfo": leg_info +"/qpxExpress:v1/LegInfo/aircraft": aircraft +"/qpxExpress:v1/LegInfo/arrivalTime": arrival_time +"/qpxExpress:v1/LegInfo/changePlane": change_plane +"/qpxExpress:v1/LegInfo/connectionDuration": connection_duration +"/qpxExpress:v1/LegInfo/departureTime": departure_time +"/qpxExpress:v1/LegInfo/destination": destination +"/qpxExpress:v1/LegInfo/destinationTerminal": destination_terminal +"/qpxExpress:v1/LegInfo/duration": duration +"/qpxExpress:v1/LegInfo/id": id +"/qpxExpress:v1/LegInfo/kind": kind +"/qpxExpress:v1/LegInfo/meal": meal +"/qpxExpress:v1/LegInfo/mileage": mileage +"/qpxExpress:v1/LegInfo/onTimePerformance": on_time_performance +"/qpxExpress:v1/LegInfo/operatingDisclosure": operating_disclosure +"/qpxExpress:v1/LegInfo/origin": origin +"/qpxExpress:v1/LegInfo/originTerminal": origin_terminal +"/qpxExpress:v1/LegInfo/secure": secure +"/qpxExpress:v1/PassengerCounts": passenger_counts +"/qpxExpress:v1/PassengerCounts/adultCount": adult_count +"/qpxExpress:v1/PassengerCounts/childCount": child_count +"/qpxExpress:v1/PassengerCounts/infantInLapCount": infant_in_lap_count +"/qpxExpress:v1/PassengerCounts/infantInSeatCount": infant_in_seat_count +"/qpxExpress:v1/PassengerCounts/kind": kind +"/qpxExpress:v1/PassengerCounts/seniorCount": senior_count +"/qpxExpress:v1/PricingInfo": pricing_info +"/qpxExpress:v1/PricingInfo/baseFareTotal": base_fare_total +"/qpxExpress:v1/PricingInfo/fare": fare +"/qpxExpress:v1/PricingInfo/fare/fare": fare +"/qpxExpress:v1/PricingInfo/fareCalculation": fare_calculation +"/qpxExpress:v1/PricingInfo/kind": kind +"/qpxExpress:v1/PricingInfo/latestTicketingTime": latest_ticketing_time +"/qpxExpress:v1/PricingInfo/passengers": passengers +"/qpxExpress:v1/PricingInfo/ptc": ptc +"/qpxExpress:v1/PricingInfo/refundable": refundable +"/qpxExpress:v1/PricingInfo/saleFareTotal": sale_fare_total +"/qpxExpress:v1/PricingInfo/saleTaxTotal": sale_tax_total +"/qpxExpress:v1/PricingInfo/saleTotal": sale_total +"/qpxExpress:v1/PricingInfo/segmentPricing": segment_pricing +"/qpxExpress:v1/PricingInfo/segmentPricing/segment_pricing": segment_pricing +"/qpxExpress:v1/PricingInfo/tax": tax +"/qpxExpress:v1/PricingInfo/tax/tax": tax +"/qpxExpress:v1/SegmentInfo": segment_info +"/qpxExpress:v1/SegmentInfo/bookingCode": booking_code +"/qpxExpress:v1/SegmentInfo/bookingCodeCount": booking_code_count +"/qpxExpress:v1/SegmentInfo/cabin": cabin +"/qpxExpress:v1/SegmentInfo/connectionDuration": connection_duration +"/qpxExpress:v1/SegmentInfo/duration": duration +"/qpxExpress:v1/SegmentInfo/flight": flight +"/qpxExpress:v1/SegmentInfo/id": id +"/qpxExpress:v1/SegmentInfo/kind": kind +"/qpxExpress:v1/SegmentInfo/leg": leg +"/qpxExpress:v1/SegmentInfo/leg/leg": leg +"/qpxExpress:v1/SegmentInfo/marriedSegmentGroup": married_segment_group +"/qpxExpress:v1/SegmentInfo/subjectToGovernmentApproval": subject_to_government_approval +"/qpxExpress:v1/SegmentPricing": segment_pricing +"/qpxExpress:v1/SegmentPricing/fareId": fare_id +"/qpxExpress:v1/SegmentPricing/freeBaggageOption": free_baggage_option +"/qpxExpress:v1/SegmentPricing/freeBaggageOption/free_baggage_option": free_baggage_option +"/qpxExpress:v1/SegmentPricing/kind": kind +"/qpxExpress:v1/SegmentPricing/segmentId": segment_id +"/qpxExpress:v1/SliceInfo": slice_info +"/qpxExpress:v1/SliceInfo/duration": duration +"/qpxExpress:v1/SliceInfo/kind": kind +"/qpxExpress:v1/SliceInfo/segment": segment +"/qpxExpress:v1/SliceInfo/segment/segment": segment +"/qpxExpress:v1/SliceInput": slice_input +"/qpxExpress:v1/SliceInput/alliance": alliance +"/qpxExpress:v1/SliceInput/date": date +"/qpxExpress:v1/SliceInput/destination": destination +"/qpxExpress:v1/SliceInput/kind": kind +"/qpxExpress:v1/SliceInput/maxConnectionDuration": max_connection_duration +"/qpxExpress:v1/SliceInput/maxStops": max_stops +"/qpxExpress:v1/SliceInput/origin": origin +"/qpxExpress:v1/SliceInput/permittedCarrier": permitted_carrier +"/qpxExpress:v1/SliceInput/permittedCarrier/permitted_carrier": permitted_carrier +"/qpxExpress:v1/SliceInput/permittedDepartureTime": permitted_departure_time +"/qpxExpress:v1/SliceInput/preferredCabin": preferred_cabin +"/qpxExpress:v1/SliceInput/prohibitedCarrier": prohibited_carrier +"/qpxExpress:v1/SliceInput/prohibitedCarrier/prohibited_carrier": prohibited_carrier +"/qpxExpress:v1/TaxData": tax_data +"/qpxExpress:v1/TaxData/id": id +"/qpxExpress:v1/TaxData/kind": kind +"/qpxExpress:v1/TaxData/name": name +"/qpxExpress:v1/TaxInfo": tax_info +"/qpxExpress:v1/TaxInfo/chargeType": charge_type +"/qpxExpress:v1/TaxInfo/code": code +"/qpxExpress:v1/TaxInfo/country": country +"/qpxExpress:v1/TaxInfo/id": id +"/qpxExpress:v1/TaxInfo/kind": kind +"/qpxExpress:v1/TaxInfo/salePrice": sale_price +"/qpxExpress:v1/TimeOfDayRange": time_of_day_range +"/qpxExpress:v1/TimeOfDayRange/earliestTime": earliest_time +"/qpxExpress:v1/TimeOfDayRange/kind": kind +"/qpxExpress:v1/TimeOfDayRange/latestTime": latest_time +"/qpxExpress:v1/TripOption": trip_option +"/qpxExpress:v1/TripOption/id": id +"/qpxExpress:v1/TripOption/kind": kind +"/qpxExpress:v1/TripOption/pricing": pricing +"/qpxExpress:v1/TripOption/pricing/pricing": pricing +"/qpxExpress:v1/TripOption/saleTotal": sale_total +"/qpxExpress:v1/TripOption/slice": slice +"/qpxExpress:v1/TripOption/slice/slice": slice +"/qpxExpress:v1/TripOptionsRequest": trip_options_request +"/qpxExpress:v1/TripOptionsRequest/maxPrice": max_price +"/qpxExpress:v1/TripOptionsRequest/passengers": passengers +"/qpxExpress:v1/TripOptionsRequest/refundable": refundable +"/qpxExpress:v1/TripOptionsRequest/saleCountry": sale_country +"/qpxExpress:v1/TripOptionsRequest/slice": slice +"/qpxExpress:v1/TripOptionsRequest/slice/slice": slice +"/qpxExpress:v1/TripOptionsRequest/solutions": solutions +"/qpxExpress:v1/TripOptionsRequest/ticketingCountry": ticketing_country +"/qpxExpress:v1/TripOptionsResponse": trip_options_response +"/qpxExpress:v1/TripOptionsResponse/data": data +"/qpxExpress:v1/TripOptionsResponse/kind": kind +"/qpxExpress:v1/TripOptionsResponse/requestId": request_id +"/qpxExpress:v1/TripOptionsResponse/tripOption": trip_option +"/qpxExpress:v1/TripOptionsResponse/tripOption/trip_option": trip_option +"/qpxExpress:v1/TripsSearchRequest/request": request +"/qpxExpress:v1/TripsSearchResponse/kind": kind +"/qpxExpress:v1/TripsSearchResponse/trips": trips +"/replicapool:v1beta2/fields": fields +"/replicapool:v1beta2/key": key +"/replicapool:v1beta2/quotaUser": quota_user +"/replicapool:v1beta2/userIp": user_ip +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.abandonInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete": delete_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.delete/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.deleteInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get": get_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.get/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert": insert_instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/size": size +"/replicapool:v1beta2/replicapool.instanceGroupManagers.insert/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list": list_instance_group_managers +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/filter": filter +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/maxResults": max_results +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/pageToken": page_token +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.list/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.recreateInstances/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/size": size +"/replicapool:v1beta2/replicapool.instanceGroupManagers.resize/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setInstanceTemplate/zone": zone +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/project": project +"/replicapool:v1beta2/replicapool.instanceGroupManagers.setTargetPools/zone": zone +"/replicapool:v1beta2/replicapool.zoneOperations.get": get_zone_operation +"/replicapool:v1beta2/replicapool.zoneOperations.get/operation": operation +"/replicapool:v1beta2/replicapool.zoneOperations.get/project": project +"/replicapool:v1beta2/replicapool.zoneOperations.get/zone": zone +"/replicapool:v1beta2/replicapool.zoneOperations.list": list_zone_operations +"/replicapool:v1beta2/replicapool.zoneOperations.list/filter": filter +"/replicapool:v1beta2/replicapool.zoneOperations.list/maxResults": max_results +"/replicapool:v1beta2/replicapool.zoneOperations.list/pageToken": page_token +"/replicapool:v1beta2/replicapool.zoneOperations.list/project": project +"/replicapool:v1beta2/replicapool.zoneOperations.list/zone": zone +"/replicapool:v1beta2/InstanceGroupManager": instance_group_manager +"/replicapool:v1beta2/InstanceGroupManager/autoHealingPolicies": auto_healing_policies +"/replicapool:v1beta2/InstanceGroupManager/autoHealingPolicies/auto_healing_policy": auto_healing_policy +"/replicapool:v1beta2/InstanceGroupManager/baseInstanceName": base_instance_name +"/replicapool:v1beta2/InstanceGroupManager/creationTimestamp": creation_timestamp +"/replicapool:v1beta2/InstanceGroupManager/currentSize": current_size +"/replicapool:v1beta2/InstanceGroupManager/description": description +"/replicapool:v1beta2/InstanceGroupManager/fingerprint": fingerprint +"/replicapool:v1beta2/InstanceGroupManager/group": group +"/replicapool:v1beta2/InstanceGroupManager/id": id +"/replicapool:v1beta2/InstanceGroupManager/instanceTemplate": instance_template +"/replicapool:v1beta2/InstanceGroupManager/kind": kind +"/replicapool:v1beta2/InstanceGroupManager/name": name +"/replicapool:v1beta2/InstanceGroupManager/selfLink": self_link +"/replicapool:v1beta2/InstanceGroupManager/targetPools": target_pools +"/replicapool:v1beta2/InstanceGroupManager/targetPools/target_pool": target_pool +"/replicapool:v1beta2/InstanceGroupManager/targetSize": target_size +"/replicapool:v1beta2/InstanceGroupManagerList": instance_group_manager_list +"/replicapool:v1beta2/InstanceGroupManagerList/id": id +"/replicapool:v1beta2/InstanceGroupManagerList/items": items +"/replicapool:v1beta2/InstanceGroupManagerList/items/item": item +"/replicapool:v1beta2/InstanceGroupManagerList/kind": kind +"/replicapool:v1beta2/InstanceGroupManagerList/nextPageToken": next_page_token +"/replicapool:v1beta2/InstanceGroupManagerList/selfLink": self_link +"/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest/instances": instances +"/replicapool:v1beta2/InstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest/instances": instances +"/replicapool:v1beta2/InstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest/instances": instances +"/replicapool:v1beta2/InstanceGroupManagersRecreateInstancesRequest/instances/instance": instance +"/replicapool:v1beta2/InstanceGroupManagersSetInstanceTemplateRequest/instanceTemplate": instance_template +"/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/replicapool:v1beta2/InstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/replicapool:v1beta2/Operation": operation +"/replicapool:v1beta2/Operation/clientOperationId": client_operation_id +"/replicapool:v1beta2/Operation/creationTimestamp": creation_timestamp +"/replicapool:v1beta2/Operation/endTime": end_time +"/replicapool:v1beta2/Operation/error": error +"/replicapool:v1beta2/Operation/error/errors": errors +"/replicapool:v1beta2/Operation/error/errors/error": error +"/replicapool:v1beta2/Operation/error/errors/error/code": code +"/replicapool:v1beta2/Operation/error/errors/error/location": location +"/replicapool:v1beta2/Operation/error/errors/error/message": message +"/replicapool:v1beta2/Operation/httpErrorMessage": http_error_message +"/replicapool:v1beta2/Operation/httpErrorStatusCode": http_error_status_code +"/replicapool:v1beta2/Operation/id": id +"/replicapool:v1beta2/Operation/insertTime": insert_time +"/replicapool:v1beta2/Operation/kind": kind +"/replicapool:v1beta2/Operation/name": name +"/replicapool:v1beta2/Operation/operationType": operation_type +"/replicapool:v1beta2/Operation/progress": progress +"/replicapool:v1beta2/Operation/region": region +"/replicapool:v1beta2/Operation/selfLink": self_link +"/replicapool:v1beta2/Operation/startTime": start_time +"/replicapool:v1beta2/Operation/status": status +"/replicapool:v1beta2/Operation/statusMessage": status_message +"/replicapool:v1beta2/Operation/targetId": target_id +"/replicapool:v1beta2/Operation/targetLink": target_link +"/replicapool:v1beta2/Operation/user": user +"/replicapool:v1beta2/Operation/warnings": warnings +"/replicapool:v1beta2/Operation/warnings/warning": warning +"/replicapool:v1beta2/Operation/warnings/warning/code": code +"/replicapool:v1beta2/Operation/warnings/warning/data": data +"/replicapool:v1beta2/Operation/warnings/warning/data/datum": datum +"/replicapool:v1beta2/Operation/warnings/warning/data/datum/key": key +"/replicapool:v1beta2/Operation/warnings/warning/data/datum/value": value +"/replicapool:v1beta2/Operation/warnings/warning/message": message +"/replicapool:v1beta2/Operation/zone": zone +"/replicapool:v1beta2/OperationList": operation_list +"/replicapool:v1beta2/OperationList/id": id +"/replicapool:v1beta2/OperationList/items": items +"/replicapool:v1beta2/OperationList/items/item": item +"/replicapool:v1beta2/OperationList/kind": kind +"/replicapool:v1beta2/OperationList/nextPageToken": next_page_token +"/replicapool:v1beta2/OperationList/selfLink": self_link +"/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy": replica_pool_auto_healing_policy +"/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy/actionType": action_type +"/replicapool:v1beta2/ReplicaPoolAutoHealingPolicy/healthCheck": health_check +"/replicapoolupdater:v1beta1/fields": fields +"/replicapoolupdater:v1beta1/key": key +"/replicapoolupdater:v1beta1/quotaUser": quota_user +"/replicapoolupdater:v1beta1/userIp": user_ip +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel": cancel_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.cancel/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get": get_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.get/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert": insert_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.insert/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list": list_rolling_updates +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.list/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.listInstanceUpdates/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause": pause_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.pause/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume": resume_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.resume/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback": rollback_rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/rollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/replicapoolupdater.rollingUpdates.rollback/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get": get_zone_operation +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/operation": operation +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.get/zone": zone +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list": list_zone_operations +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/filter": filter +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/maxResults": max_results +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/pageToken": page_token +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/project": project +"/replicapoolupdater:v1beta1/replicapoolupdater.zoneOperations.list/zone": zone +"/replicapoolupdater:v1beta1/InstanceUpdate": instance_update +"/replicapoolupdater:v1beta1/InstanceUpdate/error": error +"/replicapoolupdater:v1beta1/InstanceUpdate/error/errors": errors +"/replicapoolupdater:v1beta1/InstanceUpdate/error/errors/error": error +"/replicapoolupdater:v1beta1/InstanceUpdate/error/errors/error/code": code +"/replicapoolupdater:v1beta1/InstanceUpdate/error/errors/error/location": location +"/replicapoolupdater:v1beta1/InstanceUpdate/error/errors/error/message": message +"/replicapoolupdater:v1beta1/InstanceUpdate/instance": instance +"/replicapoolupdater:v1beta1/InstanceUpdate/status": status +"/replicapoolupdater:v1beta1/InstanceUpdateList": instance_update_list +"/replicapoolupdater:v1beta1/InstanceUpdateList/items": items +"/replicapoolupdater:v1beta1/InstanceUpdateList/items/item": item +"/replicapoolupdater:v1beta1/InstanceUpdateList/kind": kind +"/replicapoolupdater:v1beta1/InstanceUpdateList/nextPageToken": next_page_token +"/replicapoolupdater:v1beta1/InstanceUpdateList/selfLink": self_link +"/replicapoolupdater:v1beta1/Operation": operation +"/replicapoolupdater:v1beta1/Operation/clientOperationId": client_operation_id +"/replicapoolupdater:v1beta1/Operation/creationTimestamp": creation_timestamp +"/replicapoolupdater:v1beta1/Operation/endTime": end_time +"/replicapoolupdater:v1beta1/Operation/error": error +"/replicapoolupdater:v1beta1/Operation/error/errors": errors +"/replicapoolupdater:v1beta1/Operation/error/errors/error": error +"/replicapoolupdater:v1beta1/Operation/error/errors/error/code": code +"/replicapoolupdater:v1beta1/Operation/error/errors/error/location": location +"/replicapoolupdater:v1beta1/Operation/error/errors/error/message": message +"/replicapoolupdater:v1beta1/Operation/httpErrorMessage": http_error_message +"/replicapoolupdater:v1beta1/Operation/httpErrorStatusCode": http_error_status_code +"/replicapoolupdater:v1beta1/Operation/id": id +"/replicapoolupdater:v1beta1/Operation/insertTime": insert_time +"/replicapoolupdater:v1beta1/Operation/kind": kind +"/replicapoolupdater:v1beta1/Operation/name": name +"/replicapoolupdater:v1beta1/Operation/operationType": operation_type +"/replicapoolupdater:v1beta1/Operation/progress": progress +"/replicapoolupdater:v1beta1/Operation/region": region +"/replicapoolupdater:v1beta1/Operation/selfLink": self_link +"/replicapoolupdater:v1beta1/Operation/startTime": start_time +"/replicapoolupdater:v1beta1/Operation/status": status +"/replicapoolupdater:v1beta1/Operation/statusMessage": status_message +"/replicapoolupdater:v1beta1/Operation/targetId": target_id +"/replicapoolupdater:v1beta1/Operation/targetLink": target_link +"/replicapoolupdater:v1beta1/Operation/user": user +"/replicapoolupdater:v1beta1/Operation/warnings": warnings +"/replicapoolupdater:v1beta1/Operation/warnings/warning": warning +"/replicapoolupdater:v1beta1/Operation/warnings/warning/code": code +"/replicapoolupdater:v1beta1/Operation/warnings/warning/data": data +"/replicapoolupdater:v1beta1/Operation/warnings/warning/data/datum": datum +"/replicapoolupdater:v1beta1/Operation/warnings/warning/data/datum/key": key +"/replicapoolupdater:v1beta1/Operation/warnings/warning/data/datum/value": value +"/replicapoolupdater:v1beta1/Operation/warnings/warning/message": message +"/replicapoolupdater:v1beta1/Operation/zone": zone +"/replicapoolupdater:v1beta1/OperationList": operation_list +"/replicapoolupdater:v1beta1/OperationList/id": id +"/replicapoolupdater:v1beta1/OperationList/items": items +"/replicapoolupdater:v1beta1/OperationList/items/item": item +"/replicapoolupdater:v1beta1/OperationList/kind": kind +"/replicapoolupdater:v1beta1/OperationList/nextPageToken": next_page_token +"/replicapoolupdater:v1beta1/OperationList/selfLink": self_link +"/replicapoolupdater:v1beta1/RollingUpdate": rolling_update +"/replicapoolupdater:v1beta1/RollingUpdate/actionType": action_type +"/replicapoolupdater:v1beta1/RollingUpdate/creationTimestamp": creation_timestamp +"/replicapoolupdater:v1beta1/RollingUpdate/description": description +"/replicapoolupdater:v1beta1/RollingUpdate/error": error +"/replicapoolupdater:v1beta1/RollingUpdate/error/errors": errors +"/replicapoolupdater:v1beta1/RollingUpdate/error/errors/error": error +"/replicapoolupdater:v1beta1/RollingUpdate/error/errors/error/code": code +"/replicapoolupdater:v1beta1/RollingUpdate/error/errors/error/location": location +"/replicapoolupdater:v1beta1/RollingUpdate/error/errors/error/message": message +"/replicapoolupdater:v1beta1/RollingUpdate/id": id +"/replicapoolupdater:v1beta1/RollingUpdate/instanceGroup": instance_group +"/replicapoolupdater:v1beta1/RollingUpdate/instanceGroupManager": instance_group_manager +"/replicapoolupdater:v1beta1/RollingUpdate/instanceTemplate": instance_template +"/replicapoolupdater:v1beta1/RollingUpdate/kind": kind +"/replicapoolupdater:v1beta1/RollingUpdate/oldInstanceTemplate": old_instance_template +"/replicapoolupdater:v1beta1/RollingUpdate/policy": policy +"/replicapoolupdater:v1beta1/RollingUpdate/policy/autoPauseAfterInstances": auto_pause_after_instances +"/replicapoolupdater:v1beta1/RollingUpdate/policy/instanceStartupTimeoutSec": instance_startup_timeout_sec +"/replicapoolupdater:v1beta1/RollingUpdate/policy/maxNumConcurrentInstances": max_num_concurrent_instances +"/replicapoolupdater:v1beta1/RollingUpdate/policy/maxNumFailedInstances": max_num_failed_instances +"/replicapoolupdater:v1beta1/RollingUpdate/policy/minInstanceUpdateTimeSec": min_instance_update_time_sec +"/replicapoolupdater:v1beta1/RollingUpdate/progress": progress +"/replicapoolupdater:v1beta1/RollingUpdate/selfLink": self_link +"/replicapoolupdater:v1beta1/RollingUpdate/status": status +"/replicapoolupdater:v1beta1/RollingUpdate/statusMessage": status_message +"/replicapoolupdater:v1beta1/RollingUpdate/user": user +"/replicapoolupdater:v1beta1/RollingUpdateList": rolling_update_list +"/replicapoolupdater:v1beta1/RollingUpdateList/items": items +"/replicapoolupdater:v1beta1/RollingUpdateList/items/item": item +"/replicapoolupdater:v1beta1/RollingUpdateList/kind": kind +"/replicapoolupdater:v1beta1/RollingUpdateList/nextPageToken": next_page_token +"/replicapoolupdater:v1beta1/RollingUpdateList/selfLink": self_link +"/reseller:v1/fields": fields +"/reseller:v1/key": key +"/reseller:v1/quotaUser": quota_user +"/reseller:v1/userIp": user_ip +"/reseller:v1/reseller.customers.get": get_customer +"/reseller:v1/reseller.customers.get/customerId": customer_id +"/reseller:v1/reseller.customers.insert": insert_customer +"/reseller:v1/reseller.customers.insert/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.customers.patch": patch_customer +"/reseller:v1/reseller.customers.patch/customerId": customer_id +"/reseller:v1/reseller.customers.update": update_customer +"/reseller:v1/reseller.customers.update/customerId": customer_id +"/reseller:v1/reseller.subscriptions.activate": activate_subscription +"/reseller:v1/reseller.subscriptions.activate/customerId": customer_id +"/reseller:v1/reseller.subscriptions.activate/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changePlan": change_subscription_plan +"/reseller:v1/reseller.subscriptions.changePlan/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changePlan/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changeRenewalSettings/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changeRenewalSettings/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.changeSeats/customerId": customer_id +"/reseller:v1/reseller.subscriptions.changeSeats/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.delete": delete_subscription +"/reseller:v1/reseller.subscriptions.delete/customerId": customer_id +"/reseller:v1/reseller.subscriptions.delete/deletionType": deletion_type +"/reseller:v1/reseller.subscriptions.delete/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.get": get_subscription +"/reseller:v1/reseller.subscriptions.get/customerId": customer_id +"/reseller:v1/reseller.subscriptions.get/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.insert": insert_subscription +"/reseller:v1/reseller.subscriptions.insert/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.subscriptions.insert/customerId": customer_id +"/reseller:v1/reseller.subscriptions.list": list_subscriptions +"/reseller:v1/reseller.subscriptions.list/customerAuthToken": customer_auth_token +"/reseller:v1/reseller.subscriptions.list/customerId": customer_id +"/reseller:v1/reseller.subscriptions.list/customerNamePrefix": customer_name_prefix +"/reseller:v1/reseller.subscriptions.list/maxResults": max_results +"/reseller:v1/reseller.subscriptions.list/pageToken": page_token +"/reseller:v1/reseller.subscriptions.startPaidService": start_subscription_paid_service +"/reseller:v1/reseller.subscriptions.startPaidService/customerId": customer_id +"/reseller:v1/reseller.subscriptions.startPaidService/subscriptionId": subscription_id +"/reseller:v1/reseller.subscriptions.suspend": suspend_subscription +"/reseller:v1/reseller.subscriptions.suspend/customerId": customer_id +"/reseller:v1/reseller.subscriptions.suspend/subscriptionId": subscription_id +"/reseller:v1/Address": address +"/reseller:v1/Address/addressLine1": address_line1 +"/reseller:v1/Address/addressLine2": address_line2 +"/reseller:v1/Address/addressLine3": address_line3 +"/reseller:v1/Address/contactName": contact_name +"/reseller:v1/Address/countryCode": country_code +"/reseller:v1/Address/kind": kind +"/reseller:v1/Address/locality": locality +"/reseller:v1/Address/organizationName": organization_name +"/reseller:v1/Address/postalCode": postal_code +"/reseller:v1/Address/region": region +"/reseller:v1/ChangePlanRequest/dealCode": deal_code +"/reseller:v1/ChangePlanRequest/kind": kind +"/reseller:v1/ChangePlanRequest/planName": plan_name +"/reseller:v1/ChangePlanRequest/purchaseOrderId": purchase_order_id +"/reseller:v1/ChangePlanRequest/seats": seats +"/reseller:v1/Customer": customer +"/reseller:v1/Customer/alternateEmail": alternate_email +"/reseller:v1/Customer/customerDomain": customer_domain +"/reseller:v1/Customer/customerDomainVerified": customer_domain_verified +"/reseller:v1/Customer/customerId": customer_id +"/reseller:v1/Customer/kind": kind +"/reseller:v1/Customer/phoneNumber": phone_number +"/reseller:v1/Customer/postalAddress": postal_address +"/reseller:v1/Customer/resourceUiUrl": resource_ui_url +"/reseller:v1/RenewalSettings": renewal_settings +"/reseller:v1/RenewalSettings/kind": kind +"/reseller:v1/RenewalSettings/renewalType": renewal_type +"/reseller:v1/Seats": seats +"/reseller:v1/Seats/kind": kind +"/reseller:v1/Seats/licensedNumberOfSeats": licensed_number_of_seats +"/reseller:v1/Seats/maximumNumberOfSeats": maximum_number_of_seats +"/reseller:v1/Seats/numberOfSeats": number_of_seats +"/reseller:v1/Subscription": subscription +"/reseller:v1/Subscription/billingMethod": billing_method +"/reseller:v1/Subscription/creationTime": creation_time +"/reseller:v1/Subscription/customerDomain": customer_domain +"/reseller:v1/Subscription/customerId": customer_id +"/reseller:v1/Subscription/dealCode": deal_code +"/reseller:v1/Subscription/kind": kind +"/reseller:v1/Subscription/plan": plan +"/reseller:v1/Subscription/plan/commitmentInterval": commitment_interval +"/reseller:v1/Subscription/plan/commitmentInterval/endTime": end_time +"/reseller:v1/Subscription/plan/commitmentInterval/startTime": start_time +"/reseller:v1/Subscription/plan/isCommitmentPlan": is_commitment_plan +"/reseller:v1/Subscription/plan/planName": plan_name +"/reseller:v1/Subscription/purchaseOrderId": purchase_order_id +"/reseller:v1/Subscription/renewalSettings": renewal_settings +"/reseller:v1/Subscription/resourceUiUrl": resource_ui_url +"/reseller:v1/Subscription/seats": seats +"/reseller:v1/Subscription/skuId": sku_id +"/reseller:v1/Subscription/status": status +"/reseller:v1/Subscription/subscriptionId": subscription_id +"/reseller:v1/Subscription/suspensionReasons": suspension_reasons +"/reseller:v1/Subscription/suspensionReasons/suspension_reason": suspension_reason +"/reseller:v1/Subscription/transferInfo": transfer_info +"/reseller:v1/Subscription/transferInfo/minimumTransferableSeats": minimum_transferable_seats +"/reseller:v1/Subscription/transferInfo/transferabilityExpirationTime": transferability_expiration_time +"/reseller:v1/Subscription/trialSettings": trial_settings +"/reseller:v1/Subscription/trialSettings/isInTrial": is_in_trial +"/reseller:v1/Subscription/trialSettings/trialEndTime": trial_end_time +"/reseller:v1/Subscriptions": subscriptions +"/reseller:v1/Subscriptions/kind": kind +"/reseller:v1/Subscriptions/nextPageToken": next_page_token +"/reseller:v1/Subscriptions/subscriptions": subscriptions +"/reseller:v1/Subscriptions/subscriptions/subscription": subscription +"/resourceviews:v1beta2/fields": fields +"/resourceviews:v1beta2/key": key +"/resourceviews:v1beta2/quotaUser": quota_user +"/resourceviews:v1beta2/userIp": user_ip +"/resourceviews:v1beta2/resourceviews.zoneOperations.get": get_zone_operation +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/operation": operation +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/project": project +"/resourceviews:v1beta2/resourceviews.zoneOperations.get/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneOperations.list": list_zone_operations +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/filter": filter +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/project": project +"/resourceviews:v1beta2/resourceviews.zoneOperations.list/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources": add_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.addResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.delete": delete_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.delete/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.get": get_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.get/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.get/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.get/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.getService": get_zone_view_service +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceName": resource_name +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.getService/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.insert": insert_zone_view +"/resourceviews:v1beta2/resourceviews.zoneViews.insert/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.insert/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.list": list_zone_views +"/resourceviews:v1beta2/resourceviews.zoneViews.list/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneViews.list/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneViews.list/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.list/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources": list_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/format": format +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/listState": list_state +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/maxResults": max_results +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/pageToken": page_token +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/serviceName": service_name +"/resourceviews:v1beta2/resourceviews.zoneViews.listResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources": remove_zone_view_resources +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.removeResources/zone": zone +"/resourceviews:v1beta2/resourceviews.zoneViews.setService": set_zone_view_service +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/project": project +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/resourceView": resource_view +"/resourceviews:v1beta2/resourceviews.zoneViews.setService/zone": zone +"/resourceviews:v1beta2/Label": label +"/resourceviews:v1beta2/Label/key": key +"/resourceviews:v1beta2/Label/value": value +"/resourceviews:v1beta2/ListResourceResponseItem": list_resource_response_item +"/resourceviews:v1beta2/ListResourceResponseItem/endpoints": endpoints +"/resourceviews:v1beta2/ListResourceResponseItem/endpoints/endpoint": endpoint +"/resourceviews:v1beta2/ListResourceResponseItem/endpoints/endpoint/endpoint": endpoint +"/resourceviews:v1beta2/ListResourceResponseItem/resource": resource +"/resourceviews:v1beta2/Operation": operation +"/resourceviews:v1beta2/Operation/clientOperationId": client_operation_id +"/resourceviews:v1beta2/Operation/creationTimestamp": creation_timestamp +"/resourceviews:v1beta2/Operation/endTime": end_time +"/resourceviews:v1beta2/Operation/error": error +"/resourceviews:v1beta2/Operation/error/errors": errors +"/resourceviews:v1beta2/Operation/error/errors/error": error +"/resourceviews:v1beta2/Operation/error/errors/error/code": code +"/resourceviews:v1beta2/Operation/error/errors/error/location": location +"/resourceviews:v1beta2/Operation/error/errors/error/message": message +"/resourceviews:v1beta2/Operation/httpErrorMessage": http_error_message +"/resourceviews:v1beta2/Operation/httpErrorStatusCode": http_error_status_code +"/resourceviews:v1beta2/Operation/id": id +"/resourceviews:v1beta2/Operation/insertTime": insert_time +"/resourceviews:v1beta2/Operation/kind": kind +"/resourceviews:v1beta2/Operation/name": name +"/resourceviews:v1beta2/Operation/operationType": operation_type +"/resourceviews:v1beta2/Operation/progress": progress +"/resourceviews:v1beta2/Operation/region": region +"/resourceviews:v1beta2/Operation/selfLink": self_link +"/resourceviews:v1beta2/Operation/startTime": start_time +"/resourceviews:v1beta2/Operation/status": status +"/resourceviews:v1beta2/Operation/statusMessage": status_message +"/resourceviews:v1beta2/Operation/targetId": target_id +"/resourceviews:v1beta2/Operation/targetLink": target_link +"/resourceviews:v1beta2/Operation/user": user +"/resourceviews:v1beta2/Operation/warnings": warnings +"/resourceviews:v1beta2/Operation/warnings/warning": warning +"/resourceviews:v1beta2/Operation/warnings/warning/code": code +"/resourceviews:v1beta2/Operation/warnings/warning/data": data +"/resourceviews:v1beta2/Operation/warnings/warning/data/datum": datum +"/resourceviews:v1beta2/Operation/warnings/warning/data/datum/key": key +"/resourceviews:v1beta2/Operation/warnings/warning/data/datum/value": value +"/resourceviews:v1beta2/Operation/warnings/warning/message": message +"/resourceviews:v1beta2/Operation/zone": zone +"/resourceviews:v1beta2/OperationList": operation_list +"/resourceviews:v1beta2/OperationList/id": id +"/resourceviews:v1beta2/OperationList/items": items +"/resourceviews:v1beta2/OperationList/items/item": item +"/resourceviews:v1beta2/OperationList/kind": kind +"/resourceviews:v1beta2/OperationList/nextPageToken": next_page_token +"/resourceviews:v1beta2/OperationList/selfLink": self_link +"/resourceviews:v1beta2/ResourceView": resource_view +"/resourceviews:v1beta2/ResourceView/creationTimestamp": creation_timestamp +"/resourceviews:v1beta2/ResourceView/description": description +"/resourceviews:v1beta2/ResourceView/endpoints": endpoints +"/resourceviews:v1beta2/ResourceView/endpoints/endpoint": endpoint +"/resourceviews:v1beta2/ResourceView/fingerprint": fingerprint +"/resourceviews:v1beta2/ResourceView/id": id +"/resourceviews:v1beta2/ResourceView/kind": kind +"/resourceviews:v1beta2/ResourceView/labels": labels +"/resourceviews:v1beta2/ResourceView/labels/label": label +"/resourceviews:v1beta2/ResourceView/name": name +"/resourceviews:v1beta2/ResourceView/network": network +"/resourceviews:v1beta2/ResourceView/resources": resources +"/resourceviews:v1beta2/ResourceView/resources/resource": resource +"/resourceviews:v1beta2/ResourceView/selfLink": self_link +"/resourceviews:v1beta2/ResourceView/size": size +"/resourceviews:v1beta2/ServiceEndpoint": service_endpoint +"/resourceviews:v1beta2/ServiceEndpoint/name": name +"/resourceviews:v1beta2/ServiceEndpoint/port": port +"/resourceviews:v1beta2/ZoneViewsAddResourcesRequest/resources": resources +"/resourceviews:v1beta2/ZoneViewsAddResourcesRequest/resources/resource": resource +"/resourceviews:v1beta2/ZoneViewsGetServiceResponse/endpoints": endpoints +"/resourceviews:v1beta2/ZoneViewsGetServiceResponse/endpoints/endpoint": endpoint +"/resourceviews:v1beta2/ZoneViewsGetServiceResponse/fingerprint": fingerprint +"/resourceviews:v1beta2/ZoneViewsList": zone_views_list +"/resourceviews:v1beta2/ZoneViewsList/items": items +"/resourceviews:v1beta2/ZoneViewsList/items/item": item +"/resourceviews:v1beta2/ZoneViewsList/kind": kind +"/resourceviews:v1beta2/ZoneViewsList/nextPageToken": next_page_token +"/resourceviews:v1beta2/ZoneViewsList/selfLink": self_link +"/resourceviews:v1beta2/ZoneViewsListResourcesResponse/items": items +"/resourceviews:v1beta2/ZoneViewsListResourcesResponse/items/item": item +"/resourceviews:v1beta2/ZoneViewsListResourcesResponse/network": network +"/resourceviews:v1beta2/ZoneViewsListResourcesResponse/nextPageToken": next_page_token +"/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest/resources": resources +"/resourceviews:v1beta2/ZoneViewsRemoveResourcesRequest/resources/resource": resource +"/resourceviews:v1beta2/ZoneViewsSetServiceRequest/endpoints": endpoints +"/resourceviews:v1beta2/ZoneViewsSetServiceRequest/endpoints/endpoint": endpoint +"/resourceviews:v1beta2/ZoneViewsSetServiceRequest/fingerprint": fingerprint +"/resourceviews:v1beta2/ZoneViewsSetServiceRequest/resourceName": resource_name +"/sheets:v4/key": key +"/sheets:v4/quotaUser": quota_user +"/sheets:v4/fields": fields +"/sheets:v4/sheets.spreadsheets.create": create_spreadsheet +"/sheets:v4/sheets.spreadsheets.get": get_spreadsheet +"/sheets:v4/sheets.spreadsheets.get/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.get/ranges": ranges +"/sheets:v4/sheets.spreadsheets.get/includeGridData": include_grid_data +"/sheets:v4/sheets.spreadsheets.batchUpdate": batch_update_spreadsheet +"/sheets:v4/sheets.spreadsheets.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.clear": clear_values +"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.clear/range": range +"/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges +"/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.batchGet/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.batchUpdate": batch_update_values +"/sheets:v4/sheets.spreadsheets.values.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.get/range": range +"/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append/range": range +"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option +"/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.update/range": range +"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values +"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.sheets.copyTo/sheetId": sheet_id +"/sheets:v4/sheets.spreadsheets.sheets.copyTo/spreadsheetId": spreadsheet_id +"/sheets:v4/AddNamedRangeResponse": add_named_range_response +"/sheets:v4/AddNamedRangeResponse/namedRange": named_range +"/sheets:v4/UpdateProtectedRangeRequest": update_protected_range_request +"/sheets:v4/UpdateProtectedRangeRequest/protectedRange": protected_range +"/sheets:v4/UpdateProtectedRangeRequest/fields": fields +"/sheets:v4/Padding": padding +"/sheets:v4/Padding/right": right +"/sheets:v4/Padding/left": left +"/sheets:v4/Padding/top": top +"/sheets:v4/Padding/bottom": bottom +"/sheets:v4/MergeCellsRequest": merge_cells_request +"/sheets:v4/MergeCellsRequest/mergeType": merge_type +"/sheets:v4/MergeCellsRequest/range": range +"/sheets:v4/AddSheetResponse": add_sheet_response +"/sheets:v4/AddSheetResponse/properties": properties +"/sheets:v4/PivotGroupValueMetadata": pivot_group_value_metadata +"/sheets:v4/PivotGroupValueMetadata/value": value +"/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed +"/sheets:v4/UpdateEmbeddedObjectPositionResponse": update_embedded_object_position_response +"/sheets:v4/UpdateEmbeddedObjectPositionResponse/position": position +"/sheets:v4/ClearValuesResponse": clear_values_response +"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range +"/sheets:v4/UpdateConditionalFormatRuleRequest": update_conditional_format_rule_request +"/sheets:v4/UpdateConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule +"/sheets:v4/UpdateConditionalFormatRuleRequest/index": index +"/sheets:v4/UpdateConditionalFormatRuleRequest/newIndex": new_index +"/sheets:v4/TextFormat": text_format +"/sheets:v4/TextFormat/bold": bold +"/sheets:v4/TextFormat/italic": italic +"/sheets:v4/TextFormat/foregroundColor": foreground_color +"/sheets:v4/TextFormat/fontFamily": font_family +"/sheets:v4/TextFormat/strikethrough": strikethrough +"/sheets:v4/TextFormat/fontSize": font_size +"/sheets:v4/TextFormat/underline": underline +"/sheets:v4/UpdateChartSpecRequest": update_chart_spec_request +"/sheets:v4/UpdateChartSpecRequest/chartId": chart_id +"/sheets:v4/UpdateChartSpecRequest/spec": spec +"/sheets:v4/GridCoordinate": grid_coordinate +"/sheets:v4/GridCoordinate/sheetId": sheet_id +"/sheets:v4/GridCoordinate/rowIndex": row_index +"/sheets:v4/GridCoordinate/columnIndex": column_index +"/sheets:v4/DeleteFilterViewRequest": delete_filter_view_request +"/sheets:v4/DeleteFilterViewRequest/filterId": filter_id +"/sheets:v4/BatchUpdateValuesResponse": batch_update_values_response +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedSheets": total_updated_sheets +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedColumns": total_updated_columns +"/sheets:v4/BatchUpdateValuesResponse/responses": responses +"/sheets:v4/BatchUpdateValuesResponse/responses/response": response +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedCells": total_updated_cells +"/sheets:v4/BatchUpdateValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateValuesResponse/totalUpdatedRows": total_updated_rows +"/sheets:v4/UpdateNamedRangeRequest": update_named_range_request +"/sheets:v4/UpdateNamedRangeRequest/fields": fields +"/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range +"/sheets:v4/UpdateValuesResponse": update_values_response +"/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns +"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells +"/sheets:v4/UpdateValuesResponse/updatedData": updated_data +"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range +"/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows +"/sheets:v4/SpreadsheetProperties": spreadsheet_properties +"/sheets:v4/SpreadsheetProperties/timeZone": time_zone +"/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc +"/sheets:v4/SpreadsheetProperties/locale": locale +"/sheets:v4/SpreadsheetProperties/title": title +"/sheets:v4/SpreadsheetProperties/defaultFormat": default_format +"/sheets:v4/CellData": cell_data +"/sheets:v4/CellData/hyperlink": hyperlink +"/sheets:v4/CellData/effectiveFormat": effective_format +"/sheets:v4/CellData/note": note +"/sheets:v4/CellData/formattedValue": formatted_value +"/sheets:v4/CellData/userEnteredValue": user_entered_value +"/sheets:v4/CellData/dataValidation": data_validation +"/sheets:v4/CellData/userEnteredFormat": user_entered_format +"/sheets:v4/CellData/pivotTable": pivot_table +"/sheets:v4/CellData/textFormatRuns": text_format_runs +"/sheets:v4/CellData/textFormatRuns/text_format_run": text_format_run +"/sheets:v4/CellData/effectiveValue": effective_value +"/sheets:v4/UnmergeCellsRequest": unmerge_cells_request +"/sheets:v4/UnmergeCellsRequest/range": range +"/sheets:v4/TextToColumnsRequest": text_to_columns_request +"/sheets:v4/TextToColumnsRequest/source": source +"/sheets:v4/TextToColumnsRequest/delimiter": delimiter +"/sheets:v4/TextToColumnsRequest/delimiterType": delimiter_type +"/sheets:v4/AddProtectedRangeResponse": add_protected_range_response +"/sheets:v4/AddProtectedRangeResponse/protectedRange": protected_range +"/sheets:v4/BooleanCondition": boolean_condition +"/sheets:v4/BooleanCondition/values": values +"/sheets:v4/BooleanCondition/values/value": value +"/sheets:v4/BooleanCondition/type": type +"/sheets:v4/DeleteProtectedRangeRequest": delete_protected_range_request +"/sheets:v4/DeleteProtectedRangeRequest/protectedRangeId": protected_range_id +"/sheets:v4/BasicChartDomain": basic_chart_domain +"/sheets:v4/BasicChartDomain/domain": domain +"/sheets:v4/DimensionRange": dimension_range +"/sheets:v4/DimensionRange/sheetId": sheet_id +"/sheets:v4/DimensionRange/endIndex": end_index +"/sheets:v4/DimensionRange/startIndex": start_index +"/sheets:v4/DimensionRange/dimension": dimension +"/sheets:v4/Response": response +"/sheets:v4/Response/updateEmbeddedObjectPosition": update_embedded_object_position +"/sheets:v4/Response/addFilterView": add_filter_view +"/sheets:v4/Response/addSheet": add_sheet +"/sheets:v4/Response/findReplace": find_replace +"/sheets:v4/Response/addProtectedRange": add_protected_range +"/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Response/addChart": add_chart +"/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Response/addBanding": add_banding +"/sheets:v4/Response/duplicateSheet": duplicate_sheet +"/sheets:v4/Response/duplicateFilterView": duplicate_filter_view +"/sheets:v4/Response/addNamedRange": add_named_range +"/sheets:v4/AddConditionalFormatRuleRequest": add_conditional_format_rule_request +"/sheets:v4/AddConditionalFormatRuleRequest/rule": rule +"/sheets:v4/AddConditionalFormatRuleRequest/index": index +"/sheets:v4/FilterView": filter_view +"/sheets:v4/FilterView/title": title +"/sheets:v4/FilterView/namedRangeId": named_range_id +"/sheets:v4/FilterView/sortSpecs": sort_specs +"/sheets:v4/FilterView/sortSpecs/sort_spec": sort_spec +"/sheets:v4/FilterView/range": range +"/sheets:v4/FilterView/criteria": criteria +"/sheets:v4/FilterView/criteria/criterium": criterium +"/sheets:v4/FilterView/filterViewId": filter_view_id +"/sheets:v4/SortRangeRequest": sort_range_request +"/sheets:v4/SortRangeRequest/range": range +"/sheets:v4/SortRangeRequest/sortSpecs": sort_specs +"/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec +"/sheets:v4/AddBandingResponse": add_banding_response +"/sheets:v4/AddBandingResponse/bandedRange": banded_range +"/sheets:v4/TextFormatRun": text_format_run +"/sheets:v4/TextFormatRun/startIndex": start_index +"/sheets:v4/TextFormatRun/format": format +"/sheets:v4/UpdateFilterViewRequest": update_filter_view_request +"/sheets:v4/UpdateFilterViewRequest/filter": filter +"/sheets:v4/UpdateFilterViewRequest/fields": fields +"/sheets:v4/UpdateConditionalFormatRuleResponse": update_conditional_format_rule_response +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldIndex": old_index +"/sheets:v4/UpdateConditionalFormatRuleResponse/newRule": new_rule +"/sheets:v4/UpdateConditionalFormatRuleResponse/oldRule": old_rule +"/sheets:v4/UpdateConditionalFormatRuleResponse/newIndex": new_index +"/sheets:v4/FilterCriteria": filter_criteria +"/sheets:v4/FilterCriteria/condition": condition +"/sheets:v4/FilterCriteria/hiddenValues": hidden_values +"/sheets:v4/FilterCriteria/hiddenValues/hidden_value": hidden_value +"/sheets:v4/DeleteDimensionRequest": delete_dimension_request +"/sheets:v4/DeleteDimensionRequest/range": range +"/sheets:v4/PivotTable": pivot_table +"/sheets:v4/PivotTable/valueLayout": value_layout +"/sheets:v4/PivotTable/columns": columns +"/sheets:v4/PivotTable/columns/column": column +"/sheets:v4/PivotTable/source": source +"/sheets:v4/PivotTable/rows": rows +"/sheets:v4/PivotTable/rows/row": row +"/sheets:v4/PivotTable/values": values +"/sheets:v4/PivotTable/values/value": value +"/sheets:v4/PivotTable/criteria": criteria +"/sheets:v4/PivotTable/criteria/criterium": criterium +"/sheets:v4/DataValidationRule": data_validation_rule +"/sheets:v4/DataValidationRule/condition": condition +"/sheets:v4/DataValidationRule/inputMessage": input_message +"/sheets:v4/DataValidationRule/showCustomUi": show_custom_ui +"/sheets:v4/DataValidationRule/strict": strict +"/sheets:v4/UpdateSpreadsheetPropertiesRequest": update_spreadsheet_properties_request +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/fields": fields +"/sheets:v4/UpdateSpreadsheetPropertiesRequest/properties": properties +"/sheets:v4/ChartSourceRange": chart_source_range +"/sheets:v4/ChartSourceRange/sources": sources +"/sheets:v4/ChartSourceRange/sources/source": source +"/sheets:v4/BatchUpdateValuesRequest": batch_update_values_request +"/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option +"/sheets:v4/BatchUpdateValuesRequest/data": data +"/sheets:v4/BatchUpdateValuesRequest/data/datum": datum +"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option +"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response +"/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request +"/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id +"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response +"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges +"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range +"/sheets:v4/ConditionalFormatRule": conditional_format_rule +"/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule +"/sheets:v4/ConditionalFormatRule/booleanRule": boolean_rule +"/sheets:v4/ConditionalFormatRule/ranges": ranges +"/sheets:v4/ConditionalFormatRule/ranges/range": range +"/sheets:v4/UpdateBordersRequest": update_borders_request +"/sheets:v4/UpdateBordersRequest/right": right +"/sheets:v4/UpdateBordersRequest/innerVertical": inner_vertical +"/sheets:v4/UpdateBordersRequest/top": top +"/sheets:v4/UpdateBordersRequest/innerHorizontal": inner_horizontal +"/sheets:v4/UpdateBordersRequest/range": range +"/sheets:v4/UpdateBordersRequest/bottom": bottom +"/sheets:v4/UpdateBordersRequest/left": left +"/sheets:v4/PivotFilterCriteria": pivot_filter_criteria +"/sheets:v4/PivotFilterCriteria/visibleValues": visible_values +"/sheets:v4/PivotFilterCriteria/visibleValues/visible_value": visible_value +"/sheets:v4/Borders": borders +"/sheets:v4/Borders/left": left +"/sheets:v4/Borders/right": right +"/sheets:v4/Borders/top": top +"/sheets:v4/Borders/bottom": bottom +"/sheets:v4/EmbeddedChart": embedded_chart +"/sheets:v4/EmbeddedChart/chartId": chart_id +"/sheets:v4/EmbeddedChart/position": position +"/sheets:v4/EmbeddedChart/spec": spec +"/sheets:v4/Color": color +"/sheets:v4/Color/green": green +"/sheets:v4/Color/blue": blue +"/sheets:v4/Color/red": red +"/sheets:v4/Color/alpha": alpha +"/sheets:v4/AddSheetRequest": add_sheet_request +"/sheets:v4/AddSheetRequest/properties": properties +"/sheets:v4/AddProtectedRangeRequest": add_protected_range_request +"/sheets:v4/AddProtectedRangeRequest/protectedRange": protected_range +"/sheets:v4/ValueRange": value_range +"/sheets:v4/ValueRange/values": values +"/sheets:v4/ValueRange/values/value": value +"/sheets:v4/ValueRange/values/value/value": value +"/sheets:v4/ValueRange/range": range +"/sheets:v4/ValueRange/majorDimension": major_dimension +"/sheets:v4/FindReplaceResponse": find_replace_response +"/sheets:v4/FindReplaceResponse/valuesChanged": values_changed +"/sheets:v4/FindReplaceResponse/rowsChanged": rows_changed +"/sheets:v4/FindReplaceResponse/occurrencesChanged": occurrences_changed +"/sheets:v4/FindReplaceResponse/formulasChanged": formulas_changed +"/sheets:v4/FindReplaceResponse/sheetsChanged": sheets_changed +"/sheets:v4/AppendValuesResponse": append_values_response +"/sheets:v4/AppendValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/AppendValuesResponse/tableRange": table_range +"/sheets:v4/AppendValuesResponse/updates": updates +"/sheets:v4/CellFormat": cell_format +"/sheets:v4/CellFormat/horizontalAlignment": horizontal_alignment +"/sheets:v4/CellFormat/hyperlinkDisplayType": hyperlink_display_type +"/sheets:v4/CellFormat/borders": borders +"/sheets:v4/CellFormat/textDirection": text_direction +"/sheets:v4/CellFormat/textFormat": text_format +"/sheets:v4/CellFormat/padding": padding +"/sheets:v4/CellFormat/numberFormat": number_format +"/sheets:v4/CellFormat/wrapStrategy": wrap_strategy +"/sheets:v4/CellFormat/backgroundColor": background_color +"/sheets:v4/CellFormat/verticalAlignment": vertical_alignment +"/sheets:v4/MoveDimensionRequest": move_dimension_request +"/sheets:v4/MoveDimensionRequest/source": source +"/sheets:v4/MoveDimensionRequest/destinationIndex": destination_index +"/sheets:v4/BasicChartAxis": basic_chart_axis +"/sheets:v4/BasicChartAxis/position": position +"/sheets:v4/BasicChartAxis/title": title +"/sheets:v4/BasicChartAxis/format": format +"/sheets:v4/PivotGroupSortValueBucket": pivot_group_sort_value_bucket +"/sheets:v4/PivotGroupSortValueBucket/buckets": buckets +"/sheets:v4/PivotGroupSortValueBucket/buckets/bucket": bucket +"/sheets:v4/PivotGroupSortValueBucket/valuesIndex": values_index +"/sheets:v4/DimensionProperties": dimension_properties +"/sheets:v4/DimensionProperties/hiddenByUser": hidden_by_user +"/sheets:v4/DimensionProperties/pixelSize": pixel_size +"/sheets:v4/DimensionProperties/hiddenByFilter": hidden_by_filter +"/sheets:v4/EmbeddedObjectPosition": embedded_object_position +"/sheets:v4/EmbeddedObjectPosition/sheetId": sheet_id +"/sheets:v4/EmbeddedObjectPosition/overlayPosition": overlay_position +"/sheets:v4/EmbeddedObjectPosition/newSheet": new_sheet +"/sheets:v4/InterpolationPoint": interpolation_point +"/sheets:v4/InterpolationPoint/value": value +"/sheets:v4/InterpolationPoint/color": color +"/sheets:v4/InterpolationPoint/type": type +"/sheets:v4/ErrorValue": error_value +"/sheets:v4/ErrorValue/type": type +"/sheets:v4/ErrorValue/message": message +"/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request +"/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id +"/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request +"/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response +"/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests +"/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges/response_range": response_range +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data +"/sheets:v4/SheetProperties": sheet_properties +"/sheets:v4/SheetProperties/title": title +"/sheets:v4/SheetProperties/index": index +"/sheets:v4/SheetProperties/hidden": hidden +"/sheets:v4/SheetProperties/gridProperties": grid_properties +"/sheets:v4/SheetProperties/sheetId": sheet_id +"/sheets:v4/SheetProperties/rightToLeft": right_to_left +"/sheets:v4/SheetProperties/tabColor": tab_color +"/sheets:v4/SheetProperties/sheetType": sheet_type +"/sheets:v4/ClearValuesRequest": clear_values_request +"/sheets:v4/ProtectedRange": protected_range +"/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges +"/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range +"/sheets:v4/ProtectedRange/description": description +"/sheets:v4/ProtectedRange/namedRangeId": named_range_id +"/sheets:v4/ProtectedRange/requestingUserCanEdit": requesting_user_can_edit +"/sheets:v4/ProtectedRange/editors": editors +"/sheets:v4/ProtectedRange/protectedRangeId": protected_range_id +"/sheets:v4/ProtectedRange/warningOnly": warning_only +"/sheets:v4/ProtectedRange/range": range +"/sheets:v4/DeleteConditionalFormatRuleRequest": delete_conditional_format_rule_request +"/sheets:v4/DeleteConditionalFormatRuleRequest/sheetId": sheet_id +"/sheets:v4/DeleteConditionalFormatRuleRequest/index": index +"/sheets:v4/ChartSpec": chart_spec +"/sheets:v4/ChartSpec/hiddenDimensionStrategy": hidden_dimension_strategy +"/sheets:v4/ChartSpec/basicChart": basic_chart +"/sheets:v4/ChartSpec/title": title +"/sheets:v4/ChartSpec/pieChart": pie_chart +"/sheets:v4/SourceAndDestination": source_and_destination +"/sheets:v4/SourceAndDestination/source": source +"/sheets:v4/SourceAndDestination/fillLength": fill_length +"/sheets:v4/SourceAndDestination/dimension": dimension +"/sheets:v4/ConditionValue": condition_value +"/sheets:v4/ConditionValue/relativeDate": relative_date +"/sheets:v4/ConditionValue/userEnteredValue": user_entered_value +"/sheets:v4/PasteDataRequest": paste_data_request +"/sheets:v4/PasteDataRequest/data": data +"/sheets:v4/PasteDataRequest/coordinate": coordinate +"/sheets:v4/PasteDataRequest/delimiter": delimiter +"/sheets:v4/PasteDataRequest/type": type +"/sheets:v4/PasteDataRequest/html": html +"/sheets:v4/FindReplaceRequest": find_replace_request +"/sheets:v4/FindReplaceRequest/find": find +"/sheets:v4/FindReplaceRequest/replacement": replacement +"/sheets:v4/FindReplaceRequest/searchByRegex": search_by_regex +"/sheets:v4/FindReplaceRequest/sheetId": sheet_id +"/sheets:v4/FindReplaceRequest/allSheets": all_sheets +"/sheets:v4/FindReplaceRequest/matchCase": match_case +"/sheets:v4/FindReplaceRequest/includeFormulas": include_formulas +"/sheets:v4/FindReplaceRequest/range": range +"/sheets:v4/FindReplaceRequest/matchEntireCell": match_entire_cell +"/sheets:v4/SortSpec": sort_spec +"/sheets:v4/SortSpec/sortOrder": sort_order +"/sheets:v4/SortSpec/dimensionIndex": dimension_index +"/sheets:v4/CopySheetToAnotherSpreadsheetRequest": copy_sheet_to_another_spreadsheet_request +"/sheets:v4/CopySheetToAnotherSpreadsheetRequest/destinationSpreadsheetId": destination_spreadsheet_id +"/sheets:v4/NumberFormat": number_format +"/sheets:v4/NumberFormat/pattern": pattern +"/sheets:v4/NumberFormat/type": type +"/sheets:v4/BatchClearValuesRequest": batch_clear_values_request +"/sheets:v4/BatchClearValuesRequest/ranges": ranges +"/sheets:v4/BatchClearValuesRequest/ranges/range": range +"/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request +"/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields +"/sheets:v4/UpdateDimensionPropertiesRequest/range": range +"/sheets:v4/UpdateDimensionPropertiesRequest/properties": properties +"/sheets:v4/Editors": editors +"/sheets:v4/Editors/users": users +"/sheets:v4/Editors/users/user": user +"/sheets:v4/Editors/groups": groups +"/sheets:v4/Editors/groups/group": group +"/sheets:v4/Editors/domainUsersCanEdit": domain_users_can_edit +"/sheets:v4/Spreadsheet": spreadsheet +"/sheets:v4/Spreadsheet/spreadsheetId": spreadsheet_id +"/sheets:v4/Spreadsheet/properties": properties +"/sheets:v4/Spreadsheet/spreadsheetUrl": spreadsheet_url +"/sheets:v4/Spreadsheet/sheets": sheets +"/sheets:v4/Spreadsheet/sheets/sheet": sheet +"/sheets:v4/Spreadsheet/namedRanges": named_ranges +"/sheets:v4/Spreadsheet/namedRanges/named_range": named_range +"/sheets:v4/GridData": grid_data +"/sheets:v4/GridData/columnMetadata": column_metadata +"/sheets:v4/GridData/columnMetadata/column_metadatum": column_metadatum +"/sheets:v4/GridData/rowData": row_data +"/sheets:v4/GridData/rowData/row_datum": row_datum +"/sheets:v4/GridData/startRow": start_row +"/sheets:v4/GridData/rowMetadata": row_metadata +"/sheets:v4/GridData/rowMetadata/row_metadatum": row_metadatum +"/sheets:v4/GridData/startColumn": start_column +"/sheets:v4/PivotValue": pivot_value +"/sheets:v4/PivotValue/formula": formula +"/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset +"/sheets:v4/PivotValue/summarizeFunction": summarize_function +"/sheets:v4/PivotValue/name": name +"/sheets:v4/DeleteBandingRequest": delete_banding_request +"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id +"/sheets:v4/BasicFilter": basic_filter +"/sheets:v4/BasicFilter/criteria": criteria +"/sheets:v4/BasicFilter/criteria/criterium": criterium +"/sheets:v4/BasicFilter/range": range +"/sheets:v4/BasicFilter/sortSpecs": sort_specs +"/sheets:v4/BasicFilter/sortSpecs/sort_spec": sort_spec +"/sheets:v4/DuplicateSheetRequest": duplicate_sheet_request +"/sheets:v4/DuplicateSheetRequest/sourceSheetId": source_sheet_id +"/sheets:v4/DuplicateSheetRequest/newSheetId": new_sheet_id +"/sheets:v4/DuplicateSheetRequest/insertSheetIndex": insert_sheet_index +"/sheets:v4/DuplicateSheetRequest/newSheetName": new_sheet_name +"/sheets:v4/AddFilterViewResponse": add_filter_view_response +"/sheets:v4/AddFilterViewResponse/filter": filter +"/sheets:v4/DuplicateSheetResponse": duplicate_sheet_response +"/sheets:v4/DuplicateSheetResponse/properties": properties +"/sheets:v4/Border": border +"/sheets:v4/Border/style": style +"/sheets:v4/Border/width": width +"/sheets:v4/Border/color": color +"/sheets:v4/AddNamedRangeRequest": add_named_range_request +"/sheets:v4/AddNamedRangeRequest/namedRange": named_range +"/sheets:v4/AddChartResponse": add_chart_response +"/sheets:v4/AddChartResponse/chart": chart +"/sheets:v4/AddBandingRequest": add_banding_request +"/sheets:v4/AddBandingRequest/bandedRange": banded_range +"/sheets:v4/AppendCellsRequest": append_cells_request +"/sheets:v4/AppendCellsRequest/sheetId": sheet_id +"/sheets:v4/AppendCellsRequest/rows": rows +"/sheets:v4/AppendCellsRequest/rows/row": row +"/sheets:v4/AppendCellsRequest/fields": fields +"/sheets:v4/RowData": row_data +"/sheets:v4/RowData/values": values +"/sheets:v4/RowData/values/value": value +"/sheets:v4/BasicChartSeries": basic_chart_series +"/sheets:v4/BasicChartSeries/series": series +"/sheets:v4/BasicChartSeries/targetAxis": target_axis +"/sheets:v4/BasicChartSeries/type": type +"/sheets:v4/RepeatCellRequest": repeat_cell_request +"/sheets:v4/RepeatCellRequest/cell": cell +"/sheets:v4/RepeatCellRequest/fields": fields +"/sheets:v4/RepeatCellRequest/range": range +"/sheets:v4/BasicChartSpec": basic_chart_spec +"/sheets:v4/BasicChartSpec/chartType": chart_type +"/sheets:v4/BasicChartSpec/domains": domains +"/sheets:v4/BasicChartSpec/domains/domain": domain +"/sheets:v4/BasicChartSpec/headerCount": header_count +"/sheets:v4/BasicChartSpec/series": series +"/sheets:v4/BasicChartSpec/series/series": series +"/sheets:v4/BasicChartSpec/legendPosition": legend_position +"/sheets:v4/BasicChartSpec/axis": axis +"/sheets:v4/BasicChartSpec/axis/axis": axis +"/sheets:v4/NamedRange": named_range +"/sheets:v4/NamedRange/namedRangeId": named_range_id +"/sheets:v4/NamedRange/range": range +"/sheets:v4/NamedRange/name": name +"/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop +"/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields +"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request +"/sheets:v4/SetBasicFilterRequest/filter": filter +"/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request +"/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions +"/sheets:v4/DuplicateFilterViewResponse": duplicate_filter_view_response +"/sheets:v4/DuplicateFilterViewResponse/filter": filter +"/sheets:v4/BandingProperties": banding_properties +"/sheets:v4/BandingProperties/footerColor": footer_color +"/sheets:v4/BandingProperties/headerColor": header_color +"/sheets:v4/BandingProperties/secondBandColor": second_band_color +"/sheets:v4/BandingProperties/firstBandColor": first_band_color +"/sheets:v4/PivotGroup": pivot_group +"/sheets:v4/PivotGroup/sortOrder": sort_order +"/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset +"/sheets:v4/PivotGroup/showTotals": show_totals +"/sheets:v4/PivotGroup/valueBucket": value_bucket +"/sheets:v4/PivotGroup/valueMetadata": value_metadata +"/sheets:v4/PivotGroup/valueMetadata/value_metadatum": value_metadatum +"/sheets:v4/GridRange": grid_range +"/sheets:v4/GridRange/sheetId": sheet_id +"/sheets:v4/GridRange/startColumnIndex": start_column_index +"/sheets:v4/GridRange/startRowIndex": start_row_index +"/sheets:v4/GridRange/endRowIndex": end_row_index +"/sheets:v4/GridRange/endColumnIndex": end_column_index +"/sheets:v4/DeleteSheetRequest": delete_sheet_request +"/sheets:v4/DeleteSheetRequest/sheetId": sheet_id +"/sheets:v4/UpdateBandingRequest": update_banding_request +"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range +"/sheets:v4/UpdateBandingRequest/fields": fields +"/sheets:v4/ChartData": chart_data +"/sheets:v4/ChartData/sourceRange": source_range +"/sheets:v4/Sheet": sheet +"/sheets:v4/Sheet/properties": properties +"/sheets:v4/Sheet/charts": charts +"/sheets:v4/Sheet/charts/chart": chart +"/sheets:v4/Sheet/filterViews": filter_views +"/sheets:v4/Sheet/filterViews/filter_view": filter_view +"/sheets:v4/Sheet/conditionalFormats": conditional_formats +"/sheets:v4/Sheet/conditionalFormats/conditional_format": conditional_format +"/sheets:v4/Sheet/protectedRanges": protected_ranges +"/sheets:v4/Sheet/protectedRanges/protected_range": protected_range +"/sheets:v4/Sheet/basicFilter": basic_filter +"/sheets:v4/Sheet/merges": merges +"/sheets:v4/Sheet/merges/merge": merge +"/sheets:v4/Sheet/data": data +"/sheets:v4/Sheet/data/datum": datum +"/sheets:v4/Sheet/bandedRanges": banded_ranges +"/sheets:v4/Sheet/bandedRanges/banded_range": banded_range +"/sheets:v4/CopyPasteRequest": copy_paste_request +"/sheets:v4/CopyPasteRequest/pasteType": paste_type +"/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation +"/sheets:v4/CopyPasteRequest/source": source +"/sheets:v4/CopyPasteRequest/destination": destination +"/sheets:v4/UpdateCellsRequest": update_cells_request +"/sheets:v4/UpdateCellsRequest/rows": rows +"/sheets:v4/UpdateCellsRequest/rows/row": row +"/sheets:v4/UpdateCellsRequest/fields": fields +"/sheets:v4/UpdateCellsRequest/start": start +"/sheets:v4/UpdateCellsRequest/range": range +"/sheets:v4/ExtendedValue": extended_value +"/sheets:v4/ExtendedValue/formulaValue": formula_value +"/sheets:v4/ExtendedValue/errorValue": error_value +"/sheets:v4/ExtendedValue/boolValue": bool_value +"/sheets:v4/ExtendedValue/numberValue": number_value +"/sheets:v4/ExtendedValue/stringValue": string_value +"/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response +"/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet +"/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies +"/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply +"/sheets:v4/GradientRule": gradient_rule +"/sheets:v4/GradientRule/maxpoint": maxpoint +"/sheets:v4/GradientRule/midpoint": midpoint +"/sheets:v4/GradientRule/minpoint": minpoint +"/sheets:v4/CutPasteRequest": cut_paste_request +"/sheets:v4/CutPasteRequest/pasteType": paste_type +"/sheets:v4/CutPasteRequest/source": source +"/sheets:v4/CutPasteRequest/destination": destination +"/sheets:v4/OverlayPosition": overlay_position +"/sheets:v4/OverlayPosition/widthPixels": width_pixels +"/sheets:v4/OverlayPosition/anchorCell": anchor_cell +"/sheets:v4/OverlayPosition/offsetXPixels": offset_x_pixels +"/sheets:v4/OverlayPosition/heightPixels": height_pixels +"/sheets:v4/OverlayPosition/offsetYPixels": offset_y_pixels +"/sheets:v4/AutoFillRequest": auto_fill_request +"/sheets:v4/AutoFillRequest/useAlternateSeries": use_alternate_series +"/sheets:v4/AutoFillRequest/range": range +"/sheets:v4/AutoFillRequest/sourceAndDestination": source_and_destination +"/sheets:v4/PieChartSpec": pie_chart_spec +"/sheets:v4/PieChartSpec/legendPosition": legend_position +"/sheets:v4/PieChartSpec/series": series +"/sheets:v4/PieChartSpec/pieHole": pie_hole +"/sheets:v4/PieChartSpec/threeDimensional": three_dimensional +"/sheets:v4/PieChartSpec/domain": domain +"/sheets:v4/UpdateSheetPropertiesRequest": update_sheet_properties_request +"/sheets:v4/UpdateSheetPropertiesRequest/fields": fields +"/sheets:v4/UpdateSheetPropertiesRequest/properties": properties +"/sheets:v4/BooleanRule": boolean_rule +"/sheets:v4/BooleanRule/condition": condition +"/sheets:v4/BooleanRule/format": format +"/sheets:v4/AppendDimensionRequest": append_dimension_request +"/sheets:v4/AppendDimensionRequest/sheetId": sheet_id +"/sheets:v4/AppendDimensionRequest/length": length +"/sheets:v4/AppendDimensionRequest/dimension": dimension +"/sheets:v4/AddFilterViewRequest": add_filter_view_request +"/sheets:v4/AddFilterViewRequest/filter": filter +"/sheets:v4/GridProperties": grid_properties +"/sheets:v4/GridProperties/rowCount": row_count +"/sheets:v4/GridProperties/columnCount": column_count +"/sheets:v4/GridProperties/frozenRowCount": frozen_row_count +"/sheets:v4/GridProperties/frozenColumnCount": frozen_column_count +"/sheets:v4/GridProperties/hideGridlines": hide_gridlines +"/sheets:v4/DeleteNamedRangeRequest": delete_named_range_request +"/sheets:v4/DeleteNamedRangeRequest/namedRangeId": named_range_id +"/sheets:v4/AddChartRequest": add_chart_request +"/sheets:v4/AddChartRequest/chart": chart +"/sheets:v4/SetDataValidationRequest": set_data_validation_request +"/sheets:v4/SetDataValidationRequest/rule": rule +"/sheets:v4/SetDataValidationRequest/range": range +"/sheets:v4/Request": request +"/sheets:v4/Request/updateEmbeddedObjectPosition": update_embedded_object_position +"/sheets:v4/Request/deleteNamedRange": delete_named_range +"/sheets:v4/Request/updateNamedRange": update_named_range +"/sheets:v4/Request/addFilterView": add_filter_view +"/sheets:v4/Request/updateSpreadsheetProperties": update_spreadsheet_properties +"/sheets:v4/Request/appendDimension": append_dimension +"/sheets:v4/Request/unmergeCells": unmerge_cells +"/sheets:v4/Request/updateProtectedRange": update_protected_range +"/sheets:v4/Request/deleteFilterView": delete_filter_view +"/sheets:v4/Request/clearBasicFilter": clear_basic_filter +"/sheets:v4/Request/sortRange": sort_range +"/sheets:v4/Request/repeatCell": repeat_cell +"/sheets:v4/Request/setDataValidation": set_data_validation +"/sheets:v4/Request/updateCells": update_cells +"/sheets:v4/Request/addSheet": add_sheet +"/sheets:v4/Request/updateFilterView": update_filter_view +"/sheets:v4/Request/updateSheetProperties": update_sheet_properties +"/sheets:v4/Request/updateDimensionProperties": update_dimension_properties +"/sheets:v4/Request/deleteSheet": delete_sheet +"/sheets:v4/Request/findReplace": find_replace +"/sheets:v4/Request/addProtectedRange": add_protected_range +"/sheets:v4/Request/deleteProtectedRange": delete_protected_range +"/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule +"/sheets:v4/Request/setBasicFilter": set_basic_filter +"/sheets:v4/Request/mergeCells": merge_cells +"/sheets:v4/Request/updateBanding": update_banding +"/sheets:v4/Request/addChart": add_chart +"/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Request/addBanding": add_banding +"/sheets:v4/Request/deleteBanding": delete_banding +"/sheets:v4/Request/updateChartSpec": update_chart_spec +"/sheets:v4/Request/deleteDimension": delete_dimension +"/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object +"/sheets:v4/Request/pasteData": paste_data +"/sheets:v4/Request/addConditionalFormatRule": add_conditional_format_rule +"/sheets:v4/Request/updateBorders": update_borders +"/sheets:v4/Request/autoResizeDimensions": auto_resize_dimensions +"/sheets:v4/Request/duplicateSheet": duplicate_sheet +"/sheets:v4/Request/duplicateFilterView": duplicate_filter_view +"/sheets:v4/Request/cutPaste": cut_paste +"/sheets:v4/Request/appendCells": append_cells +"/sheets:v4/Request/addNamedRange": add_named_range +"/sheets:v4/Request/autoFill": auto_fill +"/sheets:v4/Request/moveDimension": move_dimension +"/sheets:v4/Request/textToColumns": text_to_columns +"/sheets:v4/Request/insertDimension": insert_dimension +"/sheets:v4/Request/copyPaste": copy_paste +"/sheets:v4/BatchGetValuesResponse": batch_get_values_response +"/sheets:v4/BatchGetValuesResponse/valueRanges": value_ranges +"/sheets:v4/BatchGetValuesResponse/valueRanges/value_range": value_range +"/sheets:v4/BatchGetValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/InsertDimensionRequest": insert_dimension_request +"/sheets:v4/InsertDimensionRequest/inheritFromBefore": inherit_from_before +"/sheets:v4/InsertDimensionRequest/range": range +"/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request +"/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop +"/sheets:v4/BandedRange": banded_range +"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/BandedRange/rowProperties": row_properties +"/sheets:v4/BandedRange/columnProperties": column_properties +"/sheets:v4/BandedRange/range": range +"/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response +"/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule +"/siteVerification:v1/fields": fields +"/siteVerification:v1/key": key +"/siteVerification:v1/quotaUser": quota_user +"/siteVerification:v1/userIp": user_ip +"/siteVerification:v1/siteVerification.webResource.delete": delete_web_resource +"/siteVerification:v1/siteVerification.webResource.delete/id": id +"/siteVerification:v1/siteVerification.webResource.get": get_web_resource +"/siteVerification:v1/siteVerification.webResource.get/id": id +"/siteVerification:v1/siteVerification.webResource.getToken": get_web_resource_token +"/siteVerification:v1/siteVerification.webResource.insert": insert_web_resource +"/siteVerification:v1/siteVerification.webResource.insert/verificationMethod": verification_method +"/siteVerification:v1/siteVerification.webResource.list": list_web_resources +"/siteVerification:v1/siteVerification.webResource.patch": patch_web_resource +"/siteVerification:v1/siteVerification.webResource.patch/id": id +"/siteVerification:v1/siteVerification.webResource.update": update_web_resource +"/siteVerification:v1/siteVerification.webResource.update/id": id +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site": site +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/identifier": identifier +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/site/type": type +"/siteVerification:v1/SiteVerificationWebResourceGettokenRequest/verificationMethod": verification_method +"/siteVerification:v1/SiteVerificationWebResourceGettokenResponse/token": token +"/siteVerification:v1/SiteVerificationWebResourceListResponse/items": items +"/siteVerification:v1/SiteVerificationWebResourceListResponse/items/item": item +"/siteVerification:v1/SiteVerificationWebResourceResource": site_verification_web_resource_resource +"/siteVerification:v1/SiteVerificationWebResourceResource/id": id +"/siteVerification:v1/SiteVerificationWebResourceResource/owners": owners +"/siteVerification:v1/SiteVerificationWebResourceResource/owners/owner": owner +"/siteVerification:v1/SiteVerificationWebResourceResource/site": site +"/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier +"/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type +"/slides:v1/key": key +"/slides:v1/quotaUser": quota_user +"/slides:v1/fields": fields +"/slides:v1/slides.presentations.get": get_presentation +"/slides:v1/slides.presentations.get/presentationId": presentation_id +"/slides:v1/slides.presentations.create": create_presentation +"/slides:v1/slides.presentations.batchUpdate": batch_update_presentation +"/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get": get_presentation_page +"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id +"/slides:v1/StretchedPictureFill": stretched_picture_fill +"/slides:v1/StretchedPictureFill/contentUrl": content_url +"/slides:v1/StretchedPictureFill/size": size +"/slides:v1/Image": image +"/slides:v1/Image/contentUrl": content_url +"/slides:v1/Image/imageProperties": image_properties +"/slides:v1/VideoProperties": video_properties +"/slides:v1/VideoProperties/outline": outline +"/slides:v1/CropProperties": crop_properties +"/slides:v1/CropProperties/rightOffset": right_offset +"/slides:v1/CropProperties/angle": angle +"/slides:v1/CropProperties/leftOffset": left_offset +"/slides:v1/CropProperties/topOffset": top_offset +"/slides:v1/CropProperties/bottomOffset": bottom_offset +"/slides:v1/TableRange": table_range +"/slides:v1/TableRange/location": location +"/slides:v1/TableRange/rowSpan": row_span +"/slides:v1/TableRange/columnSpan": column_span +"/slides:v1/UpdateTextStyleRequest": update_text_style_request +"/slides:v1/UpdateTextStyleRequest/style": style +"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateTextStyleRequest/fields": fields +"/slides:v1/UpdateTextStyleRequest/textRange": text_range +"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location +"/slides:v1/InsertTextRequest": insert_text_request +"/slides:v1/InsertTextRequest/text": text +"/slides:v1/InsertTextRequest/objectId": object_id_prop +"/slides:v1/InsertTextRequest/insertionIndex": insertion_index +"/slides:v1/InsertTextRequest/cellLocation": cell_location +"/slides:v1/RgbColor": rgb_color +"/slides:v1/RgbColor/green": green +"/slides:v1/RgbColor/blue": blue +"/slides:v1/RgbColor/red": red +"/slides:v1/PageElementProperties": page_element_properties +"/slides:v1/PageElementProperties/size": size +"/slides:v1/PageElementProperties/pageObjectId": page_object_id +"/slides:v1/PageElementProperties/transform": transform +"/slides:v1/DeleteTextRequest": delete_text_request +"/slides:v1/DeleteTextRequest/objectId": object_id_prop +"/slides:v1/DeleteTextRequest/textRange": text_range +"/slides:v1/DeleteTextRequest/cellLocation": cell_location +"/slides:v1/ParagraphStyle": paragraph_style +"/slides:v1/ParagraphStyle/lineSpacing": line_spacing +"/slides:v1/ParagraphStyle/spacingMode": spacing_mode +"/slides:v1/ParagraphStyle/alignment": alignment +"/slides:v1/ParagraphStyle/spaceAbove": space_above +"/slides:v1/ParagraphStyle/direction": direction +"/slides:v1/ParagraphStyle/indentEnd": indent_end +"/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/slides:v1/ParagraphStyle/indentStart": indent_start +"/slides:v1/ParagraphStyle/spaceBelow": space_below +"/slides:v1/Page": page +"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/Page/pageType": page_type +"/slides:v1/Page/pageElements": page_elements +"/slides:v1/Page/pageElements/page_element": page_element +"/slides:v1/Page/pageProperties": page_properties +"/slides:v1/Page/layoutProperties": layout_properties +"/slides:v1/Page/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request +"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties +"/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest/fields": fields +"/slides:v1/CreateLineResponse": create_line_response +"/slides:v1/CreateLineResponse/objectId": object_id_prop +"/slides:v1/Presentation": presentation +"/slides:v1/Presentation/title": title +"/slides:v1/Presentation/locale": locale +"/slides:v1/Presentation/slides": slides +"/slides:v1/Presentation/slides/slide": slide +"/slides:v1/Presentation/masters": masters +"/slides:v1/Presentation/masters/master": master +"/slides:v1/Presentation/pageSize": page_size +"/slides:v1/Presentation/presentationId": presentation_id +"/slides:v1/Presentation/layouts": layouts +"/slides:v1/Presentation/layouts/layout": layout +"/slides:v1/CreateImageRequest": create_image_request +"/slides:v1/CreateImageRequest/url": url +"/slides:v1/CreateImageRequest/objectId": object_id_prop +"/slides:v1/CreateImageRequest/elementProperties": element_properties +"/slides:v1/SlideProperties": slide_properties +"/slides:v1/SlideProperties/layoutObjectId": layout_object_id +"/slides:v1/SlideProperties/masterObjectId": master_object_id +"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request +"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode +"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest/transform": transform +"/slides:v1/List": list +"/slides:v1/List/nestingLevel": nesting_level +"/slides:v1/List/nestingLevel/nesting_level": nesting_level +"/slides:v1/List/listId": list_id +"/slides:v1/CreateVideoResponse": create_video_response +"/slides:v1/CreateVideoResponse/objectId": object_id_prop +"/slides:v1/InsertTableRowsRequest": insert_table_rows_request +"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below +"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location +"/slides:v1/InsertTableRowsRequest/number": number +"/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request +"/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties +"/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateVideoPropertiesRequest/fields": fields +"/slides:v1/OpaqueColor": opaque_color +"/slides:v1/OpaqueColor/rgbColor": rgb_color +"/slides:v1/OpaqueColor/themeColor": theme_color +"/slides:v1/Response": response +"/slides:v1/Response/createTable": create_table +"/slides:v1/Response/replaceAllText": replace_all_text +"/slides:v1/Response/createLine": create_line +"/slides:v1/Response/createSheetsChart": create_sheets_chart +"/slides:v1/Response/createSlide": create_slide +"/slides:v1/Response/createShape": create_shape +"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Response/createVideo": create_video +"/slides:v1/Response/createImage": create_image +"/slides:v1/Response/duplicateObject": duplicate_object +"/slides:v1/LineProperties": line_properties +"/slides:v1/LineProperties/weight": weight +"/slides:v1/LineProperties/endArrow": end_arrow +"/slides:v1/LineProperties/link": link +"/slides:v1/LineProperties/lineFill": line_fill +"/slides:v1/LineProperties/dashStyle": dash_style +"/slides:v1/LineProperties/startArrow": start_arrow +"/slides:v1/Table": table +"/slides:v1/Table/columns": columns +"/slides:v1/Table/tableColumns": table_columns +"/slides:v1/Table/tableColumns/table_column": table_column +"/slides:v1/Table/rows": rows +"/slides:v1/Table/tableRows": table_rows +"/slides:v1/Table/tableRows/table_row": table_row +"/slides:v1/NestingLevel": nesting_level +"/slides:v1/NestingLevel/bulletStyle": bullet_style +"/slides:v1/DuplicateObjectResponse": duplicate_object_response +"/slides:v1/DuplicateObjectResponse/objectId": object_id_prop +"/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request +"/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop +"/slides:v1/TableCellLocation": table_cell_location +"/slides:v1/TableCellLocation/rowIndex": row_index +"/slides:v1/TableCellLocation/columnIndex": column_index +"/slides:v1/TextContent": text_content +"/slides:v1/TextContent/lists": lists +"/slides:v1/TextContent/lists/list": list +"/slides:v1/TextContent/textElements": text_elements +"/slides:v1/TextContent/textElements/text_element": text_element +"/slides:v1/PageElement": page_element +"/slides:v1/PageElement/description": description +"/slides:v1/PageElement/title": title +"/slides:v1/PageElement/transform": transform +"/slides:v1/PageElement/video": video +"/slides:v1/PageElement/sheetsChart": sheets_chart +"/slides:v1/PageElement/line": line +"/slides:v1/PageElement/table": table +"/slides:v1/PageElement/wordArt": word_art +"/slides:v1/PageElement/shape": shape +"/slides:v1/PageElement/elementGroup": element_group +"/slides:v1/PageElement/image": image +"/slides:v1/PageElement/objectId": object_id_prop +"/slides:v1/PageElement/size": size +"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request +"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePagePropertiesRequest/fields": fields +"/slides:v1/UpdatePagePropertiesRequest/pageProperties": page_properties +"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request +"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range +"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields +"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties +"/slides:v1/BatchUpdatePresentationRequest": batch_update_presentation_request +"/slides:v1/BatchUpdatePresentationRequest/requests": requests +"/slides:v1/BatchUpdatePresentationRequest/requests/request": request +"/slides:v1/Dimension": dimension +"/slides:v1/Dimension/unit": unit +"/slides:v1/Dimension/magnitude": magnitude +"/slides:v1/Placeholder": placeholder +"/slides:v1/Placeholder/index": index +"/slides:v1/Placeholder/type": type +"/slides:v1/Placeholder/parentObjectId": parent_object_id +"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request +"/slides:v1/CreateSheetsChartRequest/chartId": chart_id +"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop +"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties +"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/DeleteTableRowRequest": delete_table_row_request +"/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableRowRequest/cellLocation": cell_location +"/slides:v1/Video": video +"/slides:v1/Video/url": url +"/slides:v1/Video/videoProperties": video_properties +"/slides:v1/Video/source": source +"/slides:v1/Video/id": id +"/slides:v1/Link": link +"/slides:v1/Link/url": url +"/slides:v1/Link/relativeLink": relative_link +"/slides:v1/Link/slideIndex": slide_index +"/slides:v1/Link/pageObjectId": page_object_id +"/slides:v1/PageBackgroundFill": page_background_fill +"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill +"/slides:v1/PageBackgroundFill/propertyState": property_state +"/slides:v1/PageBackgroundFill/solidFill": solid_fill +"/slides:v1/ColorStop": color_stop +"/slides:v1/ColorStop/color": color +"/slides:v1/ColorStop/position": position +"/slides:v1/ColorStop/alpha": alpha +"/slides:v1/ThemeColorPair": theme_color_pair +"/slides:v1/ThemeColorPair/color": color +"/slides:v1/ThemeColorPair/type": type +"/slides:v1/ReplaceAllShapesWithImageRequest": replace_all_shapes_with_image_request +"/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method +"/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithImageRequest/imageUrl": image_url +"/slides:v1/DeleteObjectRequest": delete_object_request +"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/CreateImageResponse": create_image_response +"/slides:v1/CreateImageResponse/objectId": object_id_prop +"/slides:v1/Recolor": recolor +"/slides:v1/Recolor/recolorStops": recolor_stops +"/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop +"/slides:v1/TextStyle": text_style +"/slides:v1/TextStyle/bold": bold +"/slides:v1/TextStyle/italic": italic +"/slides:v1/TextStyle/baselineOffset": baseline_offset +"/slides:v1/TextStyle/foregroundColor": foreground_color +"/slides:v1/TextStyle/fontFamily": font_family +"/slides:v1/TextStyle/strikethrough": strikethrough +"/slides:v1/TextStyle/link": link +"/slides:v1/TextStyle/smallCaps": small_caps +"/slides:v1/TextStyle/backgroundColor": background_color +"/slides:v1/TextStyle/fontSize": font_size +"/slides:v1/TextStyle/underline": underline +"/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request +"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties +"/slides:v1/UpdateLinePropertiesRequest/fields": fields +"/slides:v1/TableCellBackgroundFill": table_cell_background_fill +"/slides:v1/TableCellBackgroundFill/propertyState": property_state +"/slides:v1/TableCellBackgroundFill/solidFill": solid_fill +"/slides:v1/SolidFill": solid_fill +"/slides:v1/SolidFill/color": color +"/slides:v1/SolidFill/alpha": alpha +"/slides:v1/DuplicateObjectRequest": duplicate_object_request +"/slides:v1/DuplicateObjectRequest/objectId": object_id_prop +"/slides:v1/DuplicateObjectRequest/objectIds": object_ids +"/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop +"/slides:v1/SheetsChart": sheets_chart +"/slides:v1/SheetsChart/chartId": chart_id +"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id +"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChart/contentUrl": content_url +"/slides:v1/PageProperties": page_properties +"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill +"/slides:v1/PageProperties/colorScheme": color_scheme +"/slides:v1/Shadow": shadow +"/slides:v1/Shadow/alignment": alignment +"/slides:v1/Shadow/rotateWithShape": rotate_with_shape +"/slides:v1/Shadow/transform": transform +"/slides:v1/Shadow/color": color +"/slides:v1/Shadow/blurRadius": blur_radius +"/slides:v1/Shadow/propertyState": property_state +"/slides:v1/Shadow/alpha": alpha +"/slides:v1/Shadow/type": type +"/slides:v1/LayoutReference": layout_reference +"/slides:v1/LayoutReference/predefinedLayout": predefined_layout +"/slides:v1/LayoutReference/layoutId": layout_id +"/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response +"/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop +"/slides:v1/ReplaceAllTextResponse": replace_all_text_response +"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed +"/slides:v1/LayoutProperties": layout_properties +"/slides:v1/LayoutProperties/displayName": display_name +"/slides:v1/LayoutProperties/masterObjectId": master_object_id +"/slides:v1/LayoutProperties/name": name +"/slides:v1/InsertTableColumnsRequest": insert_table_columns_request +"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableColumnsRequest/insertRight": insert_right +"/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location +"/slides:v1/InsertTableColumnsRequest/number": number +"/slides:v1/DeleteTableColumnRequest": delete_table_column_request +"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location +"/slides:v1/TableRow": table_row +"/slides:v1/TableRow/rowHeight": row_height +"/slides:v1/TableRow/tableCells": table_cells +"/slides:v1/TableRow/tableCells/table_cell": table_cell +"/slides:v1/AffineTransform": affine_transform +"/slides:v1/AffineTransform/unit": unit +"/slides:v1/AffineTransform/shearY": shear_y +"/slides:v1/AffineTransform/translateX": translate_x +"/slides:v1/AffineTransform/shearX": shear_x +"/slides:v1/AffineTransform/scaleY": scale_y +"/slides:v1/AffineTransform/scaleX": scale_x +"/slides:v1/AffineTransform/translateY": translate_y +"/slides:v1/CreateShapeRequest": create_shape_request +"/slides:v1/CreateShapeRequest/objectId": object_id_prop +"/slides:v1/CreateShapeRequest/shapeType": shape_type +"/slides:v1/CreateShapeRequest/elementProperties": element_properties +"/slides:v1/ShapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeBackgroundFill/propertyState": property_state +"/slides:v1/ShapeBackgroundFill/solidFill": solid_fill +"/slides:v1/Line": line +"/slides:v1/Line/lineProperties": line_properties +"/slides:v1/Line/lineType": line_type +"/slides:v1/SheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties +"/slides:v1/AutoText": auto_text +"/slides:v1/AutoText/style": style +"/slides:v1/AutoText/type": type +"/slides:v1/AutoText/content": content +"/slides:v1/TextElement": text_element +"/slides:v1/TextElement/endIndex": end_index +"/slides:v1/TextElement/textRun": text_run +"/slides:v1/TextElement/startIndex": start_index +"/slides:v1/TextElement/paragraphMarker": paragraph_marker +"/slides:v1/TextElement/autoText": auto_text +"/slides:v1/UpdateSlidesPositionRequest": update_slides_position_request +"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id +"/slides:v1/ReplaceAllTextRequest": replace_all_text_request +"/slides:v1/ReplaceAllTextRequest/containsText": contains_text +"/slides:v1/ReplaceAllTextRequest/replaceText": replace_text +"/slides:v1/ShapeProperties": shape_properties +"/slides:v1/ShapeProperties/outline": outline +"/slides:v1/ShapeProperties/link": link +"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeProperties/shadow": shadow +"/slides:v1/CreateLineRequest": create_line_request +"/slides:v1/CreateLineRequest/objectId": object_id_prop +"/slides:v1/CreateLineRequest/elementProperties": element_properties +"/slides:v1/CreateLineRequest/lineCategory": line_category +"/slides:v1/CreateShapeResponse": create_shape_response +"/slides:v1/CreateShapeResponse/objectId": object_id_prop +"/slides:v1/CreateSlideResponse": create_slide_response +"/slides:v1/CreateSlideResponse/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request +"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest/fields": fields +"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties +"/slides:v1/CreateVideoRequest": create_video_request +"/slides:v1/CreateVideoRequest/objectId": object_id_prop +"/slides:v1/CreateVideoRequest/source": source +"/slides:v1/CreateVideoRequest/elementProperties": element_properties +"/slides:v1/CreateVideoRequest/id": id +"/slides:v1/CreateTableRequest": create_table_request +"/slides:v1/CreateTableRequest/columns": columns +"/slides:v1/CreateTableRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest/rows": rows +"/slides:v1/CreateTableRequest/elementProperties": element_properties +"/slides:v1/OptionalColor": optional_color +"/slides:v1/OptionalColor/opaqueColor": opaque_color +"/slides:v1/TextRun": text_run +"/slides:v1/TextRun/style": style +"/slides:v1/TextRun/content": content +"/slides:v1/Shape": shape +"/slides:v1/Shape/text": text +"/slides:v1/Shape/shapeProperties": shape_properties +"/slides:v1/Shape/shapeType": shape_type +"/slides:v1/Shape/placeholder": placeholder +"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response +"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id +"/slides:v1/BatchUpdatePresentationResponse/replies": replies +"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply +"/slides:v1/ImageProperties": image_properties +"/slides:v1/ImageProperties/cropProperties": crop_properties +"/slides:v1/ImageProperties/outline": outline +"/slides:v1/ImageProperties/shadow": shadow +"/slides:v1/ImageProperties/transparency": transparency +"/slides:v1/ImageProperties/contrast": contrast +"/slides:v1/ImageProperties/link": link +"/slides:v1/ImageProperties/recolor": recolor +"/slides:v1/ImageProperties/brightness": brightness +"/slides:v1/Group": group +"/slides:v1/Group/children": children +"/slides:v1/Group/children/child": child +"/slides:v1/Outline": outline +"/slides:v1/Outline/weight": weight +"/slides:v1/Outline/dashStyle": dash_style +"/slides:v1/Outline/propertyState": property_state +"/slides:v1/Outline/outlineFill": outline_fill +"/slides:v1/TableCell": table_cell +"/slides:v1/TableCell/text": text +"/slides:v1/TableCell/location": location +"/slides:v1/TableCell/rowSpan": row_span +"/slides:v1/TableCell/tableCellProperties": table_cell_properties +"/slides:v1/TableCell/columnSpan": column_span +"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response +"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed +"/slides:v1/CreateSlideRequest": create_slide_request +"/slides:v1/CreateSlideRequest/objectId": object_id_prop +"/slides:v1/CreateSlideRequest/insertionIndex": insertion_index +"/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference +"/slides:v1/TableCellProperties": table_cell_properties +"/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill +"/slides:v1/CreateTableResponse": create_table_response +"/slides:v1/CreateTableResponse/objectId": object_id_prop +"/slides:v1/Size": size +"/slides:v1/Size/width": width +"/slides:v1/Size/height": height +"/slides:v1/ColorScheme": color_scheme +"/slides:v1/ColorScheme/colors": colors +"/slides:v1/ColorScheme/colors/color": color +"/slides:v1/ParagraphMarker": paragraph_marker +"/slides:v1/ParagraphMarker/style": style +"/slides:v1/ParagraphMarker/bullet": bullet +"/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request +"/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/CreateParagraphBulletsRequest/textRange": text_range +"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/SubstringMatchCriteria": substring_match_criteria +"/slides:v1/SubstringMatchCriteria/text": text +"/slides:v1/SubstringMatchCriteria/matchCase": match_case +"/slides:v1/WordArt": word_art +"/slides:v1/WordArt/renderedText": rendered_text +"/slides:v1/Range": range +"/slides:v1/Range/endIndex": end_index +"/slides:v1/Range/startIndex": start_index +"/slides:v1/Range/type": type +"/slides:v1/TableColumnProperties": table_column_properties +"/slides:v1/TableColumnProperties/columnWidth": column_width +"/slides:v1/Request": request +"/slides:v1/Request/createParagraphBullets": create_paragraph_bullets +"/slides:v1/Request/insertTableColumns": insert_table_columns +"/slides:v1/Request/createTable": create_table +"/slides:v1/Request/deleteText": delete_text +"/slides:v1/Request/replaceAllText": replace_all_text +"/slides:v1/Request/updateVideoProperties": update_video_properties +"/slides:v1/Request/insertText": insert_text +"/slides:v1/Request/deleteTableRow": delete_table_row +"/slides:v1/Request/createLine": create_line +"/slides:v1/Request/updateTextStyle": update_text_style +"/slides:v1/Request/insertTableRows": insert_table_rows +"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties +"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart +"/slides:v1/Request/createSheetsChart": create_sheets_chart +"/slides:v1/Request/updatePageProperties": update_page_properties +"/slides:v1/Request/updateShapeProperties": update_shape_properties +"/slides:v1/Request/createSlide": create_slide +"/slides:v1/Request/deleteObject": delete_object +"/slides:v1/Request/createShape": create_shape +"/slides:v1/Request/updatePageElementTransform": update_page_element_transform +"/slides:v1/Request/updateSlidesPosition": update_slides_position +"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Request/updateImageProperties": update_image_properties +"/slides:v1/Request/createVideo": create_video +"/slides:v1/Request/createImage": create_image +"/slides:v1/Request/duplicateObject": duplicate_object +"/slides:v1/Request/deleteTableColumn": delete_table_column +"/slides:v1/Request/updateLineProperties": update_line_properties +"/slides:v1/LineFill": line_fill +"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/OutlineFill": outline_fill +"/slides:v1/OutlineFill/solidFill": solid_fill +"/slides:v1/Bullet": bullet +"/slides:v1/Bullet/nestingLevel": nesting_level +"/slides:v1/Bullet/glyph": glyph +"/slides:v1/Bullet/bulletStyle": bullet_style +"/slides:v1/Bullet/listId": list_id +"/speech:v1beta1/key": key +"/speech:v1beta1/quotaUser": quota_user +"/speech:v1beta1/fields": fields +"/speech:v1beta1/speech.operations.get": get_operation +"/speech:v1beta1/speech.operations.get/name": name +"/speech:v1beta1/speech.operations.list": list_operations +"/speech:v1beta1/speech.operations.list/pageSize": page_size +"/speech:v1beta1/speech.operations.list/filter": filter +"/speech:v1beta1/speech.operations.list/name": name +"/speech:v1beta1/speech.operations.list/pageToken": page_token +"/speech:v1beta1/speech.operations.delete": delete_operation +"/speech:v1beta1/speech.operations.delete/name": name +"/speech:v1beta1/speech.operations.cancel": cancel_operation +"/speech:v1beta1/speech.operations.cancel/name": name +"/speech:v1beta1/Status": status +"/speech:v1beta1/Status/code": code +"/speech:v1beta1/Status/details": details +"/speech:v1beta1/Status/details/detail": detail +"/speech:v1beta1/Status/details/detail/detail": detail +"/speech:v1beta1/Status/message": message +"/speech:v1beta1/RecognitionAudio": recognition_audio +"/speech:v1beta1/RecognitionAudio/content": content +"/speech:v1beta1/RecognitionAudio/uri": uri +"/speech:v1beta1/Operation": operation +"/speech:v1beta1/Operation/error": error +"/speech:v1beta1/Operation/done": done +"/speech:v1beta1/Operation/metadata": metadata +"/speech:v1beta1/Operation/metadata/metadatum": metadatum +"/speech:v1beta1/Operation/response": response +"/speech:v1beta1/Operation/response/response": response +"/speech:v1beta1/Operation/name": name +"/speech:v1beta1/SpeechRecognitionAlternative": speech_recognition_alternative +"/speech:v1beta1/SpeechRecognitionAlternative/transcript": transcript +"/speech:v1beta1/SpeechRecognitionAlternative/confidence": confidence +"/speech:v1beta1/CancelOperationRequest": cancel_operation_request +"/speech:v1beta1/RecognitionConfig": recognition_config +"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1beta1/RecognitionConfig/languageCode": language_code +"/speech:v1beta1/RecognitionConfig/speechContext": speech_context +"/speech:v1beta1/RecognitionConfig/encoding": encoding +"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter +"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate +"/speech:v1beta1/SyncRecognizeRequest": sync_recognize_request +"/speech:v1beta1/SyncRecognizeRequest/audio": audio +"/speech:v1beta1/SyncRecognizeRequest/config": config +"/speech:v1beta1/SpeechRecognitionResult": speech_recognition_result +"/speech:v1beta1/SpeechRecognitionResult/alternatives": alternatives +"/speech:v1beta1/SpeechRecognitionResult/alternatives/alternative": alternative +"/speech:v1beta1/ListOperationsResponse": list_operations_response +"/speech:v1beta1/ListOperationsResponse/nextPageToken": next_page_token +"/speech:v1beta1/ListOperationsResponse/operations": operations +"/speech:v1beta1/ListOperationsResponse/operations/operation": operation +"/speech:v1beta1/Empty": empty +"/speech:v1beta1/SyncRecognizeResponse": sync_recognize_response +"/speech:v1beta1/SyncRecognizeResponse/results": results +"/speech:v1beta1/SyncRecognizeResponse/results/result": result +"/speech:v1beta1/SpeechContext": speech_context +"/speech:v1beta1/SpeechContext/phrases": phrases +"/speech:v1beta1/SpeechContext/phrases/phrase": phrase +"/speech:v1beta1/AsyncRecognizeRequest": async_recognize_request +"/speech:v1beta1/AsyncRecognizeRequest/audio": audio +"/speech:v1beta1/AsyncRecognizeRequest/config": config +"/sqladmin:v1beta4/fields": fields +"/sqladmin:v1beta4/key": key +"/sqladmin:v1beta4/quotaUser": quota_user +"/sqladmin:v1beta4/userIp": user_ip +"/sqladmin:v1beta4/sql.backupRuns.delete": delete_backup_run +"/sqladmin:v1beta4/sql.backupRuns.delete/id": id +"/sqladmin:v1beta4/sql.backupRuns.delete/instance": instance +"/sqladmin:v1beta4/sql.backupRuns.delete/project": project +"/sqladmin:v1beta4/sql.backupRuns.get": get_backup_run +"/sqladmin:v1beta4/sql.backupRuns.get/id": id +"/sqladmin:v1beta4/sql.backupRuns.get/instance": instance +"/sqladmin:v1beta4/sql.backupRuns.get/project": project +"/sqladmin:v1beta4/sql.backupRuns.insert": insert_backup_run +"/sqladmin:v1beta4/sql.backupRuns.insert/instance": instance +"/sqladmin:v1beta4/sql.backupRuns.insert/project": project +"/sqladmin:v1beta4/sql.backupRuns.list": list_backup_runs +"/sqladmin:v1beta4/sql.backupRuns.list/instance": instance +"/sqladmin:v1beta4/sql.backupRuns.list/maxResults": max_results +"/sqladmin:v1beta4/sql.backupRuns.list/pageToken": page_token +"/sqladmin:v1beta4/sql.backupRuns.list/project": project +"/sqladmin:v1beta4/sql.databases.delete": delete_database +"/sqladmin:v1beta4/sql.databases.delete/database": database +"/sqladmin:v1beta4/sql.databases.delete/instance": instance +"/sqladmin:v1beta4/sql.databases.delete/project": project +"/sqladmin:v1beta4/sql.databases.get": get_database +"/sqladmin:v1beta4/sql.databases.get/database": database +"/sqladmin:v1beta4/sql.databases.get/instance": instance +"/sqladmin:v1beta4/sql.databases.get/project": project +"/sqladmin:v1beta4/sql.databases.insert": insert_database +"/sqladmin:v1beta4/sql.databases.insert/instance": instance +"/sqladmin:v1beta4/sql.databases.insert/project": project +"/sqladmin:v1beta4/sql.databases.list": list_databases +"/sqladmin:v1beta4/sql.databases.list/instance": instance +"/sqladmin:v1beta4/sql.databases.list/project": project +"/sqladmin:v1beta4/sql.databases.patch": patch_database +"/sqladmin:v1beta4/sql.databases.patch/database": database +"/sqladmin:v1beta4/sql.databases.patch/instance": instance +"/sqladmin:v1beta4/sql.databases.patch/project": project +"/sqladmin:v1beta4/sql.databases.update": update_database +"/sqladmin:v1beta4/sql.databases.update/database": database +"/sqladmin:v1beta4/sql.databases.update/instance": instance +"/sqladmin:v1beta4/sql.databases.update/project": project +"/sqladmin:v1beta4/sql.flags.list": list_flags +"/sqladmin:v1beta4/sql.instances.clone": clone_instance +"/sqladmin:v1beta4/sql.instances.clone/instance": instance +"/sqladmin:v1beta4/sql.instances.clone/project": project +"/sqladmin:v1beta4/sql.instances.delete": delete_instance +"/sqladmin:v1beta4/sql.instances.delete/instance": instance +"/sqladmin:v1beta4/sql.instances.delete/project": project +"/sqladmin:v1beta4/sql.instances.export": export_instance +"/sqladmin:v1beta4/sql.instances.export/instance": instance +"/sqladmin:v1beta4/sql.instances.export/project": project +"/sqladmin:v1beta4/sql.instances.failover": failover_instance +"/sqladmin:v1beta4/sql.instances.failover/instance": instance +"/sqladmin:v1beta4/sql.instances.failover/project": project +"/sqladmin:v1beta4/sql.instances.get": get_instance +"/sqladmin:v1beta4/sql.instances.get/instance": instance +"/sqladmin:v1beta4/sql.instances.get/project": project +"/sqladmin:v1beta4/sql.instances.import": import_instance +"/sqladmin:v1beta4/sql.instances.import/instance": instance +"/sqladmin:v1beta4/sql.instances.import/project": project +"/sqladmin:v1beta4/sql.instances.insert": insert_instance +"/sqladmin:v1beta4/sql.instances.insert/project": project +"/sqladmin:v1beta4/sql.instances.list": list_instances +"/sqladmin:v1beta4/sql.instances.list/maxResults": max_results +"/sqladmin:v1beta4/sql.instances.list/pageToken": page_token +"/sqladmin:v1beta4/sql.instances.list/project": project +"/sqladmin:v1beta4/sql.instances.patch": patch_instance +"/sqladmin:v1beta4/sql.instances.patch/instance": instance +"/sqladmin:v1beta4/sql.instances.patch/project": project +"/sqladmin:v1beta4/sql.instances.promoteReplica": promote_instance_replica +"/sqladmin:v1beta4/sql.instances.promoteReplica/instance": instance +"/sqladmin:v1beta4/sql.instances.promoteReplica/project": project +"/sqladmin:v1beta4/sql.instances.resetSslConfig": reset_instance_ssl_config +"/sqladmin:v1beta4/sql.instances.resetSslConfig/instance": instance +"/sqladmin:v1beta4/sql.instances.resetSslConfig/project": project +"/sqladmin:v1beta4/sql.instances.restart": restart_instance +"/sqladmin:v1beta4/sql.instances.restart/instance": instance +"/sqladmin:v1beta4/sql.instances.restart/project": project +"/sqladmin:v1beta4/sql.instances.restoreBackup": restore_instance_backup +"/sqladmin:v1beta4/sql.instances.restoreBackup/instance": instance +"/sqladmin:v1beta4/sql.instances.restoreBackup/project": project +"/sqladmin:v1beta4/sql.instances.startReplica": start_instance_replica +"/sqladmin:v1beta4/sql.instances.startReplica/instance": instance +"/sqladmin:v1beta4/sql.instances.startReplica/project": project +"/sqladmin:v1beta4/sql.instances.stopReplica": stop_instance_replica +"/sqladmin:v1beta4/sql.instances.stopReplica/instance": instance +"/sqladmin:v1beta4/sql.instances.stopReplica/project": project +"/sqladmin:v1beta4/sql.instances.truncateLog": truncate_instance_log +"/sqladmin:v1beta4/sql.instances.truncateLog/instance": instance +"/sqladmin:v1beta4/sql.instances.truncateLog/project": project +"/sqladmin:v1beta4/sql.instances.update": update_instance +"/sqladmin:v1beta4/sql.instances.update/instance": instance +"/sqladmin:v1beta4/sql.instances.update/project": project +"/sqladmin:v1beta4/sql.operations.get": get_operation +"/sqladmin:v1beta4/sql.operations.get/operation": operation +"/sqladmin:v1beta4/sql.operations.get/project": project +"/sqladmin:v1beta4/sql.operations.list": list_operations +"/sqladmin:v1beta4/sql.operations.list/instance": instance +"/sqladmin:v1beta4/sql.operations.list/maxResults": max_results +"/sqladmin:v1beta4/sql.operations.list/pageToken": page_token +"/sqladmin:v1beta4/sql.operations.list/project": project +"/sqladmin:v1beta4/sql.sslCerts.createEphemeral": create_ssl_cert_ephemeral +"/sqladmin:v1beta4/sql.sslCerts.createEphemeral/instance": instance +"/sqladmin:v1beta4/sql.sslCerts.createEphemeral/project": project +"/sqladmin:v1beta4/sql.sslCerts.delete": delete_ssl_cert +"/sqladmin:v1beta4/sql.sslCerts.delete/instance": instance +"/sqladmin:v1beta4/sql.sslCerts.delete/project": project +"/sqladmin:v1beta4/sql.sslCerts.delete/sha1Fingerprint": sha1_fingerprint +"/sqladmin:v1beta4/sql.sslCerts.get": get_ssl_cert +"/sqladmin:v1beta4/sql.sslCerts.get/instance": instance +"/sqladmin:v1beta4/sql.sslCerts.get/project": project +"/sqladmin:v1beta4/sql.sslCerts.get/sha1Fingerprint": sha1_fingerprint +"/sqladmin:v1beta4/sql.sslCerts.insert": insert_ssl_cert +"/sqladmin:v1beta4/sql.sslCerts.insert/instance": instance +"/sqladmin:v1beta4/sql.sslCerts.insert/project": project +"/sqladmin:v1beta4/sql.sslCerts.list": list_ssl_certs +"/sqladmin:v1beta4/sql.sslCerts.list/instance": instance +"/sqladmin:v1beta4/sql.sslCerts.list/project": project +"/sqladmin:v1beta4/sql.tiers.list": list_tiers +"/sqladmin:v1beta4/sql.tiers.list/project": project +"/sqladmin:v1beta4/sql.users.delete": delete_user +"/sqladmin:v1beta4/sql.users.delete/host": host +"/sqladmin:v1beta4/sql.users.delete/instance": instance +"/sqladmin:v1beta4/sql.users.delete/name": name +"/sqladmin:v1beta4/sql.users.delete/project": project +"/sqladmin:v1beta4/sql.users.insert": insert_user +"/sqladmin:v1beta4/sql.users.insert/instance": instance +"/sqladmin:v1beta4/sql.users.insert/project": project +"/sqladmin:v1beta4/sql.users.list": list_users +"/sqladmin:v1beta4/sql.users.list/instance": instance +"/sqladmin:v1beta4/sql.users.list/project": project +"/sqladmin:v1beta4/sql.users.update": update_user +"/sqladmin:v1beta4/sql.users.update/host": host +"/sqladmin:v1beta4/sql.users.update/instance": instance +"/sqladmin:v1beta4/sql.users.update/name": name +"/sqladmin:v1beta4/sql.users.update/project": project +"/sqladmin:v1beta4/AclEntry": acl_entry +"/sqladmin:v1beta4/AclEntry/expirationTime": expiration_time +"/sqladmin:v1beta4/AclEntry/kind": kind +"/sqladmin:v1beta4/AclEntry/name": name +"/sqladmin:v1beta4/AclEntry/value": value +"/sqladmin:v1beta4/BackupConfiguration": backup_configuration +"/sqladmin:v1beta4/BackupConfiguration/binaryLogEnabled": binary_log_enabled +"/sqladmin:v1beta4/BackupConfiguration/enabled": enabled +"/sqladmin:v1beta4/BackupConfiguration/kind": kind +"/sqladmin:v1beta4/BackupConfiguration/startTime": start_time +"/sqladmin:v1beta4/BackupRun": backup_run +"/sqladmin:v1beta4/BackupRun/description": description +"/sqladmin:v1beta4/BackupRun/endTime": end_time +"/sqladmin:v1beta4/BackupRun/enqueuedTime": enqueued_time +"/sqladmin:v1beta4/BackupRun/error": error +"/sqladmin:v1beta4/BackupRun/id": id +"/sqladmin:v1beta4/BackupRun/instance": instance +"/sqladmin:v1beta4/BackupRun/kind": kind +"/sqladmin:v1beta4/BackupRun/selfLink": self_link +"/sqladmin:v1beta4/BackupRun/startTime": start_time +"/sqladmin:v1beta4/BackupRun/status": status +"/sqladmin:v1beta4/BackupRun/type": type +"/sqladmin:v1beta4/BackupRun/windowStartTime": window_start_time +"/sqladmin:v1beta4/BackupRunsListResponse/items": items +"/sqladmin:v1beta4/BackupRunsListResponse/items/item": item +"/sqladmin:v1beta4/BackupRunsListResponse/kind": kind +"/sqladmin:v1beta4/BackupRunsListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/BinLogCoordinates": bin_log_coordinates +"/sqladmin:v1beta4/BinLogCoordinates/binLogFileName": bin_log_file_name +"/sqladmin:v1beta4/BinLogCoordinates/binLogPosition": bin_log_position +"/sqladmin:v1beta4/BinLogCoordinates/kind": kind +"/sqladmin:v1beta4/CloneContext": clone_context +"/sqladmin:v1beta4/CloneContext/binLogCoordinates": bin_log_coordinates +"/sqladmin:v1beta4/CloneContext/destinationInstanceName": destination_instance_name +"/sqladmin:v1beta4/CloneContext/kind": kind +"/sqladmin:v1beta4/Database": database +"/sqladmin:v1beta4/Database/charset": charset +"/sqladmin:v1beta4/Database/collation": collation +"/sqladmin:v1beta4/Database/etag": etag +"/sqladmin:v1beta4/Database/instance": instance +"/sqladmin:v1beta4/Database/kind": kind +"/sqladmin:v1beta4/Database/name": name +"/sqladmin:v1beta4/Database/project": project +"/sqladmin:v1beta4/Database/selfLink": self_link +"/sqladmin:v1beta4/DatabaseFlags": database_flags +"/sqladmin:v1beta4/DatabaseFlags/name": name +"/sqladmin:v1beta4/DatabaseFlags/value": value +"/sqladmin:v1beta4/DatabaseInstance": database_instance +"/sqladmin:v1beta4/DatabaseInstance/backendType": backend_type +"/sqladmin:v1beta4/DatabaseInstance/connectionName": connection_name +"/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size +"/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version +"/sqladmin:v1beta4/DatabaseInstance/etag": etag +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica": failover_replica +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/available": available +"/sqladmin:v1beta4/DatabaseInstance/failoverReplica/name": name +"/sqladmin:v1beta4/DatabaseInstance/instanceType": instance_type +"/sqladmin:v1beta4/DatabaseInstance/ipAddresses": ip_addresses +"/sqladmin:v1beta4/DatabaseInstance/ipAddresses/ip_address": ip_address +"/sqladmin:v1beta4/DatabaseInstance/ipv6Address": ipv6_address +"/sqladmin:v1beta4/DatabaseInstance/kind": kind +"/sqladmin:v1beta4/DatabaseInstance/masterInstanceName": master_instance_name +"/sqladmin:v1beta4/DatabaseInstance/maxDiskSize": max_disk_size +"/sqladmin:v1beta4/DatabaseInstance/name": name +"/sqladmin:v1beta4/DatabaseInstance/onPremisesConfiguration": on_premises_configuration +"/sqladmin:v1beta4/DatabaseInstance/project": project +"/sqladmin:v1beta4/DatabaseInstance/region": region +"/sqladmin:v1beta4/DatabaseInstance/replicaConfiguration": replica_configuration +"/sqladmin:v1beta4/DatabaseInstance/replicaNames": replica_names +"/sqladmin:v1beta4/DatabaseInstance/replicaNames/replica_name": replica_name +"/sqladmin:v1beta4/DatabaseInstance/selfLink": self_link +"/sqladmin:v1beta4/DatabaseInstance/serverCaCert": server_ca_cert +"/sqladmin:v1beta4/DatabaseInstance/serviceAccountEmailAddress": service_account_email_address +"/sqladmin:v1beta4/DatabaseInstance/settings": settings +"/sqladmin:v1beta4/DatabaseInstance/state": state +"/sqladmin:v1beta4/DatabaseInstance/suspensionReason": suspension_reason +"/sqladmin:v1beta4/DatabaseInstance/suspensionReason/suspension_reason": suspension_reason +"/sqladmin:v1beta4/DatabasesListResponse/items": items +"/sqladmin:v1beta4/DatabasesListResponse/items/item": item +"/sqladmin:v1beta4/DatabasesListResponse/kind": kind +"/sqladmin:v1beta4/ExportContext": export_context +"/sqladmin:v1beta4/ExportContext/csvExportOptions": csv_export_options +"/sqladmin:v1beta4/ExportContext/csvExportOptions/selectQuery": select_query +"/sqladmin:v1beta4/ExportContext/databases": databases +"/sqladmin:v1beta4/ExportContext/databases/database": database +"/sqladmin:v1beta4/ExportContext/fileType": file_type +"/sqladmin:v1beta4/ExportContext/kind": kind +"/sqladmin:v1beta4/ExportContext/sqlExportOptions": sql_export_options +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/schemaOnly": schema_only +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables": tables +"/sqladmin:v1beta4/ExportContext/sqlExportOptions/tables/table": table +"/sqladmin:v1beta4/ExportContext/uri": uri +"/sqladmin:v1beta4/FailoverContext": failover_context +"/sqladmin:v1beta4/FailoverContext/kind": kind +"/sqladmin:v1beta4/FailoverContext/settingsVersion": settings_version +"/sqladmin:v1beta4/Flag": flag +"/sqladmin:v1beta4/Flag/allowedStringValues": allowed_string_values +"/sqladmin:v1beta4/Flag/allowedStringValues/allowed_string_value": allowed_string_value +"/sqladmin:v1beta4/Flag/appliesTo": applies_to +"/sqladmin:v1beta4/Flag/appliesTo/applies_to": applies_to +"/sqladmin:v1beta4/Flag/kind": kind +"/sqladmin:v1beta4/Flag/maxValue": max_value +"/sqladmin:v1beta4/Flag/minValue": min_value +"/sqladmin:v1beta4/Flag/name": name +"/sqladmin:v1beta4/Flag/requiresRestart": requires_restart +"/sqladmin:v1beta4/Flag/type": type +"/sqladmin:v1beta4/FlagsListResponse/items": items +"/sqladmin:v1beta4/FlagsListResponse/items/item": item +"/sqladmin:v1beta4/FlagsListResponse/kind": kind +"/sqladmin:v1beta4/ImportContext": import_context +"/sqladmin:v1beta4/ImportContext/csvImportOptions": csv_import_options +"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns": columns +"/sqladmin:v1beta4/ImportContext/csvImportOptions/columns/column": column +"/sqladmin:v1beta4/ImportContext/csvImportOptions/table": table +"/sqladmin:v1beta4/ImportContext/database": database +"/sqladmin:v1beta4/ImportContext/fileType": file_type +"/sqladmin:v1beta4/ImportContext/kind": kind +"/sqladmin:v1beta4/ImportContext/uri": uri +"/sqladmin:v1beta4/InstancesCloneRequest/cloneContext": clone_context +"/sqladmin:v1beta4/InstancesExportRequest/exportContext": export_context +"/sqladmin:v1beta4/InstancesFailoverRequest": instances_failover_request +"/sqladmin:v1beta4/InstancesFailoverRequest/failoverContext": failover_context +"/sqladmin:v1beta4/InstancesImportRequest/importContext": import_context +"/sqladmin:v1beta4/InstancesListResponse/items": items +"/sqladmin:v1beta4/InstancesListResponse/items/item": item +"/sqladmin:v1beta4/InstancesListResponse/kind": kind +"/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context +"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request +"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context +"/sqladmin:v1beta4/IpConfiguration": ip_configuration +"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks": authorized_networks +"/sqladmin:v1beta4/IpConfiguration/authorizedNetworks/authorized_network": authorized_network +"/sqladmin:v1beta4/IpConfiguration/ipv4Enabled": ipv4_enabled +"/sqladmin:v1beta4/IpConfiguration/requireSsl": require_ssl +"/sqladmin:v1beta4/IpMapping": ip_mapping +"/sqladmin:v1beta4/IpMapping/ipAddress": ip_address +"/sqladmin:v1beta4/IpMapping/timeToRetire": time_to_retire +"/sqladmin:v1beta4/IpMapping/type": type +"/sqladmin:v1beta4/LocationPreference": location_preference +"/sqladmin:v1beta4/LocationPreference/followGaeApplication": follow_gae_application +"/sqladmin:v1beta4/LocationPreference/kind": kind +"/sqladmin:v1beta4/LocationPreference/zone": zone +"/sqladmin:v1beta4/MaintenanceWindow": maintenance_window +"/sqladmin:v1beta4/MaintenanceWindow/day": day +"/sqladmin:v1beta4/MaintenanceWindow/hour": hour +"/sqladmin:v1beta4/MaintenanceWindow/kind": kind +"/sqladmin:v1beta4/MaintenanceWindow/updateTrack": update_track +"/sqladmin:v1beta4/MySqlReplicaConfiguration": my_sql_replica_configuration +"/sqladmin:v1beta4/MySqlReplicaConfiguration/caCertificate": ca_certificate +"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientCertificate": client_certificate +"/sqladmin:v1beta4/MySqlReplicaConfiguration/clientKey": client_key +"/sqladmin:v1beta4/MySqlReplicaConfiguration/connectRetryInterval": connect_retry_interval +"/sqladmin:v1beta4/MySqlReplicaConfiguration/dumpFilePath": dump_file_path +"/sqladmin:v1beta4/MySqlReplicaConfiguration/kind": kind +"/sqladmin:v1beta4/MySqlReplicaConfiguration/masterHeartbeatPeriod": master_heartbeat_period +"/sqladmin:v1beta4/MySqlReplicaConfiguration/password": password +"/sqladmin:v1beta4/MySqlReplicaConfiguration/sslCipher": ssl_cipher +"/sqladmin:v1beta4/MySqlReplicaConfiguration/username": username +"/sqladmin:v1beta4/MySqlReplicaConfiguration/verifyServerCertificate": verify_server_certificate +"/sqladmin:v1beta4/OnPremisesConfiguration": on_premises_configuration +"/sqladmin:v1beta4/OnPremisesConfiguration/hostPort": host_port +"/sqladmin:v1beta4/OnPremisesConfiguration/kind": kind +"/sqladmin:v1beta4/Operation": operation +"/sqladmin:v1beta4/Operation/endTime": end_time +"/sqladmin:v1beta4/Operation/error": error +"/sqladmin:v1beta4/Operation/exportContext": export_context +"/sqladmin:v1beta4/Operation/importContext": import_context +"/sqladmin:v1beta4/Operation/insertTime": insert_time +"/sqladmin:v1beta4/Operation/kind": kind +"/sqladmin:v1beta4/Operation/name": name +"/sqladmin:v1beta4/Operation/operationType": operation_type +"/sqladmin:v1beta4/Operation/selfLink": self_link +"/sqladmin:v1beta4/Operation/startTime": start_time +"/sqladmin:v1beta4/Operation/status": status +"/sqladmin:v1beta4/Operation/targetId": target_id +"/sqladmin:v1beta4/Operation/targetLink": target_link +"/sqladmin:v1beta4/Operation/targetProject": target_project +"/sqladmin:v1beta4/Operation/user": user +"/sqladmin:v1beta4/OperationError": operation_error +"/sqladmin:v1beta4/OperationError/code": code +"/sqladmin:v1beta4/OperationError/kind": kind +"/sqladmin:v1beta4/OperationError/message": message +"/sqladmin:v1beta4/OperationErrors": operation_errors +"/sqladmin:v1beta4/OperationErrors/errors": errors +"/sqladmin:v1beta4/OperationErrors/errors/error": error +"/sqladmin:v1beta4/OperationErrors/kind": kind +"/sqladmin:v1beta4/OperationsListResponse/items": items +"/sqladmin:v1beta4/OperationsListResponse/items/item": item +"/sqladmin:v1beta4/OperationsListResponse/kind": kind +"/sqladmin:v1beta4/OperationsListResponse/nextPageToken": next_page_token +"/sqladmin:v1beta4/ReplicaConfiguration": replica_configuration +"/sqladmin:v1beta4/ReplicaConfiguration/failoverTarget": failover_target +"/sqladmin:v1beta4/ReplicaConfiguration/kind": kind +"/sqladmin:v1beta4/ReplicaConfiguration/mysqlReplicaConfiguration": mysql_replica_configuration +"/sqladmin:v1beta4/RestoreBackupContext": restore_backup_context +"/sqladmin:v1beta4/RestoreBackupContext/backupRunId": backup_run_id +"/sqladmin:v1beta4/RestoreBackupContext/instanceId": instance_id +"/sqladmin:v1beta4/RestoreBackupContext/kind": kind +"/sqladmin:v1beta4/Settings": settings +"/sqladmin:v1beta4/Settings/activationPolicy": activation_policy +"/sqladmin:v1beta4/Settings/authorizedGaeApplications": authorized_gae_applications +"/sqladmin:v1beta4/Settings/authorizedGaeApplications/authorized_gae_application": authorized_gae_application +"/sqladmin:v1beta4/Settings/backupConfiguration": backup_configuration +"/sqladmin:v1beta4/Settings/crashSafeReplicationEnabled": crash_safe_replication_enabled +"/sqladmin:v1beta4/Settings/dataDiskSizeGb": data_disk_size_gb +"/sqladmin:v1beta4/Settings/dataDiskType": data_disk_type +"/sqladmin:v1beta4/Settings/databaseFlags": database_flags +"/sqladmin:v1beta4/Settings/databaseFlags/database_flag": database_flag +"/sqladmin:v1beta4/Settings/databaseReplicationEnabled": database_replication_enabled +"/sqladmin:v1beta4/Settings/ipConfiguration": ip_configuration +"/sqladmin:v1beta4/Settings/kind": kind +"/sqladmin:v1beta4/Settings/locationPreference": location_preference +"/sqladmin:v1beta4/Settings/maintenanceWindow": maintenance_window +"/sqladmin:v1beta4/Settings/pricingPlan": pricing_plan +"/sqladmin:v1beta4/Settings/replicationType": replication_type +"/sqladmin:v1beta4/Settings/settingsVersion": settings_version +"/sqladmin:v1beta4/Settings/storageAutoResize": storage_auto_resize +"/sqladmin:v1beta4/Settings/tier": tier +"/sqladmin:v1beta4/SslCert": ssl_cert +"/sqladmin:v1beta4/SslCert/cert": cert +"/sqladmin:v1beta4/SslCert/certSerialNumber": cert_serial_number +"/sqladmin:v1beta4/SslCert/commonName": common_name +"/sqladmin:v1beta4/SslCert/createTime": create_time +"/sqladmin:v1beta4/SslCert/expirationTime": expiration_time +"/sqladmin:v1beta4/SslCert/instance": instance +"/sqladmin:v1beta4/SslCert/kind": kind +"/sqladmin:v1beta4/SslCert/selfLink": self_link +"/sqladmin:v1beta4/SslCert/sha1Fingerprint": sha1_fingerprint +"/sqladmin:v1beta4/SslCertDetail": ssl_cert_detail +"/sqladmin:v1beta4/SslCertDetail/certInfo": cert_info +"/sqladmin:v1beta4/SslCertDetail/certPrivateKey": cert_private_key +"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest": ssl_certs_create_ephemeral_request +"/sqladmin:v1beta4/SslCertsCreateEphemeralRequest/public_key": public_key +"/sqladmin:v1beta4/SslCertsInsertRequest/commonName": common_name +"/sqladmin:v1beta4/SslCertsInsertResponse/clientCert": client_cert +"/sqladmin:v1beta4/SslCertsInsertResponse/kind": kind +"/sqladmin:v1beta4/SslCertsInsertResponse/operation": operation +"/sqladmin:v1beta4/SslCertsInsertResponse/serverCaCert": server_ca_cert +"/sqladmin:v1beta4/SslCertsListResponse/items": items +"/sqladmin:v1beta4/SslCertsListResponse/items/item": item +"/sqladmin:v1beta4/SslCertsListResponse/kind": kind +"/sqladmin:v1beta4/Tier": tier +"/sqladmin:v1beta4/Tier/DiskQuota": disk_quota +"/sqladmin:v1beta4/Tier/RAM": ram +"/sqladmin:v1beta4/Tier/kind": kind +"/sqladmin:v1beta4/Tier/region": region +"/sqladmin:v1beta4/Tier/region/region": region +"/sqladmin:v1beta4/Tier/tier": tier +"/sqladmin:v1beta4/TiersListResponse/items": items +"/sqladmin:v1beta4/TiersListResponse/items/item": item +"/sqladmin:v1beta4/TiersListResponse/kind": kind +"/sqladmin:v1beta4/TruncateLogContext": truncate_log_context +"/sqladmin:v1beta4/TruncateLogContext/kind": kind +"/sqladmin:v1beta4/TruncateLogContext/logType": log_type +"/sqladmin:v1beta4/User": user +"/sqladmin:v1beta4/User/etag": etag +"/sqladmin:v1beta4/User/host": host +"/sqladmin:v1beta4/User/instance": instance +"/sqladmin:v1beta4/User/kind": kind +"/sqladmin:v1beta4/User/name": name +"/sqladmin:v1beta4/User/password": password +"/sqladmin:v1beta4/User/project": project +"/sqladmin:v1beta4/UsersListResponse/items": items +"/sqladmin:v1beta4/UsersListResponse/items/item": item +"/sqladmin:v1beta4/UsersListResponse/kind": kind +"/sqladmin:v1beta4/UsersListResponse/nextPageToken": next_page_token +"/storage:v1/fields": fields +"/storage:v1/key": key +"/storage:v1/quotaUser": quota_user +"/storage:v1/userIp": user_ip +"/storage:v1/storage.bucketAccessControls.delete": delete_bucket_access_control +"/storage:v1/storage.bucketAccessControls.delete/bucket": bucket +"/storage:v1/storage.bucketAccessControls.delete/entity": entity +"/storage:v1/storage.bucketAccessControls.get": get_bucket_access_control +"/storage:v1/storage.bucketAccessControls.get/bucket": bucket +"/storage:v1/storage.bucketAccessControls.get/entity": entity +"/storage:v1/storage.bucketAccessControls.insert": insert_bucket_access_control +"/storage:v1/storage.bucketAccessControls.insert/bucket": bucket +"/storage:v1/storage.bucketAccessControls.list": list_bucket_access_controls +"/storage:v1/storage.bucketAccessControls.list/bucket": bucket +"/storage:v1/storage.bucketAccessControls.patch": patch_bucket_access_control +"/storage:v1/storage.bucketAccessControls.patch/bucket": bucket +"/storage:v1/storage.bucketAccessControls.patch/entity": entity +"/storage:v1/storage.bucketAccessControls.update": update_bucket_access_control +"/storage:v1/storage.bucketAccessControls.update/bucket": bucket +"/storage:v1/storage.bucketAccessControls.update/entity": entity +"/storage:v1/storage.buckets.delete": delete_bucket +"/storage:v1/storage.buckets.delete/bucket": bucket +"/storage:v1/storage.buckets.delete/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.buckets.delete/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.buckets.get": get_bucket +"/storage:v1/storage.buckets.get/bucket": bucket +"/storage:v1/storage.buckets.get/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.buckets.get/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.buckets.get/projection": projection +"/storage:v1/storage.buckets.insert": insert_bucket +"/storage:v1/storage.buckets.insert/predefinedAcl": predefined_acl +"/storage:v1/storage.buckets.insert/predefinedDefaultObjectAcl": predefined_default_object_acl +"/storage:v1/storage.buckets.insert/project": project +"/storage:v1/storage.buckets.insert/projection": projection +"/storage:v1/storage.buckets.list": list_buckets +"/storage:v1/storage.buckets.list/maxResults": max_results +"/storage:v1/storage.buckets.list/pageToken": page_token +"/storage:v1/storage.buckets.list/prefix": prefix +"/storage:v1/storage.buckets.list/project": project +"/storage:v1/storage.buckets.list/projection": projection +"/storage:v1/storage.buckets.patch": patch_bucket +"/storage:v1/storage.buckets.patch/bucket": bucket +"/storage:v1/storage.buckets.patch/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.buckets.patch/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.buckets.patch/predefinedAcl": predefined_acl +"/storage:v1/storage.buckets.patch/predefinedDefaultObjectAcl": predefined_default_object_acl +"/storage:v1/storage.buckets.patch/projection": projection +"/storage:v1/storage.buckets.update": update_bucket +"/storage:v1/storage.buckets.update/bucket": bucket +"/storage:v1/storage.buckets.update/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.buckets.update/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.buckets.update/predefinedAcl": predefined_acl +"/storage:v1/storage.buckets.update/predefinedDefaultObjectAcl": predefined_default_object_acl +"/storage:v1/storage.buckets.update/projection": projection +"/storage:v1/storage.channels.stop": stop_channel +"/storage:v1/storage.defaultObjectAccessControls.delete": delete_default_object_access_control +"/storage:v1/storage.defaultObjectAccessControls.delete/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.delete/entity": entity +"/storage:v1/storage.defaultObjectAccessControls.get": get_default_object_access_control +"/storage:v1/storage.defaultObjectAccessControls.get/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.get/entity": entity +"/storage:v1/storage.defaultObjectAccessControls.insert": insert_default_object_access_control +"/storage:v1/storage.defaultObjectAccessControls.insert/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.list": list_default_object_access_controls +"/storage:v1/storage.defaultObjectAccessControls.list/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.list/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.defaultObjectAccessControls.list/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.defaultObjectAccessControls.patch": patch_default_object_access_control +"/storage:v1/storage.defaultObjectAccessControls.patch/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.patch/entity": entity +"/storage:v1/storage.defaultObjectAccessControls.update": update_default_object_access_control +"/storage:v1/storage.defaultObjectAccessControls.update/bucket": bucket +"/storage:v1/storage.defaultObjectAccessControls.update/entity": entity +"/storage:v1/storage.objectAccessControls.delete": delete_object_access_control +"/storage:v1/storage.objectAccessControls.delete/bucket": bucket +"/storage:v1/storage.objectAccessControls.delete/entity": entity +"/storage:v1/storage.objectAccessControls.delete/generation": generation +"/storage:v1/storage.objectAccessControls.delete/object": object +"/storage:v1/storage.objectAccessControls.get": get_object_access_control +"/storage:v1/storage.objectAccessControls.get/bucket": bucket +"/storage:v1/storage.objectAccessControls.get/entity": entity +"/storage:v1/storage.objectAccessControls.get/generation": generation +"/storage:v1/storage.objectAccessControls.get/object": object +"/storage:v1/storage.objectAccessControls.insert": insert_object_access_control +"/storage:v1/storage.objectAccessControls.insert/bucket": bucket +"/storage:v1/storage.objectAccessControls.insert/generation": generation +"/storage:v1/storage.objectAccessControls.insert/object": object +"/storage:v1/storage.objectAccessControls.list": list_object_access_controls +"/storage:v1/storage.objectAccessControls.list/bucket": bucket +"/storage:v1/storage.objectAccessControls.list/generation": generation +"/storage:v1/storage.objectAccessControls.list/object": object +"/storage:v1/storage.objectAccessControls.patch": patch_object_access_control +"/storage:v1/storage.objectAccessControls.patch/bucket": bucket +"/storage:v1/storage.objectAccessControls.patch/entity": entity +"/storage:v1/storage.objectAccessControls.patch/generation": generation +"/storage:v1/storage.objectAccessControls.patch/object": object +"/storage:v1/storage.objectAccessControls.update": update_object_access_control +"/storage:v1/storage.objectAccessControls.update/bucket": bucket +"/storage:v1/storage.objectAccessControls.update/entity": entity +"/storage:v1/storage.objectAccessControls.update/generation": generation +"/storage:v1/storage.objectAccessControls.update/object": object +"/storage:v1/storage.objects.compose": compose_object +"/storage:v1/storage.objects.compose/destinationBucket": destination_bucket +"/storage:v1/storage.objects.compose/destinationObject": destination_object +"/storage:v1/storage.objects.compose/destinationPredefinedAcl": destination_predefined_acl +"/storage:v1/storage.objects.compose/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.compose/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.copy": copy_object +"/storage:v1/storage.objects.copy/destinationBucket": destination_bucket +"/storage:v1/storage.objects.copy/destinationObject": destination_object +"/storage:v1/storage.objects.copy/destinationPredefinedAcl": destination_predefined_acl +"/storage:v1/storage.objects.copy/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.copy/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.copy/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.copy/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.copy/ifSourceGenerationMatch": if_source_generation_match +"/storage:v1/storage.objects.copy/ifSourceGenerationNotMatch": if_source_generation_not_match +"/storage:v1/storage.objects.copy/ifSourceMetagenerationMatch": if_source_metageneration_match +"/storage:v1/storage.objects.copy/ifSourceMetagenerationNotMatch": if_source_metageneration_not_match +"/storage:v1/storage.objects.copy/projection": projection +"/storage:v1/storage.objects.copy/sourceBucket": source_bucket +"/storage:v1/storage.objects.copy/sourceGeneration": source_generation +"/storage:v1/storage.objects.copy/sourceObject": source_object +"/storage:v1/storage.objects.delete": delete_object +"/storage:v1/storage.objects.delete/bucket": bucket +"/storage:v1/storage.objects.delete/generation": generation +"/storage:v1/storage.objects.delete/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.delete/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.delete/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.delete/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.delete/object": object +"/storage:v1/storage.objects.get": get_object +"/storage:v1/storage.objects.get/bucket": bucket +"/storage:v1/storage.objects.get/generation": generation +"/storage:v1/storage.objects.get/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.get/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.get/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.get/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.get/object": object +"/storage:v1/storage.objects.get/projection": projection +"/storage:v1/storage.objects.insert": insert_object +"/storage:v1/storage.objects.insert/bucket": bucket +"/storage:v1/storage.objects.insert/contentEncoding": content_encoding +"/storage:v1/storage.objects.insert/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.insert/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.insert/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.insert/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.insert/name": name +"/storage:v1/storage.objects.insert/predefinedAcl": predefined_acl +"/storage:v1/storage.objects.insert/projection": projection +"/storage:v1/storage.objects.list": list_objects +"/storage:v1/storage.objects.list/bucket": bucket +"/storage:v1/storage.objects.list/delimiter": delimiter +"/storage:v1/storage.objects.list/maxResults": max_results +"/storage:v1/storage.objects.list/pageToken": page_token +"/storage:v1/storage.objects.list/prefix": prefix +"/storage:v1/storage.objects.list/projection": projection +"/storage:v1/storage.objects.list/versions": versions +"/storage:v1/storage.objects.patch": patch_object +"/storage:v1/storage.objects.patch/bucket": bucket +"/storage:v1/storage.objects.patch/generation": generation +"/storage:v1/storage.objects.patch/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.patch/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.patch/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.patch/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.patch/object": object +"/storage:v1/storage.objects.patch/predefinedAcl": predefined_acl +"/storage:v1/storage.objects.patch/projection": projection +"/storage:v1/storage.objects.rewrite": rewrite_object +"/storage:v1/storage.objects.rewrite/destinationBucket": destination_bucket +"/storage:v1/storage.objects.rewrite/destinationObject": destination_object +"/storage:v1/storage.objects.rewrite/destinationPredefinedAcl": destination_predefined_acl +"/storage:v1/storage.objects.rewrite/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.rewrite/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.rewrite/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.rewrite/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.rewrite/ifSourceGenerationMatch": if_source_generation_match +"/storage:v1/storage.objects.rewrite/ifSourceGenerationNotMatch": if_source_generation_not_match +"/storage:v1/storage.objects.rewrite/ifSourceMetagenerationMatch": if_source_metageneration_match +"/storage:v1/storage.objects.rewrite/ifSourceMetagenerationNotMatch": if_source_metageneration_not_match +"/storage:v1/storage.objects.rewrite/maxBytesRewrittenPerCall": max_bytes_rewritten_per_call +"/storage:v1/storage.objects.rewrite/projection": projection +"/storage:v1/storage.objects.rewrite/rewriteToken": rewrite_token +"/storage:v1/storage.objects.rewrite/sourceBucket": source_bucket +"/storage:v1/storage.objects.rewrite/sourceGeneration": source_generation +"/storage:v1/storage.objects.rewrite/sourceObject": source_object +"/storage:v1/storage.objects.update": update_object +"/storage:v1/storage.objects.update/bucket": bucket +"/storage:v1/storage.objects.update/generation": generation +"/storage:v1/storage.objects.update/ifGenerationMatch": if_generation_match +"/storage:v1/storage.objects.update/ifGenerationNotMatch": if_generation_not_match +"/storage:v1/storage.objects.update/ifMetagenerationMatch": if_metageneration_match +"/storage:v1/storage.objects.update/ifMetagenerationNotMatch": if_metageneration_not_match +"/storage:v1/storage.objects.update/object": object +"/storage:v1/storage.objects.update/predefinedAcl": predefined_acl +"/storage:v1/storage.objects.update/projection": projection +"/storage:v1/storage.objects.watchAll/bucket": bucket +"/storage:v1/storage.objects.watchAll/delimiter": delimiter +"/storage:v1/storage.objects.watchAll/maxResults": max_results +"/storage:v1/storage.objects.watchAll/pageToken": page_token +"/storage:v1/storage.objects.watchAll/prefix": prefix +"/storage:v1/storage.objects.watchAll/projection": projection +"/storage:v1/storage.objects.watchAll/versions": versions +"/storage:v1/Bucket": bucket +"/storage:v1/Bucket/acl": acl +"/storage:v1/Bucket/acl/acl": acl +"/storage:v1/Bucket/cors/cors_configuration": cors_configuration +"/storage:v1/Bucket/cors/cors_configuration/maxAgeSeconds": max_age_seconds +"/storage:v1/Bucket/cors/cors_configuration/method/http_method": http_method +"/storage:v1/Bucket/cors/cors_configuration/origin": origin +"/storage:v1/Bucket/cors/cors_configuration/origin/origin": origin +"/storage:v1/Bucket/cors/cors_configuration/responseHeader": response_header +"/storage:v1/Bucket/cors/cors_configuration/responseHeader/response_header": response_header +"/storage:v1/Bucket/defaultObjectAcl": default_object_acl +"/storage:v1/Bucket/defaultObjectAcl/default_object_acl": default_object_acl +"/storage:v1/Bucket/etag": etag +"/storage:v1/Bucket/id": id +"/storage:v1/Bucket/kind": kind +"/storage:v1/Bucket/lifecycle": lifecycle +"/storage:v1/Bucket/lifecycle/rule": rule +"/storage:v1/Bucket/lifecycle/rule/rule": rule +"/storage:v1/Bucket/lifecycle/rule/rule/action": action +"/storage:v1/Bucket/lifecycle/rule/rule/action/storageClass": storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/action/type": type +"/storage:v1/Bucket/lifecycle/rule/rule/condition": condition +"/storage:v1/Bucket/lifecycle/rule/rule/condition/age": age +"/storage:v1/Bucket/lifecycle/rule/rule/condition/createdBefore": created_before +"/storage:v1/Bucket/lifecycle/rule/rule/condition/isLive": is_live +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass": matches_storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass/matches_storage_class": matches_storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/condition/numNewerVersions": num_newer_versions +"/storage:v1/Bucket/location": location +"/storage:v1/Bucket/logging": logging +"/storage:v1/Bucket/logging/logBucket": log_bucket +"/storage:v1/Bucket/logging/logObjectPrefix": log_object_prefix +"/storage:v1/Bucket/metageneration": metageneration +"/storage:v1/Bucket/name": name +"/storage:v1/Bucket/owner": owner +"/storage:v1/Bucket/owner/entity": entity +"/storage:v1/Bucket/owner/entityId": entity_id +"/storage:v1/Bucket/projectNumber": project_number +"/storage:v1/Bucket/selfLink": self_link +"/storage:v1/Bucket/storageClass": storage_class +"/storage:v1/Bucket/timeCreated": time_created +"/storage:v1/Bucket/updated": updated +"/storage:v1/Bucket/versioning": versioning +"/storage:v1/Bucket/versioning/enabled": enabled +"/storage:v1/Bucket/website": website +"/storage:v1/Bucket/website/mainPageSuffix": main_page_suffix +"/storage:v1/Bucket/website/notFoundPage": not_found_page +"/storage:v1/BucketAccessControl": bucket_access_control +"/storage:v1/BucketAccessControl/bucket": bucket +"/storage:v1/BucketAccessControl/domain": domain +"/storage:v1/BucketAccessControl/email": email +"/storage:v1/BucketAccessControl/entity": entity +"/storage:v1/BucketAccessControl/entityId": entity_id +"/storage:v1/BucketAccessControl/etag": etag +"/storage:v1/BucketAccessControl/id": id +"/storage:v1/BucketAccessControl/kind": kind +"/storage:v1/BucketAccessControl/projectTeam": project_team +"/storage:v1/BucketAccessControl/projectTeam/projectNumber": project_number +"/storage:v1/BucketAccessControl/projectTeam/team": team +"/storage:v1/BucketAccessControl/role": role +"/storage:v1/BucketAccessControl/selfLink": self_link +"/storage:v1/BucketAccessControls": bucket_access_controls +"/storage:v1/BucketAccessControls/items": items +"/storage:v1/BucketAccessControls/items/item": item +"/storage:v1/BucketAccessControls/kind": kind +"/storage:v1/Buckets": buckets +"/storage:v1/Buckets/items": items +"/storage:v1/Buckets/items/item": item +"/storage:v1/Buckets/kind": kind +"/storage:v1/Buckets/nextPageToken": next_page_token +"/storage:v1/Channel": channel +"/storage:v1/Channel/address": address +"/storage:v1/Channel/expiration": expiration +"/storage:v1/Channel/id": id +"/storage:v1/Channel/kind": kind +"/storage:v1/Channel/params": params +"/storage:v1/Channel/params/param": param +"/storage:v1/Channel/payload": payload +"/storage:v1/Channel/resourceId": resource_id +"/storage:v1/Channel/resourceUri": resource_uri +"/storage:v1/Channel/token": token +"/storage:v1/Channel/type": type +"/storage:v1/ComposeRequest": compose_request +"/storage:v1/ComposeRequest/destination": destination +"/storage:v1/ComposeRequest/kind": kind +"/storage:v1/ComposeRequest/sourceObjects": source_objects +"/storage:v1/ComposeRequest/sourceObjects/source_object": source_object +"/storage:v1/ComposeRequest/sourceObjects/source_object/generation": generation +"/storage:v1/ComposeRequest/sourceObjects/source_object/name": name +"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions": object_preconditions +"/storage:v1/ComposeRequest/sourceObjects/source_object/objectPreconditions/ifGenerationMatch": if_generation_match +"/storage:v1/Object": object +"/storage:v1/Object/acl": acl +"/storage:v1/Object/acl/acl": acl +"/storage:v1/Object/bucket": bucket +"/storage:v1/Object/cacheControl": cache_control +"/storage:v1/Object/componentCount": component_count +"/storage:v1/Object/contentDisposition": content_disposition +"/storage:v1/Object/contentEncoding": content_encoding +"/storage:v1/Object/contentLanguage": content_language +"/storage:v1/Object/contentType": content_type +"/storage:v1/Object/crc32c": crc32c +"/storage:v1/Object/customerEncryption": customer_encryption +"/storage:v1/Object/customerEncryption/encryptionAlgorithm": encryption_algorithm +"/storage:v1/Object/customerEncryption/keySha256": key_sha256 +"/storage:v1/Object/etag": etag +"/storage:v1/Object/generation": generation +"/storage:v1/Object/id": id +"/storage:v1/Object/kind": kind +"/storage:v1/Object/md5Hash": md5_hash +"/storage:v1/Object/mediaLink": media_link +"/storage:v1/Object/metadata": metadata +"/storage:v1/Object/metadata/metadatum": metadatum +"/storage:v1/Object/metageneration": metageneration +"/storage:v1/Object/name": name +"/storage:v1/Object/owner": owner +"/storage:v1/Object/owner/entity": entity +"/storage:v1/Object/owner/entityId": entity_id +"/storage:v1/Object/selfLink": self_link +"/storage:v1/Object/size": size +"/storage:v1/Object/storageClass": storage_class +"/storage:v1/Object/timeCreated": time_created +"/storage:v1/Object/timeDeleted": time_deleted +"/storage:v1/Object/timeStorageClassUpdated": time_storage_class_updated +"/storage:v1/Object/updated": updated +"/storage:v1/ObjectAccessControl": object_access_control +"/storage:v1/ObjectAccessControl/bucket": bucket +"/storage:v1/ObjectAccessControl/domain": domain +"/storage:v1/ObjectAccessControl/email": email +"/storage:v1/ObjectAccessControl/entity": entity +"/storage:v1/ObjectAccessControl/entityId": entity_id +"/storage:v1/ObjectAccessControl/etag": etag +"/storage:v1/ObjectAccessControl/generation": generation +"/storage:v1/ObjectAccessControl/id": id +"/storage:v1/ObjectAccessControl/kind": kind +"/storage:v1/ObjectAccessControl/object": object +"/storage:v1/ObjectAccessControl/projectTeam": project_team +"/storage:v1/ObjectAccessControl/projectTeam/projectNumber": project_number +"/storage:v1/ObjectAccessControl/projectTeam/team": team +"/storage:v1/ObjectAccessControl/role": role +"/storage:v1/ObjectAccessControl/selfLink": self_link +"/storage:v1/ObjectAccessControls": object_access_controls +"/storage:v1/ObjectAccessControls/items": items +"/storage:v1/ObjectAccessControls/items/item": item +"/storage:v1/ObjectAccessControls/kind": kind +"/storage:v1/Objects": objects +"/storage:v1/Objects/items": items +"/storage:v1/Objects/items/item": item +"/storage:v1/Objects/kind": kind +"/storage:v1/Objects/nextPageToken": next_page_token +"/storage:v1/Objects/prefixes": prefixes +"/storage:v1/Objects/prefixes/prefix": prefix +"/storage:v1/RewriteResponse": rewrite_response +"/storage:v1/RewriteResponse/done": done +"/storage:v1/RewriteResponse/kind": kind +"/storage:v1/RewriteResponse/objectSize": object_size +"/storage:v1/RewriteResponse/resource": resource +"/storage:v1/RewriteResponse/rewriteToken": rewrite_token +"/storage:v1/RewriteResponse/totalBytesRewritten": total_bytes_rewritten +"/tagmanager:v1/fields": fields +"/tagmanager:v1/key": key +"/tagmanager:v1/quotaUser": quota_user +"/tagmanager:v1/userIp": user_ip +"/tagmanager:v1/tagmanager.accounts.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.environments.create": create_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete": delete_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.delete/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get": get_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.get/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.list": list_account_container_environments +"/tagmanager:v1/tagmanager.accounts.containers.environments.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch": patch_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.patch/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.environments.update": update_account_container_environment +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.environments.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.folders.create": create_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete": delete_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.delete/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get": get_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.get/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.list": list_account_container_folders +"/tagmanager:v1/tagmanager.accounts.containers.folders.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update": update_account_container_folder +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.folders.update/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list": list_account_container_folder_entities +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.folders.entities.list/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update": update_account_container_move_folder +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/folderId": folder_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.move_folders.update/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update": update_account_container_reauthorize_environment +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.reauthorize_environments.update/environmentId": environment_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.delete/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.get/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.tags.update/tagId": tag_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.delete/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.get/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.triggers.update/triggerId": trigger_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.delete/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.get/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.variables.update/variableId": variable_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.create/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.delete/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.get/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/headers": headers +"/tagmanager:v1/tagmanager.accounts.containers.versions.list/includeDeleted": include_deleted +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.publish/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.restore/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.undelete/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerId": container_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/containerVersionId": container_version_id +"/tagmanager:v1/tagmanager.accounts.containers.versions.update/fingerprint": fingerprint +"/tagmanager:v1/tagmanager.accounts.permissions.create/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.delete/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.delete/permissionId": permission_id +"/tagmanager:v1/tagmanager.accounts.permissions.get/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.get/permissionId": permission_id +"/tagmanager:v1/tagmanager.accounts.permissions.list/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.update/accountId": account_id +"/tagmanager:v1/tagmanager.accounts.permissions.update/permissionId": permission_id +"/tagmanager:v1/Account": account +"/tagmanager:v1/Account/accountId": account_id +"/tagmanager:v1/Account/fingerprint": fingerprint +"/tagmanager:v1/Account/name": name +"/tagmanager:v1/Account/shareData": share_data +"/tagmanager:v1/AccountAccess": account_access +"/tagmanager:v1/AccountAccess/permission": permission +"/tagmanager:v1/AccountAccess/permission/permission": permission +"/tagmanager:v1/Condition": condition +"/tagmanager:v1/Condition/parameter": parameter +"/tagmanager:v1/Condition/parameter/parameter": parameter +"/tagmanager:v1/Condition/type": type +"/tagmanager:v1/Container": container +"/tagmanager:v1/Container/accountId": account_id +"/tagmanager:v1/Container/containerId": container_id +"/tagmanager:v1/Container/domainName": domain_name +"/tagmanager:v1/Container/domainName/domain_name": domain_name +"/tagmanager:v1/Container/enabledBuiltInVariable": enabled_built_in_variable +"/tagmanager:v1/Container/enabledBuiltInVariable/enabled_built_in_variable": enabled_built_in_variable +"/tagmanager:v1/Container/fingerprint": fingerprint +"/tagmanager:v1/Container/name": name +"/tagmanager:v1/Container/notes": notes +"/tagmanager:v1/Container/publicId": public_id +"/tagmanager:v1/Container/timeZoneCountryId": time_zone_country_id +"/tagmanager:v1/Container/timeZoneId": time_zone_id +"/tagmanager:v1/Container/usageContext": usage_context +"/tagmanager:v1/Container/usageContext/usage_context": usage_context +"/tagmanager:v1/ContainerAccess": container_access +"/tagmanager:v1/ContainerAccess/containerId": container_id +"/tagmanager:v1/ContainerAccess/permission": permission +"/tagmanager:v1/ContainerAccess/permission/permission": permission +"/tagmanager:v1/ContainerVersion": container_version +"/tagmanager:v1/ContainerVersion/accountId": account_id +"/tagmanager:v1/ContainerVersion/container": container +"/tagmanager:v1/ContainerVersion/containerId": container_id +"/tagmanager:v1/ContainerVersion/containerVersionId": container_version_id +"/tagmanager:v1/ContainerVersion/deleted": deleted +"/tagmanager:v1/ContainerVersion/fingerprint": fingerprint +"/tagmanager:v1/ContainerVersion/folder": folder +"/tagmanager:v1/ContainerVersion/folder/folder": folder +"/tagmanager:v1/ContainerVersion/macro": macro +"/tagmanager:v1/ContainerVersion/macro/macro": macro +"/tagmanager:v1/ContainerVersion/name": name +"/tagmanager:v1/ContainerVersion/notes": notes +"/tagmanager:v1/ContainerVersion/rule": rule +"/tagmanager:v1/ContainerVersion/rule/rule": rule +"/tagmanager:v1/ContainerVersion/tag": tag +"/tagmanager:v1/ContainerVersion/tag/tag": tag +"/tagmanager:v1/ContainerVersion/trigger": trigger +"/tagmanager:v1/ContainerVersion/trigger/trigger": trigger +"/tagmanager:v1/ContainerVersion/variable": variable +"/tagmanager:v1/ContainerVersion/variable/variable": variable +"/tagmanager:v1/ContainerVersionHeader": container_version_header +"/tagmanager:v1/ContainerVersionHeader/accountId": account_id +"/tagmanager:v1/ContainerVersionHeader/containerId": container_id +"/tagmanager:v1/ContainerVersionHeader/containerVersionId": container_version_id +"/tagmanager:v1/ContainerVersionHeader/deleted": deleted +"/tagmanager:v1/ContainerVersionHeader/name": name +"/tagmanager:v1/ContainerVersionHeader/numMacros": num_macros +"/tagmanager:v1/ContainerVersionHeader/numRules": num_rules +"/tagmanager:v1/ContainerVersionHeader/numTags": num_tags +"/tagmanager:v1/ContainerVersionHeader/numTriggers": num_triggers +"/tagmanager:v1/ContainerVersionHeader/numVariables": num_variables +"/tagmanager:v1/CreateContainerVersionRequestVersionOptions": create_container_version_request_version_options +"/tagmanager:v1/CreateContainerVersionRequestVersionOptions/name": name +"/tagmanager:v1/CreateContainerVersionRequestVersionOptions/notes": notes +"/tagmanager:v1/CreateContainerVersionRequestVersionOptions/quickPreview": quick_preview +"/tagmanager:v1/CreateContainerVersionResponse": create_container_version_response +"/tagmanager:v1/CreateContainerVersionResponse/compilerError": compiler_error +"/tagmanager:v1/CreateContainerVersionResponse/containerVersion": container_version +"/tagmanager:v1/Environment": environment +"/tagmanager:v1/Environment/accountId": account_id +"/tagmanager:v1/Environment/authorizationCode": authorization_code +"/tagmanager:v1/Environment/authorizationTimestampMs": authorization_timestamp_ms +"/tagmanager:v1/Environment/containerId": container_id +"/tagmanager:v1/Environment/containerVersionId": container_version_id +"/tagmanager:v1/Environment/description": description +"/tagmanager:v1/Environment/enableDebug": enable_debug +"/tagmanager:v1/Environment/environmentId": environment_id +"/tagmanager:v1/Environment/fingerprint": fingerprint +"/tagmanager:v1/Environment/name": name +"/tagmanager:v1/Environment/type": type +"/tagmanager:v1/Environment/url": url +"/tagmanager:v1/Folder": folder +"/tagmanager:v1/Folder/accountId": account_id +"/tagmanager:v1/Folder/containerId": container_id +"/tagmanager:v1/Folder/fingerprint": fingerprint +"/tagmanager:v1/Folder/folderId": folder_id +"/tagmanager:v1/Folder/name": name +"/tagmanager:v1/FolderEntities": folder_entities +"/tagmanager:v1/FolderEntities/tag": tag +"/tagmanager:v1/FolderEntities/tag/tag": tag +"/tagmanager:v1/FolderEntities/trigger": trigger +"/tagmanager:v1/FolderEntities/trigger/trigger": trigger +"/tagmanager:v1/FolderEntities/variable": variable +"/tagmanager:v1/FolderEntities/variable/variable": variable +"/tagmanager:v1/ListAccountUsersResponse": list_account_users_response +"/tagmanager:v1/ListAccountUsersResponse/userAccess": user_access +"/tagmanager:v1/ListAccountUsersResponse/userAccess/user_access": user_access +"/tagmanager:v1/ListAccountsResponse": list_accounts_response +"/tagmanager:v1/ListAccountsResponse/accounts": accounts +"/tagmanager:v1/ListAccountsResponse/accounts/account": account +"/tagmanager:v1/ListContainerVersionsResponse": list_container_versions_response +"/tagmanager:v1/ListContainerVersionsResponse/containerVersion": container_version +"/tagmanager:v1/ListContainerVersionsResponse/containerVersion/container_version": container_version +"/tagmanager:v1/ListContainerVersionsResponse/containerVersionHeader": container_version_header +"/tagmanager:v1/ListContainerVersionsResponse/containerVersionHeader/container_version_header": container_version_header +"/tagmanager:v1/ListContainersResponse": list_containers_response +"/tagmanager:v1/ListContainersResponse/containers": containers +"/tagmanager:v1/ListContainersResponse/containers/container": container +"/tagmanager:v1/ListEnvironmentsResponse": list_environments_response +"/tagmanager:v1/ListEnvironmentsResponse/environments": environments +"/tagmanager:v1/ListEnvironmentsResponse/environments/environment": environment +"/tagmanager:v1/ListFoldersResponse": list_folders_response +"/tagmanager:v1/ListFoldersResponse/folders": folders +"/tagmanager:v1/ListFoldersResponse/folders/folder": folder +"/tagmanager:v1/ListTagsResponse": list_tags_response +"/tagmanager:v1/ListTagsResponse/tags": tags +"/tagmanager:v1/ListTagsResponse/tags/tag": tag +"/tagmanager:v1/ListTriggersResponse": list_triggers_response +"/tagmanager:v1/ListTriggersResponse/triggers": triggers +"/tagmanager:v1/ListTriggersResponse/triggers/trigger": trigger +"/tagmanager:v1/ListVariablesResponse": list_variables_response +"/tagmanager:v1/ListVariablesResponse/variables": variables +"/tagmanager:v1/ListVariablesResponse/variables/variable": variable +"/tagmanager:v1/Macro": macro +"/tagmanager:v1/Macro/accountId": account_id +"/tagmanager:v1/Macro/containerId": container_id +"/tagmanager:v1/Macro/disablingRuleId": disabling_rule_id +"/tagmanager:v1/Macro/disablingRuleId/disabling_rule_id": disabling_rule_id +"/tagmanager:v1/Macro/enablingRuleId": enabling_rule_id +"/tagmanager:v1/Macro/enablingRuleId/enabling_rule_id": enabling_rule_id +"/tagmanager:v1/Macro/fingerprint": fingerprint +"/tagmanager:v1/Macro/macroId": macro_id +"/tagmanager:v1/Macro/name": name +"/tagmanager:v1/Macro/notes": notes +"/tagmanager:v1/Macro/parameter": parameter +"/tagmanager:v1/Macro/parameter/parameter": parameter +"/tagmanager:v1/Macro/parentFolderId": parent_folder_id +"/tagmanager:v1/Macro/scheduleEndMs": schedule_end_ms +"/tagmanager:v1/Macro/scheduleStartMs": schedule_start_ms +"/tagmanager:v1/Macro/type": type +"/tagmanager:v1/Parameter": parameter +"/tagmanager:v1/Parameter/key": key +"/tagmanager:v1/Parameter/list": list +"/tagmanager:v1/Parameter/list/list": list +"/tagmanager:v1/Parameter/map": map +"/tagmanager:v1/Parameter/map/map": map +"/tagmanager:v1/Parameter/type": type +"/tagmanager:v1/Parameter/value": value +"/tagmanager:v1/PublishContainerVersionResponse": publish_container_version_response +"/tagmanager:v1/PublishContainerVersionResponse/compilerError": compiler_error +"/tagmanager:v1/PublishContainerVersionResponse/containerVersion": container_version +"/tagmanager:v1/Rule": rule +"/tagmanager:v1/Rule/accountId": account_id +"/tagmanager:v1/Rule/condition": condition +"/tagmanager:v1/Rule/condition/condition": condition +"/tagmanager:v1/Rule/containerId": container_id +"/tagmanager:v1/Rule/fingerprint": fingerprint +"/tagmanager:v1/Rule/name": name +"/tagmanager:v1/Rule/notes": notes +"/tagmanager:v1/Rule/ruleId": rule_id +"/tagmanager:v1/SetupTag": setup_tag +"/tagmanager:v1/SetupTag/stopOnSetupFailure": stop_on_setup_failure +"/tagmanager:v1/SetupTag/tagName": tag_name +"/tagmanager:v1/Tag": tag +"/tagmanager:v1/Tag/accountId": account_id +"/tagmanager:v1/Tag/blockingRuleId": blocking_rule_id +"/tagmanager:v1/Tag/blockingRuleId/blocking_rule_id": blocking_rule_id +"/tagmanager:v1/Tag/blockingTriggerId": blocking_trigger_id +"/tagmanager:v1/Tag/blockingTriggerId/blocking_trigger_id": blocking_trigger_id +"/tagmanager:v1/Tag/containerId": container_id +"/tagmanager:v1/Tag/fingerprint": fingerprint +"/tagmanager:v1/Tag/firingRuleId": firing_rule_id +"/tagmanager:v1/Tag/firingRuleId/firing_rule_id": firing_rule_id +"/tagmanager:v1/Tag/firingTriggerId": firing_trigger_id +"/tagmanager:v1/Tag/firingTriggerId/firing_trigger_id": firing_trigger_id +"/tagmanager:v1/Tag/liveOnly": live_only +"/tagmanager:v1/Tag/name": name +"/tagmanager:v1/Tag/notes": notes +"/tagmanager:v1/Tag/parameter": parameter +"/tagmanager:v1/Tag/parameter/parameter": parameter +"/tagmanager:v1/Tag/parentFolderId": parent_folder_id +"/tagmanager:v1/Tag/priority": priority +"/tagmanager:v1/Tag/scheduleEndMs": schedule_end_ms +"/tagmanager:v1/Tag/scheduleStartMs": schedule_start_ms +"/tagmanager:v1/Tag/setupTag": setup_tag +"/tagmanager:v1/Tag/setupTag/setup_tag": setup_tag +"/tagmanager:v1/Tag/tagFiringOption": tag_firing_option +"/tagmanager:v1/Tag/tagId": tag_id +"/tagmanager:v1/Tag/teardownTag": teardown_tag +"/tagmanager:v1/Tag/teardownTag/teardown_tag": teardown_tag +"/tagmanager:v1/Tag/type": type +"/tagmanager:v1/TeardownTag": teardown_tag +"/tagmanager:v1/TeardownTag/stopTeardownOnFailure": stop_teardown_on_failure +"/tagmanager:v1/TeardownTag/tagName": tag_name +"/tagmanager:v1/Trigger": trigger +"/tagmanager:v1/Trigger/accountId": account_id +"/tagmanager:v1/Trigger/autoEventFilter": auto_event_filter +"/tagmanager:v1/Trigger/autoEventFilter/auto_event_filter": auto_event_filter +"/tagmanager:v1/Trigger/checkValidation": check_validation +"/tagmanager:v1/Trigger/containerId": container_id +"/tagmanager:v1/Trigger/customEventFilter": custom_event_filter +"/tagmanager:v1/Trigger/customEventFilter/custom_event_filter": custom_event_filter +"/tagmanager:v1/Trigger/enableAllVideos": enable_all_videos +"/tagmanager:v1/Trigger/eventName": event_name +"/tagmanager:v1/Trigger/filter": filter +"/tagmanager:v1/Trigger/filter/filter": filter +"/tagmanager:v1/Trigger/fingerprint": fingerprint +"/tagmanager:v1/Trigger/interval": interval +"/tagmanager:v1/Trigger/limit": limit +"/tagmanager:v1/Trigger/name": name +"/tagmanager:v1/Trigger/parentFolderId": parent_folder_id +"/tagmanager:v1/Trigger/triggerId": trigger_id +"/tagmanager:v1/Trigger/type": type +"/tagmanager:v1/Trigger/uniqueTriggerId": unique_trigger_id +"/tagmanager:v1/Trigger/videoPercentageList": video_percentage_list +"/tagmanager:v1/Trigger/waitForTags": wait_for_tags +"/tagmanager:v1/Trigger/waitForTagsTimeout": wait_for_tags_timeout +"/tagmanager:v1/UserAccess": user_access +"/tagmanager:v1/UserAccess/accountAccess": account_access +"/tagmanager:v1/UserAccess/accountId": account_id +"/tagmanager:v1/UserAccess/containerAccess": container_access +"/tagmanager:v1/UserAccess/containerAccess/container_access": container_access +"/tagmanager:v1/UserAccess/emailAddress": email_address +"/tagmanager:v1/UserAccess/permissionId": permission_id +"/tagmanager:v1/Variable": variable +"/tagmanager:v1/Variable/accountId": account_id +"/tagmanager:v1/Variable/containerId": container_id +"/tagmanager:v1/Variable/disablingTriggerId": disabling_trigger_id +"/tagmanager:v1/Variable/disablingTriggerId/disabling_trigger_id": disabling_trigger_id +"/tagmanager:v1/Variable/enablingTriggerId": enabling_trigger_id +"/tagmanager:v1/Variable/enablingTriggerId/enabling_trigger_id": enabling_trigger_id +"/tagmanager:v1/Variable/fingerprint": fingerprint +"/tagmanager:v1/Variable/name": name +"/tagmanager:v1/Variable/notes": notes +"/tagmanager:v1/Variable/parameter": parameter +"/tagmanager:v1/Variable/parameter/parameter": parameter +"/tagmanager:v1/Variable/parentFolderId": parent_folder_id +"/tagmanager:v1/Variable/scheduleEndMs": schedule_end_ms +"/tagmanager:v1/Variable/scheduleStartMs": schedule_start_ms +"/tagmanager:v1/Variable/type": type +"/tagmanager:v1/Variable/variableId": variable_id +"/taskqueue:v1beta2/fields": fields +"/taskqueue:v1beta2/key": key +"/taskqueue:v1beta2/quotaUser": quota_user +"/taskqueue:v1beta2/userIp": user_ip +"/taskqueue:v1beta2/taskqueue.taskqueues.get": get_taskqueue +"/taskqueue:v1beta2/taskqueue.taskqueues.get/getStats": get_stats +"/taskqueue:v1beta2/taskqueue.taskqueues.get/project": project +"/taskqueue:v1beta2/taskqueue.taskqueues.get/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.delete": delete_task +"/taskqueue:v1beta2/taskqueue.tasks.delete/project": project +"/taskqueue:v1beta2/taskqueue.tasks.delete/task": task +"/taskqueue:v1beta2/taskqueue.tasks.delete/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.get": get_task +"/taskqueue:v1beta2/taskqueue.tasks.get/project": project +"/taskqueue:v1beta2/taskqueue.tasks.get/task": task +"/taskqueue:v1beta2/taskqueue.tasks.get/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.insert": insert_task +"/taskqueue:v1beta2/taskqueue.tasks.insert/project": project +"/taskqueue:v1beta2/taskqueue.tasks.insert/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.lease": lease_task +"/taskqueue:v1beta2/taskqueue.tasks.lease/groupByTag": group_by_tag +"/taskqueue:v1beta2/taskqueue.tasks.lease/leaseSecs": lease_secs +"/taskqueue:v1beta2/taskqueue.tasks.lease/numTasks": num_tasks +"/taskqueue:v1beta2/taskqueue.tasks.lease/project": project +"/taskqueue:v1beta2/taskqueue.tasks.lease/tag": tag +"/taskqueue:v1beta2/taskqueue.tasks.lease/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.list": list_tasks +"/taskqueue:v1beta2/taskqueue.tasks.list/project": project +"/taskqueue:v1beta2/taskqueue.tasks.list/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.patch": patch_task +"/taskqueue:v1beta2/taskqueue.tasks.patch/newLeaseSeconds": new_lease_seconds +"/taskqueue:v1beta2/taskqueue.tasks.patch/project": project +"/taskqueue:v1beta2/taskqueue.tasks.patch/task": task +"/taskqueue:v1beta2/taskqueue.tasks.patch/taskqueue": taskqueue +"/taskqueue:v1beta2/taskqueue.tasks.update": update_task +"/taskqueue:v1beta2/taskqueue.tasks.update/newLeaseSeconds": new_lease_seconds +"/taskqueue:v1beta2/taskqueue.tasks.update/project": project +"/taskqueue:v1beta2/taskqueue.tasks.update/task": task +"/taskqueue:v1beta2/taskqueue.tasks.update/taskqueue": taskqueue +"/taskqueue:v1beta2/Task": task +"/taskqueue:v1beta2/Task/enqueueTimestamp": enqueue_timestamp +"/taskqueue:v1beta2/Task/id": id +"/taskqueue:v1beta2/Task/kind": kind +"/taskqueue:v1beta2/Task/leaseTimestamp": lease_timestamp +"/taskqueue:v1beta2/Task/payloadBase64": payload_base64 +"/taskqueue:v1beta2/Task/queueName": queue_name +"/taskqueue:v1beta2/Task/retry_count": retry_count +"/taskqueue:v1beta2/Task/tag": tag +"/taskqueue:v1beta2/TaskQueue": task_queue +"/taskqueue:v1beta2/TaskQueue/acl": acl +"/taskqueue:v1beta2/TaskQueue/acl/adminEmails": admin_emails +"/taskqueue:v1beta2/TaskQueue/acl/adminEmails/admin_email": admin_email +"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails": consumer_emails +"/taskqueue:v1beta2/TaskQueue/acl/consumerEmails/consumer_email": consumer_email +"/taskqueue:v1beta2/TaskQueue/acl/producerEmails": producer_emails +"/taskqueue:v1beta2/TaskQueue/acl/producerEmails/producer_email": producer_email +"/taskqueue:v1beta2/TaskQueue/id": id +"/taskqueue:v1beta2/TaskQueue/kind": kind +"/taskqueue:v1beta2/TaskQueue/maxLeases": max_leases +"/taskqueue:v1beta2/TaskQueue/stats": stats +"/taskqueue:v1beta2/TaskQueue/stats/leasedLastHour": leased_last_hour +"/taskqueue:v1beta2/TaskQueue/stats/leasedLastMinute": leased_last_minute +"/taskqueue:v1beta2/TaskQueue/stats/oldestTask": oldest_task +"/taskqueue:v1beta2/TaskQueue/stats/totalTasks": total_tasks +"/taskqueue:v1beta2/Tasks": tasks +"/taskqueue:v1beta2/Tasks/items": items +"/taskqueue:v1beta2/Tasks/items/item": item +"/taskqueue:v1beta2/Tasks/kind": kind +"/taskqueue:v1beta2/Tasks2": tasks2 +"/taskqueue:v1beta2/Tasks2/items": items +"/taskqueue:v1beta2/Tasks2/items/item": item +"/taskqueue:v1beta2/Tasks2/kind": kind +"/tasks:v1/fields": fields +"/tasks:v1/key": key +"/tasks:v1/quotaUser": quota_user +"/tasks:v1/userIp": user_ip +"/tasks:v1/tasks.tasklists.delete": delete_tasklist +"/tasks:v1/tasks.tasklists.delete/tasklist": tasklist +"/tasks:v1/tasks.tasklists.get": get_tasklist +"/tasks:v1/tasks.tasklists.get/tasklist": tasklist +"/tasks:v1/tasks.tasklists.insert": insert_tasklist +"/tasks:v1/tasks.tasklists.list": list_tasklists +"/tasks:v1/tasks.tasklists.list/maxResults": max_results +"/tasks:v1/tasks.tasklists.list/pageToken": page_token +"/tasks:v1/tasks.tasklists.patch": patch_tasklist +"/tasks:v1/tasks.tasklists.patch/tasklist": tasklist +"/tasks:v1/tasks.tasklists.update": update_tasklist +"/tasks:v1/tasks.tasklists.update/tasklist": tasklist +"/tasks:v1/tasks.tasks.clear": clear_task +"/tasks:v1/tasks.tasks.clear/tasklist": tasklist +"/tasks:v1/tasks.tasks.delete": delete_task +"/tasks:v1/tasks.tasks.delete/task": task +"/tasks:v1/tasks.tasks.delete/tasklist": tasklist +"/tasks:v1/tasks.tasks.get": get_task +"/tasks:v1/tasks.tasks.get/task": task +"/tasks:v1/tasks.tasks.get/tasklist": tasklist +"/tasks:v1/tasks.tasks.insert": insert_task +"/tasks:v1/tasks.tasks.insert/parent": parent +"/tasks:v1/tasks.tasks.insert/previous": previous +"/tasks:v1/tasks.tasks.insert/tasklist": tasklist +"/tasks:v1/tasks.tasks.list": list_tasks +"/tasks:v1/tasks.tasks.list/completedMax": completed_max +"/tasks:v1/tasks.tasks.list/completedMin": completed_min +"/tasks:v1/tasks.tasks.list/dueMax": due_max +"/tasks:v1/tasks.tasks.list/dueMin": due_min +"/tasks:v1/tasks.tasks.list/maxResults": max_results +"/tasks:v1/tasks.tasks.list/pageToken": page_token +"/tasks:v1/tasks.tasks.list/showCompleted": show_completed +"/tasks:v1/tasks.tasks.list/showDeleted": show_deleted +"/tasks:v1/tasks.tasks.list/showHidden": show_hidden +"/tasks:v1/tasks.tasks.list/tasklist": tasklist +"/tasks:v1/tasks.tasks.list/updatedMin": updated_min +"/tasks:v1/tasks.tasks.move": move_task +"/tasks:v1/tasks.tasks.move/parent": parent +"/tasks:v1/tasks.tasks.move/previous": previous +"/tasks:v1/tasks.tasks.move/task": task +"/tasks:v1/tasks.tasks.move/tasklist": tasklist +"/tasks:v1/tasks.tasks.patch": patch_task +"/tasks:v1/tasks.tasks.patch/task": task +"/tasks:v1/tasks.tasks.patch/tasklist": tasklist +"/tasks:v1/tasks.tasks.update": update_task +"/tasks:v1/tasks.tasks.update/task": task +"/tasks:v1/tasks.tasks.update/tasklist": tasklist +"/tasks:v1/Task": task +"/tasks:v1/Task/completed": completed +"/tasks:v1/Task/deleted": deleted +"/tasks:v1/Task/due": due +"/tasks:v1/Task/etag": etag +"/tasks:v1/Task/hidden": hidden +"/tasks:v1/Task/id": id +"/tasks:v1/Task/kind": kind +"/tasks:v1/Task/links": links +"/tasks:v1/Task/links/link": link +"/tasks:v1/Task/links/link/description": description +"/tasks:v1/Task/links/link/link": link +"/tasks:v1/Task/links/link/type": type +"/tasks:v1/Task/notes": notes +"/tasks:v1/Task/parent": parent +"/tasks:v1/Task/position": position +"/tasks:v1/Task/selfLink": self_link +"/tasks:v1/Task/status": status +"/tasks:v1/Task/title": title +"/tasks:v1/Task/updated": updated +"/tasks:v1/TaskList": task_list +"/tasks:v1/TaskList/etag": etag +"/tasks:v1/TaskList/id": id +"/tasks:v1/TaskList/kind": kind +"/tasks:v1/TaskList/selfLink": self_link +"/tasks:v1/TaskList/title": title +"/tasks:v1/TaskList/updated": updated +"/tasks:v1/TaskLists": task_lists +"/tasks:v1/TaskLists/etag": etag +"/tasks:v1/TaskLists/items": items +"/tasks:v1/TaskLists/items/item": item +"/tasks:v1/TaskLists/kind": kind +"/tasks:v1/TaskLists/nextPageToken": next_page_token +"/tasks:v1/Tasks": tasks +"/tasks:v1/Tasks/etag": etag +"/tasks:v1/Tasks/items": items +"/tasks:v1/Tasks/items/item": item +"/tasks:v1/Tasks/kind": kind +"/tasks:v1/Tasks/nextPageToken": next_page_token +"/translate:v2/fields": fields +"/translate:v2/key": key +"/translate:v2/quotaUser": quota_user +"/translate:v2/userIp": user_ip +"/translate:v2/language.detections.list": list_detections +"/translate:v2/language.detections.list/q": q +"/translate:v2/language.languages.list": list_languages +"/translate:v2/language.languages.list/target": target +"/translate:v2/language.translations.list": list_translations +"/translate:v2/language.translations.list/cid": cid +"/translate:v2/language.translations.list/format": format +"/translate:v2/language.translations.list/q": q +"/translate:v2/language.translations.list/source": source +"/translate:v2/language.translations.list/target": target +"/translate:v2/DetectionsListResponse/detections": detections +"/translate:v2/DetectionsListResponse/detections/detection": detection +"/translate:v2/DetectionsResource": detections_resource +"/translate:v2/DetectionsResource/detections_resource": detections_resource +"/translate:v2/DetectionsResource/detections_resource/confidence": confidence +"/translate:v2/DetectionsResource/detections_resource/isReliable": is_reliable +"/translate:v2/DetectionsResource/detections_resource/language": language +"/translate:v2/LanguagesListResponse/languages": languages +"/translate:v2/LanguagesListResponse/languages/language": language +"/translate:v2/LanguagesResource": languages_resource +"/translate:v2/LanguagesResource/language": language +"/translate:v2/LanguagesResource/name": name +"/translate:v2/TranslationsListResponse/translations": translations +"/translate:v2/TranslationsListResponse/translations/translation": translation +"/translate:v2/TranslationsResource": translations_resource +"/translate:v2/TranslationsResource/detectedSourceLanguage": detected_source_language +"/translate:v2/TranslationsResource/translatedText": translated_text +"/urlshortener:v1/fields": fields +"/urlshortener:v1/key": key +"/urlshortener:v1/quotaUser": quota_user +"/urlshortener:v1/userIp": user_ip +"/urlshortener:v1/urlshortener.url.get": get_url +"/urlshortener:v1/urlshortener.url.get/projection": projection +"/urlshortener:v1/urlshortener.url.get/shortUrl": short_url +"/urlshortener:v1/urlshortener.url.insert": insert_url +"/urlshortener:v1/urlshortener.url.list": list_urls +"/urlshortener:v1/urlshortener.url.list/projection": projection +"/urlshortener:v1/urlshortener.url.list/start-token": start_token +"/urlshortener:v1/AnalyticsSnapshot": analytics_snapshot +"/urlshortener:v1/AnalyticsSnapshot/browsers": browsers +"/urlshortener:v1/AnalyticsSnapshot/browsers/browser": browser +"/urlshortener:v1/AnalyticsSnapshot/countries": countries +"/urlshortener:v1/AnalyticsSnapshot/countries/country": country +"/urlshortener:v1/AnalyticsSnapshot/longUrlClicks": long_url_clicks +"/urlshortener:v1/AnalyticsSnapshot/platforms": platforms +"/urlshortener:v1/AnalyticsSnapshot/platforms/platform": platform +"/urlshortener:v1/AnalyticsSnapshot/referrers": referrers +"/urlshortener:v1/AnalyticsSnapshot/referrers/referrer": referrer +"/urlshortener:v1/AnalyticsSnapshot/shortUrlClicks": short_url_clicks +"/urlshortener:v1/AnalyticsSummary": analytics_summary +"/urlshortener:v1/AnalyticsSummary/allTime": all_time +"/urlshortener:v1/AnalyticsSummary/day": day +"/urlshortener:v1/AnalyticsSummary/month": month +"/urlshortener:v1/AnalyticsSummary/twoHours": two_hours +"/urlshortener:v1/AnalyticsSummary/week": week +"/urlshortener:v1/StringCount": string_count +"/urlshortener:v1/StringCount/count": count +"/urlshortener:v1/StringCount/id": id +"/urlshortener:v1/Url": url +"/urlshortener:v1/Url/analytics": analytics +"/urlshortener:v1/Url/created": created +"/urlshortener:v1/Url/id": id +"/urlshortener:v1/Url/kind": kind +"/urlshortener:v1/Url/longUrl": long_url +"/urlshortener:v1/Url/status": status +"/urlshortener:v1/UrlHistory": url_history +"/urlshortener:v1/UrlHistory/items": items +"/urlshortener:v1/UrlHistory/items/item": item +"/urlshortener:v1/UrlHistory/itemsPerPage": items_per_page +"/urlshortener:v1/UrlHistory/kind": kind +"/urlshortener:v1/UrlHistory/nextPageToken": next_page_token +"/urlshortener:v1/UrlHistory/totalItems": total_items +"/vision:v1/key": key +"/vision:v1/quotaUser": quota_user +"/vision:v1/fields": fields +"/vision:v1/vision.images.annotate": annotate_image +"/vision:v1/ImageSource": image_source +"/vision:v1/ImageSource/gcsImageUri": gcs_image_uri +"/vision:v1/AnnotateImageRequest": annotate_image_request +"/vision:v1/AnnotateImageRequest/image": image +"/vision:v1/AnnotateImageRequest/imageContext": image_context +"/vision:v1/AnnotateImageRequest/features": features +"/vision:v1/AnnotateImageRequest/features/feature": feature +"/vision:v1/AnnotateImageResponse": annotate_image_response +"/vision:v1/AnnotateImageResponse/labelAnnotations": label_annotations +"/vision:v1/AnnotateImageResponse/labelAnnotations/label_annotation": label_annotation +"/vision:v1/AnnotateImageResponse/landmarkAnnotations": landmark_annotations +"/vision:v1/AnnotateImageResponse/landmarkAnnotations/landmark_annotation": landmark_annotation +"/vision:v1/AnnotateImageResponse/safeSearchAnnotation": safe_search_annotation +"/vision:v1/AnnotateImageResponse/imagePropertiesAnnotation": image_properties_annotation +"/vision:v1/AnnotateImageResponse/textAnnotations": text_annotations +"/vision:v1/AnnotateImageResponse/textAnnotations/text_annotation": text_annotation +"/vision:v1/AnnotateImageResponse/logoAnnotations": logo_annotations +"/vision:v1/AnnotateImageResponse/logoAnnotations/logo_annotation": logo_annotation +"/vision:v1/AnnotateImageResponse/faceAnnotations": face_annotations +"/vision:v1/AnnotateImageResponse/faceAnnotations/face_annotation": face_annotation +"/vision:v1/AnnotateImageResponse/error": error +"/vision:v1/LatLongRect": lat_long_rect +"/vision:v1/LatLongRect/maxLatLng": max_lat_lng +"/vision:v1/LatLongRect/minLatLng": min_lat_lng +"/vision:v1/Status": status +"/vision:v1/Status/code": code +"/vision:v1/Status/details": details +"/vision:v1/Status/details/detail": detail +"/vision:v1/Status/details/detail/detail": detail +"/vision:v1/Status/message": message +"/vision:v1/FaceAnnotation": face_annotation +"/vision:v1/FaceAnnotation/tiltAngle": tilt_angle +"/vision:v1/FaceAnnotation/underExposedLikelihood": under_exposed_likelihood +"/vision:v1/FaceAnnotation/fdBoundingPoly": fd_bounding_poly +"/vision:v1/FaceAnnotation/landmarkingConfidence": landmarking_confidence +"/vision:v1/FaceAnnotation/joyLikelihood": joy_likelihood +"/vision:v1/FaceAnnotation/detectionConfidence": detection_confidence +"/vision:v1/FaceAnnotation/surpriseLikelihood": surprise_likelihood +"/vision:v1/FaceAnnotation/angerLikelihood": anger_likelihood +"/vision:v1/FaceAnnotation/headwearLikelihood": headwear_likelihood +"/vision:v1/FaceAnnotation/panAngle": pan_angle +"/vision:v1/FaceAnnotation/boundingPoly": bounding_poly +"/vision:v1/FaceAnnotation/landmarks": landmarks +"/vision:v1/FaceAnnotation/landmarks/landmark": landmark +"/vision:v1/FaceAnnotation/blurredLikelihood": blurred_likelihood +"/vision:v1/FaceAnnotation/rollAngle": roll_angle +"/vision:v1/FaceAnnotation/sorrowLikelihood": sorrow_likelihood +"/vision:v1/Vertex": vertex +"/vision:v1/Vertex/y": y +"/vision:v1/Vertex/x": x +"/vision:v1/ColorInfo": color_info +"/vision:v1/ColorInfo/pixelFraction": pixel_fraction +"/vision:v1/ColorInfo/color": color +"/vision:v1/ColorInfo/score": score +"/vision:v1/BoundingPoly": bounding_poly +"/vision:v1/BoundingPoly/vertices": vertices +"/vision:v1/BoundingPoly/vertices/vertex": vertex +"/vision:v1/Landmark": landmark +"/vision:v1/Landmark/position": position +"/vision:v1/Landmark/type": type +"/vision:v1/ImageContext": image_context +"/vision:v1/ImageContext/latLongRect": lat_long_rect +"/vision:v1/ImageContext/languageHints": language_hints +"/vision:v1/ImageContext/languageHints/language_hint": language_hint +"/vision:v1/BatchAnnotateImagesRequest": batch_annotate_images_request +"/vision:v1/BatchAnnotateImagesRequest/requests": requests +"/vision:v1/BatchAnnotateImagesRequest/requests/request": request +"/vision:v1/EntityAnnotation": entity_annotation +"/vision:v1/EntityAnnotation/mid": mid +"/vision:v1/EntityAnnotation/description": description +"/vision:v1/EntityAnnotation/topicality": topicality +"/vision:v1/EntityAnnotation/locale": locale +"/vision:v1/EntityAnnotation/properties": properties +"/vision:v1/EntityAnnotation/properties/property": property +"/vision:v1/EntityAnnotation/score": score +"/vision:v1/EntityAnnotation/boundingPoly": bounding_poly +"/vision:v1/EntityAnnotation/locations": locations +"/vision:v1/EntityAnnotation/locations/location": location +"/vision:v1/EntityAnnotation/confidence": confidence +"/vision:v1/Property": property +"/vision:v1/Property/value": value +"/vision:v1/Property/name": name +"/vision:v1/Color": color +"/vision:v1/Color/green": green +"/vision:v1/Color/blue": blue +"/vision:v1/Color/red": red +"/vision:v1/Color/alpha": alpha +"/vision:v1/LocationInfo": location_info +"/vision:v1/LocationInfo/latLng": lat_lng +"/vision:v1/SafeSearchAnnotation": safe_search_annotation +"/vision:v1/SafeSearchAnnotation/medical": medical +"/vision:v1/SafeSearchAnnotation/spoof": spoof +"/vision:v1/SafeSearchAnnotation/violence": violence +"/vision:v1/SafeSearchAnnotation/adult": adult +"/vision:v1/Image": image +"/vision:v1/Image/source": source +"/vision:v1/Image/content": content +"/vision:v1/DominantColorsAnnotation": dominant_colors_annotation +"/vision:v1/DominantColorsAnnotation/colors": colors +"/vision:v1/DominantColorsAnnotation/colors/color": color +"/vision:v1/Feature": feature +"/vision:v1/Feature/type": type +"/vision:v1/Feature/maxResults": max_results +"/vision:v1/BatchAnnotateImagesResponse": batch_annotate_images_response +"/vision:v1/BatchAnnotateImagesResponse/responses": responses +"/vision:v1/BatchAnnotateImagesResponse/responses/response": response +"/vision:v1/ImageProperties": image_properties +"/vision:v1/ImageProperties/dominantColors": dominant_colors +"/vision:v1/LatLng": lat_lng +"/vision:v1/LatLng/latitude": latitude +"/vision:v1/LatLng/longitude": longitude +"/vision:v1/Position": position +"/vision:v1/Position/y": y +"/vision:v1/Position/x": x +"/vision:v1/Position/z": z +"/webmasters:v3/fields": fields +"/webmasters:v3/key": key +"/webmasters:v3/quotaUser": quota_user +"/webmasters:v3/userIp": user_ip +"/webmasters:v3/webmasters.searchanalytics.query/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.delete": delete_sitemap +"/webmasters:v3/webmasters.sitemaps.delete/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.delete/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.get": get_sitemap +"/webmasters:v3/webmasters.sitemaps.get/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.get/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.list": list_sitemaps +"/webmasters:v3/webmasters.sitemaps.list/siteUrl": site_url +"/webmasters:v3/webmasters.sitemaps.list/sitemapIndex": sitemap_index +"/webmasters:v3/webmasters.sitemaps.submit": submit_sitemap +"/webmasters:v3/webmasters.sitemaps.submit/feedpath": feedpath +"/webmasters:v3/webmasters.sitemaps.submit/siteUrl": site_url +"/webmasters:v3/webmasters.sites.add": add_site +"/webmasters:v3/webmasters.sites.add/siteUrl": site_url +"/webmasters:v3/webmasters.sites.delete": delete_site +"/webmasters:v3/webmasters.sites.delete/siteUrl": site_url +"/webmasters:v3/webmasters.sites.get": get_site +"/webmasters:v3/webmasters.sites.get/siteUrl": site_url +"/webmasters:v3/webmasters.sites.list": list_sites +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/category": category +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/latestCountsOnly": latest_counts_only +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorscounts.query/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.get/url": url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.list/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/category": category +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/platform": platform +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/siteUrl": site_url +"/webmasters:v3/webmasters.urlcrawlerrorssamples.markAsFixed/url": url +"/webmasters:v3/ApiDataRow": api_data_row +"/webmasters:v3/ApiDataRow/clicks": clicks +"/webmasters:v3/ApiDataRow/ctr": ctr +"/webmasters:v3/ApiDataRow/impressions": impressions +"/webmasters:v3/ApiDataRow/keys": keys +"/webmasters:v3/ApiDataRow/keys/key": key +"/webmasters:v3/ApiDataRow/position": position +"/webmasters:v3/ApiDimensionFilter": api_dimension_filter +"/webmasters:v3/ApiDimensionFilter/dimension": dimension +"/webmasters:v3/ApiDimensionFilter/expression": expression +"/webmasters:v3/ApiDimensionFilter/operator": operator +"/webmasters:v3/ApiDimensionFilterGroup": api_dimension_filter_group +"/webmasters:v3/ApiDimensionFilterGroup/filters": filters +"/webmasters:v3/ApiDimensionFilterGroup/filters/filter": filter +"/webmasters:v3/ApiDimensionFilterGroup/groupType": group_type +"/webmasters:v3/SearchAnalyticsQueryRequest": search_analytics_query_request +"/webmasters:v3/SearchAnalyticsQueryRequest/aggregationType": aggregation_type +"/webmasters:v3/SearchAnalyticsQueryRequest/dimensionFilterGroups": dimension_filter_groups +"/webmasters:v3/SearchAnalyticsQueryRequest/dimensionFilterGroups/dimension_filter_group": dimension_filter_group +"/webmasters:v3/SearchAnalyticsQueryRequest/dimensions": dimensions +"/webmasters:v3/SearchAnalyticsQueryRequest/dimensions/dimension": dimension +"/webmasters:v3/SearchAnalyticsQueryRequest/endDate": end_date +"/webmasters:v3/SearchAnalyticsQueryRequest/rowLimit": row_limit +"/webmasters:v3/SearchAnalyticsQueryRequest/searchType": search_type +"/webmasters:v3/SearchAnalyticsQueryRequest/startDate": start_date +"/webmasters:v3/SearchAnalyticsQueryRequest/startRow": start_row +"/webmasters:v3/SearchAnalyticsQueryResponse": search_analytics_query_response +"/webmasters:v3/SearchAnalyticsQueryResponse/responseAggregationType": response_aggregation_type +"/webmasters:v3/SearchAnalyticsQueryResponse/rows": rows +"/webmasters:v3/SearchAnalyticsQueryResponse/rows/row": row +"/webmasters:v3/SitemapsListResponse/sitemap": sitemap +"/webmasters:v3/SitemapsListResponse/sitemap/sitemap": sitemap +"/webmasters:v3/SitesListResponse/siteEntry": site_entry +"/webmasters:v3/SitesListResponse/siteEntry/site_entry": site_entry +"/webmasters:v3/UrlCrawlErrorCount": url_crawl_error_count +"/webmasters:v3/UrlCrawlErrorCount/count": count +"/webmasters:v3/UrlCrawlErrorCount/timestamp": timestamp +"/webmasters:v3/UrlCrawlErrorCountsPerType": url_crawl_error_counts_per_type +"/webmasters:v3/UrlCrawlErrorCountsPerType/category": category +"/webmasters:v3/UrlCrawlErrorCountsPerType/entries": entries +"/webmasters:v3/UrlCrawlErrorCountsPerType/entries/entry": entry +"/webmasters:v3/UrlCrawlErrorCountsPerType/platform": platform +"/webmasters:v3/UrlCrawlErrorsCountsQueryResponse/countPerTypes": count_per_types +"/webmasters:v3/UrlCrawlErrorsCountsQueryResponse/countPerTypes/count_per_type": count_per_type +"/webmasters:v3/UrlCrawlErrorsSample": url_crawl_errors_sample +"/webmasters:v3/UrlCrawlErrorsSample/first_detected": first_detected +"/webmasters:v3/UrlCrawlErrorsSample/last_crawled": last_crawled +"/webmasters:v3/UrlCrawlErrorsSample/pageUrl": page_url +"/webmasters:v3/UrlCrawlErrorsSample/responseCode": response_code +"/webmasters:v3/UrlCrawlErrorsSample/urlDetails": url_details +"/webmasters:v3/UrlCrawlErrorsSamplesListResponse/urlCrawlErrorSample": url_crawl_error_sample +"/webmasters:v3/UrlCrawlErrorsSamplesListResponse/urlCrawlErrorSample/url_crawl_error_sample": url_crawl_error_sample +"/webmasters:v3/UrlSampleDetails": url_sample_details +"/webmasters:v3/UrlSampleDetails/containingSitemaps": containing_sitemaps +"/webmasters:v3/UrlSampleDetails/containingSitemaps/containing_sitemap": containing_sitemap +"/webmasters:v3/UrlSampleDetails/linkedFromUrls": linked_from_urls +"/webmasters:v3/UrlSampleDetails/linkedFromUrls/linked_from_url": linked_from_url +"/webmasters:v3/WmxSite": wmx_site +"/webmasters:v3/WmxSite/permissionLevel": permission_level +"/webmasters:v3/WmxSite/siteUrl": site_url +"/webmasters:v3/WmxSitemap": wmx_sitemap +"/webmasters:v3/WmxSitemap/contents": contents +"/webmasters:v3/WmxSitemap/contents/content": content +"/webmasters:v3/WmxSitemap/errors": errors +"/webmasters:v3/WmxSitemap/isPending": is_pending +"/webmasters:v3/WmxSitemap/isSitemapsIndex": is_sitemaps_index +"/webmasters:v3/WmxSitemap/lastDownloaded": last_downloaded +"/webmasters:v3/WmxSitemap/lastSubmitted": last_submitted +"/webmasters:v3/WmxSitemap/path": path +"/webmasters:v3/WmxSitemap/type": type +"/webmasters:v3/WmxSitemap/warnings": warnings +"/webmasters:v3/WmxSitemapContent": wmx_sitemap_content +"/webmasters:v3/WmxSitemapContent/indexed": indexed +"/webmasters:v3/WmxSitemapContent/submitted": submitted +"/webmasters:v3/WmxSitemapContent/type": type +"/youtube:v3/fields": fields +"/youtube:v3/key": key +"/youtube:v3/quotaUser": quota_user +"/youtube:v3/userIp": user_ip +"/youtube:v3/youtube.activities.insert": insert_activity +"/youtube:v3/youtube.activities.insert/part": part +"/youtube:v3/youtube.activities.list": list_activities +"/youtube:v3/youtube.activities.list/channelId": channel_id +"/youtube:v3/youtube.activities.list/home": home +"/youtube:v3/youtube.activities.list/maxResults": max_results +"/youtube:v3/youtube.activities.list/mine": mine +"/youtube:v3/youtube.activities.list/pageToken": page_token +"/youtube:v3/youtube.activities.list/part": part +"/youtube:v3/youtube.activities.list/publishedAfter": published_after +"/youtube:v3/youtube.activities.list/publishedBefore": published_before +"/youtube:v3/youtube.activities.list/regionCode": region_code +"/youtube:v3/youtube.captions.delete": delete_caption +"/youtube:v3/youtube.captions.delete/id": id +"/youtube:v3/youtube.captions.delete/onBehalfOf": on_behalf_of +"/youtube:v3/youtube.captions.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.captions.download": download_caption +"/youtube:v3/youtube.captions.download/id": id +"/youtube:v3/youtube.captions.download/onBehalfOf": on_behalf_of +"/youtube:v3/youtube.captions.download/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.captions.download/tfmt": tfmt +"/youtube:v3/youtube.captions.download/tlang": tlang +"/youtube:v3/youtube.captions.insert": insert_caption +"/youtube:v3/youtube.captions.insert/onBehalfOf": on_behalf_of +"/youtube:v3/youtube.captions.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.captions.insert/part": part +"/youtube:v3/youtube.captions.insert/sync": sync +"/youtube:v3/youtube.captions.list": list_captions +"/youtube:v3/youtube.captions.list/id": id +"/youtube:v3/youtube.captions.list/onBehalfOf": on_behalf_of +"/youtube:v3/youtube.captions.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.captions.list/part": part +"/youtube:v3/youtube.captions.list/videoId": video_id +"/youtube:v3/youtube.captions.update": update_caption +"/youtube:v3/youtube.captions.update/onBehalfOf": on_behalf_of +"/youtube:v3/youtube.captions.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.captions.update/part": part +"/youtube:v3/youtube.captions.update/sync": sync +"/youtube:v3/youtube.channelBanners.insert": insert_channel_banner +"/youtube:v3/youtube.channelBanners.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channelSections.delete": delete_channel_section +"/youtube:v3/youtube.channelSections.delete/id": id +"/youtube:v3/youtube.channelSections.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channelSections.insert": insert_channel_section +"/youtube:v3/youtube.channelSections.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channelSections.insert/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.channelSections.insert/part": part +"/youtube:v3/youtube.channelSections.list": list_channel_sections +"/youtube:v3/youtube.channelSections.list/channelId": channel_id +"/youtube:v3/youtube.channelSections.list/hl": hl +"/youtube:v3/youtube.channelSections.list/id": id +"/youtube:v3/youtube.channelSections.list/mine": mine +"/youtube:v3/youtube.channelSections.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channelSections.list/part": part +"/youtube:v3/youtube.channelSections.update": update_channel_section +"/youtube:v3/youtube.channelSections.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channelSections.update/part": part +"/youtube:v3/youtube.channels.list": list_channels +"/youtube:v3/youtube.channels.list/categoryId": category_id +"/youtube:v3/youtube.channels.list/forUsername": for_username +"/youtube:v3/youtube.channels.list/hl": hl +"/youtube:v3/youtube.channels.list/id": id +"/youtube:v3/youtube.channels.list/managedByMe": managed_by_me +"/youtube:v3/youtube.channels.list/maxResults": max_results +"/youtube:v3/youtube.channels.list/mine": mine +"/youtube:v3/youtube.channels.list/mySubscribers": my_subscribers +"/youtube:v3/youtube.channels.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channels.list/pageToken": page_token +"/youtube:v3/youtube.channels.list/part": part +"/youtube:v3/youtube.channels.update": update_channel +"/youtube:v3/youtube.channels.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.channels.update/part": part +"/youtube:v3/youtube.commentThreads.insert": insert_comment_thread +"/youtube:v3/youtube.commentThreads.insert/part": part +"/youtube:v3/youtube.commentThreads.list": list_comment_threads +"/youtube:v3/youtube.commentThreads.list/allThreadsRelatedToChannelId": all_threads_related_to_channel_id +"/youtube:v3/youtube.commentThreads.list/channelId": channel_id +"/youtube:v3/youtube.commentThreads.list/id": id +"/youtube:v3/youtube.commentThreads.list/maxResults": max_results +"/youtube:v3/youtube.commentThreads.list/moderationStatus": moderation_status +"/youtube:v3/youtube.commentThreads.list/order": order +"/youtube:v3/youtube.commentThreads.list/pageToken": page_token +"/youtube:v3/youtube.commentThreads.list/part": part +"/youtube:v3/youtube.commentThreads.list/searchTerms": search_terms +"/youtube:v3/youtube.commentThreads.list/textFormat": text_format +"/youtube:v3/youtube.commentThreads.list/videoId": video_id +"/youtube:v3/youtube.commentThreads.update": update_comment_thread +"/youtube:v3/youtube.commentThreads.update/part": part +"/youtube:v3/youtube.comments.delete": delete_comment +"/youtube:v3/youtube.comments.delete/id": id +"/youtube:v3/youtube.comments.insert": insert_comment +"/youtube:v3/youtube.comments.insert/part": part +"/youtube:v3/youtube.comments.list": list_comments +"/youtube:v3/youtube.comments.list/id": id +"/youtube:v3/youtube.comments.list/maxResults": max_results +"/youtube:v3/youtube.comments.list/pageToken": page_token +"/youtube:v3/youtube.comments.list/parentId": parent_id +"/youtube:v3/youtube.comments.list/part": part +"/youtube:v3/youtube.comments.list/textFormat": text_format +"/youtube:v3/youtube.comments.markAsSpam": mark_comment_as_spam +"/youtube:v3/youtube.comments.markAsSpam/id": id +"/youtube:v3/youtube.comments.setModerationStatus/banAuthor": ban_author +"/youtube:v3/youtube.comments.setModerationStatus/id": id +"/youtube:v3/youtube.comments.setModerationStatus/moderationStatus": moderation_status +"/youtube:v3/youtube.comments.update": update_comment +"/youtube:v3/youtube.comments.update/part": part +"/youtube:v3/youtube.fanFundingEvents.list": list_fan_funding_events +"/youtube:v3/youtube.fanFundingEvents.list/hl": hl +"/youtube:v3/youtube.fanFundingEvents.list/maxResults": max_results +"/youtube:v3/youtube.fanFundingEvents.list/pageToken": page_token +"/youtube:v3/youtube.fanFundingEvents.list/part": part +"/youtube:v3/youtube.guideCategories.list": list_guide_categories +"/youtube:v3/youtube.guideCategories.list/hl": hl +"/youtube:v3/youtube.guideCategories.list/id": id +"/youtube:v3/youtube.guideCategories.list/part": part +"/youtube:v3/youtube.guideCategories.list/regionCode": region_code +"/youtube:v3/youtube.i18nLanguages.list": list_i18n_languages +"/youtube:v3/youtube.i18nLanguages.list/hl": hl +"/youtube:v3/youtube.i18nLanguages.list/part": part +"/youtube:v3/youtube.i18nRegions.list": list_i18n_regions +"/youtube:v3/youtube.i18nRegions.list/hl": hl +"/youtube:v3/youtube.i18nRegions.list/part": part +"/youtube:v3/youtube.liveBroadcasts.bind": bind_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.bind/id": id +"/youtube:v3/youtube.liveBroadcasts.bind/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.bind/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.bind/part": part +"/youtube:v3/youtube.liveBroadcasts.bind/streamId": stream_id +"/youtube:v3/youtube.liveBroadcasts.control": control_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.control/displaySlate": display_slate +"/youtube:v3/youtube.liveBroadcasts.control/id": id +"/youtube:v3/youtube.liveBroadcasts.control/offsetTimeMs": offset_time_ms +"/youtube:v3/youtube.liveBroadcasts.control/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.control/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.control/part": part +"/youtube:v3/youtube.liveBroadcasts.control/walltime": walltime +"/youtube:v3/youtube.liveBroadcasts.delete": delete_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.delete/id": id +"/youtube:v3/youtube.liveBroadcasts.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.delete/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.insert": insert_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.insert/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.insert/part": part +"/youtube:v3/youtube.liveBroadcasts.list": list_live_broadcasts +"/youtube:v3/youtube.liveBroadcasts.list/broadcastStatus": broadcast_status +"/youtube:v3/youtube.liveBroadcasts.list/broadcastType": broadcast_type +"/youtube:v3/youtube.liveBroadcasts.list/id": id +"/youtube:v3/youtube.liveBroadcasts.list/maxResults": max_results +"/youtube:v3/youtube.liveBroadcasts.list/mine": mine +"/youtube:v3/youtube.liveBroadcasts.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.list/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.list/pageToken": page_token +"/youtube:v3/youtube.liveBroadcasts.list/part": part +"/youtube:v3/youtube.liveBroadcasts.transition": transition_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.transition/broadcastStatus": broadcast_status +"/youtube:v3/youtube.liveBroadcasts.transition/id": id +"/youtube:v3/youtube.liveBroadcasts.transition/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.transition/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.transition/part": part +"/youtube:v3/youtube.liveBroadcasts.update": update_live_broadcast +"/youtube:v3/youtube.liveBroadcasts.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveBroadcasts.update/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveBroadcasts.update/part": part +"/youtube:v3/youtube.liveChatBans.delete": delete_live_chat_ban +"/youtube:v3/youtube.liveChatBans.delete/id": id +"/youtube:v3/youtube.liveChatBans.insert": insert_live_chat_ban +"/youtube:v3/youtube.liveChatBans.insert/part": part +"/youtube:v3/youtube.liveChatMessages.delete": delete_live_chat_message +"/youtube:v3/youtube.liveChatMessages.delete/id": id +"/youtube:v3/youtube.liveChatMessages.insert": insert_live_chat_message +"/youtube:v3/youtube.liveChatMessages.insert/part": part +"/youtube:v3/youtube.liveChatMessages.list": list_live_chat_messages +"/youtube:v3/youtube.liveChatMessages.list/hl": hl +"/youtube:v3/youtube.liveChatMessages.list/liveChatId": live_chat_id +"/youtube:v3/youtube.liveChatMessages.list/maxResults": max_results +"/youtube:v3/youtube.liveChatMessages.list/pageToken": page_token +"/youtube:v3/youtube.liveChatMessages.list/part": part +"/youtube:v3/youtube.liveChatMessages.list/profileImageSize": profile_image_size +"/youtube:v3/youtube.liveChatModerators.delete": delete_live_chat_moderator +"/youtube:v3/youtube.liveChatModerators.delete/id": id +"/youtube:v3/youtube.liveChatModerators.insert": insert_live_chat_moderator +"/youtube:v3/youtube.liveChatModerators.insert/part": part +"/youtube:v3/youtube.liveChatModerators.list": list_live_chat_moderators +"/youtube:v3/youtube.liveChatModerators.list/liveChatId": live_chat_id +"/youtube:v3/youtube.liveChatModerators.list/maxResults": max_results +"/youtube:v3/youtube.liveChatModerators.list/pageToken": page_token +"/youtube:v3/youtube.liveChatModerators.list/part": part +"/youtube:v3/youtube.liveStreams.delete": delete_live_stream +"/youtube:v3/youtube.liveStreams.delete/id": id +"/youtube:v3/youtube.liveStreams.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveStreams.delete/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveStreams.insert": insert_live_stream +"/youtube:v3/youtube.liveStreams.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveStreams.insert/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveStreams.insert/part": part +"/youtube:v3/youtube.liveStreams.list": list_live_streams +"/youtube:v3/youtube.liveStreams.list/id": id +"/youtube:v3/youtube.liveStreams.list/maxResults": max_results +"/youtube:v3/youtube.liveStreams.list/mine": mine +"/youtube:v3/youtube.liveStreams.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveStreams.list/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveStreams.list/pageToken": page_token +"/youtube:v3/youtube.liveStreams.list/part": part +"/youtube:v3/youtube.liveStreams.update": update_live_stream +"/youtube:v3/youtube.liveStreams.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.liveStreams.update/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.liveStreams.update/part": part +"/youtube:v3/youtube.playlistItems.delete": delete_playlist_item +"/youtube:v3/youtube.playlistItems.delete/id": id +"/youtube:v3/youtube.playlistItems.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlistItems.insert": insert_playlist_item +"/youtube:v3/youtube.playlistItems.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlistItems.insert/part": part +"/youtube:v3/youtube.playlistItems.list": list_playlist_items +"/youtube:v3/youtube.playlistItems.list/id": id +"/youtube:v3/youtube.playlistItems.list/maxResults": max_results +"/youtube:v3/youtube.playlistItems.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlistItems.list/pageToken": page_token +"/youtube:v3/youtube.playlistItems.list/part": part +"/youtube:v3/youtube.playlistItems.list/playlistId": playlist_id +"/youtube:v3/youtube.playlistItems.list/videoId": video_id +"/youtube:v3/youtube.playlistItems.update": update_playlist_item +"/youtube:v3/youtube.playlistItems.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlistItems.update/part": part +"/youtube:v3/youtube.playlists.delete": delete_playlist +"/youtube:v3/youtube.playlists.delete/id": id +"/youtube:v3/youtube.playlists.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlists.insert": insert_playlist +"/youtube:v3/youtube.playlists.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlists.insert/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.playlists.insert/part": part +"/youtube:v3/youtube.playlists.list": list_playlists +"/youtube:v3/youtube.playlists.list/channelId": channel_id +"/youtube:v3/youtube.playlists.list/hl": hl +"/youtube:v3/youtube.playlists.list/id": id +"/youtube:v3/youtube.playlists.list/maxResults": max_results +"/youtube:v3/youtube.playlists.list/mine": mine +"/youtube:v3/youtube.playlists.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlists.list/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.playlists.list/pageToken": page_token +"/youtube:v3/youtube.playlists.list/part": part +"/youtube:v3/youtube.playlists.update": update_playlist +"/youtube:v3/youtube.playlists.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.playlists.update/part": part +"/youtube:v3/youtube.search.list": list_searches +"/youtube:v3/youtube.search.list/channelId": channel_id +"/youtube:v3/youtube.search.list/channelType": channel_type +"/youtube:v3/youtube.search.list/eventType": event_type +"/youtube:v3/youtube.search.list/forContentOwner": for_content_owner +"/youtube:v3/youtube.search.list/forDeveloper": for_developer +"/youtube:v3/youtube.search.list/forMine": for_mine +"/youtube:v3/youtube.search.list/location": location +"/youtube:v3/youtube.search.list/locationRadius": location_radius +"/youtube:v3/youtube.search.list/maxResults": max_results +"/youtube:v3/youtube.search.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.search.list/order": order +"/youtube:v3/youtube.search.list/pageToken": page_token +"/youtube:v3/youtube.search.list/part": part +"/youtube:v3/youtube.search.list/publishedAfter": published_after +"/youtube:v3/youtube.search.list/publishedBefore": published_before +"/youtube:v3/youtube.search.list/q": q +"/youtube:v3/youtube.search.list/regionCode": region_code +"/youtube:v3/youtube.search.list/relatedToVideoId": related_to_video_id +"/youtube:v3/youtube.search.list/relevanceLanguage": relevance_language +"/youtube:v3/youtube.search.list/safeSearch": safe_search +"/youtube:v3/youtube.search.list/topicId": topic_id +"/youtube:v3/youtube.search.list/type": type +"/youtube:v3/youtube.search.list/videoCaption": video_caption +"/youtube:v3/youtube.search.list/videoCategoryId": video_category_id +"/youtube:v3/youtube.search.list/videoDefinition": video_definition +"/youtube:v3/youtube.search.list/videoDimension": video_dimension +"/youtube:v3/youtube.search.list/videoDuration": video_duration +"/youtube:v3/youtube.search.list/videoEmbeddable": video_embeddable +"/youtube:v3/youtube.search.list/videoLicense": video_license +"/youtube:v3/youtube.search.list/videoSyndicated": video_syndicated +"/youtube:v3/youtube.search.list/videoType": video_type +"/youtube:v3/youtube.sponsors.list": list_sponsors +"/youtube:v3/youtube.sponsors.list/filter": filter +"/youtube:v3/youtube.sponsors.list/maxResults": max_results +"/youtube:v3/youtube.sponsors.list/pageToken": page_token +"/youtube:v3/youtube.sponsors.list/part": part +"/youtube:v3/youtube.subscriptions.delete": delete_subscription +"/youtube:v3/youtube.subscriptions.delete/id": id +"/youtube:v3/youtube.subscriptions.insert": insert_subscription +"/youtube:v3/youtube.subscriptions.insert/part": part +"/youtube:v3/youtube.subscriptions.list": list_subscriptions +"/youtube:v3/youtube.subscriptions.list/channelId": channel_id +"/youtube:v3/youtube.subscriptions.list/forChannelId": for_channel_id +"/youtube:v3/youtube.subscriptions.list/id": id +"/youtube:v3/youtube.subscriptions.list/maxResults": max_results +"/youtube:v3/youtube.subscriptions.list/mine": mine +"/youtube:v3/youtube.subscriptions.list/myRecentSubscribers": my_recent_subscribers +"/youtube:v3/youtube.subscriptions.list/mySubscribers": my_subscribers +"/youtube:v3/youtube.subscriptions.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.subscriptions.list/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.subscriptions.list/order": order +"/youtube:v3/youtube.subscriptions.list/pageToken": page_token +"/youtube:v3/youtube.subscriptions.list/part": part +"/youtube:v3/youtube.thumbnails.set": set_thumbnail +"/youtube:v3/youtube.thumbnails.set/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.thumbnails.set/videoId": video_id +"/youtube:v3/youtube.videoAbuseReportReasons.list": list_video_abuse_report_reasons +"/youtube:v3/youtube.videoAbuseReportReasons.list/hl": hl +"/youtube:v3/youtube.videoAbuseReportReasons.list/part": part +"/youtube:v3/youtube.videoCategories.list": list_video_categories +"/youtube:v3/youtube.videoCategories.list/hl": hl +"/youtube:v3/youtube.videoCategories.list/id": id +"/youtube:v3/youtube.videoCategories.list/part": part +"/youtube:v3/youtube.videoCategories.list/regionCode": region_code +"/youtube:v3/youtube.videos.delete": delete_video +"/youtube:v3/youtube.videos.delete/id": id +"/youtube:v3/youtube.videos.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.getRating": get_video_rating +"/youtube:v3/youtube.videos.getRating/id": id +"/youtube:v3/youtube.videos.getRating/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.insert": insert_video +"/youtube:v3/youtube.videos.insert/autoLevels": auto_levels +"/youtube:v3/youtube.videos.insert/notifySubscribers": notify_subscribers +"/youtube:v3/youtube.videos.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.insert/onBehalfOfContentOwnerChannel": on_behalf_of_content_owner_channel +"/youtube:v3/youtube.videos.insert/part": part +"/youtube:v3/youtube.videos.insert/stabilize": stabilize +"/youtube:v3/youtube.videos.list": list_videos +"/youtube:v3/youtube.videos.list/chart": chart +"/youtube:v3/youtube.videos.list/hl": hl +"/youtube:v3/youtube.videos.list/id": id +"/youtube:v3/youtube.videos.list/locale": locale +"/youtube:v3/youtube.videos.list/maxHeight": max_height +"/youtube:v3/youtube.videos.list/maxResults": max_results +"/youtube:v3/youtube.videos.list/maxWidth": max_width +"/youtube:v3/youtube.videos.list/myRating": my_rating +"/youtube:v3/youtube.videos.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.list/pageToken": page_token +"/youtube:v3/youtube.videos.list/part": part +"/youtube:v3/youtube.videos.list/regionCode": region_code +"/youtube:v3/youtube.videos.list/videoCategoryId": video_category_id +"/youtube:v3/youtube.videos.rate": rate_video +"/youtube:v3/youtube.videos.rate/id": id +"/youtube:v3/youtube.videos.rate/rating": rating +"/youtube:v3/youtube.videos.reportAbuse": report_video_abuse +"/youtube:v3/youtube.videos.reportAbuse/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.update": update_video +"/youtube:v3/youtube.videos.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.videos.update/part": part +"/youtube:v3/youtube.watermarks.set": set_watermark +"/youtube:v3/youtube.watermarks.set/channelId": channel_id +"/youtube:v3/youtube.watermarks.set/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/youtube.watermarks.unset": unset_watermark +"/youtube:v3/youtube.watermarks.unset/channelId": channel_id +"/youtube:v3/youtube.watermarks.unset/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtube:v3/AccessPolicy": access_policy +"/youtube:v3/AccessPolicy/allowed": allowed +"/youtube:v3/AccessPolicy/exception": exception +"/youtube:v3/AccessPolicy/exception/exception": exception +"/youtube:v3/Activity": activity +"/youtube:v3/Activity/contentDetails": content_details +"/youtube:v3/Activity/etag": etag +"/youtube:v3/Activity/id": id +"/youtube:v3/Activity/kind": kind +"/youtube:v3/Activity/snippet": snippet +"/youtube:v3/ActivityContentDetails": activity_content_details +"/youtube:v3/ActivityContentDetails/bulletin": bulletin +"/youtube:v3/ActivityContentDetails/channelItem": channel_item +"/youtube:v3/ActivityContentDetails/comment": comment +"/youtube:v3/ActivityContentDetails/favorite": favorite +"/youtube:v3/ActivityContentDetails/like": like +"/youtube:v3/ActivityContentDetails/playlistItem": playlist_item +"/youtube:v3/ActivityContentDetails/promotedItem": promoted_item +"/youtube:v3/ActivityContentDetails/recommendation": recommendation +"/youtube:v3/ActivityContentDetails/social": social +"/youtube:v3/ActivityContentDetails/subscription": subscription +"/youtube:v3/ActivityContentDetails/upload": upload +"/youtube:v3/ActivityContentDetailsBulletin": activity_content_details_bulletin +"/youtube:v3/ActivityContentDetailsBulletin/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsChannelItem": activity_content_details_channel_item +"/youtube:v3/ActivityContentDetailsChannelItem/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsComment": activity_content_details_comment +"/youtube:v3/ActivityContentDetailsComment/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsFavorite": activity_content_details_favorite +"/youtube:v3/ActivityContentDetailsFavorite/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsLike": activity_content_details_like +"/youtube:v3/ActivityContentDetailsLike/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsPlaylistItem": activity_content_details_playlist_item +"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistId": playlist_id +"/youtube:v3/ActivityContentDetailsPlaylistItem/playlistItemId": playlist_item_id +"/youtube:v3/ActivityContentDetailsPlaylistItem/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsPromotedItem": activity_content_details_promoted_item +"/youtube:v3/ActivityContentDetailsPromotedItem/adTag": ad_tag +"/youtube:v3/ActivityContentDetailsPromotedItem/clickTrackingUrl": click_tracking_url +"/youtube:v3/ActivityContentDetailsPromotedItem/creativeViewUrl": creative_view_url +"/youtube:v3/ActivityContentDetailsPromotedItem/ctaType": cta_type +"/youtube:v3/ActivityContentDetailsPromotedItem/customCtaButtonText": custom_cta_button_text +"/youtube:v3/ActivityContentDetailsPromotedItem/descriptionText": description_text +"/youtube:v3/ActivityContentDetailsPromotedItem/destinationUrl": destination_url +"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl": forecasting_url +"/youtube:v3/ActivityContentDetailsPromotedItem/forecastingUrl/forecasting_url": forecasting_url +"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl": impression_url +"/youtube:v3/ActivityContentDetailsPromotedItem/impressionUrl/impression_url": impression_url +"/youtube:v3/ActivityContentDetailsPromotedItem/videoId": video_id +"/youtube:v3/ActivityContentDetailsRecommendation": activity_content_details_recommendation +"/youtube:v3/ActivityContentDetailsRecommendation/reason": reason +"/youtube:v3/ActivityContentDetailsRecommendation/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsRecommendation/seedResourceId": seed_resource_id +"/youtube:v3/ActivityContentDetailsSocial": activity_content_details_social +"/youtube:v3/ActivityContentDetailsSocial/author": author +"/youtube:v3/ActivityContentDetailsSocial/imageUrl": image_url +"/youtube:v3/ActivityContentDetailsSocial/referenceUrl": reference_url +"/youtube:v3/ActivityContentDetailsSocial/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsSocial/type": type +"/youtube:v3/ActivityContentDetailsSubscription": activity_content_details_subscription +"/youtube:v3/ActivityContentDetailsSubscription/resourceId": resource_id +"/youtube:v3/ActivityContentDetailsUpload": activity_content_details_upload +"/youtube:v3/ActivityContentDetailsUpload/videoId": video_id +"/youtube:v3/ActivityListResponse/etag": etag +"/youtube:v3/ActivityListResponse/eventId": event_id +"/youtube:v3/ActivityListResponse/items": items +"/youtube:v3/ActivityListResponse/items/item": item +"/youtube:v3/ActivityListResponse/kind": kind +"/youtube:v3/ActivityListResponse/nextPageToken": next_page_token +"/youtube:v3/ActivityListResponse/pageInfo": page_info +"/youtube:v3/ActivityListResponse/prevPageToken": prev_page_token +"/youtube:v3/ActivityListResponse/tokenPagination": token_pagination +"/youtube:v3/ActivityListResponse/visitorId": visitor_id +"/youtube:v3/ActivitySnippet": activity_snippet +"/youtube:v3/ActivitySnippet/channelId": channel_id +"/youtube:v3/ActivitySnippet/channelTitle": channel_title +"/youtube:v3/ActivitySnippet/description": description +"/youtube:v3/ActivitySnippet/groupId": group_id +"/youtube:v3/ActivitySnippet/publishedAt": published_at +"/youtube:v3/ActivitySnippet/thumbnails": thumbnails +"/youtube:v3/ActivitySnippet/title": title +"/youtube:v3/ActivitySnippet/type": type +"/youtube:v3/Caption": caption +"/youtube:v3/Caption/etag": etag +"/youtube:v3/Caption/id": id +"/youtube:v3/Caption/kind": kind +"/youtube:v3/Caption/snippet": snippet +"/youtube:v3/CaptionListResponse/etag": etag +"/youtube:v3/CaptionListResponse/eventId": event_id +"/youtube:v3/CaptionListResponse/items": items +"/youtube:v3/CaptionListResponse/items/item": item +"/youtube:v3/CaptionListResponse/kind": kind +"/youtube:v3/CaptionListResponse/visitorId": visitor_id +"/youtube:v3/CaptionSnippet": caption_snippet +"/youtube:v3/CaptionSnippet/audioTrackType": audio_track_type +"/youtube:v3/CaptionSnippet/failureReason": failure_reason +"/youtube:v3/CaptionSnippet/isAutoSynced": is_auto_synced +"/youtube:v3/CaptionSnippet/isCC": is_cc +"/youtube:v3/CaptionSnippet/isDraft": is_draft +"/youtube:v3/CaptionSnippet/isEasyReader": is_easy_reader +"/youtube:v3/CaptionSnippet/isLarge": is_large +"/youtube:v3/CaptionSnippet/language": language +"/youtube:v3/CaptionSnippet/lastUpdated": last_updated +"/youtube:v3/CaptionSnippet/name": name +"/youtube:v3/CaptionSnippet/status": status +"/youtube:v3/CaptionSnippet/trackKind": track_kind +"/youtube:v3/CaptionSnippet/videoId": video_id +"/youtube:v3/CdnSettings": cdn_settings +"/youtube:v3/CdnSettings/format": format +"/youtube:v3/CdnSettings/frameRate": frame_rate +"/youtube:v3/CdnSettings/ingestionInfo": ingestion_info +"/youtube:v3/CdnSettings/ingestionType": ingestion_type +"/youtube:v3/CdnSettings/resolution": resolution +"/youtube:v3/Channel": channel +"/youtube:v3/Channel/auditDetails": audit_details +"/youtube:v3/Channel/brandingSettings": branding_settings +"/youtube:v3/Channel/contentDetails": content_details +"/youtube:v3/Channel/contentOwnerDetails": content_owner_details +"/youtube:v3/Channel/conversionPings": conversion_pings +"/youtube:v3/Channel/etag": etag +"/youtube:v3/Channel/id": id +"/youtube:v3/Channel/invideoPromotion": invideo_promotion +"/youtube:v3/Channel/kind": kind +"/youtube:v3/Channel/localizations": localizations +"/youtube:v3/Channel/localizations/localization": localization +"/youtube:v3/Channel/snippet": snippet +"/youtube:v3/Channel/statistics": statistics +"/youtube:v3/Channel/status": status +"/youtube:v3/Channel/topicDetails": topic_details +"/youtube:v3/ChannelAuditDetails": channel_audit_details +"/youtube:v3/ChannelAuditDetails/communityGuidelinesGoodStanding": community_guidelines_good_standing +"/youtube:v3/ChannelAuditDetails/contentIdClaimsGoodStanding": content_id_claims_good_standing +"/youtube:v3/ChannelAuditDetails/copyrightStrikesGoodStanding": copyright_strikes_good_standing +"/youtube:v3/ChannelAuditDetails/overallGoodStanding": overall_good_standing +"/youtube:v3/ChannelBannerResource": channel_banner_resource +"/youtube:v3/ChannelBannerResource/etag": etag +"/youtube:v3/ChannelBannerResource/kind": kind +"/youtube:v3/ChannelBannerResource/url": url +"/youtube:v3/ChannelBrandingSettings": channel_branding_settings +"/youtube:v3/ChannelBrandingSettings/channel": channel +"/youtube:v3/ChannelBrandingSettings/hints": hints +"/youtube:v3/ChannelBrandingSettings/hints/hint": hint +"/youtube:v3/ChannelBrandingSettings/image": image +"/youtube:v3/ChannelBrandingSettings/watch": watch +"/youtube:v3/ChannelContentDetails": channel_content_details +"/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists +"/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites +"/youtube:v3/ChannelContentDetails/relatedPlaylists/likes": likes +"/youtube:v3/ChannelContentDetails/relatedPlaylists/uploads": uploads +"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchHistory": watch_history +"/youtube:v3/ChannelContentDetails/relatedPlaylists/watchLater": watch_later +"/youtube:v3/ChannelContentOwnerDetails": channel_content_owner_details +"/youtube:v3/ChannelContentOwnerDetails/contentOwner": content_owner +"/youtube:v3/ChannelContentOwnerDetails/timeLinked": time_linked +"/youtube:v3/ChannelConversionPing": channel_conversion_ping +"/youtube:v3/ChannelConversionPing/context": context +"/youtube:v3/ChannelConversionPing/conversionUrl": conversion_url +"/youtube:v3/ChannelConversionPings": channel_conversion_pings +"/youtube:v3/ChannelConversionPings/pings": pings +"/youtube:v3/ChannelConversionPings/pings/ping": ping +"/youtube:v3/ChannelListResponse/etag": etag +"/youtube:v3/ChannelListResponse/eventId": event_id +"/youtube:v3/ChannelListResponse/items": items +"/youtube:v3/ChannelListResponse/items/item": item +"/youtube:v3/ChannelListResponse/kind": kind +"/youtube:v3/ChannelListResponse/nextPageToken": next_page_token +"/youtube:v3/ChannelListResponse/pageInfo": page_info +"/youtube:v3/ChannelListResponse/prevPageToken": prev_page_token +"/youtube:v3/ChannelListResponse/tokenPagination": token_pagination +"/youtube:v3/ChannelListResponse/visitorId": visitor_id +"/youtube:v3/ChannelLocalization": channel_localization +"/youtube:v3/ChannelLocalization/description": description +"/youtube:v3/ChannelLocalization/title": title +"/youtube:v3/ChannelProfileDetails": channel_profile_details +"/youtube:v3/ChannelProfileDetails/channelId": channel_id +"/youtube:v3/ChannelProfileDetails/channelUrl": channel_url +"/youtube:v3/ChannelProfileDetails/displayName": display_name +"/youtube:v3/ChannelProfileDetails/profileImageUrl": profile_image_url +"/youtube:v3/ChannelSection": channel_section +"/youtube:v3/ChannelSection/contentDetails": content_details +"/youtube:v3/ChannelSection/etag": etag +"/youtube:v3/ChannelSection/id": id +"/youtube:v3/ChannelSection/kind": kind +"/youtube:v3/ChannelSection/localizations": localizations +"/youtube:v3/ChannelSection/localizations/localization": localization +"/youtube:v3/ChannelSection/snippet": snippet +"/youtube:v3/ChannelSection/targeting": targeting +"/youtube:v3/ChannelSectionContentDetails": channel_section_content_details +"/youtube:v3/ChannelSectionContentDetails/channels": channels +"/youtube:v3/ChannelSectionContentDetails/channels/channel": channel +"/youtube:v3/ChannelSectionContentDetails/playlists": playlists +"/youtube:v3/ChannelSectionContentDetails/playlists/playlist": playlist +"/youtube:v3/ChannelSectionListResponse/etag": etag +"/youtube:v3/ChannelSectionListResponse/eventId": event_id +"/youtube:v3/ChannelSectionListResponse/items": items +"/youtube:v3/ChannelSectionListResponse/items/item": item +"/youtube:v3/ChannelSectionListResponse/kind": kind +"/youtube:v3/ChannelSectionListResponse/visitorId": visitor_id +"/youtube:v3/ChannelSectionLocalization": channel_section_localization +"/youtube:v3/ChannelSectionLocalization/title": title +"/youtube:v3/ChannelSectionSnippet": channel_section_snippet +"/youtube:v3/ChannelSectionSnippet/channelId": channel_id +"/youtube:v3/ChannelSectionSnippet/defaultLanguage": default_language +"/youtube:v3/ChannelSectionSnippet/localized": localized +"/youtube:v3/ChannelSectionSnippet/position": position +"/youtube:v3/ChannelSectionSnippet/style": style +"/youtube:v3/ChannelSectionSnippet/title": title +"/youtube:v3/ChannelSectionSnippet/type": type +"/youtube:v3/ChannelSectionTargeting": channel_section_targeting +"/youtube:v3/ChannelSectionTargeting/countries": countries +"/youtube:v3/ChannelSectionTargeting/countries/country": country +"/youtube:v3/ChannelSectionTargeting/languages": languages +"/youtube:v3/ChannelSectionTargeting/languages/language": language +"/youtube:v3/ChannelSectionTargeting/regions": regions +"/youtube:v3/ChannelSectionTargeting/regions/region": region +"/youtube:v3/ChannelSettings": channel_settings +"/youtube:v3/ChannelSettings/country": country +"/youtube:v3/ChannelSettings/defaultLanguage": default_language +"/youtube:v3/ChannelSettings/defaultTab": default_tab +"/youtube:v3/ChannelSettings/description": description +"/youtube:v3/ChannelSettings/featuredChannelsTitle": featured_channels_title +"/youtube:v3/ChannelSettings/featuredChannelsUrls": featured_channels_urls +"/youtube:v3/ChannelSettings/featuredChannelsUrls/featured_channels_url": featured_channels_url +"/youtube:v3/ChannelSettings/keywords": keywords +"/youtube:v3/ChannelSettings/moderateComments": moderate_comments +"/youtube:v3/ChannelSettings/profileColor": profile_color +"/youtube:v3/ChannelSettings/showBrowseView": show_browse_view +"/youtube:v3/ChannelSettings/showRelatedChannels": show_related_channels +"/youtube:v3/ChannelSettings/title": title +"/youtube:v3/ChannelSettings/trackingAnalyticsAccountId": tracking_analytics_account_id +"/youtube:v3/ChannelSettings/unsubscribedTrailer": unsubscribed_trailer +"/youtube:v3/ChannelSnippet": channel_snippet +"/youtube:v3/ChannelSnippet/country": country +"/youtube:v3/ChannelSnippet/customUrl": custom_url +"/youtube:v3/ChannelSnippet/defaultLanguage": default_language +"/youtube:v3/ChannelSnippet/description": description +"/youtube:v3/ChannelSnippet/localized": localized +"/youtube:v3/ChannelSnippet/publishedAt": published_at +"/youtube:v3/ChannelSnippet/thumbnails": thumbnails +"/youtube:v3/ChannelSnippet/title": title +"/youtube:v3/ChannelStatistics": channel_statistics +"/youtube:v3/ChannelStatistics/commentCount": comment_count +"/youtube:v3/ChannelStatistics/hiddenSubscriberCount": hidden_subscriber_count +"/youtube:v3/ChannelStatistics/subscriberCount": subscriber_count +"/youtube:v3/ChannelStatistics/videoCount": video_count +"/youtube:v3/ChannelStatistics/viewCount": view_count +"/youtube:v3/ChannelStatus": channel_status +"/youtube:v3/ChannelStatus/isLinked": is_linked +"/youtube:v3/ChannelStatus/longUploadsStatus": long_uploads_status +"/youtube:v3/ChannelStatus/privacyStatus": privacy_status +"/youtube:v3/ChannelTopicDetails": channel_topic_details +"/youtube:v3/ChannelTopicDetails/topicIds": topic_ids +"/youtube:v3/ChannelTopicDetails/topicIds/topic_id": topic_id +"/youtube:v3/Comment": comment +"/youtube:v3/Comment/etag": etag +"/youtube:v3/Comment/id": id +"/youtube:v3/Comment/kind": kind +"/youtube:v3/Comment/snippet": snippet +"/youtube:v3/CommentListResponse/etag": etag +"/youtube:v3/CommentListResponse/eventId": event_id +"/youtube:v3/CommentListResponse/items": items +"/youtube:v3/CommentListResponse/items/item": item +"/youtube:v3/CommentListResponse/kind": kind +"/youtube:v3/CommentListResponse/nextPageToken": next_page_token +"/youtube:v3/CommentListResponse/pageInfo": page_info +"/youtube:v3/CommentListResponse/tokenPagination": token_pagination +"/youtube:v3/CommentListResponse/visitorId": visitor_id +"/youtube:v3/CommentSnippet": comment_snippet +"/youtube:v3/CommentSnippet/authorChannelId": author_channel_id +"/youtube:v3/CommentSnippet/authorChannelUrl": author_channel_url +"/youtube:v3/CommentSnippet/authorDisplayName": author_display_name +"/youtube:v3/CommentSnippet/authorProfileImageUrl": author_profile_image_url +"/youtube:v3/CommentSnippet/canRate": can_rate +"/youtube:v3/CommentSnippet/channelId": channel_id +"/youtube:v3/CommentSnippet/likeCount": like_count +"/youtube:v3/CommentSnippet/moderationStatus": moderation_status +"/youtube:v3/CommentSnippet/parentId": parent_id +"/youtube:v3/CommentSnippet/publishedAt": published_at +"/youtube:v3/CommentSnippet/textDisplay": text_display +"/youtube:v3/CommentSnippet/textOriginal": text_original +"/youtube:v3/CommentSnippet/updatedAt": updated_at +"/youtube:v3/CommentSnippet/videoId": video_id +"/youtube:v3/CommentSnippet/viewerRating": viewer_rating +"/youtube:v3/CommentThread": comment_thread +"/youtube:v3/CommentThread/etag": etag +"/youtube:v3/CommentThread/id": id +"/youtube:v3/CommentThread/kind": kind +"/youtube:v3/CommentThread/replies": replies +"/youtube:v3/CommentThread/snippet": snippet +"/youtube:v3/CommentThreadListResponse/etag": etag +"/youtube:v3/CommentThreadListResponse/eventId": event_id +"/youtube:v3/CommentThreadListResponse/items": items +"/youtube:v3/CommentThreadListResponse/items/item": item +"/youtube:v3/CommentThreadListResponse/kind": kind +"/youtube:v3/CommentThreadListResponse/nextPageToken": next_page_token +"/youtube:v3/CommentThreadListResponse/pageInfo": page_info +"/youtube:v3/CommentThreadListResponse/tokenPagination": token_pagination +"/youtube:v3/CommentThreadListResponse/visitorId": visitor_id +"/youtube:v3/CommentThreadReplies": comment_thread_replies +"/youtube:v3/CommentThreadReplies/comments": comments +"/youtube:v3/CommentThreadReplies/comments/comment": comment +"/youtube:v3/CommentThreadSnippet": comment_thread_snippet +"/youtube:v3/CommentThreadSnippet/canReply": can_reply +"/youtube:v3/CommentThreadSnippet/channelId": channel_id +"/youtube:v3/CommentThreadSnippet/isPublic": is_public +"/youtube:v3/CommentThreadSnippet/topLevelComment": top_level_comment +"/youtube:v3/CommentThreadSnippet/totalReplyCount": total_reply_count +"/youtube:v3/CommentThreadSnippet/videoId": video_id +"/youtube:v3/ContentRating": content_rating +"/youtube:v3/ContentRating/acbRating": acb_rating +"/youtube:v3/ContentRating/agcomRating": agcom_rating +"/youtube:v3/ContentRating/anatelRating": anatel_rating +"/youtube:v3/ContentRating/bbfcRating": bbfc_rating +"/youtube:v3/ContentRating/bfvcRating": bfvc_rating +"/youtube:v3/ContentRating/bmukkRating": bmukk_rating +"/youtube:v3/ContentRating/catvRating": catv_rating +"/youtube:v3/ContentRating/catvfrRating": catvfr_rating +"/youtube:v3/ContentRating/cbfcRating": cbfc_rating +"/youtube:v3/ContentRating/cccRating": ccc_rating +"/youtube:v3/ContentRating/cceRating": cce_rating +"/youtube:v3/ContentRating/chfilmRating": chfilm_rating +"/youtube:v3/ContentRating/chvrsRating": chvrs_rating +"/youtube:v3/ContentRating/cicfRating": cicf_rating +"/youtube:v3/ContentRating/cnaRating": cna_rating +"/youtube:v3/ContentRating/cncRating": cnc_rating +"/youtube:v3/ContentRating/csaRating": csa_rating +"/youtube:v3/ContentRating/cscfRating": cscf_rating +"/youtube:v3/ContentRating/czfilmRating": czfilm_rating +"/youtube:v3/ContentRating/djctqRating": djctq_rating +"/youtube:v3/ContentRating/djctqRatingReasons": djctq_rating_reasons +"/youtube:v3/ContentRating/djctqRatingReasons/djctq_rating_reason": djctq_rating_reason +"/youtube:v3/ContentRating/ecbmctRating": ecbmct_rating +"/youtube:v3/ContentRating/eefilmRating": eefilm_rating +"/youtube:v3/ContentRating/egfilmRating": egfilm_rating +"/youtube:v3/ContentRating/eirinRating": eirin_rating +"/youtube:v3/ContentRating/fcbmRating": fcbm_rating +"/youtube:v3/ContentRating/fcoRating": fco_rating +"/youtube:v3/ContentRating/fmocRating": fmoc_rating +"/youtube:v3/ContentRating/fpbRating": fpb_rating +"/youtube:v3/ContentRating/fpbRatingReasons": fpb_rating_reasons +"/youtube:v3/ContentRating/fpbRatingReasons/fpb_rating_reason": fpb_rating_reason +"/youtube:v3/ContentRating/fskRating": fsk_rating +"/youtube:v3/ContentRating/grfilmRating": grfilm_rating +"/youtube:v3/ContentRating/icaaRating": icaa_rating +"/youtube:v3/ContentRating/ifcoRating": ifco_rating +"/youtube:v3/ContentRating/ilfilmRating": ilfilm_rating +"/youtube:v3/ContentRating/incaaRating": incaa_rating +"/youtube:v3/ContentRating/kfcbRating": kfcb_rating +"/youtube:v3/ContentRating/kijkwijzerRating": kijkwijzer_rating +"/youtube:v3/ContentRating/kmrbRating": kmrb_rating +"/youtube:v3/ContentRating/lsfRating": lsf_rating +"/youtube:v3/ContentRating/mccaaRating": mccaa_rating +"/youtube:v3/ContentRating/mccypRating": mccyp_rating +"/youtube:v3/ContentRating/mcstRating": mcst_rating +"/youtube:v3/ContentRating/mdaRating": mda_rating +"/youtube:v3/ContentRating/medietilsynetRating": medietilsynet_rating +"/youtube:v3/ContentRating/mekuRating": meku_rating +"/youtube:v3/ContentRating/mibacRating": mibac_rating +"/youtube:v3/ContentRating/mocRating": moc_rating +"/youtube:v3/ContentRating/moctwRating": moctw_rating +"/youtube:v3/ContentRating/mpaaRating": mpaa_rating +"/youtube:v3/ContentRating/mtrcbRating": mtrcb_rating +"/youtube:v3/ContentRating/nbcRating": nbc_rating +"/youtube:v3/ContentRating/nbcplRating": nbcpl_rating +"/youtube:v3/ContentRating/nfrcRating": nfrc_rating +"/youtube:v3/ContentRating/nfvcbRating": nfvcb_rating +"/youtube:v3/ContentRating/nkclvRating": nkclv_rating +"/youtube:v3/ContentRating/oflcRating": oflc_rating +"/youtube:v3/ContentRating/pefilmRating": pefilm_rating +"/youtube:v3/ContentRating/rcnofRating": rcnof_rating +"/youtube:v3/ContentRating/resorteviolenciaRating": resorteviolencia_rating +"/youtube:v3/ContentRating/rtcRating": rtc_rating +"/youtube:v3/ContentRating/rteRating": rte_rating +"/youtube:v3/ContentRating/russiaRating": russia_rating +"/youtube:v3/ContentRating/skfilmRating": skfilm_rating +"/youtube:v3/ContentRating/smaisRating": smais_rating +"/youtube:v3/ContentRating/smsaRating": smsa_rating +"/youtube:v3/ContentRating/tvpgRating": tvpg_rating +"/youtube:v3/ContentRating/ytRating": yt_rating +"/youtube:v3/FanFundingEvent": fan_funding_event +"/youtube:v3/FanFundingEvent/etag": etag +"/youtube:v3/FanFundingEvent/id": id +"/youtube:v3/FanFundingEvent/kind": kind +"/youtube:v3/FanFundingEvent/snippet": snippet +"/youtube:v3/FanFundingEventListResponse": fan_funding_event_list_response +"/youtube:v3/FanFundingEventListResponse/etag": etag +"/youtube:v3/FanFundingEventListResponse/eventId": event_id +"/youtube:v3/FanFundingEventListResponse/items": items +"/youtube:v3/FanFundingEventListResponse/items/item": item +"/youtube:v3/FanFundingEventListResponse/kind": kind +"/youtube:v3/FanFundingEventListResponse/nextPageToken": next_page_token +"/youtube:v3/FanFundingEventListResponse/pageInfo": page_info +"/youtube:v3/FanFundingEventListResponse/tokenPagination": token_pagination +"/youtube:v3/FanFundingEventListResponse/visitorId": visitor_id +"/youtube:v3/FanFundingEventSnippet": fan_funding_event_snippet +"/youtube:v3/FanFundingEventSnippet/amountMicros": amount_micros +"/youtube:v3/FanFundingEventSnippet/channelId": channel_id +"/youtube:v3/FanFundingEventSnippet/commentText": comment_text +"/youtube:v3/FanFundingEventSnippet/createdAt": created_at +"/youtube:v3/FanFundingEventSnippet/currency": currency +"/youtube:v3/FanFundingEventSnippet/displayString": display_string +"/youtube:v3/FanFundingEventSnippet/supporterDetails": supporter_details +"/youtube:v3/GeoPoint": geo_point +"/youtube:v3/GeoPoint/altitude": altitude +"/youtube:v3/GeoPoint/latitude": latitude +"/youtube:v3/GeoPoint/longitude": longitude +"/youtube:v3/GuideCategory": guide_category +"/youtube:v3/GuideCategory/etag": etag +"/youtube:v3/GuideCategory/id": id +"/youtube:v3/GuideCategory/kind": kind +"/youtube:v3/GuideCategory/snippet": snippet +"/youtube:v3/GuideCategoryListResponse/etag": etag +"/youtube:v3/GuideCategoryListResponse/eventId": event_id +"/youtube:v3/GuideCategoryListResponse/items": items +"/youtube:v3/GuideCategoryListResponse/items/item": item +"/youtube:v3/GuideCategoryListResponse/kind": kind +"/youtube:v3/GuideCategoryListResponse/nextPageToken": next_page_token +"/youtube:v3/GuideCategoryListResponse/pageInfo": page_info +"/youtube:v3/GuideCategoryListResponse/prevPageToken": prev_page_token +"/youtube:v3/GuideCategoryListResponse/tokenPagination": token_pagination +"/youtube:v3/GuideCategoryListResponse/visitorId": visitor_id +"/youtube:v3/GuideCategorySnippet": guide_category_snippet +"/youtube:v3/GuideCategorySnippet/channelId": channel_id +"/youtube:v3/GuideCategorySnippet/title": title +"/youtube:v3/I18nLanguage": i18n_language +"/youtube:v3/I18nLanguage/etag": etag +"/youtube:v3/I18nLanguage/id": id +"/youtube:v3/I18nLanguage/kind": kind +"/youtube:v3/I18nLanguage/snippet": snippet +"/youtube:v3/I18nLanguageListResponse/etag": etag +"/youtube:v3/I18nLanguageListResponse/eventId": event_id +"/youtube:v3/I18nLanguageListResponse/items": items +"/youtube:v3/I18nLanguageListResponse/items/item": item +"/youtube:v3/I18nLanguageListResponse/kind": kind +"/youtube:v3/I18nLanguageListResponse/visitorId": visitor_id +"/youtube:v3/I18nLanguageSnippet": i18n_language_snippet +"/youtube:v3/I18nLanguageSnippet/hl": hl +"/youtube:v3/I18nLanguageSnippet/name": name +"/youtube:v3/I18nRegion": i18n_region +"/youtube:v3/I18nRegion/etag": etag +"/youtube:v3/I18nRegion/id": id +"/youtube:v3/I18nRegion/kind": kind +"/youtube:v3/I18nRegion/snippet": snippet +"/youtube:v3/I18nRegionListResponse/etag": etag +"/youtube:v3/I18nRegionListResponse/eventId": event_id +"/youtube:v3/I18nRegionListResponse/items": items +"/youtube:v3/I18nRegionListResponse/items/item": item +"/youtube:v3/I18nRegionListResponse/kind": kind +"/youtube:v3/I18nRegionListResponse/visitorId": visitor_id +"/youtube:v3/I18nRegionSnippet": i18n_region_snippet +"/youtube:v3/I18nRegionSnippet/gl": gl +"/youtube:v3/I18nRegionSnippet/name": name +"/youtube:v3/ImageSettings": image_settings +"/youtube:v3/ImageSettings/backgroundImageUrl": background_image_url +"/youtube:v3/ImageSettings/bannerExternalUrl": banner_external_url +"/youtube:v3/ImageSettings/bannerImageUrl": banner_image_url +"/youtube:v3/ImageSettings/bannerMobileExtraHdImageUrl": banner_mobile_extra_hd_image_url +"/youtube:v3/ImageSettings/bannerMobileHdImageUrl": banner_mobile_hd_image_url +"/youtube:v3/ImageSettings/bannerMobileImageUrl": banner_mobile_image_url +"/youtube:v3/ImageSettings/bannerMobileLowImageUrl": banner_mobile_low_image_url +"/youtube:v3/ImageSettings/bannerMobileMediumHdImageUrl": banner_mobile_medium_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletExtraHdImageUrl": banner_tablet_extra_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletHdImageUrl": banner_tablet_hd_image_url +"/youtube:v3/ImageSettings/bannerTabletImageUrl": banner_tablet_image_url +"/youtube:v3/ImageSettings/bannerTabletLowImageUrl": banner_tablet_low_image_url +"/youtube:v3/ImageSettings/bannerTvHighImageUrl": banner_tv_high_image_url +"/youtube:v3/ImageSettings/bannerTvImageUrl": banner_tv_image_url +"/youtube:v3/ImageSettings/bannerTvLowImageUrl": banner_tv_low_image_url +"/youtube:v3/ImageSettings/bannerTvMediumImageUrl": banner_tv_medium_image_url +"/youtube:v3/ImageSettings/largeBrandedBannerImageImapScript": large_branded_banner_image_imap_script +"/youtube:v3/ImageSettings/largeBrandedBannerImageUrl": large_branded_banner_image_url +"/youtube:v3/ImageSettings/smallBrandedBannerImageImapScript": small_branded_banner_image_imap_script +"/youtube:v3/ImageSettings/smallBrandedBannerImageUrl": small_branded_banner_image_url +"/youtube:v3/ImageSettings/trackingImageUrl": tracking_image_url +"/youtube:v3/ImageSettings/watchIconImageUrl": watch_icon_image_url +"/youtube:v3/IngestionInfo": ingestion_info +"/youtube:v3/IngestionInfo/backupIngestionAddress": backup_ingestion_address +"/youtube:v3/IngestionInfo/ingestionAddress": ingestion_address +"/youtube:v3/IngestionInfo/streamName": stream_name +"/youtube:v3/InvideoBranding": invideo_branding +"/youtube:v3/InvideoBranding/imageBytes": image_bytes +"/youtube:v3/InvideoBranding/imageUrl": image_url +"/youtube:v3/InvideoBranding/position": position +"/youtube:v3/InvideoBranding/targetChannelId": target_channel_id +"/youtube:v3/InvideoBranding/timing": timing +"/youtube:v3/InvideoPosition": invideo_position +"/youtube:v3/InvideoPosition/cornerPosition": corner_position +"/youtube:v3/InvideoPosition/type": type +"/youtube:v3/InvideoPromotion": invideo_promotion +"/youtube:v3/InvideoPromotion/defaultTiming": default_timing +"/youtube:v3/InvideoPromotion/items": items +"/youtube:v3/InvideoPromotion/items/item": item +"/youtube:v3/InvideoPromotion/position": position +"/youtube:v3/InvideoPromotion/useSmartTiming": use_smart_timing +"/youtube:v3/InvideoTiming": invideo_timing +"/youtube:v3/InvideoTiming/durationMs": duration_ms +"/youtube:v3/InvideoTiming/offsetMs": offset_ms +"/youtube:v3/InvideoTiming/type": type +"/youtube:v3/LanguageTag": language_tag +"/youtube:v3/LanguageTag/value": value +"/youtube:v3/LiveBroadcast": live_broadcast +"/youtube:v3/LiveBroadcast/contentDetails": content_details +"/youtube:v3/LiveBroadcast/etag": etag +"/youtube:v3/LiveBroadcast/id": id +"/youtube:v3/LiveBroadcast/kind": kind +"/youtube:v3/LiveBroadcast/snippet": snippet +"/youtube:v3/LiveBroadcast/statistics": statistics +"/youtube:v3/LiveBroadcast/status": status +"/youtube:v3/LiveBroadcast/topicDetails": topic_details +"/youtube:v3/LiveBroadcastContentDetails": live_broadcast_content_details +"/youtube:v3/LiveBroadcastContentDetails/boundStreamId": bound_stream_id +"/youtube:v3/LiveBroadcastContentDetails/boundStreamLastUpdateTimeMs": bound_stream_last_update_time_ms +"/youtube:v3/LiveBroadcastContentDetails/closedCaptionsType": closed_captions_type +"/youtube:v3/LiveBroadcastContentDetails/enableClosedCaptions": enable_closed_captions +"/youtube:v3/LiveBroadcastContentDetails/enableContentEncryption": enable_content_encryption +"/youtube:v3/LiveBroadcastContentDetails/enableDvr": enable_dvr +"/youtube:v3/LiveBroadcastContentDetails/enableEmbed": enable_embed +"/youtube:v3/LiveBroadcastContentDetails/enableLowLatency": enable_low_latency +"/youtube:v3/LiveBroadcastContentDetails/monitorStream": monitor_stream +"/youtube:v3/LiveBroadcastContentDetails/projection": projection +"/youtube:v3/LiveBroadcastContentDetails/recordFromStart": record_from_start +"/youtube:v3/LiveBroadcastContentDetails/startWithSlate": start_with_slate +"/youtube:v3/LiveBroadcastListResponse/etag": etag +"/youtube:v3/LiveBroadcastListResponse/eventId": event_id +"/youtube:v3/LiveBroadcastListResponse/items": items +"/youtube:v3/LiveBroadcastListResponse/items/item": item +"/youtube:v3/LiveBroadcastListResponse/kind": kind +"/youtube:v3/LiveBroadcastListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveBroadcastListResponse/pageInfo": page_info +"/youtube:v3/LiveBroadcastListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveBroadcastListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveBroadcastListResponse/visitorId": visitor_id +"/youtube:v3/LiveBroadcastSnippet": live_broadcast_snippet +"/youtube:v3/LiveBroadcastSnippet/actualEndTime": actual_end_time +"/youtube:v3/LiveBroadcastSnippet/actualStartTime": actual_start_time +"/youtube:v3/LiveBroadcastSnippet/channelId": channel_id +"/youtube:v3/LiveBroadcastSnippet/description": description +"/youtube:v3/LiveBroadcastSnippet/isDefaultBroadcast": is_default_broadcast +"/youtube:v3/LiveBroadcastSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveBroadcastSnippet/publishedAt": published_at +"/youtube:v3/LiveBroadcastSnippet/scheduledEndTime": scheduled_end_time +"/youtube:v3/LiveBroadcastSnippet/scheduledStartTime": scheduled_start_time +"/youtube:v3/LiveBroadcastSnippet/thumbnails": thumbnails +"/youtube:v3/LiveBroadcastSnippet/title": title +"/youtube:v3/LiveBroadcastStatistics": live_broadcast_statistics +"/youtube:v3/LiveBroadcastStatistics/concurrentViewers": concurrent_viewers +"/youtube:v3/LiveBroadcastStatistics/totalChatCount": total_chat_count +"/youtube:v3/LiveBroadcastStatus": live_broadcast_status +"/youtube:v3/LiveBroadcastStatus/lifeCycleStatus": life_cycle_status +"/youtube:v3/LiveBroadcastStatus/liveBroadcastPriority": live_broadcast_priority +"/youtube:v3/LiveBroadcastStatus/privacyStatus": privacy_status +"/youtube:v3/LiveBroadcastStatus/recordingStatus": recording_status +"/youtube:v3/LiveBroadcastTopic": live_broadcast_topic +"/youtube:v3/LiveBroadcastTopic/snippet": snippet +"/youtube:v3/LiveBroadcastTopic/type": type +"/youtube:v3/LiveBroadcastTopic/unmatched": unmatched +"/youtube:v3/LiveBroadcastTopicDetails": live_broadcast_topic_details +"/youtube:v3/LiveBroadcastTopicDetails/topics": topics +"/youtube:v3/LiveBroadcastTopicDetails/topics/topic": topic +"/youtube:v3/LiveBroadcastTopicSnippet": live_broadcast_topic_snippet +"/youtube:v3/LiveBroadcastTopicSnippet/name": name +"/youtube:v3/LiveBroadcastTopicSnippet/releaseDate": release_date +"/youtube:v3/LiveChatBan": live_chat_ban +"/youtube:v3/LiveChatBan/etag": etag +"/youtube:v3/LiveChatBan/id": id +"/youtube:v3/LiveChatBan/kind": kind +"/youtube:v3/LiveChatBan/snippet": snippet +"/youtube:v3/LiveChatBanSnippet": live_chat_ban_snippet +"/youtube:v3/LiveChatBanSnippet/banDurationSeconds": ban_duration_seconds +"/youtube:v3/LiveChatBanSnippet/bannedUserDetails": banned_user_details +"/youtube:v3/LiveChatBanSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatBanSnippet/type": type +"/youtube:v3/LiveChatFanFundingEventDetails": live_chat_fan_funding_event_details +"/youtube:v3/LiveChatFanFundingEventDetails/amountDisplayString": amount_display_string +"/youtube:v3/LiveChatFanFundingEventDetails/amountMicros": amount_micros +"/youtube:v3/LiveChatFanFundingEventDetails/currency": currency +"/youtube:v3/LiveChatFanFundingEventDetails/userComment": user_comment +"/youtube:v3/LiveChatMessage": live_chat_message +"/youtube:v3/LiveChatMessage/authorDetails": author_details +"/youtube:v3/LiveChatMessage/etag": etag +"/youtube:v3/LiveChatMessage/id": id +"/youtube:v3/LiveChatMessage/kind": kind +"/youtube:v3/LiveChatMessage/snippet": snippet +"/youtube:v3/LiveChatMessageAuthorDetails": live_chat_message_author_details +"/youtube:v3/LiveChatMessageAuthorDetails/channelId": channel_id +"/youtube:v3/LiveChatMessageAuthorDetails/channelUrl": channel_url +"/youtube:v3/LiveChatMessageAuthorDetails/displayName": display_name +"/youtube:v3/LiveChatMessageAuthorDetails/isChatModerator": is_chat_moderator +"/youtube:v3/LiveChatMessageAuthorDetails/isChatOwner": is_chat_owner +"/youtube:v3/LiveChatMessageAuthorDetails/isChatSponsor": is_chat_sponsor +"/youtube:v3/LiveChatMessageAuthorDetails/isVerified": is_verified +"/youtube:v3/LiveChatMessageAuthorDetails/profileImageUrl": profile_image_url +"/youtube:v3/LiveChatMessageDeletedDetails": live_chat_message_deleted_details +"/youtube:v3/LiveChatMessageDeletedDetails/deletedMessageId": deleted_message_id +"/youtube:v3/LiveChatMessageListResponse": live_chat_message_list_response +"/youtube:v3/LiveChatMessageListResponse/etag": etag +"/youtube:v3/LiveChatMessageListResponse/eventId": event_id +"/youtube:v3/LiveChatMessageListResponse/items": items +"/youtube:v3/LiveChatMessageListResponse/items/item": item +"/youtube:v3/LiveChatMessageListResponse/kind": kind +"/youtube:v3/LiveChatMessageListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveChatMessageListResponse/offlineAt": offline_at +"/youtube:v3/LiveChatMessageListResponse/pageInfo": page_info +"/youtube:v3/LiveChatMessageListResponse/pollingIntervalMillis": polling_interval_millis +"/youtube:v3/LiveChatMessageListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveChatMessageListResponse/visitorId": visitor_id +"/youtube:v3/LiveChatMessageRetractedDetails": live_chat_message_retracted_details +"/youtube:v3/LiveChatMessageRetractedDetails/retractedMessageId": retracted_message_id +"/youtube:v3/LiveChatMessageSnippet": live_chat_message_snippet +"/youtube:v3/LiveChatMessageSnippet/authorChannelId": author_channel_id +"/youtube:v3/LiveChatMessageSnippet/displayMessage": display_message +"/youtube:v3/LiveChatMessageSnippet/fanFundingEventDetails": fan_funding_event_details +"/youtube:v3/LiveChatMessageSnippet/hasDisplayContent": has_display_content +"/youtube:v3/LiveChatMessageSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatMessageSnippet/messageDeletedDetails": message_deleted_details +"/youtube:v3/LiveChatMessageSnippet/messageRetractedDetails": message_retracted_details +"/youtube:v3/LiveChatMessageSnippet/pollClosedDetails": poll_closed_details +"/youtube:v3/LiveChatMessageSnippet/pollEditedDetails": poll_edited_details +"/youtube:v3/LiveChatMessageSnippet/pollOpenedDetails": poll_opened_details +"/youtube:v3/LiveChatMessageSnippet/pollVotedDetails": poll_voted_details +"/youtube:v3/LiveChatMessageSnippet/publishedAt": published_at +"/youtube:v3/LiveChatMessageSnippet/textMessageDetails": text_message_details +"/youtube:v3/LiveChatMessageSnippet/type": type +"/youtube:v3/LiveChatMessageSnippet/userBannedDetails": user_banned_details +"/youtube:v3/LiveChatModerator": live_chat_moderator +"/youtube:v3/LiveChatModerator/etag": etag +"/youtube:v3/LiveChatModerator/id": id +"/youtube:v3/LiveChatModerator/kind": kind +"/youtube:v3/LiveChatModerator/snippet": snippet +"/youtube:v3/LiveChatModeratorListResponse": live_chat_moderator_list_response +"/youtube:v3/LiveChatModeratorListResponse/etag": etag +"/youtube:v3/LiveChatModeratorListResponse/eventId": event_id +"/youtube:v3/LiveChatModeratorListResponse/items": items +"/youtube:v3/LiveChatModeratorListResponse/items/item": item +"/youtube:v3/LiveChatModeratorListResponse/kind": kind +"/youtube:v3/LiveChatModeratorListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveChatModeratorListResponse/pageInfo": page_info +"/youtube:v3/LiveChatModeratorListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveChatModeratorListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveChatModeratorListResponse/visitorId": visitor_id +"/youtube:v3/LiveChatModeratorSnippet": live_chat_moderator_snippet +"/youtube:v3/LiveChatModeratorSnippet/liveChatId": live_chat_id +"/youtube:v3/LiveChatModeratorSnippet/moderatorDetails": moderator_details +"/youtube:v3/LiveChatPollClosedDetails": live_chat_poll_closed_details +"/youtube:v3/LiveChatPollClosedDetails/pollId": poll_id +"/youtube:v3/LiveChatPollEditedDetails": live_chat_poll_edited_details +"/youtube:v3/LiveChatPollEditedDetails/id": id +"/youtube:v3/LiveChatPollEditedDetails/items": items +"/youtube:v3/LiveChatPollEditedDetails/items/item": item +"/youtube:v3/LiveChatPollEditedDetails/prompt": prompt +"/youtube:v3/LiveChatPollItem": live_chat_poll_item +"/youtube:v3/LiveChatPollItem/description": description +"/youtube:v3/LiveChatPollItem/itemId": item_id +"/youtube:v3/LiveChatPollOpenedDetails": live_chat_poll_opened_details +"/youtube:v3/LiveChatPollOpenedDetails/id": id +"/youtube:v3/LiveChatPollOpenedDetails/items": items +"/youtube:v3/LiveChatPollOpenedDetails/items/item": item +"/youtube:v3/LiveChatPollOpenedDetails/prompt": prompt +"/youtube:v3/LiveChatPollVotedDetails": live_chat_poll_voted_details +"/youtube:v3/LiveChatPollVotedDetails/itemId": item_id +"/youtube:v3/LiveChatPollVotedDetails/pollId": poll_id +"/youtube:v3/LiveChatTextMessageDetails": live_chat_text_message_details +"/youtube:v3/LiveChatTextMessageDetails/messageText": message_text +"/youtube:v3/LiveChatUserBannedMessageDetails": live_chat_user_banned_message_details +"/youtube:v3/LiveChatUserBannedMessageDetails/banDurationSeconds": ban_duration_seconds +"/youtube:v3/LiveChatUserBannedMessageDetails/banType": ban_type +"/youtube:v3/LiveChatUserBannedMessageDetails/bannedUserDetails": banned_user_details +"/youtube:v3/LiveStream": live_stream +"/youtube:v3/LiveStream/cdn": cdn +"/youtube:v3/LiveStream/contentDetails": content_details +"/youtube:v3/LiveStream/etag": etag +"/youtube:v3/LiveStream/id": id +"/youtube:v3/LiveStream/kind": kind +"/youtube:v3/LiveStream/snippet": snippet +"/youtube:v3/LiveStream/status": status +"/youtube:v3/LiveStreamConfigurationIssue": live_stream_configuration_issue +"/youtube:v3/LiveStreamConfigurationIssue/description": description +"/youtube:v3/LiveStreamConfigurationIssue/reason": reason +"/youtube:v3/LiveStreamConfigurationIssue/severity": severity +"/youtube:v3/LiveStreamConfigurationIssue/type": type +"/youtube:v3/LiveStreamContentDetails": live_stream_content_details +"/youtube:v3/LiveStreamContentDetails/closedCaptionsIngestionUrl": closed_captions_ingestion_url +"/youtube:v3/LiveStreamContentDetails/isReusable": is_reusable +"/youtube:v3/LiveStreamHealthStatus": live_stream_health_status +"/youtube:v3/LiveStreamHealthStatus/configurationIssues": configuration_issues +"/youtube:v3/LiveStreamHealthStatus/configurationIssues/configuration_issue": configuration_issue +"/youtube:v3/LiveStreamHealthStatus/lastUpdateTimeSeconds": last_update_time_seconds +"/youtube:v3/LiveStreamHealthStatus/status": status +"/youtube:v3/LiveStreamListResponse/etag": etag +"/youtube:v3/LiveStreamListResponse/eventId": event_id +"/youtube:v3/LiveStreamListResponse/items": items +"/youtube:v3/LiveStreamListResponse/items/item": item +"/youtube:v3/LiveStreamListResponse/kind": kind +"/youtube:v3/LiveStreamListResponse/nextPageToken": next_page_token +"/youtube:v3/LiveStreamListResponse/pageInfo": page_info +"/youtube:v3/LiveStreamListResponse/prevPageToken": prev_page_token +"/youtube:v3/LiveStreamListResponse/tokenPagination": token_pagination +"/youtube:v3/LiveStreamListResponse/visitorId": visitor_id +"/youtube:v3/LiveStreamSnippet": live_stream_snippet +"/youtube:v3/LiveStreamSnippet/channelId": channel_id +"/youtube:v3/LiveStreamSnippet/description": description +"/youtube:v3/LiveStreamSnippet/isDefaultStream": is_default_stream +"/youtube:v3/LiveStreamSnippet/publishedAt": published_at +"/youtube:v3/LiveStreamSnippet/title": title +"/youtube:v3/LiveStreamStatus": live_stream_status +"/youtube:v3/LiveStreamStatus/healthStatus": health_status +"/youtube:v3/LiveStreamStatus/streamStatus": stream_status +"/youtube:v3/LocalizedProperty": localized_property +"/youtube:v3/LocalizedProperty/default": default +"/youtube:v3/LocalizedProperty/defaultLanguage": default_language +"/youtube:v3/LocalizedProperty/localized": localized +"/youtube:v3/LocalizedProperty/localized/localized": localized +"/youtube:v3/LocalizedString": localized_string +"/youtube:v3/LocalizedString/language": language +"/youtube:v3/LocalizedString/value": value +"/youtube:v3/MonitorStreamInfo": monitor_stream_info +"/youtube:v3/MonitorStreamInfo/broadcastStreamDelayMs": broadcast_stream_delay_ms +"/youtube:v3/MonitorStreamInfo/embedHtml": embed_html +"/youtube:v3/MonitorStreamInfo/enableMonitorStream": enable_monitor_stream +"/youtube:v3/PageInfo": page_info +"/youtube:v3/PageInfo/resultsPerPage": results_per_page +"/youtube:v3/PageInfo/totalResults": total_results +"/youtube:v3/Playlist": playlist +"/youtube:v3/Playlist/contentDetails": content_details +"/youtube:v3/Playlist/etag": etag +"/youtube:v3/Playlist/id": id +"/youtube:v3/Playlist/kind": kind +"/youtube:v3/Playlist/localizations": localizations +"/youtube:v3/Playlist/localizations/localization": localization +"/youtube:v3/Playlist/player": player +"/youtube:v3/Playlist/snippet": snippet +"/youtube:v3/Playlist/status": status +"/youtube:v3/PlaylistContentDetails": playlist_content_details +"/youtube:v3/PlaylistContentDetails/itemCount": item_count +"/youtube:v3/PlaylistItem": playlist_item +"/youtube:v3/PlaylistItem/contentDetails": content_details +"/youtube:v3/PlaylistItem/etag": etag +"/youtube:v3/PlaylistItem/id": id +"/youtube:v3/PlaylistItem/kind": kind +"/youtube:v3/PlaylistItem/snippet": snippet +"/youtube:v3/PlaylistItem/status": status +"/youtube:v3/PlaylistItemContentDetails": playlist_item_content_details +"/youtube:v3/PlaylistItemContentDetails/endAt": end_at +"/youtube:v3/PlaylistItemContentDetails/note": note +"/youtube:v3/PlaylistItemContentDetails/startAt": start_at +"/youtube:v3/PlaylistItemContentDetails/videoId": video_id +"/youtube:v3/PlaylistItemContentDetails/videoPublishedAt": video_published_at +"/youtube:v3/PlaylistItemListResponse/etag": etag +"/youtube:v3/PlaylistItemListResponse/eventId": event_id +"/youtube:v3/PlaylistItemListResponse/items": items +"/youtube:v3/PlaylistItemListResponse/items/item": item +"/youtube:v3/PlaylistItemListResponse/kind": kind +"/youtube:v3/PlaylistItemListResponse/nextPageToken": next_page_token +"/youtube:v3/PlaylistItemListResponse/pageInfo": page_info +"/youtube:v3/PlaylistItemListResponse/prevPageToken": prev_page_token +"/youtube:v3/PlaylistItemListResponse/tokenPagination": token_pagination +"/youtube:v3/PlaylistItemListResponse/visitorId": visitor_id +"/youtube:v3/PlaylistItemSnippet": playlist_item_snippet +"/youtube:v3/PlaylistItemSnippet/channelId": channel_id +"/youtube:v3/PlaylistItemSnippet/channelTitle": channel_title +"/youtube:v3/PlaylistItemSnippet/description": description +"/youtube:v3/PlaylistItemSnippet/playlistId": playlist_id +"/youtube:v3/PlaylistItemSnippet/position": position +"/youtube:v3/PlaylistItemSnippet/publishedAt": published_at +"/youtube:v3/PlaylistItemSnippet/resourceId": resource_id +"/youtube:v3/PlaylistItemSnippet/thumbnails": thumbnails +"/youtube:v3/PlaylistItemSnippet/title": title +"/youtube:v3/PlaylistItemStatus": playlist_item_status +"/youtube:v3/PlaylistItemStatus/privacyStatus": privacy_status +"/youtube:v3/PlaylistListResponse/etag": etag +"/youtube:v3/PlaylistListResponse/eventId": event_id +"/youtube:v3/PlaylistListResponse/items": items +"/youtube:v3/PlaylistListResponse/items/item": item +"/youtube:v3/PlaylistListResponse/kind": kind +"/youtube:v3/PlaylistListResponse/nextPageToken": next_page_token +"/youtube:v3/PlaylistListResponse/pageInfo": page_info +"/youtube:v3/PlaylistListResponse/prevPageToken": prev_page_token +"/youtube:v3/PlaylistListResponse/tokenPagination": token_pagination +"/youtube:v3/PlaylistListResponse/visitorId": visitor_id +"/youtube:v3/PlaylistLocalization": playlist_localization +"/youtube:v3/PlaylistLocalization/description": description +"/youtube:v3/PlaylistLocalization/title": title +"/youtube:v3/PlaylistPlayer": playlist_player +"/youtube:v3/PlaylistPlayer/embedHtml": embed_html +"/youtube:v3/PlaylistSnippet": playlist_snippet +"/youtube:v3/PlaylistSnippet/channelId": channel_id +"/youtube:v3/PlaylistSnippet/channelTitle": channel_title +"/youtube:v3/PlaylistSnippet/defaultLanguage": default_language +"/youtube:v3/PlaylistSnippet/description": description +"/youtube:v3/PlaylistSnippet/localized": localized +"/youtube:v3/PlaylistSnippet/publishedAt": published_at +"/youtube:v3/PlaylistSnippet/tags": tags +"/youtube:v3/PlaylistSnippet/tags/tag": tag +"/youtube:v3/PlaylistSnippet/thumbnails": thumbnails +"/youtube:v3/PlaylistSnippet/title": title +"/youtube:v3/PlaylistStatus": playlist_status +"/youtube:v3/PlaylistStatus/privacyStatus": privacy_status +"/youtube:v3/PromotedItem": promoted_item +"/youtube:v3/PromotedItem/customMessage": custom_message +"/youtube:v3/PromotedItem/id": id +"/youtube:v3/PromotedItem/promotedByContentOwner": promoted_by_content_owner +"/youtube:v3/PromotedItem/timing": timing +"/youtube:v3/PromotedItemId": promoted_item_id +"/youtube:v3/PromotedItemId/recentlyUploadedBy": recently_uploaded_by +"/youtube:v3/PromotedItemId/type": type +"/youtube:v3/PromotedItemId/videoId": video_id +"/youtube:v3/PromotedItemId/websiteUrl": website_url +"/youtube:v3/PropertyValue": property_value +"/youtube:v3/PropertyValue/property": property +"/youtube:v3/PropertyValue/value": value +"/youtube:v3/ResourceId": resource_id +"/youtube:v3/ResourceId/channelId": channel_id +"/youtube:v3/ResourceId/kind": kind +"/youtube:v3/ResourceId/playlistId": playlist_id +"/youtube:v3/ResourceId/videoId": video_id +"/youtube:v3/SearchListResponse/etag": etag +"/youtube:v3/SearchListResponse/eventId": event_id +"/youtube:v3/SearchListResponse/items": items +"/youtube:v3/SearchListResponse/items/item": item +"/youtube:v3/SearchListResponse/kind": kind +"/youtube:v3/SearchListResponse/nextPageToken": next_page_token +"/youtube:v3/SearchListResponse/pageInfo": page_info +"/youtube:v3/SearchListResponse/prevPageToken": prev_page_token +"/youtube:v3/SearchListResponse/regionCode": region_code +"/youtube:v3/SearchListResponse/tokenPagination": token_pagination +"/youtube:v3/SearchListResponse/visitorId": visitor_id +"/youtube:v3/SearchResult": search_result +"/youtube:v3/SearchResult/etag": etag +"/youtube:v3/SearchResult/id": id +"/youtube:v3/SearchResult/kind": kind +"/youtube:v3/SearchResult/snippet": snippet +"/youtube:v3/SearchResultSnippet": search_result_snippet +"/youtube:v3/SearchResultSnippet/channelId": channel_id +"/youtube:v3/SearchResultSnippet/channelTitle": channel_title +"/youtube:v3/SearchResultSnippet/description": description +"/youtube:v3/SearchResultSnippet/liveBroadcastContent": live_broadcast_content +"/youtube:v3/SearchResultSnippet/publishedAt": published_at +"/youtube:v3/SearchResultSnippet/thumbnails": thumbnails +"/youtube:v3/SearchResultSnippet/title": title +"/youtube:v3/Sponsor": sponsor +"/youtube:v3/Sponsor/etag": etag +"/youtube:v3/Sponsor/id": id +"/youtube:v3/Sponsor/kind": kind +"/youtube:v3/Sponsor/snippet": snippet +"/youtube:v3/SponsorListResponse": sponsor_list_response +"/youtube:v3/SponsorListResponse/etag": etag +"/youtube:v3/SponsorListResponse/eventId": event_id +"/youtube:v3/SponsorListResponse/items": items +"/youtube:v3/SponsorListResponse/items/item": item +"/youtube:v3/SponsorListResponse/kind": kind +"/youtube:v3/SponsorListResponse/nextPageToken": next_page_token +"/youtube:v3/SponsorListResponse/pageInfo": page_info +"/youtube:v3/SponsorListResponse/tokenPagination": token_pagination +"/youtube:v3/SponsorListResponse/visitorId": visitor_id +"/youtube:v3/SponsorSnippet": sponsor_snippet +"/youtube:v3/SponsorSnippet/channelId": channel_id +"/youtube:v3/SponsorSnippet/sponsorDetails": sponsor_details +"/youtube:v3/SponsorSnippet/sponsorSince": sponsor_since +"/youtube:v3/Subscription": subscription +"/youtube:v3/Subscription/contentDetails": content_details +"/youtube:v3/Subscription/etag": etag +"/youtube:v3/Subscription/id": id +"/youtube:v3/Subscription/kind": kind +"/youtube:v3/Subscription/snippet": snippet +"/youtube:v3/Subscription/subscriberSnippet": subscriber_snippet +"/youtube:v3/SubscriptionContentDetails": subscription_content_details +"/youtube:v3/SubscriptionContentDetails/activityType": activity_type +"/youtube:v3/SubscriptionContentDetails/newItemCount": new_item_count +"/youtube:v3/SubscriptionContentDetails/totalItemCount": total_item_count +"/youtube:v3/SubscriptionListResponse/etag": etag +"/youtube:v3/SubscriptionListResponse/eventId": event_id +"/youtube:v3/SubscriptionListResponse/items": items +"/youtube:v3/SubscriptionListResponse/items/item": item +"/youtube:v3/SubscriptionListResponse/kind": kind +"/youtube:v3/SubscriptionListResponse/nextPageToken": next_page_token +"/youtube:v3/SubscriptionListResponse/pageInfo": page_info +"/youtube:v3/SubscriptionListResponse/prevPageToken": prev_page_token +"/youtube:v3/SubscriptionListResponse/tokenPagination": token_pagination +"/youtube:v3/SubscriptionListResponse/visitorId": visitor_id +"/youtube:v3/SubscriptionSnippet": subscription_snippet +"/youtube:v3/SubscriptionSnippet/channelId": channel_id +"/youtube:v3/SubscriptionSnippet/channelTitle": channel_title +"/youtube:v3/SubscriptionSnippet/description": description +"/youtube:v3/SubscriptionSnippet/publishedAt": published_at +"/youtube:v3/SubscriptionSnippet/resourceId": resource_id +"/youtube:v3/SubscriptionSnippet/thumbnails": thumbnails +"/youtube:v3/SubscriptionSnippet/title": title +"/youtube:v3/SubscriptionSubscriberSnippet": subscription_subscriber_snippet +"/youtube:v3/SubscriptionSubscriberSnippet/channelId": channel_id +"/youtube:v3/SubscriptionSubscriberSnippet/description": description +"/youtube:v3/SubscriptionSubscriberSnippet/thumbnails": thumbnails +"/youtube:v3/SubscriptionSubscriberSnippet/title": title +"/youtube:v3/Thumbnail": thumbnail +"/youtube:v3/Thumbnail/height": height +"/youtube:v3/Thumbnail/url": url +"/youtube:v3/Thumbnail/width": width +"/youtube:v3/ThumbnailDetails": thumbnail_details +"/youtube:v3/ThumbnailDetails/default": default +"/youtube:v3/ThumbnailDetails/high": high +"/youtube:v3/ThumbnailDetails/maxres": maxres +"/youtube:v3/ThumbnailDetails/medium": medium +"/youtube:v3/ThumbnailDetails/standard": standard +"/youtube:v3/ThumbnailSetResponse/etag": etag +"/youtube:v3/ThumbnailSetResponse/eventId": event_id +"/youtube:v3/ThumbnailSetResponse/items": items +"/youtube:v3/ThumbnailSetResponse/items/item": item +"/youtube:v3/ThumbnailSetResponse/kind": kind +"/youtube:v3/ThumbnailSetResponse/visitorId": visitor_id +"/youtube:v3/TokenPagination": token_pagination +"/youtube:v3/Video": video +"/youtube:v3/Video/ageGating": age_gating +"/youtube:v3/Video/contentDetails": content_details +"/youtube:v3/Video/etag": etag +"/youtube:v3/Video/fileDetails": file_details +"/youtube:v3/Video/id": id +"/youtube:v3/Video/kind": kind +"/youtube:v3/Video/liveStreamingDetails": live_streaming_details +"/youtube:v3/Video/localizations": localizations +"/youtube:v3/Video/localizations/localization": localization +"/youtube:v3/Video/monetizationDetails": monetization_details +"/youtube:v3/Video/player": player +"/youtube:v3/Video/processingDetails": processing_details +"/youtube:v3/Video/projectDetails": project_details +"/youtube:v3/Video/recordingDetails": recording_details +"/youtube:v3/Video/snippet": snippet +"/youtube:v3/Video/statistics": statistics +"/youtube:v3/Video/status": status +"/youtube:v3/Video/suggestions": suggestions +"/youtube:v3/Video/topicDetails": topic_details +"/youtube:v3/VideoAbuseReport": video_abuse_report +"/youtube:v3/VideoAbuseReport/comments": comments +"/youtube:v3/VideoAbuseReport/language": language +"/youtube:v3/VideoAbuseReport/reasonId": reason_id +"/youtube:v3/VideoAbuseReport/secondaryReasonId": secondary_reason_id +"/youtube:v3/VideoAbuseReport/videoId": video_id +"/youtube:v3/VideoAbuseReportReason": video_abuse_report_reason +"/youtube:v3/VideoAbuseReportReason/etag": etag +"/youtube:v3/VideoAbuseReportReason/id": id +"/youtube:v3/VideoAbuseReportReason/kind": kind +"/youtube:v3/VideoAbuseReportReason/snippet": snippet +"/youtube:v3/VideoAbuseReportReasonListResponse/etag": etag +"/youtube:v3/VideoAbuseReportReasonListResponse/eventId": event_id +"/youtube:v3/VideoAbuseReportReasonListResponse/items": items +"/youtube:v3/VideoAbuseReportReasonListResponse/items/item": item +"/youtube:v3/VideoAbuseReportReasonListResponse/kind": kind +"/youtube:v3/VideoAbuseReportReasonListResponse/visitorId": visitor_id +"/youtube:v3/VideoAbuseReportReasonSnippet": video_abuse_report_reason_snippet +"/youtube:v3/VideoAbuseReportReasonSnippet/label": label +"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons": secondary_reasons +"/youtube:v3/VideoAbuseReportReasonSnippet/secondaryReasons/secondary_reason": secondary_reason +"/youtube:v3/VideoAbuseReportSecondaryReason": video_abuse_report_secondary_reason +"/youtube:v3/VideoAbuseReportSecondaryReason/id": id +"/youtube:v3/VideoAbuseReportSecondaryReason/label": label +"/youtube:v3/VideoAgeGating": video_age_gating +"/youtube:v3/VideoAgeGating/alcoholContent": alcohol_content +"/youtube:v3/VideoAgeGating/restricted": restricted +"/youtube:v3/VideoAgeGating/videoGameRating": video_game_rating +"/youtube:v3/VideoCategory": video_category +"/youtube:v3/VideoCategory/etag": etag +"/youtube:v3/VideoCategory/id": id +"/youtube:v3/VideoCategory/kind": kind +"/youtube:v3/VideoCategory/snippet": snippet +"/youtube:v3/VideoCategoryListResponse/etag": etag +"/youtube:v3/VideoCategoryListResponse/eventId": event_id +"/youtube:v3/VideoCategoryListResponse/items": items +"/youtube:v3/VideoCategoryListResponse/items/item": item +"/youtube:v3/VideoCategoryListResponse/kind": kind +"/youtube:v3/VideoCategoryListResponse/nextPageToken": next_page_token +"/youtube:v3/VideoCategoryListResponse/pageInfo": page_info +"/youtube:v3/VideoCategoryListResponse/prevPageToken": prev_page_token +"/youtube:v3/VideoCategoryListResponse/tokenPagination": token_pagination +"/youtube:v3/VideoCategoryListResponse/visitorId": visitor_id +"/youtube:v3/VideoCategorySnippet": video_category_snippet +"/youtube:v3/VideoCategorySnippet/assignable": assignable +"/youtube:v3/VideoCategorySnippet/channelId": channel_id +"/youtube:v3/VideoCategorySnippet/title": title +"/youtube:v3/VideoContentDetails": video_content_details +"/youtube:v3/VideoContentDetails/caption": caption +"/youtube:v3/VideoContentDetails/contentRating": content_rating +"/youtube:v3/VideoContentDetails/countryRestriction": country_restriction +"/youtube:v3/VideoContentDetails/definition": definition +"/youtube:v3/VideoContentDetails/dimension": dimension +"/youtube:v3/VideoContentDetails/duration": duration +"/youtube:v3/VideoContentDetails/hasCustomThumbnail": has_custom_thumbnail +"/youtube:v3/VideoContentDetails/licensedContent": licensed_content +"/youtube:v3/VideoContentDetails/projection": projection +"/youtube:v3/VideoContentDetails/regionRestriction": region_restriction +"/youtube:v3/VideoContentDetailsRegionRestriction": video_content_details_region_restriction +"/youtube:v3/VideoContentDetailsRegionRestriction/allowed": allowed +"/youtube:v3/VideoContentDetailsRegionRestriction/allowed/allowed": allowed +"/youtube:v3/VideoContentDetailsRegionRestriction/blocked": blocked +"/youtube:v3/VideoContentDetailsRegionRestriction/blocked/blocked": blocked +"/youtube:v3/VideoFileDetails": video_file_details +"/youtube:v3/VideoFileDetails/audioStreams": audio_streams +"/youtube:v3/VideoFileDetails/audioStreams/audio_stream": audio_stream +"/youtube:v3/VideoFileDetails/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetails/container": container +"/youtube:v3/VideoFileDetails/creationTime": creation_time +"/youtube:v3/VideoFileDetails/durationMs": duration_ms +"/youtube:v3/VideoFileDetails/fileName": file_name +"/youtube:v3/VideoFileDetails/fileSize": file_size +"/youtube:v3/VideoFileDetails/fileType": file_type +"/youtube:v3/VideoFileDetails/videoStreams": video_streams +"/youtube:v3/VideoFileDetails/videoStreams/video_stream": video_stream +"/youtube:v3/VideoFileDetailsAudioStream": video_file_details_audio_stream +"/youtube:v3/VideoFileDetailsAudioStream/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetailsAudioStream/channelCount": channel_count +"/youtube:v3/VideoFileDetailsAudioStream/codec": codec +"/youtube:v3/VideoFileDetailsAudioStream/vendor": vendor +"/youtube:v3/VideoFileDetailsVideoStream": video_file_details_video_stream +"/youtube:v3/VideoFileDetailsVideoStream/aspectRatio": aspect_ratio +"/youtube:v3/VideoFileDetailsVideoStream/bitrateBps": bitrate_bps +"/youtube:v3/VideoFileDetailsVideoStream/codec": codec +"/youtube:v3/VideoFileDetailsVideoStream/frameRateFps": frame_rate_fps +"/youtube:v3/VideoFileDetailsVideoStream/heightPixels": height_pixels +"/youtube:v3/VideoFileDetailsVideoStream/rotation": rotation +"/youtube:v3/VideoFileDetailsVideoStream/vendor": vendor +"/youtube:v3/VideoFileDetailsVideoStream/widthPixels": width_pixels +"/youtube:v3/VideoGetRatingResponse/etag": etag +"/youtube:v3/VideoGetRatingResponse/eventId": event_id +"/youtube:v3/VideoGetRatingResponse/items": items +"/youtube:v3/VideoGetRatingResponse/items/item": item +"/youtube:v3/VideoGetRatingResponse/kind": kind +"/youtube:v3/VideoGetRatingResponse/visitorId": visitor_id +"/youtube:v3/VideoListResponse/etag": etag +"/youtube:v3/VideoListResponse/eventId": event_id +"/youtube:v3/VideoListResponse/items": items +"/youtube:v3/VideoListResponse/items/item": item +"/youtube:v3/VideoListResponse/kind": kind +"/youtube:v3/VideoListResponse/nextPageToken": next_page_token +"/youtube:v3/VideoListResponse/pageInfo": page_info +"/youtube:v3/VideoListResponse/prevPageToken": prev_page_token +"/youtube:v3/VideoListResponse/tokenPagination": token_pagination +"/youtube:v3/VideoListResponse/visitorId": visitor_id +"/youtube:v3/VideoLiveStreamingDetails": video_live_streaming_details +"/youtube:v3/VideoLiveStreamingDetails/activeLiveChatId": active_live_chat_id +"/youtube:v3/VideoLiveStreamingDetails/actualEndTime": actual_end_time +"/youtube:v3/VideoLiveStreamingDetails/actualStartTime": actual_start_time +"/youtube:v3/VideoLiveStreamingDetails/concurrentViewers": concurrent_viewers +"/youtube:v3/VideoLiveStreamingDetails/scheduledEndTime": scheduled_end_time +"/youtube:v3/VideoLiveStreamingDetails/scheduledStartTime": scheduled_start_time +"/youtube:v3/VideoLocalization": video_localization +"/youtube:v3/VideoLocalization/description": description +"/youtube:v3/VideoLocalization/title": title +"/youtube:v3/VideoMonetizationDetails": video_monetization_details +"/youtube:v3/VideoMonetizationDetails/access": access +"/youtube:v3/VideoPlayer": video_player +"/youtube:v3/VideoPlayer/embedHeight": embed_height +"/youtube:v3/VideoPlayer/embedHtml": embed_html +"/youtube:v3/VideoPlayer/embedWidth": embed_width +"/youtube:v3/VideoProcessingDetails": video_processing_details +"/youtube:v3/VideoProcessingDetails/editorSuggestionsAvailability": editor_suggestions_availability +"/youtube:v3/VideoProcessingDetails/fileDetailsAvailability": file_details_availability +"/youtube:v3/VideoProcessingDetails/processingFailureReason": processing_failure_reason +"/youtube:v3/VideoProcessingDetails/processingIssuesAvailability": processing_issues_availability +"/youtube:v3/VideoProcessingDetails/processingProgress": processing_progress +"/youtube:v3/VideoProcessingDetails/processingStatus": processing_status +"/youtube:v3/VideoProcessingDetails/tagSuggestionsAvailability": tag_suggestions_availability +"/youtube:v3/VideoProcessingDetails/thumbnailsAvailability": thumbnails_availability +"/youtube:v3/VideoProcessingDetailsProcessingProgress": video_processing_details_processing_progress +"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsProcessed": parts_processed +"/youtube:v3/VideoProcessingDetailsProcessingProgress/partsTotal": parts_total +"/youtube:v3/VideoProcessingDetailsProcessingProgress/timeLeftMs": time_left_ms +"/youtube:v3/VideoProjectDetails": video_project_details +"/youtube:v3/VideoProjectDetails/tags": tags +"/youtube:v3/VideoProjectDetails/tags/tag": tag +"/youtube:v3/VideoRating": video_rating +"/youtube:v3/VideoRating/rating": rating +"/youtube:v3/VideoRating/videoId": video_id +"/youtube:v3/VideoRecordingDetails": video_recording_details +"/youtube:v3/VideoRecordingDetails/location": location +"/youtube:v3/VideoRecordingDetails/locationDescription": location_description +"/youtube:v3/VideoRecordingDetails/recordingDate": recording_date +"/youtube:v3/VideoSnippet": video_snippet +"/youtube:v3/VideoSnippet/categoryId": category_id +"/youtube:v3/VideoSnippet/channelId": channel_id +"/youtube:v3/VideoSnippet/channelTitle": channel_title +"/youtube:v3/VideoSnippet/defaultAudioLanguage": default_audio_language +"/youtube:v3/VideoSnippet/defaultLanguage": default_language +"/youtube:v3/VideoSnippet/description": description +"/youtube:v3/VideoSnippet/liveBroadcastContent": live_broadcast_content +"/youtube:v3/VideoSnippet/localized": localized +"/youtube:v3/VideoSnippet/publishedAt": published_at +"/youtube:v3/VideoSnippet/tags": tags +"/youtube:v3/VideoSnippet/tags/tag": tag +"/youtube:v3/VideoSnippet/thumbnails": thumbnails +"/youtube:v3/VideoSnippet/title": title +"/youtube:v3/VideoStatistics": video_statistics +"/youtube:v3/VideoStatistics/commentCount": comment_count +"/youtube:v3/VideoStatistics/dislikeCount": dislike_count +"/youtube:v3/VideoStatistics/favoriteCount": favorite_count +"/youtube:v3/VideoStatistics/likeCount": like_count +"/youtube:v3/VideoStatistics/viewCount": view_count +"/youtube:v3/VideoStatus": video_status +"/youtube:v3/VideoStatus/embeddable": embeddable +"/youtube:v3/VideoStatus/failureReason": failure_reason +"/youtube:v3/VideoStatus/license": license +"/youtube:v3/VideoStatus/privacyStatus": privacy_status +"/youtube:v3/VideoStatus/publicStatsViewable": public_stats_viewable +"/youtube:v3/VideoStatus/publishAt": publish_at +"/youtube:v3/VideoStatus/rejectionReason": rejection_reason +"/youtube:v3/VideoStatus/uploadStatus": upload_status +"/youtube:v3/VideoSuggestions": video_suggestions +"/youtube:v3/VideoSuggestions/editorSuggestions": editor_suggestions +"/youtube:v3/VideoSuggestions/editorSuggestions/editor_suggestion": editor_suggestion +"/youtube:v3/VideoSuggestions/processingErrors": processing_errors +"/youtube:v3/VideoSuggestions/processingErrors/processing_error": processing_error +"/youtube:v3/VideoSuggestions/processingHints": processing_hints +"/youtube:v3/VideoSuggestions/processingHints/processing_hint": processing_hint +"/youtube:v3/VideoSuggestions/processingWarnings": processing_warnings +"/youtube:v3/VideoSuggestions/processingWarnings/processing_warning": processing_warning +"/youtube:v3/VideoSuggestions/tagSuggestions": tag_suggestions +"/youtube:v3/VideoSuggestions/tagSuggestions/tag_suggestion": tag_suggestion +"/youtube:v3/VideoSuggestionsTagSuggestion": video_suggestions_tag_suggestion +"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts": category_restricts +"/youtube:v3/VideoSuggestionsTagSuggestion/categoryRestricts/category_restrict": category_restrict +"/youtube:v3/VideoSuggestionsTagSuggestion/tag": tag +"/youtube:v3/VideoTopicDetails": video_topic_details +"/youtube:v3/VideoTopicDetails/relevantTopicIds": relevant_topic_ids +"/youtube:v3/VideoTopicDetails/relevantTopicIds/relevant_topic_id": relevant_topic_id +"/youtube:v3/VideoTopicDetails/topicIds": topic_ids +"/youtube:v3/VideoTopicDetails/topicIds/topic_id": topic_id +"/youtube:v3/WatchSettings": watch_settings +"/youtube:v3/WatchSettings/backgroundColor": background_color +"/youtube:v3/WatchSettings/featuredPlaylistId": featured_playlist_id +"/youtube:v3/WatchSettings/textColor": text_color +"/youtubeAnalytics:v1/fields": fields +"/youtubeAnalytics:v1/key": key +"/youtubeAnalytics:v1/quotaUser": quota_user +"/youtubeAnalytics:v1/userIp": user_ip +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete": delete_group_item +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete/id": id +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.insert": insert_group_item +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.list": list_group_items +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.list/groupId": group_id +"/youtubeAnalytics:v1/youtubeAnalytics.groupItems.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groups.delete": delete_group +"/youtubeAnalytics:v1/youtubeAnalytics.groups.delete/id": id +"/youtubeAnalytics:v1/youtubeAnalytics.groups.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groups.insert": insert_group +"/youtubeAnalytics:v1/youtubeAnalytics.groups.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groups.list": list_groups +"/youtubeAnalytics:v1/youtubeAnalytics.groups.list/id": id +"/youtubeAnalytics:v1/youtubeAnalytics.groups.list/mine": mine +"/youtubeAnalytics:v1/youtubeAnalytics.groups.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.groups.list/pageToken": page_token +"/youtubeAnalytics:v1/youtubeAnalytics.groups.update": update_group +"/youtubeAnalytics:v1/youtubeAnalytics.groups.update/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query": query_report +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/currency": currency +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/dimensions": dimensions +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/end-date": end_date +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/filters": filters +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/ids": ids +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/max-results": max_results +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/metrics": metrics +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/sort": sort +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-date": start_date +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-index": start_index +"/youtubeAnalytics:v1/Group": group +"/youtubeAnalytics:v1/Group/contentDetails": content_details +"/youtubeAnalytics:v1/Group/contentDetails/itemCount": item_count +"/youtubeAnalytics:v1/Group/contentDetails/itemType": item_type +"/youtubeAnalytics:v1/Group/etag": etag +"/youtubeAnalytics:v1/Group/id": id +"/youtubeAnalytics:v1/Group/kind": kind +"/youtubeAnalytics:v1/Group/snippet": snippet +"/youtubeAnalytics:v1/Group/snippet/publishedAt": published_at +"/youtubeAnalytics:v1/Group/snippet/title": title +"/youtubeAnalytics:v1/GroupItem": group_item +"/youtubeAnalytics:v1/GroupItem/etag": etag +"/youtubeAnalytics:v1/GroupItem/groupId": group_id +"/youtubeAnalytics:v1/GroupItem/id": id +"/youtubeAnalytics:v1/GroupItem/kind": kind +"/youtubeAnalytics:v1/GroupItem/resource": resource +"/youtubeAnalytics:v1/GroupItem/resource/id": id +"/youtubeAnalytics:v1/GroupItem/resource/kind": kind +"/youtubeAnalytics:v1/GroupItemListResponse/etag": etag +"/youtubeAnalytics:v1/GroupItemListResponse/items": items +"/youtubeAnalytics:v1/GroupItemListResponse/items/item": item +"/youtubeAnalytics:v1/GroupItemListResponse/kind": kind +"/youtubeAnalytics:v1/GroupListResponse/etag": etag +"/youtubeAnalytics:v1/GroupListResponse/items": items +"/youtubeAnalytics:v1/GroupListResponse/items/item": item +"/youtubeAnalytics:v1/GroupListResponse/kind": kind +"/youtubeAnalytics:v1/GroupListResponse/nextPageToken": next_page_token +"/youtubeAnalytics:v1/ResultTable": result_table +"/youtubeAnalytics:v1/ResultTable/columnHeaders": column_headers +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header": column_header +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/columnType": column_type +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/dataType": data_type +"/youtubeAnalytics:v1/ResultTable/columnHeaders/column_header/name": name +"/youtubeAnalytics:v1/ResultTable/kind": kind +"/youtubeAnalytics:v1/ResultTable/rows": rows +"/youtubeAnalytics:v1/ResultTable/rows/row": row +"/youtubeAnalytics:v1/ResultTable/rows/row/row": row +"/youtubereporting:v1/key": key +"/youtubereporting:v1/quotaUser": quota_user +"/youtubereporting:v1/fields": fields +"/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed +"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token +"/youtubereporting:v1/youtubereporting.media.download": download_medium +"/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name +"/youtubereporting:v1/youtubereporting.jobs.create": create_job +"/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.get": get_job +"/youtubereporting:v1/youtubereporting.jobs.get/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.list": list_jobs +"/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.jobs.list/includeSystemManaged": include_system_managed +"/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token +"/youtubereporting:v1/youtubereporting.jobs.delete": delete_job +"/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.get": get_job_report +"/youtubereporting:v1/youtubereporting.jobs.reports.get/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id +"/youtubereporting:v1/youtubereporting.jobs.reports.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list": list_job_reports +"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeAtOrAfter": start_time_at_or_after +"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before +"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.jobs.reports.list/createdAfter": created_after +"/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageToken": page_token +"/youtubereporting:v1/Report": report +"/youtubereporting:v1/Report/id": id +"/youtubereporting:v1/Report/downloadUrl": download_url +"/youtubereporting:v1/Report/endTime": end_time +"/youtubereporting:v1/Report/createTime": create_time +"/youtubereporting:v1/Report/startTime": start_time +"/youtubereporting:v1/Report/jobExpireTime": job_expire_time +"/youtubereporting:v1/Report/jobId": job_id +"/youtubereporting:v1/ListJobsResponse": list_jobs_response +"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListJobsResponse/jobs": jobs +"/youtubereporting:v1/ListJobsResponse/jobs/job": job +"/youtubereporting:v1/Media": media +"/youtubereporting:v1/Media/resourceName": resource_name +"/youtubereporting:v1/Job": job +"/youtubereporting:v1/Job/id": id +"/youtubereporting:v1/Job/createTime": create_time +"/youtubereporting:v1/Job/systemManaged": system_managed +"/youtubereporting:v1/Job/expireTime": expire_time +"/youtubereporting:v1/Job/name": name +"/youtubereporting:v1/Job/reportTypeId": report_type_id +"/youtubereporting:v1/Empty": empty +"/youtubereporting:v1/ReportType": report_type +"/youtubereporting:v1/ReportType/systemManaged": system_managed +"/youtubereporting:v1/ReportType/deprecateTime": deprecate_time +"/youtubereporting:v1/ReportType/id": id +"/youtubereporting:v1/ReportType/name": name +"/youtubereporting:v1/ListReportsResponse": list_reports_response +"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListReportsResponse/reports": reports +"/youtubereporting:v1/ListReportsResponse/reports/report": report +"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response +"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types +"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type +"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token +"/compute:beta/compute.instanceGroupManagers.patch": patch_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/project": project +"/compute:beta/compute.instanceGroupManagers.patch/zone": zone +"/compute:beta/compute.instanceGroupManagers.update": update_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/project": project +"/compute:beta/compute.instanceGroupManagers.update/zone": zone +"/compute:beta/BackendService/cdnPolicy": cdn_policy +"/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy +"/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy +"/compute:beta/CacheKeyPolicy": cache_key_policy +"/compute:beta/CacheKeyPolicy/includeHost": include_host +"/compute:beta/CacheKeyPolicy/includeProtocol": include_protocol +"/compute:beta/CacheKeyPolicy/includeQueryString": include_query_string +"/compute:beta/CacheKeyPolicy/queryStringBlacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringBlacklist/query_string_blacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist": query_string_whitelist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist/query_string_whitelist": query_string_whitelist +"/compute:beta/NetworkInterface/kind": kind +"/androidenterprise:v1/NewDeviceEvent": new_device_event +"/androidenterprise:v1/NewDeviceEvent/deviceId": device_id +"/androidenterprise:v1/NewDeviceEvent/managementType": management_type +"/androidenterprise:v1/NewDeviceEvent/userId": user_id +"/androidenterprise:v1/Notification/newDeviceEvent": new_device_event +"/compute:v1/compute.instances.setServiceAccount": set_instance_service_account +"/compute:v1/compute.instances.setServiceAccount/instance": instance +"/compute:v1/compute.instances.setServiceAccount/project": project +"/compute:v1/compute.instances.setServiceAccount/zone": zone +"/compute:v1/InstancesSetServiceAccountRequest": instances_set_service_account_request +"/compute:v1/InstancesSetServiceAccountRequest/email": email +"/compute:v1/InstancesSetServiceAccountRequest/scopes": scopes +"/compute:v1/InstancesSetServiceAccountRequest/scopes/scope": scope +"/compute:v1/NetworkInterface/kind": kind +"/dataflow:v1b3/CounterUpdate/distribution": distribution +"/dataflow:v1b3/DistributionUpdate": distribution_update +"/dataflow:v1b3/DistributionUpdate/min": min +"/dataflow:v1b3/DistributionUpdate/max": max +"/dataflow:v1b3/DistributionUpdate/count": count +"/dataflow:v1b3/DistributionUpdate/sum": sum +"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares +"/kgsearch:v1/SearchResponse/@context": _context +"/kgsearch:v1/SearchResponse/@type": _type +"/sheets:v4/DeleteRangeRequest": delete_range_request +"/sheets:v4/DeleteRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/DeleteRangeRequest/range": range +"/sheets:v4/InsertRangeRequest": insert_range_request +"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/InsertRangeRequest/range": range +"/sheets:v4/Request/insertRange": insert_range +"/sheets:v4/Request/deleteRange": delete_range +"/dns:v2beta1/fields": fields +"/dns:v2beta1/key": key +"/dns:v2beta1/quotaUser": quota_user +"/dns:v2beta1/userIp": user_ip +"/dns:v2beta1/dns.changes.create": create_change +"/dns:v2beta1/dns.changes.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.create/managedZone": managed_zone +"/dns:v2beta1/dns.changes.create/project": project +"/dns:v2beta1/dns.changes.get": get_change +"/dns:v2beta1/dns.changes.get/changeId": change_id +"/dns:v2beta1/dns.changes.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.get/managedZone": managed_zone +"/dns:v2beta1/dns.changes.get/project": project +"/dns:v2beta1/dns.changes.list": list_changes +"/dns:v2beta1/dns.changes.list/managedZone": managed_zone +"/dns:v2beta1/dns.changes.list/maxResults": max_results +"/dns:v2beta1/dns.changes.list/pageToken": page_token +"/dns:v2beta1/dns.changes.list/project": project +"/dns:v2beta1/dns.changes.list/sortBy": sort_by +"/dns:v2beta1/dns.changes.list/sortOrder": sort_order +"/dns:v2beta1/dns.dnsKeys.get": get_dns_key +"/dns:v2beta1/dns.dnsKeys.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.dnsKeys.get/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.get/dnsKeyId": dns_key_id +"/dns:v2beta1/dns.dnsKeys.get/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.get/project": project +"/dns:v2beta1/dns.dnsKeys.list": list_dns_keys +"/dns:v2beta1/dns.dnsKeys.list/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.list/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.list/maxResults": max_results +"/dns:v2beta1/dns.dnsKeys.list/pageToken": page_token +"/dns:v2beta1/dns.dnsKeys.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.get": get_managed_zone_operation +"/dns:v2beta1/dns.managedZoneOperations.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZoneOperations.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.get/operation": operation +"/dns:v2beta1/dns.managedZoneOperations.get/project": project +"/dns:v2beta1/dns.managedZoneOperations.list": list_managed_zone_operations +"/dns:v2beta1/dns.managedZoneOperations.list/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.list/maxResults": max_results +"/dns:v2beta1/dns.managedZoneOperations.list/pageToken": page_token +"/dns:v2beta1/dns.managedZoneOperations.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.list/sortBy": sort_by +"/dns:v2beta1/dns.managedZones.create": create_managed_zone +"/dns:v2beta1/dns.managedZones.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.create/project": project +"/dns:v2beta1/dns.managedZones.delete": delete_managed_zone +"/dns:v2beta1/dns.managedZones.delete/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.delete/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.delete/project": project +"/dns:v2beta1/dns.managedZones.get": get_managed_zone +"/dns:v2beta1/dns.managedZones.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.get/project": project +"/dns:v2beta1/dns.managedZones.list": list_managed_zones +"/dns:v2beta1/dns.managedZones.list/dnsName": dns_name +"/dns:v2beta1/dns.managedZones.list/maxResults": max_results +"/dns:v2beta1/dns.managedZones.list/pageToken": page_token +"/dns:v2beta1/dns.managedZones.list/project": project +"/dns:v2beta1/dns.managedZones.patch": patch_managed_zone +"/dns:v2beta1/dns.managedZones.patch/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.patch/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.patch/project": project +"/dns:v2beta1/dns.managedZones.update": update_managed_zone +"/dns:v2beta1/dns.managedZones.update/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.update/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.update/project": project +"/dns:v2beta1/dns.projects.get": get_project +"/dns:v2beta1/dns.projects.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.projects.get/project": project +"/dns:v2beta1/dns.resourceRecordSets.list": list_resource_record_sets +"/dns:v2beta1/dns.resourceRecordSets.list/managedZone": managed_zone +"/dns:v2beta1/dns.resourceRecordSets.list/maxResults": max_results +"/dns:v2beta1/dns.resourceRecordSets.list/name": name +"/dns:v2beta1/dns.resourceRecordSets.list/pageToken": page_token +"/dns:v2beta1/dns.resourceRecordSets.list/project": project +"/dns:v2beta1/dns.resourceRecordSets.list/type": type +"/dns:v2beta1/Change": change +"/dns:v2beta1/Change/additions": additions +"/dns:v2beta1/Change/additions/addition": addition +"/dns:v2beta1/Change/deletions": deletions +"/dns:v2beta1/Change/deletions/deletion": deletion +"/dns:v2beta1/Change/id": id +"/dns:v2beta1/Change/isServing": is_serving +"/dns:v2beta1/Change/kind": kind +"/dns:v2beta1/Change/startTime": start_time +"/dns:v2beta1/Change/status": status +"/dns:v2beta1/ChangesListResponse": changes_list_response +"/dns:v2beta1/ChangesListResponse/changes": changes +"/dns:v2beta1/ChangesListResponse/changes/change": change +"/dns:v2beta1/ChangesListResponse/header": header +"/dns:v2beta1/ChangesListResponse/kind": kind +"/dns:v2beta1/ChangesListResponse/nextPageToken": next_page_token +"/dns:v2beta1/DnsKey": dns_key +"/dns:v2beta1/DnsKey/algorithm": algorithm +"/dns:v2beta1/DnsKey/creationTime": creation_time +"/dns:v2beta1/DnsKey/description": description +"/dns:v2beta1/DnsKey/digests": digests +"/dns:v2beta1/DnsKey/digests/digest": digest +"/dns:v2beta1/DnsKey/id": id +"/dns:v2beta1/DnsKey/isActive": is_active +"/dns:v2beta1/DnsKey/keyLength": key_length +"/dns:v2beta1/DnsKey/keyTag": key_tag +"/dns:v2beta1/DnsKey/kind": kind +"/dns:v2beta1/DnsKey/publicKey": public_key +"/dns:v2beta1/DnsKey/type": type +"/dns:v2beta1/DnsKeyDigest": dns_key_digest +"/dns:v2beta1/DnsKeyDigest/digest": digest +"/dns:v2beta1/DnsKeyDigest/type": type +"/dns:v2beta1/DnsKeySpec": dns_key_spec +"/dns:v2beta1/DnsKeySpec/algorithm": algorithm +"/dns:v2beta1/DnsKeySpec/keyLength": key_length +"/dns:v2beta1/DnsKeySpec/keyType": key_type +"/dns:v2beta1/DnsKeySpec/kind": kind +"/dns:v2beta1/DnsKeysListResponse": dns_keys_list_response +"/dns:v2beta1/DnsKeysListResponse/dnsKeys": dns_keys +"/dns:v2beta1/DnsKeysListResponse/dnsKeys/dns_key": dns_key +"/dns:v2beta1/DnsKeysListResponse/header": header +"/dns:v2beta1/DnsKeysListResponse/kind": kind +"/dns:v2beta1/DnsKeysListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ManagedZone": managed_zone +"/dns:v2beta1/ManagedZone/creationTime": creation_time +"/dns:v2beta1/ManagedZone/description": description +"/dns:v2beta1/ManagedZone/dnsName": dns_name +"/dns:v2beta1/ManagedZone/dnssecConfig": dnssec_config +"/dns:v2beta1/ManagedZone/id": id +"/dns:v2beta1/ManagedZone/kind": kind +"/dns:v2beta1/ManagedZone/name": name +"/dns:v2beta1/ManagedZone/nameServerSet": name_server_set +"/dns:v2beta1/ManagedZone/nameServers": name_servers +"/dns:v2beta1/ManagedZone/nameServers/name_server": name_server +"/dns:v2beta1/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config +"/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs +"/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec": default_key_spec +"/dns:v2beta1/ManagedZoneDnsSecConfig/kind": kind +"/dns:v2beta1/ManagedZoneDnsSecConfig/nonExistence": non_existence +"/dns:v2beta1/ManagedZoneDnsSecConfig/state": state +"/dns:v2beta1/ManagedZoneOperationsListResponse": managed_zone_operations_list_response +"/dns:v2beta1/ManagedZoneOperationsListResponse/header": header +"/dns:v2beta1/ManagedZoneOperationsListResponse/kind": kind +"/dns:v2beta1/ManagedZoneOperationsListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ManagedZoneOperationsListResponse/operations": operations +"/dns:v2beta1/ManagedZoneOperationsListResponse/operations/operation": operation +"/dns:v2beta1/ManagedZonesDeleteResponse": managed_zones_delete_response +"/dns:v2beta1/ManagedZonesDeleteResponse/header": header +"/dns:v2beta1/ManagedZonesListResponse": managed_zones_list_response +"/dns:v2beta1/ManagedZonesListResponse/header": header +"/dns:v2beta1/ManagedZonesListResponse/kind": kind +"/dns:v2beta1/ManagedZonesListResponse/managedZones": managed_zones +"/dns:v2beta1/ManagedZonesListResponse/managedZones/managed_zone": managed_zone +"/dns:v2beta1/ManagedZonesListResponse/nextPageToken": next_page_token +"/dns:v2beta1/Operation": operation +"/dns:v2beta1/Operation/dnsKeyContext": dns_key_context +"/dns:v2beta1/Operation/id": id +"/dns:v2beta1/Operation/kind": kind +"/dns:v2beta1/Operation/startTime": start_time +"/dns:v2beta1/Operation/status": status +"/dns:v2beta1/Operation/type": type +"/dns:v2beta1/Operation/user": user +"/dns:v2beta1/Operation/zoneContext": zone_context +"/dns:v2beta1/OperationDnsKeyContext": operation_dns_key_context +"/dns:v2beta1/OperationDnsKeyContext/newValue": new_value +"/dns:v2beta1/OperationDnsKeyContext/oldValue": old_value +"/dns:v2beta1/OperationManagedZoneContext": operation_managed_zone_context +"/dns:v2beta1/OperationManagedZoneContext/newValue": new_value +"/dns:v2beta1/OperationManagedZoneContext/oldValue": old_value +"/dns:v2beta1/Project": project +"/dns:v2beta1/Project/id": id +"/dns:v2beta1/Project/kind": kind +"/dns:v2beta1/Project/number": number +"/dns:v2beta1/Project/quota": quota +"/dns:v2beta1/Quota": quota +"/dns:v2beta1/Quota/dnsKeysPerManagedZone": dns_keys_per_managed_zone +"/dns:v2beta1/Quota/kind": kind +"/dns:v2beta1/Quota/managedZones": managed_zones +"/dns:v2beta1/Quota/resourceRecordsPerRrset": resource_records_per_rrset +"/dns:v2beta1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change +"/dns:v2beta1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change +"/dns:v2beta1/Quota/rrsetsPerManagedZone": rrsets_per_managed_zone +"/dns:v2beta1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change +"/dns:v2beta1/Quota/whitelistedKeySpecs": whitelisted_key_specs +"/dns:v2beta1/Quota/whitelistedKeySpecs/whitelisted_key_spec": whitelisted_key_spec +"/dns:v2beta1/ResourceRecordSet": resource_record_set +"/dns:v2beta1/ResourceRecordSet/kind": kind +"/dns:v2beta1/ResourceRecordSet/name": name +"/dns:v2beta1/ResourceRecordSet/rrdatas": rrdatas +"/dns:v2beta1/ResourceRecordSet/rrdatas/rrdata": rrdata +"/dns:v2beta1/ResourceRecordSet/signatureRrdatas": signature_rrdatas +"/dns:v2beta1/ResourceRecordSet/signatureRrdatas/signature_rrdata": signature_rrdata +"/dns:v2beta1/ResourceRecordSet/ttl": ttl +"/dns:v2beta1/ResourceRecordSet/type": type +"/dns:v2beta1/ResourceRecordSetsListResponse": resource_record_sets_list_response +"/dns:v2beta1/ResourceRecordSetsListResponse/header": header +"/dns:v2beta1/ResourceRecordSetsListResponse/kind": kind +"/dns:v2beta1/ResourceRecordSetsListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ResourceRecordSetsListResponse/rrsets": rrsets +"/dns:v2beta1/ResourceRecordSetsListResponse/rrsets/rrset": rrset +"/dns:v2beta1/ResponseHeader": response_header +"/dns:v2beta1/ResponseHeader/operationId": operation_id +"/dfareporting:v2.7/fields": fields +"/dfareporting:v2.7/key": key +"/dfareporting:v2.7/quotaUser": quota_user +"/dfareporting:v2.7/userIp": user_ip +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get": get_account_permission_group +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list": list_account_permission_groups +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.get": get_account_permission +"/dfareporting:v2.7/dfareporting.accountPermissions.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.list": list_account_permissions +"/dfareporting:v2.7/dfareporting.accountPermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get": get_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert": insert_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list": list_account_user_profiles +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/active": active +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/ids": ids +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/userRoleId": user_role_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch": patch_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update": update_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.get": get_account +"/dfareporting:v2.7/dfareporting.accounts.get/id": id +"/dfareporting:v2.7/dfareporting.accounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list": list_accounts +"/dfareporting:v2.7/dfareporting.accounts.list/active": active +"/dfareporting:v2.7/dfareporting.accounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.accounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accounts.patch": patch_account +"/dfareporting:v2.7/dfareporting.accounts.patch/id": id +"/dfareporting:v2.7/dfareporting.accounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.update": update_account +"/dfareporting:v2.7/dfareporting.accounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.get": get_ad +"/dfareporting:v2.7/dfareporting.ads.get/id": id +"/dfareporting:v2.7/dfareporting.ads.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.insert": insert_ad +"/dfareporting:v2.7/dfareporting.ads.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list": list_ads +"/dfareporting:v2.7/dfareporting.ads.list/active": active +"/dfareporting:v2.7/dfareporting.ads.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.ads.list/archived": archived +"/dfareporting:v2.7/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids +"/dfareporting:v2.7/dfareporting.ads.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.ads.list/compatibility": compatibility +"/dfareporting:v2.7/dfareporting.ads.list/creativeIds": creative_ids +"/dfareporting:v2.7/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids +"/dfareporting:v2.7/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.7/dfareporting.ads.list/ids": ids +"/dfareporting:v2.7/dfareporting.ads.list/landingPageIds": landing_page_ids +"/dfareporting:v2.7/dfareporting.ads.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.ads.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.ads.list/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.ads.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list/remarketingListIds": remarketing_list_ids +"/dfareporting:v2.7/dfareporting.ads.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.ads.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.ads.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.ads.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.ads.list/sslCompliant": ssl_compliant +"/dfareporting:v2.7/dfareporting.ads.list/sslRequired": ssl_required +"/dfareporting:v2.7/dfareporting.ads.list/type": type +"/dfareporting:v2.7/dfareporting.ads.patch": patch_ad +"/dfareporting:v2.7/dfareporting.ads.patch/id": id +"/dfareporting:v2.7/dfareporting.ads.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.update": update_ad +"/dfareporting:v2.7/dfareporting.ads.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete": delete_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get": get_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert": insert_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list": list_advertiser_groups +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch": patch_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.update": update_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.get": get_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.get/id": id +"/dfareporting:v2.7/dfareporting.advertisers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.insert": insert_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list": list_advertisers +"/dfareporting:v2.7/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only +"/dfareporting:v2.7/dfareporting.advertisers.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertisers.list/onlyParent": only_parent +"/dfareporting:v2.7/dfareporting.advertisers.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertisers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertisers.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertisers.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertisers.list/status": status +"/dfareporting:v2.7/dfareporting.advertisers.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.advertisers.patch": patch_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.patch/id": id +"/dfareporting:v2.7/dfareporting.advertisers.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.update": update_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.browsers.list": list_browsers +"/dfareporting:v2.7/dfareporting.browsers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.get": get_campaign +"/dfareporting:v2.7/dfareporting.campaigns.get/id": id +"/dfareporting:v2.7/dfareporting.campaigns.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.insert": insert_campaign +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url +"/dfareporting:v2.7/dfareporting.campaigns.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list": list_campaigns +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/archived": archived +"/dfareporting:v2.7/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity +"/dfareporting:v2.7/dfareporting.campaigns.list/excludedIds": excluded_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/ids": ids +"/dfareporting:v2.7/dfareporting.campaigns.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.campaigns.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaigns.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.campaigns.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.campaigns.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.campaigns.patch": patch_campaign +"/dfareporting:v2.7/dfareporting.campaigns.patch/id": id +"/dfareporting:v2.7/dfareporting.campaigns.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.update": update_campaign +"/dfareporting:v2.7/dfareporting.campaigns.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.get": get_change_log +"/dfareporting:v2.7/dfareporting.changeLogs.get/id": id +"/dfareporting:v2.7/dfareporting.changeLogs.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list": list_change_logs +"/dfareporting:v2.7/dfareporting.changeLogs.list/action": action +"/dfareporting:v2.7/dfareporting.changeLogs.list/ids": ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxChangeTime": max_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.changeLogs.list/minChangeTime": min_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectIds": object_ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.changeLogs.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.changeLogs.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.changeLogs.list/userProfileIds": user_profile_ids +"/dfareporting:v2.7/dfareporting.cities.list": list_cities +"/dfareporting:v2.7/dfareporting.cities.list/countryDartIds": country_dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/dartIds": dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/namePrefix": name_prefix +"/dfareporting:v2.7/dfareporting.cities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.cities.list/regionDartIds": region_dart_ids +"/dfareporting:v2.7/dfareporting.connectionTypes.get": get_connection_type +"/dfareporting:v2.7/dfareporting.connectionTypes.get/id": id +"/dfareporting:v2.7/dfareporting.connectionTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.connectionTypes.list": list_connection_types +"/dfareporting:v2.7/dfareporting.connectionTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.delete": delete_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.delete/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.get": get_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.get/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.insert": insert_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list": list_content_categories +"/dfareporting:v2.7/dfareporting.contentCategories.list/ids": ids +"/dfareporting:v2.7/dfareporting.contentCategories.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.contentCategories.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.contentCategories.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.contentCategories.patch": patch_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.patch/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.update": update_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.conversions.batchinsert": batchinsert_conversion +"/dfareporting:v2.7/dfareporting.conversions.batchinsert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.get": get_country +"/dfareporting:v2.7/dfareporting.countries.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.countries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.list": list_countries +"/dfareporting:v2.7/dfareporting.countries.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert": insert_creative_asset +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete": delete_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get": get_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert": insert_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list": list_creative_field_values +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch": patch_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update": update_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.delete": delete_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.get": get_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.insert": insert_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list": list_creative_fields +"/dfareporting:v2.7/dfareporting.creativeFields.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFields.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFields.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFields.patch": patch_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.update": update_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.get": get_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.get/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.insert": insert_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list": list_creative_groups +"/dfareporting:v2.7/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/groupNumber": group_number +"/dfareporting:v2.7/dfareporting.creativeGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeGroups.patch": patch_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.update": update_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.get": get_creative +"/dfareporting:v2.7/dfareporting.creatives.get/id": id +"/dfareporting:v2.7/dfareporting.creatives.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.insert": insert_creative +"/dfareporting:v2.7/dfareporting.creatives.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list": list_creatives +"/dfareporting:v2.7/dfareporting.creatives.list/active": active +"/dfareporting:v2.7/dfareporting.creatives.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creatives.list/archived": archived +"/dfareporting:v2.7/dfareporting.creatives.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.7/dfareporting.creatives.list/creativeFieldIds": creative_field_ids +"/dfareporting:v2.7/dfareporting.creatives.list/ids": ids +"/dfareporting:v2.7/dfareporting.creatives.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creatives.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creatives.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list/renderingIds": rendering_ids +"/dfareporting:v2.7/dfareporting.creatives.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creatives.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.creatives.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creatives.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creatives.list/studioCreativeId": studio_creative_id +"/dfareporting:v2.7/dfareporting.creatives.list/types": types +"/dfareporting:v2.7/dfareporting.creatives.patch": patch_creative +"/dfareporting:v2.7/dfareporting.creatives.patch/id": id +"/dfareporting:v2.7/dfareporting.creatives.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.update": update_creative +"/dfareporting:v2.7/dfareporting.creatives.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dimensionValues.query": query_dimension_value +"/dfareporting:v2.7/dfareporting.dimensionValues.query/maxResults": max_results +"/dfareporting:v2.7/dfareporting.dimensionValues.query/pageToken": page_token +"/dfareporting:v2.7/dfareporting.dimensionValues.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get": get_directory_site_contact +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/id": id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list": list_directory_site_contacts +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.directorySites.get": get_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.get/id": id +"/dfareporting:v2.7/dfareporting.directorySites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.insert": insert_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list": list_directory_sites +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/active": active +"/dfareporting:v2.7/dfareporting.directorySites.list/countryId": country_id +"/dfareporting:v2.7/dfareporting.directorySites.list/dfp_network_code": dfp_network_code +"/dfareporting:v2.7/dfareporting.directorySites.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySites.list/parentId": parent_id +"/dfareporting:v2.7/dfareporting.directorySites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/name": name +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/names": names +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.delete": delete_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.delete/id": id +"/dfareporting:v2.7/dfareporting.eventTags.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.get": get_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.get/id": id +"/dfareporting:v2.7/dfareporting.eventTags.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.insert": insert_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list": list_event_tags +"/dfareporting:v2.7/dfareporting.eventTags.list/adId": ad_id +"/dfareporting:v2.7/dfareporting.eventTags.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.eventTags.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.eventTags.list/definitionsOnly": definitions_only +"/dfareporting:v2.7/dfareporting.eventTags.list/enabled": enabled +"/dfareporting:v2.7/dfareporting.eventTags.list/eventTagTypes": event_tag_types +"/dfareporting:v2.7/dfareporting.eventTags.list/ids": ids +"/dfareporting:v2.7/dfareporting.eventTags.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.eventTags.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.eventTags.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.eventTags.patch": patch_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.patch/id": id +"/dfareporting:v2.7/dfareporting.eventTags.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.update": update_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.get": get_file +"/dfareporting:v2.7/dfareporting.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.files.list": list_files +"/dfareporting:v2.7/dfareporting.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.list/scope": scope +"/dfareporting:v2.7/dfareporting.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete": delete_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get": get_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert": insert_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list": list_floodlight_activities +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/tagString": tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch": patch_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.update": update_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/type": type +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get": get_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list": list_floodlight_configurations +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update": update_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get": get_inventory_item +"/dfareporting:v2.7/dfareporting.inventoryItems.get/id": id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list": list_inventory_items +"/dfareporting:v2.7/dfareporting.inventoryItems.list/ids": ids +"/dfareporting:v2.7/dfareporting.inventoryItems.list/inPlan": in_plan +"/dfareporting:v2.7/dfareporting.inventoryItems.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.inventoryItems.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.inventoryItems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.inventoryItems.list/type": type +"/dfareporting:v2.7/dfareporting.landingPages.delete": delete_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.delete/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.delete/id": id +"/dfareporting:v2.7/dfareporting.landingPages.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.get": get_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.get/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.get/id": id +"/dfareporting:v2.7/dfareporting.landingPages.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.insert": insert_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.list": list_landing_pages +"/dfareporting:v2.7/dfareporting.landingPages.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.patch": patch_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.patch/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.patch/id": id +"/dfareporting:v2.7/dfareporting.landingPages.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.update": update_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.update/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.languages.list": list_languages +"/dfareporting:v2.7/dfareporting.languages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.metros.list": list_metros +"/dfareporting:v2.7/dfareporting.metros.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get": get_mobile_carrier +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/id": id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.list": list_mobile_carriers +"/dfareporting:v2.7/dfareporting.mobileCarriers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get": get_operating_system_version +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/id": id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list": list_operating_system_versions +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get": get_operating_system +"/dfareporting:v2.7/dfareporting.operatingSystems.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.list": list_operating_systems +"/dfareporting:v2.7/dfareporting.operatingSystems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get": get_order_document +"/dfareporting:v2.7/dfareporting.orderDocuments.get/id": id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list": list_order_documents +"/dfareporting:v2.7/dfareporting.orderDocuments.list/approved": approved +"/dfareporting:v2.7/dfareporting.orderDocuments.list/ids": ids +"/dfareporting:v2.7/dfareporting.orderDocuments.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orderDocuments.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orderDocuments.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orderDocuments.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.orders.get": get_order +"/dfareporting:v2.7/dfareporting.orders.get/id": id +"/dfareporting:v2.7/dfareporting.orders.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list": list_orders +"/dfareporting:v2.7/dfareporting.orders.list/ids": ids +"/dfareporting:v2.7/dfareporting.orders.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orders.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orders.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orders.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orders.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orders.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.get": get_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.get/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.insert": insert_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list": list_placement_groups +"/dfareporting:v2.7/dfareporting.placementGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/archived": archived +"/dfareporting:v2.7/dfareporting.placementGroups.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementGroupType": placement_group_type +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placementGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementGroups.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.patch": patch_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.update": update_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete": delete_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.get": get_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.get/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.insert": insert_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list": list_placement_strategies +"/dfareporting:v2.7/dfareporting.placementStrategies.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementStrategies.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementStrategies.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementStrategies.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementStrategies.patch": patch_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.update": update_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags": generatetags_placement +"/dfareporting:v2.7/dfareporting.placements.generatetags/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.placements.generatetags/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/tagFormats": tag_formats +"/dfareporting:v2.7/dfareporting.placements.get": get_placement +"/dfareporting:v2.7/dfareporting.placements.get/id": id +"/dfareporting:v2.7/dfareporting.placements.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.insert": insert_placement +"/dfareporting:v2.7/dfareporting.placements.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list": list_placements +"/dfareporting:v2.7/dfareporting.placements.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placements.list/archived": archived +"/dfareporting:v2.7/dfareporting.placements.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placements.list/compatibilities": compatibilities +"/dfareporting:v2.7/dfareporting.placements.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placements.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placements.list/groupIds": group_ids +"/dfareporting:v2.7/dfareporting.placements.list/ids": ids +"/dfareporting:v2.7/dfareporting.placements.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placements.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placements.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placements.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placements.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placements.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placements.list/paymentSource": payment_source +"/dfareporting:v2.7/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placements.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placements.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placements.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placements.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.placements.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placements.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placements.patch": patch_placement +"/dfareporting:v2.7/dfareporting.placements.patch/id": id +"/dfareporting:v2.7/dfareporting.placements.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.update": update_placement +"/dfareporting:v2.7/dfareporting.placements.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.get": get_platform_type +"/dfareporting:v2.7/dfareporting.platformTypes.get/id": id +"/dfareporting:v2.7/dfareporting.platformTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.list": list_platform_types +"/dfareporting:v2.7/dfareporting.platformTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.get": get_postal_code +"/dfareporting:v2.7/dfareporting.postalCodes.get/code": code +"/dfareporting:v2.7/dfareporting.postalCodes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.list": list_postal_codes +"/dfareporting:v2.7/dfareporting.postalCodes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.get": get_project +"/dfareporting:v2.7/dfareporting.projects.get/id": id +"/dfareporting:v2.7/dfareporting.projects.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list": list_projects +"/dfareporting:v2.7/dfareporting.projects.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.projects.list/ids": ids +"/dfareporting:v2.7/dfareporting.projects.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.projects.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.projects.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.projects.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.projects.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.regions.list": list_regions +"/dfareporting:v2.7/dfareporting.regions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get": get_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch": patch_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.update": update_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.get": get_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.insert": insert_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list": list_remarketing_lists +"/dfareporting:v2.7/dfareporting.remarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.remarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.remarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.remarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.remarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.remarketingLists.patch": patch_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.update": update_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete": delete_report +"/dfareporting:v2.7/dfareporting.reports.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.get": get_report +"/dfareporting:v2.7/dfareporting.reports.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.insert": insert_report +"/dfareporting:v2.7/dfareporting.reports.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list": list_reports +"/dfareporting:v2.7/dfareporting.reports.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list/scope": scope +"/dfareporting:v2.7/dfareporting.reports.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.reports.patch": patch_report +"/dfareporting:v2.7/dfareporting.reports.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.patch/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run": run_report +"/dfareporting:v2.7/dfareporting.reports.run/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.run/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run/synchronous": synchronous +"/dfareporting:v2.7/dfareporting.reports.update": update_report +"/dfareporting:v2.7/dfareporting.reports.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.update/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query": query_report_compatible_field +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.get": get_report_file +"/dfareporting:v2.7/dfareporting.reports.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.reports.files.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list": list_report_files +"/dfareporting:v2.7/dfareporting.reports.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.list/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.sites.get": get_site +"/dfareporting:v2.7/dfareporting.sites.get/id": id +"/dfareporting:v2.7/dfareporting.sites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.insert": insert_site +"/dfareporting:v2.7/dfareporting.sites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list": list_sites +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.sites.list/adWordsSite": ad_words_site +"/dfareporting:v2.7/dfareporting.sites.list/approved": approved +"/dfareporting:v2.7/dfareporting.sites.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.sites.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.sites.list/ids": ids +"/dfareporting:v2.7/dfareporting.sites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.sites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.sites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.sites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.sites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.sites.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.sites.list/unmappedSite": unmapped_site +"/dfareporting:v2.7/dfareporting.sites.patch": patch_site +"/dfareporting:v2.7/dfareporting.sites.patch/id": id +"/dfareporting:v2.7/dfareporting.sites.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.update": update_site +"/dfareporting:v2.7/dfareporting.sites.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.get": get_size +"/dfareporting:v2.7/dfareporting.sizes.get/id": id +"/dfareporting:v2.7/dfareporting.sizes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.insert": insert_size +"/dfareporting:v2.7/dfareporting.sizes.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list": list_sizes +"/dfareporting:v2.7/dfareporting.sizes.list/height": height +"/dfareporting:v2.7/dfareporting.sizes.list/iabStandard": iab_standard +"/dfareporting:v2.7/dfareporting.sizes.list/ids": ids +"/dfareporting:v2.7/dfareporting.sizes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list/width": width +"/dfareporting:v2.7/dfareporting.subaccounts.get": get_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.get/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.insert": insert_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list": list_subaccounts +"/dfareporting:v2.7/dfareporting.subaccounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.subaccounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.subaccounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.subaccounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.subaccounts.patch": patch_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.patch/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.update": update_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.get": get_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert": insert_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list": list_targeting_templates +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/ids": ids +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch": patch_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.update": update_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.get": get_user_profile +"/dfareporting:v2.7/dfareporting.userProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.list": list_user_profiles +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get": get_user_role_permission +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.list": list_user_role_permissions +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.delete": delete_user_role +"/dfareporting:v2.7/dfareporting.userRoles.delete/id": id +"/dfareporting:v2.7/dfareporting.userRoles.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.get": get_user_role +"/dfareporting:v2.7/dfareporting.userRoles.get/id": id +"/dfareporting:v2.7/dfareporting.userRoles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.insert": insert_user_role +"/dfareporting:v2.7/dfareporting.userRoles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list": list_user_roles +"/dfareporting:v2.7/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only +"/dfareporting:v2.7/dfareporting.userRoles.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRoles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.userRoles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.userRoles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.userRoles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.userRoles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.userRoles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.userRoles.patch": patch_user_role +"/dfareporting:v2.7/dfareporting.userRoles.patch/id": id +"/dfareporting:v2.7/dfareporting.userRoles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.update": update_user_role +"/dfareporting:v2.7/dfareporting.userRoles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.get": get_video_format +"/dfareporting:v2.7/dfareporting.videoFormats.get/id": id +"/dfareporting:v2.7/dfareporting.videoFormats.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.list": list_video_formats +"/dfareporting:v2.7/dfareporting.videoFormats.list/profileId": profile_id +"/dfareporting:v2.7/Account": account +"/dfareporting:v2.7/Account/accountPermissionIds": account_permission_ids +"/dfareporting:v2.7/Account/accountPermissionIds/account_permission_id": account_permission_id +"/dfareporting:v2.7/Account/accountProfile": account_profile +"/dfareporting:v2.7/Account/active": active +"/dfareporting:v2.7/Account/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.7/Account/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/Account/availablePermissionIds": available_permission_ids +"/dfareporting:v2.7/Account/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.7/Account/countryId": country_id +"/dfareporting:v2.7/Account/currencyId": currency_id +"/dfareporting:v2.7/Account/defaultCreativeSizeId": default_creative_size_id +"/dfareporting:v2.7/Account/description": description +"/dfareporting:v2.7/Account/id": id +"/dfareporting:v2.7/Account/kind": kind +"/dfareporting:v2.7/Account/locale": locale +"/dfareporting:v2.7/Account/maximumImageSize": maximum_image_size +"/dfareporting:v2.7/Account/name": name +"/dfareporting:v2.7/Account/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.7/Account/reportsConfiguration": reports_configuration +"/dfareporting:v2.7/Account/shareReportsWithTwitter": share_reports_with_twitter +"/dfareporting:v2.7/Account/teaserSizeLimit": teaser_size_limit +"/dfareporting:v2.7/AccountActiveAdSummary": account_active_ad_summary +"/dfareporting:v2.7/AccountActiveAdSummary/accountId": account_id +"/dfareporting:v2.7/AccountActiveAdSummary/activeAds": active_ads +"/dfareporting:v2.7/AccountActiveAdSummary/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.7/AccountActiveAdSummary/availableAds": available_ads +"/dfareporting:v2.7/AccountActiveAdSummary/kind": kind +"/dfareporting:v2.7/AccountPermission": account_permission +"/dfareporting:v2.7/AccountPermission/accountProfiles": account_profiles +"/dfareporting:v2.7/AccountPermission/accountProfiles/account_profile": account_profile +"/dfareporting:v2.7/AccountPermission/id": id +"/dfareporting:v2.7/AccountPermission/kind": kind +"/dfareporting:v2.7/AccountPermission/level": level +"/dfareporting:v2.7/AccountPermission/name": name +"/dfareporting:v2.7/AccountPermission/permissionGroupId": permission_group_id +"/dfareporting:v2.7/AccountPermissionGroup": account_permission_group +"/dfareporting:v2.7/AccountPermissionGroup/id": id +"/dfareporting:v2.7/AccountPermissionGroup/kind": kind +"/dfareporting:v2.7/AccountPermissionGroup/name": name +"/dfareporting:v2.7/AccountPermissionGroupsListResponse": account_permission_groups_list_response +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/accountPermissionGroups": account_permission_groups +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/accountPermissionGroups/account_permission_group": account_permission_group +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/kind": kind +"/dfareporting:v2.7/AccountPermissionsListResponse": account_permissions_list_response +"/dfareporting:v2.7/AccountPermissionsListResponse/accountPermissions": account_permissions +"/dfareporting:v2.7/AccountPermissionsListResponse/accountPermissions/account_permission": account_permission +"/dfareporting:v2.7/AccountPermissionsListResponse/kind": kind +"/dfareporting:v2.7/AccountUserProfile": account_user_profile +"/dfareporting:v2.7/AccountUserProfile/accountId": account_id +"/dfareporting:v2.7/AccountUserProfile/active": active +"/dfareporting:v2.7/AccountUserProfile/advertiserFilter": advertiser_filter +"/dfareporting:v2.7/AccountUserProfile/campaignFilter": campaign_filter +"/dfareporting:v2.7/AccountUserProfile/comments": comments +"/dfareporting:v2.7/AccountUserProfile/email": email +"/dfareporting:v2.7/AccountUserProfile/id": id +"/dfareporting:v2.7/AccountUserProfile/kind": kind +"/dfareporting:v2.7/AccountUserProfile/locale": locale +"/dfareporting:v2.7/AccountUserProfile/name": name +"/dfareporting:v2.7/AccountUserProfile/siteFilter": site_filter +"/dfareporting:v2.7/AccountUserProfile/subaccountId": subaccount_id +"/dfareporting:v2.7/AccountUserProfile/traffickerType": trafficker_type +"/dfareporting:v2.7/AccountUserProfile/userAccessType": user_access_type +"/dfareporting:v2.7/AccountUserProfile/userRoleFilter": user_role_filter +"/dfareporting:v2.7/AccountUserProfile/userRoleId": user_role_id +"/dfareporting:v2.7/AccountUserProfilesListResponse": account_user_profiles_list_response +"/dfareporting:v2.7/AccountUserProfilesListResponse/accountUserProfiles": account_user_profiles +"/dfareporting:v2.7/AccountUserProfilesListResponse/accountUserProfiles/account_user_profile": account_user_profile +"/dfareporting:v2.7/AccountUserProfilesListResponse/kind": kind +"/dfareporting:v2.7/AccountUserProfilesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AccountsListResponse": accounts_list_response +"/dfareporting:v2.7/AccountsListResponse/accounts": accounts +"/dfareporting:v2.7/AccountsListResponse/accounts/account": account +"/dfareporting:v2.7/AccountsListResponse/kind": kind +"/dfareporting:v2.7/AccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/Activities": activities +"/dfareporting:v2.7/Activities/filters": filters +"/dfareporting:v2.7/Activities/filters/filter": filter +"/dfareporting:v2.7/Activities/kind": kind +"/dfareporting:v2.7/Activities/metricNames": metric_names +"/dfareporting:v2.7/Activities/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Ad": ad +"/dfareporting:v2.7/Ad/accountId": account_id +"/dfareporting:v2.7/Ad/active": active +"/dfareporting:v2.7/Ad/advertiserId": advertiser_id +"/dfareporting:v2.7/Ad/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Ad/archived": archived +"/dfareporting:v2.7/Ad/audienceSegmentId": audience_segment_id +"/dfareporting:v2.7/Ad/campaignId": campaign_id +"/dfareporting:v2.7/Ad/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/Ad/clickThroughUrl": click_through_url +"/dfareporting:v2.7/Ad/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/Ad/comments": comments +"/dfareporting:v2.7/Ad/compatibility": compatibility +"/dfareporting:v2.7/Ad/createInfo": create_info +"/dfareporting:v2.7/Ad/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.7/Ad/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.7/Ad/creativeRotation": creative_rotation +"/dfareporting:v2.7/Ad/dayPartTargeting": day_part_targeting +"/dfareporting:v2.7/Ad/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/Ad/deliverySchedule": delivery_schedule +"/dfareporting:v2.7/Ad/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.7/Ad/endTime": end_time +"/dfareporting:v2.7/Ad/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.7/Ad/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.7/Ad/geoTargeting": geo_targeting +"/dfareporting:v2.7/Ad/id": id +"/dfareporting:v2.7/Ad/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Ad/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/Ad/kind": kind +"/dfareporting:v2.7/Ad/languageTargeting": language_targeting +"/dfareporting:v2.7/Ad/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Ad/name": name +"/dfareporting:v2.7/Ad/placementAssignments": placement_assignments +"/dfareporting:v2.7/Ad/placementAssignments/placement_assignment": placement_assignment +"/dfareporting:v2.7/Ad/remarketingListExpression": remarketing_list_expression +"/dfareporting:v2.7/Ad/size": size +"/dfareporting:v2.7/Ad/sslCompliant": ssl_compliant +"/dfareporting:v2.7/Ad/sslRequired": ssl_required +"/dfareporting:v2.7/Ad/startTime": start_time +"/dfareporting:v2.7/Ad/subaccountId": subaccount_id +"/dfareporting:v2.7/Ad/targetingTemplateId": targeting_template_id +"/dfareporting:v2.7/Ad/technologyTargeting": technology_targeting +"/dfareporting:v2.7/Ad/type": type +"/dfareporting:v2.7/AdSlot": ad_slot +"/dfareporting:v2.7/AdSlot/comment": comment +"/dfareporting:v2.7/AdSlot/compatibility": compatibility +"/dfareporting:v2.7/AdSlot/height": height +"/dfareporting:v2.7/AdSlot/linkedPlacementId": linked_placement_id +"/dfareporting:v2.7/AdSlot/name": name +"/dfareporting:v2.7/AdSlot/paymentSourceType": payment_source_type +"/dfareporting:v2.7/AdSlot/primary": primary +"/dfareporting:v2.7/AdSlot/width": width +"/dfareporting:v2.7/AdsListResponse": ads_list_response +"/dfareporting:v2.7/AdsListResponse/ads": ads +"/dfareporting:v2.7/AdsListResponse/ads/ad": ad +"/dfareporting:v2.7/AdsListResponse/kind": kind +"/dfareporting:v2.7/AdsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/Advertiser": advertiser +"/dfareporting:v2.7/Advertiser/accountId": account_id +"/dfareporting:v2.7/Advertiser/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.7/Advertiser/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.7/Advertiser/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.7/Advertiser/defaultEmail": default_email +"/dfareporting:v2.7/Advertiser/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/Advertiser/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/Advertiser/id": id +"/dfareporting:v2.7/Advertiser/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Advertiser/kind": kind +"/dfareporting:v2.7/Advertiser/name": name +"/dfareporting:v2.7/Advertiser/originalFloodlightConfigurationId": original_floodlight_configuration_id +"/dfareporting:v2.7/Advertiser/status": status +"/dfareporting:v2.7/Advertiser/subaccountId": subaccount_id +"/dfareporting:v2.7/Advertiser/suspended": suspended +"/dfareporting:v2.7/AdvertiserGroup": advertiser_group +"/dfareporting:v2.7/AdvertiserGroup/accountId": account_id +"/dfareporting:v2.7/AdvertiserGroup/id": id +"/dfareporting:v2.7/AdvertiserGroup/kind": kind +"/dfareporting:v2.7/AdvertiserGroup/name": name +"/dfareporting:v2.7/AdvertiserGroupsListResponse": advertiser_groups_list_response +"/dfareporting:v2.7/AdvertiserGroupsListResponse/advertiserGroups": advertiser_groups +"/dfareporting:v2.7/AdvertiserGroupsListResponse/advertiserGroups/advertiser_group": advertiser_group +"/dfareporting:v2.7/AdvertiserGroupsListResponse/kind": kind +"/dfareporting:v2.7/AdvertiserGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AdvertisersListResponse": advertisers_list_response +"/dfareporting:v2.7/AdvertisersListResponse/advertisers": advertisers +"/dfareporting:v2.7/AdvertisersListResponse/advertisers/advertiser": advertiser +"/dfareporting:v2.7/AdvertisersListResponse/kind": kind +"/dfareporting:v2.7/AdvertisersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AudienceSegment": audience_segment +"/dfareporting:v2.7/AudienceSegment/allocation": allocation +"/dfareporting:v2.7/AudienceSegment/id": id +"/dfareporting:v2.7/AudienceSegment/name": name +"/dfareporting:v2.7/AudienceSegmentGroup": audience_segment_group +"/dfareporting:v2.7/AudienceSegmentGroup/audienceSegments": audience_segments +"/dfareporting:v2.7/AudienceSegmentGroup/audienceSegments/audience_segment": audience_segment +"/dfareporting:v2.7/AudienceSegmentGroup/id": id +"/dfareporting:v2.7/AudienceSegmentGroup/name": name +"/dfareporting:v2.7/Browser": browser +"/dfareporting:v2.7/Browser/browserVersionId": browser_version_id +"/dfareporting:v2.7/Browser/dartId": dart_id +"/dfareporting:v2.7/Browser/kind": kind +"/dfareporting:v2.7/Browser/majorVersion": major_version +"/dfareporting:v2.7/Browser/minorVersion": minor_version +"/dfareporting:v2.7/Browser/name": name +"/dfareporting:v2.7/BrowsersListResponse": browsers_list_response +"/dfareporting:v2.7/BrowsersListResponse/browsers": browsers +"/dfareporting:v2.7/BrowsersListResponse/browsers/browser": browser +"/dfareporting:v2.7/BrowsersListResponse/kind": kind +"/dfareporting:v2.7/Campaign": campaign +"/dfareporting:v2.7/Campaign/accountId": account_id +"/dfareporting:v2.7/Campaign/additionalCreativeOptimizationConfigurations": additional_creative_optimization_configurations +"/dfareporting:v2.7/Campaign/additionalCreativeOptimizationConfigurations/additional_creative_optimization_configuration": additional_creative_optimization_configuration +"/dfareporting:v2.7/Campaign/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.7/Campaign/advertiserId": advertiser_id +"/dfareporting:v2.7/Campaign/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Campaign/archived": archived +"/dfareporting:v2.7/Campaign/audienceSegmentGroups": audience_segment_groups +"/dfareporting:v2.7/Campaign/audienceSegmentGroups/audience_segment_group": audience_segment_group +"/dfareporting:v2.7/Campaign/billingInvoiceCode": billing_invoice_code +"/dfareporting:v2.7/Campaign/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/Campaign/comment": comment +"/dfareporting:v2.7/Campaign/createInfo": create_info +"/dfareporting:v2.7/Campaign/creativeGroupIds": creative_group_ids +"/dfareporting:v2.7/Campaign/creativeGroupIds/creative_group_id": creative_group_id +"/dfareporting:v2.7/Campaign/creativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.7/Campaign/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/Campaign/endDate": end_date +"/dfareporting:v2.7/Campaign/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.7/Campaign/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.7/Campaign/externalId": external_id +"/dfareporting:v2.7/Campaign/id": id +"/dfareporting:v2.7/Campaign/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Campaign/kind": kind +"/dfareporting:v2.7/Campaign/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Campaign/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/Campaign/name": name +"/dfareporting:v2.7/Campaign/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.7/Campaign/startDate": start_date +"/dfareporting:v2.7/Campaign/subaccountId": subaccount_id +"/dfareporting:v2.7/Campaign/traffickerEmails": trafficker_emails +"/dfareporting:v2.7/Campaign/traffickerEmails/trafficker_email": trafficker_email +"/dfareporting:v2.7/CampaignCreativeAssociation": campaign_creative_association +"/dfareporting:v2.7/CampaignCreativeAssociation/creativeId": creative_id +"/dfareporting:v2.7/CampaignCreativeAssociation/kind": kind +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse": campaign_creative_associations_list_response +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations": campaign_creative_associations +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations/campaign_creative_association": campaign_creative_association +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/kind": kind +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CampaignsListResponse": campaigns_list_response +"/dfareporting:v2.7/CampaignsListResponse/campaigns": campaigns +"/dfareporting:v2.7/CampaignsListResponse/campaigns/campaign": campaign +"/dfareporting:v2.7/CampaignsListResponse/kind": kind +"/dfareporting:v2.7/CampaignsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ChangeLog": change_log +"/dfareporting:v2.7/ChangeLog/accountId": account_id +"/dfareporting:v2.7/ChangeLog/action": action +"/dfareporting:v2.7/ChangeLog/changeTime": change_time +"/dfareporting:v2.7/ChangeLog/fieldName": field_name +"/dfareporting:v2.7/ChangeLog/id": id +"/dfareporting:v2.7/ChangeLog/kind": kind +"/dfareporting:v2.7/ChangeLog/newValue": new_value +"/dfareporting:v2.7/ChangeLog/objectId": object_id_prop +"/dfareporting:v2.7/ChangeLog/objectType": object_type +"/dfareporting:v2.7/ChangeLog/oldValue": old_value +"/dfareporting:v2.7/ChangeLog/subaccountId": subaccount_id +"/dfareporting:v2.7/ChangeLog/transactionId": transaction_id +"/dfareporting:v2.7/ChangeLog/userProfileId": user_profile_id +"/dfareporting:v2.7/ChangeLog/userProfileName": user_profile_name +"/dfareporting:v2.7/ChangeLogsListResponse": change_logs_list_response +"/dfareporting:v2.7/ChangeLogsListResponse/changeLogs": change_logs +"/dfareporting:v2.7/ChangeLogsListResponse/changeLogs/change_log": change_log +"/dfareporting:v2.7/ChangeLogsListResponse/kind": kind +"/dfareporting:v2.7/ChangeLogsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CitiesListResponse": cities_list_response +"/dfareporting:v2.7/CitiesListResponse/cities": cities +"/dfareporting:v2.7/CitiesListResponse/cities/city": city +"/dfareporting:v2.7/CitiesListResponse/kind": kind +"/dfareporting:v2.7/City": city +"/dfareporting:v2.7/City/countryCode": country_code +"/dfareporting:v2.7/City/countryDartId": country_dart_id +"/dfareporting:v2.7/City/dartId": dart_id +"/dfareporting:v2.7/City/kind": kind +"/dfareporting:v2.7/City/metroCode": metro_code +"/dfareporting:v2.7/City/metroDmaId": metro_dma_id +"/dfareporting:v2.7/City/name": name +"/dfareporting:v2.7/City/regionCode": region_code +"/dfareporting:v2.7/City/regionDartId": region_dart_id +"/dfareporting:v2.7/ClickTag": click_tag +"/dfareporting:v2.7/ClickTag/eventName": event_name +"/dfareporting:v2.7/ClickTag/name": name +"/dfareporting:v2.7/ClickTag/value": value +"/dfareporting:v2.7/ClickThroughUrl": click_through_url +"/dfareporting:v2.7/ClickThroughUrl/computedClickThroughUrl": computed_click_through_url +"/dfareporting:v2.7/ClickThroughUrl/customClickThroughUrl": custom_click_through_url +"/dfareporting:v2.7/ClickThroughUrl/defaultLandingPage": default_landing_page +"/dfareporting:v2.7/ClickThroughUrl/landingPageId": landing_page_id +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties/overrideInheritedSuffix": override_inherited_suffix +"/dfareporting:v2.7/CompanionClickThroughOverride": companion_click_through_override +"/dfareporting:v2.7/CompanionClickThroughOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.7/CompanionClickThroughOverride/creativeId": creative_id +"/dfareporting:v2.7/CompanionSetting": companion_setting +"/dfareporting:v2.7/CompanionSetting/companionsDisabled": companions_disabled +"/dfareporting:v2.7/CompanionSetting/enabledSizes": enabled_sizes +"/dfareporting:v2.7/CompanionSetting/enabledSizes/enabled_size": enabled_size +"/dfareporting:v2.7/CompanionSetting/imageOnly": image_only +"/dfareporting:v2.7/CompanionSetting/kind": kind +"/dfareporting:v2.7/CompatibleFields": compatible_fields +"/dfareporting:v2.7/CompatibleFields/crossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/floodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/kind": kind +"/dfareporting:v2.7/CompatibleFields/pathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/reachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/reportCompatibleFields": report_compatible_fields +"/dfareporting:v2.7/ConnectionType": connection_type +"/dfareporting:v2.7/ConnectionType/id": id +"/dfareporting:v2.7/ConnectionType/kind": kind +"/dfareporting:v2.7/ConnectionType/name": name +"/dfareporting:v2.7/ConnectionTypesListResponse": connection_types_list_response +"/dfareporting:v2.7/ConnectionTypesListResponse/connectionTypes": connection_types +"/dfareporting:v2.7/ConnectionTypesListResponse/connectionTypes/connection_type": connection_type +"/dfareporting:v2.7/ConnectionTypesListResponse/kind": kind +"/dfareporting:v2.7/ContentCategoriesListResponse": content_categories_list_response +"/dfareporting:v2.7/ContentCategoriesListResponse/contentCategories": content_categories +"/dfareporting:v2.7/ContentCategoriesListResponse/contentCategories/content_category": content_category +"/dfareporting:v2.7/ContentCategoriesListResponse/kind": kind +"/dfareporting:v2.7/ContentCategoriesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ContentCategory": content_category +"/dfareporting:v2.7/ContentCategory/accountId": account_id +"/dfareporting:v2.7/ContentCategory/id": id +"/dfareporting:v2.7/ContentCategory/kind": kind +"/dfareporting:v2.7/ContentCategory/name": name +"/dfareporting:v2.7/Conversion": conversion +"/dfareporting:v2.7/Conversion/childDirectedTreatment": child_directed_treatment +"/dfareporting:v2.7/Conversion/customVariables": custom_variables +"/dfareporting:v2.7/Conversion/customVariables/custom_variable": custom_variable +"/dfareporting:v2.7/Conversion/encryptedUserId": encrypted_user_id +"/dfareporting:v2.7/Conversion/encryptedUserIdCandidates": encrypted_user_id_candidates +"/dfareporting:v2.7/Conversion/encryptedUserIdCandidates/encrypted_user_id_candidate": encrypted_user_id_candidate +"/dfareporting:v2.7/Conversion/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/Conversion/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/Conversion/kind": kind +"/dfareporting:v2.7/Conversion/limitAdTracking": limit_ad_tracking +"/dfareporting:v2.7/Conversion/mobileDeviceId": mobile_device_id +"/dfareporting:v2.7/Conversion/ordinal": ordinal +"/dfareporting:v2.7/Conversion/quantity": quantity +"/dfareporting:v2.7/Conversion/timestampMicros": timestamp_micros +"/dfareporting:v2.7/Conversion/value": value +"/dfareporting:v2.7/ConversionError": conversion_error +"/dfareporting:v2.7/ConversionError/code": code +"/dfareporting:v2.7/ConversionError/kind": kind +"/dfareporting:v2.7/ConversionError/message": message +"/dfareporting:v2.7/ConversionStatus": conversion_status +"/dfareporting:v2.7/ConversionStatus/conversion": conversion +"/dfareporting:v2.7/ConversionStatus/errors": errors +"/dfareporting:v2.7/ConversionStatus/errors/error": error +"/dfareporting:v2.7/ConversionStatus/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertRequest": conversions_batch_insert_request +"/dfareporting:v2.7/ConversionsBatchInsertRequest/conversions": conversions +"/dfareporting:v2.7/ConversionsBatchInsertRequest/conversions/conversion": conversion +"/dfareporting:v2.7/ConversionsBatchInsertRequest/encryptionInfo": encryption_info +"/dfareporting:v2.7/ConversionsBatchInsertRequest/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertResponse": conversions_batch_insert_response +"/dfareporting:v2.7/ConversionsBatchInsertResponse/hasFailures": has_failures +"/dfareporting:v2.7/ConversionsBatchInsertResponse/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertResponse/status": status +"/dfareporting:v2.7/ConversionsBatchInsertResponse/status/status": status +"/dfareporting:v2.7/CountriesListResponse": countries_list_response +"/dfareporting:v2.7/CountriesListResponse/countries": countries +"/dfareporting:v2.7/CountriesListResponse/countries/country": country +"/dfareporting:v2.7/CountriesListResponse/kind": kind +"/dfareporting:v2.7/Country": country +"/dfareporting:v2.7/Country/countryCode": country_code +"/dfareporting:v2.7/Country/dartId": dart_id +"/dfareporting:v2.7/Country/kind": kind +"/dfareporting:v2.7/Country/name": name +"/dfareporting:v2.7/Country/sslEnabled": ssl_enabled +"/dfareporting:v2.7/Creative": creative +"/dfareporting:v2.7/Creative/accountId": account_id +"/dfareporting:v2.7/Creative/active": active +"/dfareporting:v2.7/Creative/adParameters": ad_parameters +"/dfareporting:v2.7/Creative/adTagKeys": ad_tag_keys +"/dfareporting:v2.7/Creative/adTagKeys/ad_tag_key": ad_tag_key +"/dfareporting:v2.7/Creative/advertiserId": advertiser_id +"/dfareporting:v2.7/Creative/allowScriptAccess": allow_script_access +"/dfareporting:v2.7/Creative/archived": archived +"/dfareporting:v2.7/Creative/artworkType": artwork_type +"/dfareporting:v2.7/Creative/authoringSource": authoring_source +"/dfareporting:v2.7/Creative/authoringTool": authoring_tool +"/dfareporting:v2.7/Creative/auto_advance_images": auto_advance_images +"/dfareporting:v2.7/Creative/backgroundColor": background_color +"/dfareporting:v2.7/Creative/backupImageClickThroughUrl": backup_image_click_through_url +"/dfareporting:v2.7/Creative/backupImageFeatures": backup_image_features +"/dfareporting:v2.7/Creative/backupImageFeatures/backup_image_feature": backup_image_feature +"/dfareporting:v2.7/Creative/backupImageReportingLabel": backup_image_reporting_label +"/dfareporting:v2.7/Creative/backupImageTargetWindow": backup_image_target_window +"/dfareporting:v2.7/Creative/clickTags": click_tags +"/dfareporting:v2.7/Creative/clickTags/click_tag": click_tag +"/dfareporting:v2.7/Creative/commercialId": commercial_id +"/dfareporting:v2.7/Creative/companionCreatives": companion_creatives +"/dfareporting:v2.7/Creative/companionCreatives/companion_creative": companion_creative +"/dfareporting:v2.7/Creative/compatibility": compatibility +"/dfareporting:v2.7/Creative/compatibility/compatibility": compatibility +"/dfareporting:v2.7/Creative/convertFlashToHtml5": convert_flash_to_html5 +"/dfareporting:v2.7/Creative/counterCustomEvents": counter_custom_events +"/dfareporting:v2.7/Creative/counterCustomEvents/counter_custom_event": counter_custom_event +"/dfareporting:v2.7/Creative/creativeAssetSelection": creative_asset_selection +"/dfareporting:v2.7/Creative/creativeAssets": creative_assets +"/dfareporting:v2.7/Creative/creativeAssets/creative_asset": creative_asset +"/dfareporting:v2.7/Creative/creativeFieldAssignments": creative_field_assignments +"/dfareporting:v2.7/Creative/creativeFieldAssignments/creative_field_assignment": creative_field_assignment +"/dfareporting:v2.7/Creative/customKeyValues": custom_key_values +"/dfareporting:v2.7/Creative/customKeyValues/custom_key_value": custom_key_value +"/dfareporting:v2.7/Creative/dynamicAssetSelection": dynamic_asset_selection +"/dfareporting:v2.7/Creative/exitCustomEvents": exit_custom_events +"/dfareporting:v2.7/Creative/exitCustomEvents/exit_custom_event": exit_custom_event +"/dfareporting:v2.7/Creative/fsCommand": fs_command +"/dfareporting:v2.7/Creative/htmlCode": html_code +"/dfareporting:v2.7/Creative/htmlCodeLocked": html_code_locked +"/dfareporting:v2.7/Creative/id": id +"/dfareporting:v2.7/Creative/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Creative/kind": kind +"/dfareporting:v2.7/Creative/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Creative/latestTraffickedCreativeId": latest_trafficked_creative_id +"/dfareporting:v2.7/Creative/name": name +"/dfareporting:v2.7/Creative/overrideCss": override_css +"/dfareporting:v2.7/Creative/progressOffset": progress_offset +"/dfareporting:v2.7/Creative/redirectUrl": redirect_url +"/dfareporting:v2.7/Creative/renderingId": rendering_id +"/dfareporting:v2.7/Creative/renderingIdDimensionValue": rendering_id_dimension_value +"/dfareporting:v2.7/Creative/requiredFlashPluginVersion": required_flash_plugin_version +"/dfareporting:v2.7/Creative/requiredFlashVersion": required_flash_version +"/dfareporting:v2.7/Creative/size": size +"/dfareporting:v2.7/Creative/skipOffset": skip_offset +"/dfareporting:v2.7/Creative/skippable": skippable +"/dfareporting:v2.7/Creative/sslCompliant": ssl_compliant +"/dfareporting:v2.7/Creative/sslOverride": ssl_override +"/dfareporting:v2.7/Creative/studioAdvertiserId": studio_advertiser_id +"/dfareporting:v2.7/Creative/studioCreativeId": studio_creative_id +"/dfareporting:v2.7/Creative/studioTraffickedCreativeId": studio_trafficked_creative_id +"/dfareporting:v2.7/Creative/subaccountId": subaccount_id +"/dfareporting:v2.7/Creative/thirdPartyBackupImageImpressionsUrl": third_party_backup_image_impressions_url +"/dfareporting:v2.7/Creative/thirdPartyRichMediaImpressionsUrl": third_party_rich_media_impressions_url +"/dfareporting:v2.7/Creative/thirdPartyUrls": third_party_urls +"/dfareporting:v2.7/Creative/thirdPartyUrls/third_party_url": third_party_url +"/dfareporting:v2.7/Creative/timerCustomEvents": timer_custom_events +"/dfareporting:v2.7/Creative/timerCustomEvents/timer_custom_event": timer_custom_event +"/dfareporting:v2.7/Creative/totalFileSize": total_file_size +"/dfareporting:v2.7/Creative/type": type +"/dfareporting:v2.7/Creative/version": version +"/dfareporting:v2.7/Creative/videoDescription": video_description +"/dfareporting:v2.7/Creative/videoDuration": video_duration +"/dfareporting:v2.7/CreativeAsset": creative_asset +"/dfareporting:v2.7/CreativeAsset/actionScript3": action_script3 +"/dfareporting:v2.7/CreativeAsset/active": active +"/dfareporting:v2.7/CreativeAsset/alignment": alignment +"/dfareporting:v2.7/CreativeAsset/artworkType": artwork_type +"/dfareporting:v2.7/CreativeAsset/assetIdentifier": asset_identifier +"/dfareporting:v2.7/CreativeAsset/backupImageExit": backup_image_exit +"/dfareporting:v2.7/CreativeAsset/bitRate": bit_rate +"/dfareporting:v2.7/CreativeAsset/childAssetType": child_asset_type +"/dfareporting:v2.7/CreativeAsset/collapsedSize": collapsed_size +"/dfareporting:v2.7/CreativeAsset/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.7/CreativeAsset/companionCreativeIds/companion_creative_id": companion_creative_id +"/dfareporting:v2.7/CreativeAsset/customStartTimeValue": custom_start_time_value +"/dfareporting:v2.7/CreativeAsset/detectedFeatures": detected_features +"/dfareporting:v2.7/CreativeAsset/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.7/CreativeAsset/displayType": display_type +"/dfareporting:v2.7/CreativeAsset/duration": duration +"/dfareporting:v2.7/CreativeAsset/durationType": duration_type +"/dfareporting:v2.7/CreativeAsset/expandedDimension": expanded_dimension +"/dfareporting:v2.7/CreativeAsset/fileSize": file_size +"/dfareporting:v2.7/CreativeAsset/flashVersion": flash_version +"/dfareporting:v2.7/CreativeAsset/hideFlashObjects": hide_flash_objects +"/dfareporting:v2.7/CreativeAsset/hideSelectionBoxes": hide_selection_boxes +"/dfareporting:v2.7/CreativeAsset/horizontallyLocked": horizontally_locked +"/dfareporting:v2.7/CreativeAsset/id": id +"/dfareporting:v2.7/CreativeAsset/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/CreativeAsset/mimeType": mime_type +"/dfareporting:v2.7/CreativeAsset/offset": offset +"/dfareporting:v2.7/CreativeAsset/originalBackup": original_backup +"/dfareporting:v2.7/CreativeAsset/position": position +"/dfareporting:v2.7/CreativeAsset/positionLeftUnit": position_left_unit +"/dfareporting:v2.7/CreativeAsset/positionTopUnit": position_top_unit +"/dfareporting:v2.7/CreativeAsset/progressiveServingUrl": progressive_serving_url +"/dfareporting:v2.7/CreativeAsset/pushdown": pushdown +"/dfareporting:v2.7/CreativeAsset/pushdownDuration": pushdown_duration +"/dfareporting:v2.7/CreativeAsset/role": role +"/dfareporting:v2.7/CreativeAsset/size": size +"/dfareporting:v2.7/CreativeAsset/sslCompliant": ssl_compliant +"/dfareporting:v2.7/CreativeAsset/startTimeType": start_time_type +"/dfareporting:v2.7/CreativeAsset/streamingServingUrl": streaming_serving_url +"/dfareporting:v2.7/CreativeAsset/transparency": transparency +"/dfareporting:v2.7/CreativeAsset/verticallyLocked": vertically_locked +"/dfareporting:v2.7/CreativeAsset/videoDuration": video_duration +"/dfareporting:v2.7/CreativeAsset/windowMode": window_mode +"/dfareporting:v2.7/CreativeAsset/zIndex": z_index +"/dfareporting:v2.7/CreativeAsset/zipFilename": zip_filename +"/dfareporting:v2.7/CreativeAsset/zipFilesize": zip_filesize +"/dfareporting:v2.7/CreativeAssetId": creative_asset_id +"/dfareporting:v2.7/CreativeAssetId/name": name +"/dfareporting:v2.7/CreativeAssetId/type": type +"/dfareporting:v2.7/CreativeAssetMetadata": creative_asset_metadata +"/dfareporting:v2.7/CreativeAssetMetadata/assetIdentifier": asset_identifier +"/dfareporting:v2.7/CreativeAssetMetadata/clickTags": click_tags +"/dfareporting:v2.7/CreativeAssetMetadata/clickTags/click_tag": click_tag +"/dfareporting:v2.7/CreativeAssetMetadata/detectedFeatures": detected_features +"/dfareporting:v2.7/CreativeAssetMetadata/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.7/CreativeAssetMetadata/id": id +"/dfareporting:v2.7/CreativeAssetMetadata/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/CreativeAssetMetadata/kind": kind +"/dfareporting:v2.7/CreativeAssetMetadata/warnedValidationRules": warned_validation_rules +"/dfareporting:v2.7/CreativeAssetMetadata/warnedValidationRules/warned_validation_rule": warned_validation_rule +"/dfareporting:v2.7/CreativeAssetSelection": creative_asset_selection +"/dfareporting:v2.7/CreativeAssetSelection/defaultAssetId": default_asset_id +"/dfareporting:v2.7/CreativeAssetSelection/rules": rules +"/dfareporting:v2.7/CreativeAssetSelection/rules/rule": rule +"/dfareporting:v2.7/CreativeAssignment": creative_assignment +"/dfareporting:v2.7/CreativeAssignment/active": active +"/dfareporting:v2.7/CreativeAssignment/applyEventTags": apply_event_tags +"/dfareporting:v2.7/CreativeAssignment/clickThroughUrl": click_through_url +"/dfareporting:v2.7/CreativeAssignment/companionCreativeOverrides": companion_creative_overrides +"/dfareporting:v2.7/CreativeAssignment/companionCreativeOverrides/companion_creative_override": companion_creative_override +"/dfareporting:v2.7/CreativeAssignment/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.7/CreativeAssignment/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.7/CreativeAssignment/creativeId": creative_id +"/dfareporting:v2.7/CreativeAssignment/creativeIdDimensionValue": creative_id_dimension_value +"/dfareporting:v2.7/CreativeAssignment/endTime": end_time +"/dfareporting:v2.7/CreativeAssignment/richMediaExitOverrides": rich_media_exit_overrides +"/dfareporting:v2.7/CreativeAssignment/richMediaExitOverrides/rich_media_exit_override": rich_media_exit_override +"/dfareporting:v2.7/CreativeAssignment/sequence": sequence +"/dfareporting:v2.7/CreativeAssignment/sslCompliant": ssl_compliant +"/dfareporting:v2.7/CreativeAssignment/startTime": start_time +"/dfareporting:v2.7/CreativeAssignment/weight": weight +"/dfareporting:v2.7/CreativeCustomEvent": creative_custom_event +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventId": advertiser_custom_event_id +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventName": advertiser_custom_event_name +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventType": advertiser_custom_event_type +"/dfareporting:v2.7/CreativeCustomEvent/artworkLabel": artwork_label +"/dfareporting:v2.7/CreativeCustomEvent/artworkType": artwork_type +"/dfareporting:v2.7/CreativeCustomEvent/exitUrl": exit_url +"/dfareporting:v2.7/CreativeCustomEvent/id": id +"/dfareporting:v2.7/CreativeCustomEvent/popupWindowProperties": popup_window_properties +"/dfareporting:v2.7/CreativeCustomEvent/targetType": target_type +"/dfareporting:v2.7/CreativeCustomEvent/videoReportingId": video_reporting_id +"/dfareporting:v2.7/CreativeField": creative_field +"/dfareporting:v2.7/CreativeField/accountId": account_id +"/dfareporting:v2.7/CreativeField/advertiserId": advertiser_id +"/dfareporting:v2.7/CreativeField/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/CreativeField/id": id +"/dfareporting:v2.7/CreativeField/kind": kind +"/dfareporting:v2.7/CreativeField/name": name +"/dfareporting:v2.7/CreativeField/subaccountId": subaccount_id +"/dfareporting:v2.7/CreativeFieldAssignment": creative_field_assignment +"/dfareporting:v2.7/CreativeFieldAssignment/creativeFieldId": creative_field_id +"/dfareporting:v2.7/CreativeFieldAssignment/creativeFieldValueId": creative_field_value_id +"/dfareporting:v2.7/CreativeFieldValue": creative_field_value +"/dfareporting:v2.7/CreativeFieldValue/id": id +"/dfareporting:v2.7/CreativeFieldValue/kind": kind +"/dfareporting:v2.7/CreativeFieldValue/value": value +"/dfareporting:v2.7/CreativeFieldValuesListResponse": creative_field_values_list_response +"/dfareporting:v2.7/CreativeFieldValuesListResponse/creativeFieldValues": creative_field_values +"/dfareporting:v2.7/CreativeFieldValuesListResponse/creativeFieldValues/creative_field_value": creative_field_value +"/dfareporting:v2.7/CreativeFieldValuesListResponse/kind": kind +"/dfareporting:v2.7/CreativeFieldValuesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeFieldsListResponse": creative_fields_list_response +"/dfareporting:v2.7/CreativeFieldsListResponse/creativeFields": creative_fields +"/dfareporting:v2.7/CreativeFieldsListResponse/creativeFields/creative_field": creative_field +"/dfareporting:v2.7/CreativeFieldsListResponse/kind": kind +"/dfareporting:v2.7/CreativeFieldsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeGroup": creative_group +"/dfareporting:v2.7/CreativeGroup/accountId": account_id +"/dfareporting:v2.7/CreativeGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/CreativeGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/CreativeGroup/groupNumber": group_number +"/dfareporting:v2.7/CreativeGroup/id": id +"/dfareporting:v2.7/CreativeGroup/kind": kind +"/dfareporting:v2.7/CreativeGroup/name": name +"/dfareporting:v2.7/CreativeGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/CreativeGroupAssignment": creative_group_assignment +"/dfareporting:v2.7/CreativeGroupAssignment/creativeGroupId": creative_group_id +"/dfareporting:v2.7/CreativeGroupAssignment/creativeGroupNumber": creative_group_number +"/dfareporting:v2.7/CreativeGroupsListResponse": creative_groups_list_response +"/dfareporting:v2.7/CreativeGroupsListResponse/creativeGroups": creative_groups +"/dfareporting:v2.7/CreativeGroupsListResponse/creativeGroups/creative_group": creative_group +"/dfareporting:v2.7/CreativeGroupsListResponse/kind": kind +"/dfareporting:v2.7/CreativeGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.7/CreativeOptimizationConfiguration/id": id +"/dfareporting:v2.7/CreativeOptimizationConfiguration/name": name +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationActivitys": optimization_activitys +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationActivitys/optimization_activity": optimization_activity +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationModel": optimization_model +"/dfareporting:v2.7/CreativeRotation": creative_rotation +"/dfareporting:v2.7/CreativeRotation/creativeAssignments": creative_assignments +"/dfareporting:v2.7/CreativeRotation/creativeAssignments/creative_assignment": creative_assignment +"/dfareporting:v2.7/CreativeRotation/creativeOptimizationConfigurationId": creative_optimization_configuration_id +"/dfareporting:v2.7/CreativeRotation/type": type +"/dfareporting:v2.7/CreativeRotation/weightCalculationStrategy": weight_calculation_strategy +"/dfareporting:v2.7/CreativeSettings": creative_settings +"/dfareporting:v2.7/CreativeSettings/iFrameFooter": i_frame_footer +"/dfareporting:v2.7/CreativeSettings/iFrameHeader": i_frame_header +"/dfareporting:v2.7/CreativesListResponse": creatives_list_response +"/dfareporting:v2.7/CreativesListResponse/creatives": creatives +"/dfareporting:v2.7/CreativesListResponse/creatives/creative": creative +"/dfareporting:v2.7/CreativesListResponse/kind": kind +"/dfareporting:v2.7/CreativesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/breakdown": breakdown +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/breakdown/breakdown": breakdown +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/kind": kind +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/overlapMetrics": overlap_metrics +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/overlapMetrics/overlap_metric": overlap_metric +"/dfareporting:v2.7/CustomFloodlightVariable": custom_floodlight_variable +"/dfareporting:v2.7/CustomFloodlightVariable/kind": kind +"/dfareporting:v2.7/CustomFloodlightVariable/type": type +"/dfareporting:v2.7/CustomFloodlightVariable/value": value +"/dfareporting:v2.7/CustomRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/CustomRichMediaEvents/filteredEventIds": filtered_event_ids +"/dfareporting:v2.7/CustomRichMediaEvents/filteredEventIds/filtered_event_id": filtered_event_id +"/dfareporting:v2.7/CustomRichMediaEvents/kind": kind +"/dfareporting:v2.7/DateRange": date_range +"/dfareporting:v2.7/DateRange/endDate": end_date +"/dfareporting:v2.7/DateRange/kind": kind +"/dfareporting:v2.7/DateRange/relativeDateRange": relative_date_range +"/dfareporting:v2.7/DateRange/startDate": start_date +"/dfareporting:v2.7/DayPartTargeting": day_part_targeting +"/dfareporting:v2.7/DayPartTargeting/daysOfWeek": days_of_week +"/dfareporting:v2.7/DayPartTargeting/daysOfWeek/days_of_week": days_of_week +"/dfareporting:v2.7/DayPartTargeting/hoursOfDay": hours_of_day +"/dfareporting:v2.7/DayPartTargeting/hoursOfDay/hours_of_day": hours_of_day +"/dfareporting:v2.7/DayPartTargeting/userLocalTime": user_local_time +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties/overrideInheritedEventTag": override_inherited_event_tag +"/dfareporting:v2.7/DeliverySchedule": delivery_schedule +"/dfareporting:v2.7/DeliverySchedule/frequencyCap": frequency_cap +"/dfareporting:v2.7/DeliverySchedule/hardCutoff": hard_cutoff +"/dfareporting:v2.7/DeliverySchedule/impressionRatio": impression_ratio +"/dfareporting:v2.7/DeliverySchedule/priority": priority +"/dfareporting:v2.7/DfpSettings": dfp_settings +"/dfareporting:v2.7/DfpSettings/dfp_network_code": dfp_network_code +"/dfareporting:v2.7/DfpSettings/dfp_network_name": dfp_network_name +"/dfareporting:v2.7/DfpSettings/programmaticPlacementAccepted": programmatic_placement_accepted +"/dfareporting:v2.7/DfpSettings/pubPaidPlacementAccepted": pub_paid_placement_accepted +"/dfareporting:v2.7/DfpSettings/publisherPortalOnly": publisher_portal_only +"/dfareporting:v2.7/Dimension": dimension +"/dfareporting:v2.7/Dimension/kind": kind +"/dfareporting:v2.7/Dimension/name": name +"/dfareporting:v2.7/DimensionFilter": dimension_filter +"/dfareporting:v2.7/DimensionFilter/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionFilter/kind": kind +"/dfareporting:v2.7/DimensionFilter/value": value +"/dfareporting:v2.7/DimensionValue": dimension_value +"/dfareporting:v2.7/DimensionValue/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionValue/etag": etag +"/dfareporting:v2.7/DimensionValue/id": id +"/dfareporting:v2.7/DimensionValue/kind": kind +"/dfareporting:v2.7/DimensionValue/matchType": match_type +"/dfareporting:v2.7/DimensionValue/value": value +"/dfareporting:v2.7/DimensionValueList": dimension_value_list +"/dfareporting:v2.7/DimensionValueList/etag": etag +"/dfareporting:v2.7/DimensionValueList/items": items +"/dfareporting:v2.7/DimensionValueList/items/item": item +"/dfareporting:v2.7/DimensionValueList/kind": kind +"/dfareporting:v2.7/DimensionValueList/nextPageToken": next_page_token +"/dfareporting:v2.7/DimensionValueRequest": dimension_value_request +"/dfareporting:v2.7/DimensionValueRequest/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionValueRequest/endDate": end_date +"/dfareporting:v2.7/DimensionValueRequest/filters": filters +"/dfareporting:v2.7/DimensionValueRequest/filters/filter": filter +"/dfareporting:v2.7/DimensionValueRequest/kind": kind +"/dfareporting:v2.7/DimensionValueRequest/startDate": start_date +"/dfareporting:v2.7/DirectorySite": directory_site +"/dfareporting:v2.7/DirectorySite/active": active +"/dfareporting:v2.7/DirectorySite/contactAssignments": contact_assignments +"/dfareporting:v2.7/DirectorySite/contactAssignments/contact_assignment": contact_assignment +"/dfareporting:v2.7/DirectorySite/countryId": country_id +"/dfareporting:v2.7/DirectorySite/currencyId": currency_id +"/dfareporting:v2.7/DirectorySite/description": description +"/dfareporting:v2.7/DirectorySite/id": id +"/dfareporting:v2.7/DirectorySite/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/DirectorySite/inpageTagFormats": inpage_tag_formats +"/dfareporting:v2.7/DirectorySite/inpageTagFormats/inpage_tag_format": inpage_tag_format +"/dfareporting:v2.7/DirectorySite/interstitialTagFormats": interstitial_tag_formats +"/dfareporting:v2.7/DirectorySite/interstitialTagFormats/interstitial_tag_format": interstitial_tag_format +"/dfareporting:v2.7/DirectorySite/kind": kind +"/dfareporting:v2.7/DirectorySite/name": name +"/dfareporting:v2.7/DirectorySite/parentId": parent_id +"/dfareporting:v2.7/DirectorySite/settings": settings +"/dfareporting:v2.7/DirectorySite/url": url +"/dfareporting:v2.7/DirectorySiteContact": directory_site_contact +"/dfareporting:v2.7/DirectorySiteContact/address": address +"/dfareporting:v2.7/DirectorySiteContact/email": email +"/dfareporting:v2.7/DirectorySiteContact/firstName": first_name +"/dfareporting:v2.7/DirectorySiteContact/id": id +"/dfareporting:v2.7/DirectorySiteContact/kind": kind +"/dfareporting:v2.7/DirectorySiteContact/lastName": last_name +"/dfareporting:v2.7/DirectorySiteContact/phone": phone +"/dfareporting:v2.7/DirectorySiteContact/role": role +"/dfareporting:v2.7/DirectorySiteContact/title": title +"/dfareporting:v2.7/DirectorySiteContact/type": type +"/dfareporting:v2.7/DirectorySiteContactAssignment": directory_site_contact_assignment +"/dfareporting:v2.7/DirectorySiteContactAssignment/contactId": contact_id +"/dfareporting:v2.7/DirectorySiteContactAssignment/visibility": visibility +"/dfareporting:v2.7/DirectorySiteContactsListResponse": directory_site_contacts_list_response +"/dfareporting:v2.7/DirectorySiteContactsListResponse/directorySiteContacts": directory_site_contacts +"/dfareporting:v2.7/DirectorySiteContactsListResponse/directorySiteContacts/directory_site_contact": directory_site_contact +"/dfareporting:v2.7/DirectorySiteContactsListResponse/kind": kind +"/dfareporting:v2.7/DirectorySiteContactsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/DirectorySiteSettings": directory_site_settings +"/dfareporting:v2.7/DirectorySiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/dfp_settings": dfp_settings +"/dfareporting:v2.7/DirectorySiteSettings/instream_video_placement_accepted": instream_video_placement_accepted +"/dfareporting:v2.7/DirectorySiteSettings/interstitialPlacementAccepted": interstitial_placement_accepted +"/dfareporting:v2.7/DirectorySiteSettings/nielsenOcrOptOut": nielsen_ocr_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/verificationTagOptOut": verification_tag_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.7/DirectorySitesListResponse": directory_sites_list_response +"/dfareporting:v2.7/DirectorySitesListResponse/directorySites": directory_sites +"/dfareporting:v2.7/DirectorySitesListResponse/directorySites/directory_site": directory_site +"/dfareporting:v2.7/DirectorySitesListResponse/kind": kind +"/dfareporting:v2.7/DirectorySitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/DynamicTargetingKey": dynamic_targeting_key +"/dfareporting:v2.7/DynamicTargetingKey/kind": kind +"/dfareporting:v2.7/DynamicTargetingKey/name": name +"/dfareporting:v2.7/DynamicTargetingKey/objectId": object_id_prop +"/dfareporting:v2.7/DynamicTargetingKey/objectType": object_type +"/dfareporting:v2.7/DynamicTargetingKeysListResponse": dynamic_targeting_keys_list_response +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/dynamicTargetingKeys": dynamic_targeting_keys +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/dynamicTargetingKeys/dynamic_targeting_key": dynamic_targeting_key +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/kind": kind +"/dfareporting:v2.7/EncryptionInfo": encryption_info +"/dfareporting:v2.7/EncryptionInfo/encryptionEntityId": encryption_entity_id +"/dfareporting:v2.7/EncryptionInfo/encryptionEntityType": encryption_entity_type +"/dfareporting:v2.7/EncryptionInfo/encryptionSource": encryption_source +"/dfareporting:v2.7/EncryptionInfo/kind": kind +"/dfareporting:v2.7/EventTag": event_tag +"/dfareporting:v2.7/EventTag/accountId": account_id +"/dfareporting:v2.7/EventTag/advertiserId": advertiser_id +"/dfareporting:v2.7/EventTag/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/EventTag/campaignId": campaign_id +"/dfareporting:v2.7/EventTag/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/EventTag/enabledByDefault": enabled_by_default +"/dfareporting:v2.7/EventTag/excludeFromAdxRequests": exclude_from_adx_requests +"/dfareporting:v2.7/EventTag/id": id +"/dfareporting:v2.7/EventTag/kind": kind +"/dfareporting:v2.7/EventTag/name": name +"/dfareporting:v2.7/EventTag/siteFilterType": site_filter_type +"/dfareporting:v2.7/EventTag/siteIds": site_ids +"/dfareporting:v2.7/EventTag/siteIds/site_id": site_id +"/dfareporting:v2.7/EventTag/sslCompliant": ssl_compliant +"/dfareporting:v2.7/EventTag/status": status +"/dfareporting:v2.7/EventTag/subaccountId": subaccount_id +"/dfareporting:v2.7/EventTag/type": type +"/dfareporting:v2.7/EventTag/url": url +"/dfareporting:v2.7/EventTag/urlEscapeLevels": url_escape_levels +"/dfareporting:v2.7/EventTagOverride": event_tag_override +"/dfareporting:v2.7/EventTagOverride/enabled": enabled +"/dfareporting:v2.7/EventTagOverride/id": id +"/dfareporting:v2.7/EventTagsListResponse": event_tags_list_response +"/dfareporting:v2.7/EventTagsListResponse/eventTags": event_tags +"/dfareporting:v2.7/EventTagsListResponse/eventTags/event_tag": event_tag +"/dfareporting:v2.7/EventTagsListResponse/kind": kind +"/dfareporting:v2.7/File": file +"/dfareporting:v2.7/File/dateRange": date_range +"/dfareporting:v2.7/File/etag": etag +"/dfareporting:v2.7/File/fileName": file_name +"/dfareporting:v2.7/File/format": format +"/dfareporting:v2.7/File/id": id +"/dfareporting:v2.7/File/kind": kind +"/dfareporting:v2.7/File/lastModifiedTime": last_modified_time +"/dfareporting:v2.7/File/reportId": report_id +"/dfareporting:v2.7/File/status": status +"/dfareporting:v2.7/File/urls": urls +"/dfareporting:v2.7/File/urls/apiUrl": api_url +"/dfareporting:v2.7/File/urls/browserUrl": browser_url +"/dfareporting:v2.7/FileList": file_list +"/dfareporting:v2.7/FileList/etag": etag +"/dfareporting:v2.7/FileList/items": items +"/dfareporting:v2.7/FileList/items/item": item +"/dfareporting:v2.7/FileList/kind": kind +"/dfareporting:v2.7/FileList/nextPageToken": next_page_token +"/dfareporting:v2.7/Flight": flight +"/dfareporting:v2.7/Flight/endDate": end_date +"/dfareporting:v2.7/Flight/rateOrCost": rate_or_cost +"/dfareporting:v2.7/Flight/startDate": start_date +"/dfareporting:v2.7/Flight/units": units +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse/floodlightActivityTag": floodlight_activity_tag +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivitiesListResponse": floodlight_activities_list_response +"/dfareporting:v2.7/FloodlightActivitiesListResponse/floodlightActivities": floodlight_activities +"/dfareporting:v2.7/FloodlightActivitiesListResponse/floodlightActivities/floodlight_activity": floodlight_activity +"/dfareporting:v2.7/FloodlightActivitiesListResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivitiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/FloodlightActivity": floodlight_activity +"/dfareporting:v2.7/FloodlightActivity/accountId": account_id +"/dfareporting:v2.7/FloodlightActivity/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightActivity/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/cacheBustingType": cache_busting_type +"/dfareporting:v2.7/FloodlightActivity/countingMethod": counting_method +"/dfareporting:v2.7/FloodlightActivity/defaultTags": default_tags +"/dfareporting:v2.7/FloodlightActivity/defaultTags/default_tag": default_tag +"/dfareporting:v2.7/FloodlightActivity/expectedUrl": expected_url +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupId": floodlight_activity_group_id +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.7/FloodlightActivity/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/FloodlightActivity/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/hidden": hidden +"/dfareporting:v2.7/FloodlightActivity/id": id +"/dfareporting:v2.7/FloodlightActivity/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.7/FloodlightActivity/kind": kind +"/dfareporting:v2.7/FloodlightActivity/name": name +"/dfareporting:v2.7/FloodlightActivity/notes": notes +"/dfareporting:v2.7/FloodlightActivity/publisherTags": publisher_tags +"/dfareporting:v2.7/FloodlightActivity/publisherTags/publisher_tag": publisher_tag +"/dfareporting:v2.7/FloodlightActivity/secure": secure +"/dfareporting:v2.7/FloodlightActivity/sslCompliant": ssl_compliant +"/dfareporting:v2.7/FloodlightActivity/sslRequired": ssl_required +"/dfareporting:v2.7/FloodlightActivity/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightActivity/tagFormat": tag_format +"/dfareporting:v2.7/FloodlightActivity/tagString": tag_string +"/dfareporting:v2.7/FloodlightActivity/userDefinedVariableTypes": user_defined_variable_types +"/dfareporting:v2.7/FloodlightActivity/userDefinedVariableTypes/user_defined_variable_type": user_defined_variable_type +"/dfareporting:v2.7/FloodlightActivityDynamicTag": floodlight_activity_dynamic_tag +"/dfareporting:v2.7/FloodlightActivityDynamicTag/id": id +"/dfareporting:v2.7/FloodlightActivityDynamicTag/name": name +"/dfareporting:v2.7/FloodlightActivityDynamicTag/tag": tag +"/dfareporting:v2.7/FloodlightActivityGroup": floodlight_activity_group +"/dfareporting:v2.7/FloodlightActivityGroup/accountId": account_id +"/dfareporting:v2.7/FloodlightActivityGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightActivityGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/FloodlightActivityGroup/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/id": id +"/dfareporting:v2.7/FloodlightActivityGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/kind": kind +"/dfareporting:v2.7/FloodlightActivityGroup/name": name +"/dfareporting:v2.7/FloodlightActivityGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightActivityGroup/tagString": tag_string +"/dfareporting:v2.7/FloodlightActivityGroup/type": type +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse": floodlight_activity_groups_list_response +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/floodlightActivityGroups": floodlight_activity_groups +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/floodlightActivityGroups/floodlight_activity_group": floodlight_activity_group +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag": floodlight_activity_publisher_dynamic_tag +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/clickThrough": click_through +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/directorySiteId": directory_site_id +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/dynamicTag": dynamic_tag +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/siteId": site_id +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/viewThrough": view_through +"/dfareporting:v2.7/FloodlightConfiguration": floodlight_configuration +"/dfareporting:v2.7/FloodlightConfiguration/accountId": account_id +"/dfareporting:v2.7/FloodlightConfiguration/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightConfiguration/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightConfiguration/analyticsDataSharingEnabled": analytics_data_sharing_enabled +"/dfareporting:v2.7/FloodlightConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.7/FloodlightConfiguration/firstDayOfWeek": first_day_of_week +"/dfareporting:v2.7/FloodlightConfiguration/id": id +"/dfareporting:v2.7/FloodlightConfiguration/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightConfiguration/inAppAttributionTrackingEnabled": in_app_attribution_tracking_enabled +"/dfareporting:v2.7/FloodlightConfiguration/kind": kind +"/dfareporting:v2.7/FloodlightConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/FloodlightConfiguration/naturalSearchConversionAttributionOption": natural_search_conversion_attribution_option +"/dfareporting:v2.7/FloodlightConfiguration/omnitureSettings": omniture_settings +"/dfareporting:v2.7/FloodlightConfiguration/standardVariableTypes": standard_variable_types +"/dfareporting:v2.7/FloodlightConfiguration/standardVariableTypes/standard_variable_type": standard_variable_type +"/dfareporting:v2.7/FloodlightConfiguration/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightConfiguration/tagSettings": tag_settings +"/dfareporting:v2.7/FloodlightConfiguration/thirdPartyAuthenticationTokens": third_party_authentication_tokens +"/dfareporting:v2.7/FloodlightConfiguration/thirdPartyAuthenticationTokens/third_party_authentication_token": third_party_authentication_token +"/dfareporting:v2.7/FloodlightConfiguration/userDefinedVariableConfigurations": user_defined_variable_configurations +"/dfareporting:v2.7/FloodlightConfiguration/userDefinedVariableConfigurations/user_defined_variable_configuration": user_defined_variable_configuration +"/dfareporting:v2.7/FloodlightConfigurationsListResponse": floodlight_configurations_list_response +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/floodlightConfigurations": floodlight_configurations +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/floodlightConfigurations/floodlight_configuration": floodlight_configuration +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/kind": kind +"/dfareporting:v2.7/FloodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/FloodlightReportCompatibleFields/kind": kind +"/dfareporting:v2.7/FloodlightReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/FloodlightReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/FrequencyCap": frequency_cap +"/dfareporting:v2.7/FrequencyCap/duration": duration +"/dfareporting:v2.7/FrequencyCap/impressions": impressions +"/dfareporting:v2.7/FsCommand": fs_command +"/dfareporting:v2.7/FsCommand/left": left +"/dfareporting:v2.7/FsCommand/positionOption": position_option +"/dfareporting:v2.7/FsCommand/top": top +"/dfareporting:v2.7/FsCommand/windowHeight": window_height +"/dfareporting:v2.7/FsCommand/windowWidth": window_width +"/dfareporting:v2.7/GeoTargeting": geo_targeting +"/dfareporting:v2.7/GeoTargeting/cities": cities +"/dfareporting:v2.7/GeoTargeting/cities/city": city +"/dfareporting:v2.7/GeoTargeting/countries": countries +"/dfareporting:v2.7/GeoTargeting/countries/country": country +"/dfareporting:v2.7/GeoTargeting/excludeCountries": exclude_countries +"/dfareporting:v2.7/GeoTargeting/metros": metros +"/dfareporting:v2.7/GeoTargeting/metros/metro": metro +"/dfareporting:v2.7/GeoTargeting/postalCodes": postal_codes +"/dfareporting:v2.7/GeoTargeting/postalCodes/postal_code": postal_code +"/dfareporting:v2.7/GeoTargeting/regions": regions +"/dfareporting:v2.7/GeoTargeting/regions/region": region +"/dfareporting:v2.7/InventoryItem": inventory_item +"/dfareporting:v2.7/InventoryItem/accountId": account_id +"/dfareporting:v2.7/InventoryItem/adSlots": ad_slots +"/dfareporting:v2.7/InventoryItem/adSlots/ad_slot": ad_slot +"/dfareporting:v2.7/InventoryItem/advertiserId": advertiser_id +"/dfareporting:v2.7/InventoryItem/contentCategoryId": content_category_id +"/dfareporting:v2.7/InventoryItem/estimatedClickThroughRate": estimated_click_through_rate +"/dfareporting:v2.7/InventoryItem/estimatedConversionRate": estimated_conversion_rate +"/dfareporting:v2.7/InventoryItem/id": id +"/dfareporting:v2.7/InventoryItem/inPlan": in_plan +"/dfareporting:v2.7/InventoryItem/kind": kind +"/dfareporting:v2.7/InventoryItem/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/InventoryItem/name": name +"/dfareporting:v2.7/InventoryItem/negotiationChannelId": negotiation_channel_id +"/dfareporting:v2.7/InventoryItem/orderId": order_id +"/dfareporting:v2.7/InventoryItem/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/InventoryItem/pricing": pricing +"/dfareporting:v2.7/InventoryItem/projectId": project_id +"/dfareporting:v2.7/InventoryItem/rfpId": rfp_id +"/dfareporting:v2.7/InventoryItem/siteId": site_id +"/dfareporting:v2.7/InventoryItem/subaccountId": subaccount_id +"/dfareporting:v2.7/InventoryItem/type": type +"/dfareporting:v2.7/InventoryItemsListResponse": inventory_items_list_response +"/dfareporting:v2.7/InventoryItemsListResponse/inventoryItems": inventory_items +"/dfareporting:v2.7/InventoryItemsListResponse/inventoryItems/inventory_item": inventory_item +"/dfareporting:v2.7/InventoryItemsListResponse/kind": kind +"/dfareporting:v2.7/InventoryItemsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/KeyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/KeyValueTargetingExpression/expression": expression +"/dfareporting:v2.7/LandingPage": landing_page +"/dfareporting:v2.7/LandingPage/default": default +"/dfareporting:v2.7/LandingPage/id": id +"/dfareporting:v2.7/LandingPage/kind": kind +"/dfareporting:v2.7/LandingPage/name": name +"/dfareporting:v2.7/LandingPage/url": url +"/dfareporting:v2.7/LandingPagesListResponse": landing_pages_list_response +"/dfareporting:v2.7/LandingPagesListResponse/kind": kind +"/dfareporting:v2.7/LandingPagesListResponse/landingPages": landing_pages +"/dfareporting:v2.7/LandingPagesListResponse/landingPages/landing_page": landing_page +"/dfareporting:v2.7/Language": language +"/dfareporting:v2.7/Language/id": id +"/dfareporting:v2.7/Language/kind": kind +"/dfareporting:v2.7/Language/languageCode": language_code +"/dfareporting:v2.7/Language/name": name +"/dfareporting:v2.7/LanguageTargeting": language_targeting +"/dfareporting:v2.7/LanguageTargeting/languages": languages +"/dfareporting:v2.7/LanguageTargeting/languages/language": language +"/dfareporting:v2.7/LanguagesListResponse": languages_list_response +"/dfareporting:v2.7/LanguagesListResponse/kind": kind +"/dfareporting:v2.7/LanguagesListResponse/languages": languages +"/dfareporting:v2.7/LanguagesListResponse/languages/language": language +"/dfareporting:v2.7/LastModifiedInfo": last_modified_info +"/dfareporting:v2.7/LastModifiedInfo/time": time +"/dfareporting:v2.7/ListPopulationClause": list_population_clause +"/dfareporting:v2.7/ListPopulationClause/terms": terms +"/dfareporting:v2.7/ListPopulationClause/terms/term": term +"/dfareporting:v2.7/ListPopulationRule": list_population_rule +"/dfareporting:v2.7/ListPopulationRule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/ListPopulationRule/floodlightActivityName": floodlight_activity_name +"/dfareporting:v2.7/ListPopulationRule/listPopulationClauses": list_population_clauses +"/dfareporting:v2.7/ListPopulationRule/listPopulationClauses/list_population_clause": list_population_clause +"/dfareporting:v2.7/ListPopulationTerm": list_population_term +"/dfareporting:v2.7/ListPopulationTerm/contains": contains +"/dfareporting:v2.7/ListPopulationTerm/negation": negation +"/dfareporting:v2.7/ListPopulationTerm/operator": operator +"/dfareporting:v2.7/ListPopulationTerm/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/ListPopulationTerm/type": type +"/dfareporting:v2.7/ListPopulationTerm/value": value +"/dfareporting:v2.7/ListPopulationTerm/variableFriendlyName": variable_friendly_name +"/dfareporting:v2.7/ListPopulationTerm/variableName": variable_name +"/dfareporting:v2.7/ListTargetingExpression": list_targeting_expression +"/dfareporting:v2.7/ListTargetingExpression/expression": expression +"/dfareporting:v2.7/LookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/LookbackConfiguration/clickDuration": click_duration +"/dfareporting:v2.7/LookbackConfiguration/postImpressionActivitiesDuration": post_impression_activities_duration +"/dfareporting:v2.7/Metric": metric +"/dfareporting:v2.7/Metric/kind": kind +"/dfareporting:v2.7/Metric/name": name +"/dfareporting:v2.7/Metro": metro +"/dfareporting:v2.7/Metro/countryCode": country_code +"/dfareporting:v2.7/Metro/countryDartId": country_dart_id +"/dfareporting:v2.7/Metro/dartId": dart_id +"/dfareporting:v2.7/Metro/dmaId": dma_id +"/dfareporting:v2.7/Metro/kind": kind +"/dfareporting:v2.7/Metro/metroCode": metro_code +"/dfareporting:v2.7/Metro/name": name +"/dfareporting:v2.7/MetrosListResponse": metros_list_response +"/dfareporting:v2.7/MetrosListResponse/kind": kind +"/dfareporting:v2.7/MetrosListResponse/metros": metros +"/dfareporting:v2.7/MetrosListResponse/metros/metro": metro +"/dfareporting:v2.7/MobileCarrier": mobile_carrier +"/dfareporting:v2.7/MobileCarrier/countryCode": country_code +"/dfareporting:v2.7/MobileCarrier/countryDartId": country_dart_id +"/dfareporting:v2.7/MobileCarrier/id": id +"/dfareporting:v2.7/MobileCarrier/kind": kind +"/dfareporting:v2.7/MobileCarrier/name": name +"/dfareporting:v2.7/MobileCarriersListResponse": mobile_carriers_list_response +"/dfareporting:v2.7/MobileCarriersListResponse/kind": kind +"/dfareporting:v2.7/MobileCarriersListResponse/mobileCarriers": mobile_carriers +"/dfareporting:v2.7/MobileCarriersListResponse/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.7/ObjectFilter": object_filter +"/dfareporting:v2.7/ObjectFilter/kind": kind +"/dfareporting:v2.7/ObjectFilter/objectIds": object_ids +"/dfareporting:v2.7/ObjectFilter/objectIds/object_id": object_id_prop +"/dfareporting:v2.7/ObjectFilter/status": status +"/dfareporting:v2.7/OffsetPosition": offset_position +"/dfareporting:v2.7/OffsetPosition/left": left +"/dfareporting:v2.7/OffsetPosition/top": top +"/dfareporting:v2.7/OmnitureSettings": omniture_settings +"/dfareporting:v2.7/OmnitureSettings/omnitureCostDataEnabled": omniture_cost_data_enabled +"/dfareporting:v2.7/OmnitureSettings/omnitureIntegrationEnabled": omniture_integration_enabled +"/dfareporting:v2.7/OperatingSystem": operating_system +"/dfareporting:v2.7/OperatingSystem/dartId": dart_id +"/dfareporting:v2.7/OperatingSystem/desktop": desktop +"/dfareporting:v2.7/OperatingSystem/kind": kind +"/dfareporting:v2.7/OperatingSystem/mobile": mobile +"/dfareporting:v2.7/OperatingSystem/name": name +"/dfareporting:v2.7/OperatingSystemVersion": operating_system_version +"/dfareporting:v2.7/OperatingSystemVersion/id": id +"/dfareporting:v2.7/OperatingSystemVersion/kind": kind +"/dfareporting:v2.7/OperatingSystemVersion/majorVersion": major_version +"/dfareporting:v2.7/OperatingSystemVersion/minorVersion": minor_version +"/dfareporting:v2.7/OperatingSystemVersion/name": name +"/dfareporting:v2.7/OperatingSystemVersion/operatingSystem": operating_system +"/dfareporting:v2.7/OperatingSystemVersionsListResponse": operating_system_versions_list_response +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/kind": kind +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.7/OperatingSystemsListResponse": operating_systems_list_response +"/dfareporting:v2.7/OperatingSystemsListResponse/kind": kind +"/dfareporting:v2.7/OperatingSystemsListResponse/operatingSystems": operating_systems +"/dfareporting:v2.7/OperatingSystemsListResponse/operatingSystems/operating_system": operating_system +"/dfareporting:v2.7/OptimizationActivity": optimization_activity +"/dfareporting:v2.7/OptimizationActivity/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/OptimizationActivity/floodlightActivityIdDimensionValue": floodlight_activity_id_dimension_value +"/dfareporting:v2.7/OptimizationActivity/weight": weight +"/dfareporting:v2.7/Order": order +"/dfareporting:v2.7/Order/accountId": account_id +"/dfareporting:v2.7/Order/advertiserId": advertiser_id +"/dfareporting:v2.7/Order/approverUserProfileIds": approver_user_profile_ids +"/dfareporting:v2.7/Order/approverUserProfileIds/approver_user_profile_id": approver_user_profile_id +"/dfareporting:v2.7/Order/buyerInvoiceId": buyer_invoice_id +"/dfareporting:v2.7/Order/buyerOrganizationName": buyer_organization_name +"/dfareporting:v2.7/Order/comments": comments +"/dfareporting:v2.7/Order/contacts": contacts +"/dfareporting:v2.7/Order/contacts/contact": contact +"/dfareporting:v2.7/Order/id": id +"/dfareporting:v2.7/Order/kind": kind +"/dfareporting:v2.7/Order/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Order/name": name +"/dfareporting:v2.7/Order/notes": notes +"/dfareporting:v2.7/Order/planningTermId": planning_term_id +"/dfareporting:v2.7/Order/projectId": project_id +"/dfareporting:v2.7/Order/sellerOrderId": seller_order_id +"/dfareporting:v2.7/Order/sellerOrganizationName": seller_organization_name +"/dfareporting:v2.7/Order/siteId": site_id +"/dfareporting:v2.7/Order/siteId/site_id": site_id +"/dfareporting:v2.7/Order/siteNames": site_names +"/dfareporting:v2.7/Order/siteNames/site_name": site_name +"/dfareporting:v2.7/Order/subaccountId": subaccount_id +"/dfareporting:v2.7/Order/termsAndConditions": terms_and_conditions +"/dfareporting:v2.7/OrderContact": order_contact +"/dfareporting:v2.7/OrderContact/contactInfo": contact_info +"/dfareporting:v2.7/OrderContact/contactName": contact_name +"/dfareporting:v2.7/OrderContact/contactTitle": contact_title +"/dfareporting:v2.7/OrderContact/contactType": contact_type +"/dfareporting:v2.7/OrderContact/signatureUserProfileId": signature_user_profile_id +"/dfareporting:v2.7/OrderDocument": order_document +"/dfareporting:v2.7/OrderDocument/accountId": account_id +"/dfareporting:v2.7/OrderDocument/advertiserId": advertiser_id +"/dfareporting:v2.7/OrderDocument/amendedOrderDocumentId": amended_order_document_id +"/dfareporting:v2.7/OrderDocument/approvedByUserProfileIds": approved_by_user_profile_ids +"/dfareporting:v2.7/OrderDocument/approvedByUserProfileIds/approved_by_user_profile_id": approved_by_user_profile_id +"/dfareporting:v2.7/OrderDocument/cancelled": cancelled +"/dfareporting:v2.7/OrderDocument/createdInfo": created_info +"/dfareporting:v2.7/OrderDocument/effectiveDate": effective_date +"/dfareporting:v2.7/OrderDocument/id": id +"/dfareporting:v2.7/OrderDocument/kind": kind +"/dfareporting:v2.7/OrderDocument/lastSentRecipients": last_sent_recipients +"/dfareporting:v2.7/OrderDocument/lastSentRecipients/last_sent_recipient": last_sent_recipient +"/dfareporting:v2.7/OrderDocument/lastSentTime": last_sent_time +"/dfareporting:v2.7/OrderDocument/orderId": order_id +"/dfareporting:v2.7/OrderDocument/projectId": project_id +"/dfareporting:v2.7/OrderDocument/signed": signed +"/dfareporting:v2.7/OrderDocument/subaccountId": subaccount_id +"/dfareporting:v2.7/OrderDocument/title": title +"/dfareporting:v2.7/OrderDocument/type": type +"/dfareporting:v2.7/OrderDocumentsListResponse": order_documents_list_response +"/dfareporting:v2.7/OrderDocumentsListResponse/kind": kind +"/dfareporting:v2.7/OrderDocumentsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/OrderDocumentsListResponse/orderDocuments": order_documents +"/dfareporting:v2.7/OrderDocumentsListResponse/orderDocuments/order_document": order_document +"/dfareporting:v2.7/OrdersListResponse": orders_list_response +"/dfareporting:v2.7/OrdersListResponse/kind": kind +"/dfareporting:v2.7/OrdersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/OrdersListResponse/orders": orders +"/dfareporting:v2.7/OrdersListResponse/orders/order": order +"/dfareporting:v2.7/PathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/conversionDimensions": conversion_dimensions +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/kind": kind +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.7/Placement": placement +"/dfareporting:v2.7/Placement/accountId": account_id +"/dfareporting:v2.7/Placement/advertiserId": advertiser_id +"/dfareporting:v2.7/Placement/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Placement/archived": archived +"/dfareporting:v2.7/Placement/campaignId": campaign_id +"/dfareporting:v2.7/Placement/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/Placement/comment": comment +"/dfareporting:v2.7/Placement/compatibility": compatibility +"/dfareporting:v2.7/Placement/contentCategoryId": content_category_id +"/dfareporting:v2.7/Placement/createInfo": create_info +"/dfareporting:v2.7/Placement/directorySiteId": directory_site_id +"/dfareporting:v2.7/Placement/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/Placement/externalId": external_id +"/dfareporting:v2.7/Placement/id": id +"/dfareporting:v2.7/Placement/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Placement/keyName": key_name +"/dfareporting:v2.7/Placement/kind": kind +"/dfareporting:v2.7/Placement/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Placement/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/Placement/name": name +"/dfareporting:v2.7/Placement/paymentApproved": payment_approved +"/dfareporting:v2.7/Placement/paymentSource": payment_source +"/dfareporting:v2.7/Placement/placementGroupId": placement_group_id +"/dfareporting:v2.7/Placement/placementGroupIdDimensionValue": placement_group_id_dimension_value +"/dfareporting:v2.7/Placement/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/Placement/pricingSchedule": pricing_schedule +"/dfareporting:v2.7/Placement/primary": primary +"/dfareporting:v2.7/Placement/publisherUpdateInfo": publisher_update_info +"/dfareporting:v2.7/Placement/siteId": site_id +"/dfareporting:v2.7/Placement/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/Placement/size": size +"/dfareporting:v2.7/Placement/sslRequired": ssl_required +"/dfareporting:v2.7/Placement/status": status +"/dfareporting:v2.7/Placement/subaccountId": subaccount_id +"/dfareporting:v2.7/Placement/tagFormats": tag_formats +"/dfareporting:v2.7/Placement/tagFormats/tag_format": tag_format +"/dfareporting:v2.7/Placement/tagSetting": tag_setting +"/dfareporting:v2.7/Placement/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.7/Placement/videoSettings": video_settings +"/dfareporting:v2.7/Placement/vpaidAdapterChoice": vpaid_adapter_choice +"/dfareporting:v2.7/PlacementAssignment": placement_assignment +"/dfareporting:v2.7/PlacementAssignment/active": active +"/dfareporting:v2.7/PlacementAssignment/placementId": placement_id +"/dfareporting:v2.7/PlacementAssignment/placementIdDimensionValue": placement_id_dimension_value +"/dfareporting:v2.7/PlacementAssignment/sslRequired": ssl_required +"/dfareporting:v2.7/PlacementGroup": placement_group +"/dfareporting:v2.7/PlacementGroup/accountId": account_id +"/dfareporting:v2.7/PlacementGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/PlacementGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/archived": archived +"/dfareporting:v2.7/PlacementGroup/campaignId": campaign_id +"/dfareporting:v2.7/PlacementGroup/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/childPlacementIds": child_placement_ids +"/dfareporting:v2.7/PlacementGroup/childPlacementIds/child_placement_id": child_placement_id +"/dfareporting:v2.7/PlacementGroup/comment": comment +"/dfareporting:v2.7/PlacementGroup/contentCategoryId": content_category_id +"/dfareporting:v2.7/PlacementGroup/createInfo": create_info +"/dfareporting:v2.7/PlacementGroup/directorySiteId": directory_site_id +"/dfareporting:v2.7/PlacementGroup/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/externalId": external_id +"/dfareporting:v2.7/PlacementGroup/id": id +"/dfareporting:v2.7/PlacementGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/PlacementGroup/kind": kind +"/dfareporting:v2.7/PlacementGroup/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/PlacementGroup/name": name +"/dfareporting:v2.7/PlacementGroup/placementGroupType": placement_group_type +"/dfareporting:v2.7/PlacementGroup/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/PlacementGroup/pricingSchedule": pricing_schedule +"/dfareporting:v2.7/PlacementGroup/primaryPlacementId": primary_placement_id +"/dfareporting:v2.7/PlacementGroup/primaryPlacementIdDimensionValue": primary_placement_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/siteId": site_id +"/dfareporting:v2.7/PlacementGroup/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/PlacementGroupsListResponse": placement_groups_list_response +"/dfareporting:v2.7/PlacementGroupsListResponse/kind": kind +"/dfareporting:v2.7/PlacementGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementGroupsListResponse/placementGroups": placement_groups +"/dfareporting:v2.7/PlacementGroupsListResponse/placementGroups/placement_group": placement_group +"/dfareporting:v2.7/PlacementStrategiesListResponse": placement_strategies_list_response +"/dfareporting:v2.7/PlacementStrategiesListResponse/kind": kind +"/dfareporting:v2.7/PlacementStrategiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementStrategiesListResponse/placementStrategies": placement_strategies +"/dfareporting:v2.7/PlacementStrategiesListResponse/placementStrategies/placement_strategy": placement_strategy +"/dfareporting:v2.7/PlacementStrategy": placement_strategy +"/dfareporting:v2.7/PlacementStrategy/accountId": account_id +"/dfareporting:v2.7/PlacementStrategy/id": id +"/dfareporting:v2.7/PlacementStrategy/kind": kind +"/dfareporting:v2.7/PlacementStrategy/name": name +"/dfareporting:v2.7/PlacementTag": placement_tag +"/dfareporting:v2.7/PlacementTag/placementId": placement_id +"/dfareporting:v2.7/PlacementTag/tagDatas": tag_datas +"/dfareporting:v2.7/PlacementTag/tagDatas/tag_data": tag_data +"/dfareporting:v2.7/PlacementsGenerateTagsResponse": placements_generate_tags_response +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/kind": kind +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/placementTags": placement_tags +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/placementTags/placement_tag": placement_tag +"/dfareporting:v2.7/PlacementsListResponse": placements_list_response +"/dfareporting:v2.7/PlacementsListResponse/kind": kind +"/dfareporting:v2.7/PlacementsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementsListResponse/placements": placements +"/dfareporting:v2.7/PlacementsListResponse/placements/placement": placement +"/dfareporting:v2.7/PlatformType": platform_type +"/dfareporting:v2.7/PlatformType/id": id +"/dfareporting:v2.7/PlatformType/kind": kind +"/dfareporting:v2.7/PlatformType/name": name +"/dfareporting:v2.7/PlatformTypesListResponse": platform_types_list_response +"/dfareporting:v2.7/PlatformTypesListResponse/kind": kind +"/dfareporting:v2.7/PlatformTypesListResponse/platformTypes": platform_types +"/dfareporting:v2.7/PlatformTypesListResponse/platformTypes/platform_type": platform_type +"/dfareporting:v2.7/PopupWindowProperties": popup_window_properties +"/dfareporting:v2.7/PopupWindowProperties/dimension": dimension +"/dfareporting:v2.7/PopupWindowProperties/offset": offset +"/dfareporting:v2.7/PopupWindowProperties/positionType": position_type +"/dfareporting:v2.7/PopupWindowProperties/showAddressBar": show_address_bar +"/dfareporting:v2.7/PopupWindowProperties/showMenuBar": show_menu_bar +"/dfareporting:v2.7/PopupWindowProperties/showScrollBar": show_scroll_bar +"/dfareporting:v2.7/PopupWindowProperties/showStatusBar": show_status_bar +"/dfareporting:v2.7/PopupWindowProperties/showToolBar": show_tool_bar +"/dfareporting:v2.7/PopupWindowProperties/title": title +"/dfareporting:v2.7/PostalCode": postal_code +"/dfareporting:v2.7/PostalCode/code": code +"/dfareporting:v2.7/PostalCode/countryCode": country_code +"/dfareporting:v2.7/PostalCode/countryDartId": country_dart_id +"/dfareporting:v2.7/PostalCode/id": id +"/dfareporting:v2.7/PostalCode/kind": kind +"/dfareporting:v2.7/PostalCodesListResponse": postal_codes_list_response +"/dfareporting:v2.7/PostalCodesListResponse/kind": kind +"/dfareporting:v2.7/PostalCodesListResponse/postalCodes": postal_codes +"/dfareporting:v2.7/PostalCodesListResponse/postalCodes/postal_code": postal_code +"/dfareporting:v2.7/Pricing": pricing +"/dfareporting:v2.7/Pricing/capCostType": cap_cost_type +"/dfareporting:v2.7/Pricing/endDate": end_date +"/dfareporting:v2.7/Pricing/flights": flights +"/dfareporting:v2.7/Pricing/flights/flight": flight +"/dfareporting:v2.7/Pricing/groupType": group_type +"/dfareporting:v2.7/Pricing/pricingType": pricing_type +"/dfareporting:v2.7/Pricing/startDate": start_date +"/dfareporting:v2.7/PricingSchedule": pricing_schedule +"/dfareporting:v2.7/PricingSchedule/capCostOption": cap_cost_option +"/dfareporting:v2.7/PricingSchedule/disregardOverdelivery": disregard_overdelivery +"/dfareporting:v2.7/PricingSchedule/endDate": end_date +"/dfareporting:v2.7/PricingSchedule/flighted": flighted +"/dfareporting:v2.7/PricingSchedule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/PricingSchedule/pricingPeriods": pricing_periods +"/dfareporting:v2.7/PricingSchedule/pricingPeriods/pricing_period": pricing_period +"/dfareporting:v2.7/PricingSchedule/pricingType": pricing_type +"/dfareporting:v2.7/PricingSchedule/startDate": start_date +"/dfareporting:v2.7/PricingSchedule/testingStartDate": testing_start_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod": pricing_schedule_pricing_period +"/dfareporting:v2.7/PricingSchedulePricingPeriod/endDate": end_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod/pricingComment": pricing_comment +"/dfareporting:v2.7/PricingSchedulePricingPeriod/rateOrCostNanos": rate_or_cost_nanos +"/dfareporting:v2.7/PricingSchedulePricingPeriod/startDate": start_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod/units": units +"/dfareporting:v2.7/Project": project +"/dfareporting:v2.7/Project/accountId": account_id +"/dfareporting:v2.7/Project/advertiserId": advertiser_id +"/dfareporting:v2.7/Project/audienceAgeGroup": audience_age_group +"/dfareporting:v2.7/Project/audienceGender": audience_gender +"/dfareporting:v2.7/Project/budget": budget +"/dfareporting:v2.7/Project/clientBillingCode": client_billing_code +"/dfareporting:v2.7/Project/clientName": client_name +"/dfareporting:v2.7/Project/endDate": end_date +"/dfareporting:v2.7/Project/id": id +"/dfareporting:v2.7/Project/kind": kind +"/dfareporting:v2.7/Project/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Project/name": name +"/dfareporting:v2.7/Project/overview": overview +"/dfareporting:v2.7/Project/startDate": start_date +"/dfareporting:v2.7/Project/subaccountId": subaccount_id +"/dfareporting:v2.7/Project/targetClicks": target_clicks +"/dfareporting:v2.7/Project/targetConversions": target_conversions +"/dfareporting:v2.7/Project/targetCpaNanos": target_cpa_nanos +"/dfareporting:v2.7/Project/targetCpcNanos": target_cpc_nanos +"/dfareporting:v2.7/Project/targetCpmActiveViewNanos": target_cpm_active_view_nanos +"/dfareporting:v2.7/Project/targetCpmNanos": target_cpm_nanos +"/dfareporting:v2.7/Project/targetImpressions": target_impressions +"/dfareporting:v2.7/ProjectsListResponse": projects_list_response +"/dfareporting:v2.7/ProjectsListResponse/kind": kind +"/dfareporting:v2.7/ProjectsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ProjectsListResponse/projects": projects +"/dfareporting:v2.7/ProjectsListResponse/projects/project": project +"/dfareporting:v2.7/ReachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/ReachReportCompatibleFields/kind": kind +"/dfareporting:v2.7/ReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/ReachReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.7/ReachReportCompatibleFields/reachByFrequencyMetrics": reach_by_frequency_metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/reachByFrequencyMetrics/reach_by_frequency_metric": reach_by_frequency_metric +"/dfareporting:v2.7/Recipient": recipient +"/dfareporting:v2.7/Recipient/deliveryType": delivery_type +"/dfareporting:v2.7/Recipient/email": email +"/dfareporting:v2.7/Recipient/kind": kind +"/dfareporting:v2.7/Region": region +"/dfareporting:v2.7/Region/countryCode": country_code +"/dfareporting:v2.7/Region/countryDartId": country_dart_id +"/dfareporting:v2.7/Region/dartId": dart_id +"/dfareporting:v2.7/Region/kind": kind +"/dfareporting:v2.7/Region/name": name +"/dfareporting:v2.7/Region/regionCode": region_code +"/dfareporting:v2.7/RegionsListResponse": regions_list_response +"/dfareporting:v2.7/RegionsListResponse/kind": kind +"/dfareporting:v2.7/RegionsListResponse/regions": regions +"/dfareporting:v2.7/RegionsListResponse/regions/region": region +"/dfareporting:v2.7/RemarketingList": remarketing_list +"/dfareporting:v2.7/RemarketingList/accountId": account_id +"/dfareporting:v2.7/RemarketingList/active": active +"/dfareporting:v2.7/RemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.7/RemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/RemarketingList/description": description +"/dfareporting:v2.7/RemarketingList/id": id +"/dfareporting:v2.7/RemarketingList/kind": kind +"/dfareporting:v2.7/RemarketingList/lifeSpan": life_span +"/dfareporting:v2.7/RemarketingList/listPopulationRule": list_population_rule +"/dfareporting:v2.7/RemarketingList/listSize": list_size +"/dfareporting:v2.7/RemarketingList/listSource": list_source +"/dfareporting:v2.7/RemarketingList/name": name +"/dfareporting:v2.7/RemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.7/RemarketingListShare": remarketing_list_share +"/dfareporting:v2.7/RemarketingListShare/kind": kind +"/dfareporting:v2.7/RemarketingListShare/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/RemarketingListShare/sharedAccountIds": shared_account_ids +"/dfareporting:v2.7/RemarketingListShare/sharedAccountIds/shared_account_id": shared_account_id +"/dfareporting:v2.7/RemarketingListShare/sharedAdvertiserIds": shared_advertiser_ids +"/dfareporting:v2.7/RemarketingListShare/sharedAdvertiserIds/shared_advertiser_id": shared_advertiser_id +"/dfareporting:v2.7/RemarketingListsListResponse": remarketing_lists_list_response +"/dfareporting:v2.7/RemarketingListsListResponse/kind": kind +"/dfareporting:v2.7/RemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/RemarketingListsListResponse/remarketingLists": remarketing_lists +"/dfareporting:v2.7/RemarketingListsListResponse/remarketingLists/remarketing_list": remarketing_list +"/dfareporting:v2.7/Report": report +"/dfareporting:v2.7/Report/accountId": account_id +"/dfareporting:v2.7/Report/criteria": criteria +"/dfareporting:v2.7/Report/criteria/activities": activities +"/dfareporting:v2.7/Report/criteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/criteria/dateRange": date_range +"/dfareporting:v2.7/Report/criteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/criteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/criteria/dimensions": dimensions +"/dfareporting:v2.7/Report/criteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/criteria/metricNames": metric_names +"/dfareporting:v2.7/Report/criteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria": cross_dimension_reach_criteria +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/breakdown": breakdown +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/breakdown/breakdown": breakdown +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimension": dimension +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/overlapMetricNames": overlap_metric_names +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/overlapMetricNames/overlap_metric_name": overlap_metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/pivoted": pivoted +"/dfareporting:v2.7/Report/delivery": delivery +"/dfareporting:v2.7/Report/delivery/emailOwner": email_owner +"/dfareporting:v2.7/Report/delivery/emailOwnerDeliveryType": email_owner_delivery_type +"/dfareporting:v2.7/Report/delivery/message": message +"/dfareporting:v2.7/Report/delivery/recipients": recipients +"/dfareporting:v2.7/Report/delivery/recipients/recipient": recipient +"/dfareporting:v2.7/Report/etag": etag +"/dfareporting:v2.7/Report/fileName": file_name +"/dfareporting:v2.7/Report/floodlightCriteria": floodlight_criteria +"/dfareporting:v2.7/Report/floodlightCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/floodlightCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.7/Report/floodlightCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/floodlightCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/floodlightCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/floodlightCriteria/dimensions": dimensions +"/dfareporting:v2.7/Report/floodlightCriteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/floodlightCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.7/Report/floodlightCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/floodlightCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties": report_properties +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.7/Report/format": format +"/dfareporting:v2.7/Report/id": id +"/dfareporting:v2.7/Report/kind": kind +"/dfareporting:v2.7/Report/lastModifiedTime": last_modified_time +"/dfareporting:v2.7/Report/name": name +"/dfareporting:v2.7/Report/ownerProfileId": owner_profile_id +"/dfareporting:v2.7/Report/pathToConversionCriteria": path_to_conversion_criteria +"/dfareporting:v2.7/Report/pathToConversionCriteria/activityFilters": activity_filters +"/dfareporting:v2.7/Report/pathToConversionCriteria/activityFilters/activity_filter": activity_filter +"/dfareporting:v2.7/Report/pathToConversionCriteria/conversionDimensions": conversion_dimensions +"/dfareporting:v2.7/Report/pathToConversionCriteria/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.7/Report/pathToConversionCriteria/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.7/Report/pathToConversionCriteria/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.7/Report/pathToConversionCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/pathToConversionCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.7/Report/pathToConversionCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/pathToConversionCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.7/Report/pathToConversionCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/pathToConversionCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/pathToConversionCriteria/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.7/Report/pathToConversionCriteria/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties": report_properties +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/clicksLookbackWindow": clicks_lookback_window +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/impressionsLookbackWindow": impressions_lookback_window +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumClickInteractions": maximum_click_interactions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumImpressionInteractions": maximum_impression_interactions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumInteractionGap": maximum_interaction_gap +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/pivotOnInteractionPath": pivot_on_interaction_path +"/dfareporting:v2.7/Report/reachCriteria": reach_criteria +"/dfareporting:v2.7/Report/reachCriteria/activities": activities +"/dfareporting:v2.7/Report/reachCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/reachCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/reachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/reachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/reachCriteria/dimensions": dimensions +"/dfareporting:v2.7/Report/reachCriteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/reachCriteria/enableAllDimensionCombinations": enable_all_dimension_combinations +"/dfareporting:v2.7/Report/reachCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/reachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/reachCriteria/reachByFrequencyMetricNames": reach_by_frequency_metric_names +"/dfareporting:v2.7/Report/reachCriteria/reachByFrequencyMetricNames/reach_by_frequency_metric_name": reach_by_frequency_metric_name +"/dfareporting:v2.7/Report/schedule": schedule +"/dfareporting:v2.7/Report/schedule/active": active +"/dfareporting:v2.7/Report/schedule/every": every +"/dfareporting:v2.7/Report/schedule/expirationDate": expiration_date +"/dfareporting:v2.7/Report/schedule/repeats": repeats +"/dfareporting:v2.7/Report/schedule/repeatsOnWeekDays": repeats_on_week_days +"/dfareporting:v2.7/Report/schedule/repeatsOnWeekDays/repeats_on_week_day": repeats_on_week_day +"/dfareporting:v2.7/Report/schedule/runsOnDayOfMonth": runs_on_day_of_month +"/dfareporting:v2.7/Report/schedule/startDate": start_date +"/dfareporting:v2.7/Report/subAccountId": sub_account_id +"/dfareporting:v2.7/Report/type": type +"/dfareporting:v2.7/ReportCompatibleFields": report_compatible_fields +"/dfareporting:v2.7/ReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/ReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/ReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/ReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/ReportCompatibleFields/kind": kind +"/dfareporting:v2.7/ReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/ReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/ReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.7/ReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.7/ReportList": report_list +"/dfareporting:v2.7/ReportList/etag": etag +"/dfareporting:v2.7/ReportList/items": items +"/dfareporting:v2.7/ReportList/items/item": item +"/dfareporting:v2.7/ReportList/kind": kind +"/dfareporting:v2.7/ReportList/nextPageToken": next_page_token +"/dfareporting:v2.7/ReportsConfiguration": reports_configuration +"/dfareporting:v2.7/ReportsConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.7/ReportsConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/ReportsConfiguration/reportGenerationTimeZoneId": report_generation_time_zone_id +"/dfareporting:v2.7/RichMediaExitOverride": rich_media_exit_override +"/dfareporting:v2.7/RichMediaExitOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.7/RichMediaExitOverride/enabled": enabled +"/dfareporting:v2.7/RichMediaExitOverride/exitId": exit_id +"/dfareporting:v2.7/Rule": rule +"/dfareporting:v2.7/Rule/assetId": asset_id +"/dfareporting:v2.7/Rule/name": name +"/dfareporting:v2.7/Rule/targetingTemplateId": targeting_template_id +"/dfareporting:v2.7/Site": site +"/dfareporting:v2.7/Site/accountId": account_id +"/dfareporting:v2.7/Site/approved": approved +"/dfareporting:v2.7/Site/directorySiteId": directory_site_id +"/dfareporting:v2.7/Site/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/Site/id": id +"/dfareporting:v2.7/Site/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Site/keyName": key_name +"/dfareporting:v2.7/Site/kind": kind +"/dfareporting:v2.7/Site/name": name +"/dfareporting:v2.7/Site/siteContacts": site_contacts +"/dfareporting:v2.7/Site/siteContacts/site_contact": site_contact +"/dfareporting:v2.7/Site/siteSettings": site_settings +"/dfareporting:v2.7/Site/subaccountId": subaccount_id +"/dfareporting:v2.7/SiteContact": site_contact +"/dfareporting:v2.7/SiteContact/address": address +"/dfareporting:v2.7/SiteContact/contactType": contact_type +"/dfareporting:v2.7/SiteContact/email": email +"/dfareporting:v2.7/SiteContact/firstName": first_name +"/dfareporting:v2.7/SiteContact/id": id +"/dfareporting:v2.7/SiteContact/lastName": last_name +"/dfareporting:v2.7/SiteContact/phone": phone +"/dfareporting:v2.7/SiteContact/title": title +"/dfareporting:v2.7/SiteSettings": site_settings +"/dfareporting:v2.7/SiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/SiteSettings/creativeSettings": creative_settings +"/dfareporting:v2.7/SiteSettings/disableBrandSafeAds": disable_brand_safe_ads +"/dfareporting:v2.7/SiteSettings/disableNewCookie": disable_new_cookie +"/dfareporting:v2.7/SiteSettings/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/SiteSettings/tagSetting": tag_setting +"/dfareporting:v2.7/SiteSettings/videoActiveViewOptOutTemplate": video_active_view_opt_out_template +"/dfareporting:v2.7/SiteSettings/vpaidAdapterChoiceTemplate": vpaid_adapter_choice_template +"/dfareporting:v2.7/SitesListResponse": sites_list_response +"/dfareporting:v2.7/SitesListResponse/kind": kind +"/dfareporting:v2.7/SitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/SitesListResponse/sites": sites +"/dfareporting:v2.7/SitesListResponse/sites/site": site +"/dfareporting:v2.7/Size": size +"/dfareporting:v2.7/Size/height": height +"/dfareporting:v2.7/Size/iab": iab +"/dfareporting:v2.7/Size/id": id +"/dfareporting:v2.7/Size/kind": kind +"/dfareporting:v2.7/Size/width": width +"/dfareporting:v2.7/SizesListResponse": sizes_list_response +"/dfareporting:v2.7/SizesListResponse/kind": kind +"/dfareporting:v2.7/SizesListResponse/sizes": sizes +"/dfareporting:v2.7/SizesListResponse/sizes/size": size +"/dfareporting:v2.7/SkippableSetting": skippable_setting +"/dfareporting:v2.7/SkippableSetting/kind": kind +"/dfareporting:v2.7/SkippableSetting/progressOffset": progress_offset +"/dfareporting:v2.7/SkippableSetting/skipOffset": skip_offset +"/dfareporting:v2.7/SkippableSetting/skippable": skippable +"/dfareporting:v2.7/SortedDimension": sorted_dimension +"/dfareporting:v2.7/SortedDimension/kind": kind +"/dfareporting:v2.7/SortedDimension/name": name +"/dfareporting:v2.7/SortedDimension/sortOrder": sort_order +"/dfareporting:v2.7/Subaccount": subaccount +"/dfareporting:v2.7/Subaccount/accountId": account_id +"/dfareporting:v2.7/Subaccount/availablePermissionIds": available_permission_ids +"/dfareporting:v2.7/Subaccount/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.7/Subaccount/id": id +"/dfareporting:v2.7/Subaccount/kind": kind +"/dfareporting:v2.7/Subaccount/name": name +"/dfareporting:v2.7/SubaccountsListResponse": subaccounts_list_response +"/dfareporting:v2.7/SubaccountsListResponse/kind": kind +"/dfareporting:v2.7/SubaccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/SubaccountsListResponse/subaccounts": subaccounts +"/dfareporting:v2.7/SubaccountsListResponse/subaccounts/subaccount": subaccount +"/dfareporting:v2.7/TagData": tag_data +"/dfareporting:v2.7/TagData/adId": ad_id +"/dfareporting:v2.7/TagData/clickTag": click_tag +"/dfareporting:v2.7/TagData/creativeId": creative_id +"/dfareporting:v2.7/TagData/format": format +"/dfareporting:v2.7/TagData/impressionTag": impression_tag +"/dfareporting:v2.7/TagSetting": tag_setting +"/dfareporting:v2.7/TagSetting/additionalKeyValues": additional_key_values +"/dfareporting:v2.7/TagSetting/includeClickThroughUrls": include_click_through_urls +"/dfareporting:v2.7/TagSetting/includeClickTracking": include_click_tracking +"/dfareporting:v2.7/TagSetting/keywordOption": keyword_option +"/dfareporting:v2.7/TagSettings": tag_settings +"/dfareporting:v2.7/TagSettings/dynamicTagEnabled": dynamic_tag_enabled +"/dfareporting:v2.7/TagSettings/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.7/TargetWindow": target_window +"/dfareporting:v2.7/TargetWindow/customHtml": custom_html +"/dfareporting:v2.7/TargetWindow/targetWindowOption": target_window_option +"/dfareporting:v2.7/TargetableRemarketingList": targetable_remarketing_list +"/dfareporting:v2.7/TargetableRemarketingList/accountId": account_id +"/dfareporting:v2.7/TargetableRemarketingList/active": active +"/dfareporting:v2.7/TargetableRemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.7/TargetableRemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/TargetableRemarketingList/description": description +"/dfareporting:v2.7/TargetableRemarketingList/id": id +"/dfareporting:v2.7/TargetableRemarketingList/kind": kind +"/dfareporting:v2.7/TargetableRemarketingList/lifeSpan": life_span +"/dfareporting:v2.7/TargetableRemarketingList/listSize": list_size +"/dfareporting:v2.7/TargetableRemarketingList/listSource": list_source +"/dfareporting:v2.7/TargetableRemarketingList/name": name +"/dfareporting:v2.7/TargetableRemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.7/TargetableRemarketingListsListResponse": targetable_remarketing_lists_list_response +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/kind": kind +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/targetableRemarketingLists": targetable_remarketing_lists +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/targetableRemarketingLists/targetable_remarketing_list": targetable_remarketing_list +"/dfareporting:v2.7/TargetingTemplate": targeting_template +"/dfareporting:v2.7/TargetingTemplate/accountId": account_id +"/dfareporting:v2.7/TargetingTemplate/advertiserId": advertiser_id +"/dfareporting:v2.7/TargetingTemplate/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/TargetingTemplate/dayPartTargeting": day_part_targeting +"/dfareporting:v2.7/TargetingTemplate/geoTargeting": geo_targeting +"/dfareporting:v2.7/TargetingTemplate/id": id +"/dfareporting:v2.7/TargetingTemplate/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/TargetingTemplate/kind": kind +"/dfareporting:v2.7/TargetingTemplate/languageTargeting": language_targeting +"/dfareporting:v2.7/TargetingTemplate/listTargetingExpression": list_targeting_expression +"/dfareporting:v2.7/TargetingTemplate/name": name +"/dfareporting:v2.7/TargetingTemplate/subaccountId": subaccount_id +"/dfareporting:v2.7/TargetingTemplate/technologyTargeting": technology_targeting +"/dfareporting:v2.7/TargetingTemplatesListResponse": targeting_templates_list_response +"/dfareporting:v2.7/TargetingTemplatesListResponse/kind": kind +"/dfareporting:v2.7/TargetingTemplatesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/TargetingTemplatesListResponse/targetingTemplates": targeting_templates +"/dfareporting:v2.7/TargetingTemplatesListResponse/targetingTemplates/targeting_template": targeting_template +"/dfareporting:v2.7/TechnologyTargeting": technology_targeting +"/dfareporting:v2.7/TechnologyTargeting/browsers": browsers +"/dfareporting:v2.7/TechnologyTargeting/browsers/browser": browser +"/dfareporting:v2.7/TechnologyTargeting/connectionTypes": connection_types +"/dfareporting:v2.7/TechnologyTargeting/connectionTypes/connection_type": connection_type +"/dfareporting:v2.7/TechnologyTargeting/mobileCarriers": mobile_carriers +"/dfareporting:v2.7/TechnologyTargeting/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.7/TechnologyTargeting/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.7/TechnologyTargeting/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.7/TechnologyTargeting/operatingSystems": operating_systems +"/dfareporting:v2.7/TechnologyTargeting/operatingSystems/operating_system": operating_system +"/dfareporting:v2.7/TechnologyTargeting/platformTypes": platform_types +"/dfareporting:v2.7/TechnologyTargeting/platformTypes/platform_type": platform_type +"/dfareporting:v2.7/ThirdPartyAuthenticationToken": third_party_authentication_token +"/dfareporting:v2.7/ThirdPartyAuthenticationToken/name": name +"/dfareporting:v2.7/ThirdPartyAuthenticationToken/value": value +"/dfareporting:v2.7/ThirdPartyTrackingUrl": third_party_tracking_url +"/dfareporting:v2.7/ThirdPartyTrackingUrl/thirdPartyUrlType": third_party_url_type +"/dfareporting:v2.7/ThirdPartyTrackingUrl/url": url +"/dfareporting:v2.7/TranscodeSetting": transcode_setting +"/dfareporting:v2.7/TranscodeSetting/enabledVideoFormats": enabled_video_formats +"/dfareporting:v2.7/TranscodeSetting/enabledVideoFormats/enabled_video_format": enabled_video_format +"/dfareporting:v2.7/TranscodeSetting/kind": kind +"/dfareporting:v2.7/UserDefinedVariableConfiguration": user_defined_variable_configuration +"/dfareporting:v2.7/UserDefinedVariableConfiguration/dataType": data_type +"/dfareporting:v2.7/UserDefinedVariableConfiguration/reportName": report_name +"/dfareporting:v2.7/UserDefinedVariableConfiguration/variableType": variable_type +"/dfareporting:v2.7/UserProfile": user_profile +"/dfareporting:v2.7/UserProfile/accountId": account_id +"/dfareporting:v2.7/UserProfile/accountName": account_name +"/dfareporting:v2.7/UserProfile/etag": etag +"/dfareporting:v2.7/UserProfile/kind": kind +"/dfareporting:v2.7/UserProfile/profileId": profile_id +"/dfareporting:v2.7/UserProfile/subAccountId": sub_account_id +"/dfareporting:v2.7/UserProfile/subAccountName": sub_account_name +"/dfareporting:v2.7/UserProfile/userName": user_name +"/dfareporting:v2.7/UserProfileList": user_profile_list +"/dfareporting:v2.7/UserProfileList/etag": etag +"/dfareporting:v2.7/UserProfileList/items": items +"/dfareporting:v2.7/UserProfileList/items/item": item +"/dfareporting:v2.7/UserProfileList/kind": kind +"/dfareporting:v2.7/UserRole": user_role +"/dfareporting:v2.7/UserRole/accountId": account_id +"/dfareporting:v2.7/UserRole/defaultUserRole": default_user_role +"/dfareporting:v2.7/UserRole/id": id +"/dfareporting:v2.7/UserRole/kind": kind +"/dfareporting:v2.7/UserRole/name": name +"/dfareporting:v2.7/UserRole/parentUserRoleId": parent_user_role_id +"/dfareporting:v2.7/UserRole/permissions": permissions +"/dfareporting:v2.7/UserRole/permissions/permission": permission +"/dfareporting:v2.7/UserRole/subaccountId": subaccount_id +"/dfareporting:v2.7/UserRolePermission": user_role_permission +"/dfareporting:v2.7/UserRolePermission/availability": availability +"/dfareporting:v2.7/UserRolePermission/id": id +"/dfareporting:v2.7/UserRolePermission/kind": kind +"/dfareporting:v2.7/UserRolePermission/name": name +"/dfareporting:v2.7/UserRolePermission/permissionGroupId": permission_group_id +"/dfareporting:v2.7/UserRolePermissionGroup": user_role_permission_group +"/dfareporting:v2.7/UserRolePermissionGroup/id": id +"/dfareporting:v2.7/UserRolePermissionGroup/kind": kind +"/dfareporting:v2.7/UserRolePermissionGroup/name": name +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse": user_role_permission_groups_list_response +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/kind": kind +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/userRolePermissionGroups": user_role_permission_groups +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/userRolePermissionGroups/user_role_permission_group": user_role_permission_group +"/dfareporting:v2.7/UserRolePermissionsListResponse": user_role_permissions_list_response +"/dfareporting:v2.7/UserRolePermissionsListResponse/kind": kind +"/dfareporting:v2.7/UserRolePermissionsListResponse/userRolePermissions": user_role_permissions +"/dfareporting:v2.7/UserRolePermissionsListResponse/userRolePermissions/user_role_permission": user_role_permission +"/dfareporting:v2.7/UserRolesListResponse": user_roles_list_response +"/dfareporting:v2.7/UserRolesListResponse/kind": kind +"/dfareporting:v2.7/UserRolesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/UserRolesListResponse/userRoles": user_roles +"/dfareporting:v2.7/UserRolesListResponse/userRoles/user_role": user_role +"/dfareporting:v2.7/VideoFormat": video_format +"/dfareporting:v2.7/VideoFormat/fileType": file_type +"/dfareporting:v2.7/VideoFormat/id": id +"/dfareporting:v2.7/VideoFormat/kind": kind +"/dfareporting:v2.7/VideoFormat/resolution": resolution +"/dfareporting:v2.7/VideoFormat/targetBitRate": target_bit_rate +"/dfareporting:v2.7/VideoFormatsListResponse": video_formats_list_response +"/dfareporting:v2.7/VideoFormatsListResponse/kind": kind +"/dfareporting:v2.7/VideoFormatsListResponse/videoFormats": video_formats +"/dfareporting:v2.7/VideoFormatsListResponse/videoFormats/video_format": video_format +"/dfareporting:v2.7/VideoOffset": video_offset +"/dfareporting:v2.7/VideoOffset/offsetPercentage": offset_percentage +"/dfareporting:v2.7/VideoOffset/offsetSeconds": offset_seconds +"/dfareporting:v2.7/VideoSettings": video_settings +"/dfareporting:v2.7/VideoSettings/companionSettings": companion_settings +"/dfareporting:v2.7/VideoSettings/kind": kind +"/dfareporting:v2.7/VideoSettings/skippableSettings": skippable_settings +"/dfareporting:v2.7/VideoSettings/transcodeSettings": transcode_settings +"/cloudkms:v1beta1/fields": fields +"/cloudkms:v1beta1/key": key +"/cloudkms:v1beta1/quotaUser": quota_user +"/cloudkms:v1beta1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1beta1/cloudkms.projects.locations.list/filter": filter +"/cloudkms:v1beta1/cloudkms.projects.locations.list/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.get": get_project_location +"/cloudkms:v1beta1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name +"/cloudkms:v1beta1/CloudAuditOptions": cloud_audit_options +"/cloudkms:v1beta1/Binding": binding +"/cloudkms:v1beta1/Binding/members": members +"/cloudkms:v1beta1/Binding/members/member": member +"/cloudkms:v1beta1/Binding/role": role +"/cloudkms:v1beta1/EncryptRequest": encrypt_request +"/cloudkms:v1beta1/EncryptRequest/plaintext": plaintext +"/cloudkms:v1beta1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudkms:v1beta1/TestIamPermissionsResponse/permissions": permissions +"/cloudkms:v1beta1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudkms:v1beta1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1beta1/CryptoKey": crypto_key +"/cloudkms:v1beta1/CryptoKey/name": name +"/cloudkms:v1beta1/CryptoKey/purpose": purpose +"/cloudkms:v1beta1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1beta1/CryptoKey/createTime": create_time +"/cloudkms:v1beta1/CryptoKey/rotationPeriod": rotation_period +"/cloudkms:v1beta1/CryptoKey/primary": primary +"/cloudkms:v1beta1/Rule": rule +"/cloudkms:v1beta1/Rule/logConfig": log_config +"/cloudkms:v1beta1/Rule/logConfig/log_config": log_config +"/cloudkms:v1beta1/Rule/in": in +"/cloudkms:v1beta1/Rule/in/in": in +"/cloudkms:v1beta1/Rule/permissions": permissions +"/cloudkms:v1beta1/Rule/permissions/permission": permission +"/cloudkms:v1beta1/Rule/action": action +"/cloudkms:v1beta1/Rule/notIn": not_in +"/cloudkms:v1beta1/Rule/notIn/not_in": not_in +"/cloudkms:v1beta1/Rule/description": description +"/cloudkms:v1beta1/Rule/conditions": conditions +"/cloudkms:v1beta1/Rule/conditions/condition": condition +"/cloudkms:v1beta1/LogConfig": log_config +"/cloudkms:v1beta1/LogConfig/dataAccess": data_access +"/cloudkms:v1beta1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1beta1/LogConfig/counter": counter +"/cloudkms:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudkms:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/cloudkms:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudkms:v1beta1/DecryptRequest": decrypt_request +"/cloudkms:v1beta1/DecryptRequest/ciphertext": ciphertext +"/cloudkms:v1beta1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1beta1/Location": location +"/cloudkms:v1beta1/Location/labels": labels +"/cloudkms:v1beta1/Location/labels/label": label +"/cloudkms:v1beta1/Location/name": name +"/cloudkms:v1beta1/Location/locationId": location_id +"/cloudkms:v1beta1/Location/metadata": metadata +"/cloudkms:v1beta1/Location/metadata/metadatum": metadatum +"/cloudkms:v1beta1/ListCryptoKeysResponse": list_crypto_keys_response +"/cloudkms:v1beta1/ListCryptoKeysResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListCryptoKeysResponse/cryptoKeys": crypto_keys +"/cloudkms:v1beta1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key +"/cloudkms:v1beta1/ListCryptoKeysResponse/totalSize": total_size +"/cloudkms:v1beta1/Condition": condition +"/cloudkms:v1beta1/Condition/svc": svc +"/cloudkms:v1beta1/Condition/sys": sys +"/cloudkms:v1beta1/Condition/value": value +"/cloudkms:v1beta1/Condition/values": values +"/cloudkms:v1beta1/Condition/values/value": value +"/cloudkms:v1beta1/Condition/iam": iam +"/cloudkms:v1beta1/Condition/op": op +"/cloudkms:v1beta1/CounterOptions": counter_options +"/cloudkms:v1beta1/CounterOptions/metric": metric +"/cloudkms:v1beta1/CounterOptions/field": field +"/cloudkms:v1beta1/AuditLogConfig": audit_log_config +"/cloudkms:v1beta1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudkms:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1beta1/AuditLogConfig/logType": log_type +"/cloudkms:v1beta1/DecryptResponse": decrypt_response +"/cloudkms:v1beta1/DecryptResponse/plaintext": plaintext +"/cloudkms:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudkms:v1beta1/TestIamPermissionsRequest/permissions": permissions +"/cloudkms:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1beta1/Policy": policy +"/cloudkms:v1beta1/Policy/iamOwned": iam_owned +"/cloudkms:v1beta1/Policy/rules": rules +"/cloudkms:v1beta1/Policy/rules/rule": rule +"/cloudkms:v1beta1/Policy/version": version +"/cloudkms:v1beta1/Policy/auditConfigs": audit_configs +"/cloudkms:v1beta1/Policy/auditConfigs/audit_config": audit_config +"/cloudkms:v1beta1/Policy/bindings": bindings +"/cloudkms:v1beta1/Policy/bindings/binding": binding +"/cloudkms:v1beta1/Policy/etag": etag +"/cloudkms:v1beta1/EncryptResponse": encrypt_response +"/cloudkms:v1beta1/EncryptResponse/ciphertext": ciphertext +"/cloudkms:v1beta1/EncryptResponse/name": name +"/cloudkms:v1beta1/KeyRing": key_ring +"/cloudkms:v1beta1/KeyRing/createTime": create_time +"/cloudkms:v1beta1/KeyRing/name": name +"/cloudkms:v1beta1/ListLocationsResponse": list_locations_response +"/cloudkms:v1beta1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListLocationsResponse/locations": locations +"/cloudkms:v1beta1/ListLocationsResponse/locations/location": location +"/cloudkms:v1beta1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request +"/cloudkms:v1beta1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1beta1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request +"/cloudkms:v1beta1/DataAccessOptions": data_access_options +"/cloudkms:v1beta1/ListKeyRingsResponse": list_key_rings_response +"/cloudkms:v1beta1/ListKeyRingsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListKeyRingsResponse/totalSize": total_size +"/cloudkms:v1beta1/ListKeyRingsResponse/keyRings": key_rings +"/cloudkms:v1beta1/ListKeyRingsResponse/keyRings/key_ring": key_ring +"/cloudkms:v1beta1/AuditConfig": audit_config +"/cloudkms:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudkms:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudkms:v1beta1/AuditConfig/exemptedMembers": exempted_members +"/cloudkms:v1beta1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1beta1/AuditConfig/service": service +"/cloudkms:v1beta1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1beta1/CryptoKeyVersion/createTime": create_time +"/cloudkms:v1beta1/CryptoKeyVersion/state": state +"/cloudkms:v1beta1/CryptoKeyVersion/name": name +"/cloudkms:v1beta1/CryptoKeyVersion/destroyEventTime": destroy_event_time +"/cloudkms:v1beta1/CryptoKeyVersion/destroyTime": destroy_time +"/container:v1/container.projects.zones.clusters.nodePools.rollback": rollback_node_pool_upgrade +"/container:v1/container.projects.zones.clusters.nodePools.rollback/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.rollback/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement": set_project_zone_cluster_node_pool_management +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.operations.cancel": cancel_operation +"/container:v1/container.projects.zones.operations.cancel/projectId": project_id +"/container:v1/container.projects.zones.operations.cancel/zone": zone +"/container:v1/container.projects.zones.operations.cancel/operationId": operation_id +"/container:v1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha +"/container:v1/Cluster/expireTime": expire_time +"/container:v1/NodeConfig/serviceAccount": service_account +"/container:v1/NodeConfig/imageType": image_type +"/container:v1/NodeConfig/labels": labels +"/container:v1/NodeConfig/labels/label": label +"/container:v1/NodeConfig/localSsdCount": local_ssd_count +"/container:v1/NodeConfig/tags": tags +"/container:v1/NodeConfig/tags/tag": tag +"/container:v1/NodeConfig/preemptible": preemptible +"/container:v1/NodePool/autoscaling": autoscaling +"/container:v1/NodePool/management": management +"/container:v1/NodePoolAutoscaling": node_pool_autoscaling +"/container:v1/NodePoolAutoscaling/enabled": enabled +"/container:v1/NodePoolAutoscaling/minNodeCount": min_node_count +"/container:v1/NodePoolAutoscaling/maxNodeCount": max_node_count +"/container:v1/NodeManagement": node_management +"/container:v1/NodeManagement/autoUpgrade": auto_upgrade +"/container:v1/NodeManagement/upgradeOptions": upgrade_options +"/container:v1/AutoUpgradeOptions": auto_upgrade_options +"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time +"/container:v1/AutoUpgradeOptions/description": description +"/container:v1/ClusterUpdate/desiredImageType": desired_image_type +"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling +"/container:v1/ClusterUpdate/desiredLocations": desired_locations +"/container:v1/ClusterUpdate/desiredLocations/desired_location": desired_location +"/container:v1/CancelOperationRequest": cancel_operation_request +"/container:v1/Empty": empty +"/container:v1/ServerConfig/defaultImageType": default_image_type +"/container:v1/ServerConfig/validImageTypes": valid_image_types +"/container:v1/ServerConfig/validImageTypes/valid_image_type": valid_image_type +"/container:v1/ServerConfig/validMasterVersions": valid_master_versions +"/container:v1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version +"/container:v1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request +"/container:v1/SetNodePoolManagementRequest": set_node_pool_management_request +"/container:v1/SetNodePoolManagementRequest/management": management +"/manufacturers:v1/key": key +"/manufacturers:v1/quotaUser": quota_user +"/manufacturers:v1/fields": fields +"/manufacturers:v1/manufacturers.accounts.products.get": get_account_product +"/manufacturers:v1/manufacturers.accounts.products.get/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.get/name": name +"/manufacturers:v1/manufacturers.accounts.products.list": list_account_products +"/manufacturers:v1/manufacturers.accounts.products.list/pageSize": page_size +"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.list/pageToken": page_token +"/manufacturers:v1/ListProductsResponse": list_products_response +"/manufacturers:v1/ListProductsResponse/nextPageToken": next_page_token +"/manufacturers:v1/ListProductsResponse/products": products +"/manufacturers:v1/ListProductsResponse/products/product": product +"/manufacturers:v1/Issue": issue +"/manufacturers:v1/Issue/severity": severity +"/manufacturers:v1/Issue/description": description +"/manufacturers:v1/Issue/attribute": attribute +"/manufacturers:v1/Issue/type": type +"/manufacturers:v1/Attributes": attributes +"/manufacturers:v1/Attributes/productPageUrl": product_page_url +"/manufacturers:v1/Attributes/mpn": mpn +"/manufacturers:v1/Attributes/title": title +"/manufacturers:v1/Attributes/productLine": product_line +"/manufacturers:v1/Attributes/productName": product_name +"/manufacturers:v1/Attributes/brand": brand +"/manufacturers:v1/Attributes/productType": product_type +"/manufacturers:v1/Attributes/productType/product_type": product_type +"/manufacturers:v1/Attributes/gtin": gtin +"/manufacturers:v1/Attributes/gtin/gtin": gtin +"/manufacturers:v1/Product": product +"/manufacturers:v1/Product/parent": parent +"/manufacturers:v1/Product/targetCountry": target_country +"/manufacturers:v1/Product/contentLanguage": content_language +"/manufacturers:v1/Product/manuallyDeletedAttributes": manually_deleted_attributes +"/manufacturers:v1/Product/manuallyDeletedAttributes/manually_deleted_attribute": manually_deleted_attribute +"/manufacturers:v1/Product/productId": product_id +"/manufacturers:v1/Product/finalAttributes": final_attributes +"/manufacturers:v1/Product/issues": issues +"/manufacturers:v1/Product/issues/issue": issue +"/manufacturers:v1/Product/name": name +"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes +"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes +"/sqladmin:v1beta4/Settings/availabilityType": availability_type +"/sqladmin:v1beta4/Settings/storageAutoResizeLimit": storage_auto_resize_limit +"/cloudbuild:v1/BuildTrigger/substitutions": substitutions +"/cloudbuild:v1/BuildTrigger/substitutions/substitution": substitution +"/cloudbuild:v1/Build/substitutions": substitutions +"/cloudbuild:v1/Build/substitutions/substitution": substitution +"/content:v2/AccountStatusDataQualityIssue/detail": detail +"/content:v2/AccountStatusDataQualityIssue/location": location +"/dataflow:v1b3/CounterStructuredName/origin": origin +"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace +"/dataflow:v1b3/ResourceUtilizationReport/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metric/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metric/metric/metric": metric +"/deploymentmanager:v2/DeploymentUpdate/description": description +"/drive:v2/drive.changes.getStartPageToken": get_change_start_page_token +"/drive:v2/StartPageToken": start_page_token +"/drive:v2/StartPageToken/kind": kind +"/drive:v2/StartPageToken/startPageToken": start_page_token +"/gmail:v1/gmail.users.history.list/historyTypes": history_types +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete": delete_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get": get_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert": insert_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list": list_user_setting_send_a_smime_infos +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault": set_user_setting_send_a_smime_info_default +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/userId": user_id +"/gmail:v1/ListSmimeInfoResponse": list_smime_info_response +"/gmail:v1/ListSmimeInfoResponse/smimeInfo": smime_info +"/gmail:v1/ListSmimeInfoResponse/smimeInfo/smime_info": smime_info +"/gmail:v1/SmimeInfo": smime_info +"/gmail:v1/SmimeInfo/encryptedKeyPassword": encrypted_key_password +"/gmail:v1/SmimeInfo/expiration": expiration +"/gmail:v1/SmimeInfo/id": id +"/gmail:v1/SmimeInfo/isDefault": is_default +"/gmail:v1/SmimeInfo/issuerCn": issuer_cn +"/gmail:v1/SmimeInfo/pem": pem +"/gmail:v1/SmimeInfo/pkcs12": pkcs12 +"/iam:v1/iam.projects.serviceAccounts.signJwt": sign_service_account_jwt +"/iam:v1/iam.projects.serviceAccounts.signJwt/name": name +"/iam:v1/SignJwtResponse": sign_jwt_response +"/iam:v1/SignJwtResponse/keyId": key_id +"/iam:v1/SignJwtResponse/signedJwt": signed_jwt +"/iam:v1/SignJwtRequest": sign_jwt_request +"/iam:v1/SignJwtRequest/payload": payload +"/slides:v1/LayoutPlaceholderIdMapping": layout_placeholder_id_mapping +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholderObjectId": layout_placeholder_object_id +"/slides:v1/LayoutPlaceholderIdMapping/objectId": object_id_prop +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholder": layout_placeholder +"/slides:v1/Page/notesProperties": notes_properties +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest": replace_all_shapes_with_sheets_chart_request +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/chartId": chart_id +"/slides:v1/Presentation/notesMaster": notes_master +"/slides:v1/SlideProperties/notesPage": notes_page +"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse": replace_all_shapes_with_sheets_chart_response +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse/occurrencesChanged": occurrences_changed +"/slides:v1/NotesProperties": notes_properties +"/slides:v1/NotesProperties/speakerNotesObjectId": speaker_notes_object_id +"/slides:v1/CreateSlideRequest/placeholderIdMappings": placeholder_id_mappings +"/slides:v1/CreateSlideRequest/placeholderIdMappings/placeholder_id_mapping": placeholder_id_mapping +"/youtube:v3/youtube.superChatEvents.list": list_super_chat_events +"/youtube:v3/youtube.superChatEvents.list/hl": hl +"/youtube:v3/youtube.superChatEvents.list/maxResults": max_results +"/youtube:v3/youtube.superChatEvents.list/pageToken": page_token +"/youtube:v3/youtube.superChatEvents.list/part": part +"/youtube:v3/ChannelTopicDetails/topicCategories": topic_categories +"/youtube:v3/ChannelTopicDetails/topicCategories/topic_category": topic_category +"/youtube:v3/LiveChatMessageSnippet/superChatDetails": super_chat_details +"/youtube:v3/LiveChatSuperChatDetails": live_chat_super_chat_details +"/youtube:v3/LiveChatSuperChatDetails/amountDisplayString": amount_display_string +"/youtube:v3/LiveChatSuperChatDetails/amountMicros": amount_micros +"/youtube:v3/LiveChatSuperChatDetails/currency": currency +"/youtube:v3/LiveChatSuperChatDetails/tier": tier +"/youtube:v3/LiveChatSuperChatDetails/userComment": user_comment +"/youtube:v3/SuperChatEvent": super_chat_event +"/youtube:v3/SuperChatEvent/etag": etag +"/youtube:v3/SuperChatEvent/id": id +"/youtube:v3/SuperChatEvent/kind": kind +"/youtube:v3/SuperChatEvent/snippet": snippet +"/youtube:v3/SuperChatEventListResponse": super_chat_event_list_response +"/youtube:v3/SuperChatEventListResponse/etag": etag +"/youtube:v3/SuperChatEventListResponse/eventId": event_id +"/youtube:v3/SuperChatEventListResponse/items": items +"/youtube:v3/SuperChatEventListResponse/items/item": item +"/youtube:v3/SuperChatEventListResponse/kind": kind +"/youtube:v3/SuperChatEventListResponse/nextPageToken": next_page_token +"/youtube:v3/SuperChatEventListResponse/pageInfo": page_info +"/youtube:v3/SuperChatEventListResponse/tokenPagination": token_pagination +"/youtube:v3/SuperChatEventListResponse/visitorId": visitor_id +"/youtube:v3/SuperChatEventSnippet": super_chat_event_snippet +"/youtube:v3/SuperChatEventSnippet/amountMicros": amount_micros +"/youtube:v3/SuperChatEventSnippet/channelId": channel_id +"/youtube:v3/SuperChatEventSnippet/commentText": comment_text +"/youtube:v3/SuperChatEventSnippet/createdAt": created_at +"/youtube:v3/SuperChatEventSnippet/currency": currency +"/youtube:v3/SuperChatEventSnippet/displayString": display_string +"/youtube:v3/SuperChatEventSnippet/messageType": message_type +"/youtube:v3/SuperChatEventSnippet/supporterDetails": supporter_details +"/youtube:v3/VideoTopicDetails/topicCategories": topic_categories +"/youtube:v3/VideoTopicDetails/topicCategories/topic_category": topic_category +"/compute:beta/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list +"/compute:beta/compute.acceleratorTypes.aggregatedList/filter": filter +"/compute:beta/compute.acceleratorTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.aggregatedList/project": project +"/compute:beta/compute.acceleratorTypes.get": get_accelerator_type +"/compute:beta/compute.acceleratorTypes.get/acceleratorType": accelerator_type +"/compute:beta/compute.acceleratorTypes.get/project": project +"/compute:beta/compute.acceleratorTypes.get/zone": zone +"/compute:beta/compute.acceleratorTypes.list": list_accelerator_types +"/compute:beta/compute.acceleratorTypes.list/filter": filter +"/compute:beta/compute.acceleratorTypes.list/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.list/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.list/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.list/project": project +"/compute:beta/compute.acceleratorTypes.list/zone": zone +"/compute:beta/compute.instances.setMachineResources": set_instance_machine_resources +"/compute:beta/compute.instances.setMachineResources/instance": instance +"/compute:beta/compute.instances.setMachineResources/project": project +"/compute:beta/compute.instances.setMachineResources/zone": zone +"/compute:beta/compute.projects.listXpnHosts/filter": filter +"/compute:beta/compute.projects.listXpnHosts/maxResults": max_results +"/compute:beta/compute.projects.listXpnHosts/order_by": order_by +"/compute:beta/compute.projects.listXpnHosts/pageToken": page_token +"/compute:beta/AcceleratorConfig": accelerator_config +"/compute:beta/AcceleratorConfig/acceleratorCount": accelerator_count +"/compute:beta/AcceleratorConfig/acceleratorType": accelerator_type +"/compute:beta/AcceleratorType": accelerator_type +"/compute:beta/AcceleratorType/creationTimestamp": creation_timestamp +"/compute:beta/AcceleratorType/deprecated": deprecated +"/compute:beta/AcceleratorType/description": description +"/compute:beta/AcceleratorType/id": id +"/compute:beta/AcceleratorType/kind": kind +"/compute:beta/AcceleratorType/maximumCardsPerInstance": maximum_cards_per_instance +"/compute:beta/AcceleratorType/name": name +"/compute:beta/AcceleratorType/selfLink": self_link +"/compute:beta/AcceleratorType/zone": zone +"/compute:beta/AcceleratorTypeAggregatedList": accelerator_type_aggregated_list +"/compute:beta/AcceleratorTypeAggregatedList/id": id +"/compute:beta/AcceleratorTypeAggregatedList/items": items +"/compute:beta/AcceleratorTypeAggregatedList/items/item": item +"/compute:beta/AcceleratorTypeAggregatedList/kind": kind +"/compute:beta/AcceleratorTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeAggregatedList/selfLink": self_link +"/compute:beta/AcceleratorTypeList": accelerator_type_list +"/compute:beta/AcceleratorTypeList/id": id +"/compute:beta/AcceleratorTypeList/items": items +"/compute:beta/AcceleratorTypeList/items/item": item +"/compute:beta/AcceleratorTypeList/kind": kind +"/compute:beta/AcceleratorTypeList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeList/selfLink": self_link +"/compute:beta/AcceleratorTypesScopedList": accelerator_types_scoped_list +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes": accelerator_types +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes/accelerator_type": accelerator_type +"/compute:beta/AcceleratorTypesScopedList/warning": warning +"/compute:beta/AcceleratorTypesScopedList/warning/code": code +"/compute:beta/AcceleratorTypesScopedList/warning/data": data +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum": datum +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/key": key +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/value": value +"/compute:beta/AcceleratorTypesScopedList/warning/message": message +"/compute:beta/Instance/guestAccelerators": guest_accelerators +"/compute:beta/Instance/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/InstancesSetMachineResourcesRequest": instances_set_machine_resources_request +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators": guest_accelerators +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/Network/peerings": peerings +"/compute:beta/Network/peerings/peering": peering +"/compute:beta/NetworkPeering": network_peering +"/compute:beta/NetworkPeering/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworkPeering/name": name +"/compute:beta/NetworkPeering/network": network +"/compute:beta/NetworkPeering/state": state +"/compute:beta/NetworkPeering/stateDetails": state_details +"/compute:beta/Route/nextHopPeering": next_hop_peering +"/dataflow:v1b3/Job/pipelineDescription": pipeline_description +"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary +"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source +"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source +"/dataflow:v1b3/ExecutionStageSummary/id": id +"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source +"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source +"/dataflow:v1b3/ExecutionStageSummary/kind": kind +"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source +"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source +"/dataflow:v1b3/ExecutionStageSummary/name": name +"/dataflow:v1b3/CPUTime": cpu_time +"/dataflow:v1b3/CPUTime/timestamp": timestamp +"/dataflow:v1b3/CPUTime/totalMs": total_ms +"/dataflow:v1b3/CPUTime/rate": rate +"/dataflow:v1b3/ComponentTransform": component_transform +"/dataflow:v1b3/ComponentTransform/name": name +"/dataflow:v1b3/ComponentTransform/userName": user_name +"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform +"/dataflow:v1b3/ResourceUtilizationReport/cpuTime": cpu_time +"/dataflow:v1b3/ResourceUtilizationReport/cpuTime/cpu_time": cpu_time +"/dataflow:v1b3/TransformSummary": transform_summary +"/dataflow:v1b3/TransformSummary/id": id +"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name +"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name +"/dataflow:v1b3/TransformSummary/displayData": display_data +"/dataflow:v1b3/TransformSummary/displayData/display_datum": display_datum +"/dataflow:v1b3/TransformSummary/kind": kind +"/dataflow:v1b3/TransformSummary/inputCollectionName": input_collection_name +"/dataflow:v1b3/TransformSummary/inputCollectionName/input_collection_name": input_collection_name +"/dataflow:v1b3/TransformSummary/name": name +"/dataflow:v1b3/StageSource": stage_source +"/dataflow:v1b3/StageSource/name": name +"/dataflow:v1b3/StageSource/originalUserTransformOrCollection": original_user_transform_or_collection +"/dataflow:v1b3/StageSource/sizeBytes": size_bytes +"/dataflow:v1b3/StageSource/userName": user_name +"/dataflow:v1b3/DisplayData": display_data +"/dataflow:v1b3/DisplayData/key": key +"/dataflow:v1b3/DisplayData/shortStrValue": short_str_value +"/dataflow:v1b3/DisplayData/label": label +"/dataflow:v1b3/DisplayData/url": url +"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value +"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value +"/dataflow:v1b3/DisplayData/boolValue": bool_value +"/dataflow:v1b3/DisplayData/strValue": str_value +"/dataflow:v1b3/DisplayData/durationValue": duration_value +"/dataflow:v1b3/DisplayData/int64Value": int64_value +"/dataflow:v1b3/DisplayData/namespace": namespace +"/dataflow:v1b3/DisplayData/floatValue": float_value +"/dataflow:v1b3/PipelineDescription": pipeline_description +"/dataflow:v1b3/PipelineDescription/executionPipelineStage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/executionPipelineStage/execution_pipeline_stage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform": original_pipeline_transform +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform/original_pipeline_transform": original_pipeline_transform +"/dataflow:v1b3/PipelineDescription/displayData": display_data +"/dataflow:v1b3/PipelineDescription/displayData/display_datum": display_datum +"/dataflow:v1b3/ComponentSource": component_source +"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/ComponentSource/name": name +"/dataflow:v1b3/ComponentSource/userName": user_name +"/dataproc:v1/dataproc.projects.regions.jobs.patch": patch_project_region_job +"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id +"/dataproc:v1/JobScheduling": job_scheduling +"/dataproc:v1/JobScheduling/maxFailuresPerHour": max_failures_per_hour +"/dataproc:v1/OperationMetadata/warnings": warnings +"/dataproc:v1/OperationMetadata/warnings/warning": warning +"/dataproc:v1/Job/scheduling": scheduling +"/dataproc:v1/ClusterOperationMetadata/warnings": warnings +"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning +"/dataproc:v1/GceClusterConfig/serviceAccount": service_account +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/localId": local_id +"/identitytoolkit:v3/SetAccountInfoResponse/emailVerified": email_verified +"/identitytoolkit:v3/VerifyAssertionResponse/isNewUser": is_new_user +"/people:v1/people.people.me.connections.list": list_person_me_connections +"/people:v1/people.people.me.connections.list/sortOrder": sort_order +"/people:v1/people.people.me.connections.list/syncToken": sync_token +"/people:v1/people.people.me.connections.list/pageToken": page_token +"/people:v1/people.people.me.connections.list/pageSize": page_size +"/people:v1/people.people.me.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/EmailAddress/displayName": display_name +"/people:v1/Name/phoneticFullName": phonetic_full_name +"/people:v1/Name/displayNameLastFirst": display_name_last_first +"/people:v1/Biography/contentType": content_type +"/people:v1/Source/etag": etag +"/people:v1/Source/resourceName": resource_name +"/people:v1/PersonMetadata/linkedPeopleResourceNames": linked_people_resource_names +"/people:v1/PersonMetadata/linkedPeopleResourceNames/linked_people_resource_name": linked_people_resource_name +"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold +"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations +"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings +"/slides:v1/Request/deleteParagraphBullets": delete_paragraph_bullets +"/slides:v1/DeleteParagraphBulletsRequest": delete_paragraph_bullets_request +"/slides:v1/DeleteParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/DeleteParagraphBulletsRequest/textRange": text_range +"/slides:v1/DeleteParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/Recolor/name": name +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/include-historical-channel-data": include_historical_channel_data +"/slides:v1/UpdateParagraphStyleRequest": update_paragraph_style_request +"/slides:v1/UpdateParagraphStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateParagraphStyleRequest/textRange": text_range +"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateParagraphStyleRequest/style": style +"/slides:v1/UpdateParagraphStyleRequest/fields": fields +"/slides:v1/Request/updateParagraphStyle": update_paragraph_style +"/compute:beta/compute.commitments.aggregatedList": aggregated_commitment_list +"/compute:beta/compute.commitments.aggregatedList/filter": filter +"/compute:beta/compute.commitments.aggregatedList/maxResults": max_results +"/compute:beta/compute.commitments.aggregatedList/orderBy": order_by +"/compute:beta/compute.commitments.aggregatedList/pageToken": page_token +"/compute:beta/compute.commitments.aggregatedList/project": project +"/compute:beta/compute.networks.addPeering": add_network_peering +"/compute:beta/compute.networks.addPeering/network": network +"/compute:beta/compute.networks.addPeering/project": project +"/compute:beta/compute.networks.removePeering": remove_network_peering +"/compute:beta/compute.networks.removePeering/network": network +"/compute:beta/compute.networks.removePeering/project": project +"/compute:beta/compute.projects.disableXpnHost": disable_project_xpn_host +"/compute:beta/compute.projects.disableXpnHost/project": project +"/compute:beta/compute.projects.disableXpnResource": disable_project_xpn_resource +"/compute:beta/compute.projects.disableXpnResource/project": project +"/compute:beta/compute.projects.enableXpnHost": enable_project_xpn_host +"/compute:beta/compute.projects.enableXpnHost/project": project +"/compute:beta/compute.projects.enableXpnResource": enable_project_xpn_resource +"/compute:beta/compute.projects.enableXpnResource/project": project +"/compute:beta/compute.projects.getXpnResources": get_project_xpn_resources +"/compute:beta/compute.projects.getXpnResources/filter": filter +"/compute:beta/compute.projects.getXpnResources/maxResults": max_results +"/compute:beta/compute.projects.getXpnResources/order_by": order_by +"/compute:beta/compute.projects.getXpnResources/pageToken": page_token +"/compute:beta/compute.projects.getXpnResources/project": project +"/compute:beta/compute.regionCommitments.get": get_region_commitment +"/compute:beta/compute.regionCommitments.get/commitment": commitment +"/compute:beta/compute.regionCommitments.get/project": project +"/compute:beta/compute.regionCommitments.get/region": region +"/compute:beta/compute.regionCommitments.insert": insert_region_commitment +"/compute:beta/compute.regionCommitments.insert/project": project +"/compute:beta/compute.regionCommitments.insert/region": region +"/compute:beta/compute.regionCommitments.list": list_region_commitments +"/compute:beta/compute.regionCommitments.list/filter": filter +"/compute:beta/compute.regionCommitments.list/maxResults": max_results +"/compute:beta/compute.regionCommitments.list/orderBy": order_by +"/compute:beta/compute.regionCommitments.list/pageToken": page_token +"/compute:beta/compute.regionCommitments.list/project": project +"/compute:beta/compute.regionCommitments.list/region": region +"/compute:beta/compute.targetTcpProxies.delete": delete_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.delete/project": project +"/compute:beta/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get": get_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get/project": project +"/compute:beta/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert": insert_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert/project": project +"/compute:beta/compute.targetTcpProxies.list": list_target_tcp_proxies +"/compute:beta/compute.targetTcpProxies.list/filter": filter +"/compute:beta/compute.targetTcpProxies.list/maxResults": max_results +"/compute:beta/compute.targetTcpProxies.list/orderBy": order_by +"/compute:beta/compute.targetTcpProxies.list/pageToken": page_token +"/compute:beta/compute.targetTcpProxies.list/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service +"/compute:beta/compute.targetTcpProxies.setBackendService/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header +"/compute:beta/compute.targetTcpProxies.setProxyHeader/project": project +"/compute:beta/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy +"/compute:beta/AliasIpRange": alias_ip_range +"/compute:beta/AliasIpRange/ipCidrRange": ip_cidr_range +"/compute:beta/AliasIpRange/subnetworkRangeName": subnetwork_range_name +"/compute:beta/Commitment": commitment +"/compute:beta/Commitment/creationTimestamp": creation_timestamp +"/compute:beta/Commitment/description": description +"/compute:beta/Commitment/endTimestamp": end_timestamp +"/compute:beta/Commitment/id": id +"/compute:beta/Commitment/kind": kind +"/compute:beta/Commitment/name": name +"/compute:beta/Commitment/plan": plan +"/compute:beta/Commitment/region": region +"/compute:beta/Commitment/resources": resources +"/compute:beta/Commitment/resources/resource": resource +"/compute:beta/Commitment/selfLink": self_link +"/compute:beta/Commitment/startTimestamp": start_timestamp +"/compute:beta/Commitment/status": status +"/compute:beta/Commitment/statusMessage": status_message +"/compute:beta/CommitmentAggregatedList": commitment_aggregated_list +"/compute:beta/CommitmentAggregatedList/id": id +"/compute:beta/CommitmentAggregatedList/items": items +"/compute:beta/CommitmentAggregatedList/items/item": item +"/compute:beta/CommitmentAggregatedList/kind": kind +"/compute:beta/CommitmentAggregatedList/nextPageToken": next_page_token +"/compute:beta/CommitmentAggregatedList/selfLink": self_link +"/compute:beta/CommitmentList": commitment_list +"/compute:beta/CommitmentList/id": id +"/compute:beta/CommitmentList/items": items +"/compute:beta/CommitmentList/items/item": item +"/compute:beta/CommitmentList/kind": kind +"/compute:beta/CommitmentList/nextPageToken": next_page_token +"/compute:beta/CommitmentList/selfLink": self_link +"/compute:beta/CommitmentsScopedList": commitments_scoped_list +"/compute:beta/CommitmentsScopedList/commitments": commitments +"/compute:beta/CommitmentsScopedList/commitments/commitment": commitment +"/compute:beta/CommitmentsScopedList/warning": warning +"/compute:beta/CommitmentsScopedList/warning/code": code +"/compute:beta/CommitmentsScopedList/warning/data": data +"/compute:beta/CommitmentsScopedList/warning/data/datum": datum +"/compute:beta/CommitmentsScopedList/warning/data/datum/key": key +"/compute:beta/CommitmentsScopedList/warning/data/datum/value": value +"/compute:beta/CommitmentsScopedList/warning/message": message +"/compute:beta/NetworkInterface/aliasIpRanges": alias_ip_ranges +"/compute:beta/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range +"/compute:beta/NetworksAddPeeringRequest": networks_add_peering_request +"/compute:beta/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworksAddPeeringRequest/name": name +"/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network +"/compute:beta/NetworksRemovePeeringRequest": networks_remove_peering_request +"/compute:beta/NetworksRemovePeeringRequest/name": name +"/compute:beta/ProjectsDisableXpnResourceRequest": projects_disable_xpn_resource_request +"/compute:beta/ProjectsDisableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsEnableXpnResourceRequest": projects_enable_xpn_resource_request +"/compute:beta/ProjectsEnableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsGetXpnResources": projects_get_xpn_resources +"/compute:beta/ProjectsGetXpnResources/kind": kind +"/compute:beta/ProjectsGetXpnResources/nextPageToken": next_page_token +"/compute:beta/ProjectsGetXpnResources/resources": resources +"/compute:beta/ProjectsGetXpnResources/resources/resource": resource +"/compute:beta/ResourceCommitment": resource_commitment +"/compute:beta/ResourceCommitment/amount": amount +"/compute:beta/ResourceCommitment/type": type +"/compute:beta/Subnetwork/privateIpGoogleAccess": private_ip_google_access +"/compute:beta/Subnetwork/secondaryIpRanges": secondary_ip_ranges +"/compute:beta/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range +"/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range +"/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range +"/compute:beta/SubnetworkSecondaryRange/rangeName": range_name +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest": target_tcp_proxies_set_backend_service_request +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest/service": service +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest": target_tcp_proxies_set_proxy_header_request +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy": target_tcp_proxy +"/compute:beta/TargetTcpProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetTcpProxy/description": description +"/compute:beta/TargetTcpProxy/id": id +"/compute:beta/TargetTcpProxy/kind": kind +"/compute:beta/TargetTcpProxy/name": name +"/compute:beta/TargetTcpProxy/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy/selfLink": self_link +"/compute:beta/TargetTcpProxy/service": service +"/compute:beta/TargetTcpProxyList": target_tcp_proxy_list +"/compute:beta/TargetTcpProxyList/id": id +"/compute:beta/TargetTcpProxyList/items": items +"/compute:beta/TargetTcpProxyList/items/item": item +"/compute:beta/TargetTcpProxyList/kind": kind +"/compute:beta/TargetTcpProxyList/nextPageToken": next_page_token +"/compute:beta/TargetTcpProxyList/selfLink": self_link +"/compute:beta/XpnResourceId": xpn_resource_id +"/compute:beta/XpnResourceId/id": id +"/compute:beta/XpnResourceId/type": type +"/adexchangebuyer:v1.4/DealServingMetadata/alcoholAdsAllowed": alcohol_ads_allowed +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Empty": empty +"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request +"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic +"/adexchangebuyer2:v2beta1/AppContext": app_context +"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types +"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type +"/adexchangebuyer2:v2beta1/NativeContent": native_content +"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/NativeContent/logo": logo +"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url +"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text +"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url +"/adexchangebuyer2:v2beta1/NativeContent/image": image +"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url +"/adexchangebuyer2:v2beta1/NativeContent/headline": headline +"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon +"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action +"/adexchangebuyer2:v2beta1/NativeContent/body": body +"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating +"/adexchangebuyer2:v2beta1/SecurityContext": security_context +"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities +"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security +"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative +"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/HtmlContent": html_content +"/adexchangebuyer2:v2beta1/HtmlContent/height": height +"/adexchangebuyer2:v2beta1/HtmlContent/width": width +"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet +"/adexchangebuyer2:v2beta1/ServingContext": serving_context +"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type +"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type +"/adexchangebuyer2:v2beta1/ServingContext/platform": platform +"/adexchangebuyer2:v2beta1/ServingContext/location": location +"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type +"/adexchangebuyer2:v2beta1/ServingContext/all": all +"/adexchangebuyer2:v2beta1/Image": image +"/adexchangebuyer2:v2beta1/Image/width": width +"/adexchangebuyer2:v2beta1/Image/url": url +"/adexchangebuyer2:v2beta1/Image/height": height +"/adexchangebuyer2:v2beta1/Reason": reason +"/adexchangebuyer2:v2beta1/Reason/status": status +"/adexchangebuyer2:v2beta1/Reason/count": count +"/adexchangebuyer2:v2beta1/VideoContent": video_content +"/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/AuctionContext": auction_context +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes": auction_types +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes/auction_type": auction_type +"/adexchangebuyer2:v2beta1/LocationContext": location_context +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds": geo_criteria_ids +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds/geo_criteria_id": geo_criteria_id +"/adexchangebuyer2:v2beta1/PlatformContext": platform_context +"/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms +"/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform +"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id +"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons +"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason +"/adexchangebuyer2:v2beta1/FilteringStats/date": date +"/adexchangebuyer2:v2beta1/Creative": creative +"/adexchangebuyer2:v2beta1/Creative/video": video +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction +"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url +"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category +"/adexchangebuyer2:v2beta1/Creative/corrections": corrections +"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction +"/adexchangebuyer2:v2beta1/Creative/version": version +"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids +"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url +"/adexchangebuyer2:v2beta1/Creative/html": html +"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category +"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status +"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains +"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id +"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/Creative/attributes": attributes +"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute +"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language +"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Creative/accountId": account_id +"/adexchangebuyer2:v2beta1/Creative/native": native +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/Correction": correction +"/adexchangebuyer2:v2beta1/Correction/type": type +"/adexchangebuyer2:v2beta1/Correction/contexts": contexts +"/adexchangebuyer2:v2beta1/Correction/contexts/context": context +"/adexchangebuyer2:v2beta1/Correction/details": details +"/adexchangebuyer2:v2beta1/Correction/details/detail": detail +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association +"/adexchangebuyer2:v2beta1/Disapproval": disapproval +"/adexchangebuyer2:v2beta1/Disapproval/details": details +"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail +"/adexchangebuyer2:v2beta1/Disapproval/reason": reason +"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request +"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context +"/adexchangebuyer2:v2beta1/ServingRestriction/status": status +"/adexchangebuyer2:v2beta1/Date": date +"/adexchangebuyer2:v2beta1/Date/year": year +"/adexchangebuyer2:v2beta1/Date/day": day +"/adexchangebuyer2:v2beta1/Date/month": month +"/androidpublisher:v2/SubscriptionPurchase/userCancellationTimeMillis": user_cancellation_time_millis +"/cloudkms:v1/quotaUser": quota_user +"/cloudkms:v1/fields": fields +"/cloudkms:v1/key": key +"/cloudkms:v1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter +"/cloudkms:v1/cloudkms.projects.locations.list/name": name +"/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.get": get_project_location +"/cloudkms:v1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1/Condition": condition +"/cloudkms:v1/Condition/op": op +"/cloudkms:v1/Condition/svc": svc +"/cloudkms:v1/Condition/sys": sys +"/cloudkms:v1/Condition/value": value +"/cloudkms:v1/Condition/values": values +"/cloudkms:v1/Condition/values/value": value +"/cloudkms:v1/Condition/iam": iam +"/cloudkms:v1/CounterOptions": counter_options +"/cloudkms:v1/CounterOptions/metric": metric +"/cloudkms:v1/CounterOptions/field": field +"/cloudkms:v1/AuditLogConfig": audit_log_config +"/cloudkms:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditLogConfig/logType": log_type +"/cloudkms:v1/DecryptResponse": decrypt_response +"/cloudkms:v1/DecryptResponse/plaintext": plaintext +"/cloudkms:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudkms:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudkms:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1/ListLocationsResponse": list_locations_response +"/cloudkms:v1/ListLocationsResponse/locations": locations +"/cloudkms:v1/ListLocationsResponse/locations/location": location +"/cloudkms:v1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudkms:v1/Policy": policy +"/cloudkms:v1/Policy/etag": etag +"/cloudkms:v1/Policy/iamOwned": iam_owned +"/cloudkms:v1/Policy/rules": rules +"/cloudkms:v1/Policy/rules/rule": rule +"/cloudkms:v1/Policy/version": version +"/cloudkms:v1/Policy/auditConfigs": audit_configs +"/cloudkms:v1/Policy/auditConfigs/audit_config": audit_config +"/cloudkms:v1/Policy/bindings": bindings +"/cloudkms:v1/Policy/bindings/binding": binding +"/cloudkms:v1/EncryptResponse": encrypt_response +"/cloudkms:v1/EncryptResponse/ciphertext": ciphertext +"/cloudkms:v1/EncryptResponse/name": name +"/cloudkms:v1/KeyRing": key_ring +"/cloudkms:v1/KeyRing/createTime": create_time +"/cloudkms:v1/KeyRing/name": name +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request +"/cloudkms:v1/DataAccessOptions": data_access_options +"/cloudkms:v1/ListKeyRingsResponse": list_key_rings_response +"/cloudkms:v1/ListKeyRingsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListKeyRingsResponse/totalSize": total_size +"/cloudkms:v1/ListKeyRingsResponse/keyRings": key_rings +"/cloudkms:v1/ListKeyRingsResponse/keyRings/key_ring": key_ring +"/cloudkms:v1/AuditConfig": audit_config +"/cloudkms:v1/AuditConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditConfig/service": service +"/cloudkms:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudkms:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudkms:v1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1/CryptoKeyVersion/state": state +"/cloudkms:v1/CryptoKeyVersion/name": name +"/cloudkms:v1/CryptoKeyVersion/destroyEventTime": destroy_event_time +"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time +"/cloudkms:v1/CryptoKeyVersion/createTime": create_time +"/cloudkms:v1/CloudAuditOptions": cloud_audit_options +"/cloudkms:v1/Binding": binding +"/cloudkms:v1/Binding/members": members +"/cloudkms:v1/Binding/members/member": member +"/cloudkms:v1/Binding/role": role +"/cloudkms:v1/EncryptRequest": encrypt_request +"/cloudkms:v1/EncryptRequest/plaintext": plaintext +"/cloudkms:v1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response +"/cloudkms:v1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version +"/cloudkms:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudkms:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudkms:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudkms:v1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1/Rule": rule +"/cloudkms:v1/Rule/notIn": not_in +"/cloudkms:v1/Rule/notIn/not_in": not_in +"/cloudkms:v1/Rule/description": description +"/cloudkms:v1/Rule/conditions": conditions +"/cloudkms:v1/Rule/conditions/condition": condition +"/cloudkms:v1/Rule/logConfig": log_config +"/cloudkms:v1/Rule/logConfig/log_config": log_config +"/cloudkms:v1/Rule/in": in +"/cloudkms:v1/Rule/in/in": in +"/cloudkms:v1/Rule/permissions": permissions +"/cloudkms:v1/Rule/permissions/permission": permission +"/cloudkms:v1/Rule/action": action +"/cloudkms:v1/CryptoKey": crypto_key +"/cloudkms:v1/CryptoKey/purpose": purpose +"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1/CryptoKey/createTime": create_time +"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period +"/cloudkms:v1/CryptoKey/primary": primary +"/cloudkms:v1/CryptoKey/name": name +"/cloudkms:v1/LogConfig": log_config +"/cloudkms:v1/LogConfig/counter": counter +"/cloudkms:v1/LogConfig/dataAccess": data_access +"/cloudkms:v1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1/SetIamPolicyRequest": set_iam_policy_request +"/cloudkms:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudkms:v1/SetIamPolicyRequest/policy": policy +"/cloudkms:v1/DecryptRequest": decrypt_request +"/cloudkms:v1/DecryptRequest/ciphertext": ciphertext +"/cloudkms:v1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/Location": location +"/cloudkms:v1/Location/name": name +"/cloudkms:v1/Location/locationId": location_id +"/cloudkms:v1/Location/metadata": metadata +"/cloudkms:v1/Location/metadata/metadatum": metadatum +"/cloudkms:v1/Location/labels": labels +"/cloudkms:v1/Location/labels/label": label +"/cloudkms:v1/ListCryptoKeysResponse": list_crypto_keys_response +"/cloudkms:v1/ListCryptoKeysResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys": crypto_keys +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key +"/cloudkms:v1/ListCryptoKeysResponse/totalSize": total_size +"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete": delete_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list": list_liens +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/parent": parent +"/cloudresourcemanager:v1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1/AuditLogConfig/logType": log_type +"/cloudresourcemanager:v1/Policy/auditConfigs": audit_configs +"/cloudresourcemanager:v1/Policy/auditConfigs/audit_config": audit_config +"/cloudresourcemanager:v1/AuditConfig": audit_config +"/cloudresourcemanager:v1/AuditConfig/service": service +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1/ListLiensResponse": list_liens_response +"/cloudresourcemanager:v1/ListLiensResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListLiensResponse/liens": liens +"/cloudresourcemanager:v1/ListLiensResponse/liens/lien": lien +"/cloudresourcemanager:v1/Lien": lien +"/cloudresourcemanager:v1/Lien/parent": parent +"/cloudresourcemanager:v1/Lien/createTime": create_time +"/cloudresourcemanager:v1/Lien/name": name +"/cloudresourcemanager:v1/Lien/reason": reason +"/cloudresourcemanager:v1/Lien/origin": origin +"/cloudresourcemanager:v1/Lien/restrictions": restrictions +"/cloudresourcemanager:v1/Lien/restrictions/restriction": restriction +"/cloudresourcemanager:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1beta1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type +"/cloudresourcemanager:v1beta1/Policy/auditConfigs": audit_configs +"/cloudresourcemanager:v1beta1/Policy/auditConfigs/audit_config": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig/service": service +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/compute:v1/compute.backendBuckets.delete": delete_backend_bucket +"/compute:v1/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.delete/project": project +"/compute:v1/compute.backendBuckets.get": get_backend_bucket +"/compute:v1/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.get/project": project +"/compute:v1/compute.backendBuckets.insert": insert_backend_bucket +"/compute:v1/compute.backendBuckets.insert/project": project +"/compute:v1/compute.backendBuckets.list": list_backend_buckets +"/compute:v1/compute.backendBuckets.list/filter": filter +"/compute:v1/compute.backendBuckets.list/maxResults": max_results +"/compute:v1/compute.backendBuckets.list/orderBy": order_by +"/compute:v1/compute.backendBuckets.list/pageToken": page_token +"/compute:v1/compute.backendBuckets.list/project": project +"/compute:v1/compute.backendBuckets.patch": patch_backend_bucket +"/compute:v1/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.patch/project": project +"/compute:v1/compute.backendBuckets.update": update_backend_bucket +"/compute:v1/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.update/project": project +"/compute:v1/compute.disks.createSnapshot/guestFlush": guest_flush +"/compute:v1/BackendBucket": backend_bucket +"/compute:v1/BackendBucket/bucketName": bucket_name +"/compute:v1/BackendBucket/creationTimestamp": creation_timestamp +"/compute:v1/BackendBucket/description": description +"/compute:v1/BackendBucket/enableCdn": enable_cdn +"/compute:v1/BackendBucket/id": id +"/compute:v1/BackendBucket/kind": kind +"/compute:v1/BackendBucket/name": name +"/compute:v1/BackendBucket/selfLink": self_link +"/compute:v1/BackendBucketList": backend_bucket_list +"/compute:v1/BackendBucketList/id": id +"/compute:v1/BackendBucketList/items": items +"/compute:v1/BackendBucketList/items/item": item +"/compute:v1/BackendBucketList/kind": kind +"/compute:v1/BackendBucketList/nextPageToken": next_page_token +"/compute:v1/BackendBucketList/selfLink": self_link +"/dataflow:v1b3/dataflow.projects.templates.launch": launch_project_template +"/dataflow:v1b3/dataflow.projects.templates.launch/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.templates.launch/dryRun": dry_run +"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template +"/dataflow:v1b3/dataflow.projects.templates.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.get/view": view +"/dataflow:v1b3/dataflow.projects.templates.get/gcsPath": gcs_path +"/dataflow:v1b3/TemplateMetadata": template_metadata +"/dataflow:v1b3/TemplateMetadata/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/TemplateMetadata/name": name +"/dataflow:v1b3/TemplateMetadata/parameters": parameters +"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter +"/dataflow:v1b3/TemplateMetadata/description": description +"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response +"/dataflow:v1b3/LaunchTemplateResponse/job": job +"/dataflow:v1b3/LaunchTemplateResponse/status": status +"/dataflow:v1b3/ParameterMetadata": parameter_metadata +"/dataflow:v1b3/ParameterMetadata/regexes": regexes +"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex +"/dataflow:v1b3/ParameterMetadata/label": label +"/dataflow:v1b3/ParameterMetadata/helpText": help_text +"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional +"/dataflow:v1b3/ParameterMetadata/name": name +"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters +"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name +"/dataflow:v1b3/LaunchTemplateParameters/environment": environment +"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters +"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter +"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/GetTemplateResponse": get_template_response +"/dataflow:v1b3/GetTemplateResponse/status": status +"/dataflow:v1b3/GetTemplateResponse/metadata": metadata +"/dataproc:v1/AcceleratorConfig": accelerator_config +"/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri +"/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count +"/dataproc:v1/InstanceGroupConfig/accelerators": accelerators +"/dataproc:v1/InstanceGroupConfig/accelerators/accelerator": accelerator +"/drive:v2/drive.changes.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.get/teamDriveId": team_drive_id +"/drive:v2/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v2/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.list/teamDriveId": team_drive_id +"/drive:v2/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v2/drive.children.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.list/corpora": corpora +"/drive:v2/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.list/teamDriveId": team_drive_id +"/drive:v2/drive.files.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.touch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.trash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.untrash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.parents.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.list/maxResults": max_results +"/drive:v2/drive.permissions.list/pageToken": page_token +"/drive:v2/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.teamdrives.delete": delete_teamdrife +"/drive:v2/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.get": get_teamdrife +"/drive:v2/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.insert": insert_teamdrife +"/drive:v2/drive.teamdrives.insert/requestId": request_id +"/drive:v2/drive.teamdrives.list": list_teamdrives +"/drive:v2/drive.teamdrives.list/maxResults": max_results +"/drive:v2/drive.teamdrives.list/pageToken": page_token +"/drive:v2/drive.teamdrives.update": update_teamdrife +"/drive:v2/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v2/Change/teamDrive": team_drive +"/drive:v2/Change/teamDriveId": team_drive_id +"/drive:v2/Change/type": type +"/drive:v2/ChangeList/newStartPageToken": new_start_page_token +"/drive:v2/File/capabilities": capabilities +"/drive:v2/File/capabilities/canAddChildren": can_add_children +"/drive:v2/File/capabilities/canComment": can_comment +"/drive:v2/File/capabilities/canCopy": can_copy +"/drive:v2/File/capabilities/canDelete": can_delete +"/drive:v2/File/capabilities/canDownload": can_download +"/drive:v2/File/capabilities/canEdit": can_edit +"/drive:v2/File/capabilities/canListChildren": can_list_children +"/drive:v2/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive +"/drive:v2/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item +"/drive:v2/File/capabilities/canReadRevisions": can_read_revisions +"/drive:v2/File/capabilities/canReadTeamDrive": can_read_team_drive +"/drive:v2/File/capabilities/canRemoveChildren": can_remove_children +"/drive:v2/File/capabilities/canRename": can_rename +"/drive:v2/File/capabilities/canShare": can_share +"/drive:v2/File/capabilities/canTrash": can_trash +"/drive:v2/File/capabilities/canUntrash": can_untrash +"/drive:v2/File/hasAugmentedPermissions": has_augmented_permissions +"/drive:v2/File/teamDriveId": team_drive_id +"/drive:v2/File/trashedDate": trashed_date +"/drive:v2/File/trashingUser": trashing_user +"/drive:v2/FileList/incompleteSearch": incomplete_search +"/drive:v2/Permission/teamDrivePermissionDetails": team_drive_permission_details +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail": team_drive_permission_detail +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/additionalRoles": additional_roles +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/additionalRoles/additional_role": additional_role +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inherited": inherited +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inheritedFrom": inherited_from +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/role": role +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/teamDrivePermissionType": team_drive_permission_type +"/drive:v2/PermissionList/nextPageToken": next_page_token +"/drive:v2/TeamDrive": team_drive +"/drive:v2/TeamDrive/capabilities": capabilities +"/drive:v2/TeamDrive/capabilities/canAddChildren": can_add_children +"/drive:v2/TeamDrive/capabilities/canComment": can_comment +"/drive:v2/TeamDrive/capabilities/canCopy": can_copy +"/drive:v2/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive +"/drive:v2/TeamDrive/capabilities/canDownload": can_download +"/drive:v2/TeamDrive/capabilities/canEdit": can_edit +"/drive:v2/TeamDrive/capabilities/canListChildren": can_list_children +"/drive:v2/TeamDrive/capabilities/canManageMembers": can_manage_members +"/drive:v2/TeamDrive/capabilities/canReadRevisions": can_read_revisions +"/drive:v2/TeamDrive/capabilities/canRemoveChildren": can_remove_children +"/drive:v2/TeamDrive/capabilities/canRename": can_rename +"/drive:v2/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive +"/drive:v2/TeamDrive/capabilities/canShare": can_share +"/drive:v2/TeamDrive/id": id +"/drive:v2/TeamDrive/kind": kind +"/drive:v2/TeamDrive/name": name +"/drive:v2/TeamDriveList": team_drive_list +"/drive:v2/TeamDriveList/items": items +"/drive:v2/TeamDriveList/items/item": item +"/drive:v2/TeamDriveList/kind": kind +"/drive:v2/TeamDriveList/nextPageToken": next_page_token +"/drive:v3/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v3/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.list/teamDriveId": team_drive_id +"/drive:v3/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v3/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list/corpora": corpora +"/drive:v3/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list/teamDriveId": team_drive_id +"/drive:v3/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.list/pageSize": page_size +"/drive:v3/drive.permissions.list/pageToken": page_token +"/drive:v3/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.teamdrives.create": create_teamdrife +"/drive:v3/drive.teamdrives.create/requestId": request_id +"/drive:v3/drive.teamdrives.delete": delete_teamdrife +"/drive:v3/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.get": get_teamdrife +"/drive:v3/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.list": list_teamdrives +"/drive:v3/drive.teamdrives.list/pageSize": page_size +"/drive:v3/drive.teamdrives.list/pageToken": page_token +"/drive:v3/drive.teamdrives.update": update_teamdrife +"/drive:v3/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v3/Change/teamDrive": team_drive +"/drive:v3/Change/teamDriveId": team_drive_id +"/drive:v3/Change/type": type +"/drive:v3/File/capabilities/canAddChildren": can_add_children +"/drive:v3/File/capabilities/canDelete": can_delete +"/drive:v3/File/capabilities/canDownload": can_download +"/drive:v3/File/capabilities/canListChildren": can_list_children +"/drive:v3/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive +"/drive:v3/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item +"/drive:v3/File/capabilities/canReadTeamDrive": can_read_team_drive +"/drive:v3/File/capabilities/canRemoveChildren": can_remove_children +"/drive:v3/File/capabilities/canRename": can_rename +"/drive:v3/File/capabilities/canTrash": can_trash +"/drive:v3/File/capabilities/canUntrash": can_untrash +"/drive:v3/File/hasAugmentedPermissions": has_augmented_permissions +"/drive:v3/File/teamDriveId": team_drive_id +"/drive:v3/File/trashedTime": trashed_time +"/drive:v3/File/trashingUser": trashing_user +"/drive:v3/FileList/incompleteSearch": incomplete_search +"/drive:v3/Permission/teamDrivePermissionDetails": team_drive_permission_details +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail": team_drive_permission_detail +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inherited": inherited +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inheritedFrom": inherited_from +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/role": role +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/teamDrivePermissionType": team_drive_permission_type +"/drive:v3/PermissionList/nextPageToken": next_page_token +"/drive:v3/TeamDrive": team_drive +"/drive:v3/TeamDrive/capabilities": capabilities +"/drive:v3/TeamDrive/capabilities/canAddChildren": can_add_children +"/drive:v3/TeamDrive/capabilities/canComment": can_comment +"/drive:v3/TeamDrive/capabilities/canCopy": can_copy +"/drive:v3/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive +"/drive:v3/TeamDrive/capabilities/canDownload": can_download +"/drive:v3/TeamDrive/capabilities/canEdit": can_edit +"/drive:v3/TeamDrive/capabilities/canListChildren": can_list_children +"/drive:v3/TeamDrive/capabilities/canManageMembers": can_manage_members +"/drive:v3/TeamDrive/capabilities/canReadRevisions": can_read_revisions +"/drive:v3/TeamDrive/capabilities/canRemoveChildren": can_remove_children +"/drive:v3/TeamDrive/capabilities/canRename": can_rename +"/drive:v3/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive +"/drive:v3/TeamDrive/capabilities/canShare": can_share +"/drive:v3/TeamDrive/id": id +"/drive:v3/TeamDrive/kind": kind +"/drive:v3/TeamDrive/name": name +"/drive:v3/TeamDriveList": team_drive_list +"/drive:v3/TeamDriveList/kind": kind +"/drive:v3/TeamDriveList/nextPageToken": next_page_token +"/drive:v3/TeamDriveList/teamDrives": team_drives +"/drive:v3/TeamDriveList/teamDrives/team_drife": team_drife +"/partners:v2/partners.leads.list": list_leads +"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.leads.list/pageToken": page_token +"/partners:v2/partners.leads.list/pageSize": page_size +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.leads.list/orderBy": order_by +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.list": list_offers +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.history.list": list_offer_histories +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.history.list/pageToken": page_token +"/partners:v2/partners.offers.history.list/pageSize": page_size +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.history.list/entireCompany": entire_company +"/partners:v2/partners.offers.history.list/orderBy": order_by +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.analytics.list": list_analytics +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.analytics.list/pageToken": page_token +"/partners:v2/partners.analytics.list/pageSize": page_size +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies": update_companies +"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateCompanies/updateMask": update_mask +"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus": get_partnersstatus +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateLeads": update_leads +"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateLeads/updateMask": update_mask +"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.createCompanyRelation/userId": user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.get": get_user +"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.get/userId": user_id +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.get/userView": user_view +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile": update_user_profile +"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.list/specializations": specializations +"/partners:v2/partners.exams.getToken": get_exam_token +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.exams.getToken/examType": exam_type +"/partners:v2/ListLeadsResponse": list_leads_response +"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token +"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata +"/partners:v2/ListLeadsResponse/totalSize": total_size +"/partners:v2/ListLeadsResponse/leads": leads +"/partners:v2/ListLeadsResponse/leads/lead": lead +"/partners:v2/Company/additionalWebsites": additional_websites +"/partners:v2/Company/additionalWebsites/additional_website": additional_website +"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id +"/partners:v2/Company/primaryLocation": primary_location +"/partners:v2/Company/badgeTier": badge_tier +"/partners:v2/Company/specializationStatus": specialization_status +"/partners:v2/Company/specializationStatus/specialization_status": specialization_status +"/partners:v2/Company/companyTypes": company_types +"/partners:v2/Company/companyTypes/company_type": company_type +"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains +"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain +"/partners:v2/Company/primaryLanguageCode": primary_language_code +"/partners:v2/Company/profileStatus": profile_status +"/partners:v2/Location/administrativeArea": administrative_area +"/partners:v2/Location/locality": locality +"/partners:v2/Location/dependentLocality": dependent_locality +"/partners:v2/Location/regionCode": region_code +"/partners:v2/Location/postalCode": postal_code +"/partners:v2/Location/sortingCode": sorting_code +"/partners:v2/Location/languageCode": language_code +"/partners:v2/Location/addressLine": address_line +"/partners:v2/Location/addressLine/address_line": address_line +"/partners:v2/ExamToken": exam_token +"/partners:v2/ExamToken/examId": exam_id +"/partners:v2/ExamToken/token": token +"/partners:v2/ExamToken/examType": exam_type +"/partners:v2/OptIns": opt_ins +"/partners:v2/OptIns/performanceSuggestions": performance_suggestions +"/partners:v2/OptIns/physicalMail": physical_mail +"/partners:v2/OptIns/phoneContact": phone_contact +"/partners:v2/OptIns/marketComm": market_comm +"/partners:v2/OptIns/specialOffers": special_offers +"/partners:v2/GetPartnersStatusResponse": get_partners_status_response +"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata +"/partners:v2/UserProfile": user_profile +"/partners:v2/UserProfile/givenName": given_name +"/partners:v2/UserProfile/address": address +"/partners:v2/UserProfile/industries": industries +"/partners:v2/UserProfile/industries/industry": industry +"/partners:v2/UserProfile/familyName": family_name +"/partners:v2/UserProfile/emailOptIns": email_opt_ins +"/partners:v2/UserProfile/languages": languages +"/partners:v2/UserProfile/languages/language": language +"/partners:v2/UserProfile/markets": markets +"/partners:v2/UserProfile/markets/market": market +"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account +"/partners:v2/UserProfile/phoneNumber": phone_number +"/partners:v2/UserProfile/primaryCountryCode": primary_country_code +"/partners:v2/UserProfile/emailAddress": email_address +"/partners:v2/UserProfile/channels": channels +"/partners:v2/UserProfile/channels/channel": channel +"/partners:v2/UserProfile/profilePublic": profile_public +"/partners:v2/UserProfile/jobFunctions": job_functions +"/partners:v2/UserProfile/jobFunctions/job_function": job_function +"/partners:v2/HistoricalOffer": historical_offer +"/partners:v2/HistoricalOffer/creationTime": creation_time +"/partners:v2/HistoricalOffer/status": status +"/partners:v2/HistoricalOffer/clientEmail": client_email +"/partners:v2/HistoricalOffer/clientId": client_id +"/partners:v2/HistoricalOffer/clientName": client_name +"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time +"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url +"/partners:v2/HistoricalOffer/offerType": offer_type +"/partners:v2/HistoricalOffer/senderName": sender_name +"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code +"/partners:v2/HistoricalOffer/expirationTime": expiration_time +"/partners:v2/HistoricalOffer/offerCode": offer_code +"/partners:v2/AnalyticsDataPoint": analytics_data_point +"/partners:v2/AnalyticsDataPoint/eventLocations": event_locations +"/partners:v2/AnalyticsDataPoint/eventLocations/event_location": event_location +"/partners:v2/AnalyticsDataPoint/eventCount": event_count +"/partners:v2/Analytics": analytics +"/partners:v2/Analytics/contacts": contacts +"/partners:v2/Analytics/eventDate": event_date +"/partners:v2/Analytics/profileViews": profile_views +"/partners:v2/Analytics/searchViews": search_views +"/partners:v2/PublicProfile/profileImage": profile_image +"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info +"/partners:v2/AdWordsManagerAccountInfo/id": id +"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name +"/partners:v2/AvailableOffer": available_offer +"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete +"/partners:v2/AvailableOffer/id": id +"/partners:v2/AvailableOffer/countryOfferInfos": country_offer_infos +"/partners:v2/AvailableOffer/countryOfferInfos/country_offer_info": country_offer_info +"/partners:v2/AvailableOffer/offerType": offer_type +"/partners:v2/AvailableOffer/maxAccountAge": max_account_age +"/partners:v2/AvailableOffer/qualifiedCustomer": qualified_customer +"/partners:v2/AvailableOffer/qualifiedCustomer/qualified_customer": qualified_customer +"/partners:v2/AvailableOffer/terms": terms +"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy +"/partners:v2/AvailableOffer/available": available +"/partners:v2/AvailableOffer/description": description +"/partners:v2/AvailableOffer/offerLevel": offer_level +"/partners:v2/AvailableOffer/name": name +"/partners:v2/AnalyticsSummary": analytics_summary +"/partners:v2/AnalyticsSummary/profileViewsCount": profile_views_count +"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count +"/partners:v2/AnalyticsSummary/contactsCount": contacts_count +"/partners:v2/Lead/languageCode": language_code +"/partners:v2/Lead/state": state +"/partners:v2/Lead/adwordsCustomerId": adwords_customer_id +"/partners:v2/Lead/createTime": create_time +"/partners:v2/Lead/marketingOptIn": marketing_opt_in +"/partners:v2/CompanyRelation": company_relation +"/partners:v2/CompanyRelation/resolvedTimestamp": resolved_timestamp +"/partners:v2/CompanyRelation/companyAdmin": company_admin +"/partners:v2/CompanyRelation/isPending": is_pending +"/partners:v2/CompanyRelation/address": address +"/partners:v2/CompanyRelation/creationTime": creation_time +"/partners:v2/CompanyRelation/state": state +"/partners:v2/CompanyRelation/managerAccount": manager_account +"/partners:v2/CompanyRelation/name": name +"/partners:v2/CompanyRelation/segment": segment +"/partners:v2/CompanyRelation/segment/segment": segment +"/partners:v2/CompanyRelation/badgeTier": badge_tier +"/partners:v2/CompanyRelation/specializationStatus": specialization_status +"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status +"/partners:v2/CompanyRelation/phoneNumber": phone_number +"/partners:v2/CompanyRelation/website": website +"/partners:v2/CompanyRelation/companyId": company_id +"/partners:v2/CompanyRelation/logoUrl": logo_url +"/partners:v2/Date": date +"/partners:v2/Date/month": month +"/partners:v2/Date/year": year +"/partners:v2/Date/day": day +"/partners:v2/Empty": empty +"/partners:v2/ExamStatus": exam_status +"/partners:v2/ExamStatus/expiration": expiration +"/partners:v2/ExamStatus/warning": warning +"/partners:v2/ExamStatus/lastPassed": last_passed +"/partners:v2/ExamStatus/examType": exam_type +"/partners:v2/ExamStatus/passed": passed +"/partners:v2/ExamStatus/taken": taken +"/partners:v2/ListOffersResponse": list_offers_response +"/partners:v2/ListOffersResponse/responseMetadata": response_metadata +"/partners:v2/ListOffersResponse/noOfferReason": no_offer_reason +"/partners:v2/ListOffersResponse/availableOffers": available_offers +"/partners:v2/ListOffersResponse/availableOffers/available_offer": available_offer +"/partners:v2/CountryOfferInfo": country_offer_info +"/partners:v2/CountryOfferInfo/offerCountryCode": offer_country_code +"/partners:v2/CountryOfferInfo/spendXAmount": spend_x_amount +"/partners:v2/CountryOfferInfo/offerType": offer_type +"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount +"/partners:v2/OfferCustomer": offer_customer +"/partners:v2/OfferCustomer/adwordsUrl": adwords_url +"/partners:v2/OfferCustomer/creationTime": creation_time +"/partners:v2/OfferCustomer/offerType": offer_type +"/partners:v2/OfferCustomer/externalCid": external_cid +"/partners:v2/OfferCustomer/countryCode": country_code +"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left +"/partners:v2/OfferCustomer/getYAmount": get_y_amount +"/partners:v2/OfferCustomer/name": name +"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount +"/partners:v2/CertificationStatus/userCount": user_count +"/partners:v2/ListOffersHistoryResponse": list_offers_history_response +"/partners:v2/ListOffersHistoryResponse/offers": offers +"/partners:v2/ListOffersHistoryResponse/offers/offer": offer +"/partners:v2/ListOffersHistoryResponse/nextPageToken": next_page_token +"/partners:v2/ListOffersHistoryResponse/responseMetadata": response_metadata +"/partners:v2/ListOffersHistoryResponse/canShowEntireCompany": can_show_entire_company +"/partners:v2/ListOffersHistoryResponse/totalResults": total_results +"/partners:v2/ListOffersHistoryResponse/showingEntireCompany": showing_entire_company +"/partners:v2/SpecializationStatus": specialization_status +"/partners:v2/SpecializationStatus/badgeSpecialization": badge_specialization +"/partners:v2/SpecializationStatus/badgeSpecializationState": badge_specialization_state +"/partners:v2/Certification": certification +"/partners:v2/Certification/certificationType": certification_type +"/partners:v2/Certification/lastAchieved": last_achieved +"/partners:v2/Certification/achieved": achieved +"/partners:v2/Certification/expiration": expiration +"/partners:v2/Certification/warning": warning +"/partners:v2/User": user +"/partners:v2/User/examStatus": exam_status +"/partners:v2/User/examStatus/exam_status": exam_status +"/partners:v2/User/id": id +"/partners:v2/User/publicProfile": public_profile +"/partners:v2/User/companyVerificationEmail": company_verification_email +"/partners:v2/User/certificationStatus": certification_status +"/partners:v2/User/certificationStatus/certification_status": certification_status +"/partners:v2/User/company": company +"/partners:v2/User/profile": profile +"/partners:v2/User/lastAccessTime": last_access_time +"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts +"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account +"/partners:v2/User/primaryEmails": primary_emails +"/partners:v2/User/primaryEmails/primary_email": primary_email +"/partners:v2/ListAnalyticsResponse": list_analytics_response +"/partners:v2/ListAnalyticsResponse/analytics": analytics +"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic +"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token +"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata +"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary +"/people:v1/people.people.connections.list/requestSyncToken": request_sync_token +"/people:v1/ProfileMetadata": profile_metadata +"/people:v1/ProfileMetadata/objectType": object_type +"/people:v1/AgeRangeType": age_range_type +"/people:v1/AgeRangeType/metadata": metadata +"/people:v1/AgeRangeType/ageRange": age_range +"/people:v1/Source/profileMetadata": profile_metadata +"/people:v1/Person/ageRanges": age_ranges +"/people:v1/Person/ageRanges/age_range": age_range +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete": delete_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/projectId": project_id +"/proximitybeacon:v1beta1/BeaconAttachment/creationTimeMs": creation_time_ms +"/reseller:v1/reseller.resellernotify.getwatchdetails": getwatchdetails_resellernotify +"/reseller:v1/reseller.resellernotify.register": register_resellernotify +"/reseller:v1/reseller.resellernotify.register/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/reseller.resellernotify.unregister": unregister_resellernotify +"/reseller:v1/reseller.resellernotify.unregister/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/ResellernotifyGetwatchdetailsResponse": resellernotify_getwatchdetails_response +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/serviceAccountEmailAddresses": service_account_email_addresses +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/serviceAccountEmailAddresses/service_account_email_address": service_account_email_address +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/topicName": topic_name +"/reseller:v1/ResellernotifyResource": resellernotify_resource +"/reseller:v1/ResellernotifyResource/topicName": topic_name +"/sheets:v4/CellFormat/textRotation": text_rotation +"/sheets:v4/TextRotation": text_rotation +"/sheets:v4/TextRotation/angle": angle +"/sheets:v4/TextRotation/vertical": vertical +"/slides:v1/Page/revisionId": revision_id +"/slides:v1/Presentation/revisionId": revision_id +"/slides:v1/BatchUpdatePresentationRequest/writeControl": write_control +"/slides:v1/WriteControl": write_control +"/slides:v1/WriteControl/requiredRevisionId": required_revision_id +"/sqladmin:v1beta4/sql.flags.list/databaseVersion": database_version +"/sqladmin:v1beta4/sql.instances.list/filter": filter +"/sqladmin:v1beta4/Labels": labels +"/sqladmin:v1beta4/Labels/key": key +"/sqladmin:v1beta4/Labels/value": value +"/sqladmin:v1beta4/Settings/labels": labels +"/sqladmin:v1beta4/Settings/labels/label": label +"/vision:v1/WebEntity": web_entity +"/vision:v1/WebEntity/entityId": entity_id +"/vision:v1/WebEntity/description": description +"/vision:v1/WebEntity/score": score +"/vision:v1/TextProperty": text_property +"/vision:v1/TextProperty/detectedLanguages": detected_languages +"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language +"/vision:v1/TextProperty/detectedBreak": detected_break +"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation +"/vision:v1/AnnotateImageResponse/webDetection": web_detection +"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation +"/vision:v1/CropHintsParams": crop_hints_params +"/vision:v1/CropHintsParams/aspectRatios": aspect_ratios +"/vision:v1/CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio +"/vision:v1/Block": block +"/vision:v1/Block/property": property +"/vision:v1/Block/blockType": block_type +"/vision:v1/Block/boundingBox": bounding_box +"/vision:v1/Block/paragraphs": paragraphs +"/vision:v1/Block/paragraphs/paragraph": paragraph +"/vision:v1/ImageSource/imageUri": image_uri +"/vision:v1/Property/uint64Value": uint64_value +"/vision:v1/WebDetection": web_detection +"/vision:v1/WebDetection/partialMatchingImages": partial_matching_images +"/vision:v1/WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image +"/vision:v1/WebDetection/fullMatchingImages": full_matching_images +"/vision:v1/WebDetection/fullMatchingImages/full_matching_image": full_matching_image +"/vision:v1/WebDetection/webEntities": web_entities +"/vision:v1/WebDetection/webEntities/web_entity": web_entity +"/vision:v1/WebDetection/pagesWithMatchingImages": pages_with_matching_images +"/vision:v1/WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image +"/vision:v1/WebPage": web_page +"/vision:v1/WebPage/url": url +"/vision:v1/WebPage/score": score +"/vision:v1/CropHint": crop_hint +"/vision:v1/CropHint/confidence": confidence +"/vision:v1/CropHint/importanceFraction": importance_fraction +"/vision:v1/CropHint/boundingPoly": bounding_poly +"/vision:v1/WebImage": web_image +"/vision:v1/WebImage/score": score +"/vision:v1/WebImage/url": url +"/vision:v1/Word": word +"/vision:v1/Word/property": property +"/vision:v1/Word/boundingBox": bounding_box +"/vision:v1/Word/symbols": symbols +"/vision:v1/Word/symbols/symbol": symbol +"/vision:v1/Paragraph": paragraph +"/vision:v1/Paragraph/property": property +"/vision:v1/Paragraph/boundingBox": bounding_box +"/vision:v1/Paragraph/words": words +"/vision:v1/Paragraph/words/word": word +"/vision:v1/DetectedBreak": detected_break +"/vision:v1/DetectedBreak/type": type +"/vision:v1/DetectedBreak/isPrefix": is_prefix +"/vision:v1/ImageContext/cropHintsParams": crop_hints_params +"/vision:v1/Page": page +"/vision:v1/Page/width": width +"/vision:v1/Page/blocks": blocks +"/vision:v1/Page/blocks/block": block +"/vision:v1/Page/property": property +"/vision:v1/Page/height": height +"/vision:v1/Symbol": symbol +"/vision:v1/Symbol/property": property +"/vision:v1/Symbol/boundingBox": bounding_box +"/vision:v1/Symbol/text": text +"/vision:v1/CropHintsAnnotation": crop_hints_annotation +"/vision:v1/CropHintsAnnotation/cropHints": crop_hints +"/vision:v1/CropHintsAnnotation/cropHints/crop_hint": crop_hint +"/vision:v1/TextAnnotation": text_annotation +"/vision:v1/TextAnnotation/pages": pages +"/vision:v1/TextAnnotation/pages/page": page +"/vision:v1/TextAnnotation/text": text +"/vision:v1/DetectedLanguage": detected_language +"/vision:v1/DetectedLanguage/languageCode": language_code +"/vision:v1/DetectedLanguage/confidence": confidence +"/youtubePartner:v1/youtubePartner.package.insert": insert_package +"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/Package": package +"/youtubePartner:v1/Package/content": content +"/youtubePartner:v1/Package/id": id +"/youtubePartner:v1/Package/kind": kind +"/youtubePartner:v1/Package/locale": locale +"/youtubePartner:v1/Package/uploaderName": uploader_name +"/youtubePartner:v1/PackageInsertResponse": package_insert_response +"/youtubePartner:v1/PackageInsertResponse/errors": errors +"/youtubePartner:v1/PackageInsertResponse/errors/error": error +"/youtubePartner:v1/PackageInsertResponse/kind": kind +"/youtubePartner:v1/PackageInsertResponse/resource": resource +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork +"/compute:beta/Firewall/denied": denied +"/compute:beta/Firewall/denied/denied": denied +"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol +"/compute:beta/Firewall/denied/denied/ports": ports +"/compute:beta/Firewall/denied/denied/ports/port": port +"/compute:beta/Firewall/destinationRanges": destination_ranges +"/compute:beta/Firewall/destinationRanges/destination_range": destination_range +"/compute:beta/Firewall/direction": direction +"/compute:beta/Firewall/priority": priority +"/compute:beta/ManagedInstance/version": version +"/compute:beta/ManagedInstanceVersion": managed_instance_version +"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template +"/compute:beta/ManagedInstanceVersion/name": name +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access +"/admin:directory_v1/User/posixAccounts": posix_accounts +"/admin:directory_v1/User/sshPublicKeys": ssh_public_keys +"/admin:directory_v1/UserPosixAccount": user_posix_account +"/admin:directory_v1/UserPosixAccount/gecos": gecos +"/admin:directory_v1/UserPosixAccount/gid": gid +"/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory +"/admin:directory_v1/UserPosixAccount/primary": primary +"/admin:directory_v1/UserPosixAccount/shell": shell +"/admin:directory_v1/UserPosixAccount/systemId": system_id +"/admin:directory_v1/UserPosixAccount/uid": uid +"/admin:directory_v1/UserPosixAccount/username": username +"/admin:directory_v1/UserSshPublicKey": user_ssh_public_key +"/admin:directory_v1/UserSshPublicKey/expirationTimeUsec": expiration_time_usec +"/admin:directory_v1/UserSshPublicKey/fingerprint": fingerprint +"/admin:directory_v1/UserSshPublicKey/key": key +"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id +"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields +"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields +"/calendar:v3/DeepLinkData": deep_link_data +"/calendar:v3/DeepLinkData/links": links +"/calendar:v3/DeepLinkData/links/link": link +"/calendar:v3/DeepLinkData/url": url +"/calendar:v3/DisplayInfo": display_info +"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url +"/calendar:v3/DisplayInfo/appShortTitle": app_short_title +"/calendar:v3/DisplayInfo/appTitle": app_title +"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title +"/calendar:v3/DisplayInfo/linkTitle": link_title +"/calendar:v3/EventHabitInstance": event_habit_instance +"/calendar:v3/EventHabitInstance/data": data +"/calendar:v3/EventHabitInstance/parentId": parent_id +"/calendar:v3/HabitInstanceData": habit_instance_data +"/calendar:v3/HabitInstanceData/status": status +"/calendar:v3/HabitInstanceData/statusInferred": status_inferred +"/calendar:v3/HabitInstanceData/type": type +"/calendar:v3/LaunchInfo": launch_info +"/calendar:v3/LaunchInfo/appId": app_id +"/calendar:v3/LaunchInfo/installUrl": install_url +"/calendar:v3/LaunchInfo/intentAction": intent_action +"/calendar:v3/LaunchInfo/uri": uri +"/calendar:v3/Link": link +"/calendar:v3/Link/applinkingSource": applinking_source +"/calendar:v3/Link/displayInfo": display_info +"/calendar:v3/Link/launchInfo": launch_info +"/calendar:v3/Link/platform": platform +"/calendar:v3/Link/url": url +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1": set_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1": get_folder_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1": clear_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1": get_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1": get_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1": set_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1": clear_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1": get_project_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/ListConstraint": list_constraint +"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value +"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request +"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint +"/cloudresourcemanager:v1/ListPolicy": list_policy +"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values +"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value +"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent +"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values +"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value +"/cloudresourcemanager:v1/ListPolicy/allValues": all_values +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1/Constraint": constraint +"/cloudresourcemanager:v1/Constraint/version": version +"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint +"/cloudresourcemanager:v1/Constraint/displayName": display_name +"/cloudresourcemanager:v1/Constraint/description": description +"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default +"/cloudresourcemanager:v1/Constraint/name": name +"/cloudresourcemanager:v1/RestoreDefault": restore_default +"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request +"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1/OrgPolicy": org_policy +"/cloudresourcemanager:v1/OrgPolicy/etag": etag +"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy +"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1/OrgPolicy/version": version +"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default +"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy +"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy +"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest": clear_org_policy_request +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/etag": etag +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1beta1/BooleanConstraint": boolean_constraint +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse": list_org_policies_response +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies": policies +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/OrgPolicy": org_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/version": version +"/cloudresourcemanager:v1beta1/OrgPolicy/restoreDefault": restore_default +"/cloudresourcemanager:v1beta1/OrgPolicy/listPolicy": list_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/etag": etag +"/cloudresourcemanager:v1beta1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1beta1/OrgPolicy/booleanPolicy": boolean_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1beta1/BooleanPolicy": boolean_policy +"/cloudresourcemanager:v1beta1/BooleanPolicy/enforced": enforced +"/cloudresourcemanager:v1beta1/ListConstraint": list_constraint +"/cloudresourcemanager:v1beta1/ListConstraint/suggestedValue": suggested_value +"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest": set_org_policy_request +"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint +"/cloudresourcemanager:v1beta1/ListPolicy": list_policy +"/cloudresourcemanager:v1beta1/ListPolicy/allValues": all_values +"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues": allowed_values +"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1beta1/ListPolicy/suggestedValue": suggested_value +"/cloudresourcemanager:v1beta1/ListPolicy/inheritFromParent": inherit_from_parent +"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues": denied_values +"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues/denied_value": denied_value +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size +"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1beta1/Constraint": constraint +"/cloudresourcemanager:v1beta1/Constraint/description": description +"/cloudresourcemanager:v1beta1/Constraint/displayName": display_name +"/cloudresourcemanager:v1beta1/Constraint/booleanConstraint": boolean_constraint +"/cloudresourcemanager:v1beta1/Constraint/constraintDefault": constraint_default +"/cloudresourcemanager:v1beta1/Constraint/name": name +"/cloudresourcemanager:v1beta1/Constraint/listConstraint": list_constraint +"/cloudresourcemanager:v1beta1/Constraint/version": version +"/cloudresourcemanager:v1beta1/RestoreDefault": restore_default +"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest": get_org_policy_request +"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest/constraint": constraint +"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory +"/dataproc:v1/ClusterStatus/substate": substate +"/dataproc:v1/JobStatus/substate": substate +"/appengine:v1beta5/Application/iap": iap +"/appengine:v1beta5/IdentityAwareProxy": identity_aware_proxy +"/appengine:v1beta5/IdentityAwareProxy/enabled": enabled +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientId": oauth2_client_id +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256 +"/appengine:v1beta5/OperationMetadataV1Beta": operation_metadata_v1_beta +"/appengine:v1beta5/OperationMetadataV1Beta/method": method_prop +"/appengine:v1beta5/OperationMetadataV1Beta/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataV1Beta/endTime": end_time +"/appengine:v1beta5/OperationMetadataV1Beta/user": user +"/appengine:v1beta5/OperationMetadataV1Beta/target": target +"/appengine:v1beta5/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message +"/appengine:v1beta5/OperationMetadataV1Beta/warning": warning +"/appengine:v1beta5/OperationMetadataV1Beta/warning/warning": warning +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/autoCreate": auto_create +"/identitytoolkit:v3/Relyingparty/androidInstallApp": android_install_app +"/identitytoolkit:v3/Relyingparty/androidMinimumVersion": android_minimum_version +"/identitytoolkit:v3/Relyingparty/androidPackageName": android_package_name +"/identitytoolkit:v3/Relyingparty/canHandleCodeInApp": can_handle_code_in_app +"/identitytoolkit:v3/Relyingparty/continueUrl": continue_url +"/identitytoolkit:v3/Relyingparty/iOSAppStoreId": i_os_app_store_id +"/identitytoolkit:v3/Relyingparty/iOSBundleId": i_os_bundle_id +"/licensing:v1/LicenseAssignment/productName": product_name +"/licensing:v1/LicenseAssignment/skuName": sku_name +"/manufacturers:v1/Count": count +"/manufacturers:v1/Count/value": value +"/manufacturers:v1/Count/unit": unit +"/manufacturers:v1/Capacity": capacity +"/manufacturers:v1/Capacity/value": value +"/manufacturers:v1/Capacity/unit": unit +"/manufacturers:v1/ProductDetail": product_detail +"/manufacturers:v1/ProductDetail/attributeValue": attribute_value +"/manufacturers:v1/ProductDetail/sectionName": section_name +"/manufacturers:v1/ProductDetail/attributeName": attribute_name +"/manufacturers:v1/FeatureDescription": feature_description +"/manufacturers:v1/FeatureDescription/text": text +"/manufacturers:v1/FeatureDescription/image": image +"/manufacturers:v1/FeatureDescription/headline": headline +"/manufacturers:v1/Issue/timestamp": timestamp +"/manufacturers:v1/Price": price +"/manufacturers:v1/Price/amount": amount +"/manufacturers:v1/Price/currency": currency +"/manufacturers:v1/Image": image +"/manufacturers:v1/Image/type": type +"/manufacturers:v1/Image/imageUrl": image_url +"/manufacturers:v1/Image/status": status +"/manufacturers:v1/Attributes/sizeSystem": size_system +"/manufacturers:v1/Attributes/theme": theme +"/manufacturers:v1/Attributes/pattern": pattern +"/manufacturers:v1/Attributes/imageLink": image_link +"/manufacturers:v1/Attributes/format": format +"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link +"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link +"/manufacturers:v1/Attributes/videoLink": video_link +"/manufacturers:v1/Attributes/videoLink/video_link": video_link +"/manufacturers:v1/Attributes/color": color +"/manufacturers:v1/Attributes/sizeType": size_type +"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price +"/manufacturers:v1/Attributes/featureDescription": feature_description +"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description +"/manufacturers:v1/Attributes/size": size +"/manufacturers:v1/Attributes/count": count +"/manufacturers:v1/Attributes/disclosureDate": disclosure_date +"/manufacturers:v1/Attributes/material": material +"/manufacturers:v1/Attributes/scent": scent +"/manufacturers:v1/Attributes/ageGroup": age_group +"/manufacturers:v1/Attributes/productDetail": product_detail +"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail +"/manufacturers:v1/Attributes/flavor": flavor +"/manufacturers:v1/Attributes/releaseDate": release_date +"/manufacturers:v1/Attributes/itemGroupId": item_group_id +"/manufacturers:v1/Attributes/capacity": capacity +"/manufacturers:v1/Attributes/description": description +"/manufacturers:v1/Attributes/gender": gender +"/people:v1/ListConnectionsResponse/totalPeople": total_people +"/reseller:v1/Subscription/skuName": sku_name +"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size +"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id +"/slides:v1/WeightedFontFamily": weighted_font_family +"/slides:v1/WeightedFontFamily/fontFamily": font_family +"/slides:v1/WeightedFontFamily/weight": weight +"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family +"/slides:v1/Thumbnail": thumbnail +"/slides:v1/Thumbnail/height": height +"/slides:v1/Thumbnail/contentUrl": content_url +"/slides:v1/Thumbnail/width": width +"/storage:v1/storage.buckets.getIamPolicy": get_bucket_iam_policy +"/storage:v1/storage.buckets.getIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.setIamPolicy": set_bucket_iam_policy +"/storage:v1/storage.buckets.setIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.testIamPermissions": test_bucket_iam_permissions +"/storage:v1/storage.buckets.testIamPermissions/bucket": bucket +"/storage:v1/storage.buckets.testIamPermissions/permissions": permissions +"/storage:v1/storage.objects.getIamPolicy": get_object_iam_policy +"/storage:v1/storage.objects.getIamPolicy/bucket": bucket +"/storage:v1/storage.objects.getIamPolicy/generation": generation +"/storage:v1/storage.objects.getIamPolicy/object": object +"/storage:v1/storage.objects.setIamPolicy": set_object_iam_policy +"/storage:v1/storage.objects.setIamPolicy/bucket": bucket +"/storage:v1/storage.objects.setIamPolicy/generation": generation +"/storage:v1/storage.objects.setIamPolicy/object": object +"/storage:v1/storage.objects.testIamPermissions": test_object_iam_permissions +"/storage:v1/storage.objects.testIamPermissions/bucket": bucket +"/storage:v1/storage.objects.testIamPermissions/generation": generation +"/storage:v1/storage.objects.testIamPermissions/object": object +"/storage:v1/storage.objects.testIamPermissions/permissions": permissions +"/storage:v1/Policy": policy +"/storage:v1/Policy/bindings": bindings +"/storage:v1/Policy/bindings/binding": binding +"/storage:v1/Policy/bindings/binding/members": members +"/storage:v1/Policy/bindings/binding/members/member": member +"/storage:v1/Policy/bindings/binding/role": role +"/storage:v1/Policy/etag": etag +"/storage:v1/Policy/kind": kind +"/storage:v1/Policy/resourceId": resource_id +"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/storage:v1/TestIamPermissionsResponse/kind": kind +"/storage:v1/TestIamPermissionsResponse/permissions": permissions +"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission +"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images +"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image diff --git a/api_names_out.yaml b/api_names_out.yaml index 74ae2732c..6fa76328f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -600,10 +600,16 @@ "/dataproc:v1/dataproc.projects.regions.operations.list": list_operations "/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation "/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request "/datastore:v1beta2/BeginTransactionResponse": begin_transaction_response +"/datastore:v1/AllocateIdsRequest": allocate_ids_request +"/datastore:v1/AllocateIdsResponse": allocate_ids_response +"/datastore:v1/BeginTransactionRequest": begin_transaction_request +"/datastore:v1/BeginTransactionResponse": begin_transaction_response "/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response "/deploymentmanager:v2/ManifestsListResponse": list_manifests_response "/deploymentmanager:v2/OperationsListResponse": list_operations_response @@ -1026,6 +1032,8 @@ "/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission "/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions +"/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech +"/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech "/youtubePartner:v1/fields": fields "/youtubePartner:v1/key": key "/youtubePartner:v1/quotaUser": quota_user @@ -1068,6 +1076,10 @@ "/youtubePartner:v1/youtubePartner.assetSearch.list/q": q "/youtubePartner:v1/youtubePartner.assetSearch.list/sort": sort "/youtubePartner:v1/youtubePartner.assetSearch.list/type": type +"/youtubePartner:v1/youtubePartner.assetShares.list": list_asset_shares +"/youtubePartner:v1/youtubePartner.assetShares.list/assetId": asset_id +"/youtubePartner:v1/youtubePartner.assetShares.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/youtubePartner.assetShares.list/pageToken": page_token "/youtubePartner:v1/youtubePartner.assets.get": get_asset "/youtubePartner:v1/youtubePartner.assets.get/assetId": asset_id "/youtubePartner:v1/youtubePartner.assets.get/fetchMatchPolicy": fetch_match_policy @@ -1349,6 +1361,16 @@ "/youtubePartner:v1/AssetSearchResponse/kind": kind "/youtubePartner:v1/AssetSearchResponse/nextPageToken": next_page_token "/youtubePartner:v1/AssetSearchResponse/pageInfo": page_info +"/youtubePartner:v1/AssetShare": asset_share +"/youtubePartner:v1/AssetShare/kind": kind +"/youtubePartner:v1/AssetShare/shareId": share_id +"/youtubePartner:v1/AssetShare/viewId": view_id +"/youtubePartner:v1/AssetShareListResponse": asset_share_list_response +"/youtubePartner:v1/AssetShareListResponse/items": items +"/youtubePartner:v1/AssetShareListResponse/items/item": item +"/youtubePartner:v1/AssetShareListResponse/kind": kind +"/youtubePartner:v1/AssetShareListResponse/nextPageToken": next_page_token +"/youtubePartner:v1/AssetShareListResponse/pageInfo": page_info "/youtubePartner:v1/AssetSnippet": asset_snippet "/youtubePartner:v1/AssetSnippet/customId": custom_id "/youtubePartner:v1/AssetSnippet/id": id @@ -1885,6 +1907,32 @@ "/compute:beta/compute.autoscalers.update/autoscaler": autoscaler "/compute:beta/compute.autoscalers.update/project": project "/compute:beta/compute.autoscalers.update/zone": zone +"/compute:beta/compute.backendBuckets.delete": delete_backend_bucket +"/compute:beta/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.delete/project": project +"/compute:beta/compute.backendBuckets.get": get_backend_bucket +"/compute:beta/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.get/project": project +"/compute:beta/compute.backendBuckets.insert": insert_backend_bucket +"/compute:beta/compute.backendBuckets.insert/project": project +"/compute:beta/compute.backendBuckets.list": list_backend_buckets +"/compute:beta/compute.backendBuckets.list/filter": filter +"/compute:beta/compute.backendBuckets.list/maxResults": max_results +"/compute:beta/compute.backendBuckets.list/orderBy": order_by +"/compute:beta/compute.backendBuckets.list/pageToken": page_token +"/compute:beta/compute.backendBuckets.list/project": project +"/compute:beta/compute.backendBuckets.patch": patch_backend_bucket +"/compute:beta/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.patch/project": project +"/compute:beta/compute.backendBuckets.update": update_backend_bucket +"/compute:beta/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:beta/compute.backendBuckets.update/project": project +"/compute:beta/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:beta/compute.backendServices.aggregatedList/filter": filter +"/compute:beta/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:beta/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:beta/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:beta/compute.backendServices.aggregatedList/project": project "/compute:beta/compute.backendServices.delete": delete_backend_service "/compute:beta/compute.backendServices.delete/backendService": backend_service "/compute:beta/compute.backendServices.delete/project": project @@ -1932,6 +1980,7 @@ "/compute:beta/compute.disks.aggregatedList/pageToken": page_token "/compute:beta/compute.disks.aggregatedList/project": project "/compute:beta/compute.disks.createSnapshot/disk": disk +"/compute:beta/compute.disks.createSnapshot/guestFlush": guest_flush "/compute:beta/compute.disks.createSnapshot/project": project "/compute:beta/compute.disks.createSnapshot/zone": zone "/compute:beta/compute.disks.delete": delete_disk @@ -2195,7 +2244,11 @@ "/compute:beta/compute.instanceGroupManagers.list/pageToken": page_token "/compute:beta/compute.instanceGroupManagers.list/project": project "/compute:beta/compute.instanceGroupManagers.list/zone": zone +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/filter": filter "/compute:beta/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:beta/compute.instanceGroupManagers.listManagedInstances/project": project "/compute:beta/compute.instanceGroupManagers.listManagedInstances/zone": zone "/compute:beta/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager @@ -2350,6 +2403,10 @@ "/compute:beta/compute.instances.setScheduling/instance": instance "/compute:beta/compute.instances.setScheduling/project": project "/compute:beta/compute.instances.setScheduling/zone": zone +"/compute:beta/compute.instances.setServiceAccount": set_instance_service_account +"/compute:beta/compute.instances.setServiceAccount/instance": instance +"/compute:beta/compute.instances.setServiceAccount/project": project +"/compute:beta/compute.instances.setServiceAccount/zone": zone "/compute:beta/compute.instances.setTags/instance": instance "/compute:beta/compute.instances.setTags/project": project "/compute:beta/compute.instances.setTags/zone": zone @@ -2410,6 +2467,10 @@ "/compute:beta/compute.networks.testIamPermissions/resource": resource "/compute:beta/compute.projects.get": get_project "/compute:beta/compute.projects.get/project": project +"/compute:beta/compute.projects.getXpnHost": get_project_xpn_host +"/compute:beta/compute.projects.getXpnHost/project": project +"/compute:beta/compute.projects.listXpnHosts": list_project_xpn_hosts +"/compute:beta/compute.projects.listXpnHosts/project": project "/compute:beta/compute.projects.moveDisk/project": project "/compute:beta/compute.projects.moveInstance/project": project "/compute:beta/compute.projects.setCommonInstanceMetadata/project": project @@ -2444,6 +2505,40 @@ "/compute:beta/compute.regionAutoscalers.update/autoscaler": autoscaler "/compute:beta/compute.regionAutoscalers.update/project": project "/compute:beta/compute.regionAutoscalers.update/region": region +"/compute:beta/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:beta/compute.regionBackendServices.delete/backendService": backend_service +"/compute:beta/compute.regionBackendServices.delete/project": project +"/compute:beta/compute.regionBackendServices.delete/region": region +"/compute:beta/compute.regionBackendServices.get": get_region_backend_service +"/compute:beta/compute.regionBackendServices.get/backendService": backend_service +"/compute:beta/compute.regionBackendServices.get/project": project +"/compute:beta/compute.regionBackendServices.get/region": region +"/compute:beta/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:beta/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:beta/compute.regionBackendServices.getHealth/project": project +"/compute:beta/compute.regionBackendServices.getHealth/region": region +"/compute:beta/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:beta/compute.regionBackendServices.insert/project": project +"/compute:beta/compute.regionBackendServices.insert/region": region +"/compute:beta/compute.regionBackendServices.list": list_region_backend_services +"/compute:beta/compute.regionBackendServices.list/filter": filter +"/compute:beta/compute.regionBackendServices.list/maxResults": max_results +"/compute:beta/compute.regionBackendServices.list/orderBy": order_by +"/compute:beta/compute.regionBackendServices.list/pageToken": page_token +"/compute:beta/compute.regionBackendServices.list/project": project +"/compute:beta/compute.regionBackendServices.list/region": region +"/compute:beta/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:beta/compute.regionBackendServices.patch/backendService": backend_service +"/compute:beta/compute.regionBackendServices.patch/project": project +"/compute:beta/compute.regionBackendServices.patch/region": region +"/compute:beta/compute.regionBackendServices.testIamPermissions": test_region_backend_service_iam_permissions +"/compute:beta/compute.regionBackendServices.testIamPermissions/project": project +"/compute:beta/compute.regionBackendServices.testIamPermissions/region": region +"/compute:beta/compute.regionBackendServices.testIamPermissions/resource": resource +"/compute:beta/compute.regionBackendServices.update": update_region_backend_service +"/compute:beta/compute.regionBackendServices.update/backendService": backend_service +"/compute:beta/compute.regionBackendServices.update/project": project +"/compute:beta/compute.regionBackendServices.update/region": region "/compute:beta/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances "/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager "/compute:beta/compute.regionInstanceGroupManagers.abandonInstances/project": project @@ -2471,9 +2566,17 @@ "/compute:beta/compute.regionInstanceGroupManagers.list/project": project "/compute:beta/compute.regionInstanceGroupManagers.list/region": region "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/project": project "/compute:beta/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:beta/compute.regionInstanceGroupManagers.patch": patch_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.patch/project": project +"/compute:beta/compute.regionInstanceGroupManagers.patch/region": region "/compute:beta/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances "/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager "/compute:beta/compute.regionInstanceGroupManagers.recreateInstances/project": project @@ -2499,6 +2602,10 @@ "/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/project": project "/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/region": region "/compute:beta/compute.regionInstanceGroupManagers.testIamPermissions/resource": resource +"/compute:beta/compute.regionInstanceGroupManagers.update": update_region_instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.regionInstanceGroupManagers.update/project": project +"/compute:beta/compute.regionInstanceGroupManagers.update/region": region "/compute:beta/compute.regionInstanceGroups.get": get_region_instance_group "/compute:beta/compute.regionInstanceGroups.get/instanceGroup": instance_group "/compute:beta/compute.regionInstanceGroups.get/project": project @@ -2661,6 +2768,10 @@ "/compute:beta/compute.subnetworks.get/project": project "/compute:beta/compute.subnetworks.get/region": region "/compute:beta/compute.subnetworks.get/subnetwork": subnetwork +"/compute:beta/compute.subnetworks.getIamPolicy": get_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.getIamPolicy/project": project +"/compute:beta/compute.subnetworks.getIamPolicy/region": region +"/compute:beta/compute.subnetworks.getIamPolicy/resource": resource "/compute:beta/compute.subnetworks.insert": insert_subnetwork "/compute:beta/compute.subnetworks.insert/project": project "/compute:beta/compute.subnetworks.insert/region": region @@ -2671,6 +2782,10 @@ "/compute:beta/compute.subnetworks.list/pageToken": page_token "/compute:beta/compute.subnetworks.list/project": project "/compute:beta/compute.subnetworks.list/region": region +"/compute:beta/compute.subnetworks.setIamPolicy": set_subnetwork_iam_policy +"/compute:beta/compute.subnetworks.setIamPolicy/project": project +"/compute:beta/compute.subnetworks.setIamPolicy/region": region +"/compute:beta/compute.subnetworks.setIamPolicy/resource": resource "/compute:beta/compute.subnetworks.testIamPermissions": test_subnetwork_iam_permissions "/compute:beta/compute.subnetworks.testIamPermissions/project": project "/compute:beta/compute.subnetworks.testIamPermissions/region": region @@ -2981,6 +3096,16 @@ "/compute:beta/AttachedDiskInitializeParams/diskType": disk_type "/compute:beta/AttachedDiskInitializeParams/sourceImage": source_image "/compute:beta/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key +"/compute:beta/AuditConfig": audit_config +"/compute:beta/AuditConfig/auditLogConfigs": audit_log_configs +"/compute:beta/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/compute:beta/AuditConfig/exemptedMembers": exempted_members +"/compute:beta/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditConfig/service": service +"/compute:beta/AuditLogConfig": audit_log_config +"/compute:beta/AuditLogConfig/exemptedMembers": exempted_members +"/compute:beta/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/compute:beta/AuditLogConfig/logType": log_type "/compute:beta/Autoscaler": autoscaler "/compute:beta/Autoscaler/autoscalingPolicy": autoscaling_policy "/compute:beta/Autoscaler/creationTimestamp": creation_timestamp @@ -3048,6 +3173,22 @@ "/compute:beta/Backend/maxRate": max_rate "/compute:beta/Backend/maxRatePerInstance": max_rate_per_instance "/compute:beta/Backend/maxUtilization": max_utilization +"/compute:beta/BackendBucket": backend_bucket +"/compute:beta/BackendBucket/bucketName": bucket_name +"/compute:beta/BackendBucket/creationTimestamp": creation_timestamp +"/compute:beta/BackendBucket/description": description +"/compute:beta/BackendBucket/enableCdn": enable_cdn +"/compute:beta/BackendBucket/id": id +"/compute:beta/BackendBucket/kind": kind +"/compute:beta/BackendBucket/name": name +"/compute:beta/BackendBucket/selfLink": self_link +"/compute:beta/BackendBucketList": backend_bucket_list +"/compute:beta/BackendBucketList/id": id +"/compute:beta/BackendBucketList/items": items +"/compute:beta/BackendBucketList/items/item": item +"/compute:beta/BackendBucketList/kind": kind +"/compute:beta/BackendBucketList/nextPageToken": next_page_token +"/compute:beta/BackendBucketList/selfLink": self_link "/compute:beta/BackendService": backend_service "/compute:beta/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec "/compute:beta/BackendService/backends": backends @@ -3059,8 +3200,10 @@ "/compute:beta/BackendService/fingerprint": fingerprint "/compute:beta/BackendService/healthChecks": health_checks "/compute:beta/BackendService/healthChecks/health_check": health_check +"/compute:beta/BackendService/iap": iap "/compute:beta/BackendService/id": id "/compute:beta/BackendService/kind": kind +"/compute:beta/BackendService/loadBalancingScheme": load_balancing_scheme "/compute:beta/BackendService/name": name "/compute:beta/BackendService/port": port "/compute:beta/BackendService/portName": port_name @@ -3069,10 +3212,22 @@ "/compute:beta/BackendService/selfLink": self_link "/compute:beta/BackendService/sessionAffinity": session_affinity "/compute:beta/BackendService/timeoutSec": timeout_sec +"/compute:beta/BackendServiceAggregatedList": backend_service_aggregated_list +"/compute:beta/BackendServiceAggregatedList/id": id +"/compute:beta/BackendServiceAggregatedList/items": items +"/compute:beta/BackendServiceAggregatedList/items/item": item +"/compute:beta/BackendServiceAggregatedList/kind": kind +"/compute:beta/BackendServiceAggregatedList/nextPageToken": next_page_token +"/compute:beta/BackendServiceAggregatedList/selfLink": self_link "/compute:beta/BackendServiceGroupHealth": backend_service_group_health "/compute:beta/BackendServiceGroupHealth/healthStatus": health_status "/compute:beta/BackendServiceGroupHealth/healthStatus/health_status": health_status "/compute:beta/BackendServiceGroupHealth/kind": kind +"/compute:beta/BackendServiceIAP": backend_service_iap +"/compute:beta/BackendServiceIAP/enabled": enabled +"/compute:beta/BackendServiceIAP/oauth2ClientId": oauth2_client_id +"/compute:beta/BackendServiceIAP/oauth2ClientSecret": oauth2_client_secret +"/compute:beta/BackendServiceIAP/oauth2ClientSecretSha256": oauth2_client_secret_sha256 "/compute:beta/BackendServiceList": backend_service_list "/compute:beta/BackendServiceList/id": id "/compute:beta/BackendServiceList/items": items @@ -3080,8 +3235,31 @@ "/compute:beta/BackendServiceList/kind": kind "/compute:beta/BackendServiceList/nextPageToken": next_page_token "/compute:beta/BackendServiceList/selfLink": self_link +"/compute:beta/BackendServicesScopedList": backend_services_scoped_list +"/compute:beta/BackendServicesScopedList/backendServices": backend_services +"/compute:beta/BackendServicesScopedList/backendServices/backend_service": backend_service +"/compute:beta/BackendServicesScopedList/warning": warning +"/compute:beta/BackendServicesScopedList/warning/code": code +"/compute:beta/BackendServicesScopedList/warning/data": data +"/compute:beta/BackendServicesScopedList/warning/data/datum": datum +"/compute:beta/BackendServicesScopedList/warning/data/datum/key": key +"/compute:beta/BackendServicesScopedList/warning/data/datum/value": value +"/compute:beta/BackendServicesScopedList/warning/message": message +"/compute:beta/Binding": binding +"/compute:beta/Binding/members": members +"/compute:beta/Binding/members/member": member +"/compute:beta/Binding/role": role "/compute:beta/CacheInvalidationRule": cache_invalidation_rule +"/compute:beta/CacheInvalidationRule/host": host "/compute:beta/CacheInvalidationRule/path": path +"/compute:beta/Condition": condition +"/compute:beta/Condition/iam": iam +"/compute:beta/Condition/op": op +"/compute:beta/Condition/svc": svc +"/compute:beta/Condition/sys": sys +"/compute:beta/Condition/value": value +"/compute:beta/Condition/values": values +"/compute:beta/Condition/values/value": value "/compute:beta/ConnectionDraining": connection_draining "/compute:beta/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec "/compute:beta/CustomerEncryptionKey": customer_encryption_key @@ -3219,14 +3397,20 @@ "/compute:beta/ForwardingRule": forwarding_rule "/compute:beta/ForwardingRule/IPAddress": ip_address "/compute:beta/ForwardingRule/IPProtocol": ip_protocol +"/compute:beta/ForwardingRule/backendService": backend_service "/compute:beta/ForwardingRule/creationTimestamp": creation_timestamp "/compute:beta/ForwardingRule/description": description "/compute:beta/ForwardingRule/id": id "/compute:beta/ForwardingRule/kind": kind +"/compute:beta/ForwardingRule/loadBalancingScheme": load_balancing_scheme "/compute:beta/ForwardingRule/name": name +"/compute:beta/ForwardingRule/network": network "/compute:beta/ForwardingRule/portRange": port_range +"/compute:beta/ForwardingRule/ports": ports +"/compute:beta/ForwardingRule/ports/port": port "/compute:beta/ForwardingRule/region": region "/compute:beta/ForwardingRule/selfLink": self_link +"/compute:beta/ForwardingRule/subnetwork": subnetwork "/compute:beta/ForwardingRule/target": target "/compute:beta/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list "/compute:beta/ForwardingRuleAggregatedList/id": id @@ -3256,12 +3440,8 @@ "/compute:beta/GlobalSetLabelsRequest/labelFingerprint": label_fingerprint "/compute:beta/GlobalSetLabelsRequest/labels": labels "/compute:beta/GlobalSetLabelsRequest/labels/label": label -"/compute:beta/HTTP2HealthCheck": http2_health_check -"/compute:beta/HTTP2HealthCheck/host": host -"/compute:beta/HTTP2HealthCheck/port": port -"/compute:beta/HTTP2HealthCheck/portName": port_name -"/compute:beta/HTTP2HealthCheck/proxyHeader": proxy_header -"/compute:beta/HTTP2HealthCheck/requestPath": request_path +"/compute:beta/GuestOsFeature": guest_os_feature +"/compute:beta/GuestOsFeature/type": type "/compute:beta/HTTPHealthCheck": http_health_check "/compute:beta/HTTPHealthCheck/host": host "/compute:beta/HTTPHealthCheck/port": port @@ -3279,7 +3459,6 @@ "/compute:beta/HealthCheck/creationTimestamp": creation_timestamp "/compute:beta/HealthCheck/description": description "/compute:beta/HealthCheck/healthyThreshold": healthy_threshold -"/compute:beta/HealthCheck/http2HealthCheck": http2_health_check "/compute:beta/HealthCheck/httpHealthCheck": http_health_check "/compute:beta/HealthCheck/httpsHealthCheck": https_health_check "/compute:beta/HealthCheck/id": id @@ -3290,6 +3469,7 @@ "/compute:beta/HealthCheck/tcpHealthCheck": tcp_health_check "/compute:beta/HealthCheck/timeoutSec": timeout_sec "/compute:beta/HealthCheck/type": type +"/compute:beta/HealthCheck/udpHealthCheck": udp_health_check "/compute:beta/HealthCheck/unhealthyThreshold": unhealthy_threshold "/compute:beta/HealthCheckList": health_check_list "/compute:beta/HealthCheckList/id": id @@ -3359,6 +3539,8 @@ "/compute:beta/Image/description": description "/compute:beta/Image/diskSizeGb": disk_size_gb "/compute:beta/Image/family": family +"/compute:beta/Image/guestOsFeatures": guest_os_features +"/compute:beta/Image/guestOsFeatures/guest_os_feature": guest_os_feature "/compute:beta/Image/id": id "/compute:beta/Image/imageEncryptionKey": image_encryption_key "/compute:beta/Image/kind": kind @@ -3464,6 +3646,7 @@ "/compute:beta/InstanceGroupManager/namedPorts/named_port": named_port "/compute:beta/InstanceGroupManager/region": region "/compute:beta/InstanceGroupManager/selfLink": self_link +"/compute:beta/InstanceGroupManager/serviceAccount": service_account "/compute:beta/InstanceGroupManager/targetPools": target_pools "/compute:beta/InstanceGroupManager/targetPools/target_pool": target_pool "/compute:beta/InstanceGroupManager/targetSize": target_size @@ -3619,6 +3802,10 @@ "/compute:beta/InstancesSetLabelsRequest/labels/label": label "/compute:beta/InstancesSetMachineTypeRequest": instances_set_machine_type_request "/compute:beta/InstancesSetMachineTypeRequest/machineType": machine_type +"/compute:beta/InstancesSetServiceAccountRequest": instances_set_service_account_request +"/compute:beta/InstancesSetServiceAccountRequest/email": email +"/compute:beta/InstancesSetServiceAccountRequest/scopes": scopes +"/compute:beta/InstancesSetServiceAccountRequest/scopes/scope": scope "/compute:beta/InstancesStartWithEncryptionKeyRequest": instances_start_with_encryption_key_request "/compute:beta/InstancesStartWithEncryptionKeyRequest/disks": disks "/compute:beta/InstancesStartWithEncryptionKeyRequest/disks/disk": disk @@ -3627,6 +3814,11 @@ "/compute:beta/License/kind": kind "/compute:beta/License/name": name "/compute:beta/License/selfLink": self_link +"/compute:beta/LogConfig": log_config +"/compute:beta/LogConfig/counter": counter +"/compute:beta/LogConfigCounterOptions": log_config_counter_options +"/compute:beta/LogConfigCounterOptions/field": field +"/compute:beta/LogConfigCounterOptions/metric": metric "/compute:beta/MachineType": machine_type "/compute:beta/MachineType/creationTimestamp": creation_timestamp "/compute:beta/MachineType/deprecated": deprecated @@ -3784,6 +3976,16 @@ "/compute:beta/PathRule/paths": paths "/compute:beta/PathRule/paths/path": path "/compute:beta/PathRule/service": service +"/compute:beta/Policy": policy +"/compute:beta/Policy/auditConfigs": audit_configs +"/compute:beta/Policy/auditConfigs/audit_config": audit_config +"/compute:beta/Policy/bindings": bindings +"/compute:beta/Policy/bindings/binding": binding +"/compute:beta/Policy/etag": etag +"/compute:beta/Policy/iamOwned": iam_owned +"/compute:beta/Policy/rules": rules +"/compute:beta/Policy/rules/rule": rule +"/compute:beta/Policy/version": version "/compute:beta/Project": project "/compute:beta/Project/commonInstanceMetadata": common_instance_metadata "/compute:beta/Project/creationTimestamp": creation_timestamp @@ -3798,6 +4000,9 @@ "/compute:beta/Project/quotas/quota": quota "/compute:beta/Project/selfLink": self_link "/compute:beta/Project/usageExportLocation": usage_export_location +"/compute:beta/Project/xpnProjectStatus": xpn_project_status +"/compute:beta/ProjectsListXpnHostsRequest": projects_list_xpn_hosts_request +"/compute:beta/ProjectsListXpnHostsRequest/organization": organization "/compute:beta/Quota": quota "/compute:beta/Quota/limit": limit "/compute:beta/Quota/metric": metric @@ -3986,6 +4191,19 @@ "/compute:beta/RoutersScopedList/warning/data/datum/key": key "/compute:beta/RoutersScopedList/warning/data/datum/value": value "/compute:beta/RoutersScopedList/warning/message": message +"/compute:beta/Rule": rule +"/compute:beta/Rule/action": action +"/compute:beta/Rule/conditions": conditions +"/compute:beta/Rule/conditions/condition": condition +"/compute:beta/Rule/description": description +"/compute:beta/Rule/ins": ins +"/compute:beta/Rule/ins/in": in +"/compute:beta/Rule/logConfigs": log_configs +"/compute:beta/Rule/logConfigs/log_config": log_config +"/compute:beta/Rule/notIns": not_ins +"/compute:beta/Rule/notIns/not_in": not_in +"/compute:beta/Rule/permissions": permissions +"/compute:beta/Rule/permissions/permission": permission "/compute:beta/SSLHealthCheck": ssl_health_check "/compute:beta/SSLHealthCheck/port": port "/compute:beta/SSLHealthCheck/portName": port_name @@ -4292,6 +4510,11 @@ "/compute:beta/TestPermissionsResponse": test_permissions_response "/compute:beta/TestPermissionsResponse/permissions": permissions "/compute:beta/TestPermissionsResponse/permissions/permission": permission +"/compute:beta/UDPHealthCheck": udp_health_check +"/compute:beta/UDPHealthCheck/port": port +"/compute:beta/UDPHealthCheck/portName": port_name +"/compute:beta/UDPHealthCheck/request": request +"/compute:beta/UDPHealthCheck/response": response "/compute:beta/UrlMap": url_map "/compute:beta/UrlMap/creationTimestamp": creation_timestamp "/compute:beta/UrlMap/defaultService": default_service @@ -4377,6 +4600,13 @@ "/compute:beta/VpnTunnelsScopedList/warning/data/datum/key": key "/compute:beta/VpnTunnelsScopedList/warning/data/datum/value": value "/compute:beta/VpnTunnelsScopedList/warning/message": message +"/compute:beta/XpnHostList": xpn_host_list +"/compute:beta/XpnHostList/id": id +"/compute:beta/XpnHostList/items": items +"/compute:beta/XpnHostList/items/item": item +"/compute:beta/XpnHostList/kind": kind +"/compute:beta/XpnHostList/nextPageToken": next_page_token +"/compute:beta/XpnHostList/selfLink": self_link "/compute:beta/Zone": zone "/compute:beta/Zone/creationTimestamp": creation_timestamp "/compute:beta/Zone/deprecated": deprecated @@ -4899,8 +5129,10 @@ "/adexchangebuyer:v1.4/adexchangebuyer.accounts.get/id": id "/adexchangebuyer:v1.4/adexchangebuyer.accounts.list": list_accounts "/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch": patch_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/confirmUnsafeAccountChange": confirm_unsafe_account_change "/adexchangebuyer:v1.4/adexchangebuyer.accounts.patch/id": id "/adexchangebuyer:v1.4/adexchangebuyer.accounts.update": update_account +"/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/confirmUnsafeAccountChange": confirm_unsafe_account_change "/adexchangebuyer:v1.4/adexchangebuyer.accounts.update/id": id "/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get": get_billing_info "/adexchangebuyer:v1.4/adexchangebuyer.billingInfo.get/accountId": account_id @@ -4929,6 +5161,9 @@ "/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/maxResults": max_results "/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/openAuctionStatusFilter": open_auction_status_filter "/adexchangebuyer:v1.4/adexchangebuyer.creatives.list/pageToken": page_token +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals": list_creative_deals +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/accountId": account_id +"/adexchangebuyer:v1.4/adexchangebuyer.creatives.listDeals/buyerCreativeId": buyer_creative_id "/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal": remove_creative_deal "/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/accountId": account_id "/adexchangebuyer:v1.4/adexchangebuyer.creatives.removeDeal/buyerCreativeId": buyer_creative_id @@ -5102,6 +5337,7 @@ "/adexchangebuyer:v1.4/Creative/nativeAd/appIcon/width": width "/adexchangebuyer:v1.4/Creative/nativeAd/body": body "/adexchangebuyer:v1.4/Creative/nativeAd/callToAction": call_to_action +"/adexchangebuyer:v1.4/Creative/nativeAd/clickLinkUrl": click_link_url "/adexchangebuyer:v1.4/Creative/nativeAd/clickTrackingUrl": click_tracking_url "/adexchangebuyer:v1.4/Creative/nativeAd/headline": headline "/adexchangebuyer:v1.4/Creative/nativeAd/image": image @@ -5117,6 +5353,7 @@ "/adexchangebuyer:v1.4/Creative/nativeAd/price": price "/adexchangebuyer:v1.4/Creative/nativeAd/starRating": star_rating "/adexchangebuyer:v1.4/Creative/nativeAd/store": store +"/adexchangebuyer:v1.4/Creative/nativeAd/videoURL": video_url "/adexchangebuyer:v1.4/Creative/openAuctionStatus": open_auction_status "/adexchangebuyer:v1.4/Creative/productCategories": product_categories "/adexchangebuyer:v1.4/Creative/productCategories/product_category": product_category @@ -5146,6 +5383,13 @@ "/adexchangebuyer:v1.4/Creative/version": version "/adexchangebuyer:v1.4/Creative/videoURL": video_url "/adexchangebuyer:v1.4/Creative/width": width +"/adexchangebuyer:v1.4/CreativeDealIds": creative_deal_ids +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses": deal_statuses +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status": deal_status +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/arcStatus": arc_status +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/dealId": deal_id +"/adexchangebuyer:v1.4/CreativeDealIds/dealStatuses/deal_status/webPropertyId": web_property_id +"/adexchangebuyer:v1.4/CreativeDealIds/kind": kind "/adexchangebuyer:v1.4/CreativesList": creatives_list "/adexchangebuyer:v1.4/CreativesList/items": items "/adexchangebuyer:v1.4/CreativesList/items/item": item @@ -5161,6 +5405,7 @@ "/adexchangebuyer:v1.4/DealServingMetadataDealPauseStatus/sellerPauseReason": seller_pause_reason "/adexchangebuyer:v1.4/DealTerms": deal_terms "/adexchangebuyer:v1.4/DealTerms/brandingType": branding_type +"/adexchangebuyer:v1.4/DealTerms/crossListedExternalDealIdType": cross_listed_external_deal_id_type "/adexchangebuyer:v1.4/DealTerms/description": description "/adexchangebuyer:v1.4/DealTerms/estimatedGrossSpend": estimated_gross_spend "/adexchangebuyer:v1.4/DealTerms/estimatedImpressionsPerDay": estimated_impressions_per_day @@ -5254,6 +5499,7 @@ "/adexchangebuyer:v1.4/MarketplaceDeal/flightEndTimeMs": flight_end_time_ms "/adexchangebuyer:v1.4/MarketplaceDeal/flightStartTimeMs": flight_start_time_ms "/adexchangebuyer:v1.4/MarketplaceDeal/inventoryDescription": inventory_description +"/adexchangebuyer:v1.4/MarketplaceDeal/isRfpTemplate": is_rfp_template "/adexchangebuyer:v1.4/MarketplaceDeal/kind": kind "/adexchangebuyer:v1.4/MarketplaceDeal/lastUpdateTimeMs": last_update_time_ms "/adexchangebuyer:v1.4/MarketplaceDeal/name": name @@ -5341,6 +5587,7 @@ "/adexchangebuyer:v1.4/PretargetingConfig/kind": kind "/adexchangebuyer:v1.4/PretargetingConfig/languages": languages "/adexchangebuyer:v1.4/PretargetingConfig/languages/language": language +"/adexchangebuyer:v1.4/PretargetingConfig/minimumViewabilityDecile": minimum_viewability_decile "/adexchangebuyer:v1.4/PretargetingConfig/mobileCarriers": mobile_carriers "/adexchangebuyer:v1.4/PretargetingConfig/mobileCarriers/mobile_carrier": mobile_carrier "/adexchangebuyer:v1.4/PretargetingConfig/mobileDevices": mobile_devices @@ -5355,6 +5602,8 @@ "/adexchangebuyer:v1.4/PretargetingConfig/platforms/platform": platform "/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes": supported_creative_attributes "/adexchangebuyer:v1.4/PretargetingConfig/supportedCreativeAttributes/supported_creative_attribute": supported_creative_attribute +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired": user_identifier_data_required +"/adexchangebuyer:v1.4/PretargetingConfig/userIdentifierDataRequired/user_identifier_data_required": user_identifier_data_required "/adexchangebuyer:v1.4/PretargetingConfig/userLists": user_lists "/adexchangebuyer:v1.4/PretargetingConfig/userLists/user_list": user_list "/adexchangebuyer:v1.4/PretargetingConfig/vendorTypes": vendor_types @@ -5396,6 +5645,7 @@ "/adexchangebuyer:v1.4/Product/labels/label": label "/adexchangebuyer:v1.4/Product/lastUpdateTimeMs": last_update_time_ms "/adexchangebuyer:v1.4/Product/legacyOfferId": legacy_offer_id +"/adexchangebuyer:v1.4/Product/marketplacePublisherProfileId": marketplace_publisher_profile_id "/adexchangebuyer:v1.4/Product/name": name "/adexchangebuyer:v1.4/Product/privateAuctionId": private_auction_id "/adexchangebuyer:v1.4/Product/productId": product_id @@ -5415,6 +5665,8 @@ "/adexchangebuyer:v1.4/Proposal/buyerContacts": buyer_contacts "/adexchangebuyer:v1.4/Proposal/buyerContacts/buyer_contact": buyer_contact "/adexchangebuyer:v1.4/Proposal/buyerPrivateData": buyer_private_data +"/adexchangebuyer:v1.4/Proposal/dbmAdvertiserIds": dbm_advertiser_ids +"/adexchangebuyer:v1.4/Proposal/dbmAdvertiserIds/dbm_advertiser_id": dbm_advertiser_id "/adexchangebuyer:v1.4/Proposal/hasBuyerSignedOff": has_buyer_signed_off "/adexchangebuyer:v1.4/Proposal/hasSellerSignedOff": has_seller_signed_off "/adexchangebuyer:v1.4/Proposal/inventorySource": inventory_source @@ -5504,6 +5756,76 @@ "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/note": note "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/proposalRevisionNumber": proposal_revision_number "/adexchangebuyer:v1.4/UpdatePrivateAuctionProposalRequest/updateAction": update_action +"/adexchangebuyer2:v2beta1/key": key +"/adexchangebuyer2:v2beta1/quotaUser": quota_user +"/adexchangebuyer2:v2beta1/fields": fields +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update": update_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get": get_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create": create_account_client +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list": list_account_clients +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update": update_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get": get_account_client_user +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/userId": user_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list": list_account_client_users +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.users.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create": create_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get": get_account_client_invitation +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list": list_account_client_invitations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.clients.invitations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/ClientUser": client_user +"/adexchangebuyer2:v2beta1/ClientUser/email": email +"/adexchangebuyer2:v2beta1/ClientUser/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUser/status": status +"/adexchangebuyer2:v2beta1/ClientUser/userId": user_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation": client_user_invitation +"/adexchangebuyer2:v2beta1/ClientUserInvitation/email": email +"/adexchangebuyer2:v2beta1/ClientUserInvitation/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/ClientUserInvitation/invitationId": invitation_id +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse": list_client_user_invitations_response +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations": invitations +"/adexchangebuyer2:v2beta1/ListClientUserInvitationsResponse/invitations/invitation": invitation +"/adexchangebuyer2:v2beta1/ListClientUsersResponse": list_client_users_response +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users": users +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/users/user": user +"/adexchangebuyer2:v2beta1/ListClientUsersResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/Client": client +"/adexchangebuyer2:v2beta1/Client/visibleToSeller": visible_to_seller +"/adexchangebuyer2:v2beta1/Client/status": status +"/adexchangebuyer2:v2beta1/Client/entityType": entity_type +"/adexchangebuyer2:v2beta1/Client/role": role +"/adexchangebuyer2:v2beta1/Client/clientName": client_name +"/adexchangebuyer2:v2beta1/Client/clientAccountId": client_account_id +"/adexchangebuyer2:v2beta1/Client/entityId": entity_id +"/adexchangebuyer2:v2beta1/Client/entityName": entity_name +"/adexchangebuyer2:v2beta1/ListClientsResponse": list_clients_response +"/adexchangebuyer2:v2beta1/ListClientsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients": clients +"/adexchangebuyer2:v2beta1/ListClientsResponse/clients/client": client "/adexchangeseller:v2.0/fields": fields "/adexchangeseller:v2.0/key": key "/adexchangeseller:v2.0/quotaUser": quota_user @@ -5740,6 +6062,9 @@ "/admin:directory_v1/directory.asps.list": list_asps "/admin:directory_v1/directory.asps.list/userKey": user_key "/admin:directory_v1/admin.channels.stop": stop_channel +"/admin:directory_v1/directory.chromeosdevices.action": action_chromeosdevice +"/admin:directory_v1/directory.chromeosdevices.action/customerId": customer_id +"/admin:directory_v1/directory.chromeosdevices.action/resourceId": resource_id "/admin:directory_v1/directory.chromeosdevices.get/customerId": customer_id "/admin:directory_v1/directory.chromeosdevices.get/deviceId": device_id "/admin:directory_v1/directory.chromeosdevices.get/projection": projection @@ -6084,6 +6409,9 @@ "/admin:directory_v1/ChromeOsDevice/status": status "/admin:directory_v1/ChromeOsDevice/supportEndDate": support_end_date "/admin:directory_v1/ChromeOsDevice/willAutoRenew": will_auto_renew +"/admin:directory_v1/ChromeOsDeviceAction": chrome_os_device_action +"/admin:directory_v1/ChromeOsDeviceAction/action": action +"/admin:directory_v1/ChromeOsDeviceAction/deprovisionReason": deprovision_reason "/admin:directory_v1/ChromeOsDevices": chrome_os_devices "/admin:directory_v1/ChromeOsDevices/chromeosdevices": chromeosdevices "/admin:directory_v1/ChromeOsDevices/chromeosdevices/chromeosdevice": chromeosdevice @@ -6180,21 +6508,27 @@ "/admin:directory_v1/MobileDevice/applications/application/versionCode": version_code "/admin:directory_v1/MobileDevice/applications/application/versionName": version_name "/admin:directory_v1/MobileDevice/basebandVersion": baseband_version +"/admin:directory_v1/MobileDevice/bootloaderVersion": bootloader_version +"/admin:directory_v1/MobileDevice/brand": brand "/admin:directory_v1/MobileDevice/buildNumber": build_number "/admin:directory_v1/MobileDevice/defaultLanguage": default_language "/admin:directory_v1/MobileDevice/developerOptionsStatus": developer_options_status "/admin:directory_v1/MobileDevice/deviceCompromisedStatus": device_compromised_status "/admin:directory_v1/MobileDevice/deviceId": device_id +"/admin:directory_v1/MobileDevice/devicePasswordStatus": device_password_status "/admin:directory_v1/MobileDevice/email": email "/admin:directory_v1/MobileDevice/email/email": email +"/admin:directory_v1/MobileDevice/encryptionStatus": encryption_status "/admin:directory_v1/MobileDevice/etag": etag "/admin:directory_v1/MobileDevice/firstSync": first_sync +"/admin:directory_v1/MobileDevice/hardware": hardware "/admin:directory_v1/MobileDevice/hardwareId": hardware_id "/admin:directory_v1/MobileDevice/imei": imei "/admin:directory_v1/MobileDevice/kernelVersion": kernel_version "/admin:directory_v1/MobileDevice/kind": kind "/admin:directory_v1/MobileDevice/lastSync": last_sync "/admin:directory_v1/MobileDevice/managedAccountIsOnOwnerProfile": managed_account_is_on_owner_profile +"/admin:directory_v1/MobileDevice/manufacturer": manufacturer "/admin:directory_v1/MobileDevice/meid": meid "/admin:directory_v1/MobileDevice/model": model "/admin:directory_v1/MobileDevice/name": name @@ -6203,7 +6537,10 @@ "/admin:directory_v1/MobileDevice/os": os "/admin:directory_v1/MobileDevice/otherAccountsInfo": other_accounts_info "/admin:directory_v1/MobileDevice/otherAccountsInfo/other_accounts_info": other_accounts_info +"/admin:directory_v1/MobileDevice/privilege": privilege +"/admin:directory_v1/MobileDevice/releaseVersion": release_version "/admin:directory_v1/MobileDevice/resourceId": resource_id +"/admin:directory_v1/MobileDevice/securityPatchLevel": security_patch_level "/admin:directory_v1/MobileDevice/serialNumber": serial_number "/admin:directory_v1/MobileDevice/status": status "/admin:directory_v1/MobileDevice/supportsWorkProfile": supports_work_profile @@ -6356,6 +6693,8 @@ "/admin:directory_v1/User/ipWhitelisted": ip_whitelisted "/admin:directory_v1/User/isAdmin": is_admin "/admin:directory_v1/User/isDelegatedAdmin": is_delegated_admin +"/admin:directory_v1/User/isEnforcedIn2Sv": is_enforced_in2_sv +"/admin:directory_v1/User/isEnrolledIn2Sv": is_enrolled_in2_sv "/admin:directory_v1/User/isMailboxSetup": is_mailbox_setup "/admin:directory_v1/User/kind": kind "/admin:directory_v1/User/lastLoginTime": last_login_time @@ -7699,6 +8038,7 @@ "/analytics:v3/GaData/columnHeaders/column_header/dataType": data_type "/analytics:v3/GaData/columnHeaders/column_header/name": name "/analytics:v3/GaData/containsSampledData": contains_sampled_data +"/analytics:v3/GaData/dataLastRefreshed": data_last_refreshed "/analytics:v3/GaData/dataTable": data_table "/analytics:v3/GaData/dataTable/cols": cols "/analytics:v3/GaData/dataTable/cols/col": col @@ -8219,6 +8559,7 @@ "/analyticsreporting:v4/ReportData/minimums/minimum": minimum "/analyticsreporting:v4/ReportData/rows": rows "/analyticsreporting:v4/ReportData/rows/row": row +"/analyticsreporting:v4/ReportData/dataLastRefreshed": data_last_refreshed "/analyticsreporting:v4/ReportData/totals": totals "/analyticsreporting:v4/ReportData/totals/total": total "/analyticsreporting:v4/ReportData/isDataGolden": is_data_golden @@ -8363,6 +8704,8 @@ "/androidenterprise:v1/androidenterprise.enterprises.completeSignup": complete_enterprise_signup "/androidenterprise:v1/androidenterprise.enterprises.completeSignup/completionToken": completion_token "/androidenterprise:v1/androidenterprise.enterprises.completeSignup/enterpriseToken": enterprise_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken": create_enterprise_web_token +"/androidenterprise:v1/androidenterprise.enterprises.createWebToken/enterpriseId": enterprise_id "/androidenterprise:v1/androidenterprise.enterprises.delete": delete_enterprise "/androidenterprise:v1/androidenterprise.enterprises.delete/enterpriseId": enterprise_id "/androidenterprise:v1/androidenterprise.enterprises.enroll": enroll_enterprise @@ -8590,6 +8933,14 @@ "/androidenterprise:v1/androidenterprise.users.update/userId": user_id "/androidenterprise:v1/Administrator": administrator "/androidenterprise:v1/Administrator/email": email +"/androidenterprise:v1/AdministratorWebToken": administrator_web_token +"/androidenterprise:v1/AdministratorWebToken/kind": kind +"/androidenterprise:v1/AdministratorWebToken/token": token +"/androidenterprise:v1/AdministratorWebTokenSpec": administrator_web_token_spec +"/androidenterprise:v1/AdministratorWebTokenSpec/kind": kind +"/androidenterprise:v1/AdministratorWebTokenSpec/parent": parent +"/androidenterprise:v1/AdministratorWebTokenSpec/permission": permission +"/androidenterprise:v1/AdministratorWebTokenSpec/permission/permission": permission "/androidenterprise:v1/AppRestrictionsSchema": app_restrictions_schema "/androidenterprise:v1/AppRestrictionsSchema/kind": kind "/androidenterprise:v1/AppRestrictionsSchema/restrictions": restrictions @@ -8788,6 +9139,7 @@ "/androidenterprise:v1/ProductSet/kind": kind "/androidenterprise:v1/ProductSet/productId": product_id "/androidenterprise:v1/ProductSet/productId/product_id": product_id +"/androidenterprise:v1/ProductSet/productSetBehavior": product_set_behavior "/androidenterprise:v1/ProductsApproveRequest/approvalUrlInfo": approval_url_info "/androidenterprise:v1/ProductsGenerateApprovalUrlResponse/url": url "/androidenterprise:v1/ProductsListResponse": products_list_response @@ -8804,6 +9156,7 @@ "/androidenterprise:v1/ServiceAccountKey/data": data "/androidenterprise:v1/ServiceAccountKey/id": id "/androidenterprise:v1/ServiceAccountKey/kind": kind +"/androidenterprise:v1/ServiceAccountKey/publicData": public_data "/androidenterprise:v1/ServiceAccountKey/type": type "/androidenterprise:v1/ServiceAccountKeysListResponse": service_account_keys_list_response "/androidenterprise:v1/ServiceAccountKeysListResponse/serviceAccountKey": service_account_key @@ -8823,6 +9176,7 @@ "/androidenterprise:v1/StoreLayout": store_layout "/androidenterprise:v1/StoreLayout/homepageId": homepage_id "/androidenterprise:v1/StoreLayout/kind": kind +"/androidenterprise:v1/StoreLayout/storeLayoutType": store_layout_type "/androidenterprise:v1/StoreLayoutClustersListResponse": store_layout_clusters_list_response "/androidenterprise:v1/StoreLayoutClustersListResponse/cluster": cluster "/androidenterprise:v1/StoreLayoutClustersListResponse/cluster/cluster": cluster @@ -8902,6 +9256,11 @@ "/androidpublisher:v2/androidpublisher.edits.apks.list/packageName": package_name "/androidpublisher:v2/androidpublisher.edits.apks.upload/editId": edit_id "/androidpublisher:v2/androidpublisher.edits.apks.upload/packageName": package_name +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload": upload_edit_deobfuscationfile +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/apkVersionCode": apk_version_code +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/deobfuscationFileType": deobfuscation_file_type +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/editId": edit_id +"/androidpublisher:v2/androidpublisher.edits.deobfuscationfiles.upload/packageName": package_name "/androidpublisher:v2/androidpublisher.edits.details.get/editId": edit_id "/androidpublisher:v2/androidpublisher.edits.details.get/packageName": package_name "/androidpublisher:v2/androidpublisher.edits.details.patch/editId": edit_id @@ -9016,14 +9375,23 @@ "/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/packageName": package_name "/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/subscriptionId": subscription_id "/androidpublisher:v2/androidpublisher.purchases.subscriptions.revoke/token": token +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list": list_purchase_voidedpurchases +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/endTime": end_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/maxResults": max_results +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/packageName": package_name +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startIndex": start_index +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/startTime": start_time +"/androidpublisher:v2/androidpublisher.purchases.voidedpurchases.list/token": token "/androidpublisher:v2/androidpublisher.reviews.get": get_review "/androidpublisher:v2/androidpublisher.reviews.get/packageName": package_name "/androidpublisher:v2/androidpublisher.reviews.get/reviewId": review_id +"/androidpublisher:v2/androidpublisher.reviews.get/translationLanguage": translation_language "/androidpublisher:v2/androidpublisher.reviews.list": list_reviews "/androidpublisher:v2/androidpublisher.reviews.list/maxResults": max_results "/androidpublisher:v2/androidpublisher.reviews.list/packageName": package_name "/androidpublisher:v2/androidpublisher.reviews.list/startIndex": start_index "/androidpublisher:v2/androidpublisher.reviews.list/token": token +"/androidpublisher:v2/androidpublisher.reviews.list/translationLanguage": translation_language "/androidpublisher:v2/androidpublisher.reviews.reply": reply_review "/androidpublisher:v2/androidpublisher.reviews.reply/packageName": package_name "/androidpublisher:v2/androidpublisher.reviews.reply/reviewId": review_id @@ -9054,9 +9422,25 @@ "/androidpublisher:v2/Comment": comment "/androidpublisher:v2/Comment/developerComment": developer_comment "/androidpublisher:v2/Comment/userComment": user_comment +"/androidpublisher:v2/DeobfuscationFile": deobfuscation_file +"/androidpublisher:v2/DeobfuscationFile/symbolType": symbol_type +"/androidpublisher:v2/DeobfuscationFilesUploadResponse": deobfuscation_files_upload_response +"/androidpublisher:v2/DeobfuscationFilesUploadResponse/deobfuscationFile": deobfuscation_file "/androidpublisher:v2/DeveloperComment": developer_comment "/androidpublisher:v2/DeveloperComment/lastModified": last_modified "/androidpublisher:v2/DeveloperComment/text": text +"/androidpublisher:v2/DeviceMetadata": device_metadata +"/androidpublisher:v2/DeviceMetadata/cpuMake": cpu_make +"/androidpublisher:v2/DeviceMetadata/cpuModel": cpu_model +"/androidpublisher:v2/DeviceMetadata/deviceClass": device_class +"/androidpublisher:v2/DeviceMetadata/glEsVersion": gl_es_version +"/androidpublisher:v2/DeviceMetadata/manufacturer": manufacturer +"/androidpublisher:v2/DeviceMetadata/nativePlatform": native_platform +"/androidpublisher:v2/DeviceMetadata/productName": product_name +"/androidpublisher:v2/DeviceMetadata/ramMb": ram_mb +"/androidpublisher:v2/DeviceMetadata/screenDensityDpi": screen_density_dpi +"/androidpublisher:v2/DeviceMetadata/screenHeightPx": screen_height_px +"/androidpublisher:v2/DeviceMetadata/screenWidthPx": screen_width_px "/androidpublisher:v2/Entitlement": entitlement "/androidpublisher:v2/Entitlement/kind": kind "/androidpublisher:v2/Entitlement/productId": product_id @@ -9230,10 +9614,24 @@ "/androidpublisher:v2/UserComment/appVersionCode": app_version_code "/androidpublisher:v2/UserComment/appVersionName": app_version_name "/androidpublisher:v2/UserComment/device": device +"/androidpublisher:v2/UserComment/deviceMetadata": device_metadata "/androidpublisher:v2/UserComment/lastModified": last_modified +"/androidpublisher:v2/UserComment/originalText": original_text "/androidpublisher:v2/UserComment/reviewerLanguage": reviewer_language "/androidpublisher:v2/UserComment/starRating": star_rating "/androidpublisher:v2/UserComment/text": text +"/androidpublisher:v2/UserComment/thumbsDownCount": thumbs_down_count +"/androidpublisher:v2/UserComment/thumbsUpCount": thumbs_up_count +"/androidpublisher:v2/VoidedPurchase": voided_purchase +"/androidpublisher:v2/VoidedPurchase/kind": kind +"/androidpublisher:v2/VoidedPurchase/purchaseTimeMillis": purchase_time_millis +"/androidpublisher:v2/VoidedPurchase/purchaseToken": purchase_token +"/androidpublisher:v2/VoidedPurchase/voidedTimeMillis": voided_time_millis +"/androidpublisher:v2/VoidedPurchasesListResponse": voided_purchases_list_response +"/androidpublisher:v2/VoidedPurchasesListResponse/pageInfo": page_info +"/androidpublisher:v2/VoidedPurchasesListResponse/tokenPagination": token_pagination +"/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases": voided_purchases +"/androidpublisher:v2/VoidedPurchasesListResponse/voidedPurchases/voided_purchase": voided_purchase "/appsactivity:v1/fields": fields "/appsactivity:v1/key": key "/appsactivity:v1/quotaUser": quota_user @@ -9298,6 +9696,7 @@ "/appsactivity:v1/Target/name": name "/appsactivity:v1/User": user "/appsactivity:v1/User/isDeleted": is_deleted +"/appsactivity:v1/User/isMe": is_me "/appsactivity:v1/User/name": name "/appsactivity:v1/User/permissionId": permission_id "/appsactivity:v1/User/photo": photo @@ -9495,6 +9894,7 @@ "/bigquery:v2/ExplainQueryStage/readRatioMax": read_ratio_max "/bigquery:v2/ExplainQueryStage/recordsRead": records_read "/bigquery:v2/ExplainQueryStage/recordsWritten": records_written +"/bigquery:v2/ExplainQueryStage/status": status "/bigquery:v2/ExplainQueryStage/steps": steps "/bigquery:v2/ExplainQueryStage/steps/step": step "/bigquery:v2/ExplainQueryStage/waitRatioAvg": wait_ratio_avg @@ -9550,6 +9950,8 @@ "/bigquery:v2/JobConfiguration/copy": copy "/bigquery:v2/JobConfiguration/dryRun": dry_run "/bigquery:v2/JobConfiguration/extract": extract +"/bigquery:v2/JobConfiguration/labels": labels +"/bigquery:v2/JobConfiguration/labels/label": label "/bigquery:v2/JobConfiguration/load": load "/bigquery:v2/JobConfiguration/query": query "/bigquery:v2/JobConfigurationExtract": job_configuration_extract @@ -9571,12 +9973,15 @@ "/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter "/bigquery:v2/JobConfigurationLoad/ignoreUnknownValues": ignore_unknown_values "/bigquery:v2/JobConfigurationLoad/maxBadRecords": max_bad_records +"/bigquery:v2/JobConfigurationLoad/nullMarker": null_marker "/bigquery:v2/JobConfigurationLoad/projectionFields": projection_fields "/bigquery:v2/JobConfigurationLoad/projectionFields/projection_field": projection_field "/bigquery:v2/JobConfigurationLoad/quote": quote "/bigquery:v2/JobConfigurationLoad/schema": schema "/bigquery:v2/JobConfigurationLoad/schemaInline": schema_inline "/bigquery:v2/JobConfigurationLoad/schemaInlineFormat": schema_inline_format +"/bigquery:v2/JobConfigurationLoad/schemaUpdateOptions": schema_update_options +"/bigquery:v2/JobConfigurationLoad/schemaUpdateOptions/schema_update_option": schema_update_option "/bigquery:v2/JobConfigurationLoad/skipLeadingRows": skip_leading_rows "/bigquery:v2/JobConfigurationLoad/sourceFormat": source_format "/bigquery:v2/JobConfigurationLoad/sourceUris": source_uris @@ -9590,9 +9995,14 @@ "/bigquery:v2/JobConfigurationQuery/flattenResults": flatten_results "/bigquery:v2/JobConfigurationQuery/maximumBillingTier": maximum_billing_tier "/bigquery:v2/JobConfigurationQuery/maximumBytesBilled": maximum_bytes_billed +"/bigquery:v2/JobConfigurationQuery/parameterMode": parameter_mode "/bigquery:v2/JobConfigurationQuery/preserveNulls": preserve_nulls "/bigquery:v2/JobConfigurationQuery/priority": priority "/bigquery:v2/JobConfigurationQuery/query": query +"/bigquery:v2/JobConfigurationQuery/queryParameters": query_parameters +"/bigquery:v2/JobConfigurationQuery/queryParameters/query_parameter": query_parameter +"/bigquery:v2/JobConfigurationQuery/schemaUpdateOptions": schema_update_options +"/bigquery:v2/JobConfigurationQuery/schemaUpdateOptions/schema_update_option": schema_update_option "/bigquery:v2/JobConfigurationQuery/tableDefinitions": table_definitions "/bigquery:v2/JobConfigurationQuery/tableDefinitions/table_definition": table_definition "/bigquery:v2/JobConfigurationQuery/useLegacySql": use_legacy_sql @@ -9642,8 +10052,11 @@ "/bigquery:v2/JobStatistics2/referencedTables": referenced_tables "/bigquery:v2/JobStatistics2/referencedTables/referenced_table": referenced_table "/bigquery:v2/JobStatistics2/schema": schema +"/bigquery:v2/JobStatistics2/statementType": statement_type "/bigquery:v2/JobStatistics2/totalBytesBilled": total_bytes_billed "/bigquery:v2/JobStatistics2/totalBytesProcessed": total_bytes_processed +"/bigquery:v2/JobStatistics2/undeclaredQueryParameters": undeclared_query_parameters +"/bigquery:v2/JobStatistics2/undeclaredQueryParameters/undeclared_query_parameter": undeclared_query_parameter "/bigquery:v2/JobStatistics3": job_statistics3 "/bigquery:v2/JobStatistics3/inputFileBytes": input_file_bytes "/bigquery:v2/JobStatistics3/inputFiles": input_files @@ -9674,13 +10087,34 @@ "/bigquery:v2/ProjectList/totalItems": total_items "/bigquery:v2/ProjectReference": project_reference "/bigquery:v2/ProjectReference/projectId": project_id +"/bigquery:v2/QueryParameter": query_parameter +"/bigquery:v2/QueryParameter/name": name +"/bigquery:v2/QueryParameter/parameterType": parameter_type +"/bigquery:v2/QueryParameter/parameterValue": parameter_value +"/bigquery:v2/QueryParameterType": query_parameter_type +"/bigquery:v2/QueryParameterType/arrayType": array_type +"/bigquery:v2/QueryParameterType/structTypes": struct_types +"/bigquery:v2/QueryParameterType/structTypes/struct_type": struct_type +"/bigquery:v2/QueryParameterType/structTypes/struct_type/description": description +"/bigquery:v2/QueryParameterType/structTypes/struct_type/name": name +"/bigquery:v2/QueryParameterType/structTypes/struct_type/type": type +"/bigquery:v2/QueryParameterType/type": type +"/bigquery:v2/QueryParameterValue": query_parameter_value +"/bigquery:v2/QueryParameterValue/arrayValues": array_values +"/bigquery:v2/QueryParameterValue/arrayValues/array_value": array_value +"/bigquery:v2/QueryParameterValue/structValues": struct_values +"/bigquery:v2/QueryParameterValue/structValues/struct_value": struct_value +"/bigquery:v2/QueryParameterValue/value": value "/bigquery:v2/QueryRequest": query_request "/bigquery:v2/QueryRequest/defaultDataset": default_dataset "/bigquery:v2/QueryRequest/dryRun": dry_run "/bigquery:v2/QueryRequest/kind": kind "/bigquery:v2/QueryRequest/maxResults": max_results +"/bigquery:v2/QueryRequest/parameterMode": parameter_mode "/bigquery:v2/QueryRequest/preserveNulls": preserve_nulls "/bigquery:v2/QueryRequest/query": query +"/bigquery:v2/QueryRequest/queryParameters": query_parameters +"/bigquery:v2/QueryRequest/queryParameters/query_parameter": query_parameter "/bigquery:v2/QueryRequest/timeoutMs": timeout_ms "/bigquery:v2/QueryRequest/useLegacySql": use_legacy_sql "/bigquery:v2/QueryRequest/useQueryCache": use_query_cache @@ -9711,6 +10145,8 @@ "/bigquery:v2/Table/friendlyName": friendly_name "/bigquery:v2/Table/id": id "/bigquery:v2/Table/kind": kind +"/bigquery:v2/Table/labels": labels +"/bigquery:v2/Table/labels/label": label "/bigquery:v2/Table/lastModifiedTime": last_modified_time "/bigquery:v2/Table/location": location "/bigquery:v2/Table/numBytes": num_bytes @@ -9762,8 +10198,12 @@ "/bigquery:v2/TableList/tables/table/friendlyName": friendly_name "/bigquery:v2/TableList/tables/table/id": id "/bigquery:v2/TableList/tables/table/kind": kind +"/bigquery:v2/TableList/tables/table/labels": labels +"/bigquery:v2/TableList/tables/table/labels/label": label "/bigquery:v2/TableList/tables/table/tableReference": table_reference "/bigquery:v2/TableList/tables/table/type": type +"/bigquery:v2/TableList/tables/table/view": view +"/bigquery:v2/TableList/tables/table/view/useLegacySql": use_legacy_sql "/bigquery:v2/TableList/totalItems": total_items "/bigquery:v2/TableReference": table_reference "/bigquery:v2/TableReference/datasetId": dataset_id @@ -10323,6 +10763,7 @@ "/books:v1/books.volumes.list/filter": filter "/books:v1/books.volumes.list/langRestrict": lang_restrict "/books:v1/books.volumes.list/libraryRestrict": library_restrict +"/books:v1/books.volumes.list/maxAllowedMaturityRating": max_allowed_maturity_rating "/books:v1/books.volumes.list/maxResults": max_results "/books:v1/books.volumes.list/orderBy": order_by "/books:v1/books.volumes.list/partner": partner @@ -10609,6 +11050,7 @@ "/books:v1/Notification/dont_show_notification": dont_show_notification "/books:v1/Notification/iconUrl": icon_url "/books:v1/Notification/kind": kind +"/books:v1/Notification/notificationGroup": notification_group "/books:v1/Notification/notification_type": notification_type "/books:v1/Notification/pcampaign_id": pcampaign_id "/books:v1/Notification/reason": reason @@ -11266,6 +11708,7 @@ "/civicinfo:v2/civicinfo.elections.voterInfoQuery/address": address "/civicinfo:v2/civicinfo.elections.voterInfoQuery/electionId": election_id "/civicinfo:v2/civicinfo.elections.voterInfoQuery/officialOnly": official_only +"/civicinfo:v2/civicinfo.elections.voterInfoQuery/returnAllAvailableData": return_all_available_data "/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/address": address "/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/includeOffices": include_offices "/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress/levels": levels @@ -11342,6 +11785,12 @@ "/civicinfo:v2/Contest/sources/source": source "/civicinfo:v2/Contest/special": special "/civicinfo:v2/Contest/type": type +"/civicinfo:v2/ContextParams": context_params +"/civicinfo:v2/ContextParams/clientProfile": client_profile +"/civicinfo:v2/DivisionRepresentativeInfoRequest": division_representative_info_request +"/civicinfo:v2/DivisionRepresentativeInfoRequest/contextParams": context_params +"/civicinfo:v2/DivisionSearchRequest": division_search_request +"/civicinfo:v2/DivisionSearchRequest/contextParams": context_params "/civicinfo:v2/DivisionSearchResponse": division_search_response "/civicinfo:v2/DivisionSearchResponse/kind": kind "/civicinfo:v2/DivisionSearchResponse/results": results @@ -11362,11 +11811,14 @@ "/civicinfo:v2/ElectionOfficial/name": name "/civicinfo:v2/ElectionOfficial/officePhoneNumber": office_phone_number "/civicinfo:v2/ElectionOfficial/title": title +"/civicinfo:v2/ElectionsQueryRequest": elections_query_request +"/civicinfo:v2/ElectionsQueryRequest/contextParams": context_params "/civicinfo:v2/ElectionsQueryResponse/elections": elections "/civicinfo:v2/ElectionsQueryResponse/elections/election": election "/civicinfo:v2/ElectionsQueryResponse/kind": kind "/civicinfo:v2/ElectoralDistrict": electoral_district "/civicinfo:v2/ElectoralDistrict/id": id +"/civicinfo:v2/ElectoralDistrict/kgForeignKey": kg_foreign_key "/civicinfo:v2/ElectoralDistrict/name": name "/civicinfo:v2/ElectoralDistrict/scope": scope "/civicinfo:v2/GeographicDivision": geographic_division @@ -11411,6 +11863,39 @@ "/civicinfo:v2/PollingLocation/sources/source": source "/civicinfo:v2/PollingLocation/startDate": start_date "/civicinfo:v2/PollingLocation/voterServices": voter_services +"/civicinfo:v2/PostalAddress": postal_address +"/civicinfo:v2/PostalAddress/addressLines": address_lines +"/civicinfo:v2/PostalAddress/addressLines/address_line": address_line +"/civicinfo:v2/PostalAddress/administrativeAreaName": administrative_area_name +"/civicinfo:v2/PostalAddress/countryName": country_name +"/civicinfo:v2/PostalAddress/countryNameCode": country_name_code +"/civicinfo:v2/PostalAddress/dependentLocalityName": dependent_locality_name +"/civicinfo:v2/PostalAddress/dependentThoroughfareLeadingType": dependent_thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/dependentThoroughfareName": dependent_thoroughfare_name +"/civicinfo:v2/PostalAddress/dependentThoroughfarePostDirection": dependent_thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfarePreDirection": dependent_thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/dependentThoroughfareTrailingType": dependent_thoroughfare_trailing_type +"/civicinfo:v2/PostalAddress/dependentThoroughfaresConnector": dependent_thoroughfares_connector +"/civicinfo:v2/PostalAddress/dependentThoroughfaresIndicator": dependent_thoroughfares_indicator +"/civicinfo:v2/PostalAddress/dependentThoroughfaresType": dependent_thoroughfares_type +"/civicinfo:v2/PostalAddress/firmName": firm_name +"/civicinfo:v2/PostalAddress/isDisputed": is_disputed +"/civicinfo:v2/PostalAddress/languageCode": language_code +"/civicinfo:v2/PostalAddress/localityName": locality_name +"/civicinfo:v2/PostalAddress/postBoxNumber": post_box_number +"/civicinfo:v2/PostalAddress/postalCodeNumber": postal_code_number +"/civicinfo:v2/PostalAddress/postalCodeNumberExtension": postal_code_number_extension +"/civicinfo:v2/PostalAddress/premiseName": premise_name +"/civicinfo:v2/PostalAddress/recipientName": recipient_name +"/civicinfo:v2/PostalAddress/sortingCode": sorting_code +"/civicinfo:v2/PostalAddress/subAdministrativeAreaName": sub_administrative_area_name +"/civicinfo:v2/PostalAddress/subPremiseName": sub_premise_name +"/civicinfo:v2/PostalAddress/thoroughfareLeadingType": thoroughfare_leading_type +"/civicinfo:v2/PostalAddress/thoroughfareName": thoroughfare_name +"/civicinfo:v2/PostalAddress/thoroughfareNumber": thoroughfare_number +"/civicinfo:v2/PostalAddress/thoroughfarePostDirection": thoroughfare_post_direction +"/civicinfo:v2/PostalAddress/thoroughfarePreDirection": thoroughfare_pre_direction +"/civicinfo:v2/PostalAddress/thoroughfareTrailingType": thoroughfare_trailing_type "/civicinfo:v2/RepresentativeInfoData": representative_info_data "/civicinfo:v2/RepresentativeInfoData/divisions": divisions "/civicinfo:v2/RepresentativeInfoData/divisions/division": division @@ -11418,6 +11903,8 @@ "/civicinfo:v2/RepresentativeInfoData/offices/office": office "/civicinfo:v2/RepresentativeInfoData/officials": officials "/civicinfo:v2/RepresentativeInfoData/officials/official": official +"/civicinfo:v2/RepresentativeInfoRequest": representative_info_request +"/civicinfo:v2/RepresentativeInfoRequest/contextParams": context_params "/civicinfo:v2/RepresentativeInfoResponse": representative_info_response "/civicinfo:v2/RepresentativeInfoResponse/divisions": divisions "/civicinfo:v2/RepresentativeInfoResponse/divisions/division": division @@ -11438,6 +11925,9 @@ "/civicinfo:v2/Source": source "/civicinfo:v2/Source/name": name "/civicinfo:v2/Source/official": official +"/civicinfo:v2/VoterInfoRequest": voter_info_request +"/civicinfo:v2/VoterInfoRequest/contextParams": context_params +"/civicinfo:v2/VoterInfoRequest/voterInfoSegmentResult": voter_info_segment_result "/civicinfo:v2/VoterInfoResponse": voter_info_response "/civicinfo:v2/VoterInfoResponse/contests": contests "/civicinfo:v2/VoterInfoResponse/contests/contest": contest @@ -11456,6 +11946,11 @@ "/civicinfo:v2/VoterInfoResponse/precinctId": precinct_id "/civicinfo:v2/VoterInfoResponse/state": state "/civicinfo:v2/VoterInfoResponse/state/state": state +"/civicinfo:v2/VoterInfoSegmentResult": voter_info_segment_result +"/civicinfo:v2/VoterInfoSegmentResult/generatedMillis": generated_millis +"/civicinfo:v2/VoterInfoSegmentResult/postalAddress": postal_address +"/civicinfo:v2/VoterInfoSegmentResult/request": request +"/civicinfo:v2/VoterInfoSegmentResult/response": response "/cloudbuild:v1/key": key "/cloudbuild:v1/quotaUser": quota_user "/cloudbuild:v1/fields": fields @@ -11479,6 +11974,7 @@ "/cloudbuild:v1/cloudbuild.projects.builds.get/id": id "/cloudbuild:v1/cloudbuild.projects.builds.list": list_project_builds "/cloudbuild:v1/cloudbuild.projects.builds.list/pageSize": page_size +"/cloudbuild:v1/cloudbuild.projects.builds.list/filter": filter "/cloudbuild:v1/cloudbuild.projects.builds.list/projectId": project_id "/cloudbuild:v1/cloudbuild.projects.builds.list/pageToken": page_token "/cloudbuild:v1/cloudbuild.projects.builds.cancel": cancel_build @@ -11491,6 +11987,8 @@ "/cloudbuild:v1/cloudbuild.operations.list/filter": filter "/cloudbuild:v1/cloudbuild.operations.list/name": name "/cloudbuild:v1/cloudbuild.operations.list/pageToken": page_token +"/cloudbuild:v1/cloudbuild.operations.cancel": cancel_operation +"/cloudbuild:v1/cloudbuild.operations.cancel/name": name "/cloudbuild:v1/Status": status "/cloudbuild:v1/Status/code": code "/cloudbuild:v1/Status/details": details @@ -11516,16 +12014,20 @@ "/cloudbuild:v1/Operation/response/response": response "/cloudbuild:v1/Operation/name": name "/cloudbuild:v1/BuildTrigger": build_trigger -"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template -"/cloudbuild:v1/BuildTrigger/build": build -"/cloudbuild:v1/BuildTrigger/createTime": create_time "/cloudbuild:v1/BuildTrigger/id": id +"/cloudbuild:v1/BuildTrigger/description": description +"/cloudbuild:v1/BuildTrigger/triggerTemplate": trigger_template +"/cloudbuild:v1/BuildTrigger/disabled": disabled +"/cloudbuild:v1/BuildTrigger/createTime": create_time +"/cloudbuild:v1/BuildTrigger/filename": filename +"/cloudbuild:v1/BuildTrigger/build": build "/cloudbuild:v1/BuiltImage": built_image "/cloudbuild:v1/BuiltImage/digest": digest "/cloudbuild:v1/BuiltImage/name": name "/cloudbuild:v1/Hash": hash_prop "/cloudbuild:v1/Hash/value": value "/cloudbuild:v1/Hash/type": type +"/cloudbuild:v1/CancelOperationRequest": cancel_operation_request "/cloudbuild:v1/StorageSource": storage_source "/cloudbuild:v1/StorageSource/bucket": bucket "/cloudbuild:v1/StorageSource/generation": generation @@ -11552,19 +12054,20 @@ "/cloudbuild:v1/Build/images": images "/cloudbuild:v1/Build/images/image": image "/cloudbuild:v1/Build/startTime": start_time +"/cloudbuild:v1/Build/buildTriggerId": build_trigger_id "/cloudbuild:v1/Build/logsBucket": logs_bucket "/cloudbuild:v1/Build/projectId": project_id "/cloudbuild:v1/ListBuildTriggersResponse": list_build_triggers_response "/cloudbuild:v1/ListBuildTriggersResponse/triggers": triggers "/cloudbuild:v1/ListBuildTriggersResponse/triggers/trigger": trigger "/cloudbuild:v1/CancelBuildRequest": cancel_build_request -"/cloudbuild:v1/FileHashes": file_hashes -"/cloudbuild:v1/FileHashes/fileHash": file_hash -"/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash "/cloudbuild:v1/ListOperationsResponse": list_operations_response "/cloudbuild:v1/ListOperationsResponse/nextPageToken": next_page_token "/cloudbuild:v1/ListOperationsResponse/operations": operations "/cloudbuild:v1/ListOperationsResponse/operations/operation": operation +"/cloudbuild:v1/FileHashes": file_hashes +"/cloudbuild:v1/FileHashes/fileHash": file_hash +"/cloudbuild:v1/FileHashes/fileHash/file_hash": file_hash "/cloudbuild:v1/RepoSource": repo_source "/cloudbuild:v1/RepoSource/repoName": repo_name "/cloudbuild:v1/RepoSource/tagName": tag_name @@ -11579,6 +12082,7 @@ "/cloudbuild:v1/BuildStep/waitFor/wait_for": wait_for "/cloudbuild:v1/BuildStep/args": args "/cloudbuild:v1/BuildStep/args/arg": arg +"/cloudbuild:v1/BuildStep/entrypoint": entrypoint "/cloudbuild:v1/BuildStep/name": name "/cloudbuild:v1/BuildStep/dir": dir "/cloudbuild:v1/Empty": empty @@ -11713,6 +12217,230 @@ "/cloudmonitoring:v2beta2/WriteTimeseriesRequest/timeseries/timeseries": timeseries "/cloudmonitoring:v2beta2/WriteTimeseriesResponse": write_timeseries_response "/cloudmonitoring:v2beta2/WriteTimeseriesResponse/kind": kind +"/cloudresourcemanager:v1/key": key +"/cloudresourcemanager:v1/quotaUser": quota_user +"/cloudresourcemanager:v1/fields": fields +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.search": search_organizations +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation +"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name +"/cloudresourcemanager:v1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1/Status": status +"/cloudresourcemanager:v1/Status/code": code +"/cloudresourcemanager:v1/Status/details": details +"/cloudresourcemanager:v1/Status/details/detail": detail +"/cloudresourcemanager:v1/Status/details/detail/detail": detail +"/cloudresourcemanager:v1/Status/message": message +"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects +"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1/FolderOperation": folder_operation +"/cloudresourcemanager:v1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1/Operation": operation +"/cloudresourcemanager:v1/Operation/error": error +"/cloudresourcemanager:v1/Operation/done": done +"/cloudresourcemanager:v1/Operation/metadata": metadata +"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum +"/cloudresourcemanager:v1/Operation/response": response +"/cloudresourcemanager:v1/Operation/response/response": response +"/cloudresourcemanager:v1/Operation/name": name +"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1/Organization": organization +"/cloudresourcemanager:v1/Organization/displayName": display_name +"/cloudresourcemanager:v1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1/Organization/owner": owner +"/cloudresourcemanager:v1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Organization/name": name +"/cloudresourcemanager:v1/Policy": policy +"/cloudresourcemanager:v1/Policy/bindings": bindings +"/cloudresourcemanager:v1/Policy/bindings/binding": binding +"/cloudresourcemanager:v1/Policy/etag": etag +"/cloudresourcemanager:v1/Policy/version": version +"/cloudresourcemanager:v1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1/ProjectCreationStatus/ready": ready +"/cloudresourcemanager:v1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1/GetAncestryRequest": get_ancestry_request +"/cloudresourcemanager:v1/GetAncestryResponse": get_ancestry_response +"/cloudresourcemanager:v1/GetAncestryResponse/ancestor": ancestor +"/cloudresourcemanager:v1/GetAncestryResponse/ancestor/ancestor": ancestor +"/cloudresourcemanager:v1/SearchOrganizationsResponse": search_organizations_response +"/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1/SearchOrganizationsResponse/organizations/organization": organization +"/cloudresourcemanager:v1/SearchOrganizationsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/SearchOrganizationsRequest": search_organizations_request +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageSize": page_size +"/cloudresourcemanager:v1/SearchOrganizationsRequest/filter": filter +"/cloudresourcemanager:v1/SearchOrganizationsRequest/pageToken": page_token +"/cloudresourcemanager:v1/Empty": empty +"/cloudresourcemanager:v1/Ancestor": ancestor +"/cloudresourcemanager:v1/Ancestor/resourceId": resource_id +"/cloudresourcemanager:v1/ResourceId": resource_id +"/cloudresourcemanager:v1/ResourceId/type": type +"/cloudresourcemanager:v1/ResourceId/id": id +"/cloudresourcemanager:v1/Binding": binding +"/cloudresourcemanager:v1/Binding/members": members +"/cloudresourcemanager:v1/Binding/members/member": member +"/cloudresourcemanager:v1/Binding/role": role +"/cloudresourcemanager:v1/Project": project +"/cloudresourcemanager:v1/Project/parent": parent +"/cloudresourcemanager:v1/Project/labels": labels +"/cloudresourcemanager:v1/Project/labels/label": label +"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1/Project/createTime": create_time +"/cloudresourcemanager:v1/Project/name": name +"/cloudresourcemanager:v1/Project/projectNumber": project_number +"/cloudresourcemanager:v1/Project/projectId": project_id +"/cloudresourcemanager:v1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1/OrganizationOwner/directoryCustomerId": directory_customer_id +"/cloudresourcemanager:v1beta1/key": key +"/cloudresourcemanager:v1beta1/quotaUser": quota_user +"/cloudresourcemanager:v1beta1/fields": fields +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create/useLegacyStack": use_legacy_stack +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource +"/cloudresourcemanager:v1beta1/FolderOperationError": folder_operation_error +"/cloudresourcemanager:v1beta1/FolderOperationError/errorMessageId": error_message_id +"/cloudresourcemanager:v1beta1/ListProjectsResponse": list_projects_response +"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects": projects +"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project +"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request +"/cloudresourcemanager:v1beta1/FolderOperation": folder_operation +"/cloudresourcemanager:v1beta1/FolderOperation/displayName": display_name +"/cloudresourcemanager:v1beta1/FolderOperation/sourceParent": source_parent +"/cloudresourcemanager:v1beta1/FolderOperation/destinationParent": destination_parent +"/cloudresourcemanager:v1beta1/FolderOperation/operationType": operation_type +"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudresourcemanager:v1beta1/Organization": organization +"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Organization/displayName": display_name +"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id +"/cloudresourcemanager:v1beta1/Organization/name": name +"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time +"/cloudresourcemanager:v1beta1/Organization/owner": owner +"/cloudresourcemanager:v1beta1/Policy": policy +"/cloudresourcemanager:v1beta1/Policy/bindings": bindings +"/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding +"/cloudresourcemanager:v1beta1/Policy/etag": etag +"/cloudresourcemanager:v1beta1/Policy/version": version +"/cloudresourcemanager:v1beta1/ProjectCreationStatus": project_creation_status +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/ready": ready +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/gettable": gettable +"/cloudresourcemanager:v1beta1/ProjectCreationStatus/createTime": create_time +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions +"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization +"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request +"/cloudresourcemanager:v1beta1/GetAncestryResponse": get_ancestry_response +"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor": ancestor +"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor/ancestor": ancestor +"/cloudresourcemanager:v1beta1/Empty": empty +"/cloudresourcemanager:v1beta1/Ancestor": ancestor +"/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id +"/cloudresourcemanager:v1beta1/ResourceId": resource_id +"/cloudresourcemanager:v1beta1/ResourceId/type": type +"/cloudresourcemanager:v1beta1/ResourceId/id": id +"/cloudresourcemanager:v1beta1/Project": project +"/cloudresourcemanager:v1beta1/Project/parent": parent +"/cloudresourcemanager:v1beta1/Project/labels": labels +"/cloudresourcemanager:v1beta1/Project/labels/label": label +"/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state +"/cloudresourcemanager:v1beta1/Project/createTime": create_time +"/cloudresourcemanager:v1beta1/Project/name": name +"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number +"/cloudresourcemanager:v1beta1/Project/projectId": project_id +"/cloudresourcemanager:v1beta1/Binding": binding +"/cloudresourcemanager:v1beta1/Binding/members": members +"/cloudresourcemanager:v1beta1/Binding/members/member": member +"/cloudresourcemanager:v1beta1/Binding/role": role +"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner +"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id "/clouduseraccounts:beta/fields": fields "/clouduseraccounts:beta/key": key "/clouduseraccounts:beta/quotaUser": quota_user @@ -11906,6 +12634,7 @@ "/compute:v1/userIp": user_ip "/compute:v1/compute.addresses.aggregatedList/filter": filter "/compute:v1/compute.addresses.aggregatedList/maxResults": max_results +"/compute:v1/compute.addresses.aggregatedList/orderBy": order_by "/compute:v1/compute.addresses.aggregatedList/pageToken": page_token "/compute:v1/compute.addresses.aggregatedList/project": project "/compute:v1/compute.addresses.delete": delete_address @@ -11922,11 +12651,13 @@ "/compute:v1/compute.addresses.list": list_addresses "/compute:v1/compute.addresses.list/filter": filter "/compute:v1/compute.addresses.list/maxResults": max_results +"/compute:v1/compute.addresses.list/orderBy": order_by "/compute:v1/compute.addresses.list/pageToken": page_token "/compute:v1/compute.addresses.list/project": project "/compute:v1/compute.addresses.list/region": region "/compute:v1/compute.autoscalers.aggregatedList/filter": filter "/compute:v1/compute.autoscalers.aggregatedList/maxResults": max_results +"/compute:v1/compute.autoscalers.aggregatedList/orderBy": order_by "/compute:v1/compute.autoscalers.aggregatedList/pageToken": page_token "/compute:v1/compute.autoscalers.aggregatedList/project": project "/compute:v1/compute.autoscalers.delete": delete_autoscaler @@ -11943,6 +12674,7 @@ "/compute:v1/compute.autoscalers.list": list_autoscalers "/compute:v1/compute.autoscalers.list/filter": filter "/compute:v1/compute.autoscalers.list/maxResults": max_results +"/compute:v1/compute.autoscalers.list/orderBy": order_by "/compute:v1/compute.autoscalers.list/pageToken": page_token "/compute:v1/compute.autoscalers.list/project": project "/compute:v1/compute.autoscalers.list/zone": zone @@ -11954,6 +12686,12 @@ "/compute:v1/compute.autoscalers.update/autoscaler": autoscaler "/compute:v1/compute.autoscalers.update/project": project "/compute:v1/compute.autoscalers.update/zone": zone +"/compute:v1/compute.backendServices.aggregatedList": aggregated_backend_service_list +"/compute:v1/compute.backendServices.aggregatedList/filter": filter +"/compute:v1/compute.backendServices.aggregatedList/maxResults": max_results +"/compute:v1/compute.backendServices.aggregatedList/orderBy": order_by +"/compute:v1/compute.backendServices.aggregatedList/pageToken": page_token +"/compute:v1/compute.backendServices.aggregatedList/project": project "/compute:v1/compute.backendServices.delete": delete_backend_service "/compute:v1/compute.backendServices.delete/backendService": backend_service "/compute:v1/compute.backendServices.delete/project": project @@ -11967,6 +12705,7 @@ "/compute:v1/compute.backendServices.list": list_backend_services "/compute:v1/compute.backendServices.list/filter": filter "/compute:v1/compute.backendServices.list/maxResults": max_results +"/compute:v1/compute.backendServices.list/orderBy": order_by "/compute:v1/compute.backendServices.list/pageToken": page_token "/compute:v1/compute.backendServices.list/project": project "/compute:v1/compute.backendServices.patch": patch_backend_service @@ -11977,6 +12716,7 @@ "/compute:v1/compute.backendServices.update/project": project "/compute:v1/compute.diskTypes.aggregatedList/filter": filter "/compute:v1/compute.diskTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.diskTypes.aggregatedList/orderBy": order_by "/compute:v1/compute.diskTypes.aggregatedList/pageToken": page_token "/compute:v1/compute.diskTypes.aggregatedList/project": project "/compute:v1/compute.diskTypes.get": get_disk_type @@ -11986,11 +12726,13 @@ "/compute:v1/compute.diskTypes.list": list_disk_types "/compute:v1/compute.diskTypes.list/filter": filter "/compute:v1/compute.diskTypes.list/maxResults": max_results +"/compute:v1/compute.diskTypes.list/orderBy": order_by "/compute:v1/compute.diskTypes.list/pageToken": page_token "/compute:v1/compute.diskTypes.list/project": project "/compute:v1/compute.diskTypes.list/zone": zone "/compute:v1/compute.disks.aggregatedList/filter": filter "/compute:v1/compute.disks.aggregatedList/maxResults": max_results +"/compute:v1/compute.disks.aggregatedList/orderBy": order_by "/compute:v1/compute.disks.aggregatedList/pageToken": page_token "/compute:v1/compute.disks.aggregatedList/project": project "/compute:v1/compute.disks.createSnapshot/disk": disk @@ -12011,6 +12753,7 @@ "/compute:v1/compute.disks.list": list_disks "/compute:v1/compute.disks.list/filter": filter "/compute:v1/compute.disks.list/maxResults": max_results +"/compute:v1/compute.disks.list/orderBy": order_by "/compute:v1/compute.disks.list/pageToken": page_token "/compute:v1/compute.disks.list/project": project "/compute:v1/compute.disks.list/zone": zone @@ -12029,6 +12772,7 @@ "/compute:v1/compute.firewalls.list": list_firewalls "/compute:v1/compute.firewalls.list/filter": filter "/compute:v1/compute.firewalls.list/maxResults": max_results +"/compute:v1/compute.firewalls.list/orderBy": order_by "/compute:v1/compute.firewalls.list/pageToken": page_token "/compute:v1/compute.firewalls.list/project": project "/compute:v1/compute.firewalls.patch": patch_firewall @@ -12039,6 +12783,7 @@ "/compute:v1/compute.firewalls.update/project": project "/compute:v1/compute.forwardingRules.aggregatedList/filter": filter "/compute:v1/compute.forwardingRules.aggregatedList/maxResults": max_results +"/compute:v1/compute.forwardingRules.aggregatedList/orderBy": order_by "/compute:v1/compute.forwardingRules.aggregatedList/pageToken": page_token "/compute:v1/compute.forwardingRules.aggregatedList/project": project "/compute:v1/compute.forwardingRules.delete": delete_forwarding_rule @@ -12055,6 +12800,7 @@ "/compute:v1/compute.forwardingRules.list": list_forwarding_rules "/compute:v1/compute.forwardingRules.list/filter": filter "/compute:v1/compute.forwardingRules.list/maxResults": max_results +"/compute:v1/compute.forwardingRules.list/orderBy": order_by "/compute:v1/compute.forwardingRules.list/pageToken": page_token "/compute:v1/compute.forwardingRules.list/project": project "/compute:v1/compute.forwardingRules.list/region": region @@ -12072,6 +12818,7 @@ "/compute:v1/compute.globalAddresses.list": list_global_addresses "/compute:v1/compute.globalAddresses.list/filter": filter "/compute:v1/compute.globalAddresses.list/maxResults": max_results +"/compute:v1/compute.globalAddresses.list/orderBy": order_by "/compute:v1/compute.globalAddresses.list/pageToken": page_token "/compute:v1/compute.globalAddresses.list/project": project "/compute:v1/compute.globalForwardingRules.delete": delete_global_forwarding_rule @@ -12085,12 +12832,14 @@ "/compute:v1/compute.globalForwardingRules.list": list_global_forwarding_rules "/compute:v1/compute.globalForwardingRules.list/filter": filter "/compute:v1/compute.globalForwardingRules.list/maxResults": max_results +"/compute:v1/compute.globalForwardingRules.list/orderBy": order_by "/compute:v1/compute.globalForwardingRules.list/pageToken": page_token "/compute:v1/compute.globalForwardingRules.list/project": project "/compute:v1/compute.globalForwardingRules.setTarget/forwardingRule": forwarding_rule "/compute:v1/compute.globalForwardingRules.setTarget/project": project "/compute:v1/compute.globalOperations.aggregatedList/filter": filter "/compute:v1/compute.globalOperations.aggregatedList/maxResults": max_results +"/compute:v1/compute.globalOperations.aggregatedList/orderBy": order_by "/compute:v1/compute.globalOperations.aggregatedList/pageToken": page_token "/compute:v1/compute.globalOperations.aggregatedList/project": project "/compute:v1/compute.globalOperations.delete": delete_global_operation @@ -12102,8 +12851,29 @@ "/compute:v1/compute.globalOperations.list": list_global_operations "/compute:v1/compute.globalOperations.list/filter": filter "/compute:v1/compute.globalOperations.list/maxResults": max_results +"/compute:v1/compute.globalOperations.list/orderBy": order_by "/compute:v1/compute.globalOperations.list/pageToken": page_token "/compute:v1/compute.globalOperations.list/project": project +"/compute:v1/compute.healthChecks.delete": delete_health_check +"/compute:v1/compute.healthChecks.delete/healthCheck": health_check +"/compute:v1/compute.healthChecks.delete/project": project +"/compute:v1/compute.healthChecks.get": get_health_check +"/compute:v1/compute.healthChecks.get/healthCheck": health_check +"/compute:v1/compute.healthChecks.get/project": project +"/compute:v1/compute.healthChecks.insert": insert_health_check +"/compute:v1/compute.healthChecks.insert/project": project +"/compute:v1/compute.healthChecks.list": list_health_checks +"/compute:v1/compute.healthChecks.list/filter": filter +"/compute:v1/compute.healthChecks.list/maxResults": max_results +"/compute:v1/compute.healthChecks.list/orderBy": order_by +"/compute:v1/compute.healthChecks.list/pageToken": page_token +"/compute:v1/compute.healthChecks.list/project": project +"/compute:v1/compute.healthChecks.patch": patch_health_check +"/compute:v1/compute.healthChecks.patch/healthCheck": health_check +"/compute:v1/compute.healthChecks.patch/project": project +"/compute:v1/compute.healthChecks.update": update_health_check +"/compute:v1/compute.healthChecks.update/healthCheck": health_check +"/compute:v1/compute.healthChecks.update/project": project "/compute:v1/compute.httpHealthChecks.delete": delete_http_health_check "/compute:v1/compute.httpHealthChecks.delete/httpHealthCheck": http_health_check "/compute:v1/compute.httpHealthChecks.delete/project": project @@ -12115,6 +12885,7 @@ "/compute:v1/compute.httpHealthChecks.list": list_http_health_checks "/compute:v1/compute.httpHealthChecks.list/filter": filter "/compute:v1/compute.httpHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpHealthChecks.list/orderBy": order_by "/compute:v1/compute.httpHealthChecks.list/pageToken": page_token "/compute:v1/compute.httpHealthChecks.list/project": project "/compute:v1/compute.httpHealthChecks.patch": patch_http_health_check @@ -12134,6 +12905,7 @@ "/compute:v1/compute.httpsHealthChecks.list": list_https_health_checks "/compute:v1/compute.httpsHealthChecks.list/filter": filter "/compute:v1/compute.httpsHealthChecks.list/maxResults": max_results +"/compute:v1/compute.httpsHealthChecks.list/orderBy": order_by "/compute:v1/compute.httpsHealthChecks.list/pageToken": page_token "/compute:v1/compute.httpsHealthChecks.list/project": project "/compute:v1/compute.httpsHealthChecks.patch": patch_https_health_check @@ -12159,6 +12931,7 @@ "/compute:v1/compute.images.list": list_images "/compute:v1/compute.images.list/filter": filter "/compute:v1/compute.images.list/maxResults": max_results +"/compute:v1/compute.images.list/orderBy": order_by "/compute:v1/compute.images.list/pageToken": page_token "/compute:v1/compute.images.list/project": project "/compute:v1/compute.instanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager @@ -12166,6 +12939,7 @@ "/compute:v1/compute.instanceGroupManagers.abandonInstances/zone": zone "/compute:v1/compute.instanceGroupManagers.aggregatedList/filter": filter "/compute:v1/compute.instanceGroupManagers.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.aggregatedList/orderBy": order_by "/compute:v1/compute.instanceGroupManagers.aggregatedList/pageToken": page_token "/compute:v1/compute.instanceGroupManagers.aggregatedList/project": project "/compute:v1/compute.instanceGroupManagers.delete": delete_instance_group_manager @@ -12185,10 +12959,15 @@ "/compute:v1/compute.instanceGroupManagers.list": list_instance_group_managers "/compute:v1/compute.instanceGroupManagers.list/filter": filter "/compute:v1/compute.instanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.list/orderBy": order_by "/compute:v1/compute.instanceGroupManagers.list/pageToken": page_token "/compute:v1/compute.instanceGroupManagers.list/project": project "/compute:v1/compute.instanceGroupManagers.list/zone": zone +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/filter": filter "/compute:v1/compute.instanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.instanceGroupManagers.listManagedInstances/pageToken": page_token "/compute:v1/compute.instanceGroupManagers.listManagedInstances/project": project "/compute:v1/compute.instanceGroupManagers.listManagedInstances/zone": zone "/compute:v1/compute.instanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager @@ -12209,6 +12988,7 @@ "/compute:v1/compute.instanceGroups.addInstances/zone": zone "/compute:v1/compute.instanceGroups.aggregatedList/filter": filter "/compute:v1/compute.instanceGroups.aggregatedList/maxResults": max_results +"/compute:v1/compute.instanceGroups.aggregatedList/orderBy": order_by "/compute:v1/compute.instanceGroups.aggregatedList/pageToken": page_token "/compute:v1/compute.instanceGroups.aggregatedList/project": project "/compute:v1/compute.instanceGroups.delete": delete_instance_group @@ -12225,12 +13005,14 @@ "/compute:v1/compute.instanceGroups.list": list_instance_groups "/compute:v1/compute.instanceGroups.list/filter": filter "/compute:v1/compute.instanceGroups.list/maxResults": max_results +"/compute:v1/compute.instanceGroups.list/orderBy": order_by "/compute:v1/compute.instanceGroups.list/pageToken": page_token "/compute:v1/compute.instanceGroups.list/project": project "/compute:v1/compute.instanceGroups.list/zone": zone "/compute:v1/compute.instanceGroups.listInstances/filter": filter "/compute:v1/compute.instanceGroups.listInstances/instanceGroup": instance_group "/compute:v1/compute.instanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.instanceGroups.listInstances/orderBy": order_by "/compute:v1/compute.instanceGroups.listInstances/pageToken": page_token "/compute:v1/compute.instanceGroups.listInstances/project": project "/compute:v1/compute.instanceGroups.listInstances/zone": zone @@ -12251,6 +13033,7 @@ "/compute:v1/compute.instanceTemplates.list": list_instance_templates "/compute:v1/compute.instanceTemplates.list/filter": filter "/compute:v1/compute.instanceTemplates.list/maxResults": max_results +"/compute:v1/compute.instanceTemplates.list/orderBy": order_by "/compute:v1/compute.instanceTemplates.list/pageToken": page_token "/compute:v1/compute.instanceTemplates.list/project": project "/compute:v1/compute.instances.addAccessConfig/instance": instance @@ -12259,6 +13042,7 @@ "/compute:v1/compute.instances.addAccessConfig/zone": zone "/compute:v1/compute.instances.aggregatedList/filter": filter "/compute:v1/compute.instances.aggregatedList/maxResults": max_results +"/compute:v1/compute.instances.aggregatedList/orderBy": order_by "/compute:v1/compute.instances.aggregatedList/pageToken": page_token "/compute:v1/compute.instances.aggregatedList/project": project "/compute:v1/compute.instances.attachDisk/instance": instance @@ -12284,6 +13068,7 @@ "/compute:v1/compute.instances.getSerialPortOutput/instance": instance "/compute:v1/compute.instances.getSerialPortOutput/port": port "/compute:v1/compute.instances.getSerialPortOutput/project": project +"/compute:v1/compute.instances.getSerialPortOutput/start": start "/compute:v1/compute.instances.getSerialPortOutput/zone": zone "/compute:v1/compute.instances.insert": insert_instance "/compute:v1/compute.instances.insert/project": project @@ -12291,6 +13076,7 @@ "/compute:v1/compute.instances.list": list_instances "/compute:v1/compute.instances.list/filter": filter "/compute:v1/compute.instances.list/maxResults": max_results +"/compute:v1/compute.instances.list/orderBy": order_by "/compute:v1/compute.instances.list/pageToken": page_token "/compute:v1/compute.instances.list/project": project "/compute:v1/compute.instances.list/zone": zone @@ -12333,6 +13119,7 @@ "/compute:v1/compute.licenses.get/project": project "/compute:v1/compute.machineTypes.aggregatedList/filter": filter "/compute:v1/compute.machineTypes.aggregatedList/maxResults": max_results +"/compute:v1/compute.machineTypes.aggregatedList/orderBy": order_by "/compute:v1/compute.machineTypes.aggregatedList/pageToken": page_token "/compute:v1/compute.machineTypes.aggregatedList/project": project "/compute:v1/compute.machineTypes.get": get_machine_type @@ -12342,6 +13129,7 @@ "/compute:v1/compute.machineTypes.list": list_machine_types "/compute:v1/compute.machineTypes.list/filter": filter "/compute:v1/compute.machineTypes.list/maxResults": max_results +"/compute:v1/compute.machineTypes.list/orderBy": order_by "/compute:v1/compute.machineTypes.list/pageToken": page_token "/compute:v1/compute.machineTypes.list/project": project "/compute:v1/compute.machineTypes.list/zone": zone @@ -12356,14 +13144,148 @@ "/compute:v1/compute.networks.list": list_networks "/compute:v1/compute.networks.list/filter": filter "/compute:v1/compute.networks.list/maxResults": max_results +"/compute:v1/compute.networks.list/orderBy": order_by "/compute:v1/compute.networks.list/pageToken": page_token "/compute:v1/compute.networks.list/project": project +"/compute:v1/compute.networks.switchToCustomMode": switch_network_to_custom_mode +"/compute:v1/compute.networks.switchToCustomMode/network": network +"/compute:v1/compute.networks.switchToCustomMode/project": project "/compute:v1/compute.projects.get": get_project "/compute:v1/compute.projects.get/project": project "/compute:v1/compute.projects.moveDisk/project": project "/compute:v1/compute.projects.moveInstance/project": project "/compute:v1/compute.projects.setCommonInstanceMetadata/project": project "/compute:v1/compute.projects.setUsageExportBucket/project": project +"/compute:v1/compute.regionAutoscalers.delete": delete_region_autoscaler +"/compute:v1/compute.regionAutoscalers.delete/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.delete/project": project +"/compute:v1/compute.regionAutoscalers.delete/region": region +"/compute:v1/compute.regionAutoscalers.get": get_region_autoscaler +"/compute:v1/compute.regionAutoscalers.get/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.get/project": project +"/compute:v1/compute.regionAutoscalers.get/region": region +"/compute:v1/compute.regionAutoscalers.insert": insert_region_autoscaler +"/compute:v1/compute.regionAutoscalers.insert/project": project +"/compute:v1/compute.regionAutoscalers.insert/region": region +"/compute:v1/compute.regionAutoscalers.list": list_region_autoscalers +"/compute:v1/compute.regionAutoscalers.list/filter": filter +"/compute:v1/compute.regionAutoscalers.list/maxResults": max_results +"/compute:v1/compute.regionAutoscalers.list/orderBy": order_by +"/compute:v1/compute.regionAutoscalers.list/pageToken": page_token +"/compute:v1/compute.regionAutoscalers.list/project": project +"/compute:v1/compute.regionAutoscalers.list/region": region +"/compute:v1/compute.regionAutoscalers.patch": patch_region_autoscaler +"/compute:v1/compute.regionAutoscalers.patch/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.patch/project": project +"/compute:v1/compute.regionAutoscalers.patch/region": region +"/compute:v1/compute.regionAutoscalers.update": update_region_autoscaler +"/compute:v1/compute.regionAutoscalers.update/autoscaler": autoscaler +"/compute:v1/compute.regionAutoscalers.update/project": project +"/compute:v1/compute.regionAutoscalers.update/region": region +"/compute:v1/compute.regionBackendServices.delete": delete_region_backend_service +"/compute:v1/compute.regionBackendServices.delete/backendService": backend_service +"/compute:v1/compute.regionBackendServices.delete/project": project +"/compute:v1/compute.regionBackendServices.delete/region": region +"/compute:v1/compute.regionBackendServices.get": get_region_backend_service +"/compute:v1/compute.regionBackendServices.get/backendService": backend_service +"/compute:v1/compute.regionBackendServices.get/project": project +"/compute:v1/compute.regionBackendServices.get/region": region +"/compute:v1/compute.regionBackendServices.getHealth": get_region_backend_service_health +"/compute:v1/compute.regionBackendServices.getHealth/backendService": backend_service +"/compute:v1/compute.regionBackendServices.getHealth/project": project +"/compute:v1/compute.regionBackendServices.getHealth/region": region +"/compute:v1/compute.regionBackendServices.insert": insert_region_backend_service +"/compute:v1/compute.regionBackendServices.insert/project": project +"/compute:v1/compute.regionBackendServices.insert/region": region +"/compute:v1/compute.regionBackendServices.list": list_region_backend_services +"/compute:v1/compute.regionBackendServices.list/filter": filter +"/compute:v1/compute.regionBackendServices.list/maxResults": max_results +"/compute:v1/compute.regionBackendServices.list/orderBy": order_by +"/compute:v1/compute.regionBackendServices.list/pageToken": page_token +"/compute:v1/compute.regionBackendServices.list/project": project +"/compute:v1/compute.regionBackendServices.list/region": region +"/compute:v1/compute.regionBackendServices.patch": patch_region_backend_service +"/compute:v1/compute.regionBackendServices.patch/backendService": backend_service +"/compute:v1/compute.regionBackendServices.patch/project": project +"/compute:v1/compute.regionBackendServices.patch/region": region +"/compute:v1/compute.regionBackendServices.update": update_region_backend_service +"/compute:v1/compute.regionBackendServices.update/backendService": backend_service +"/compute:v1/compute.regionBackendServices.update/project": project +"/compute:v1/compute.regionBackendServices.update/region": region +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances": abandon_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.abandonInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.delete": delete_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.delete/project": project +"/compute:v1/compute.regionInstanceGroupManagers.delete/region": region +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances": delete_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.deleteInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.get": get_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.get/project": project +"/compute:v1/compute.regionInstanceGroupManagers.get/region": region +"/compute:v1/compute.regionInstanceGroupManagers.insert": insert_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.insert/project": project +"/compute:v1/compute.regionInstanceGroupManagers.insert/region": region +"/compute:v1/compute.regionInstanceGroupManagers.list": list_region_instance_group_managers +"/compute:v1/compute.regionInstanceGroupManagers.list/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroupManagers.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.list/project": project +"/compute:v1/compute.regionInstanceGroupManagers.list/region": region +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances": list_region_instance_group_manager_managed_instances +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/filter": filter +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/order_by": order_by +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.listManagedInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances": recreate_region_instance_group_manager_instances +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/project": project +"/compute:v1/compute.regionInstanceGroupManagers.recreateInstances/region": region +"/compute:v1/compute.regionInstanceGroupManagers.resize": resize_region_instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.resize/project": project +"/compute:v1/compute.regionInstanceGroupManagers.resize/region": region +"/compute:v1/compute.regionInstanceGroupManagers.resize/size": size +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate": set_region_instance_group_manager_instance_template +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setInstanceTemplate/region": region +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools": set_region_instance_group_manager_target_pools +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/instanceGroupManager": instance_group_manager +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/project": project +"/compute:v1/compute.regionInstanceGroupManagers.setTargetPools/region": region +"/compute:v1/compute.regionInstanceGroups.get": get_region_instance_group +"/compute:v1/compute.regionInstanceGroups.get/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.get/project": project +"/compute:v1/compute.regionInstanceGroups.get/region": region +"/compute:v1/compute.regionInstanceGroups.list": list_region_instance_groups +"/compute:v1/compute.regionInstanceGroups.list/filter": filter +"/compute:v1/compute.regionInstanceGroups.list/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.list/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.list/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.list/project": project +"/compute:v1/compute.regionInstanceGroups.list/region": region +"/compute:v1/compute.regionInstanceGroups.listInstances": list_region_instance_group_instances +"/compute:v1/compute.regionInstanceGroups.listInstances/filter": filter +"/compute:v1/compute.regionInstanceGroups.listInstances/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.listInstances/maxResults": max_results +"/compute:v1/compute.regionInstanceGroups.listInstances/orderBy": order_by +"/compute:v1/compute.regionInstanceGroups.listInstances/pageToken": page_token +"/compute:v1/compute.regionInstanceGroups.listInstances/project": project +"/compute:v1/compute.regionInstanceGroups.listInstances/region": region +"/compute:v1/compute.regionInstanceGroups.setNamedPorts": set_region_instance_group_named_ports +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/instanceGroup": instance_group +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/project": project +"/compute:v1/compute.regionInstanceGroups.setNamedPorts/region": region "/compute:v1/compute.regionOperations.delete": delete_region_operation "/compute:v1/compute.regionOperations.delete/operation": operation "/compute:v1/compute.regionOperations.delete/project": project @@ -12375,6 +13297,7 @@ "/compute:v1/compute.regionOperations.list": list_region_operations "/compute:v1/compute.regionOperations.list/filter": filter "/compute:v1/compute.regionOperations.list/maxResults": max_results +"/compute:v1/compute.regionOperations.list/orderBy": order_by "/compute:v1/compute.regionOperations.list/pageToken": page_token "/compute:v1/compute.regionOperations.list/project": project "/compute:v1/compute.regionOperations.list/region": region @@ -12384,11 +13307,13 @@ "/compute:v1/compute.regions.list": list_regions "/compute:v1/compute.regions.list/filter": filter "/compute:v1/compute.regions.list/maxResults": max_results +"/compute:v1/compute.regions.list/orderBy": order_by "/compute:v1/compute.regions.list/pageToken": page_token "/compute:v1/compute.regions.list/project": project "/compute:v1/compute.routers.aggregatedList": aggregated_router_list "/compute:v1/compute.routers.aggregatedList/filter": filter "/compute:v1/compute.routers.aggregatedList/maxResults": max_results +"/compute:v1/compute.routers.aggregatedList/orderBy": order_by "/compute:v1/compute.routers.aggregatedList/pageToken": page_token "/compute:v1/compute.routers.aggregatedList/project": project "/compute:v1/compute.routers.delete": delete_router @@ -12409,6 +13334,7 @@ "/compute:v1/compute.routers.list": list_routers "/compute:v1/compute.routers.list/filter": filter "/compute:v1/compute.routers.list/maxResults": max_results +"/compute:v1/compute.routers.list/orderBy": order_by "/compute:v1/compute.routers.list/pageToken": page_token "/compute:v1/compute.routers.list/project": project "/compute:v1/compute.routers.list/region": region @@ -12435,6 +13361,7 @@ "/compute:v1/compute.routes.list": list_routes "/compute:v1/compute.routes.list/filter": filter "/compute:v1/compute.routes.list/maxResults": max_results +"/compute:v1/compute.routes.list/orderBy": order_by "/compute:v1/compute.routes.list/pageToken": page_token "/compute:v1/compute.routes.list/project": project "/compute:v1/compute.snapshots.delete": delete_snapshot @@ -12446,6 +13373,7 @@ "/compute:v1/compute.snapshots.list": list_snapshots "/compute:v1/compute.snapshots.list/filter": filter "/compute:v1/compute.snapshots.list/maxResults": max_results +"/compute:v1/compute.snapshots.list/orderBy": order_by "/compute:v1/compute.snapshots.list/pageToken": page_token "/compute:v1/compute.snapshots.list/project": project "/compute:v1/compute.sslCertificates.delete": delete_ssl_certificate @@ -12459,17 +13387,23 @@ "/compute:v1/compute.sslCertificates.list": list_ssl_certificates "/compute:v1/compute.sslCertificates.list/filter": filter "/compute:v1/compute.sslCertificates.list/maxResults": max_results +"/compute:v1/compute.sslCertificates.list/orderBy": order_by "/compute:v1/compute.sslCertificates.list/pageToken": page_token "/compute:v1/compute.sslCertificates.list/project": project "/compute:v1/compute.subnetworks.aggregatedList": aggregated_subnetwork_list "/compute:v1/compute.subnetworks.aggregatedList/filter": filter "/compute:v1/compute.subnetworks.aggregatedList/maxResults": max_results +"/compute:v1/compute.subnetworks.aggregatedList/orderBy": order_by "/compute:v1/compute.subnetworks.aggregatedList/pageToken": page_token "/compute:v1/compute.subnetworks.aggregatedList/project": project "/compute:v1/compute.subnetworks.delete": delete_subnetwork "/compute:v1/compute.subnetworks.delete/project": project "/compute:v1/compute.subnetworks.delete/region": region "/compute:v1/compute.subnetworks.delete/subnetwork": subnetwork +"/compute:v1/compute.subnetworks.expandIpCidrRange": expand_subnetwork_ip_cidr_range +"/compute:v1/compute.subnetworks.expandIpCidrRange/project": project +"/compute:v1/compute.subnetworks.expandIpCidrRange/region": region +"/compute:v1/compute.subnetworks.expandIpCidrRange/subnetwork": subnetwork "/compute:v1/compute.subnetworks.get": get_subnetwork "/compute:v1/compute.subnetworks.get/project": project "/compute:v1/compute.subnetworks.get/region": region @@ -12480,6 +13414,7 @@ "/compute:v1/compute.subnetworks.list": list_subnetworks "/compute:v1/compute.subnetworks.list/filter": filter "/compute:v1/compute.subnetworks.list/maxResults": max_results +"/compute:v1/compute.subnetworks.list/orderBy": order_by "/compute:v1/compute.subnetworks.list/pageToken": page_token "/compute:v1/compute.subnetworks.list/project": project "/compute:v1/compute.subnetworks.list/region": region @@ -12494,6 +13429,7 @@ "/compute:v1/compute.targetHttpProxies.list": list_target_http_proxies "/compute:v1/compute.targetHttpProxies.list/filter": filter "/compute:v1/compute.targetHttpProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpProxies.list/orderBy": order_by "/compute:v1/compute.targetHttpProxies.list/pageToken": page_token "/compute:v1/compute.targetHttpProxies.list/project": project "/compute:v1/compute.targetHttpProxies.setUrlMap/project": project @@ -12509,6 +13445,7 @@ "/compute:v1/compute.targetHttpsProxies.list": list_target_https_proxies "/compute:v1/compute.targetHttpsProxies.list/filter": filter "/compute:v1/compute.targetHttpsProxies.list/maxResults": max_results +"/compute:v1/compute.targetHttpsProxies.list/orderBy": order_by "/compute:v1/compute.targetHttpsProxies.list/pageToken": page_token "/compute:v1/compute.targetHttpsProxies.list/project": project "/compute:v1/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates @@ -12519,6 +13456,7 @@ "/compute:v1/compute.targetHttpsProxies.setUrlMap/targetHttpsProxy": target_https_proxy "/compute:v1/compute.targetInstances.aggregatedList/filter": filter "/compute:v1/compute.targetInstances.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetInstances.aggregatedList/orderBy": order_by "/compute:v1/compute.targetInstances.aggregatedList/pageToken": page_token "/compute:v1/compute.targetInstances.aggregatedList/project": project "/compute:v1/compute.targetInstances.delete": delete_target_instance @@ -12535,6 +13473,7 @@ "/compute:v1/compute.targetInstances.list": list_target_instances "/compute:v1/compute.targetInstances.list/filter": filter "/compute:v1/compute.targetInstances.list/maxResults": max_results +"/compute:v1/compute.targetInstances.list/orderBy": order_by "/compute:v1/compute.targetInstances.list/pageToken": page_token "/compute:v1/compute.targetInstances.list/project": project "/compute:v1/compute.targetInstances.list/zone": zone @@ -12546,6 +13485,7 @@ "/compute:v1/compute.targetPools.addInstance/targetPool": target_pool "/compute:v1/compute.targetPools.aggregatedList/filter": filter "/compute:v1/compute.targetPools.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetPools.aggregatedList/orderBy": order_by "/compute:v1/compute.targetPools.aggregatedList/pageToken": page_token "/compute:v1/compute.targetPools.aggregatedList/project": project "/compute:v1/compute.targetPools.delete": delete_target_pool @@ -12565,6 +13505,7 @@ "/compute:v1/compute.targetPools.list": list_target_pools "/compute:v1/compute.targetPools.list/filter": filter "/compute:v1/compute.targetPools.list/maxResults": max_results +"/compute:v1/compute.targetPools.list/orderBy": order_by "/compute:v1/compute.targetPools.list/pageToken": page_token "/compute:v1/compute.targetPools.list/project": project "/compute:v1/compute.targetPools.list/region": region @@ -12578,8 +13519,32 @@ "/compute:v1/compute.targetPools.setBackup/project": project "/compute:v1/compute.targetPools.setBackup/region": region "/compute:v1/compute.targetPools.setBackup/targetPool": target_pool +"/compute:v1/compute.targetSslProxies.delete": delete_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.delete/project": project +"/compute:v1/compute.targetSslProxies.delete/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get": get_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.get/project": project +"/compute:v1/compute.targetSslProxies.get/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert": insert_target_ssl_proxy +"/compute:v1/compute.targetSslProxies.insert/project": project +"/compute:v1/compute.targetSslProxies.list": list_target_ssl_proxies +"/compute:v1/compute.targetSslProxies.list/filter": filter +"/compute:v1/compute.targetSslProxies.list/maxResults": max_results +"/compute:v1/compute.targetSslProxies.list/orderBy": order_by +"/compute:v1/compute.targetSslProxies.list/pageToken": page_token +"/compute:v1/compute.targetSslProxies.list/project": project +"/compute:v1/compute.targetSslProxies.setBackendService": set_target_ssl_proxy_backend_service +"/compute:v1/compute.targetSslProxies.setBackendService/project": project +"/compute:v1/compute.targetSslProxies.setBackendService/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setProxyHeader": set_target_ssl_proxy_proxy_header +"/compute:v1/compute.targetSslProxies.setProxyHeader/project": project +"/compute:v1/compute.targetSslProxies.setProxyHeader/targetSslProxy": target_ssl_proxy +"/compute:v1/compute.targetSslProxies.setSslCertificates": set_target_ssl_proxy_ssl_certificates +"/compute:v1/compute.targetSslProxies.setSslCertificates/project": project +"/compute:v1/compute.targetSslProxies.setSslCertificates/targetSslProxy": target_ssl_proxy "/compute:v1/compute.targetVpnGateways.aggregatedList/filter": filter "/compute:v1/compute.targetVpnGateways.aggregatedList/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.aggregatedList/orderBy": order_by "/compute:v1/compute.targetVpnGateways.aggregatedList/pageToken": page_token "/compute:v1/compute.targetVpnGateways.aggregatedList/project": project "/compute:v1/compute.targetVpnGateways.delete/project": project @@ -12592,6 +13557,7 @@ "/compute:v1/compute.targetVpnGateways.insert/region": region "/compute:v1/compute.targetVpnGateways.list/filter": filter "/compute:v1/compute.targetVpnGateways.list/maxResults": max_results +"/compute:v1/compute.targetVpnGateways.list/orderBy": order_by "/compute:v1/compute.targetVpnGateways.list/pageToken": page_token "/compute:v1/compute.targetVpnGateways.list/project": project "/compute:v1/compute.targetVpnGateways.list/region": region @@ -12609,6 +13575,7 @@ "/compute:v1/compute.urlMaps.list": list_url_maps "/compute:v1/compute.urlMaps.list/filter": filter "/compute:v1/compute.urlMaps.list/maxResults": max_results +"/compute:v1/compute.urlMaps.list/orderBy": order_by "/compute:v1/compute.urlMaps.list/pageToken": page_token "/compute:v1/compute.urlMaps.list/project": project "/compute:v1/compute.urlMaps.patch": patch_url_map @@ -12622,6 +13589,7 @@ "/compute:v1/compute.urlMaps.validate/urlMap": url_map "/compute:v1/compute.vpnTunnels.aggregatedList/filter": filter "/compute:v1/compute.vpnTunnels.aggregatedList/maxResults": max_results +"/compute:v1/compute.vpnTunnels.aggregatedList/orderBy": order_by "/compute:v1/compute.vpnTunnels.aggregatedList/pageToken": page_token "/compute:v1/compute.vpnTunnels.aggregatedList/project": project "/compute:v1/compute.vpnTunnels.delete": delete_vpn_tunnel @@ -12638,6 +13606,7 @@ "/compute:v1/compute.vpnTunnels.list": list_vpn_tunnels "/compute:v1/compute.vpnTunnels.list/filter": filter "/compute:v1/compute.vpnTunnels.list/maxResults": max_results +"/compute:v1/compute.vpnTunnels.list/orderBy": order_by "/compute:v1/compute.vpnTunnels.list/pageToken": page_token "/compute:v1/compute.vpnTunnels.list/project": project "/compute:v1/compute.vpnTunnels.list/region": region @@ -12652,6 +13621,7 @@ "/compute:v1/compute.zoneOperations.list": list_zone_operations "/compute:v1/compute.zoneOperations.list/filter": filter "/compute:v1/compute.zoneOperations.list/maxResults": max_results +"/compute:v1/compute.zoneOperations.list/orderBy": order_by "/compute:v1/compute.zoneOperations.list/pageToken": page_token "/compute:v1/compute.zoneOperations.list/project": project "/compute:v1/compute.zoneOperations.list/zone": zone @@ -12661,6 +13631,7 @@ "/compute:v1/compute.zones.list": list_zones "/compute:v1/compute.zones.list/filter": filter "/compute:v1/compute.zones.list/maxResults": max_results +"/compute:v1/compute.zones.list/orderBy": order_by "/compute:v1/compute.zones.list/pageToken": page_token "/compute:v1/compute.zones.list/project": project "/compute:v1/AccessConfig": access_config @@ -12731,6 +13702,7 @@ "/compute:v1/Autoscaler/id": id "/compute:v1/Autoscaler/kind": kind "/compute:v1/Autoscaler/name": name +"/compute:v1/Autoscaler/region": region "/compute:v1/Autoscaler/selfLink": self_link "/compute:v1/Autoscaler/target": target "/compute:v1/Autoscaler/zone": zone @@ -12779,6 +13751,8 @@ "/compute:v1/Backend/capacityScaler": capacity_scaler "/compute:v1/Backend/description": description "/compute:v1/Backend/group": group +"/compute:v1/Backend/maxConnections": max_connections +"/compute:v1/Backend/maxConnectionsPerInstance": max_connections_per_instance "/compute:v1/Backend/maxRate": max_rate "/compute:v1/Backend/maxRatePerInstance": max_rate_per_instance "/compute:v1/Backend/maxUtilization": max_utilization @@ -12786,6 +13760,7 @@ "/compute:v1/BackendService/affinityCookieTtlSec": affinity_cookie_ttl_sec "/compute:v1/BackendService/backends": backends "/compute:v1/BackendService/backends/backend": backend +"/compute:v1/BackendService/connectionDraining": connection_draining "/compute:v1/BackendService/creationTimestamp": creation_timestamp "/compute:v1/BackendService/description": description "/compute:v1/BackendService/enableCDN": enable_cdn @@ -12794,6 +13769,7 @@ "/compute:v1/BackendService/healthChecks/health_check": health_check "/compute:v1/BackendService/id": id "/compute:v1/BackendService/kind": kind +"/compute:v1/BackendService/loadBalancingScheme": load_balancing_scheme "/compute:v1/BackendService/name": name "/compute:v1/BackendService/port": port "/compute:v1/BackendService/portName": port_name @@ -12802,6 +13778,13 @@ "/compute:v1/BackendService/selfLink": self_link "/compute:v1/BackendService/sessionAffinity": session_affinity "/compute:v1/BackendService/timeoutSec": timeout_sec +"/compute:v1/BackendServiceAggregatedList": backend_service_aggregated_list +"/compute:v1/BackendServiceAggregatedList/id": id +"/compute:v1/BackendServiceAggregatedList/items": items +"/compute:v1/BackendServiceAggregatedList/items/item": item +"/compute:v1/BackendServiceAggregatedList/kind": kind +"/compute:v1/BackendServiceAggregatedList/nextPageToken": next_page_token +"/compute:v1/BackendServiceAggregatedList/selfLink": self_link "/compute:v1/BackendServiceGroupHealth": backend_service_group_health "/compute:v1/BackendServiceGroupHealth/healthStatus": health_status "/compute:v1/BackendServiceGroupHealth/healthStatus/health_status": health_status @@ -12813,8 +13796,21 @@ "/compute:v1/BackendServiceList/kind": kind "/compute:v1/BackendServiceList/nextPageToken": next_page_token "/compute:v1/BackendServiceList/selfLink": self_link +"/compute:v1/BackendServicesScopedList": backend_services_scoped_list +"/compute:v1/BackendServicesScopedList/backendServices": backend_services +"/compute:v1/BackendServicesScopedList/backendServices/backend_service": backend_service +"/compute:v1/BackendServicesScopedList/warning": warning +"/compute:v1/BackendServicesScopedList/warning/code": code +"/compute:v1/BackendServicesScopedList/warning/data": data +"/compute:v1/BackendServicesScopedList/warning/data/datum": datum +"/compute:v1/BackendServicesScopedList/warning/data/datum/key": key +"/compute:v1/BackendServicesScopedList/warning/data/datum/value": value +"/compute:v1/BackendServicesScopedList/warning/message": message "/compute:v1/CacheInvalidationRule": cache_invalidation_rule +"/compute:v1/CacheInvalidationRule/host": host "/compute:v1/CacheInvalidationRule/path": path +"/compute:v1/ConnectionDraining": connection_draining +"/compute:v1/ConnectionDraining/drainingTimeoutSec": draining_timeout_sec "/compute:v1/CustomerEncryptionKey": customer_encryption_key "/compute:v1/CustomerEncryptionKey/rawKey": raw_key "/compute:v1/CustomerEncryptionKey/sha256": sha256 @@ -12944,14 +13940,20 @@ "/compute:v1/ForwardingRule": forwarding_rule "/compute:v1/ForwardingRule/IPAddress": ip_address "/compute:v1/ForwardingRule/IPProtocol": ip_protocol +"/compute:v1/ForwardingRule/backendService": backend_service "/compute:v1/ForwardingRule/creationTimestamp": creation_timestamp "/compute:v1/ForwardingRule/description": description "/compute:v1/ForwardingRule/id": id "/compute:v1/ForwardingRule/kind": kind +"/compute:v1/ForwardingRule/loadBalancingScheme": load_balancing_scheme "/compute:v1/ForwardingRule/name": name +"/compute:v1/ForwardingRule/network": network "/compute:v1/ForwardingRule/portRange": port_range +"/compute:v1/ForwardingRule/ports": ports +"/compute:v1/ForwardingRule/ports/port": port "/compute:v1/ForwardingRule/region": region "/compute:v1/ForwardingRule/selfLink": self_link +"/compute:v1/ForwardingRule/subnetwork": subnetwork "/compute:v1/ForwardingRule/target": target "/compute:v1/ForwardingRuleAggregatedList": forwarding_rule_aggregated_list "/compute:v1/ForwardingRuleAggregatedList/id": id @@ -12977,6 +13979,43 @@ "/compute:v1/ForwardingRulesScopedList/warning/data/datum/key": key "/compute:v1/ForwardingRulesScopedList/warning/data/datum/value": value "/compute:v1/ForwardingRulesScopedList/warning/message": message +"/compute:v1/GuestOsFeature": guest_os_feature +"/compute:v1/GuestOsFeature/type": type +"/compute:v1/HTTPHealthCheck": http_health_check +"/compute:v1/HTTPHealthCheck/host": host +"/compute:v1/HTTPHealthCheck/port": port +"/compute:v1/HTTPHealthCheck/portName": port_name +"/compute:v1/HTTPHealthCheck/proxyHeader": proxy_header +"/compute:v1/HTTPHealthCheck/requestPath": request_path +"/compute:v1/HTTPSHealthCheck": https_health_check +"/compute:v1/HTTPSHealthCheck/host": host +"/compute:v1/HTTPSHealthCheck/port": port +"/compute:v1/HTTPSHealthCheck/portName": port_name +"/compute:v1/HTTPSHealthCheck/proxyHeader": proxy_header +"/compute:v1/HTTPSHealthCheck/requestPath": request_path +"/compute:v1/HealthCheck": health_check +"/compute:v1/HealthCheck/checkIntervalSec": check_interval_sec +"/compute:v1/HealthCheck/creationTimestamp": creation_timestamp +"/compute:v1/HealthCheck/description": description +"/compute:v1/HealthCheck/healthyThreshold": healthy_threshold +"/compute:v1/HealthCheck/httpHealthCheck": http_health_check +"/compute:v1/HealthCheck/httpsHealthCheck": https_health_check +"/compute:v1/HealthCheck/id": id +"/compute:v1/HealthCheck/kind": kind +"/compute:v1/HealthCheck/name": name +"/compute:v1/HealthCheck/selfLink": self_link +"/compute:v1/HealthCheck/sslHealthCheck": ssl_health_check +"/compute:v1/HealthCheck/tcpHealthCheck": tcp_health_check +"/compute:v1/HealthCheck/timeoutSec": timeout_sec +"/compute:v1/HealthCheck/type": type +"/compute:v1/HealthCheck/unhealthyThreshold": unhealthy_threshold +"/compute:v1/HealthCheckList": health_check_list +"/compute:v1/HealthCheckList/id": id +"/compute:v1/HealthCheckList/items": items +"/compute:v1/HealthCheckList/items/item": item +"/compute:v1/HealthCheckList/kind": kind +"/compute:v1/HealthCheckList/nextPageToken": next_page_token +"/compute:v1/HealthCheckList/selfLink": self_link "/compute:v1/HealthCheckReference": health_check_reference "/compute:v1/HealthCheckReference/healthCheck": health_check "/compute:v1/HealthStatus": health_status @@ -13038,6 +14077,8 @@ "/compute:v1/Image/description": description "/compute:v1/Image/diskSizeGb": disk_size_gb "/compute:v1/Image/family": family +"/compute:v1/Image/guestOsFeatures": guest_os_features +"/compute:v1/Image/guestOsFeatures/guest_os_feature": guest_os_feature "/compute:v1/Image/id": id "/compute:v1/Image/imageEncryptionKey": image_encryption_key "/compute:v1/Image/kind": kind @@ -13100,6 +14141,7 @@ "/compute:v1/InstanceGroup/namedPorts": named_ports "/compute:v1/InstanceGroup/namedPorts/named_port": named_port "/compute:v1/InstanceGroup/network": network +"/compute:v1/InstanceGroup/region": region "/compute:v1/InstanceGroup/selfLink": self_link "/compute:v1/InstanceGroup/size": size "/compute:v1/InstanceGroup/subnetwork": subnetwork @@ -13131,6 +14173,7 @@ "/compute:v1/InstanceGroupManager/name": name "/compute:v1/InstanceGroupManager/namedPorts": named_ports "/compute:v1/InstanceGroupManager/namedPorts/named_port": named_port +"/compute:v1/InstanceGroupManager/region": region "/compute:v1/InstanceGroupManager/selfLink": self_link "/compute:v1/InstanceGroupManager/targetPools": target_pools "/compute:v1/InstanceGroupManager/targetPools/target_pool": target_pool @@ -13472,6 +14515,59 @@ "/compute:v1/Region/status": status "/compute:v1/Region/zones": zones "/compute:v1/Region/zones/zone": zone +"/compute:v1/RegionAutoscalerList": region_autoscaler_list +"/compute:v1/RegionAutoscalerList/id": id +"/compute:v1/RegionAutoscalerList/items": items +"/compute:v1/RegionAutoscalerList/items/item": item +"/compute:v1/RegionAutoscalerList/kind": kind +"/compute:v1/RegionAutoscalerList/nextPageToken": next_page_token +"/compute:v1/RegionAutoscalerList/selfLink": self_link +"/compute:v1/RegionInstanceGroupList": region_instance_group_list +"/compute:v1/RegionInstanceGroupList/id": id +"/compute:v1/RegionInstanceGroupList/items": items +"/compute:v1/RegionInstanceGroupList/items/item": item +"/compute:v1/RegionInstanceGroupList/kind": kind +"/compute:v1/RegionInstanceGroupList/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupList/selfLink": self_link +"/compute:v1/RegionInstanceGroupManagerList": region_instance_group_manager_list +"/compute:v1/RegionInstanceGroupManagerList/id": id +"/compute:v1/RegionInstanceGroupManagerList/items": items +"/compute:v1/RegionInstanceGroupManagerList/items/item": item +"/compute:v1/RegionInstanceGroupManagerList/kind": kind +"/compute:v1/RegionInstanceGroupManagerList/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupManagerList/selfLink": self_link +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest": region_instance_group_managers_abandon_instances_request +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersAbandonInstancesRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest": region_instance_group_managers_delete_instances_request +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersDeleteInstancesRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse": region_instance_group_managers_list_instances_response +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse/managedInstances": managed_instances +"/compute:v1/RegionInstanceGroupManagersListInstancesResponse/managedInstances/managed_instance": managed_instance +"/compute:v1/RegionInstanceGroupManagersRecreateRequest": region_instance_group_managers_recreate_request +"/compute:v1/RegionInstanceGroupManagersRecreateRequest/instances": instances +"/compute:v1/RegionInstanceGroupManagersRecreateRequest/instances/instance": instance +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest": region_instance_group_managers_set_target_pools_request +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/fingerprint": fingerprint +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools": target_pools +"/compute:v1/RegionInstanceGroupManagersSetTargetPoolsRequest/targetPools/target_pool": target_pool +"/compute:v1/RegionInstanceGroupManagersSetTemplateRequest": region_instance_group_managers_set_template_request +"/compute:v1/RegionInstanceGroupManagersSetTemplateRequest/instanceTemplate": instance_template +"/compute:v1/RegionInstanceGroupsListInstances": region_instance_groups_list_instances +"/compute:v1/RegionInstanceGroupsListInstances/id": id +"/compute:v1/RegionInstanceGroupsListInstances/items": items +"/compute:v1/RegionInstanceGroupsListInstances/items/item": item +"/compute:v1/RegionInstanceGroupsListInstances/kind": kind +"/compute:v1/RegionInstanceGroupsListInstances/nextPageToken": next_page_token +"/compute:v1/RegionInstanceGroupsListInstances/selfLink": self_link +"/compute:v1/RegionInstanceGroupsListInstancesRequest": region_instance_groups_list_instances_request +"/compute:v1/RegionInstanceGroupsListInstancesRequest/instanceState": instance_state +"/compute:v1/RegionInstanceGroupsListInstancesRequest/portName": port_name +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest": region_instance_groups_set_named_ports_request +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/fingerprint": fingerprint +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/namedPorts": named_ports +"/compute:v1/RegionInstanceGroupsSetNamedPortsRequest/namedPorts/named_port": named_port "/compute:v1/RegionList": region_list "/compute:v1/RegionList/id": id "/compute:v1/RegionList/items": items @@ -13587,6 +14683,12 @@ "/compute:v1/RoutersScopedList/warning/data/datum/key": key "/compute:v1/RoutersScopedList/warning/data/datum/value": value "/compute:v1/RoutersScopedList/warning/message": message +"/compute:v1/SSLHealthCheck": ssl_health_check +"/compute:v1/SSLHealthCheck/port": port +"/compute:v1/SSLHealthCheck/portName": port_name +"/compute:v1/SSLHealthCheck/proxyHeader": proxy_header +"/compute:v1/SSLHealthCheck/request": request +"/compute:v1/SSLHealthCheck/response": response "/compute:v1/Scheduling": scheduling "/compute:v1/Scheduling/automaticRestart": automatic_restart "/compute:v1/Scheduling/onHostMaintenance": on_host_maintenance @@ -13594,7 +14696,9 @@ "/compute:v1/SerialPortOutput": serial_port_output "/compute:v1/SerialPortOutput/contents": contents "/compute:v1/SerialPortOutput/kind": kind +"/compute:v1/SerialPortOutput/next": next "/compute:v1/SerialPortOutput/selfLink": self_link +"/compute:v1/SerialPortOutput/start": start "/compute:v1/ServiceAccount": service_account "/compute:v1/ServiceAccount/email": email "/compute:v1/ServiceAccount/scopes": scopes @@ -13664,6 +14768,8 @@ "/compute:v1/SubnetworkList/kind": kind "/compute:v1/SubnetworkList/nextPageToken": next_page_token "/compute:v1/SubnetworkList/selfLink": self_link +"/compute:v1/SubnetworksExpandIpCidrRangeRequest": subnetworks_expand_ip_cidr_range_request +"/compute:v1/SubnetworksExpandIpCidrRangeRequest/ipCidrRange": ip_cidr_range "/compute:v1/SubnetworksScopedList": subnetworks_scoped_list "/compute:v1/SubnetworksScopedList/subnetworks": subnetworks "/compute:v1/SubnetworksScopedList/subnetworks/subnetwork": subnetwork @@ -13674,6 +14780,12 @@ "/compute:v1/SubnetworksScopedList/warning/data/datum/key": key "/compute:v1/SubnetworksScopedList/warning/data/datum/value": value "/compute:v1/SubnetworksScopedList/warning/message": message +"/compute:v1/TCPHealthCheck": tcp_health_check +"/compute:v1/TCPHealthCheck/port": port +"/compute:v1/TCPHealthCheck/portName": port_name +"/compute:v1/TCPHealthCheck/proxyHeader": proxy_header +"/compute:v1/TCPHealthCheck/request": request +"/compute:v1/TCPHealthCheck/response": response "/compute:v1/Tags": tags "/compute:v1/Tags/fingerprint": fingerprint "/compute:v1/Tags/items": items @@ -13800,6 +14912,31 @@ "/compute:v1/TargetPoolsScopedList/warning/message": message "/compute:v1/TargetReference": target_reference "/compute:v1/TargetReference/target": target +"/compute:v1/TargetSslProxiesSetBackendServiceRequest": target_ssl_proxies_set_backend_service_request +"/compute:v1/TargetSslProxiesSetBackendServiceRequest/service": service +"/compute:v1/TargetSslProxiesSetProxyHeaderRequest": target_ssl_proxies_set_proxy_header_request +"/compute:v1/TargetSslProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest": target_ssl_proxies_set_ssl_certificates_request +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates +"/compute:v1/TargetSslProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetSslProxy": target_ssl_proxy +"/compute:v1/TargetSslProxy/creationTimestamp": creation_timestamp +"/compute:v1/TargetSslProxy/description": description +"/compute:v1/TargetSslProxy/id": id +"/compute:v1/TargetSslProxy/kind": kind +"/compute:v1/TargetSslProxy/name": name +"/compute:v1/TargetSslProxy/proxyHeader": proxy_header +"/compute:v1/TargetSslProxy/selfLink": self_link +"/compute:v1/TargetSslProxy/service": service +"/compute:v1/TargetSslProxy/sslCertificates": ssl_certificates +"/compute:v1/TargetSslProxy/sslCertificates/ssl_certificate": ssl_certificate +"/compute:v1/TargetSslProxyList": target_ssl_proxy_list +"/compute:v1/TargetSslProxyList/id": id +"/compute:v1/TargetSslProxyList/items": items +"/compute:v1/TargetSslProxyList/items/item": item +"/compute:v1/TargetSslProxyList/kind": kind +"/compute:v1/TargetSslProxyList/nextPageToken": next_page_token +"/compute:v1/TargetSslProxyList/selfLink": self_link "/compute:v1/TargetVpnGateway": target_vpn_gateway "/compute:v1/TargetVpnGateway/creationTimestamp": creation_timestamp "/compute:v1/TargetVpnGateway/description": description @@ -14423,6 +15560,7 @@ "/content:v2/Inventory/installment": installment "/content:v2/Inventory/kind": kind "/content:v2/Inventory/loyaltyPoints": loyalty_points +"/content:v2/Inventory/pickup": pickup "/content:v2/Inventory/price": price "/content:v2/Inventory/quantity": quantity "/content:v2/Inventory/salePrice": sale_price @@ -14441,9 +15579,13 @@ "/content:v2/InventoryCustomBatchResponseEntry/batchId": batch_id "/content:v2/InventoryCustomBatchResponseEntry/errors": errors "/content:v2/InventoryCustomBatchResponseEntry/kind": kind +"/content:v2/InventoryPickup": inventory_pickup +"/content:v2/InventoryPickup/pickupMethod": pickup_method +"/content:v2/InventoryPickup/pickupSla": pickup_sla "/content:v2/InventorySetRequest/availability": availability "/content:v2/InventorySetRequest/installment": installment "/content:v2/InventorySetRequest/loyaltyPoints": loyalty_points +"/content:v2/InventorySetRequest/pickup": pickup "/content:v2/InventorySetRequest/price": price "/content:v2/InventorySetRequest/quantity": quantity "/content:v2/InventorySetRequest/salePrice": sale_price @@ -14459,6 +15601,7 @@ "/content:v2/LoyaltyPoints/ratio": ratio "/content:v2/Order": order "/content:v2/Order/acknowledged": acknowledged +"/content:v2/Order/channelType": channel_type "/content:v2/Order/customer": customer "/content:v2/Order/deliveryDetails": delivery_details "/content:v2/Order/id": id @@ -15199,166 +16342,162 @@ "/customsearch:v1/Search/url": url "/customsearch:v1/Search/url/template": template "/customsearch:v1/Search/url/type": type -"/datastore:v1beta3/key": key -"/datastore:v1beta3/quotaUser": quota_user -"/datastore:v1beta3/fields": fields -"/datastore:v1beta3/datastore.projects.runQuery": run_project_query -"/datastore:v1beta3/datastore.projects.runQuery/projectId": project_id -"/datastore:v1beta3/datastore.projects.beginTransaction": begin_project_transaction -"/datastore:v1beta3/datastore.projects.beginTransaction/projectId": project_id -"/datastore:v1beta3/datastore.projects.allocateIds": allocate_project_ids -"/datastore:v1beta3/datastore.projects.allocateIds/projectId": project_id -"/datastore:v1beta3/datastore.projects.lookup": lookup_project -"/datastore:v1beta3/datastore.projects.lookup/projectId": project_id -"/datastore:v1beta3/datastore.projects.commit": commit_project -"/datastore:v1beta3/datastore.projects.commit/projectId": project_id -"/datastore:v1beta3/datastore.projects.rollback": rollback_project -"/datastore:v1beta3/datastore.projects.rollback/projectId": project_id -"/datastore:v1beta3/Value": value -"/datastore:v1beta3/Value/stringValue": string_value -"/datastore:v1beta3/Value/arrayValue": array_value -"/datastore:v1beta3/Value/entityValue": entity_value -"/datastore:v1beta3/Value/meaning": meaning -"/datastore:v1beta3/Value/integerValue": integer_value -"/datastore:v1beta3/Value/doubleValue": double_value -"/datastore:v1beta3/Value/blobValue": blob_value -"/datastore:v1beta3/Value/geoPointValue": geo_point_value -"/datastore:v1beta3/Value/nullValue": null_value -"/datastore:v1beta3/Value/booleanValue": boolean_value -"/datastore:v1beta3/Value/keyValue": key_value -"/datastore:v1beta3/Value/excludeFromIndexes": exclude_from_indexes -"/datastore:v1beta3/Value/timestampValue": timestamp_value -"/datastore:v1beta3/ReadOptions": read_options -"/datastore:v1beta3/ReadOptions/transaction": transaction -"/datastore:v1beta3/ReadOptions/readConsistency": read_consistency -"/datastore:v1beta3/PropertyOrder": property_order -"/datastore:v1beta3/PropertyOrder/direction": direction -"/datastore:v1beta3/PropertyOrder/property": property -"/datastore:v1beta3/CommitRequest": commit_request -"/datastore:v1beta3/CommitRequest/transaction": transaction -"/datastore:v1beta3/CommitRequest/mode": mode -"/datastore:v1beta3/CommitRequest/mutations": mutations -"/datastore:v1beta3/CommitRequest/mutations/mutation": mutation -"/datastore:v1beta3/Query": query -"/datastore:v1beta3/Query/limit": limit -"/datastore:v1beta3/Query/filter": filter -"/datastore:v1beta3/Query/endCursor": end_cursor -"/datastore:v1beta3/Query/distinctOn": distinct_on -"/datastore:v1beta3/Query/distinctOn/distinct_on": distinct_on -"/datastore:v1beta3/Query/offset": offset -"/datastore:v1beta3/Query/projection": projection -"/datastore:v1beta3/Query/projection/projection": projection -"/datastore:v1beta3/Query/order": order -"/datastore:v1beta3/Query/order/order": order -"/datastore:v1beta3/Query/startCursor": start_cursor -"/datastore:v1beta3/Query/kind": kind -"/datastore:v1beta3/Query/kind/kind": kind -"/datastore:v1beta3/RollbackRequest": rollback_request -"/datastore:v1beta3/RollbackRequest/transaction": transaction -"/datastore:v1beta3/EntityResult": entity_result -"/datastore:v1beta3/EntityResult/cursor": cursor -"/datastore:v1beta3/EntityResult/entity": entity -"/datastore:v1beta3/EntityResult/version": version -"/datastore:v1beta3/GqlQueryParameter": gql_query_parameter -"/datastore:v1beta3/GqlQueryParameter/value": value -"/datastore:v1beta3/GqlQueryParameter/cursor": cursor -"/datastore:v1beta3/ArrayValue": array_value -"/datastore:v1beta3/ArrayValue/values": values -"/datastore:v1beta3/ArrayValue/values/value": value -"/datastore:v1beta3/Filter": filter -"/datastore:v1beta3/Filter/propertyFilter": property_filter -"/datastore:v1beta3/Filter/compositeFilter": composite_filter -"/datastore:v1beta3/BeginTransactionResponse": begin_transaction_response -"/datastore:v1beta3/BeginTransactionResponse/transaction": transaction -"/datastore:v1beta3/PartitionId": partition_id -"/datastore:v1beta3/PartitionId/namespaceId": namespace_id -"/datastore:v1beta3/PartitionId/projectId": project_id -"/datastore:v1beta3/QueryResultBatch": query_result_batch -"/datastore:v1beta3/QueryResultBatch/snapshotVersion": snapshot_version -"/datastore:v1beta3/QueryResultBatch/endCursor": end_cursor -"/datastore:v1beta3/QueryResultBatch/skippedCursor": skipped_cursor -"/datastore:v1beta3/QueryResultBatch/entityResultType": entity_result_type -"/datastore:v1beta3/QueryResultBatch/moreResults": more_results -"/datastore:v1beta3/QueryResultBatch/entityResults": entity_results -"/datastore:v1beta3/QueryResultBatch/entityResults/entity_result": entity_result -"/datastore:v1beta3/QueryResultBatch/skippedResults": skipped_results -"/datastore:v1beta3/AllocateIdsRequest": allocate_ids_request -"/datastore:v1beta3/AllocateIdsRequest/keys": keys -"/datastore:v1beta3/AllocateIdsRequest/keys/key": key -"/datastore:v1beta3/KindExpression": kind_expression -"/datastore:v1beta3/KindExpression/name": name -"/datastore:v1beta3/PropertyFilter": property_filter -"/datastore:v1beta3/PropertyFilter/value": value -"/datastore:v1beta3/PropertyFilter/op": op -"/datastore:v1beta3/PropertyFilter/property": property -"/datastore:v1beta3/PathElement": path_element -"/datastore:v1beta3/PathElement/kind": kind -"/datastore:v1beta3/PathElement/id": id -"/datastore:v1beta3/PathElement/name": name -"/datastore:v1beta3/RollbackResponse": rollback_response -"/datastore:v1beta3/PropertyReference": property_reference -"/datastore:v1beta3/PropertyReference/name": name -"/datastore:v1beta3/Projection": projection -"/datastore:v1beta3/Projection/property": property -"/datastore:v1beta3/MutationResult": mutation_result -"/datastore:v1beta3/MutationResult/conflictDetected": conflict_detected -"/datastore:v1beta3/MutationResult/key": key -"/datastore:v1beta3/MutationResult/version": version -"/datastore:v1beta3/AllocateIdsResponse": allocate_ids_response -"/datastore:v1beta3/AllocateIdsResponse/keys": keys -"/datastore:v1beta3/AllocateIdsResponse/keys/key": key -"/datastore:v1beta3/LookupResponse": lookup_response -"/datastore:v1beta3/LookupResponse/found": found -"/datastore:v1beta3/LookupResponse/found/found": found -"/datastore:v1beta3/LookupResponse/missing": missing -"/datastore:v1beta3/LookupResponse/missing/missing": missing -"/datastore:v1beta3/LookupResponse/deferred": deferred -"/datastore:v1beta3/LookupResponse/deferred/deferred": deferred -"/datastore:v1beta3/BeginTransactionRequest": begin_transaction_request -"/datastore:v1beta3/Key": key -"/datastore:v1beta3/Key/partitionId": partition_id -"/datastore:v1beta3/Key/path": path -"/datastore:v1beta3/Key/path/path": path -"/datastore:v1beta3/RunQueryResponse": run_query_response -"/datastore:v1beta3/RunQueryResponse/batch": batch -"/datastore:v1beta3/RunQueryResponse/query": query -"/datastore:v1beta3/Entity": entity -"/datastore:v1beta3/Entity/properties": properties -"/datastore:v1beta3/Entity/properties/property": property -"/datastore:v1beta3/Entity/key": key -"/datastore:v1beta3/GqlQuery": gql_query -"/datastore:v1beta3/GqlQuery/queryString": query_string -"/datastore:v1beta3/GqlQuery/namedBindings": named_bindings -"/datastore:v1beta3/GqlQuery/namedBindings/named_binding": named_binding -"/datastore:v1beta3/GqlQuery/allowLiterals": allow_literals -"/datastore:v1beta3/GqlQuery/positionalBindings": positional_bindings -"/datastore:v1beta3/GqlQuery/positionalBindings/positional_binding": positional_binding -"/datastore:v1beta3/Mutation": mutation -"/datastore:v1beta3/Mutation/insert": insert -"/datastore:v1beta3/Mutation/update": update -"/datastore:v1beta3/Mutation/baseVersion": base_version -"/datastore:v1beta3/Mutation/upsert": upsert -"/datastore:v1beta3/Mutation/delete": delete -"/datastore:v1beta3/CommitResponse": commit_response -"/datastore:v1beta3/CommitResponse/mutationResults": mutation_results -"/datastore:v1beta3/CommitResponse/mutationResults/mutation_result": mutation_result -"/datastore:v1beta3/CommitResponse/indexUpdates": index_updates -"/datastore:v1beta3/RunQueryRequest": run_query_request -"/datastore:v1beta3/RunQueryRequest/partitionId": partition_id -"/datastore:v1beta3/RunQueryRequest/gqlQuery": gql_query -"/datastore:v1beta3/RunQueryRequest/readOptions": read_options -"/datastore:v1beta3/RunQueryRequest/query": query -"/datastore:v1beta3/LookupRequest": lookup_request -"/datastore:v1beta3/LookupRequest/readOptions": read_options -"/datastore:v1beta3/LookupRequest/keys": keys -"/datastore:v1beta3/LookupRequest/keys/key": key -"/datastore:v1beta3/LatLng": lat_lng -"/datastore:v1beta3/LatLng/latitude": latitude -"/datastore:v1beta3/LatLng/longitude": longitude -"/datastore:v1beta3/CompositeFilter": composite_filter -"/datastore:v1beta3/CompositeFilter/op": op -"/datastore:v1beta3/CompositeFilter/filters": filters -"/datastore:v1beta3/CompositeFilter/filters/filter": filter +"/datastore:v1/key": key +"/datastore:v1/quotaUser": quota_user +"/datastore:v1/fields": fields +"/datastore:v1/datastore.projects.runQuery": run_project_query +"/datastore:v1/datastore.projects.runQuery/projectId": project_id +"/datastore:v1/datastore.projects.beginTransaction": begin_project_transaction +"/datastore:v1/datastore.projects.beginTransaction/projectId": project_id +"/datastore:v1/datastore.projects.allocateIds": allocate_project_ids +"/datastore:v1/datastore.projects.allocateIds/projectId": project_id +"/datastore:v1/datastore.projects.lookup": lookup_project +"/datastore:v1/datastore.projects.lookup/projectId": project_id +"/datastore:v1/datastore.projects.commit": commit_project +"/datastore:v1/datastore.projects.commit/projectId": project_id +"/datastore:v1/datastore.projects.rollback": rollback_project +"/datastore:v1/datastore.projects.rollback/projectId": project_id +"/datastore:v1/Value": value +"/datastore:v1/Value/stringValue": string_value +"/datastore:v1/Value/arrayValue": array_value +"/datastore:v1/Value/entityValue": entity_value +"/datastore:v1/Value/meaning": meaning +"/datastore:v1/Value/integerValue": integer_value +"/datastore:v1/Value/doubleValue": double_value +"/datastore:v1/Value/blobValue": blob_value +"/datastore:v1/Value/geoPointValue": geo_point_value +"/datastore:v1/Value/nullValue": null_value +"/datastore:v1/Value/booleanValue": boolean_value +"/datastore:v1/Value/keyValue": key_value +"/datastore:v1/Value/excludeFromIndexes": exclude_from_indexes +"/datastore:v1/Value/timestampValue": timestamp_value +"/datastore:v1/ReadOptions": read_options +"/datastore:v1/ReadOptions/transaction": transaction +"/datastore:v1/ReadOptions/readConsistency": read_consistency +"/datastore:v1/PropertyOrder": property_order +"/datastore:v1/PropertyOrder/direction": direction +"/datastore:v1/PropertyOrder/property": property +"/datastore:v1/CommitRequest": commit_request +"/datastore:v1/CommitRequest/transaction": transaction +"/datastore:v1/CommitRequest/mode": mode +"/datastore:v1/CommitRequest/mutations": mutations +"/datastore:v1/CommitRequest/mutations/mutation": mutation +"/datastore:v1/Query": query +"/datastore:v1/Query/limit": limit +"/datastore:v1/Query/filter": filter +"/datastore:v1/Query/endCursor": end_cursor +"/datastore:v1/Query/distinctOn": distinct_on +"/datastore:v1/Query/distinctOn/distinct_on": distinct_on +"/datastore:v1/Query/offset": offset +"/datastore:v1/Query/projection": projection +"/datastore:v1/Query/projection/projection": projection +"/datastore:v1/Query/order": order +"/datastore:v1/Query/order/order": order +"/datastore:v1/Query/startCursor": start_cursor +"/datastore:v1/Query/kind": kind +"/datastore:v1/Query/kind/kind": kind +"/datastore:v1/RollbackRequest": rollback_request +"/datastore:v1/RollbackRequest/transaction": transaction +"/datastore:v1/EntityResult": entity_result +"/datastore:v1/EntityResult/cursor": cursor +"/datastore:v1/EntityResult/entity": entity +"/datastore:v1/EntityResult/version": version +"/datastore:v1/GqlQueryParameter": gql_query_parameter +"/datastore:v1/GqlQueryParameter/value": value +"/datastore:v1/GqlQueryParameter/cursor": cursor +"/datastore:v1/ArrayValue": array_value +"/datastore:v1/ArrayValue/values": values +"/datastore:v1/ArrayValue/values/value": value +"/datastore:v1/Filter": filter +"/datastore:v1/Filter/propertyFilter": property_filter +"/datastore:v1/Filter/compositeFilter": composite_filter +"/datastore:v1/BeginTransactionResponse/transaction": transaction +"/datastore:v1/PartitionId": partition_id +"/datastore:v1/PartitionId/namespaceId": namespace_id +"/datastore:v1/PartitionId/projectId": project_id +"/datastore:v1/QueryResultBatch": query_result_batch +"/datastore:v1/QueryResultBatch/snapshotVersion": snapshot_version +"/datastore:v1/QueryResultBatch/endCursor": end_cursor +"/datastore:v1/QueryResultBatch/skippedCursor": skipped_cursor +"/datastore:v1/QueryResultBatch/entityResultType": entity_result_type +"/datastore:v1/QueryResultBatch/moreResults": more_results +"/datastore:v1/QueryResultBatch/entityResults": entity_results +"/datastore:v1/QueryResultBatch/entityResults/entity_result": entity_result +"/datastore:v1/QueryResultBatch/skippedResults": skipped_results +"/datastore:v1/AllocateIdsRequest/keys": keys +"/datastore:v1/AllocateIdsRequest/keys/key": key +"/datastore:v1/KindExpression": kind_expression +"/datastore:v1/KindExpression/name": name +"/datastore:v1/PropertyFilter": property_filter +"/datastore:v1/PropertyFilter/value": value +"/datastore:v1/PropertyFilter/op": op +"/datastore:v1/PropertyFilter/property": property +"/datastore:v1/PathElement": path_element +"/datastore:v1/PathElement/kind": kind +"/datastore:v1/PathElement/id": id +"/datastore:v1/PathElement/name": name +"/datastore:v1/RollbackResponse": rollback_response +"/datastore:v1/PropertyReference": property_reference +"/datastore:v1/PropertyReference/name": name +"/datastore:v1/Projection": projection +"/datastore:v1/Projection/property": property +"/datastore:v1/MutationResult": mutation_result +"/datastore:v1/MutationResult/conflictDetected": conflict_detected +"/datastore:v1/MutationResult/key": key +"/datastore:v1/MutationResult/version": version +"/datastore:v1/AllocateIdsResponse/keys": keys +"/datastore:v1/AllocateIdsResponse/keys/key": key +"/datastore:v1/LookupResponse": lookup_response +"/datastore:v1/LookupResponse/found": found +"/datastore:v1/LookupResponse/found/found": found +"/datastore:v1/LookupResponse/missing": missing +"/datastore:v1/LookupResponse/missing/missing": missing +"/datastore:v1/LookupResponse/deferred": deferred +"/datastore:v1/LookupResponse/deferred/deferred": deferred +"/datastore:v1/Key": key +"/datastore:v1/Key/partitionId": partition_id +"/datastore:v1/Key/path": path +"/datastore:v1/Key/path/path": path +"/datastore:v1/RunQueryResponse": run_query_response +"/datastore:v1/RunQueryResponse/batch": batch +"/datastore:v1/RunQueryResponse/query": query +"/datastore:v1/Entity": entity +"/datastore:v1/Entity/properties": properties +"/datastore:v1/Entity/properties/property": property +"/datastore:v1/Entity/key": key +"/datastore:v1/GqlQuery": gql_query +"/datastore:v1/GqlQuery/queryString": query_string +"/datastore:v1/GqlQuery/namedBindings": named_bindings +"/datastore:v1/GqlQuery/namedBindings/named_binding": named_binding +"/datastore:v1/GqlQuery/allowLiterals": allow_literals +"/datastore:v1/GqlQuery/positionalBindings": positional_bindings +"/datastore:v1/GqlQuery/positionalBindings/positional_binding": positional_binding +"/datastore:v1/Mutation": mutation +"/datastore:v1/Mutation/insert": insert +"/datastore:v1/Mutation/update": update +"/datastore:v1/Mutation/baseVersion": base_version +"/datastore:v1/Mutation/upsert": upsert +"/datastore:v1/Mutation/delete": delete +"/datastore:v1/CommitResponse": commit_response +"/datastore:v1/CommitResponse/mutationResults": mutation_results +"/datastore:v1/CommitResponse/mutationResults/mutation_result": mutation_result +"/datastore:v1/CommitResponse/indexUpdates": index_updates +"/datastore:v1/RunQueryRequest": run_query_request +"/datastore:v1/RunQueryRequest/partitionId": partition_id +"/datastore:v1/RunQueryRequest/gqlQuery": gql_query +"/datastore:v1/RunQueryRequest/readOptions": read_options +"/datastore:v1/RunQueryRequest/query": query +"/datastore:v1/LookupRequest": lookup_request +"/datastore:v1/LookupRequest/readOptions": read_options +"/datastore:v1/LookupRequest/keys": keys +"/datastore:v1/LookupRequest/keys/key": key +"/datastore:v1/LatLng": lat_lng +"/datastore:v1/LatLng/latitude": latitude +"/datastore:v1/LatLng/longitude": longitude +"/datastore:v1/CompositeFilter": composite_filter +"/datastore:v1/CompositeFilter/op": op +"/datastore:v1/CompositeFilter/filters": filters +"/datastore:v1/CompositeFilter/filters/filter": filter "/deploymentmanager:v2/fields": fields "/deploymentmanager:v2/key": key "/deploymentmanager:v2/quotaUser": quota_user @@ -15367,17 +16506,22 @@ "/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.cancelPreview/project": project "/deploymentmanager:v2/deploymentmanager.deployments.delete": delete_deployment +"/deploymentmanager:v2/deploymentmanager.deployments.delete/deletePolicy": delete_policy "/deploymentmanager:v2/deploymentmanager.deployments.delete/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.delete/project": project "/deploymentmanager:v2/deploymentmanager.deployments.get": get_deployment "/deploymentmanager:v2/deploymentmanager.deployments.get/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.get/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy": get_deployment_iam_policy +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.getIamPolicy/resource": resource "/deploymentmanager:v2/deploymentmanager.deployments.insert": insert_deployment "/deploymentmanager:v2/deploymentmanager.deployments.insert/preview": preview "/deploymentmanager:v2/deploymentmanager.deployments.insert/project": project "/deploymentmanager:v2/deploymentmanager.deployments.list": list_deployments "/deploymentmanager:v2/deploymentmanager.deployments.list/filter": filter "/deploymentmanager:v2/deploymentmanager.deployments.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.deployments.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.deployments.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.deployments.list/project": project "/deploymentmanager:v2/deploymentmanager.deployments.patch": patch_deployment @@ -15386,9 +16530,15 @@ "/deploymentmanager:v2/deploymentmanager.deployments.patch/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.patch/preview": preview "/deploymentmanager:v2/deploymentmanager.deployments.patch/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy": set_deployment_iam_policy +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.setIamPolicy/resource": resource "/deploymentmanager:v2/deploymentmanager.deployments.stop": stop_deployment "/deploymentmanager:v2/deploymentmanager.deployments.stop/deployment": deployment "/deploymentmanager:v2/deploymentmanager.deployments.stop/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions": test_deployment_iam_permissions +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions/project": project +"/deploymentmanager:v2/deploymentmanager.deployments.testIamPermissions/resource": resource "/deploymentmanager:v2/deploymentmanager.deployments.update": update_deployment "/deploymentmanager:v2/deploymentmanager.deployments.update/createPolicy": create_policy "/deploymentmanager:v2/deploymentmanager.deployments.update/deletePolicy": delete_policy @@ -15403,6 +16553,7 @@ "/deploymentmanager:v2/deploymentmanager.manifests.list/deployment": deployment "/deploymentmanager:v2/deploymentmanager.manifests.list/filter": filter "/deploymentmanager:v2/deploymentmanager.manifests.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.manifests.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.manifests.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.manifests.list/project": project "/deploymentmanager:v2/deploymentmanager.operations.get": get_operation @@ -15411,6 +16562,7 @@ "/deploymentmanager:v2/deploymentmanager.operations.list": list_operations "/deploymentmanager:v2/deploymentmanager.operations.list/filter": filter "/deploymentmanager:v2/deploymentmanager.operations.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.operations.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.operations.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.operations.list/project": project "/deploymentmanager:v2/deploymentmanager.resources.get": get_resource @@ -15421,13 +16573,37 @@ "/deploymentmanager:v2/deploymentmanager.resources.list/deployment": deployment "/deploymentmanager:v2/deploymentmanager.resources.list/filter": filter "/deploymentmanager:v2/deploymentmanager.resources.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.resources.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.resources.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.resources.list/project": project "/deploymentmanager:v2/deploymentmanager.types.list": list_types "/deploymentmanager:v2/deploymentmanager.types.list/filter": filter "/deploymentmanager:v2/deploymentmanager.types.list/maxResults": max_results +"/deploymentmanager:v2/deploymentmanager.types.list/orderBy": order_by "/deploymentmanager:v2/deploymentmanager.types.list/pageToken": page_token "/deploymentmanager:v2/deploymentmanager.types.list/project": project +"/deploymentmanager:v2/AuditConfig": audit_config +"/deploymentmanager:v2/AuditConfig/auditLogConfigs": audit_log_configs +"/deploymentmanager:v2/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/deploymentmanager:v2/AuditConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditConfig/service": service +"/deploymentmanager:v2/AuditLogConfig": audit_log_config +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers": exempted_members +"/deploymentmanager:v2/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/deploymentmanager:v2/AuditLogConfig/logType": log_type +"/deploymentmanager:v2/Binding": binding +"/deploymentmanager:v2/Binding/members": members +"/deploymentmanager:v2/Binding/members/member": member +"/deploymentmanager:v2/Binding/role": role +"/deploymentmanager:v2/Condition": condition +"/deploymentmanager:v2/Condition/iam": iam +"/deploymentmanager:v2/Condition/op": op +"/deploymentmanager:v2/Condition/svc": svc +"/deploymentmanager:v2/Condition/sys": sys +"/deploymentmanager:v2/Condition/value": value +"/deploymentmanager:v2/Condition/values": values +"/deploymentmanager:v2/Condition/values/value": value "/deploymentmanager:v2/ConfigFile": config_file "/deploymentmanager:v2/ConfigFile/content": content "/deploymentmanager:v2/Deployment": deployment @@ -15463,6 +16639,11 @@ "/deploymentmanager:v2/ImportFile": import_file "/deploymentmanager:v2/ImportFile/content": content "/deploymentmanager:v2/ImportFile/name": name +"/deploymentmanager:v2/LogConfig": log_config +"/deploymentmanager:v2/LogConfig/counter": counter +"/deploymentmanager:v2/LogConfigCounterOptions": log_config_counter_options +"/deploymentmanager:v2/LogConfigCounterOptions/field": field +"/deploymentmanager:v2/LogConfigCounterOptions/metric": metric "/deploymentmanager:v2/Manifest": manifest "/deploymentmanager:v2/Manifest/config": config "/deploymentmanager:v2/Manifest/expandedConfig": expanded_config @@ -15515,7 +16696,18 @@ "/deploymentmanager:v2/OperationsListResponse/nextPageToken": next_page_token "/deploymentmanager:v2/OperationsListResponse/operations": operations "/deploymentmanager:v2/OperationsListResponse/operations/operation": operation +"/deploymentmanager:v2/Policy": policy +"/deploymentmanager:v2/Policy/auditConfigs": audit_configs +"/deploymentmanager:v2/Policy/auditConfigs/audit_config": audit_config +"/deploymentmanager:v2/Policy/bindings": bindings +"/deploymentmanager:v2/Policy/bindings/binding": binding +"/deploymentmanager:v2/Policy/etag": etag +"/deploymentmanager:v2/Policy/iamOwned": iam_owned +"/deploymentmanager:v2/Policy/rules": rules +"/deploymentmanager:v2/Policy/rules/rule": rule +"/deploymentmanager:v2/Policy/version": version "/deploymentmanager:v2/Resource": resource +"/deploymentmanager:v2/Resource/accessControl": access_control "/deploymentmanager:v2/Resource/finalProperties": final_properties "/deploymentmanager:v2/Resource/id": id "/deploymentmanager:v2/Resource/insertTime": insert_time @@ -15534,7 +16726,10 @@ "/deploymentmanager:v2/Resource/warnings/warning/data/datum/key": key "/deploymentmanager:v2/Resource/warnings/warning/data/datum/value": value "/deploymentmanager:v2/Resource/warnings/warning/message": message +"/deploymentmanager:v2/ResourceAccessControl": resource_access_control +"/deploymentmanager:v2/ResourceAccessControl/gcpIamPolicy": gcp_iam_policy "/deploymentmanager:v2/ResourceUpdate": resource_update +"/deploymentmanager:v2/ResourceUpdate/accessControl": access_control "/deploymentmanager:v2/ResourceUpdate/error": error "/deploymentmanager:v2/ResourceUpdate/error/errors": errors "/deploymentmanager:v2/ResourceUpdate/error/errors/error": error @@ -15557,10 +16752,29 @@ "/deploymentmanager:v2/ResourcesListResponse/nextPageToken": next_page_token "/deploymentmanager:v2/ResourcesListResponse/resources": resources "/deploymentmanager:v2/ResourcesListResponse/resources/resource": resource +"/deploymentmanager:v2/Rule": rule +"/deploymentmanager:v2/Rule/action": action +"/deploymentmanager:v2/Rule/conditions": conditions +"/deploymentmanager:v2/Rule/conditions/condition": condition +"/deploymentmanager:v2/Rule/description": description +"/deploymentmanager:v2/Rule/ins": ins +"/deploymentmanager:v2/Rule/ins/in": in +"/deploymentmanager:v2/Rule/logConfigs": log_configs +"/deploymentmanager:v2/Rule/logConfigs/log_config": log_config +"/deploymentmanager:v2/Rule/notIns": not_ins +"/deploymentmanager:v2/Rule/notIns/not_in": not_in +"/deploymentmanager:v2/Rule/permissions": permissions +"/deploymentmanager:v2/Rule/permissions/permission": permission "/deploymentmanager:v2/TargetConfiguration": target_configuration "/deploymentmanager:v2/TargetConfiguration/config": config "/deploymentmanager:v2/TargetConfiguration/imports": imports "/deploymentmanager:v2/TargetConfiguration/imports/import": import +"/deploymentmanager:v2/TestPermissionsRequest": test_permissions_request +"/deploymentmanager:v2/TestPermissionsRequest/permissions": permissions +"/deploymentmanager:v2/TestPermissionsRequest/permissions/permission": permission +"/deploymentmanager:v2/TestPermissionsResponse": test_permissions_response +"/deploymentmanager:v2/TestPermissionsResponse/permissions": permissions +"/deploymentmanager:v2/TestPermissionsResponse/permissions/permission": permission "/deploymentmanager:v2/Type": type "/deploymentmanager:v2/Type/id": id "/deploymentmanager:v2/Type/insertTime": insert_time @@ -18265,13 +19479,25 @@ "/doubleclickbidmanager:v1/doubleclickbidmanager.queries.getquery/queryId": query_id "/doubleclickbidmanager:v1/doubleclickbidmanager.queries.runquery/queryId": query_id "/doubleclickbidmanager:v1/doubleclickbidmanager.reports.listreports/queryId": query_id -"/doubleclickbidmanager:v1/doubleclickbidmanager.rubicon.notifyproposalchange": notifyproposalchange_rubicon +"/doubleclickbidmanager:v1/doubleclickbidmanager.sdf.download": download_sdf "/doubleclickbidmanager:v1/DownloadLineItemsRequest/fileSpec": file_spec "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds": filter_ids "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterIds/filter_id": filter_id "/doubleclickbidmanager:v1/DownloadLineItemsRequest/filterType": filter_type "/doubleclickbidmanager:v1/DownloadLineItemsRequest/format": format "/doubleclickbidmanager:v1/DownloadLineItemsResponse/lineItems": line_items +"/doubleclickbidmanager:v1/DownloadRequest": download_request +"/doubleclickbidmanager:v1/DownloadRequest/fileTypes": file_types +"/doubleclickbidmanager:v1/DownloadRequest/fileTypes/file_type": file_type +"/doubleclickbidmanager:v1/DownloadRequest/filterIds": filter_ids +"/doubleclickbidmanager:v1/DownloadRequest/filterIds/filter_id": filter_id +"/doubleclickbidmanager:v1/DownloadRequest/filterType": filter_type +"/doubleclickbidmanager:v1/DownloadRequest/version": version +"/doubleclickbidmanager:v1/DownloadResponse": download_response +"/doubleclickbidmanager:v1/DownloadResponse/adGroups": ad_groups +"/doubleclickbidmanager:v1/DownloadResponse/ads": ads +"/doubleclickbidmanager:v1/DownloadResponse/insertionOrders": insertion_orders +"/doubleclickbidmanager:v1/DownloadResponse/lineItems": line_items "/doubleclickbidmanager:v1/FilterPair": filter_pair "/doubleclickbidmanager:v1/FilterPair/type": type "/doubleclickbidmanager:v1/FilterPair/value": value @@ -18281,19 +19507,6 @@ "/doubleclickbidmanager:v1/ListReportsResponse/kind": kind "/doubleclickbidmanager:v1/ListReportsResponse/reports": reports "/doubleclickbidmanager:v1/ListReportsResponse/reports/report": report -"/doubleclickbidmanager:v1/Note": note -"/doubleclickbidmanager:v1/Note/id": id -"/doubleclickbidmanager:v1/Note/message": message -"/doubleclickbidmanager:v1/Note/source": source -"/doubleclickbidmanager:v1/Note/timestamp": timestamp -"/doubleclickbidmanager:v1/Note/username": username -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest": notify_proposal_change_request -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/action": action -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/href": href -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/id": id -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/notes": notes -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/notes/note": note -"/doubleclickbidmanager:v1/NotifyProposalChangeRequest/token": token "/doubleclickbidmanager:v1/Parameters": parameters "/doubleclickbidmanager:v1/Parameters/filters": filters "/doubleclickbidmanager:v1/Parameters/filters/filter": filter @@ -18774,6 +19987,8 @@ "/drive:v2/drive.revisions.get/revisionId": revision_id "/drive:v2/drive.revisions.list": list_revisions "/drive:v2/drive.revisions.list/fileId": file_id +"/drive:v2/drive.revisions.list/maxResults": max_results +"/drive:v2/drive.revisions.list/pageToken": page_token "/drive:v2/drive.revisions.patch": patch_revision "/drive:v2/drive.revisions.patch/fileId": file_id "/drive:v2/drive.revisions.patch/revisionId": revision_id @@ -18976,6 +20191,7 @@ "/drive:v2/File/fileSize": file_size "/drive:v2/File/folderColorRgb": folder_color_rgb "/drive:v2/File/fullFileExtension": full_file_extension +"/drive:v2/File/hasThumbnail": has_thumbnail "/drive:v2/File/headRevisionId": head_revision_id "/drive:v2/File/iconLink": icon_link "/drive:v2/File/id": id @@ -19010,6 +20226,7 @@ "/drive:v2/File/kind": kind "/drive:v2/File/labels": labels "/drive:v2/File/labels/hidden": hidden +"/drive:v2/File/labels/modified": modified "/drive:v2/File/labels/restricted": restricted "/drive:v2/File/labels/starred": starred "/drive:v2/File/labels/trashed": trashed @@ -19048,6 +20265,7 @@ "/drive:v2/File/thumbnail/image": image "/drive:v2/File/thumbnail/mimeType": mime_type "/drive:v2/File/thumbnailLink": thumbnail_link +"/drive:v2/File/thumbnailVersion": thumbnail_version "/drive:v2/File/title": title "/drive:v2/File/userPermission": user_permission "/drive:v2/File/version": version @@ -19147,6 +20365,7 @@ "/drive:v2/RevisionList/items": items "/drive:v2/RevisionList/items/item": item "/drive:v2/RevisionList/kind": kind +"/drive:v2/RevisionList/nextPageToken": next_page_token "/drive:v2/RevisionList/selfLink": self_link "/drive:v2/User": user "/drive:v2/User/displayName": display_name @@ -19280,6 +20499,8 @@ "/drive:v3/drive.revisions.get/revisionId": revision_id "/drive:v3/drive.revisions.list": list_revisions "/drive:v3/drive.revisions.list/fileId": file_id +"/drive:v3/drive.revisions.list/pageSize": page_size +"/drive:v3/drive.revisions.list/pageToken": page_token "/drive:v3/drive.revisions.update": update_revision "/drive:v3/drive.revisions.update/fileId": file_id "/drive:v3/drive.revisions.update/revisionId": revision_id @@ -19368,6 +20589,7 @@ "/drive:v3/File/fileExtension": file_extension "/drive:v3/File/folderColorRgb": folder_color_rgb "/drive:v3/File/fullFileExtension": full_file_extension +"/drive:v3/File/hasThumbnail": has_thumbnail "/drive:v3/File/headRevisionId": head_revision_id "/drive:v3/File/iconLink": icon_link "/drive:v3/File/id": id @@ -19401,6 +20623,7 @@ "/drive:v3/File/lastModifyingUser": last_modifying_user "/drive:v3/File/md5Checksum": md5_checksum "/drive:v3/File/mimeType": mime_type +"/drive:v3/File/modifiedByMe": modified_by_me "/drive:v3/File/modifiedByMeTime": modified_by_me_time "/drive:v3/File/modifiedTime": modified_time "/drive:v3/File/name": name @@ -19423,6 +20646,7 @@ "/drive:v3/File/spaces/space": space "/drive:v3/File/starred": starred "/drive:v3/File/thumbnailLink": thumbnail_link +"/drive:v3/File/thumbnailVersion": thumbnail_version "/drive:v3/File/trashed": trashed "/drive:v3/File/version": version "/drive:v3/File/videoMediaMetadata": video_media_metadata @@ -19490,6 +20714,7 @@ "/drive:v3/Revision/size": size "/drive:v3/RevisionList": revision_list "/drive:v3/RevisionList/kind": kind +"/drive:v3/RevisionList/nextPageToken": next_page_token "/drive:v3/RevisionList/revisions": revisions "/drive:v3/RevisionList/revisions/revision": revision "/drive:v3/StartPageToken": start_page_token @@ -19645,6 +20870,7 @@ "/fitness:v1/ListSessionsResponse": list_sessions_response "/fitness:v1/ListSessionsResponse/deletedSession": deleted_session "/fitness:v1/ListSessionsResponse/deletedSession/deleted_session": deleted_session +"/fitness:v1/ListSessionsResponse/hasMoreData": has_more_data "/fitness:v1/ListSessionsResponse/nextPageToken": next_page_token "/fitness:v1/ListSessionsResponse/session": session "/fitness:v1/ListSessionsResponse/session/session": session @@ -21030,6 +22256,8 @@ "/gmail:v1/gmail.users.labels.update/userId": user_id "/gmail:v1/gmail.users.messages.batchDelete": batch_delete_messages "/gmail:v1/gmail.users.messages.batchDelete/userId": user_id +"/gmail:v1/gmail.users.messages.batchModify": batch_modify_messages +"/gmail:v1/gmail.users.messages.batchModify/userId": user_id "/gmail:v1/gmail.users.messages.delete": delete_user_message "/gmail:v1/gmail.users.messages.delete/id": id "/gmail:v1/gmail.users.messages.delete/userId": user_id @@ -21156,6 +22384,13 @@ "/gmail:v1/BatchDeleteMessagesRequest": batch_delete_messages_request "/gmail:v1/BatchDeleteMessagesRequest/ids": ids "/gmail:v1/BatchDeleteMessagesRequest/ids/id": id +"/gmail:v1/BatchModifyMessagesRequest": batch_modify_messages_request +"/gmail:v1/BatchModifyMessagesRequest/addLabelIds": add_label_ids +"/gmail:v1/BatchModifyMessagesRequest/addLabelIds/add_label_id": add_label_id +"/gmail:v1/BatchModifyMessagesRequest/ids": ids +"/gmail:v1/BatchModifyMessagesRequest/ids/id": id +"/gmail:v1/BatchModifyMessagesRequest/removeLabelIds": remove_label_ids +"/gmail:v1/BatchModifyMessagesRequest/removeLabelIds/remove_label_id": remove_label_id "/gmail:v1/Draft": draft "/gmail:v1/Draft/id": id "/gmail:v1/Draft/message": message @@ -21395,14 +22630,17 @@ "/appengine:v1beta5/appengine.apps.get": get_app "/appengine:v1beta5/appengine.apps.get/appsId": apps_id "/appengine:v1beta5/appengine.apps.get/ensureResourcesExist": ensure_resources_exist -"/appengine:v1beta5/appengine.apps.operations.get": get_app_operation -"/appengine:v1beta5/appengine.apps.operations.get/appsId": apps_id -"/appengine:v1beta5/appengine.apps.operations.get/operationsId": operations_id +"/appengine:v1beta5/appengine.apps.patch": patch_app +"/appengine:v1beta5/appengine.apps.patch/appsId": apps_id +"/appengine:v1beta5/appengine.apps.patch/mask": mask "/appengine:v1beta5/appengine.apps.operations.list": list_app_operations "/appengine:v1beta5/appengine.apps.operations.list/appsId": apps_id "/appengine:v1beta5/appengine.apps.operations.list/filter": filter "/appengine:v1beta5/appengine.apps.operations.list/pageSize": page_size "/appengine:v1beta5/appengine.apps.operations.list/pageToken": page_token +"/appengine:v1beta5/appengine.apps.operations.get": get_app_operation +"/appengine:v1beta5/appengine.apps.operations.get/appsId": apps_id +"/appengine:v1beta5/appengine.apps.operations.get/operationsId": operations_id "/appengine:v1beta5/appengine.apps.services.delete": delete_app_service "/appengine:v1beta5/appengine.apps.services.delete/appsId": apps_id "/appengine:v1beta5/appengine.apps.services.delete/servicesId": services_id @@ -21470,6 +22708,10 @@ "/appengine:v1beta5/appengine.apps.locations.get": get_app_location "/appengine:v1beta5/appengine.apps.locations.get/appsId": apps_id "/appengine:v1beta5/appengine.apps.locations.get/locationsId": locations_id +"/appengine:v1beta5/ListOperationsResponse": list_operations_response +"/appengine:v1beta5/ListOperationsResponse/operations": operations +"/appengine:v1beta5/ListOperationsResponse/operations/operation": operation +"/appengine:v1beta5/ListOperationsResponse/nextPageToken": next_page_token "/appengine:v1beta5/Operation": operation "/appengine:v1beta5/Operation/name": name "/appengine:v1beta5/Operation/metadata": metadata @@ -21484,10 +22726,6 @@ "/appengine:v1beta5/Status/details": details "/appengine:v1beta5/Status/details/detail": detail "/appengine:v1beta5/Status/details/detail/detail": detail -"/appengine:v1beta5/ListOperationsResponse": list_operations_response -"/appengine:v1beta5/ListOperationsResponse/operations": operations -"/appengine:v1beta5/ListOperationsResponse/operations/operation": operation -"/appengine:v1beta5/ListOperationsResponse/nextPageToken": next_page_token "/appengine:v1beta5/Application": application "/appengine:v1beta5/Application/name": name "/appengine:v1beta5/Application/id": id @@ -21537,6 +22775,7 @@ "/appengine:v1beta5/Version/healthCheck": health_check "/appengine:v1beta5/Version/nobuildFilesRegex": nobuild_files_regex "/appengine:v1beta5/Version/deployment": deployment +"/appengine:v1beta5/Version/endpointsApiService": endpoints_api_service "/appengine:v1beta5/AutomaticScaling": automatic_scaling "/appengine:v1beta5/AutomaticScaling/coolDownPeriod": cool_down_period "/appengine:v1beta5/AutomaticScaling/cpuUtilization": cpu_utilization @@ -21576,10 +22815,17 @@ "/appengine:v1beta5/Network/forwardedPorts/forwarded_port": forwarded_port "/appengine:v1beta5/Network/instanceTag": instance_tag "/appengine:v1beta5/Network/name": name +"/appengine:v1beta5/Network/subnetworkName": subnetwork_name "/appengine:v1beta5/Resources": resources "/appengine:v1beta5/Resources/cpu": cpu "/appengine:v1beta5/Resources/diskGb": disk_gb "/appengine:v1beta5/Resources/memoryGb": memory_gb +"/appengine:v1beta5/Resources/volumes": volumes +"/appengine:v1beta5/Resources/volumes/volume": volume +"/appengine:v1beta5/Volume": volume +"/appengine:v1beta5/Volume/name": name +"/appengine:v1beta5/Volume/volumeType": volume_type +"/appengine:v1beta5/Volume/sizeGb": size_gb "/appengine:v1beta5/UrlMap": url_map "/appengine:v1beta5/UrlMap/urlRegex": url_regex "/appengine:v1beta5/UrlMap/staticFiles": static_files @@ -21638,6 +22884,9 @@ "/appengine:v1beta5/SourceReference": source_reference "/appengine:v1beta5/SourceReference/repository": repository "/appengine:v1beta5/SourceReference/revisionId": revision_id +"/appengine:v1beta5/EndpointsApiService": endpoints_api_service +"/appengine:v1beta5/EndpointsApiService/name": name +"/appengine:v1beta5/EndpointsApiService/configId": config_id "/appengine:v1beta5/ListVersionsResponse": list_versions_response "/appengine:v1beta5/ListVersionsResponse/versions": versions "/appengine:v1beta5/ListVersionsResponse/versions/version": version @@ -21670,11 +22919,13 @@ "/appengine:v1beta5/Instance/memoryUsage": memory_usage "/appengine:v1beta5/Instance/vmStatus": vm_status "/appengine:v1beta5/Instance/vmUnlocked": vm_unlocked +"/appengine:v1beta5/Instance/vmIp": vm_ip "/appengine:v1beta5/ListInstancesResponse": list_instances_response "/appengine:v1beta5/ListInstancesResponse/instances": instances "/appengine:v1beta5/ListInstancesResponse/instances/instance": instance "/appengine:v1beta5/ListInstancesResponse/nextPageToken": next_page_token "/appengine:v1beta5/DebugInstanceRequest": debug_instance_request +"/appengine:v1beta5/DebugInstanceRequest/sshKey": ssh_key "/appengine:v1beta5/ListLocationsResponse": list_locations_response "/appengine:v1beta5/ListLocationsResponse/locations": locations "/appengine:v1beta5/ListLocationsResponse/locations/location": location @@ -21686,6 +22937,12 @@ "/appengine:v1beta5/Location/labels/label": label "/appengine:v1beta5/Location/metadata": metadata "/appengine:v1beta5/Location/metadata/metadatum": metadatum +"/appengine:v1beta5/OperationMetadataExperimental": operation_metadata_experimental +"/appengine:v1beta5/OperationMetadataExperimental/method": method_prop +"/appengine:v1beta5/OperationMetadataExperimental/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataExperimental/endTime": end_time +"/appengine:v1beta5/OperationMetadataExperimental/user": user +"/appengine:v1beta5/OperationMetadataExperimental/target": target "/appengine:v1beta5/OperationMetadata": operation_metadata "/appengine:v1beta5/OperationMetadata/operationType": operation_type "/appengine:v1beta5/OperationMetadata/insertTime": insert_time @@ -21705,6 +22962,9 @@ "/appengine:v1beta5/OperationMetadataV1/endTime": end_time "/appengine:v1beta5/OperationMetadataV1/user": user "/appengine:v1beta5/OperationMetadataV1/target": target +"/appengine:v1beta5/OperationMetadataV1/ephemeralMessage": ephemeral_message +"/appengine:v1beta5/OperationMetadataV1/warning": warning +"/appengine:v1beta5/OperationMetadataV1/warning/warning": warning "/appengine:v1beta5/LocationMetadata": location_metadata "/appengine:v1beta5/LocationMetadata/standardEnvironmentAvailable": standard_environment_available "/appengine:v1beta5/LocationMetadata/flexibleEnvironmentAvailable": flexible_environment_available @@ -21724,6 +22984,7 @@ "/classroom:v1/classroom.courses.list": list_courses "/classroom:v1/classroom.courses.list/studentId": student_id "/classroom:v1/classroom.courses.list/teacherId": teacher_id +"/classroom:v1/classroom.courses.list/courseStates": course_states "/classroom:v1/classroom.courses.list/pageSize": page_size "/classroom:v1/classroom.courses.list/pageToken": page_token "/classroom:v1/classroom.courses.aliases.create": create_course_alias @@ -21761,6 +23022,13 @@ "/classroom:v1/classroom.courses.students.list/pageSize": page_size "/classroom:v1/classroom.courses.students.list/pageToken": page_token "/classroom:v1/classroom.courses.courseWork.create/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.patch": patch_course_course_work +"/classroom:v1/classroom.courses.courseWork.patch/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.patch/id": id +"/classroom:v1/classroom.courses.courseWork.patch/updateMask": update_mask +"/classroom:v1/classroom.courses.courseWork.delete": delete_course_course_work +"/classroom:v1/classroom.courses.courseWork.delete/courseId": course_id +"/classroom:v1/classroom.courses.courseWork.delete/id": id "/classroom:v1/classroom.courses.courseWork.get/courseId": course_id "/classroom:v1/classroom.courses.courseWork.get/id": id "/classroom:v1/classroom.courses.courseWork.list/courseId": course_id @@ -21856,6 +23124,7 @@ "/classroom:v1/Course/teacherFolder": teacher_folder "/classroom:v1/Course/courseMaterialSets": course_material_sets "/classroom:v1/Course/courseMaterialSets/course_material_set": course_material_set +"/classroom:v1/Course/guardiansEnabled": guardians_enabled "/classroom:v1/DriveFolder": drive_folder "/classroom:v1/DriveFolder/id": id "/classroom:v1/DriveFolder/title": title @@ -21909,15 +23178,6 @@ "/classroom:v1/GuardianInvitation/invitedEmailAddress": invited_email_address "/classroom:v1/GuardianInvitation/state": state "/classroom:v1/GuardianInvitation/creationTime": creation_time -"/classroom:v1/ListGuardiansResponse": list_guardians_response -"/classroom:v1/ListGuardiansResponse/guardians": guardians -"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian -"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token -"/classroom:v1/Guardian": guardian -"/classroom:v1/Guardian/studentId": student_id -"/classroom:v1/Guardian/guardianId": guardian_id -"/classroom:v1/Guardian/guardianProfile": guardian_profile -"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address "/classroom:v1/UserProfile": user_profile "/classroom:v1/UserProfile/id": id "/classroom:v1/UserProfile/name": name @@ -21948,6 +23208,15 @@ "/classroom:v1/ListStudentsResponse/students": students "/classroom:v1/ListStudentsResponse/students/student": student "/classroom:v1/ListStudentsResponse/nextPageToken": next_page_token +"/classroom:v1/ListGuardiansResponse": list_guardians_response +"/classroom:v1/ListGuardiansResponse/guardians": guardians +"/classroom:v1/ListGuardiansResponse/guardians/guardian": guardian +"/classroom:v1/ListGuardiansResponse/nextPageToken": next_page_token +"/classroom:v1/Guardian": guardian +"/classroom:v1/Guardian/studentId": student_id +"/classroom:v1/Guardian/guardianId": guardian_id +"/classroom:v1/Guardian/guardianProfile": guardian_profile +"/classroom:v1/Guardian/invitedEmailAddress": invited_email_address "/classroom:v1/Invitation": invitation "/classroom:v1/Invitation/id": id "/classroom:v1/Invitation/userId": user_id @@ -22233,173 +23502,6 @@ "/clouddebugger:v2/ListDebuggeesResponse": list_debuggees_response "/clouddebugger:v2/ListDebuggeesResponse/debuggees": debuggees "/clouddebugger:v2/ListDebuggeesResponse/debuggees/debuggee": debuggee -"/cloudresourcemanager:v1/fields": fields -"/cloudresourcemanager:v1/key": key -"/cloudresourcemanager:v1/quotaUser": quota_user -"/cloudresourcemanager:v1/cloudresourcemanager.projects.get": get_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list": list_projects -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageToken": page_token -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/pageSize": page_size -"/cloudresourcemanager:v1/cloudresourcemanager.projects.list/filter": filter -"/cloudresourcemanager:v1/cloudresourcemanager.projects.update": update_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.update/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete": undelete_project -"/cloudresourcemanager:v1/cloudresourcemanager.projects.undelete/projectId": project_id -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.getIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy -"/cloudresourcemanager:v1/cloudresourcemanager.projects.setIamPolicy/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions -"/cloudresourcemanager:v1/cloudresourcemanager.projects.testIamPermissions/resource": resource -"/cloudresourcemanager:v1/cloudresourcemanager.operations.get": get_operation -"/cloudresourcemanager:v1/cloudresourcemanager.operations.get/name": name -"/cloudresourcemanager:v1/Project": project -"/cloudresourcemanager:v1/Project/projectNumber": project_number -"/cloudresourcemanager:v1/Project/projectId": project_id -"/cloudresourcemanager:v1/Project/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1/Project/name": name -"/cloudresourcemanager:v1/Project/createTime": create_time -"/cloudresourcemanager:v1/Project/labels": labels -"/cloudresourcemanager:v1/Project/labels/label": label -"/cloudresourcemanager:v1/Project/parent": parent -"/cloudresourcemanager:v1/ResourceId": resource_id -"/cloudresourcemanager:v1/ResourceId/type": type -"/cloudresourcemanager:v1/ResourceId/id": id -"/cloudresourcemanager:v1/ListProjectsResponse": list_projects_response -"/cloudresourcemanager:v1/ListProjectsResponse/projects": projects -"/cloudresourcemanager:v1/ListProjectsResponse/projects/project": project -"/cloudresourcemanager:v1/ListProjectsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1/Empty": empty -"/cloudresourcemanager:v1/UndeleteProjectRequest": undelete_project_request -"/cloudresourcemanager:v1/GetIamPolicyRequest": get_iam_policy_request -"/cloudresourcemanager:v1/Policy": policy -"/cloudresourcemanager:v1/Policy/version": version -"/cloudresourcemanager:v1/Policy/bindings": bindings -"/cloudresourcemanager:v1/Policy/bindings/binding": binding -"/cloudresourcemanager:v1/Policy/etag": etag -"/cloudresourcemanager:v1/Binding": binding -"/cloudresourcemanager:v1/Binding/role": role -"/cloudresourcemanager:v1/Binding/members": members -"/cloudresourcemanager:v1/Binding/members/member": member -"/cloudresourcemanager:v1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1/SetIamPolicyRequest/policy": policy -"/cloudresourcemanager:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions": permissions -"/cloudresourcemanager:v1/TestIamPermissionsRequest/permissions/permission": permission -"/cloudresourcemanager:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions": permissions -"/cloudresourcemanager:v1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudresourcemanager:v1/Operation": operation -"/cloudresourcemanager:v1/Operation/name": name -"/cloudresourcemanager:v1/Operation/metadata": metadata -"/cloudresourcemanager:v1/Operation/metadata/metadatum": metadatum -"/cloudresourcemanager:v1/Operation/done": done -"/cloudresourcemanager:v1/Operation/error": error -"/cloudresourcemanager:v1/Operation/response": response -"/cloudresourcemanager:v1/Operation/response/response": response -"/cloudresourcemanager:v1/Status": status -"/cloudresourcemanager:v1/Status/code": code -"/cloudresourcemanager:v1/Status/message": message -"/cloudresourcemanager:v1/Status/details": details -"/cloudresourcemanager:v1/Status/details/detail": detail -"/cloudresourcemanager:v1/Status/details/detail/detail": detail -"/cloudresourcemanager:v1beta1/fields": fields -"/cloudresourcemanager:v1beta1/key": key -"/cloudresourcemanager:v1beta1/quotaUser": quota_user -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.create": create_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list": list_projects -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/pageSize": page_size -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get": get_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.get/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update": update_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.update/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete": delete_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.delete/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete": undelete_project -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.undelete/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry": get_project_ancestry -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getAncestry/projectId": project_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy": get_project_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.getIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy": set_project_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.setIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions": test_project_iam_permissions -"/cloudresourcemanager:v1beta1/cloudresourcemanager.projects.testIamPermissions/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list": list_organizations -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageSize": page_size -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/pageToken": page_token -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.list/filter": filter -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get": get_organization -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/name": name -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.get/organizationId": organization_id -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update": update_organization -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.update/name": name -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy": set_organization_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy": get_organization_iam_policy -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getIamPolicy/resource": resource -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions": test_organization_iam_permissions -"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.testIamPermissions/resource": resource -"/cloudresourcemanager:v1beta1/Project": project -"/cloudresourcemanager:v1beta1/Project/projectNumber": project_number -"/cloudresourcemanager:v1beta1/Project/projectId": project_id -"/cloudresourcemanager:v1beta1/Project/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1beta1/Project/name": name -"/cloudresourcemanager:v1beta1/Project/createTime": create_time -"/cloudresourcemanager:v1beta1/Project/labels": labels -"/cloudresourcemanager:v1beta1/Project/labels/label": label -"/cloudresourcemanager:v1beta1/Project/parent": parent -"/cloudresourcemanager:v1beta1/ResourceId": resource_id -"/cloudresourcemanager:v1beta1/ResourceId/type": type -"/cloudresourcemanager:v1beta1/ResourceId/id": id -"/cloudresourcemanager:v1beta1/ListProjectsResponse": list_projects_response -"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects": projects -"/cloudresourcemanager:v1beta1/ListProjectsResponse/projects/project": project -"/cloudresourcemanager:v1beta1/ListProjectsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1beta1/Empty": empty -"/cloudresourcemanager:v1beta1/UndeleteProjectRequest": undelete_project_request -"/cloudresourcemanager:v1beta1/GetAncestryRequest": get_ancestry_request -"/cloudresourcemanager:v1beta1/GetAncestryResponse": get_ancestry_response -"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor": ancestor -"/cloudresourcemanager:v1beta1/GetAncestryResponse/ancestor/ancestor": ancestor -"/cloudresourcemanager:v1beta1/Ancestor": ancestor -"/cloudresourcemanager:v1beta1/Ancestor/resourceId": resource_id -"/cloudresourcemanager:v1beta1/GetIamPolicyRequest": get_iam_policy_request -"/cloudresourcemanager:v1beta1/Policy": policy -"/cloudresourcemanager:v1beta1/Policy/version": version -"/cloudresourcemanager:v1beta1/Policy/bindings": bindings -"/cloudresourcemanager:v1beta1/Policy/bindings/binding": binding -"/cloudresourcemanager:v1beta1/Policy/etag": etag -"/cloudresourcemanager:v1beta1/Binding": binding -"/cloudresourcemanager:v1beta1/Binding/role": role -"/cloudresourcemanager:v1beta1/Binding/members": members -"/cloudresourcemanager:v1beta1/Binding/members/member": member -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest": set_iam_policy_request -"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/policy": policy -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions": permissions -"/cloudresourcemanager:v1beta1/TestIamPermissionsRequest/permissions/permission": permission -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions": permissions -"/cloudresourcemanager:v1beta1/TestIamPermissionsResponse/permissions/permission": permission -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse": list_organizations_response -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations": organizations -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/organizations/organization": organization -"/cloudresourcemanager:v1beta1/ListOrganizationsResponse/nextPageToken": next_page_token -"/cloudresourcemanager:v1beta1/Organization": organization -"/cloudresourcemanager:v1beta1/Organization/name": name -"/cloudresourcemanager:v1beta1/Organization/organizationId": organization_id -"/cloudresourcemanager:v1beta1/Organization/displayName": display_name -"/cloudresourcemanager:v1beta1/Organization/owner": owner -"/cloudresourcemanager:v1beta1/Organization/creationTime": creation_time -"/cloudresourcemanager:v1beta1/Organization/lifecycleState": lifecycle_state -"/cloudresourcemanager:v1beta1/OrganizationOwner": organization_owner -"/cloudresourcemanager:v1beta1/OrganizationOwner/directoryCustomerId": directory_customer_id "/cloudtrace:v1/fields": fields "/cloudtrace:v1/key": key "/cloudtrace:v1/quotaUser": quota_user @@ -22583,6 +23685,679 @@ "/container:v1/ListNodePoolsResponse/nodePools/node_pool": node_pool "/container:v1/CreateNodePoolRequest": create_node_pool_request "/container:v1/CreateNodePoolRequest/nodePool": node_pool +"/dataflow:v1b3/fields": fields +"/dataflow:v1b3/key": key +"/dataflow:v1b3/quotaUser": quota_user +"/dataflow:v1b3/dataflow.projects.workerMessages": worker_project_messages +"/dataflow:v1b3/dataflow.projects.workerMessages/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create": create_project_job +"/dataflow:v1b3/dataflow.projects.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.jobs.get": get_project_job +"/dataflow:v1b3/dataflow.projects.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.jobs.update": update_project_job +"/dataflow:v1b3/dataflow.projects.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.jobs.list": list_project_jobs +"/dataflow:v1b3/dataflow.projects.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics": get_project_job_metrics +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig": get_project_job_debug_config +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.getConfig/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture": send_project_job_debug_capture +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.debug.sendCapture/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list": list_project_job_messages +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus": report_project_job_work_item_status +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create": create_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.create/replaceJobId": replace_job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get": get_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.get/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.update": update_project_location_job +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.update/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list": list_project_location_jobs +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/filter": filter +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/view": view +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics": get_project_location_job_metrics +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.getMetrics/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list": list_project_location_job_messages +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/minimumImportance": minimum_importance +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageSize": page_size +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/pageToken": page_token +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/startTime": start_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.messages.list/endTime": end_time +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus": report_project_location_job_work_item_status +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.reportStatus/jobId": job_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/projectId": project_id +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/location": location +"/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease/jobId": job_id +"/dataflow:v1b3/dataflow.projects.templates.create": create_job_from_template +"/dataflow:v1b3/dataflow.projects.templates.create/projectId": project_id +"/dataflow:v1b3/GetDebugConfigRequest": get_debug_config_request +"/dataflow:v1b3/GetDebugConfigRequest/workerId": worker_id +"/dataflow:v1b3/GetDebugConfigRequest/componentId": component_id +"/dataflow:v1b3/GetDebugConfigResponse": get_debug_config_response +"/dataflow:v1b3/GetDebugConfigResponse/config": config +"/dataflow:v1b3/SendDebugCaptureRequest": send_debug_capture_request +"/dataflow:v1b3/SendDebugCaptureRequest/workerId": worker_id +"/dataflow:v1b3/SendDebugCaptureRequest/componentId": component_id +"/dataflow:v1b3/SendDebugCaptureRequest/data": data +"/dataflow:v1b3/SendDebugCaptureResponse": send_debug_capture_response +"/dataflow:v1b3/Job": job +"/dataflow:v1b3/Job/id": id +"/dataflow:v1b3/Job/projectId": project_id +"/dataflow:v1b3/Job/name": name +"/dataflow:v1b3/Job/type": type +"/dataflow:v1b3/Job/environment": environment +"/dataflow:v1b3/Job/steps": steps +"/dataflow:v1b3/Job/steps/step": step +"/dataflow:v1b3/Job/currentState": current_state +"/dataflow:v1b3/Job/currentStateTime": current_state_time +"/dataflow:v1b3/Job/requestedState": requested_state +"/dataflow:v1b3/Job/executionInfo": execution_info +"/dataflow:v1b3/Job/createTime": create_time +"/dataflow:v1b3/Job/replaceJobId": replace_job_id +"/dataflow:v1b3/Job/transformNameMapping": transform_name_mapping +"/dataflow:v1b3/Job/transformNameMapping/transform_name_mapping": transform_name_mapping +"/dataflow:v1b3/Job/clientRequestId": client_request_id +"/dataflow:v1b3/Job/replacedByJobId": replaced_by_job_id +"/dataflow:v1b3/Job/tempFiles": temp_files +"/dataflow:v1b3/Job/tempFiles/temp_file": temp_file +"/dataflow:v1b3/Job/labels": labels +"/dataflow:v1b3/Job/labels/label": label +"/dataflow:v1b3/Job/location": location +"/dataflow:v1b3/Environment": environment +"/dataflow:v1b3/Environment/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Environment/clusterManagerApiService": cluster_manager_api_service +"/dataflow:v1b3/Environment/experiments": experiments +"/dataflow:v1b3/Environment/experiments/experiment": experiment +"/dataflow:v1b3/Environment/workerPools": worker_pools +"/dataflow:v1b3/Environment/workerPools/worker_pool": worker_pool +"/dataflow:v1b3/Environment/userAgent": user_agent +"/dataflow:v1b3/Environment/userAgent/user_agent": user_agent +"/dataflow:v1b3/Environment/version": version +"/dataflow:v1b3/Environment/version/version": version +"/dataflow:v1b3/Environment/dataset": dataset +"/dataflow:v1b3/Environment/sdkPipelineOptions": sdk_pipeline_options +"/dataflow:v1b3/Environment/sdkPipelineOptions/sdk_pipeline_option": sdk_pipeline_option +"/dataflow:v1b3/Environment/internalExperiments": internal_experiments +"/dataflow:v1b3/Environment/internalExperiments/internal_experiment": internal_experiment +"/dataflow:v1b3/Environment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/WorkerPool": worker_pool +"/dataflow:v1b3/WorkerPool/kind": kind +"/dataflow:v1b3/WorkerPool/numWorkers": num_workers +"/dataflow:v1b3/WorkerPool/packages": packages +"/dataflow:v1b3/WorkerPool/packages/package": package +"/dataflow:v1b3/WorkerPool/defaultPackageSet": default_package_set +"/dataflow:v1b3/WorkerPool/machineType": machine_type +"/dataflow:v1b3/WorkerPool/teardownPolicy": teardown_policy +"/dataflow:v1b3/WorkerPool/diskSizeGb": disk_size_gb +"/dataflow:v1b3/WorkerPool/diskType": disk_type +"/dataflow:v1b3/WorkerPool/diskSourceImage": disk_source_image +"/dataflow:v1b3/WorkerPool/zone": zone +"/dataflow:v1b3/WorkerPool/taskrunnerSettings": taskrunner_settings +"/dataflow:v1b3/WorkerPool/onHostMaintenance": on_host_maintenance +"/dataflow:v1b3/WorkerPool/dataDisks": data_disks +"/dataflow:v1b3/WorkerPool/dataDisks/data_disk": data_disk +"/dataflow:v1b3/WorkerPool/metadata": metadata +"/dataflow:v1b3/WorkerPool/metadata/metadatum": metadatum +"/dataflow:v1b3/WorkerPool/autoscalingSettings": autoscaling_settings +"/dataflow:v1b3/WorkerPool/poolArgs": pool_args +"/dataflow:v1b3/WorkerPool/poolArgs/pool_arg": pool_arg +"/dataflow:v1b3/WorkerPool/network": network +"/dataflow:v1b3/WorkerPool/subnetwork": subnetwork +"/dataflow:v1b3/WorkerPool/workerHarnessContainerImage": worker_harness_container_image +"/dataflow:v1b3/WorkerPool/numThreadsPerWorker": num_threads_per_worker +"/dataflow:v1b3/WorkerPool/ipConfiguration": ip_configuration +"/dataflow:v1b3/Package": package +"/dataflow:v1b3/Package/name": name +"/dataflow:v1b3/Package/location": location +"/dataflow:v1b3/TaskRunnerSettings": task_runner_settings +"/dataflow:v1b3/TaskRunnerSettings/taskUser": task_user +"/dataflow:v1b3/TaskRunnerSettings/taskGroup": task_group +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes": oauth_scopes +"/dataflow:v1b3/TaskRunnerSettings/oauthScopes/oauth_scope": oauth_scope +"/dataflow:v1b3/TaskRunnerSettings/baseUrl": base_url +"/dataflow:v1b3/TaskRunnerSettings/dataflowApiVersion": dataflow_api_version +"/dataflow:v1b3/TaskRunnerSettings/parallelWorkerSettings": parallel_worker_settings +"/dataflow:v1b3/TaskRunnerSettings/baseTaskDir": base_task_dir +"/dataflow:v1b3/TaskRunnerSettings/continueOnException": continue_on_exception +"/dataflow:v1b3/TaskRunnerSettings/logToSerialconsole": log_to_serialconsole +"/dataflow:v1b3/TaskRunnerSettings/alsologtostderr": alsologtostderr +"/dataflow:v1b3/TaskRunnerSettings/logUploadLocation": log_upload_location +"/dataflow:v1b3/TaskRunnerSettings/logDir": log_dir +"/dataflow:v1b3/TaskRunnerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/TaskRunnerSettings/harnessCommand": harness_command +"/dataflow:v1b3/TaskRunnerSettings/workflowFileName": workflow_file_name +"/dataflow:v1b3/TaskRunnerSettings/commandlinesFileName": commandlines_file_name +"/dataflow:v1b3/TaskRunnerSettings/vmId": vm_id +"/dataflow:v1b3/TaskRunnerSettings/languageHint": language_hint +"/dataflow:v1b3/TaskRunnerSettings/streamingWorkerMainClass": streaming_worker_main_class +"/dataflow:v1b3/WorkerSettings": worker_settings +"/dataflow:v1b3/WorkerSettings/baseUrl": base_url +"/dataflow:v1b3/WorkerSettings/reportingEnabled": reporting_enabled +"/dataflow:v1b3/WorkerSettings/servicePath": service_path +"/dataflow:v1b3/WorkerSettings/shuffleServicePath": shuffle_service_path +"/dataflow:v1b3/WorkerSettings/workerId": worker_id +"/dataflow:v1b3/WorkerSettings/tempStoragePrefix": temp_storage_prefix +"/dataflow:v1b3/Disk": disk +"/dataflow:v1b3/Disk/sizeGb": size_gb +"/dataflow:v1b3/Disk/diskType": disk_type +"/dataflow:v1b3/Disk/mountPoint": mount_point +"/dataflow:v1b3/AutoscalingSettings": autoscaling_settings +"/dataflow:v1b3/AutoscalingSettings/algorithm": algorithm +"/dataflow:v1b3/AutoscalingSettings/maxNumWorkers": max_num_workers +"/dataflow:v1b3/Step": step +"/dataflow:v1b3/Step/kind": kind +"/dataflow:v1b3/Step/name": name +"/dataflow:v1b3/Step/properties": properties +"/dataflow:v1b3/Step/properties/property": property +"/dataflow:v1b3/JobExecutionInfo": job_execution_info +"/dataflow:v1b3/JobExecutionInfo/stages": stages +"/dataflow:v1b3/JobExecutionInfo/stages/stage": stage +"/dataflow:v1b3/JobExecutionStageInfo": job_execution_stage_info +"/dataflow:v1b3/JobExecutionStageInfo/stepName": step_name +"/dataflow:v1b3/JobExecutionStageInfo/stepName/step_name": step_name +"/dataflow:v1b3/ListJobsResponse": list_jobs_response +"/dataflow:v1b3/ListJobsResponse/jobs": jobs +"/dataflow:v1b3/ListJobsResponse/jobs/job": job +"/dataflow:v1b3/ListJobsResponse/nextPageToken": next_page_token +"/dataflow:v1b3/ListJobsResponse/failedLocation": failed_location +"/dataflow:v1b3/ListJobsResponse/failedLocation/failed_location": failed_location +"/dataflow:v1b3/FailedLocation": failed_location +"/dataflow:v1b3/FailedLocation/name": name +"/dataflow:v1b3/ListJobMessagesResponse": list_job_messages_response +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages": job_messages +"/dataflow:v1b3/ListJobMessagesResponse/jobMessages/job_message": job_message +"/dataflow:v1b3/ListJobMessagesResponse/nextPageToken": next_page_token +"/dataflow:v1b3/JobMessage": job_message +"/dataflow:v1b3/JobMessage/id": id +"/dataflow:v1b3/JobMessage/time": time +"/dataflow:v1b3/JobMessage/messageText": message_text +"/dataflow:v1b3/JobMessage/messageImportance": message_importance +"/dataflow:v1b3/JobMetrics": job_metrics +"/dataflow:v1b3/JobMetrics/metricTime": metric_time +"/dataflow:v1b3/JobMetrics/metrics": metrics +"/dataflow:v1b3/JobMetrics/metrics/metric": metric +"/dataflow:v1b3/MetricUpdate": metric_update +"/dataflow:v1b3/MetricUpdate/name": name +"/dataflow:v1b3/MetricUpdate/kind": kind +"/dataflow:v1b3/MetricUpdate/cumulative": cumulative +"/dataflow:v1b3/MetricUpdate/scalar": scalar +"/dataflow:v1b3/MetricUpdate/meanSum": mean_sum +"/dataflow:v1b3/MetricUpdate/meanCount": mean_count +"/dataflow:v1b3/MetricUpdate/set": set +"/dataflow:v1b3/MetricUpdate/internal": internal +"/dataflow:v1b3/MetricUpdate/updateTime": update_time +"/dataflow:v1b3/MetricStructuredName": metric_structured_name +"/dataflow:v1b3/MetricStructuredName/origin": origin +"/dataflow:v1b3/MetricStructuredName/name": name +"/dataflow:v1b3/MetricStructuredName/context": context +"/dataflow:v1b3/MetricStructuredName/context/context": context +"/dataflow:v1b3/CreateJobFromTemplateRequest": create_job_from_template_request +"/dataflow:v1b3/CreateJobFromTemplateRequest/jobName": job_name +"/dataflow:v1b3/CreateJobFromTemplateRequest/gcsPath": gcs_path +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters": parameters +"/dataflow:v1b3/CreateJobFromTemplateRequest/parameters/parameter": parameter +"/dataflow:v1b3/CreateJobFromTemplateRequest/environment": environment +"/dataflow:v1b3/RuntimeEnvironment": runtime_environment +"/dataflow:v1b3/RuntimeEnvironment/maxWorkers": max_workers +"/dataflow:v1b3/RuntimeEnvironment/zone": zone +"/dataflow:v1b3/RuntimeEnvironment/serviceAccountEmail": service_account_email +"/dataflow:v1b3/RuntimeEnvironment/tempLocation": temp_location +"/dataflow:v1b3/RuntimeEnvironment/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/ReportWorkItemStatusRequest": report_work_item_status_request +"/dataflow:v1b3/ReportWorkItemStatusRequest/workerId": worker_id +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses": work_item_statuses +"/dataflow:v1b3/ReportWorkItemStatusRequest/workItemStatuses/work_item_status": work_item_status +"/dataflow:v1b3/ReportWorkItemStatusRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/ReportWorkItemStatusRequest/location": location +"/dataflow:v1b3/WorkItemStatus": work_item_status +"/dataflow:v1b3/WorkItemStatus/workItemId": work_item_id +"/dataflow:v1b3/WorkItemStatus/reportIndex": report_index +"/dataflow:v1b3/WorkItemStatus/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/WorkItemStatus/completed": completed +"/dataflow:v1b3/WorkItemStatus/errors": errors +"/dataflow:v1b3/WorkItemStatus/errors/error": error +"/dataflow:v1b3/WorkItemStatus/counterUpdates": counter_updates +"/dataflow:v1b3/WorkItemStatus/counterUpdates/counter_update": counter_update +"/dataflow:v1b3/WorkItemStatus/metricUpdates": metric_updates +"/dataflow:v1b3/WorkItemStatus/metricUpdates/metric_update": metric_update +"/dataflow:v1b3/WorkItemStatus/reportedProgress": reported_progress +"/dataflow:v1b3/WorkItemStatus/stopPosition": stop_position +"/dataflow:v1b3/WorkItemStatus/dynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/WorkItemStatus/sourceOperationResponse": source_operation_response +"/dataflow:v1b3/WorkItemStatus/sourceFork": source_fork +"/dataflow:v1b3/WorkItemStatus/progress": progress +"/dataflow:v1b3/Status": status +"/dataflow:v1b3/Status/code": code +"/dataflow:v1b3/Status/message": message +"/dataflow:v1b3/Status/details": details +"/dataflow:v1b3/Status/details/detail": detail +"/dataflow:v1b3/Status/details/detail/detail": detail +"/dataflow:v1b3/CounterUpdate": counter_update +"/dataflow:v1b3/CounterUpdate/nameAndKind": name_and_kind +"/dataflow:v1b3/CounterUpdate/shortId": short_id +"/dataflow:v1b3/CounterUpdate/structuredNameAndMetadata": structured_name_and_metadata +"/dataflow:v1b3/CounterUpdate/cumulative": cumulative +"/dataflow:v1b3/CounterUpdate/integer": integer +"/dataflow:v1b3/CounterUpdate/floatingPoint": floating_point +"/dataflow:v1b3/CounterUpdate/boolean": boolean +"/dataflow:v1b3/CounterUpdate/integerMean": integer_mean +"/dataflow:v1b3/CounterUpdate/floatingPointMean": floating_point_mean +"/dataflow:v1b3/CounterUpdate/integerList": integer_list +"/dataflow:v1b3/CounterUpdate/floatingPointList": floating_point_list +"/dataflow:v1b3/CounterUpdate/stringList": string_list +"/dataflow:v1b3/CounterUpdate/internal": internal +"/dataflow:v1b3/NameAndKind": name_and_kind +"/dataflow:v1b3/NameAndKind/name": name +"/dataflow:v1b3/NameAndKind/kind": kind +"/dataflow:v1b3/CounterStructuredNameAndMetadata": counter_structured_name_and_metadata +"/dataflow:v1b3/CounterStructuredNameAndMetadata/name": name +"/dataflow:v1b3/CounterStructuredNameAndMetadata/metadata": metadata +"/dataflow:v1b3/CounterStructuredName": counter_structured_name +"/dataflow:v1b3/CounterStructuredName/name": name +"/dataflow:v1b3/CounterStructuredName/standardOrigin": standard_origin +"/dataflow:v1b3/CounterStructuredName/otherOrigin": other_origin +"/dataflow:v1b3/CounterStructuredName/originalStepName": original_step_name +"/dataflow:v1b3/CounterStructuredName/componentStepName": component_step_name +"/dataflow:v1b3/CounterStructuredName/executionStepName": execution_step_name +"/dataflow:v1b3/CounterStructuredName/workerId": worker_id +"/dataflow:v1b3/CounterStructuredName/portion": portion +"/dataflow:v1b3/CounterMetadata": counter_metadata +"/dataflow:v1b3/CounterMetadata/kind": kind +"/dataflow:v1b3/CounterMetadata/description": description +"/dataflow:v1b3/CounterMetadata/standardUnits": standard_units +"/dataflow:v1b3/CounterMetadata/otherUnits": other_units +"/dataflow:v1b3/SplitInt64": split_int64 +"/dataflow:v1b3/SplitInt64/lowBits": low_bits +"/dataflow:v1b3/SplitInt64/highBits": high_bits +"/dataflow:v1b3/IntegerMean": integer_mean +"/dataflow:v1b3/IntegerMean/sum": sum +"/dataflow:v1b3/IntegerMean/count": count +"/dataflow:v1b3/FloatingPointMean": floating_point_mean +"/dataflow:v1b3/FloatingPointMean/sum": sum +"/dataflow:v1b3/FloatingPointMean/count": count +"/dataflow:v1b3/IntegerList": integer_list +"/dataflow:v1b3/IntegerList/elements": elements +"/dataflow:v1b3/IntegerList/elements/element": element +"/dataflow:v1b3/FloatingPointList": floating_point_list +"/dataflow:v1b3/FloatingPointList/elements": elements +"/dataflow:v1b3/FloatingPointList/elements/element": element +"/dataflow:v1b3/StringList": string_list +"/dataflow:v1b3/StringList/elements": elements +"/dataflow:v1b3/StringList/elements/element": element +"/dataflow:v1b3/ApproximateReportedProgress": approximate_reported_progress +"/dataflow:v1b3/ApproximateReportedProgress/position": position +"/dataflow:v1b3/ApproximateReportedProgress/fractionConsumed": fraction_consumed +"/dataflow:v1b3/ApproximateReportedProgress/remainingParallelism": remaining_parallelism +"/dataflow:v1b3/ApproximateReportedProgress/consumedParallelism": consumed_parallelism +"/dataflow:v1b3/Position": position +"/dataflow:v1b3/Position/end": end +"/dataflow:v1b3/Position/key": key +"/dataflow:v1b3/Position/byteOffset": byte_offset +"/dataflow:v1b3/Position/recordIndex": record_index +"/dataflow:v1b3/Position/shufflePosition": shuffle_position +"/dataflow:v1b3/Position/concatPosition": concat_position +"/dataflow:v1b3/ConcatPosition": concat_position +"/dataflow:v1b3/ConcatPosition/index": index +"/dataflow:v1b3/ConcatPosition/position": position +"/dataflow:v1b3/ReportedParallelism": reported_parallelism +"/dataflow:v1b3/ReportedParallelism/isInfinite": is_infinite +"/dataflow:v1b3/ReportedParallelism/value": value +"/dataflow:v1b3/DynamicSourceSplit": dynamic_source_split +"/dataflow:v1b3/DynamicSourceSplit/primary": primary +"/dataflow:v1b3/DynamicSourceSplit/residual": residual +"/dataflow:v1b3/DerivedSource": derived_source +"/dataflow:v1b3/DerivedSource/source": source +"/dataflow:v1b3/DerivedSource/derivationMode": derivation_mode +"/dataflow:v1b3/Source": source +"/dataflow:v1b3/Source/spec": spec +"/dataflow:v1b3/Source/spec/spec": spec +"/dataflow:v1b3/Source/codec": codec +"/dataflow:v1b3/Source/codec/codec": codec +"/dataflow:v1b3/Source/baseSpecs": base_specs +"/dataflow:v1b3/Source/baseSpecs/base_spec": base_spec +"/dataflow:v1b3/Source/baseSpecs/base_spec/base_spec": base_spec +"/dataflow:v1b3/Source/metadata": metadata +"/dataflow:v1b3/Source/doesNotNeedSplitting": does_not_need_splitting +"/dataflow:v1b3/SourceMetadata": source_metadata +"/dataflow:v1b3/SourceMetadata/producesSortedKeys": produces_sorted_keys +"/dataflow:v1b3/SourceMetadata/infinite": infinite +"/dataflow:v1b3/SourceMetadata/estimatedSizeBytes": estimated_size_bytes +"/dataflow:v1b3/SourceOperationResponse": source_operation_response +"/dataflow:v1b3/SourceOperationResponse/split": split +"/dataflow:v1b3/SourceOperationResponse/getMetadata": get_metadata +"/dataflow:v1b3/SourceSplitResponse": source_split_response +"/dataflow:v1b3/SourceSplitResponse/outcome": outcome +"/dataflow:v1b3/SourceSplitResponse/bundles": bundles +"/dataflow:v1b3/SourceSplitResponse/bundles/bundle": bundle +"/dataflow:v1b3/SourceSplitResponse/shards": shards +"/dataflow:v1b3/SourceSplitResponse/shards/shard": shard +"/dataflow:v1b3/SourceSplitShard": source_split_shard +"/dataflow:v1b3/SourceSplitShard/source": source +"/dataflow:v1b3/SourceSplitShard/derivationMode": derivation_mode +"/dataflow:v1b3/SourceGetMetadataResponse": source_get_metadata_response +"/dataflow:v1b3/SourceGetMetadataResponse/metadata": metadata +"/dataflow:v1b3/SourceFork": source_fork +"/dataflow:v1b3/SourceFork/primary": primary +"/dataflow:v1b3/SourceFork/residual": residual +"/dataflow:v1b3/SourceFork/primarySource": primary_source +"/dataflow:v1b3/SourceFork/residualSource": residual_source +"/dataflow:v1b3/ApproximateProgress": approximate_progress +"/dataflow:v1b3/ApproximateProgress/position": position +"/dataflow:v1b3/ApproximateProgress/percentComplete": percent_complete +"/dataflow:v1b3/ApproximateProgress/remainingTime": remaining_time +"/dataflow:v1b3/ReportWorkItemStatusResponse": report_work_item_status_response +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates": work_item_service_states +"/dataflow:v1b3/ReportWorkItemStatusResponse/workItemServiceStates/work_item_service_state": work_item_service_state +"/dataflow:v1b3/WorkItemServiceState": work_item_service_state +"/dataflow:v1b3/WorkItemServiceState/splitRequest": split_request +"/dataflow:v1b3/WorkItemServiceState/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItemServiceState/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItemServiceState/harnessData": harness_data +"/dataflow:v1b3/WorkItemServiceState/harnessData/harness_datum": harness_datum +"/dataflow:v1b3/WorkItemServiceState/nextReportIndex": next_report_index +"/dataflow:v1b3/WorkItemServiceState/metricShortId": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/metricShortId/metric_short_id": metric_short_id +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPosition": suggested_stop_position +"/dataflow:v1b3/WorkItemServiceState/suggestedStopPoint": suggested_stop_point +"/dataflow:v1b3/ApproximateSplitRequest": approximate_split_request +"/dataflow:v1b3/ApproximateSplitRequest/position": position +"/dataflow:v1b3/ApproximateSplitRequest/fractionConsumed": fraction_consumed +"/dataflow:v1b3/MetricShortId": metric_short_id +"/dataflow:v1b3/MetricShortId/metricIndex": metric_index +"/dataflow:v1b3/MetricShortId/shortId": short_id +"/dataflow:v1b3/LeaseWorkItemRequest": lease_work_item_request +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes": work_item_types +"/dataflow:v1b3/LeaseWorkItemRequest/workItemTypes/work_item_type": work_item_type +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities": worker_capabilities +"/dataflow:v1b3/LeaseWorkItemRequest/workerCapabilities/worker_capability": worker_capability +"/dataflow:v1b3/LeaseWorkItemRequest/requestedLeaseDuration": requested_lease_duration +"/dataflow:v1b3/LeaseWorkItemRequest/currentWorkerTime": current_worker_time +"/dataflow:v1b3/LeaseWorkItemRequest/workerId": worker_id +"/dataflow:v1b3/LeaseWorkItemRequest/location": location +"/dataflow:v1b3/LeaseWorkItemResponse": lease_work_item_response +"/dataflow:v1b3/LeaseWorkItemResponse/workItems": work_items +"/dataflow:v1b3/LeaseWorkItemResponse/workItems/work_item": work_item +"/dataflow:v1b3/WorkItem": work_item +"/dataflow:v1b3/WorkItem/id": id +"/dataflow:v1b3/WorkItem/projectId": project_id +"/dataflow:v1b3/WorkItem/jobId": job_id +"/dataflow:v1b3/WorkItem/packages": packages +"/dataflow:v1b3/WorkItem/packages/package": package +"/dataflow:v1b3/WorkItem/mapTask": map_task +"/dataflow:v1b3/WorkItem/seqMapTask": seq_map_task +"/dataflow:v1b3/WorkItem/shellTask": shell_task +"/dataflow:v1b3/WorkItem/streamingSetupTask": streaming_setup_task +"/dataflow:v1b3/WorkItem/sourceOperationTask": source_operation_task +"/dataflow:v1b3/WorkItem/streamingComputationTask": streaming_computation_task +"/dataflow:v1b3/WorkItem/streamingConfigTask": streaming_config_task +"/dataflow:v1b3/WorkItem/reportStatusInterval": report_status_interval +"/dataflow:v1b3/WorkItem/leaseExpireTime": lease_expire_time +"/dataflow:v1b3/WorkItem/configuration": configuration +"/dataflow:v1b3/WorkItem/initialReportIndex": initial_report_index +"/dataflow:v1b3/MapTask": map_task +"/dataflow:v1b3/MapTask/instructions": instructions +"/dataflow:v1b3/MapTask/instructions/instruction": instruction +"/dataflow:v1b3/MapTask/systemName": system_name +"/dataflow:v1b3/MapTask/stageName": stage_name +"/dataflow:v1b3/ParallelInstruction": parallel_instruction +"/dataflow:v1b3/ParallelInstruction/systemName": system_name +"/dataflow:v1b3/ParallelInstruction/name": name +"/dataflow:v1b3/ParallelInstruction/originalName": original_name +"/dataflow:v1b3/ParallelInstruction/read": read +"/dataflow:v1b3/ParallelInstruction/write": write +"/dataflow:v1b3/ParallelInstruction/parDo": par_do +"/dataflow:v1b3/ParallelInstruction/partialGroupByKey": partial_group_by_key +"/dataflow:v1b3/ParallelInstruction/flatten": flatten +"/dataflow:v1b3/ParallelInstruction/outputs": outputs +"/dataflow:v1b3/ParallelInstruction/outputs/output": output +"/dataflow:v1b3/ReadInstruction": read_instruction +"/dataflow:v1b3/ReadInstruction/source": source +"/dataflow:v1b3/WriteInstruction": write_instruction +"/dataflow:v1b3/WriteInstruction/input": input +"/dataflow:v1b3/WriteInstruction/sink": sink +"/dataflow:v1b3/InstructionInput": instruction_input +"/dataflow:v1b3/InstructionInput/producerInstructionIndex": producer_instruction_index +"/dataflow:v1b3/InstructionInput/outputNum": output_num +"/dataflow:v1b3/Sink": sink +"/dataflow:v1b3/Sink/spec": spec +"/dataflow:v1b3/Sink/spec/spec": spec +"/dataflow:v1b3/Sink/codec": codec +"/dataflow:v1b3/Sink/codec/codec": codec +"/dataflow:v1b3/ParDoInstruction": par_do_instruction +"/dataflow:v1b3/ParDoInstruction/input": input +"/dataflow:v1b3/ParDoInstruction/sideInputs": side_inputs +"/dataflow:v1b3/ParDoInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/ParDoInstruction/userFn": user_fn +"/dataflow:v1b3/ParDoInstruction/userFn/user_fn": user_fn +"/dataflow:v1b3/ParDoInstruction/numOutputs": num_outputs +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos": multi_output_infos +"/dataflow:v1b3/ParDoInstruction/multiOutputInfos/multi_output_info": multi_output_info +"/dataflow:v1b3/SideInputInfo": side_input_info +"/dataflow:v1b3/SideInputInfo/sources": sources +"/dataflow:v1b3/SideInputInfo/sources/source": source +"/dataflow:v1b3/SideInputInfo/kind": kind +"/dataflow:v1b3/SideInputInfo/kind/kind": kind +"/dataflow:v1b3/SideInputInfo/tag": tag +"/dataflow:v1b3/MultiOutputInfo": multi_output_info +"/dataflow:v1b3/MultiOutputInfo/tag": tag +"/dataflow:v1b3/PartialGroupByKeyInstruction": partial_group_by_key_instruction +"/dataflow:v1b3/PartialGroupByKeyInstruction/input": input +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/inputElementCodec/input_element_codec": input_element_codec +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/valueCombiningFn/value_combining_fn": value_combining_fn +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs": side_inputs +"/dataflow:v1b3/PartialGroupByKeyInstruction/sideInputs/side_input": side_input +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesStepName": original_combine_values_step_name +"/dataflow:v1b3/PartialGroupByKeyInstruction/originalCombineValuesInputStoreName": original_combine_values_input_store_name +"/dataflow:v1b3/FlattenInstruction": flatten_instruction +"/dataflow:v1b3/FlattenInstruction/inputs": inputs +"/dataflow:v1b3/FlattenInstruction/inputs/input": input +"/dataflow:v1b3/InstructionOutput": instruction_output +"/dataflow:v1b3/InstructionOutput/name": name +"/dataflow:v1b3/InstructionOutput/systemName": system_name +"/dataflow:v1b3/InstructionOutput/originalName": original_name +"/dataflow:v1b3/InstructionOutput/codec": codec +"/dataflow:v1b3/InstructionOutput/codec/codec": codec +"/dataflow:v1b3/InstructionOutput/onlyCountKeyBytes": only_count_key_bytes +"/dataflow:v1b3/InstructionOutput/onlyCountValueBytes": only_count_value_bytes +"/dataflow:v1b3/SeqMapTask": seq_map_task +"/dataflow:v1b3/SeqMapTask/inputs": inputs +"/dataflow:v1b3/SeqMapTask/inputs/input": input +"/dataflow:v1b3/SeqMapTask/userFn": user_fn +"/dataflow:v1b3/SeqMapTask/userFn/user_fn": user_fn +"/dataflow:v1b3/SeqMapTask/outputInfos": output_infos +"/dataflow:v1b3/SeqMapTask/outputInfos/output_info": output_info +"/dataflow:v1b3/SeqMapTask/name": name +"/dataflow:v1b3/SeqMapTask/systemName": system_name +"/dataflow:v1b3/SeqMapTask/stageName": stage_name +"/dataflow:v1b3/SeqMapTaskOutputInfo": seq_map_task_output_info +"/dataflow:v1b3/SeqMapTaskOutputInfo/tag": tag +"/dataflow:v1b3/SeqMapTaskOutputInfo/sink": sink +"/dataflow:v1b3/ShellTask": shell_task +"/dataflow:v1b3/ShellTask/command": command +"/dataflow:v1b3/ShellTask/exitCode": exit_code +"/dataflow:v1b3/StreamingSetupTask": streaming_setup_task +"/dataflow:v1b3/StreamingSetupTask/receiveWorkPort": receive_work_port +"/dataflow:v1b3/StreamingSetupTask/workerHarnessPort": worker_harness_port +"/dataflow:v1b3/StreamingSetupTask/streamingComputationTopology": streaming_computation_topology +"/dataflow:v1b3/StreamingSetupTask/drain": drain +"/dataflow:v1b3/TopologyConfig": topology_config +"/dataflow:v1b3/TopologyConfig/computations": computations +"/dataflow:v1b3/TopologyConfig/computations/computation": computation +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments": data_disk_assignments +"/dataflow:v1b3/TopologyConfig/dataDiskAssignments/data_disk_assignment": data_disk_assignment +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap": user_stage_to_computation_name_map +"/dataflow:v1b3/TopologyConfig/userStageToComputationNameMap/user_stage_to_computation_name_map": user_stage_to_computation_name_map +"/dataflow:v1b3/TopologyConfig/forwardingKeyBits": forwarding_key_bits +"/dataflow:v1b3/TopologyConfig/persistentStateVersion": persistent_state_version +"/dataflow:v1b3/ComputationTopology": computation_topology +"/dataflow:v1b3/ComputationTopology/systemStageName": system_stage_name +"/dataflow:v1b3/ComputationTopology/computationId": computation_id +"/dataflow:v1b3/ComputationTopology/userStageName": user_stage_name +"/dataflow:v1b3/ComputationTopology/keyRanges": key_ranges +"/dataflow:v1b3/ComputationTopology/keyRanges/key_range": key_range +"/dataflow:v1b3/ComputationTopology/inputs": inputs +"/dataflow:v1b3/ComputationTopology/inputs/input": input +"/dataflow:v1b3/ComputationTopology/outputs": outputs +"/dataflow:v1b3/ComputationTopology/outputs/output": output +"/dataflow:v1b3/ComputationTopology/stateFamilies": state_families +"/dataflow:v1b3/ComputationTopology/stateFamilies/state_family": state_family +"/dataflow:v1b3/KeyRangeLocation": key_range_location +"/dataflow:v1b3/KeyRangeLocation/start": start +"/dataflow:v1b3/KeyRangeLocation/end": end +"/dataflow:v1b3/KeyRangeLocation/deliveryEndpoint": delivery_endpoint +"/dataflow:v1b3/KeyRangeLocation/persistentDirectory": persistent_directory +"/dataflow:v1b3/KeyRangeLocation/dataDisk": data_disk +"/dataflow:v1b3/StreamLocation": stream_location +"/dataflow:v1b3/StreamLocation/streamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamLocation/pubsubLocation": pubsub_location +"/dataflow:v1b3/StreamLocation/sideInputLocation": side_input_location +"/dataflow:v1b3/StreamLocation/customSourceLocation": custom_source_location +"/dataflow:v1b3/StreamingStageLocation": streaming_stage_location +"/dataflow:v1b3/StreamingStageLocation/streamId": stream_id +"/dataflow:v1b3/PubsubLocation": pubsub_location +"/dataflow:v1b3/PubsubLocation/topic": topic +"/dataflow:v1b3/PubsubLocation/subscription": subscription +"/dataflow:v1b3/PubsubLocation/timestampLabel": timestamp_label +"/dataflow:v1b3/PubsubLocation/idLabel": id_label +"/dataflow:v1b3/PubsubLocation/dropLateData": drop_late_data +"/dataflow:v1b3/PubsubLocation/trackingSubscription": tracking_subscription +"/dataflow:v1b3/PubsubLocation/withAttributes": with_attributes +"/dataflow:v1b3/StreamingSideInputLocation": streaming_side_input_location +"/dataflow:v1b3/StreamingSideInputLocation/tag": tag +"/dataflow:v1b3/StreamingSideInputLocation/stateFamily": state_family +"/dataflow:v1b3/CustomSourceLocation": custom_source_location +"/dataflow:v1b3/CustomSourceLocation/stateful": stateful +"/dataflow:v1b3/StateFamilyConfig": state_family_config +"/dataflow:v1b3/StateFamilyConfig/stateFamily": state_family +"/dataflow:v1b3/StateFamilyConfig/isRead": is_read +"/dataflow:v1b3/DataDiskAssignment": data_disk_assignment +"/dataflow:v1b3/DataDiskAssignment/vmInstance": vm_instance +"/dataflow:v1b3/DataDiskAssignment/dataDisks": data_disks +"/dataflow:v1b3/DataDiskAssignment/dataDisks/data_disk": data_disk +"/dataflow:v1b3/SourceOperationRequest": source_operation_request +"/dataflow:v1b3/SourceOperationRequest/split": split +"/dataflow:v1b3/SourceOperationRequest/getMetadata": get_metadata +"/dataflow:v1b3/SourceSplitRequest": source_split_request +"/dataflow:v1b3/SourceSplitRequest/source": source +"/dataflow:v1b3/SourceSplitRequest/options": options +"/dataflow:v1b3/SourceSplitOptions": source_split_options +"/dataflow:v1b3/SourceSplitOptions/desiredBundleSizeBytes": desired_bundle_size_bytes +"/dataflow:v1b3/SourceSplitOptions/desiredShardSizeBytes": desired_shard_size_bytes +"/dataflow:v1b3/SourceGetMetadataRequest": source_get_metadata_request +"/dataflow:v1b3/SourceGetMetadataRequest/source": source +"/dataflow:v1b3/StreamingComputationTask": streaming_computation_task +"/dataflow:v1b3/StreamingComputationTask/taskType": task_type +"/dataflow:v1b3/StreamingComputationTask/dataDisks": data_disks +"/dataflow:v1b3/StreamingComputationTask/dataDisks/data_disk": data_disk +"/dataflow:v1b3/StreamingComputationTask/computationRanges": computation_ranges +"/dataflow:v1b3/StreamingComputationTask/computationRanges/computation_range": computation_range +"/dataflow:v1b3/MountedDataDisk": mounted_data_disk +"/dataflow:v1b3/MountedDataDisk/dataDisk": data_disk +"/dataflow:v1b3/StreamingComputationRanges": streaming_computation_ranges +"/dataflow:v1b3/StreamingComputationRanges/computationId": computation_id +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments": range_assignments +"/dataflow:v1b3/StreamingComputationRanges/rangeAssignments/range_assignment": range_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment": key_range_data_disk_assignment +"/dataflow:v1b3/KeyRangeDataDiskAssignment/start": start +"/dataflow:v1b3/KeyRangeDataDiskAssignment/end": end +"/dataflow:v1b3/KeyRangeDataDiskAssignment/dataDisk": data_disk +"/dataflow:v1b3/StreamingConfigTask": streaming_config_task +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs": streaming_computation_configs +"/dataflow:v1b3/StreamingConfigTask/streamingComputationConfigs/streaming_computation_config": streaming_computation_config +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingConfigTask/userStepToStateFamilyNameMap/user_step_to_state_family_name_map": user_step_to_state_family_name_map +"/dataflow:v1b3/StreamingComputationConfig": streaming_computation_config +"/dataflow:v1b3/StreamingComputationConfig/computationId": computation_id +"/dataflow:v1b3/StreamingComputationConfig/systemName": system_name +"/dataflow:v1b3/StreamingComputationConfig/stageName": stage_name +"/dataflow:v1b3/StreamingComputationConfig/instructions": instructions +"/dataflow:v1b3/StreamingComputationConfig/instructions/instruction": instruction +"/dataflow:v1b3/SendWorkerMessagesRequest": send_worker_messages_request +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages": worker_messages +"/dataflow:v1b3/SendWorkerMessagesRequest/workerMessages/worker_message": worker_message +"/dataflow:v1b3/WorkerMessage": worker_message +"/dataflow:v1b3/WorkerMessage/labels": labels +"/dataflow:v1b3/WorkerMessage/labels/label": label +"/dataflow:v1b3/WorkerMessage/time": time +"/dataflow:v1b3/WorkerMessage/workerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerMessage/workerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessage/workerMetrics": worker_metrics +"/dataflow:v1b3/WorkerHealthReport": worker_health_report +"/dataflow:v1b3/WorkerHealthReport/vmIsHealthy": vm_is_healthy +"/dataflow:v1b3/WorkerHealthReport/vmStartupTime": vm_startup_time +"/dataflow:v1b3/WorkerHealthReport/reportInterval": report_interval +"/dataflow:v1b3/WorkerHealthReport/pods": pods +"/dataflow:v1b3/WorkerHealthReport/pods/pod": pod +"/dataflow:v1b3/WorkerHealthReport/pods/pod/pod": pod +"/dataflow:v1b3/WorkerMessageCode": worker_message_code +"/dataflow:v1b3/WorkerMessageCode/code": code +"/dataflow:v1b3/WorkerMessageCode/parameters": parameters +"/dataflow:v1b3/WorkerMessageCode/parameters/parameter": parameter +"/dataflow:v1b3/ResourceUtilizationReport": resource_utilization_report +"/dataflow:v1b3/ResourceUtilizationReport/metrics": metrics +"/dataflow:v1b3/ResourceUtilizationReport/metrics/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metrics/metric/metric": metric +"/dataflow:v1b3/SendWorkerMessagesResponse": send_worker_messages_response +"/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses": worker_message_responses +"/dataflow:v1b3/SendWorkerMessagesResponse/workerMessageResponses/worker_message_response": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse": worker_message_response +"/dataflow:v1b3/WorkerMessageResponse/workerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerMessageResponse/workerMetricsResponse": worker_metrics_response +"/dataflow:v1b3/WorkerHealthReportResponse": worker_health_report_response +"/dataflow:v1b3/WorkerHealthReportResponse/reportInterval": report_interval +"/dataflow:v1b3/ResourceUtilizationReportResponse": resource_utilization_report_response "/dataproc:v1/fields": fields "/dataproc:v1/key": key "/dataproc:v1/quotaUser": quota_user @@ -22600,6 +24375,7 @@ "/dataproc:v1/dataproc.projects.regions.clusters.get/clusterName": cluster_name "/dataproc:v1/dataproc.projects.regions.clusters.list/projectId": project_id "/dataproc:v1/dataproc.projects.regions.clusters.list/region": region +"/dataproc:v1/dataproc.projects.regions.clusters.list/filter": filter "/dataproc:v1/dataproc.projects.regions.clusters.list/pageSize": page_size "/dataproc:v1/dataproc.projects.regions.clusters.list/pageToken": page_token "/dataproc:v1/dataproc.projects.regions.clusters.diagnose": diagnose_cluster @@ -22618,6 +24394,7 @@ "/dataproc:v1/dataproc.projects.regions.jobs.list/pageToken": page_token "/dataproc:v1/dataproc.projects.regions.jobs.list/clusterName": cluster_name "/dataproc:v1/dataproc.projects.regions.jobs.list/jobStateMatcher": job_state_matcher +"/dataproc:v1/dataproc.projects.regions.jobs.list/filter": filter "/dataproc:v1/dataproc.projects.regions.jobs.cancel": cancel_job "/dataproc:v1/dataproc.projects.regions.jobs.cancel/projectId": project_id "/dataproc:v1/dataproc.projects.regions.jobs.cancel/region": region @@ -22625,21 +24402,24 @@ "/dataproc:v1/dataproc.projects.regions.jobs.delete/projectId": project_id "/dataproc:v1/dataproc.projects.regions.jobs.delete/region": region "/dataproc:v1/dataproc.projects.regions.jobs.delete/jobId": job_id -"/dataproc:v1/dataproc.projects.regions.operations.get/name": name "/dataproc:v1/dataproc.projects.regions.operations.list/name": name "/dataproc:v1/dataproc.projects.regions.operations.list/filter": filter "/dataproc:v1/dataproc.projects.regions.operations.list/pageSize": page_size "/dataproc:v1/dataproc.projects.regions.operations.list/pageToken": page_token -"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name +"/dataproc:v1/dataproc.projects.regions.operations.get/name": name "/dataproc:v1/dataproc.projects.regions.operations.delete/name": name +"/dataproc:v1/dataproc.projects.regions.operations.cancel/name": name "/dataproc:v1/Cluster": cluster "/dataproc:v1/Cluster/projectId": project_id "/dataproc:v1/Cluster/clusterName": cluster_name "/dataproc:v1/Cluster/config": config +"/dataproc:v1/Cluster/labels": labels +"/dataproc:v1/Cluster/labels/label": label "/dataproc:v1/Cluster/status": status "/dataproc:v1/Cluster/statusHistory": status_history "/dataproc:v1/Cluster/statusHistory/status_history": status_history "/dataproc:v1/Cluster/clusterUuid": cluster_uuid +"/dataproc:v1/Cluster/metrics": metrics "/dataproc:v1/ClusterConfig": cluster_config "/dataproc:v1/ClusterConfig/configBucket": config_bucket "/dataproc:v1/ClusterConfig/gceClusterConfig": gce_cluster_config @@ -22653,6 +24433,7 @@ "/dataproc:v1/GceClusterConfig/zoneUri": zone_uri "/dataproc:v1/GceClusterConfig/networkUri": network_uri "/dataproc:v1/GceClusterConfig/subnetworkUri": subnetwork_uri +"/dataproc:v1/GceClusterConfig/internalIpOnly": internal_ip_only "/dataproc:v1/GceClusterConfig/serviceAccountScopes": service_account_scopes "/dataproc:v1/GceClusterConfig/serviceAccountScopes/service_account_scope": service_account_scope "/dataproc:v1/GceClusterConfig/tags": tags @@ -22685,6 +24466,11 @@ "/dataproc:v1/ClusterStatus/state": state "/dataproc:v1/ClusterStatus/detail": detail "/dataproc:v1/ClusterStatus/stateStartTime": state_start_time +"/dataproc:v1/ClusterMetrics": cluster_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics": hdfs_metrics +"/dataproc:v1/ClusterMetrics/hdfsMetrics/hdfs_metric": hdfs_metric +"/dataproc:v1/ClusterMetrics/yarnMetrics": yarn_metrics +"/dataproc:v1/ClusterMetrics/yarnMetrics/yarn_metric": yarn_metric "/dataproc:v1/Operation": operation "/dataproc:v1/Operation/name": name "/dataproc:v1/Operation/metadata": metadata @@ -22718,8 +24504,12 @@ "/dataproc:v1/Job/status": status "/dataproc:v1/Job/statusHistory": status_history "/dataproc:v1/Job/statusHistory/status_history": status_history +"/dataproc:v1/Job/yarnApplications": yarn_applications +"/dataproc:v1/Job/yarnApplications/yarn_application": yarn_application "/dataproc:v1/Job/driverOutputResourceUri": driver_output_resource_uri "/dataproc:v1/Job/driverControlFilesUri": driver_control_files_uri +"/dataproc:v1/Job/labels": labels +"/dataproc:v1/Job/labels/label": label "/dataproc:v1/JobReference": job_reference "/dataproc:v1/JobReference/projectId": project_id "/dataproc:v1/JobReference/jobId": job_id @@ -22810,6 +24600,11 @@ "/dataproc:v1/JobStatus/state": state "/dataproc:v1/JobStatus/details": details "/dataproc:v1/JobStatus/stateStartTime": state_start_time +"/dataproc:v1/YarnApplication": yarn_application +"/dataproc:v1/YarnApplication/name": name +"/dataproc:v1/YarnApplication/state": state +"/dataproc:v1/YarnApplication/progress": progress +"/dataproc:v1/YarnApplication/trackingUrl": tracking_url "/dataproc:v1/ListJobsResponse": list_jobs_response "/dataproc:v1/ListJobsResponse/jobs": jobs "/dataproc:v1/ListJobsResponse/jobs/job": job @@ -22830,6 +24625,8 @@ "/dataproc:v1/ClusterOperationMetadata/statusHistory/status_history": status_history "/dataproc:v1/ClusterOperationMetadata/operationType": operation_type "/dataproc:v1/ClusterOperationMetadata/description": description +"/dataproc:v1/ClusterOperationMetadata/labels": labels +"/dataproc:v1/ClusterOperationMetadata/labels/label": label "/dataproc:v1/ClusterOperationStatus": cluster_operation_status "/dataproc:v1/ClusterOperationStatus/state": state "/dataproc:v1/ClusterOperationStatus/innerState": inner_state @@ -22896,13 +24693,13 @@ "/genomics:v1/genomics.datasets.getIamPolicy/resource": resource "/genomics:v1/genomics.datasets.testIamPermissions": test_dataset_iam_permissions "/genomics:v1/genomics.datasets.testIamPermissions/resource": resource -"/genomics:v1/genomics.operations.get": get_operation -"/genomics:v1/genomics.operations.get/name": name "/genomics:v1/genomics.operations.list": list_operations "/genomics:v1/genomics.operations.list/name": name "/genomics:v1/genomics.operations.list/filter": filter "/genomics:v1/genomics.operations.list/pageSize": page_size "/genomics:v1/genomics.operations.list/pageToken": page_token +"/genomics:v1/genomics.operations.get": get_operation +"/genomics:v1/genomics.operations.get/name": name "/genomics:v1/genomics.operations.cancel": cancel_operation "/genomics:v1/genomics.operations.cancel/name": name "/genomics:v1/genomics.readgroupsets.export/readGroupSetId": read_group_set_id @@ -23080,6 +24877,10 @@ "/genomics:v1/TestIamPermissionsResponse": test_iam_permissions_response "/genomics:v1/TestIamPermissionsResponse/permissions": permissions "/genomics:v1/TestIamPermissionsResponse/permissions/permission": permission +"/genomics:v1/ListOperationsResponse": list_operations_response +"/genomics:v1/ListOperationsResponse/operations": operations +"/genomics:v1/ListOperationsResponse/operations/operation": operation +"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token "/genomics:v1/Operation": operation "/genomics:v1/Operation/name": name "/genomics:v1/Operation/metadata": metadata @@ -23088,10 +24889,6 @@ "/genomics:v1/Operation/error": error "/genomics:v1/Operation/response": response "/genomics:v1/Operation/response/response": response -"/genomics:v1/ListOperationsResponse": list_operations_response -"/genomics:v1/ListOperationsResponse/operations": operations -"/genomics:v1/ListOperationsResponse/operations/operation": operation -"/genomics:v1/ListOperationsResponse/nextPageToken": next_page_token "/genomics:v1/CancelOperationRequest": cancel_operation_request "/genomics:v1/ImportReadGroupSetsRequest": import_read_group_sets_request "/genomics:v1/ImportReadGroupSetsRequest/datasetId": dataset_id @@ -23418,6 +25215,8 @@ "/genomics:v1/OperationMetadata/clientId": client_id "/genomics:v1/OperationMetadata/runtimeMetadata": runtime_metadata "/genomics:v1/OperationMetadata/runtimeMetadata/runtime_metadatum": runtime_metadatum +"/genomics:v1/OperationMetadata/labels": labels +"/genomics:v1/OperationMetadata/labels/label": label "/genomics:v1/OperationEvent": operation_event "/genomics:v1/OperationEvent/startTime": start_time "/genomics:v1/OperationEvent/endTime": end_time @@ -23458,10 +25257,12 @@ "/iam:v1/iam.projects.serviceAccounts.keys.list/keyTypes": key_types "/iam:v1/iam.projects.serviceAccounts.keys.get": get_project_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.get/name": name +"/iam:v1/iam.projects.serviceAccounts.keys.get/publicKeyType": public_key_type "/iam:v1/iam.projects.serviceAccounts.keys.create": create_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.create/name": name "/iam:v1/iam.projects.serviceAccounts.keys.delete": delete_project_service_account_key "/iam:v1/iam.projects.serviceAccounts.keys.delete/name": name +"/iam:v1/iam.roles.queryGrantableRoles": query_grantable_roles "/iam:v1/ListServiceAccountsResponse": list_service_accounts_response "/iam:v1/ListServiceAccountsResponse/accounts": accounts "/iam:v1/ListServiceAccountsResponse/accounts/account": account @@ -23484,11 +25285,14 @@ "/iam:v1/ServiceAccountKey": service_account_key "/iam:v1/ServiceAccountKey/name": name "/iam:v1/ServiceAccountKey/privateKeyType": private_key_type +"/iam:v1/ServiceAccountKey/keyAlgorithm": key_algorithm "/iam:v1/ServiceAccountKey/privateKeyData": private_key_data +"/iam:v1/ServiceAccountKey/publicKeyData": public_key_data "/iam:v1/ServiceAccountKey/validAfterTime": valid_after_time "/iam:v1/ServiceAccountKey/validBeforeTime": valid_before_time "/iam:v1/CreateServiceAccountKeyRequest": create_service_account_key_request "/iam:v1/CreateServiceAccountKeyRequest/privateKeyType": private_key_type +"/iam:v1/CreateServiceAccountKeyRequest/keyAlgorithm": key_algorithm "/iam:v1/SignBlobRequest": sign_blob_request "/iam:v1/SignBlobRequest/bytesToSign": bytes_to_sign "/iam:v1/SignBlobResponse": sign_blob_response @@ -23498,43 +25302,11 @@ "/iam:v1/Policy/version": version "/iam:v1/Policy/bindings": bindings "/iam:v1/Policy/bindings/binding": binding -"/iam:v1/Policy/rules": rules -"/iam:v1/Policy/rules/rule": rule "/iam:v1/Policy/etag": etag "/iam:v1/Binding": binding "/iam:v1/Binding/role": role "/iam:v1/Binding/members": members "/iam:v1/Binding/members/member": member -"/iam:v1/Rule": rule -"/iam:v1/Rule/description": description -"/iam:v1/Rule/permissions": permissions -"/iam:v1/Rule/permissions/permission": permission -"/iam:v1/Rule/action": action -"/iam:v1/Rule/in": in -"/iam:v1/Rule/in/in": in -"/iam:v1/Rule/notIn": not_in -"/iam:v1/Rule/notIn/not_in": not_in -"/iam:v1/Rule/conditions": conditions -"/iam:v1/Rule/conditions/condition": condition -"/iam:v1/Rule/logConfig": log_config -"/iam:v1/Rule/logConfig/log_config": log_config -"/iam:v1/Condition": condition -"/iam:v1/Condition/iam": iam -"/iam:v1/Condition/sys": sys -"/iam:v1/Condition/svc": svc -"/iam:v1/Condition/op": op -"/iam:v1/Condition/value": value -"/iam:v1/Condition/values": values -"/iam:v1/Condition/values/value": value -"/iam:v1/LogConfig": log_config -"/iam:v1/LogConfig/counter": counter -"/iam:v1/LogConfig/dataAccess": data_access -"/iam:v1/LogConfig/cloudAudit": cloud_audit -"/iam:v1/CounterOptions": counter_options -"/iam:v1/CounterOptions/metric": metric -"/iam:v1/CounterOptions/field": field -"/iam:v1/DataAccessOptions": data_access_options -"/iam:v1/CloudAuditOptions": cloud_audit_options "/iam:v1/SetIamPolicyRequest": set_iam_policy_request "/iam:v1/SetIamPolicyRequest/policy": policy "/iam:v1/TestIamPermissionsRequest": test_iam_permissions_request @@ -23543,6 +25315,24 @@ "/iam:v1/TestIamPermissionsResponse": test_iam_permissions_response "/iam:v1/TestIamPermissionsResponse/permissions": permissions "/iam:v1/TestIamPermissionsResponse/permissions/permission": permission +"/iam:v1/QueryGrantableRolesRequest": query_grantable_roles_request +"/iam:v1/QueryGrantableRolesRequest/fullResourceName": full_resource_name +"/iam:v1/QueryGrantableRolesResponse": query_grantable_roles_response +"/iam:v1/QueryGrantableRolesResponse/roles": roles +"/iam:v1/QueryGrantableRolesResponse/roles/role": role +"/iam:v1/Role": role +"/iam:v1/Role/name": name +"/iam:v1/Role/title": title +"/iam:v1/Role/description": description +"/iam:v1/AuditData": audit_data +"/iam:v1/AuditData/policyDelta": policy_delta +"/iam:v1/PolicyDelta": policy_delta +"/iam:v1/PolicyDelta/bindingDeltas": binding_deltas +"/iam:v1/PolicyDelta/bindingDeltas/binding_delta": binding_delta +"/iam:v1/BindingDelta": binding_delta +"/iam:v1/BindingDelta/action": action +"/iam:v1/BindingDelta/role": role +"/iam:v1/BindingDelta/member": member "/kgsearch:v1/fields": fields "/kgsearch:v1/key": key "/kgsearch:v1/quotaUser": quota_user @@ -23559,185 +25349,6 @@ "/kgsearch:v1/SearchResponse/type": type "/kgsearch:v1/SearchResponse/itemListElement": item_list_element "/kgsearch:v1/SearchResponse/itemListElement/item_list_element": item_list_element -"/logging:v2beta1/fields": fields -"/logging:v2beta1/key": key -"/logging:v2beta1/quotaUser": quota_user -"/logging:v2beta1/logging.projects.logs.delete/logName": log_name -"/logging:v2beta1/logging.projects.sinks.list": list_project_sinks -"/logging:v2beta1/logging.projects.sinks.list/projectName": project_name -"/logging:v2beta1/logging.projects.sinks.list/pageToken": page_token -"/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size -"/logging:v2beta1/logging.projects.sinks.get": get_project_sink -"/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name -"/logging:v2beta1/logging.projects.sinks.create": create_project_sink -"/logging:v2beta1/logging.projects.sinks.create/projectName": project_name -"/logging:v2beta1/logging.projects.sinks.update": update_project_sink -"/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name -"/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink -"/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name -"/logging:v2beta1/logging.projects.metrics.list": list_project_metrics -"/logging:v2beta1/logging.projects.metrics.list/projectName": project_name -"/logging:v2beta1/logging.projects.metrics.list/pageToken": page_token -"/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size -"/logging:v2beta1/logging.projects.metrics.get": get_project_metric -"/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name -"/logging:v2beta1/logging.projects.metrics.create": create_project_metric -"/logging:v2beta1/logging.projects.metrics.create/projectName": project_name -"/logging:v2beta1/logging.projects.metrics.update": update_project_metric -"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name -"/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric -"/logging:v2beta1/logging.projects.metrics.delete/metricName": metric_name -"/logging:v2beta1/logging.entries.write": write_entry_log_entries -"/logging:v2beta1/logging.entries.list": list_entry_log_entries -"/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors -"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size -"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token -"/logging:v2beta1/Empty": empty -"/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request -"/logging:v2beta1/WriteLogEntriesRequest/logName": log_name -"/logging:v2beta1/WriteLogEntriesRequest/resource": resource -"/logging:v2beta1/WriteLogEntriesRequest/labels": labels -"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label -"/logging:v2beta1/WriteLogEntriesRequest/entries": entries -"/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry -"/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success -"/logging:v2beta1/MonitoredResource": monitored_resource -"/logging:v2beta1/MonitoredResource/type": type -"/logging:v2beta1/MonitoredResource/labels": labels -"/logging:v2beta1/MonitoredResource/labels/label": label -"/logging:v2beta1/LogEntry": log_entry -"/logging:v2beta1/LogEntry/logName": log_name -"/logging:v2beta1/LogEntry/resource": resource -"/logging:v2beta1/LogEntry/protoPayload": proto_payload -"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload -"/logging:v2beta1/LogEntry/textPayload": text_payload -"/logging:v2beta1/LogEntry/jsonPayload": json_payload -"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload -"/logging:v2beta1/LogEntry/timestamp": timestamp -"/logging:v2beta1/LogEntry/severity": severity -"/logging:v2beta1/LogEntry/insertId": insert_id -"/logging:v2beta1/LogEntry/httpRequest": http_request -"/logging:v2beta1/LogEntry/labels": labels -"/logging:v2beta1/LogEntry/labels/label": label -"/logging:v2beta1/LogEntry/operation": operation -"/logging:v2beta1/HttpRequest": http_request -"/logging:v2beta1/HttpRequest/requestMethod": request_method -"/logging:v2beta1/HttpRequest/requestUrl": request_url -"/logging:v2beta1/HttpRequest/requestSize": request_size -"/logging:v2beta1/HttpRequest/status": status -"/logging:v2beta1/HttpRequest/responseSize": response_size -"/logging:v2beta1/HttpRequest/userAgent": user_agent -"/logging:v2beta1/HttpRequest/remoteIp": remote_ip -"/logging:v2beta1/HttpRequest/referer": referer -"/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup -"/logging:v2beta1/HttpRequest/cacheHit": cache_hit -"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server -"/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes -"/logging:v2beta1/LogEntryOperation": log_entry_operation -"/logging:v2beta1/LogEntryOperation/id": id -"/logging:v2beta1/LogEntryOperation/producer": producer -"/logging:v2beta1/LogEntryOperation/first": first -"/logging:v2beta1/LogEntryOperation/last": last -"/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response -"/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request -"/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids -"/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id -"/logging:v2beta1/ListLogEntriesRequest/filter": filter -"/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by -"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size -"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token -"/logging:v2beta1/ListLogEntriesRequest/partialSuccess": partial_success -"/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response -"/logging:v2beta1/ListLogEntriesResponse/entries": entries -"/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry -"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token -"/logging:v2beta1/ListLogEntriesResponse/projectIdErrors": project_id_errors -"/logging:v2beta1/ListLogEntriesResponse/projectIdErrors/project_id_error": project_id_error -"/logging:v2beta1/Status": status -"/logging:v2beta1/Status/code": code -"/logging:v2beta1/Status/message": message -"/logging:v2beta1/Status/details": details -"/logging:v2beta1/Status/details/detail": detail -"/logging:v2beta1/Status/details/detail/detail": detail -"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response -"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors -"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor -"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token -"/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor -"/logging:v2beta1/MonitoredResourceDescriptor/name": name -"/logging:v2beta1/MonitoredResourceDescriptor/type": type -"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name -"/logging:v2beta1/MonitoredResourceDescriptor/description": description -"/logging:v2beta1/MonitoredResourceDescriptor/labels": labels -"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label -"/logging:v2beta1/LabelDescriptor": label_descriptor -"/logging:v2beta1/LabelDescriptor/key": key -"/logging:v2beta1/LabelDescriptor/valueType": value_type -"/logging:v2beta1/LabelDescriptor/description": description -"/logging:v2beta1/ListSinksResponse": list_sinks_response -"/logging:v2beta1/ListSinksResponse/sinks": sinks -"/logging:v2beta1/ListSinksResponse/sinks/sink": sink -"/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token -"/logging:v2beta1/LogSink": log_sink -"/logging:v2beta1/LogSink/name": name -"/logging:v2beta1/LogSink/destination": destination -"/logging:v2beta1/LogSink/filter": filter -"/logging:v2beta1/LogSink/outputVersionFormat": output_version_format -"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response -"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics -"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric -"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token -"/logging:v2beta1/LogMetric": log_metric -"/logging:v2beta1/LogMetric/name": name -"/logging:v2beta1/LogMetric/description": description -"/logging:v2beta1/LogMetric/filter": filter -"/logging:v2beta1/RequestLog": request_log -"/logging:v2beta1/RequestLog/appId": app_id -"/logging:v2beta1/RequestLog/moduleId": module_id -"/logging:v2beta1/RequestLog/versionId": version_id -"/logging:v2beta1/RequestLog/requestId": request_id -"/logging:v2beta1/RequestLog/ip": ip -"/logging:v2beta1/RequestLog/startTime": start_time -"/logging:v2beta1/RequestLog/endTime": end_time -"/logging:v2beta1/RequestLog/latency": latency -"/logging:v2beta1/RequestLog/megaCycles": mega_cycles -"/logging:v2beta1/RequestLog/method": method_prop -"/logging:v2beta1/RequestLog/resource": resource -"/logging:v2beta1/RequestLog/httpVersion": http_version -"/logging:v2beta1/RequestLog/status": status -"/logging:v2beta1/RequestLog/responseSize": response_size -"/logging:v2beta1/RequestLog/referrer": referrer -"/logging:v2beta1/RequestLog/userAgent": user_agent -"/logging:v2beta1/RequestLog/nickname": nickname -"/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry -"/logging:v2beta1/RequestLog/host": host -"/logging:v2beta1/RequestLog/cost": cost -"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name -"/logging:v2beta1/RequestLog/taskName": task_name -"/logging:v2beta1/RequestLog/wasLoadingRequest": was_loading_request -"/logging:v2beta1/RequestLog/pendingTime": pending_time -"/logging:v2beta1/RequestLog/instanceIndex": instance_index -"/logging:v2beta1/RequestLog/finished": finished -"/logging:v2beta1/RequestLog/first": first -"/logging:v2beta1/RequestLog/instanceId": instance_id -"/logging:v2beta1/RequestLog/line": line -"/logging:v2beta1/RequestLog/line/line": line -"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release -"/logging:v2beta1/RequestLog/traceId": trace_id -"/logging:v2beta1/RequestLog/sourceReference": source_reference -"/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference -"/logging:v2beta1/LogLine": log_line -"/logging:v2beta1/LogLine/time": time -"/logging:v2beta1/LogLine/severity": severity -"/logging:v2beta1/LogLine/logMessage": log_message -"/logging:v2beta1/LogLine/sourceLocation": source_location -"/logging:v2beta1/SourceLocation": source_location -"/logging:v2beta1/SourceLocation/file": file -"/logging:v2beta1/SourceLocation/line": line -"/logging:v2beta1/SourceLocation/functionName": function_name -"/logging:v2beta1/SourceReference": source_reference -"/logging:v2beta1/SourceReference/repository": repository -"/logging:v2beta1/SourceReference/revisionId": revision_id "/partners:v2/fields": fields "/partners:v2/key": key "/partners:v2/quotaUser": quota_user @@ -24291,116 +25902,6 @@ "/proximitybeacon:v1beta1/AttachmentInfo": attachment_info "/proximitybeacon:v1beta1/AttachmentInfo/namespacedType": namespaced_type "/proximitybeacon:v1beta1/AttachmentInfo/data": data -"/pubsub:v1/fields": fields -"/pubsub:v1/key": key -"/pubsub:v1/quotaUser": quota_user -"/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy -"/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy -"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions -"/pubsub:v1/pubsub.projects.topics.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.topics.create/name": name -"/pubsub:v1/pubsub.projects.topics.publish": publish_topic -"/pubsub:v1/pubsub.projects.topics.publish/topic": topic -"/pubsub:v1/pubsub.projects.topics.get/topic": topic -"/pubsub:v1/pubsub.projects.topics.list/project": project -"/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.topics.delete/topic": topic -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy -"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy -"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions -"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource -"/pubsub:v1/pubsub.projects.subscriptions.create/name": name -"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.list/project": project -"/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size -"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token -"/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline -"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription -"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription -"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription -"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config -"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription -"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request -"/pubsub:v1/SetIamPolicyRequest/policy": policy -"/pubsub:v1/Policy": policy -"/pubsub:v1/Policy/version": version -"/pubsub:v1/Policy/bindings": bindings -"/pubsub:v1/Policy/bindings/binding": binding -"/pubsub:v1/Policy/etag": etag -"/pubsub:v1/Binding": binding -"/pubsub:v1/Binding/role": role -"/pubsub:v1/Binding/members": members -"/pubsub:v1/Binding/members/member": member -"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request -"/pubsub:v1/TestIamPermissionsRequest/permissions": permissions -"/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission -"/pubsub:v1/TestIamPermissionsResponse": test_iam_permissions_response -"/pubsub:v1/TestIamPermissionsResponse/permissions": permissions -"/pubsub:v1/TestIamPermissionsResponse/permissions/permission": permission -"/pubsub:v1/Topic": topic -"/pubsub:v1/Topic/name": name -"/pubsub:v1/PublishRequest": publish_request -"/pubsub:v1/PublishRequest/messages": messages -"/pubsub:v1/PublishRequest/messages/message": message -"/pubsub:v1/PubsubMessage/data": data -"/pubsub:v1/PubsubMessage/attributes": attributes -"/pubsub:v1/PubsubMessage/attributes/attribute": attribute -"/pubsub:v1/PubsubMessage/messageId": message_id -"/pubsub:v1/PubsubMessage/publishTime": publish_time -"/pubsub:v1/PublishResponse": publish_response -"/pubsub:v1/PublishResponse/messageIds": message_ids -"/pubsub:v1/PublishResponse/messageIds/message_id": message_id -"/pubsub:v1/ListTopicsResponse": list_topics_response -"/pubsub:v1/ListTopicsResponse/topics": topics -"/pubsub:v1/ListTopicsResponse/topics/topic": topic -"/pubsub:v1/ListTopicsResponse/nextPageToken": next_page_token -"/pubsub:v1/ListTopicSubscriptionsResponse": list_topic_subscriptions_response -"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions": subscriptions -"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions/subscription": subscription -"/pubsub:v1/ListTopicSubscriptionsResponse/nextPageToken": next_page_token -"/pubsub:v1/Empty": empty -"/pubsub:v1/Subscription": subscription -"/pubsub:v1/Subscription/name": name -"/pubsub:v1/Subscription/topic": topic -"/pubsub:v1/Subscription/pushConfig": push_config -"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds -"/pubsub:v1/PushConfig": push_config -"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint -"/pubsub:v1/PushConfig/attributes": attributes -"/pubsub:v1/PushConfig/attributes/attribute": attribute -"/pubsub:v1/ListSubscriptionsResponse": list_subscriptions_response -"/pubsub:v1/ListSubscriptionsResponse/subscriptions": subscriptions -"/pubsub:v1/ListSubscriptionsResponse/subscriptions/subscription": subscription -"/pubsub:v1/ListSubscriptionsResponse/nextPageToken": next_page_token -"/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request -"/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids -"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id -"/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds -"/pubsub:v1/AcknowledgeRequest": acknowledge_request -"/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids -"/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id -"/pubsub:v1/PullRequest": pull_request -"/pubsub:v1/PullRequest/returnImmediately": return_immediately -"/pubsub:v1/PullRequest/maxMessages": max_messages -"/pubsub:v1/PullResponse": pull_response -"/pubsub:v1/PullResponse/receivedMessages": received_messages -"/pubsub:v1/PullResponse/receivedMessages/received_message": received_message -"/pubsub:v1/ReceivedMessage": received_message -"/pubsub:v1/ReceivedMessage/ackId": ack_id -"/pubsub:v1/ReceivedMessage/message": message -"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request -"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config "/script:v1/fields": fields "/script:v1/key": key "/script:v1/quotaUser": quota_user @@ -24587,76 +26088,6 @@ "/storagetransfer:v1/ErrorLogEntry/url": url "/storagetransfer:v1/ErrorLogEntry/errorDetails": error_details "/storagetransfer:v1/ErrorLogEntry/errorDetails/error_detail": error_detail -"/youtubereporting:v1/fields": fields -"/youtubereporting:v1/key": key -"/youtubereporting:v1/quotaUser": quota_user -"/youtubereporting:v1/youtubereporting.media.download": download_medium -"/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name -"/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types -"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token -"/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed -"/youtubereporting:v1/youtubereporting.jobs.create": create_job -"/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.list": list_jobs -"/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token -"/youtubereporting:v1/youtubereporting.jobs.list/includeSystemManaged": include_system_managed -"/youtubereporting:v1/youtubereporting.jobs.get": get_job -"/youtubereporting:v1/youtubereporting.jobs.get/jobId": job_id -"/youtubereporting:v1/youtubereporting.jobs.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.delete": delete_job -"/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id -"/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.reports.list": list_job_reports -"/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id -"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size -"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageToken": page_token -"/youtubereporting:v1/youtubereporting.jobs.reports.list/createdAfter": created_after -"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeAtOrAfter": start_time_at_or_after -"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before -"/youtubereporting:v1/youtubereporting.jobs.reports.get": get_job_report -"/youtubereporting:v1/youtubereporting.jobs.reports.get/jobId": job_id -"/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id -"/youtubereporting:v1/youtubereporting.jobs.reports.get/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubereporting:v1/Media": media -"/youtubereporting:v1/Media/resourceName": resource_name -"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response -"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types -"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type -"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token -"/youtubereporting:v1/ReportType": report_type -"/youtubereporting:v1/ReportType/id": id -"/youtubereporting:v1/ReportType/name": name -"/youtubereporting:v1/ReportType/deprecateTime": deprecate_time -"/youtubereporting:v1/ReportType/systemManaged": system_managed -"/youtubereporting:v1/Job": job -"/youtubereporting:v1/Job/id": id -"/youtubereporting:v1/Job/reportTypeId": report_type_id -"/youtubereporting:v1/Job/name": name -"/youtubereporting:v1/Job/createTime": create_time -"/youtubereporting:v1/Job/expireTime": expire_time -"/youtubereporting:v1/Job/systemManaged": system_managed -"/youtubereporting:v1/ListJobsResponse": list_jobs_response -"/youtubereporting:v1/ListJobsResponse/jobs": jobs -"/youtubereporting:v1/ListJobsResponse/jobs/job": job -"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token -"/youtubereporting:v1/Empty": empty -"/youtubereporting:v1/ListReportsResponse": list_reports_response -"/youtubereporting:v1/ListReportsResponse/reports": reports -"/youtubereporting:v1/ListReportsResponse/reports/report": report -"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token -"/youtubereporting:v1/Report": report -"/youtubereporting:v1/Report/id": id -"/youtubereporting:v1/Report/jobId": job_id -"/youtubereporting:v1/Report/jobExpireTime": job_expire_time -"/youtubereporting:v1/Report/startTime": start_time -"/youtubereporting:v1/Report/endTime": end_time -"/youtubereporting:v1/Report/createTime": create_time -"/youtubereporting:v1/Report/downloadUrl": download_url "/identitytoolkit:v3/fields": fields "/identitytoolkit:v3/key": key "/identitytoolkit:v3/quotaUser": quota_user @@ -24705,6 +26136,8 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/clientId": client_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/context": context "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/continueUri": continue_uri +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/customParameter": custom_parameter +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/customParameter/custom_parameter": custom_parameter "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/hostedDomain": hosted_domain "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/identifier": identifier "/identitytoolkit:v3/IdentitytoolkitRelyingpartyCreateAuthUriRequest/oauthConsumerKey": oauth_consumer_key @@ -24719,6 +26152,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/maxResults": max_results "/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/nextPageToken": next_page_token +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyDownloadAccountRequest/targetProjectId": target_project_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email": email "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetAccountInfoRequest/email/email": email @@ -24730,6 +26164,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains": authorized_domains "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/authorizedDomains/authorized_domain": authorized_domain "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/changeEmailTemplate": change_email_template +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/dynamicLinksDomain": dynamic_links_domain "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/enableAnonymousUser": enable_anonymous_user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig": idp_config "/identitytoolkit:v3/IdentitytoolkitRelyingpartyGetProjectConfigResponse/idpConfig/idp_config": idp_config @@ -24786,17 +26221,23 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignOutUserResponse/localId": local_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaChallenge": captcha_challenge "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/captchaResponse": captcha_response +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/disabled": disabled "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/displayName": display_name "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/email": email +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/emailVerified": email_verified "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/idToken": id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/instanceId": instance_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/password": password +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/photoUrl": photo_url +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/allowOverwrite": allow_overwrite "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/delegatedProjectNumber": delegated_project_number "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/hashAlgorithm": hash_algorithm "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/memoryCost": memory_cost "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/rounds": rounds "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/saltSeparator": salt_separator +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/sanityCheck": sanity_check "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/signerKey": signer_key +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/targetProjectId": target_project_id "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users": users "/identitytoolkit:v3/IdentitytoolkitRelyingpartyUploadAccountRequest/users/user": user "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/delegatedProjectNumber": delegated_project_number @@ -24805,6 +26246,7 @@ "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/pendingIdToken": pending_id_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/postBody": post_body "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/requestUri": request_uri +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnIdpCredential": return_idp_credential "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnRefreshToken": return_refresh_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/returnSecureToken": return_secure_token "/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/sessionId": session_id @@ -24841,6 +26283,8 @@ "/identitytoolkit:v3/ResetPasswordResponse": reset_password_response "/identitytoolkit:v3/ResetPasswordResponse/email": email "/identitytoolkit:v3/ResetPasswordResponse/kind": kind +"/identitytoolkit:v3/ResetPasswordResponse/newEmail": new_email +"/identitytoolkit:v3/ResetPasswordResponse/requestType": request_type "/identitytoolkit:v3/SetAccountInfoResponse": set_account_info_response "/identitytoolkit:v3/SetAccountInfoResponse/displayName": display_name "/identitytoolkit:v3/SetAccountInfoResponse/email": email @@ -24874,6 +26318,7 @@ "/identitytoolkit:v3/UploadAccountResponse/kind": kind "/identitytoolkit:v3/UserInfo": user_info "/identitytoolkit:v3/UserInfo/createdAt": created_at +"/identitytoolkit:v3/UserInfo/customAuth": custom_auth "/identitytoolkit:v3/UserInfo/disabled": disabled "/identitytoolkit:v3/UserInfo/displayName": display_name "/identitytoolkit:v3/UserInfo/email": email @@ -24892,6 +26337,7 @@ "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/providerId": provider_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/rawId": raw_id "/identitytoolkit:v3/UserInfo/providerUserInfo/provider_user_info/screenName": screen_name +"/identitytoolkit:v3/UserInfo/rawPassword": raw_password "/identitytoolkit:v3/UserInfo/salt": salt "/identitytoolkit:v3/UserInfo/screenName": screen_name "/identitytoolkit:v3/UserInfo/validSince": valid_since @@ -24906,6 +26352,7 @@ "/identitytoolkit:v3/VerifyAssertionResponse/email": email "/identitytoolkit:v3/VerifyAssertionResponse/emailRecycled": email_recycled "/identitytoolkit:v3/VerifyAssertionResponse/emailVerified": email_verified +"/identitytoolkit:v3/VerifyAssertionResponse/errorMessage": error_message "/identitytoolkit:v3/VerifyAssertionResponse/expiresIn": expires_in "/identitytoolkit:v3/VerifyAssertionResponse/federatedId": federated_id "/identitytoolkit:v3/VerifyAssertionResponse/firstName": first_name @@ -24929,6 +26376,7 @@ "/identitytoolkit:v3/VerifyAssertionResponse/originalEmail": original_email "/identitytoolkit:v3/VerifyAssertionResponse/photoUrl": photo_url "/identitytoolkit:v3/VerifyAssertionResponse/providerId": provider_id +"/identitytoolkit:v3/VerifyAssertionResponse/rawUserInfo": raw_user_info "/identitytoolkit:v3/VerifyAssertionResponse/refreshToken": refresh_token "/identitytoolkit:v3/VerifyAssertionResponse/screenName": screen_name "/identitytoolkit:v3/VerifyAssertionResponse/timeZone": time_zone @@ -24952,6 +26400,107 @@ "/identitytoolkit:v3/VerifyPasswordResponse/photoUrl": photo_url "/identitytoolkit:v3/VerifyPasswordResponse/refreshToken": refresh_token "/identitytoolkit:v3/VerifyPasswordResponse/registered": registered +"/language:v1beta1/key": key +"/language:v1beta1/quotaUser": quota_user +"/language:v1beta1/fields": fields +"/language:v1beta1/language.documents.analyzeSentiment": analyze_document_sentiment +"/language:v1beta1/language.documents.analyzeSyntax": analyze_document_syntax +"/language:v1beta1/language.documents.annotateText": annotate_document_text +"/language:v1beta1/language.documents.analyzeEntities": analyze_document_entities +"/language:v1beta1/Document": document +"/language:v1beta1/Document/language": language +"/language:v1beta1/Document/gcsContentUri": gcs_content_uri +"/language:v1beta1/Document/type": type +"/language:v1beta1/Document/content": content +"/language:v1beta1/TextSpan": text_span +"/language:v1beta1/TextSpan/beginOffset": begin_offset +"/language:v1beta1/TextSpan/content": content +"/language:v1beta1/Status": status +"/language:v1beta1/Status/code": code +"/language:v1beta1/Status/details": details +"/language:v1beta1/Status/details/detail": detail +"/language:v1beta1/Status/details/detail/detail": detail +"/language:v1beta1/Status/message": message +"/language:v1beta1/AnalyzeEntitiesRequest": analyze_entities_request +"/language:v1beta1/AnalyzeEntitiesRequest/document": document +"/language:v1beta1/AnalyzeEntitiesRequest/encodingType": encoding_type +"/language:v1beta1/EntityMention": entity_mention +"/language:v1beta1/EntityMention/text": text +"/language:v1beta1/EntityMention/type": type +"/language:v1beta1/AnalyzeSentimentRequest": analyze_sentiment_request +"/language:v1beta1/AnalyzeSentimentRequest/document": document +"/language:v1beta1/AnalyzeSentimentRequest/encodingType": encoding_type +"/language:v1beta1/AnalyzeSentimentResponse": analyze_sentiment_response +"/language:v1beta1/AnalyzeSentimentResponse/documentSentiment": document_sentiment +"/language:v1beta1/AnalyzeSentimentResponse/language": language +"/language:v1beta1/AnalyzeSentimentResponse/sentences": sentences +"/language:v1beta1/AnalyzeSentimentResponse/sentences/sentence": sentence +"/language:v1beta1/AnalyzeSyntaxRequest": analyze_syntax_request +"/language:v1beta1/AnalyzeSyntaxRequest/document": document +"/language:v1beta1/AnalyzeSyntaxRequest/encodingType": encoding_type +"/language:v1beta1/DependencyEdge": dependency_edge +"/language:v1beta1/DependencyEdge/headTokenIndex": head_token_index +"/language:v1beta1/DependencyEdge/label": label +"/language:v1beta1/AnalyzeSyntaxResponse": analyze_syntax_response +"/language:v1beta1/AnalyzeSyntaxResponse/language": language +"/language:v1beta1/AnalyzeSyntaxResponse/tokens": tokens +"/language:v1beta1/AnalyzeSyntaxResponse/tokens/token": token +"/language:v1beta1/AnalyzeSyntaxResponse/sentences": sentences +"/language:v1beta1/AnalyzeSyntaxResponse/sentences/sentence": sentence +"/language:v1beta1/AnnotateTextRequest": annotate_text_request +"/language:v1beta1/AnnotateTextRequest/document": document +"/language:v1beta1/AnnotateTextRequest/encodingType": encoding_type +"/language:v1beta1/AnnotateTextRequest/features": features +"/language:v1beta1/Sentence": sentence +"/language:v1beta1/Sentence/text": text +"/language:v1beta1/Sentence/sentiment": sentiment +"/language:v1beta1/Features": features +"/language:v1beta1/Features/extractDocumentSentiment": extract_document_sentiment +"/language:v1beta1/Features/extractEntities": extract_entities +"/language:v1beta1/Features/extractSyntax": extract_syntax +"/language:v1beta1/PartOfSpeech": part_of_speech +"/language:v1beta1/PartOfSpeech/aspect": aspect +"/language:v1beta1/PartOfSpeech/gender": gender +"/language:v1beta1/PartOfSpeech/person": person +"/language:v1beta1/PartOfSpeech/case": case +"/language:v1beta1/PartOfSpeech/form": form +"/language:v1beta1/PartOfSpeech/tense": tense +"/language:v1beta1/PartOfSpeech/proper": proper +"/language:v1beta1/PartOfSpeech/mood": mood +"/language:v1beta1/PartOfSpeech/tag": tag +"/language:v1beta1/PartOfSpeech/number": number +"/language:v1beta1/PartOfSpeech/reciprocity": reciprocity +"/language:v1beta1/PartOfSpeech/voice": voice +"/language:v1beta1/AnnotateTextResponse": annotate_text_response +"/language:v1beta1/AnnotateTextResponse/entities": entities +"/language:v1beta1/AnnotateTextResponse/entities/entity": entity +"/language:v1beta1/AnnotateTextResponse/documentSentiment": document_sentiment +"/language:v1beta1/AnnotateTextResponse/language": language +"/language:v1beta1/AnnotateTextResponse/tokens": tokens +"/language:v1beta1/AnnotateTextResponse/tokens/token": token +"/language:v1beta1/AnnotateTextResponse/sentences": sentences +"/language:v1beta1/AnnotateTextResponse/sentences/sentence": sentence +"/language:v1beta1/Entity": entity +"/language:v1beta1/Entity/metadata": metadata +"/language:v1beta1/Entity/metadata/metadatum": metadatum +"/language:v1beta1/Entity/salience": salience +"/language:v1beta1/Entity/type": type +"/language:v1beta1/Entity/mentions": mentions +"/language:v1beta1/Entity/mentions/mention": mention +"/language:v1beta1/Entity/name": name +"/language:v1beta1/Sentiment": sentiment +"/language:v1beta1/Sentiment/score": score +"/language:v1beta1/Sentiment/polarity": polarity +"/language:v1beta1/Sentiment/magnitude": magnitude +"/language:v1beta1/Token": token +"/language:v1beta1/Token/text": text +"/language:v1beta1/Token/partOfSpeech": part_of_speech +"/language:v1beta1/Token/dependencyEdge": dependency_edge +"/language:v1beta1/Token/lemma": lemma +"/language:v1beta1/AnalyzeEntitiesResponse": analyze_entities_response +"/language:v1beta1/AnalyzeEntitiesResponse/entities": entities +"/language:v1beta1/AnalyzeEntitiesResponse/entities/entity": entity +"/language:v1beta1/AnalyzeEntitiesResponse/language": language "/licensing:v1/fields": fields "/licensing:v1/key": key "/licensing:v1/quotaUser": quota_user @@ -24999,6 +26548,211 @@ "/licensing:v1/LicenseAssignmentList/items/item": item "/licensing:v1/LicenseAssignmentList/kind": kind "/licensing:v1/LicenseAssignmentList/nextPageToken": next_page_token +"/logging:v2beta1/key": key +"/logging:v2beta1/quotaUser": quota_user +"/logging:v2beta1/fields": fields +"/logging:v2beta1/logging.projects.metrics.update": update_project_metric +"/logging:v2beta1/logging.projects.metrics.update/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.get": get_project_metric +"/logging:v2beta1/logging.projects.metrics.get/metricName": metric_name +"/logging:v2beta1/logging.projects.metrics.create": create_project_metric +"/logging:v2beta1/logging.projects.metrics.create/parent": parent +"/logging:v2beta1/logging.projects.metrics.list": list_project_metrics +"/logging:v2beta1/logging.projects.metrics.list/pageSize": page_size +"/logging:v2beta1/logging.projects.metrics.list/parent": parent +"/logging:v2beta1/logging.projects.metrics.list/pageToken": page_token +"/logging:v2beta1/logging.projects.metrics.delete": delete_project_metric +"/logging:v2beta1/logging.projects.metrics.delete/metricName": metric_name +"/logging:v2beta1/logging.projects.logs.list/pageSize": page_size +"/logging:v2beta1/logging.projects.logs.list/parent": parent +"/logging:v2beta1/logging.projects.logs.list/pageToken": page_token +"/logging:v2beta1/logging.projects.logs.delete/logName": log_name +"/logging:v2beta1/logging.projects.sinks.update": update_project_sink +"/logging:v2beta1/logging.projects.sinks.update/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.update/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.sinks.get": get_project_sink +"/logging:v2beta1/logging.projects.sinks.get/sinkName": sink_name +"/logging:v2beta1/logging.projects.sinks.create": create_project_sink +"/logging:v2beta1/logging.projects.sinks.create/uniqueWriterIdentity": unique_writer_identity +"/logging:v2beta1/logging.projects.sinks.create/parent": parent +"/logging:v2beta1/logging.projects.sinks.list": list_project_sinks +"/logging:v2beta1/logging.projects.sinks.list/pageSize": page_size +"/logging:v2beta1/logging.projects.sinks.list/parent": parent +"/logging:v2beta1/logging.projects.sinks.list/pageToken": page_token +"/logging:v2beta1/logging.projects.sinks.delete": delete_project_sink +"/logging:v2beta1/logging.projects.sinks.delete/sinkName": sink_name +"/logging:v2beta1/logging.organizations.logs.list": list_organization_logs +"/logging:v2beta1/logging.organizations.logs.list/pageSize": page_size +"/logging:v2beta1/logging.organizations.logs.list/parent": parent +"/logging:v2beta1/logging.organizations.logs.list/pageToken": page_token +"/logging:v2beta1/logging.organizations.logs.delete": delete_organization_log +"/logging:v2beta1/logging.organizations.logs.delete/logName": log_name +"/logging:v2beta1/logging.entries.write": write_entry_log_entries +"/logging:v2beta1/logging.entries.list": list_entry_log_entries +"/logging:v2beta1/logging.monitoredResourceDescriptors.list": list_monitored_resource_descriptors +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageSize": page_size +"/logging:v2beta1/logging.monitoredResourceDescriptors.list/pageToken": page_token +"/logging:v2beta1/logging.billingAccounts.logs.list": list_billing_account_logs +"/logging:v2beta1/logging.billingAccounts.logs.list/pageSize": page_size +"/logging:v2beta1/logging.billingAccounts.logs.list/parent": parent +"/logging:v2beta1/logging.billingAccounts.logs.list/pageToken": page_token +"/logging:v2beta1/logging.billingAccounts.logs.delete": delete_billing_account_log +"/logging:v2beta1/logging.billingAccounts.logs.delete/logName": log_name +"/logging:v2beta1/ListLogEntriesResponse": list_log_entries_response +"/logging:v2beta1/ListLogEntriesResponse/entries": entries +"/logging:v2beta1/ListLogEntriesResponse/entries/entry": entry +"/logging:v2beta1/ListLogEntriesResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListSinksResponse": list_sinks_response +"/logging:v2beta1/ListSinksResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListSinksResponse/sinks": sinks +"/logging:v2beta1/ListSinksResponse/sinks/sink": sink +"/logging:v2beta1/SourceLocation": source_location +"/logging:v2beta1/SourceLocation/file": file +"/logging:v2beta1/SourceLocation/functionName": function_name +"/logging:v2beta1/SourceLocation/line": line +"/logging:v2beta1/LogSink": log_sink +"/logging:v2beta1/LogSink/destination": destination +"/logging:v2beta1/LogSink/filter": filter +"/logging:v2beta1/LogSink/endTime": end_time +"/logging:v2beta1/LogSink/name": name +"/logging:v2beta1/LogSink/startTime": start_time +"/logging:v2beta1/LogSink/outputVersionFormat": output_version_format +"/logging:v2beta1/LogSink/writerIdentity": writer_identity +"/logging:v2beta1/ListLogsResponse": list_logs_response +"/logging:v2beta1/ListLogsResponse/logNames": log_names +"/logging:v2beta1/ListLogsResponse/logNames/log_name": log_name +"/logging:v2beta1/ListLogsResponse/nextPageToken": next_page_token +"/logging:v2beta1/LogMetric": log_metric +"/logging:v2beta1/LogMetric/description": description +"/logging:v2beta1/LogMetric/filter": filter +"/logging:v2beta1/LogMetric/name": name +"/logging:v2beta1/LogMetric/version": version +"/logging:v2beta1/LogEntry": log_entry +"/logging:v2beta1/LogEntry/textPayload": text_payload +"/logging:v2beta1/LogEntry/httpRequest": http_request +"/logging:v2beta1/LogEntry/sourceLocation": source_location +"/logging:v2beta1/LogEntry/jsonPayload": json_payload +"/logging:v2beta1/LogEntry/jsonPayload/json_payload": json_payload +"/logging:v2beta1/LogEntry/labels": labels +"/logging:v2beta1/LogEntry/labels/label": label +"/logging:v2beta1/LogEntry/trace": trace +"/logging:v2beta1/LogEntry/logName": log_name +"/logging:v2beta1/LogEntry/severity": severity +"/logging:v2beta1/LogEntry/resource": resource +"/logging:v2beta1/LogEntry/protoPayload": proto_payload +"/logging:v2beta1/LogEntry/protoPayload/proto_payload": proto_payload +"/logging:v2beta1/LogEntry/timestamp": timestamp +"/logging:v2beta1/LogEntry/insertId": insert_id +"/logging:v2beta1/LogEntry/operation": operation +"/logging:v2beta1/LogLine": log_line +"/logging:v2beta1/LogLine/time": time +"/logging:v2beta1/LogLine/severity": severity +"/logging:v2beta1/LogLine/sourceLocation": source_location +"/logging:v2beta1/LogLine/logMessage": log_message +"/logging:v2beta1/SourceReference": source_reference +"/logging:v2beta1/SourceReference/repository": repository +"/logging:v2beta1/SourceReference/revisionId": revision_id +"/logging:v2beta1/MonitoredResource": monitored_resource +"/logging:v2beta1/MonitoredResource/labels": labels +"/logging:v2beta1/MonitoredResource/labels/label": label +"/logging:v2beta1/MonitoredResource/type": type +"/logging:v2beta1/WriteLogEntriesRequest": write_log_entries_request +"/logging:v2beta1/WriteLogEntriesRequest/labels": labels +"/logging:v2beta1/WriteLogEntriesRequest/labels/label": label +"/logging:v2beta1/WriteLogEntriesRequest/entries": entries +"/logging:v2beta1/WriteLogEntriesRequest/entries/entry": entry +"/logging:v2beta1/WriteLogEntriesRequest/logName": log_name +"/logging:v2beta1/WriteLogEntriesRequest/partialSuccess": partial_success +"/logging:v2beta1/WriteLogEntriesRequest/resource": resource +"/logging:v2beta1/LabelDescriptor": label_descriptor +"/logging:v2beta1/LabelDescriptor/description": description +"/logging:v2beta1/LabelDescriptor/valueType": value_type +"/logging:v2beta1/LabelDescriptor/key": key +"/logging:v2beta1/ListLogMetricsResponse": list_log_metrics_response +"/logging:v2beta1/ListLogMetricsResponse/metrics": metrics +"/logging:v2beta1/ListLogMetricsResponse/metrics/metric": metric +"/logging:v2beta1/ListLogMetricsResponse/nextPageToken": next_page_token +"/logging:v2beta1/MonitoredResourceDescriptor": monitored_resource_descriptor +"/logging:v2beta1/MonitoredResourceDescriptor/displayName": display_name +"/logging:v2beta1/MonitoredResourceDescriptor/description": description +"/logging:v2beta1/MonitoredResourceDescriptor/labels": labels +"/logging:v2beta1/MonitoredResourceDescriptor/labels/label": label +"/logging:v2beta1/MonitoredResourceDescriptor/type": type +"/logging:v2beta1/MonitoredResourceDescriptor/name": name +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse": list_monitored_resource_descriptors_response +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/nextPageToken": next_page_token +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors": resource_descriptors +"/logging:v2beta1/ListMonitoredResourceDescriptorsResponse/resourceDescriptors/resource_descriptor": resource_descriptor +"/logging:v2beta1/LogEntryOperation": log_entry_operation +"/logging:v2beta1/LogEntryOperation/producer": producer +"/logging:v2beta1/LogEntryOperation/last": last +"/logging:v2beta1/LogEntryOperation/first": first +"/logging:v2beta1/LogEntryOperation/id": id +"/logging:v2beta1/Empty": empty +"/logging:v2beta1/HttpRequest": http_request +"/logging:v2beta1/HttpRequest/cacheLookup": cache_lookup +"/logging:v2beta1/HttpRequest/responseSize": response_size +"/logging:v2beta1/HttpRequest/status": status +"/logging:v2beta1/HttpRequest/cacheValidatedWithOriginServer": cache_validated_with_origin_server +"/logging:v2beta1/HttpRequest/referer": referer +"/logging:v2beta1/HttpRequest/cacheHit": cache_hit +"/logging:v2beta1/HttpRequest/requestUrl": request_url +"/logging:v2beta1/HttpRequest/latency": latency +"/logging:v2beta1/HttpRequest/cacheFillBytes": cache_fill_bytes +"/logging:v2beta1/HttpRequest/requestMethod": request_method +"/logging:v2beta1/HttpRequest/remoteIp": remote_ip +"/logging:v2beta1/HttpRequest/serverIp": server_ip +"/logging:v2beta1/HttpRequest/userAgent": user_agent +"/logging:v2beta1/HttpRequest/requestSize": request_size +"/logging:v2beta1/LogEntrySourceLocation": log_entry_source_location +"/logging:v2beta1/LogEntrySourceLocation/function": function +"/logging:v2beta1/LogEntrySourceLocation/file": file +"/logging:v2beta1/LogEntrySourceLocation/line": line +"/logging:v2beta1/RequestLog": request_log +"/logging:v2beta1/RequestLog/responseSize": response_size +"/logging:v2beta1/RequestLog/requestId": request_id +"/logging:v2beta1/RequestLog/first": first +"/logging:v2beta1/RequestLog/method": method_prop +"/logging:v2beta1/RequestLog/versionId": version_id +"/logging:v2beta1/RequestLog/status": status +"/logging:v2beta1/RequestLog/wasLoadingRequest": was_loading_request +"/logging:v2beta1/RequestLog/ip": ip +"/logging:v2beta1/RequestLog/nickname": nickname +"/logging:v2beta1/RequestLog/taskQueueName": task_queue_name +"/logging:v2beta1/RequestLog/pendingTime": pending_time +"/logging:v2beta1/RequestLog/instanceIndex": instance_index +"/logging:v2beta1/RequestLog/sourceReference": source_reference +"/logging:v2beta1/RequestLog/sourceReference/source_reference": source_reference +"/logging:v2beta1/RequestLog/moduleId": module_id +"/logging:v2beta1/RequestLog/host": host +"/logging:v2beta1/RequestLog/latency": latency +"/logging:v2beta1/RequestLog/urlMapEntry": url_map_entry +"/logging:v2beta1/RequestLog/endTime": end_time +"/logging:v2beta1/RequestLog/line": line +"/logging:v2beta1/RequestLog/line/line": line +"/logging:v2beta1/RequestLog/megaCycles": mega_cycles +"/logging:v2beta1/RequestLog/appId": app_id +"/logging:v2beta1/RequestLog/traceId": trace_id +"/logging:v2beta1/RequestLog/taskName": task_name +"/logging:v2beta1/RequestLog/cost": cost +"/logging:v2beta1/RequestLog/instanceId": instance_id +"/logging:v2beta1/RequestLog/startTime": start_time +"/logging:v2beta1/RequestLog/appEngineRelease": app_engine_release +"/logging:v2beta1/RequestLog/resource": resource +"/logging:v2beta1/RequestLog/httpVersion": http_version +"/logging:v2beta1/RequestLog/referrer": referrer +"/logging:v2beta1/RequestLog/userAgent": user_agent +"/logging:v2beta1/RequestLog/finished": finished +"/logging:v2beta1/WriteLogEntriesResponse": write_log_entries_response +"/logging:v2beta1/ListLogEntriesRequest": list_log_entries_request +"/logging:v2beta1/ListLogEntriesRequest/filter": filter +"/logging:v2beta1/ListLogEntriesRequest/projectIds": project_ids +"/logging:v2beta1/ListLogEntriesRequest/projectIds/project_id": project_id +"/logging:v2beta1/ListLogEntriesRequest/resourceNames": resource_names +"/logging:v2beta1/ListLogEntriesRequest/resourceNames/resource_name": resource_name +"/logging:v2beta1/ListLogEntriesRequest/pageSize": page_size +"/logging:v2beta1/ListLogEntriesRequest/orderBy": order_by +"/logging:v2beta1/ListLogEntriesRequest/pageToken": page_token "/mirror:v1/fields": fields "/mirror:v1/key": key "/mirror:v1/quotaUser": quota_user @@ -26074,6 +27828,122 @@ "/prediction:v1.6/Update/csvInstance": csv_instance "/prediction:v1.6/Update/csvInstance/csv_instance": csv_instance "/prediction:v1.6/Update/output": output +"/pubsub:v1/key": key +"/pubsub:v1/quotaUser": quota_user +"/pubsub:v1/fields": fields +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig": modify_subscription_push_config +"/pubsub:v1/pubsub.projects.subscriptions.modifyPushConfig/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy": get_project_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.pull": pull_subscription +"/pubsub:v1/pubsub.projects.subscriptions.pull/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.subscriptions.list/project": project +"/pubsub:v1/pubsub.projects.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.subscriptions.get/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.create/name": name +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline": modify_subscription_ack_deadline +"/pubsub:v1/pubsub.projects.subscriptions.modifyAckDeadline/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy": set_subscription_iam_policy +"/pubsub:v1/pubsub.projects.subscriptions.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.delete/subscription": subscription +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions": test_subscription_iam_permissions +"/pubsub:v1/pubsub.projects.subscriptions.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge": acknowledge_subscription +"/pubsub:v1/pubsub.projects.subscriptions.acknowledge/subscription": subscription +"/pubsub:v1/pubsub.projects.topics.getIamPolicy": get_project_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.getIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.publish": publish_topic +"/pubsub:v1/pubsub.projects.topics.publish/topic": topic +"/pubsub:v1/pubsub.projects.topics.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.list/project": project +"/pubsub:v1/pubsub.projects.topics.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.topics.get/topic": topic +"/pubsub:v1/pubsub.projects.topics.create/name": name +"/pubsub:v1/pubsub.projects.topics.setIamPolicy": set_topic_iam_policy +"/pubsub:v1/pubsub.projects.topics.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.topics.delete/topic": topic +"/pubsub:v1/pubsub.projects.topics.testIamPermissions": test_topic_iam_permissions +"/pubsub:v1/pubsub.projects.topics.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/topic": topic +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageSize": page_size +"/pubsub:v1/pubsub.projects.topics.subscriptions.list/pageToken": page_token +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions": test_snapshot_iam_permissions +"/pubsub:v1/pubsub.projects.snapshots.testIamPermissions/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy": set_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.setIamPolicy/resource": resource +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy": get_project_snapshot_iam_policy +"/pubsub:v1/pubsub.projects.snapshots.getIamPolicy/resource": resource +"/pubsub:v1/Topic": topic +"/pubsub:v1/Topic/name": name +"/pubsub:v1/SetIamPolicyRequest": set_iam_policy_request +"/pubsub:v1/SetIamPolicyRequest/policy": policy +"/pubsub:v1/ReceivedMessage": received_message +"/pubsub:v1/ReceivedMessage/ackId": ack_id +"/pubsub:v1/ReceivedMessage/message": message +"/pubsub:v1/PublishRequest": publish_request +"/pubsub:v1/PublishRequest/messages": messages +"/pubsub:v1/PublishRequest/messages/message": message +"/pubsub:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/pubsub:v1/TestIamPermissionsResponse/permissions": permissions +"/pubsub:v1/TestIamPermissionsResponse/permissions/permission": permission +"/pubsub:v1/PublishResponse": publish_response +"/pubsub:v1/PublishResponse/messageIds": message_ids +"/pubsub:v1/PublishResponse/messageIds/message_id": message_id +"/pubsub:v1/ListSubscriptionsResponse": list_subscriptions_response +"/pubsub:v1/ListSubscriptionsResponse/subscriptions": subscriptions +"/pubsub:v1/ListSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListSubscriptionsResponse/nextPageToken": next_page_token +"/pubsub:v1/Policy": policy +"/pubsub:v1/Policy/bindings": bindings +"/pubsub:v1/Policy/bindings/binding": binding +"/pubsub:v1/Policy/etag": etag +"/pubsub:v1/Policy/version": version +"/pubsub:v1/ListTopicSubscriptionsResponse": list_topic_subscriptions_response +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions": subscriptions +"/pubsub:v1/ListTopicSubscriptionsResponse/subscriptions/subscription": subscription +"/pubsub:v1/ListTopicSubscriptionsResponse/nextPageToken": next_page_token +"/pubsub:v1/Subscription": subscription +"/pubsub:v1/Subscription/pushConfig": push_config +"/pubsub:v1/Subscription/topic": topic +"/pubsub:v1/Subscription/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/Subscription/name": name +"/pubsub:v1/ModifyAckDeadlineRequest": modify_ack_deadline_request +"/pubsub:v1/ModifyAckDeadlineRequest/ackDeadlineSeconds": ack_deadline_seconds +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds": ack_ids +"/pubsub:v1/ModifyAckDeadlineRequest/ackIds/ack_id": ack_id +"/pubsub:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/pubsub:v1/TestIamPermissionsRequest/permissions": permissions +"/pubsub:v1/TestIamPermissionsRequest/permissions/permission": permission +"/pubsub:v1/PushConfig": push_config +"/pubsub:v1/PushConfig/attributes": attributes +"/pubsub:v1/PushConfig/attributes/attribute": attribute +"/pubsub:v1/PushConfig/pushEndpoint": push_endpoint +"/pubsub:v1/PullRequest": pull_request +"/pubsub:v1/PullRequest/returnImmediately": return_immediately +"/pubsub:v1/PullRequest/maxMessages": max_messages +"/pubsub:v1/ModifyPushConfigRequest": modify_push_config_request +"/pubsub:v1/ModifyPushConfigRequest/pushConfig": push_config +"/pubsub:v1/PullResponse": pull_response +"/pubsub:v1/PullResponse/receivedMessages": received_messages +"/pubsub:v1/PullResponse/receivedMessages/received_message": received_message +"/pubsub:v1/PubsubMessage/data": data +"/pubsub:v1/PubsubMessage/attributes": attributes +"/pubsub:v1/PubsubMessage/attributes/attribute": attribute +"/pubsub:v1/PubsubMessage/messageId": message_id +"/pubsub:v1/PubsubMessage/publishTime": publish_time +"/pubsub:v1/AcknowledgeRequest": acknowledge_request +"/pubsub:v1/AcknowledgeRequest/ackIds": ack_ids +"/pubsub:v1/AcknowledgeRequest/ackIds/ack_id": ack_id +"/pubsub:v1/Empty": empty +"/pubsub:v1/ListTopicsResponse": list_topics_response +"/pubsub:v1/ListTopicsResponse/nextPageToken": next_page_token +"/pubsub:v1/ListTopicsResponse/topics": topics +"/pubsub:v1/ListTopicsResponse/topics/topic": topic +"/pubsub:v1/Binding": binding +"/pubsub:v1/Binding/members": members +"/pubsub:v1/Binding/members/member": member +"/pubsub:v1/Binding/role": role "/qpxExpress:v1/fields": fields "/qpxExpress:v1/key": key "/qpxExpress:v1/quotaUser": quota_user @@ -26791,20 +28661,9 @@ "/sheets:v4/sheets.spreadsheets.get/includeGridData": include_grid_data "/sheets:v4/sheets.spreadsheets.batchUpdate": batch_update_spreadsheet "/sheets:v4/sheets.spreadsheets.batchUpdate/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value -"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option -"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option -"/sheets:v4/sheets.spreadsheets.values.append/range": range -"/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value -"/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option -"/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.update/range": range -"/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id -"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option -"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option -"/sheets:v4/sheets.spreadsheets.values.get/range": range -"/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.clear": clear_values +"/sheets:v4/sheets.spreadsheets.values.clear/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.clear/range": range "/sheets:v4/sheets.spreadsheets.values.batchGet/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.values.batchGet/ranges": ranges "/sheets:v4/sheets.spreadsheets.values.batchGet/valueRenderOption": value_render_option @@ -26812,6 +28671,28 @@ "/sheets:v4/sheets.spreadsheets.values.batchGet/majorDimension": major_dimension "/sheets:v4/sheets.spreadsheets.values.batchUpdate": batch_update_values "/sheets:v4/sheets.spreadsheets.values.batchUpdate/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.get/valueRenderOption": value_render_option +"/sheets:v4/sheets.spreadsheets.values.get/dateTimeRenderOption": date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.get/range": range +"/sheets:v4/sheets.spreadsheets.values.get/majorDimension": major_dimension +"/sheets:v4/sheets.spreadsheets.values.append": append_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.append/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.append/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.append/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.append/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.append/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.append/range": range +"/sheets:v4/sheets.spreadsheets.values.append/insertDataOption": insert_data_option +"/sheets:v4/sheets.spreadsheets.values.update": update_spreadsheet_value +"/sheets:v4/sheets.spreadsheets.values.update/responseValueRenderOption": response_value_render_option +"/sheets:v4/sheets.spreadsheets.values.update/valueInputOption": value_input_option +"/sheets:v4/sheets.spreadsheets.values.update/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/sheets.spreadsheets.values.update/includeValuesInResponse": include_values_in_response +"/sheets:v4/sheets.spreadsheets.values.update/spreadsheetId": spreadsheet_id +"/sheets:v4/sheets.spreadsheets.values.update/range": range +"/sheets:v4/sheets.spreadsheets.values.batchClear": batch_clear_values +"/sheets:v4/sheets.spreadsheets.values.batchClear/spreadsheetId": spreadsheet_id "/sheets:v4/sheets.spreadsheets.sheets.copyTo/sheetId": sheet_id "/sheets:v4/sheets.spreadsheets.sheets.copyTo/spreadsheetId": spreadsheet_id "/sheets:v4/AddNamedRangeResponse": add_named_range_response @@ -26834,6 +28715,9 @@ "/sheets:v4/PivotGroupValueMetadata/collapsed": collapsed "/sheets:v4/UpdateEmbeddedObjectPositionResponse": update_embedded_object_position_response "/sheets:v4/UpdateEmbeddedObjectPositionResponse/position": position +"/sheets:v4/ClearValuesResponse": clear_values_response +"/sheets:v4/ClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/ClearValuesResponse/clearedRange": cleared_range "/sheets:v4/UpdateConditionalFormatRuleRequest": update_conditional_format_rule_request "/sheets:v4/UpdateConditionalFormatRuleRequest/sheetId": sheet_id "/sheets:v4/UpdateConditionalFormatRuleRequest/rule": rule @@ -26868,11 +28752,12 @@ "/sheets:v4/UpdateNamedRangeRequest/fields": fields "/sheets:v4/UpdateNamedRangeRequest/namedRange": named_range "/sheets:v4/UpdateValuesResponse": update_values_response -"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range "/sheets:v4/UpdateValuesResponse/updatedColumns": updated_columns +"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells +"/sheets:v4/UpdateValuesResponse/updatedData": updated_data +"/sheets:v4/UpdateValuesResponse/updatedRange": updated_range "/sheets:v4/UpdateValuesResponse/spreadsheetId": spreadsheet_id "/sheets:v4/UpdateValuesResponse/updatedRows": updated_rows -"/sheets:v4/UpdateValuesResponse/updatedCells": updated_cells "/sheets:v4/SpreadsheetProperties": spreadsheet_properties "/sheets:v4/SpreadsheetProperties/timeZone": time_zone "/sheets:v4/SpreadsheetProperties/autoRecalc": auto_recalc @@ -26921,6 +28806,7 @@ "/sheets:v4/Response/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Response/addChart": add_chart "/sheets:v4/Response/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Response/addBanding": add_banding "/sheets:v4/Response/duplicateSheet": duplicate_sheet "/sheets:v4/Response/duplicateFilterView": duplicate_filter_view "/sheets:v4/Response/addNamedRange": add_named_range @@ -26940,6 +28826,8 @@ "/sheets:v4/SortRangeRequest/range": range "/sheets:v4/SortRangeRequest/sortSpecs": sort_specs "/sheets:v4/SortRangeRequest/sortSpecs/sort_spec": sort_spec +"/sheets:v4/AddBandingResponse": add_banding_response +"/sheets:v4/AddBandingResponse/bandedRange": banded_range "/sheets:v4/TextFormatRun": text_format_run "/sheets:v4/TextFormatRun/startIndex": start_index "/sheets:v4/TextFormatRun/format": format @@ -26983,8 +28871,15 @@ "/sheets:v4/BatchUpdateValuesRequest/valueInputOption": value_input_option "/sheets:v4/BatchUpdateValuesRequest/data": data "/sheets:v4/BatchUpdateValuesRequest/data/datum": datum +"/sheets:v4/BatchUpdateValuesRequest/responseValueRenderOption": response_value_render_option +"/sheets:v4/BatchUpdateValuesRequest/responseDateTimeRenderOption": response_date_time_render_option +"/sheets:v4/BatchUpdateValuesRequest/includeValuesInResponse": include_values_in_response "/sheets:v4/ClearBasicFilterRequest": clear_basic_filter_request "/sheets:v4/ClearBasicFilterRequest/sheetId": sheet_id +"/sheets:v4/BatchClearValuesResponse": batch_clear_values_response +"/sheets:v4/BatchClearValuesResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchClearValuesResponse/clearedRanges": cleared_ranges +"/sheets:v4/BatchClearValuesResponse/clearedRanges/cleared_range": cleared_range "/sheets:v4/ConditionalFormatRule": conditional_format_rule "/sheets:v4/ConditionalFormatRule/gradientRule": gradient_rule "/sheets:v4/ConditionalFormatRule/booleanRule": boolean_rule @@ -27075,8 +28970,12 @@ "/sheets:v4/DuplicateFilterViewRequest": duplicate_filter_view_request "/sheets:v4/DuplicateFilterViewRequest/filterId": filter_id "/sheets:v4/BatchUpdateSpreadsheetRequest": batch_update_spreadsheet_request +"/sheets:v4/BatchUpdateSpreadsheetRequest/includeSpreadsheetInResponse": include_spreadsheet_in_response "/sheets:v4/BatchUpdateSpreadsheetRequest/requests": requests "/sheets:v4/BatchUpdateSpreadsheetRequest/requests/request": request +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges": response_ranges +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseRanges/response_range": response_range +"/sheets:v4/BatchUpdateSpreadsheetRequest/responseIncludeGridData": response_include_grid_data "/sheets:v4/SheetProperties": sheet_properties "/sheets:v4/SheetProperties/title": title "/sheets:v4/SheetProperties/index": index @@ -27086,6 +28985,7 @@ "/sheets:v4/SheetProperties/rightToLeft": right_to_left "/sheets:v4/SheetProperties/tabColor": tab_color "/sheets:v4/SheetProperties/sheetType": sheet_type +"/sheets:v4/ClearValuesRequest": clear_values_request "/sheets:v4/ProtectedRange": protected_range "/sheets:v4/ProtectedRange/unprotectedRanges": unprotected_ranges "/sheets:v4/ProtectedRange/unprotectedRanges/unprotected_range": unprotected_range @@ -27135,6 +29035,9 @@ "/sheets:v4/NumberFormat": number_format "/sheets:v4/NumberFormat/pattern": pattern "/sheets:v4/NumberFormat/type": type +"/sheets:v4/BatchClearValuesRequest": batch_clear_values_request +"/sheets:v4/BatchClearValuesRequest/ranges": ranges +"/sheets:v4/BatchClearValuesRequest/ranges/range": range "/sheets:v4/UpdateDimensionPropertiesRequest": update_dimension_properties_request "/sheets:v4/UpdateDimensionPropertiesRequest/fields": fields "/sheets:v4/UpdateDimensionPropertiesRequest/range": range @@ -27148,6 +29051,7 @@ "/sheets:v4/Spreadsheet": spreadsheet "/sheets:v4/Spreadsheet/spreadsheetId": spreadsheet_id "/sheets:v4/Spreadsheet/properties": properties +"/sheets:v4/Spreadsheet/spreadsheetUrl": spreadsheet_url "/sheets:v4/Spreadsheet/sheets": sheets "/sheets:v4/Spreadsheet/sheets/sheet": sheet "/sheets:v4/Spreadsheet/namedRanges": named_ranges @@ -27166,6 +29070,8 @@ "/sheets:v4/PivotValue/sourceColumnOffset": source_column_offset "/sheets:v4/PivotValue/summarizeFunction": summarize_function "/sheets:v4/PivotValue/name": name +"/sheets:v4/DeleteBandingRequest": delete_banding_request +"/sheets:v4/DeleteBandingRequest/bandedRangeId": banded_range_id "/sheets:v4/BasicFilter": basic_filter "/sheets:v4/BasicFilter/criteria": criteria "/sheets:v4/BasicFilter/criteria/criterium": criterium @@ -27189,6 +29095,8 @@ "/sheets:v4/AddNamedRangeRequest/namedRange": named_range "/sheets:v4/AddChartResponse": add_chart_response "/sheets:v4/AddChartResponse/chart": chart +"/sheets:v4/AddBandingRequest": add_banding_request +"/sheets:v4/AddBandingRequest/bandedRange": banded_range "/sheets:v4/AppendCellsRequest": append_cells_request "/sheets:v4/AppendCellsRequest/sheetId": sheet_id "/sheets:v4/AppendCellsRequest/rows": rows @@ -27219,16 +29127,21 @@ "/sheets:v4/NamedRange/namedRangeId": named_range_id "/sheets:v4/NamedRange/range": range "/sheets:v4/NamedRange/name": name -"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request -"/sheets:v4/SetBasicFilterRequest/filter": filter "/sheets:v4/UpdateEmbeddedObjectPositionRequest": update_embedded_object_position_request "/sheets:v4/UpdateEmbeddedObjectPositionRequest/newPosition": new_position "/sheets:v4/UpdateEmbeddedObjectPositionRequest/objectId": object_id_prop "/sheets:v4/UpdateEmbeddedObjectPositionRequest/fields": fields +"/sheets:v4/SetBasicFilterRequest": set_basic_filter_request +"/sheets:v4/SetBasicFilterRequest/filter": filter "/sheets:v4/AutoResizeDimensionsRequest": auto_resize_dimensions_request "/sheets:v4/AutoResizeDimensionsRequest/dimensions": dimensions "/sheets:v4/DuplicateFilterViewResponse": duplicate_filter_view_response "/sheets:v4/DuplicateFilterViewResponse/filter": filter +"/sheets:v4/BandingProperties": banding_properties +"/sheets:v4/BandingProperties/footerColor": footer_color +"/sheets:v4/BandingProperties/headerColor": header_color +"/sheets:v4/BandingProperties/secondBandColor": second_band_color +"/sheets:v4/BandingProperties/firstBandColor": first_band_color "/sheets:v4/PivotGroup": pivot_group "/sheets:v4/PivotGroup/sortOrder": sort_order "/sheets:v4/PivotGroup/sourceColumnOffset": source_column_offset @@ -27244,6 +29157,9 @@ "/sheets:v4/GridRange/endColumnIndex": end_column_index "/sheets:v4/DeleteSheetRequest": delete_sheet_request "/sheets:v4/DeleteSheetRequest/sheetId": sheet_id +"/sheets:v4/UpdateBandingRequest": update_banding_request +"/sheets:v4/UpdateBandingRequest/bandedRange": banded_range +"/sheets:v4/UpdateBandingRequest/fields": fields "/sheets:v4/ChartData": chart_data "/sheets:v4/ChartData/sourceRange": source_range "/sheets:v4/Sheet": sheet @@ -27261,6 +29177,8 @@ "/sheets:v4/Sheet/merges/merge": merge "/sheets:v4/Sheet/data": data "/sheets:v4/Sheet/data/datum": datum +"/sheets:v4/Sheet/bandedRanges": banded_ranges +"/sheets:v4/Sheet/bandedRanges/banded_range": banded_range "/sheets:v4/CopyPasteRequest": copy_paste_request "/sheets:v4/CopyPasteRequest/pasteType": paste_type "/sheets:v4/CopyPasteRequest/pasteOrientation": paste_orientation @@ -27280,6 +29198,7 @@ "/sheets:v4/ExtendedValue/stringValue": string_value "/sheets:v4/BatchUpdateSpreadsheetResponse": batch_update_spreadsheet_response "/sheets:v4/BatchUpdateSpreadsheetResponse/spreadsheetId": spreadsheet_id +"/sheets:v4/BatchUpdateSpreadsheetResponse/updatedSpreadsheet": updated_spreadsheet "/sheets:v4/BatchUpdateSpreadsheetResponse/replies": replies "/sheets:v4/BatchUpdateSpreadsheetResponse/replies/reply": reply "/sheets:v4/GradientRule": gradient_rule @@ -27357,8 +29276,11 @@ "/sheets:v4/Request/updateConditionalFormatRule": update_conditional_format_rule "/sheets:v4/Request/setBasicFilter": set_basic_filter "/sheets:v4/Request/mergeCells": merge_cells +"/sheets:v4/Request/updateBanding": update_banding "/sheets:v4/Request/addChart": add_chart "/sheets:v4/Request/deleteConditionalFormatRule": delete_conditional_format_rule +"/sheets:v4/Request/addBanding": add_banding +"/sheets:v4/Request/deleteBanding": delete_banding "/sheets:v4/Request/updateChartSpec": update_chart_spec "/sheets:v4/Request/deleteDimension": delete_dimension "/sheets:v4/Request/deleteEmbeddedObject": delete_embedded_object @@ -27385,6 +29307,11 @@ "/sheets:v4/InsertDimensionRequest/range": range "/sheets:v4/DeleteEmbeddedObjectRequest": delete_embedded_object_request "/sheets:v4/DeleteEmbeddedObjectRequest/objectId": object_id_prop +"/sheets:v4/BandedRange": banded_range +"/sheets:v4/BandedRange/bandedRangeId": banded_range_id +"/sheets:v4/BandedRange/rowProperties": row_properties +"/sheets:v4/BandedRange/columnProperties": column_properties +"/sheets:v4/BandedRange/range": range "/sheets:v4/DeleteConditionalFormatRuleResponse": delete_conditional_format_rule_response "/sheets:v4/DeleteConditionalFormatRuleResponse/rule": rule "/siteVerification:v1/fields": fields @@ -27417,6 +29344,537 @@ "/siteVerification:v1/SiteVerificationWebResourceResource/site": site "/siteVerification:v1/SiteVerificationWebResourceResource/site/identifier": identifier "/siteVerification:v1/SiteVerificationWebResourceResource/site/type": type +"/slides:v1/key": key +"/slides:v1/quotaUser": quota_user +"/slides:v1/fields": fields +"/slides:v1/slides.presentations.get": get_presentation +"/slides:v1/slides.presentations.get/presentationId": presentation_id +"/slides:v1/slides.presentations.create": create_presentation +"/slides:v1/slides.presentations.batchUpdate": batch_update_presentation +"/slides:v1/slides.presentations.batchUpdate/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get": get_presentation_page +"/slides:v1/slides.presentations.pages.get/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.get/pageObjectId": page_object_id +"/slides:v1/StretchedPictureFill": stretched_picture_fill +"/slides:v1/StretchedPictureFill/contentUrl": content_url +"/slides:v1/StretchedPictureFill/size": size +"/slides:v1/Image": image +"/slides:v1/Image/contentUrl": content_url +"/slides:v1/Image/imageProperties": image_properties +"/slides:v1/VideoProperties": video_properties +"/slides:v1/VideoProperties/outline": outline +"/slides:v1/CropProperties": crop_properties +"/slides:v1/CropProperties/rightOffset": right_offset +"/slides:v1/CropProperties/angle": angle +"/slides:v1/CropProperties/leftOffset": left_offset +"/slides:v1/CropProperties/topOffset": top_offset +"/slides:v1/CropProperties/bottomOffset": bottom_offset +"/slides:v1/TableRange": table_range +"/slides:v1/TableRange/location": location +"/slides:v1/TableRange/rowSpan": row_span +"/slides:v1/TableRange/columnSpan": column_span +"/slides:v1/UpdateTextStyleRequest": update_text_style_request +"/slides:v1/UpdateTextStyleRequest/style": style +"/slides:v1/UpdateTextStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateTextStyleRequest/fields": fields +"/slides:v1/UpdateTextStyleRequest/textRange": text_range +"/slides:v1/UpdateTextStyleRequest/cellLocation": cell_location +"/slides:v1/InsertTextRequest": insert_text_request +"/slides:v1/InsertTextRequest/text": text +"/slides:v1/InsertTextRequest/objectId": object_id_prop +"/slides:v1/InsertTextRequest/insertionIndex": insertion_index +"/slides:v1/InsertTextRequest/cellLocation": cell_location +"/slides:v1/RgbColor": rgb_color +"/slides:v1/RgbColor/green": green +"/slides:v1/RgbColor/blue": blue +"/slides:v1/RgbColor/red": red +"/slides:v1/PageElementProperties": page_element_properties +"/slides:v1/PageElementProperties/size": size +"/slides:v1/PageElementProperties/pageObjectId": page_object_id +"/slides:v1/PageElementProperties/transform": transform +"/slides:v1/DeleteTextRequest": delete_text_request +"/slides:v1/DeleteTextRequest/objectId": object_id_prop +"/slides:v1/DeleteTextRequest/textRange": text_range +"/slides:v1/DeleteTextRequest/cellLocation": cell_location +"/slides:v1/ParagraphStyle": paragraph_style +"/slides:v1/ParagraphStyle/lineSpacing": line_spacing +"/slides:v1/ParagraphStyle/spacingMode": spacing_mode +"/slides:v1/ParagraphStyle/alignment": alignment +"/slides:v1/ParagraphStyle/spaceAbove": space_above +"/slides:v1/ParagraphStyle/direction": direction +"/slides:v1/ParagraphStyle/indentEnd": indent_end +"/slides:v1/ParagraphStyle/indentFirstLine": indent_first_line +"/slides:v1/ParagraphStyle/indentStart": indent_start +"/slides:v1/ParagraphStyle/spaceBelow": space_below +"/slides:v1/Page": page +"/slides:v1/Page/slideProperties": slide_properties +"/slides:v1/Page/pageType": page_type +"/slides:v1/Page/pageElements": page_elements +"/slides:v1/Page/pageElements/page_element": page_element +"/slides:v1/Page/pageProperties": page_properties +"/slides:v1/Page/layoutProperties": layout_properties +"/slides:v1/Page/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest": update_shape_properties_request +"/slides:v1/UpdateShapePropertiesRequest/shapeProperties": shape_properties +"/slides:v1/UpdateShapePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateShapePropertiesRequest/fields": fields +"/slides:v1/CreateLineResponse": create_line_response +"/slides:v1/CreateLineResponse/objectId": object_id_prop +"/slides:v1/Presentation": presentation +"/slides:v1/Presentation/title": title +"/slides:v1/Presentation/locale": locale +"/slides:v1/Presentation/slides": slides +"/slides:v1/Presentation/slides/slide": slide +"/slides:v1/Presentation/masters": masters +"/slides:v1/Presentation/masters/master": master +"/slides:v1/Presentation/pageSize": page_size +"/slides:v1/Presentation/presentationId": presentation_id +"/slides:v1/Presentation/layouts": layouts +"/slides:v1/Presentation/layouts/layout": layout +"/slides:v1/CreateImageRequest": create_image_request +"/slides:v1/CreateImageRequest/url": url +"/slides:v1/CreateImageRequest/objectId": object_id_prop +"/slides:v1/CreateImageRequest/elementProperties": element_properties +"/slides:v1/SlideProperties": slide_properties +"/slides:v1/SlideProperties/layoutObjectId": layout_object_id +"/slides:v1/SlideProperties/masterObjectId": master_object_id +"/slides:v1/UpdatePageElementTransformRequest": update_page_element_transform_request +"/slides:v1/UpdatePageElementTransformRequest/applyMode": apply_mode +"/slides:v1/UpdatePageElementTransformRequest/objectId": object_id_prop +"/slides:v1/UpdatePageElementTransformRequest/transform": transform +"/slides:v1/List": list +"/slides:v1/List/nestingLevel": nesting_level +"/slides:v1/List/nestingLevel/nesting_level": nesting_level +"/slides:v1/List/listId": list_id +"/slides:v1/CreateVideoResponse": create_video_response +"/slides:v1/CreateVideoResponse/objectId": object_id_prop +"/slides:v1/InsertTableRowsRequest": insert_table_rows_request +"/slides:v1/InsertTableRowsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableRowsRequest/insertBelow": insert_below +"/slides:v1/InsertTableRowsRequest/cellLocation": cell_location +"/slides:v1/InsertTableRowsRequest/number": number +"/slides:v1/UpdateVideoPropertiesRequest": update_video_properties_request +"/slides:v1/UpdateVideoPropertiesRequest/videoProperties": video_properties +"/slides:v1/UpdateVideoPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateVideoPropertiesRequest/fields": fields +"/slides:v1/OpaqueColor": opaque_color +"/slides:v1/OpaqueColor/rgbColor": rgb_color +"/slides:v1/OpaqueColor/themeColor": theme_color +"/slides:v1/Response": response +"/slides:v1/Response/createTable": create_table +"/slides:v1/Response/replaceAllText": replace_all_text +"/slides:v1/Response/createLine": create_line +"/slides:v1/Response/createSheetsChart": create_sheets_chart +"/slides:v1/Response/createSlide": create_slide +"/slides:v1/Response/createShape": create_shape +"/slides:v1/Response/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Response/createVideo": create_video +"/slides:v1/Response/createImage": create_image +"/slides:v1/Response/duplicateObject": duplicate_object +"/slides:v1/LineProperties": line_properties +"/slides:v1/LineProperties/weight": weight +"/slides:v1/LineProperties/endArrow": end_arrow +"/slides:v1/LineProperties/link": link +"/slides:v1/LineProperties/lineFill": line_fill +"/slides:v1/LineProperties/dashStyle": dash_style +"/slides:v1/LineProperties/startArrow": start_arrow +"/slides:v1/Table": table +"/slides:v1/Table/columns": columns +"/slides:v1/Table/tableColumns": table_columns +"/slides:v1/Table/tableColumns/table_column": table_column +"/slides:v1/Table/rows": rows +"/slides:v1/Table/tableRows": table_rows +"/slides:v1/Table/tableRows/table_row": table_row +"/slides:v1/NestingLevel": nesting_level +"/slides:v1/NestingLevel/bulletStyle": bullet_style +"/slides:v1/DuplicateObjectResponse": duplicate_object_response +"/slides:v1/DuplicateObjectResponse/objectId": object_id_prop +"/slides:v1/RefreshSheetsChartRequest": refresh_sheets_chart_request +"/slides:v1/RefreshSheetsChartRequest/objectId": object_id_prop +"/slides:v1/TableCellLocation": table_cell_location +"/slides:v1/TableCellLocation/rowIndex": row_index +"/slides:v1/TableCellLocation/columnIndex": column_index +"/slides:v1/TextContent": text_content +"/slides:v1/TextContent/lists": lists +"/slides:v1/TextContent/lists/list": list +"/slides:v1/TextContent/textElements": text_elements +"/slides:v1/TextContent/textElements/text_element": text_element +"/slides:v1/PageElement": page_element +"/slides:v1/PageElement/description": description +"/slides:v1/PageElement/title": title +"/slides:v1/PageElement/transform": transform +"/slides:v1/PageElement/video": video +"/slides:v1/PageElement/sheetsChart": sheets_chart +"/slides:v1/PageElement/line": line +"/slides:v1/PageElement/table": table +"/slides:v1/PageElement/wordArt": word_art +"/slides:v1/PageElement/shape": shape +"/slides:v1/PageElement/elementGroup": element_group +"/slides:v1/PageElement/image": image +"/slides:v1/PageElement/objectId": object_id_prop +"/slides:v1/PageElement/size": size +"/slides:v1/UpdatePagePropertiesRequest": update_page_properties_request +"/slides:v1/UpdatePagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdatePagePropertiesRequest/fields": fields +"/slides:v1/UpdatePagePropertiesRequest/pageProperties": page_properties +"/slides:v1/UpdateTableCellPropertiesRequest": update_table_cell_properties_request +"/slides:v1/UpdateTableCellPropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateTableCellPropertiesRequest/tableRange": table_range +"/slides:v1/UpdateTableCellPropertiesRequest/fields": fields +"/slides:v1/UpdateTableCellPropertiesRequest/tableCellProperties": table_cell_properties +"/slides:v1/BatchUpdatePresentationRequest": batch_update_presentation_request +"/slides:v1/BatchUpdatePresentationRequest/requests": requests +"/slides:v1/BatchUpdatePresentationRequest/requests/request": request +"/slides:v1/Dimension": dimension +"/slides:v1/Dimension/unit": unit +"/slides:v1/Dimension/magnitude": magnitude +"/slides:v1/Placeholder": placeholder +"/slides:v1/Placeholder/index": index +"/slides:v1/Placeholder/type": type +"/slides:v1/Placeholder/parentObjectId": parent_object_id +"/slides:v1/CreateSheetsChartRequest": create_sheets_chart_request +"/slides:v1/CreateSheetsChartRequest/chartId": chart_id +"/slides:v1/CreateSheetsChartRequest/objectId": object_id_prop +"/slides:v1/CreateSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/CreateSheetsChartRequest/elementProperties": element_properties +"/slides:v1/CreateSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/DeleteTableRowRequest": delete_table_row_request +"/slides:v1/DeleteTableRowRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableRowRequest/cellLocation": cell_location +"/slides:v1/Video": video +"/slides:v1/Video/url": url +"/slides:v1/Video/videoProperties": video_properties +"/slides:v1/Video/source": source +"/slides:v1/Video/id": id +"/slides:v1/Link": link +"/slides:v1/Link/url": url +"/slides:v1/Link/relativeLink": relative_link +"/slides:v1/Link/slideIndex": slide_index +"/slides:v1/Link/pageObjectId": page_object_id +"/slides:v1/PageBackgroundFill": page_background_fill +"/slides:v1/PageBackgroundFill/stretchedPictureFill": stretched_picture_fill +"/slides:v1/PageBackgroundFill/propertyState": property_state +"/slides:v1/PageBackgroundFill/solidFill": solid_fill +"/slides:v1/ColorStop": color_stop +"/slides:v1/ColorStop/color": color +"/slides:v1/ColorStop/position": position +"/slides:v1/ColorStop/alpha": alpha +"/slides:v1/ThemeColorPair": theme_color_pair +"/slides:v1/ThemeColorPair/color": color +"/slides:v1/ThemeColorPair/type": type +"/slides:v1/ReplaceAllShapesWithImageRequest": replace_all_shapes_with_image_request +"/slides:v1/ReplaceAllShapesWithImageRequest/replaceMethod": replace_method +"/slides:v1/ReplaceAllShapesWithImageRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithImageRequest/imageUrl": image_url +"/slides:v1/DeleteObjectRequest": delete_object_request +"/slides:v1/DeleteObjectRequest/objectId": object_id_prop +"/slides:v1/CreateImageResponse": create_image_response +"/slides:v1/CreateImageResponse/objectId": object_id_prop +"/slides:v1/Recolor": recolor +"/slides:v1/Recolor/recolorStops": recolor_stops +"/slides:v1/Recolor/recolorStops/recolor_stop": recolor_stop +"/slides:v1/TextStyle": text_style +"/slides:v1/TextStyle/bold": bold +"/slides:v1/TextStyle/italic": italic +"/slides:v1/TextStyle/baselineOffset": baseline_offset +"/slides:v1/TextStyle/foregroundColor": foreground_color +"/slides:v1/TextStyle/fontFamily": font_family +"/slides:v1/TextStyle/strikethrough": strikethrough +"/slides:v1/TextStyle/link": link +"/slides:v1/TextStyle/smallCaps": small_caps +"/slides:v1/TextStyle/backgroundColor": background_color +"/slides:v1/TextStyle/fontSize": font_size +"/slides:v1/TextStyle/underline": underline +"/slides:v1/UpdateLinePropertiesRequest": update_line_properties_request +"/slides:v1/UpdateLinePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateLinePropertiesRequest/lineProperties": line_properties +"/slides:v1/UpdateLinePropertiesRequest/fields": fields +"/slides:v1/TableCellBackgroundFill": table_cell_background_fill +"/slides:v1/TableCellBackgroundFill/propertyState": property_state +"/slides:v1/TableCellBackgroundFill/solidFill": solid_fill +"/slides:v1/SolidFill": solid_fill +"/slides:v1/SolidFill/color": color +"/slides:v1/SolidFill/alpha": alpha +"/slides:v1/DuplicateObjectRequest": duplicate_object_request +"/slides:v1/DuplicateObjectRequest/objectId": object_id_prop +"/slides:v1/DuplicateObjectRequest/objectIds": object_ids +"/slides:v1/DuplicateObjectRequest/objectIds/object_id": object_id_prop +"/slides:v1/SheetsChart": sheets_chart +"/slides:v1/SheetsChart/chartId": chart_id +"/slides:v1/SheetsChart/spreadsheetId": spreadsheet_id +"/slides:v1/SheetsChart/sheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChart/contentUrl": content_url +"/slides:v1/PageProperties": page_properties +"/slides:v1/PageProperties/pageBackgroundFill": page_background_fill +"/slides:v1/PageProperties/colorScheme": color_scheme +"/slides:v1/Shadow": shadow +"/slides:v1/Shadow/alignment": alignment +"/slides:v1/Shadow/rotateWithShape": rotate_with_shape +"/slides:v1/Shadow/transform": transform +"/slides:v1/Shadow/color": color +"/slides:v1/Shadow/blurRadius": blur_radius +"/slides:v1/Shadow/propertyState": property_state +"/slides:v1/Shadow/alpha": alpha +"/slides:v1/Shadow/type": type +"/slides:v1/LayoutReference": layout_reference +"/slides:v1/LayoutReference/predefinedLayout": predefined_layout +"/slides:v1/LayoutReference/layoutId": layout_id +"/slides:v1/CreateSheetsChartResponse": create_sheets_chart_response +"/slides:v1/CreateSheetsChartResponse/objectId": object_id_prop +"/slides:v1/ReplaceAllTextResponse": replace_all_text_response +"/slides:v1/ReplaceAllTextResponse/occurrencesChanged": occurrences_changed +"/slides:v1/LayoutProperties": layout_properties +"/slides:v1/LayoutProperties/displayName": display_name +"/slides:v1/LayoutProperties/masterObjectId": master_object_id +"/slides:v1/LayoutProperties/name": name +"/slides:v1/InsertTableColumnsRequest": insert_table_columns_request +"/slides:v1/InsertTableColumnsRequest/tableObjectId": table_object_id +"/slides:v1/InsertTableColumnsRequest/insertRight": insert_right +"/slides:v1/InsertTableColumnsRequest/cellLocation": cell_location +"/slides:v1/InsertTableColumnsRequest/number": number +"/slides:v1/DeleteTableColumnRequest": delete_table_column_request +"/slides:v1/DeleteTableColumnRequest/tableObjectId": table_object_id +"/slides:v1/DeleteTableColumnRequest/cellLocation": cell_location +"/slides:v1/TableRow": table_row +"/slides:v1/TableRow/rowHeight": row_height +"/slides:v1/TableRow/tableCells": table_cells +"/slides:v1/TableRow/tableCells/table_cell": table_cell +"/slides:v1/AffineTransform": affine_transform +"/slides:v1/AffineTransform/unit": unit +"/slides:v1/AffineTransform/shearY": shear_y +"/slides:v1/AffineTransform/translateX": translate_x +"/slides:v1/AffineTransform/shearX": shear_x +"/slides:v1/AffineTransform/scaleY": scale_y +"/slides:v1/AffineTransform/scaleX": scale_x +"/slides:v1/AffineTransform/translateY": translate_y +"/slides:v1/CreateShapeRequest": create_shape_request +"/slides:v1/CreateShapeRequest/objectId": object_id_prop +"/slides:v1/CreateShapeRequest/shapeType": shape_type +"/slides:v1/CreateShapeRequest/elementProperties": element_properties +"/slides:v1/ShapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeBackgroundFill/propertyState": property_state +"/slides:v1/ShapeBackgroundFill/solidFill": solid_fill +"/slides:v1/Line": line +"/slides:v1/Line/lineProperties": line_properties +"/slides:v1/Line/lineType": line_type +"/slides:v1/SheetsChartProperties": sheets_chart_properties +"/slides:v1/SheetsChartProperties/chartImageProperties": chart_image_properties +"/slides:v1/AutoText": auto_text +"/slides:v1/AutoText/style": style +"/slides:v1/AutoText/type": type +"/slides:v1/AutoText/content": content +"/slides:v1/TextElement": text_element +"/slides:v1/TextElement/endIndex": end_index +"/slides:v1/TextElement/textRun": text_run +"/slides:v1/TextElement/startIndex": start_index +"/slides:v1/TextElement/paragraphMarker": paragraph_marker +"/slides:v1/TextElement/autoText": auto_text +"/slides:v1/UpdateSlidesPositionRequest": update_slides_position_request +"/slides:v1/UpdateSlidesPositionRequest/insertionIndex": insertion_index +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds": slide_object_ids +"/slides:v1/UpdateSlidesPositionRequest/slideObjectIds/slide_object_id": slide_object_id +"/slides:v1/ReplaceAllTextRequest": replace_all_text_request +"/slides:v1/ReplaceAllTextRequest/containsText": contains_text +"/slides:v1/ReplaceAllTextRequest/replaceText": replace_text +"/slides:v1/ShapeProperties": shape_properties +"/slides:v1/ShapeProperties/outline": outline +"/slides:v1/ShapeProperties/link": link +"/slides:v1/ShapeProperties/shapeBackgroundFill": shape_background_fill +"/slides:v1/ShapeProperties/shadow": shadow +"/slides:v1/CreateLineRequest": create_line_request +"/slides:v1/CreateLineRequest/objectId": object_id_prop +"/slides:v1/CreateLineRequest/elementProperties": element_properties +"/slides:v1/CreateLineRequest/lineCategory": line_category +"/slides:v1/CreateShapeResponse": create_shape_response +"/slides:v1/CreateShapeResponse/objectId": object_id_prop +"/slides:v1/CreateSlideResponse": create_slide_response +"/slides:v1/CreateSlideResponse/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest": update_image_properties_request +"/slides:v1/UpdateImagePropertiesRequest/objectId": object_id_prop +"/slides:v1/UpdateImagePropertiesRequest/fields": fields +"/slides:v1/UpdateImagePropertiesRequest/imageProperties": image_properties +"/slides:v1/CreateVideoRequest": create_video_request +"/slides:v1/CreateVideoRequest/objectId": object_id_prop +"/slides:v1/CreateVideoRequest/source": source +"/slides:v1/CreateVideoRequest/elementProperties": element_properties +"/slides:v1/CreateVideoRequest/id": id +"/slides:v1/CreateTableRequest": create_table_request +"/slides:v1/CreateTableRequest/columns": columns +"/slides:v1/CreateTableRequest/objectId": object_id_prop +"/slides:v1/CreateTableRequest/rows": rows +"/slides:v1/CreateTableRequest/elementProperties": element_properties +"/slides:v1/OptionalColor": optional_color +"/slides:v1/OptionalColor/opaqueColor": opaque_color +"/slides:v1/TextRun": text_run +"/slides:v1/TextRun/style": style +"/slides:v1/TextRun/content": content +"/slides:v1/Shape": shape +"/slides:v1/Shape/text": text +"/slides:v1/Shape/shapeProperties": shape_properties +"/slides:v1/Shape/shapeType": shape_type +"/slides:v1/Shape/placeholder": placeholder +"/slides:v1/BatchUpdatePresentationResponse": batch_update_presentation_response +"/slides:v1/BatchUpdatePresentationResponse/presentationId": presentation_id +"/slides:v1/BatchUpdatePresentationResponse/replies": replies +"/slides:v1/BatchUpdatePresentationResponse/replies/reply": reply +"/slides:v1/ImageProperties": image_properties +"/slides:v1/ImageProperties/cropProperties": crop_properties +"/slides:v1/ImageProperties/outline": outline +"/slides:v1/ImageProperties/shadow": shadow +"/slides:v1/ImageProperties/transparency": transparency +"/slides:v1/ImageProperties/contrast": contrast +"/slides:v1/ImageProperties/link": link +"/slides:v1/ImageProperties/recolor": recolor +"/slides:v1/ImageProperties/brightness": brightness +"/slides:v1/Group": group +"/slides:v1/Group/children": children +"/slides:v1/Group/children/child": child +"/slides:v1/Outline": outline +"/slides:v1/Outline/weight": weight +"/slides:v1/Outline/dashStyle": dash_style +"/slides:v1/Outline/propertyState": property_state +"/slides:v1/Outline/outlineFill": outline_fill +"/slides:v1/TableCell": table_cell +"/slides:v1/TableCell/text": text +"/slides:v1/TableCell/location": location +"/slides:v1/TableCell/rowSpan": row_span +"/slides:v1/TableCell/tableCellProperties": table_cell_properties +"/slides:v1/TableCell/columnSpan": column_span +"/slides:v1/ReplaceAllShapesWithImageResponse": replace_all_shapes_with_image_response +"/slides:v1/ReplaceAllShapesWithImageResponse/occurrencesChanged": occurrences_changed +"/slides:v1/CreateSlideRequest": create_slide_request +"/slides:v1/CreateSlideRequest/objectId": object_id_prop +"/slides:v1/CreateSlideRequest/insertionIndex": insertion_index +"/slides:v1/CreateSlideRequest/slideLayoutReference": slide_layout_reference +"/slides:v1/TableCellProperties": table_cell_properties +"/slides:v1/TableCellProperties/tableCellBackgroundFill": table_cell_background_fill +"/slides:v1/CreateTableResponse": create_table_response +"/slides:v1/CreateTableResponse/objectId": object_id_prop +"/slides:v1/Size": size +"/slides:v1/Size/width": width +"/slides:v1/Size/height": height +"/slides:v1/ColorScheme": color_scheme +"/slides:v1/ColorScheme/colors": colors +"/slides:v1/ColorScheme/colors/color": color +"/slides:v1/ParagraphMarker": paragraph_marker +"/slides:v1/ParagraphMarker/style": style +"/slides:v1/ParagraphMarker/bullet": bullet +"/slides:v1/CreateParagraphBulletsRequest": create_paragraph_bullets_request +"/slides:v1/CreateParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/CreateParagraphBulletsRequest/textRange": text_range +"/slides:v1/CreateParagraphBulletsRequest/bulletPreset": bullet_preset +"/slides:v1/CreateParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/SubstringMatchCriteria": substring_match_criteria +"/slides:v1/SubstringMatchCriteria/text": text +"/slides:v1/SubstringMatchCriteria/matchCase": match_case +"/slides:v1/WordArt": word_art +"/slides:v1/WordArt/renderedText": rendered_text +"/slides:v1/Range": range +"/slides:v1/Range/endIndex": end_index +"/slides:v1/Range/startIndex": start_index +"/slides:v1/Range/type": type +"/slides:v1/TableColumnProperties": table_column_properties +"/slides:v1/TableColumnProperties/columnWidth": column_width +"/slides:v1/Request": request +"/slides:v1/Request/createParagraphBullets": create_paragraph_bullets +"/slides:v1/Request/insertTableColumns": insert_table_columns +"/slides:v1/Request/createTable": create_table +"/slides:v1/Request/deleteText": delete_text +"/slides:v1/Request/replaceAllText": replace_all_text +"/slides:v1/Request/updateVideoProperties": update_video_properties +"/slides:v1/Request/insertText": insert_text +"/slides:v1/Request/deleteTableRow": delete_table_row +"/slides:v1/Request/createLine": create_line +"/slides:v1/Request/updateTextStyle": update_text_style +"/slides:v1/Request/insertTableRows": insert_table_rows +"/slides:v1/Request/updateTableCellProperties": update_table_cell_properties +"/slides:v1/Request/refreshSheetsChart": refresh_sheets_chart +"/slides:v1/Request/createSheetsChart": create_sheets_chart +"/slides:v1/Request/updatePageProperties": update_page_properties +"/slides:v1/Request/updateShapeProperties": update_shape_properties +"/slides:v1/Request/createSlide": create_slide +"/slides:v1/Request/deleteObject": delete_object +"/slides:v1/Request/createShape": create_shape +"/slides:v1/Request/updatePageElementTransform": update_page_element_transform +"/slides:v1/Request/updateSlidesPosition": update_slides_position +"/slides:v1/Request/replaceAllShapesWithImage": replace_all_shapes_with_image +"/slides:v1/Request/updateImageProperties": update_image_properties +"/slides:v1/Request/createVideo": create_video +"/slides:v1/Request/createImage": create_image +"/slides:v1/Request/duplicateObject": duplicate_object +"/slides:v1/Request/deleteTableColumn": delete_table_column +"/slides:v1/Request/updateLineProperties": update_line_properties +"/slides:v1/LineFill": line_fill +"/slides:v1/LineFill/solidFill": solid_fill +"/slides:v1/OutlineFill": outline_fill +"/slides:v1/OutlineFill/solidFill": solid_fill +"/slides:v1/Bullet": bullet +"/slides:v1/Bullet/nestingLevel": nesting_level +"/slides:v1/Bullet/glyph": glyph +"/slides:v1/Bullet/bulletStyle": bullet_style +"/slides:v1/Bullet/listId": list_id +"/speech:v1beta1/key": key +"/speech:v1beta1/quotaUser": quota_user +"/speech:v1beta1/fields": fields +"/speech:v1beta1/speech.operations.get": get_operation +"/speech:v1beta1/speech.operations.get/name": name +"/speech:v1beta1/speech.operations.list": list_operations +"/speech:v1beta1/speech.operations.list/pageSize": page_size +"/speech:v1beta1/speech.operations.list/filter": filter +"/speech:v1beta1/speech.operations.list/name": name +"/speech:v1beta1/speech.operations.list/pageToken": page_token +"/speech:v1beta1/speech.operations.delete": delete_operation +"/speech:v1beta1/speech.operations.delete/name": name +"/speech:v1beta1/speech.operations.cancel": cancel_operation +"/speech:v1beta1/speech.operations.cancel/name": name +"/speech:v1beta1/Status": status +"/speech:v1beta1/Status/code": code +"/speech:v1beta1/Status/details": details +"/speech:v1beta1/Status/details/detail": detail +"/speech:v1beta1/Status/details/detail/detail": detail +"/speech:v1beta1/Status/message": message +"/speech:v1beta1/RecognitionAudio": recognition_audio +"/speech:v1beta1/RecognitionAudio/content": content +"/speech:v1beta1/RecognitionAudio/uri": uri +"/speech:v1beta1/Operation": operation +"/speech:v1beta1/Operation/error": error +"/speech:v1beta1/Operation/done": done +"/speech:v1beta1/Operation/metadata": metadata +"/speech:v1beta1/Operation/metadata/metadatum": metadatum +"/speech:v1beta1/Operation/response": response +"/speech:v1beta1/Operation/response/response": response +"/speech:v1beta1/Operation/name": name +"/speech:v1beta1/SpeechRecognitionAlternative": speech_recognition_alternative +"/speech:v1beta1/SpeechRecognitionAlternative/transcript": transcript +"/speech:v1beta1/SpeechRecognitionAlternative/confidence": confidence +"/speech:v1beta1/CancelOperationRequest": cancel_operation_request +"/speech:v1beta1/RecognitionConfig": recognition_config +"/speech:v1beta1/RecognitionConfig/maxAlternatives": max_alternatives +"/speech:v1beta1/RecognitionConfig/languageCode": language_code +"/speech:v1beta1/RecognitionConfig/speechContext": speech_context +"/speech:v1beta1/RecognitionConfig/encoding": encoding +"/speech:v1beta1/RecognitionConfig/profanityFilter": profanity_filter +"/speech:v1beta1/RecognitionConfig/sampleRate": sample_rate +"/speech:v1beta1/SyncRecognizeRequest": sync_recognize_request +"/speech:v1beta1/SyncRecognizeRequest/audio": audio +"/speech:v1beta1/SyncRecognizeRequest/config": config +"/speech:v1beta1/SpeechRecognitionResult": speech_recognition_result +"/speech:v1beta1/SpeechRecognitionResult/alternatives": alternatives +"/speech:v1beta1/SpeechRecognitionResult/alternatives/alternative": alternative +"/speech:v1beta1/ListOperationsResponse": list_operations_response +"/speech:v1beta1/ListOperationsResponse/nextPageToken": next_page_token +"/speech:v1beta1/ListOperationsResponse/operations": operations +"/speech:v1beta1/ListOperationsResponse/operations/operation": operation +"/speech:v1beta1/Empty": empty +"/speech:v1beta1/SyncRecognizeResponse": sync_recognize_response +"/speech:v1beta1/SyncRecognizeResponse/results": results +"/speech:v1beta1/SyncRecognizeResponse/results/result": result +"/speech:v1beta1/SpeechContext": speech_context +"/speech:v1beta1/SpeechContext/phrases": phrases +"/speech:v1beta1/SpeechContext/phrases/phrase": phrase +"/speech:v1beta1/AsyncRecognizeRequest": async_recognize_request +"/speech:v1beta1/AsyncRecognizeRequest/audio": audio +"/speech:v1beta1/AsyncRecognizeRequest/config": config "/sqladmin:v1beta4/fields": fields "/sqladmin:v1beta4/key": key "/sqladmin:v1beta4/quotaUser": quota_user @@ -27505,6 +29963,9 @@ "/sqladmin:v1beta4/sql.instances.stopReplica": stop_instance_replica "/sqladmin:v1beta4/sql.instances.stopReplica/instance": instance "/sqladmin:v1beta4/sql.instances.stopReplica/project": project +"/sqladmin:v1beta4/sql.instances.truncateLog": truncate_instance_log +"/sqladmin:v1beta4/sql.instances.truncateLog/instance": instance +"/sqladmin:v1beta4/sql.instances.truncateLog/project": project "/sqladmin:v1beta4/sql.instances.update": update_instance "/sqladmin:v1beta4/sql.instances.update/instance": instance "/sqladmin:v1beta4/sql.instances.update/project": project @@ -27600,6 +30061,7 @@ "/sqladmin:v1beta4/DatabaseFlags/value": value "/sqladmin:v1beta4/DatabaseInstance": database_instance "/sqladmin:v1beta4/DatabaseInstance/backendType": backend_type +"/sqladmin:v1beta4/DatabaseInstance/connectionName": connection_name "/sqladmin:v1beta4/DatabaseInstance/currentDiskSize": current_disk_size "/sqladmin:v1beta4/DatabaseInstance/databaseVersion": database_version "/sqladmin:v1beta4/DatabaseInstance/etag": etag @@ -27678,6 +30140,8 @@ "/sqladmin:v1beta4/InstancesListResponse/kind": kind "/sqladmin:v1beta4/InstancesListResponse/nextPageToken": next_page_token "/sqladmin:v1beta4/InstancesRestoreBackupRequest/restoreBackupContext": restore_backup_context +"/sqladmin:v1beta4/InstancesTruncateLogRequest": instances_truncate_log_request +"/sqladmin:v1beta4/InstancesTruncateLogRequest/truncateLogContext": truncate_log_context "/sqladmin:v1beta4/IpConfiguration": ip_configuration "/sqladmin:v1beta4/IpConfiguration/authorizedNetworks": authorized_networks "/sqladmin:v1beta4/IpConfiguration/authorizedNetworks/authorized_network": authorized_network @@ -27686,6 +30150,7 @@ "/sqladmin:v1beta4/IpMapping": ip_mapping "/sqladmin:v1beta4/IpMapping/ipAddress": ip_address "/sqladmin:v1beta4/IpMapping/timeToRetire": time_to_retire +"/sqladmin:v1beta4/IpMapping/type": type "/sqladmin:v1beta4/LocationPreference": location_preference "/sqladmin:v1beta4/LocationPreference/followGaeApplication": follow_gae_application "/sqladmin:v1beta4/LocationPreference/kind": kind @@ -27799,6 +30264,9 @@ "/sqladmin:v1beta4/TiersListResponse/items": items "/sqladmin:v1beta4/TiersListResponse/items/item": item "/sqladmin:v1beta4/TiersListResponse/kind": kind +"/sqladmin:v1beta4/TruncateLogContext": truncate_log_context +"/sqladmin:v1beta4/TruncateLogContext/kind": kind +"/sqladmin:v1beta4/TruncateLogContext/logType": log_type "/sqladmin:v1beta4/User": user "/sqladmin:v1beta4/User/etag": etag "/sqladmin:v1beta4/User/host": host @@ -27918,7 +30386,6 @@ "/storage:v1/storage.objects.compose/destinationPredefinedAcl": destination_predefined_acl "/storage:v1/storage.objects.compose/ifGenerationMatch": if_generation_match "/storage:v1/storage.objects.compose/ifMetagenerationMatch": if_metageneration_match -"/storage:v1/storage.objects.compose/kmsKeyName": kms_key_name "/storage:v1/storage.objects.copy": copy_object "/storage:v1/storage.objects.copy/destinationBucket": destination_bucket "/storage:v1/storage.objects.copy/destinationObject": destination_object @@ -27959,7 +30426,6 @@ "/storage:v1/storage.objects.insert/ifGenerationNotMatch": if_generation_not_match "/storage:v1/storage.objects.insert/ifMetagenerationMatch": if_metageneration_match "/storage:v1/storage.objects.insert/ifMetagenerationNotMatch": if_metageneration_not_match -"/storage:v1/storage.objects.insert/kmsKeyName": kms_key_name "/storage:v1/storage.objects.insert/name": name "/storage:v1/storage.objects.insert/predefinedAcl": predefined_acl "/storage:v1/storage.objects.insert/projection": projection @@ -27983,7 +30449,6 @@ "/storage:v1/storage.objects.patch/projection": projection "/storage:v1/storage.objects.rewrite": rewrite_object "/storage:v1/storage.objects.rewrite/destinationBucket": destination_bucket -"/storage:v1/storage.objects.rewrite/destinationKmsKeyName": destination_kms_key_name "/storage:v1/storage.objects.rewrite/destinationObject": destination_object "/storage:v1/storage.objects.rewrite/destinationPredefinedAcl": destination_predefined_acl "/storage:v1/storage.objects.rewrite/ifGenerationMatch": if_generation_match @@ -28029,8 +30494,6 @@ "/storage:v1/Bucket/cors/cors_configuration/responseHeader/response_header": response_header "/storage:v1/Bucket/defaultObjectAcl": default_object_acl "/storage:v1/Bucket/defaultObjectAcl/default_object_acl": default_object_acl -"/storage:v1/Bucket/encryption": encryption -"/storage:v1/Bucket/encryption/default_kms_key_name": default_kms_key_name "/storage:v1/Bucket/etag": etag "/storage:v1/Bucket/id": id "/storage:v1/Bucket/kind": kind @@ -28038,11 +30501,14 @@ "/storage:v1/Bucket/lifecycle/rule": rule "/storage:v1/Bucket/lifecycle/rule/rule": rule "/storage:v1/Bucket/lifecycle/rule/rule/action": action +"/storage:v1/Bucket/lifecycle/rule/rule/action/storageClass": storage_class "/storage:v1/Bucket/lifecycle/rule/rule/action/type": type "/storage:v1/Bucket/lifecycle/rule/rule/condition": condition "/storage:v1/Bucket/lifecycle/rule/rule/condition/age": age "/storage:v1/Bucket/lifecycle/rule/rule/condition/createdBefore": created_before "/storage:v1/Bucket/lifecycle/rule/rule/condition/isLive": is_live +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass": matches_storage_class +"/storage:v1/Bucket/lifecycle/rule/rule/condition/matchesStorageClass/matches_storage_class": matches_storage_class "/storage:v1/Bucket/lifecycle/rule/rule/condition/numNewerVersions": num_newer_versions "/storage:v1/Bucket/location": location "/storage:v1/Bucket/logging": logging @@ -28125,7 +30591,6 @@ "/storage:v1/Object/generation": generation "/storage:v1/Object/id": id "/storage:v1/Object/kind": kind -"/storage:v1/Object/kmsKeyName": kms_key_name "/storage:v1/Object/md5Hash": md5_hash "/storage:v1/Object/mediaLink": media_link "/storage:v1/Object/metadata": metadata @@ -28140,6 +30605,7 @@ "/storage:v1/Object/storageClass": storage_class "/storage:v1/Object/timeCreated": time_created "/storage:v1/Object/timeDeleted": time_deleted +"/storage:v1/Object/timeStorageClassUpdated": time_storage_class_updated "/storage:v1/Object/updated": updated "/storage:v1/ObjectAccessControl": object_access_control "/storage:v1/ObjectAccessControl/bucket": bucket @@ -29253,6 +31719,7 @@ "/youtube:v3/youtube.liveStreams.update/part": part "/youtube:v3/youtube.playlistItems.delete": delete_playlist_item "/youtube:v3/youtube.playlistItems.delete/id": id +"/youtube:v3/youtube.playlistItems.delete/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.insert": insert_playlist_item "/youtube:v3/youtube.playlistItems.insert/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.insert/part": part @@ -29265,6 +31732,7 @@ "/youtube:v3/youtube.playlistItems.list/playlistId": playlist_id "/youtube:v3/youtube.playlistItems.list/videoId": video_id "/youtube:v3/youtube.playlistItems.update": update_playlist_item +"/youtube:v3/youtube.playlistItems.update/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.playlistItems.update/part": part "/youtube:v3/youtube.playlists.delete": delete_playlist "/youtube:v3/youtube.playlists.delete/id": id @@ -29369,7 +31837,9 @@ "/youtube:v3/youtube.videos.list/hl": hl "/youtube:v3/youtube.videos.list/id": id "/youtube:v3/youtube.videos.list/locale": locale +"/youtube:v3/youtube.videos.list/maxHeight": max_height "/youtube:v3/youtube.videos.list/maxResults": max_results +"/youtube:v3/youtube.videos.list/maxWidth": max_width "/youtube:v3/youtube.videos.list/myRating": my_rating "/youtube:v3/youtube.videos.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtube:v3/youtube.videos.list/pageToken": page_token @@ -29535,7 +32005,6 @@ "/youtube:v3/ChannelBrandingSettings/image": image "/youtube:v3/ChannelBrandingSettings/watch": watch "/youtube:v3/ChannelContentDetails": channel_content_details -"/youtube:v3/ChannelContentDetails/googlePlusUserId": google_plus_user_id "/youtube:v3/ChannelContentDetails/relatedPlaylists": related_playlists "/youtube:v3/ChannelContentDetails/relatedPlaylists/favorites": favorites "/youtube:v3/ChannelContentDetails/relatedPlaylists/likes": likes @@ -29662,7 +32131,6 @@ "/youtube:v3/CommentSnippet/authorChannelId": author_channel_id "/youtube:v3/CommentSnippet/authorChannelUrl": author_channel_url "/youtube:v3/CommentSnippet/authorDisplayName": author_display_name -"/youtube:v3/CommentSnippet/authorGoogleplusProfileUrl": author_googleplus_profile_url "/youtube:v3/CommentSnippet/authorProfileImageUrl": author_profile_image_url "/youtube:v3/CommentSnippet/canRate": can_rate "/youtube:v3/CommentSnippet/channelId": channel_id @@ -29745,6 +32213,7 @@ "/youtube:v3/ContentRating/lsfRating": lsf_rating "/youtube:v3/ContentRating/mccaaRating": mccaa_rating "/youtube:v3/ContentRating/mccypRating": mccyp_rating +"/youtube:v3/ContentRating/mcstRating": mcst_rating "/youtube:v3/ContentRating/mdaRating": mda_rating "/youtube:v3/ContentRating/medietilsynetRating": medietilsynet_rating "/youtube:v3/ContentRating/mekuRating": meku_rating @@ -30137,6 +32606,7 @@ "/youtube:v3/PlaylistItemContentDetails/note": note "/youtube:v3/PlaylistItemContentDetails/startAt": start_at "/youtube:v3/PlaylistItemContentDetails/videoId": video_id +"/youtube:v3/PlaylistItemContentDetails/videoPublishedAt": video_published_at "/youtube:v3/PlaylistItemListResponse/etag": etag "/youtube:v3/PlaylistItemListResponse/eventId": event_id "/youtube:v3/PlaylistItemListResponse/items": items @@ -30373,6 +32843,7 @@ "/youtube:v3/VideoContentDetails/definition": definition "/youtube:v3/VideoContentDetails/dimension": dimension "/youtube:v3/VideoContentDetails/duration": duration +"/youtube:v3/VideoContentDetails/hasCustomThumbnail": has_custom_thumbnail "/youtube:v3/VideoContentDetails/licensedContent": licensed_content "/youtube:v3/VideoContentDetails/projection": projection "/youtube:v3/VideoContentDetails/regionRestriction": region_restriction @@ -30391,7 +32862,6 @@ "/youtube:v3/VideoFileDetails/fileName": file_name "/youtube:v3/VideoFileDetails/fileSize": file_size "/youtube:v3/VideoFileDetails/fileType": file_type -"/youtube:v3/VideoFileDetails/recordingLocation": recording_location "/youtube:v3/VideoFileDetails/videoStreams": video_streams "/youtube:v3/VideoFileDetails/videoStreams/video_stream": video_stream "/youtube:v3/VideoFileDetailsAudioStream": video_file_details_audio_stream @@ -30437,7 +32907,9 @@ "/youtube:v3/VideoMonetizationDetails": video_monetization_details "/youtube:v3/VideoMonetizationDetails/access": access "/youtube:v3/VideoPlayer": video_player +"/youtube:v3/VideoPlayer/embedHeight": embed_height "/youtube:v3/VideoPlayer/embedHtml": embed_html +"/youtube:v3/VideoPlayer/embedWidth": embed_width "/youtube:v3/VideoProcessingDetails": video_processing_details "/youtube:v3/VideoProcessingDetails/editorSuggestionsAvailability": editor_suggestions_availability "/youtube:v3/VideoProcessingDetails/fileDetailsAvailability": file_details_availability @@ -30518,11 +32990,6 @@ "/youtubeAnalytics:v1/key": key "/youtubeAnalytics:v1/quotaUser": quota_user "/youtubeAnalytics:v1/userIp": user_ip -"/youtubeAnalytics:v1/youtubeAnalytics.batchReportDefinitions.list": list_batch_report_definitions -"/youtubeAnalytics:v1/youtubeAnalytics.batchReportDefinitions.list/onBehalfOfContentOwner": on_behalf_of_content_owner -"/youtubeAnalytics:v1/youtubeAnalytics.batchReports.list": list_batch_reports -"/youtubeAnalytics:v1/youtubeAnalytics.batchReports.list/batchReportDefinitionId": batch_report_definition_id -"/youtubeAnalytics:v1/youtubeAnalytics.batchReports.list/onBehalfOfContentOwner": on_behalf_of_content_owner "/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete": delete_group_item "/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete/id": id "/youtubeAnalytics:v1/youtubeAnalytics.groupItems.delete/onBehalfOfContentOwner": on_behalf_of_content_owner @@ -30554,33 +33021,6 @@ "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/sort": sort "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-date": start_date "/youtubeAnalytics:v1/youtubeAnalytics.reports.query/start-index": start_index -"/youtubeAnalytics:v1/BatchReport": batch_report -"/youtubeAnalytics:v1/BatchReport/id": id -"/youtubeAnalytics:v1/BatchReport/kind": kind -"/youtubeAnalytics:v1/BatchReport/outputs": outputs -"/youtubeAnalytics:v1/BatchReport/outputs/output": output -"/youtubeAnalytics:v1/BatchReport/outputs/output/downloadUrl": download_url -"/youtubeAnalytics:v1/BatchReport/outputs/output/format": format -"/youtubeAnalytics:v1/BatchReport/outputs/output/type": type -"/youtubeAnalytics:v1/BatchReport/reportId": report_id -"/youtubeAnalytics:v1/BatchReport/timeSpan": time_span -"/youtubeAnalytics:v1/BatchReport/timeSpan/endTime": end_time -"/youtubeAnalytics:v1/BatchReport/timeSpan/startTime": start_time -"/youtubeAnalytics:v1/BatchReport/timeUpdated": time_updated -"/youtubeAnalytics:v1/BatchReportDefinition": batch_report_definition -"/youtubeAnalytics:v1/BatchReportDefinition/id": id -"/youtubeAnalytics:v1/BatchReportDefinition/kind": kind -"/youtubeAnalytics:v1/BatchReportDefinition/name": name -"/youtubeAnalytics:v1/BatchReportDefinition/status": status -"/youtubeAnalytics:v1/BatchReportDefinition/type": type -"/youtubeAnalytics:v1/BatchReportDefinitionList": batch_report_definition_list -"/youtubeAnalytics:v1/BatchReportDefinitionList/items": items -"/youtubeAnalytics:v1/BatchReportDefinitionList/items/item": item -"/youtubeAnalytics:v1/BatchReportDefinitionList/kind": kind -"/youtubeAnalytics:v1/BatchReportList": batch_report_list -"/youtubeAnalytics:v1/BatchReportList/items": items -"/youtubeAnalytics:v1/BatchReportList/items/item": item -"/youtubeAnalytics:v1/BatchReportList/kind": kind "/youtubeAnalytics:v1/Group": group "/youtubeAnalytics:v1/Group/contentDetails": content_details "/youtubeAnalytics:v1/Group/contentDetails/itemCount": item_count @@ -30618,3 +33058,5087 @@ "/youtubeAnalytics:v1/ResultTable/rows": rows "/youtubeAnalytics:v1/ResultTable/rows/row": row "/youtubeAnalytics:v1/ResultTable/rows/row/row": row +"/youtubereporting:v1/key": key +"/youtubereporting:v1/quotaUser": quota_user +"/youtubereporting:v1/fields": fields +"/youtubereporting:v1/youtubereporting.reportTypes.list": list_report_types +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.reportTypes.list/includeSystemManaged": include_system_managed +"/youtubereporting:v1/youtubereporting.reportTypes.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.reportTypes.list/pageToken": page_token +"/youtubereporting:v1/youtubereporting.media.download": download_medium +"/youtubereporting:v1/youtubereporting.media.download/resourceName": resource_name +"/youtubereporting:v1/youtubereporting.jobs.create": create_job +"/youtubereporting:v1/youtubereporting.jobs.create/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.get": get_job +"/youtubereporting:v1/youtubereporting.jobs.get/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.list": list_jobs +"/youtubereporting:v1/youtubereporting.jobs.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.jobs.list/includeSystemManaged": include_system_managed +"/youtubereporting:v1/youtubereporting.jobs.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.list/pageToken": page_token +"/youtubereporting:v1/youtubereporting.jobs.delete": delete_job +"/youtubereporting:v1/youtubereporting.jobs.delete/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.delete/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.get": get_job_report +"/youtubereporting:v1/youtubereporting.jobs.reports.get/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.reports.get/reportId": report_id +"/youtubereporting:v1/youtubereporting.jobs.reports.get/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list": list_job_reports +"/youtubereporting:v1/youtubereporting.jobs.reports.list/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeAtOrAfter": start_time_at_or_after +"/youtubereporting:v1/youtubereporting.jobs.reports.list/startTimeBefore": start_time_before +"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageSize": page_size +"/youtubereporting:v1/youtubereporting.jobs.reports.list/createdAfter": created_after +"/youtubereporting:v1/youtubereporting.jobs.reports.list/jobId": job_id +"/youtubereporting:v1/youtubereporting.jobs.reports.list/pageToken": page_token +"/youtubereporting:v1/Report": report +"/youtubereporting:v1/Report/id": id +"/youtubereporting:v1/Report/downloadUrl": download_url +"/youtubereporting:v1/Report/endTime": end_time +"/youtubereporting:v1/Report/createTime": create_time +"/youtubereporting:v1/Report/startTime": start_time +"/youtubereporting:v1/Report/jobExpireTime": job_expire_time +"/youtubereporting:v1/Report/jobId": job_id +"/youtubereporting:v1/ListJobsResponse": list_jobs_response +"/youtubereporting:v1/ListJobsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListJobsResponse/jobs": jobs +"/youtubereporting:v1/ListJobsResponse/jobs/job": job +"/youtubereporting:v1/Media": media +"/youtubereporting:v1/Media/resourceName": resource_name +"/youtubereporting:v1/Job": job +"/youtubereporting:v1/Job/id": id +"/youtubereporting:v1/Job/createTime": create_time +"/youtubereporting:v1/Job/systemManaged": system_managed +"/youtubereporting:v1/Job/expireTime": expire_time +"/youtubereporting:v1/Job/name": name +"/youtubereporting:v1/Job/reportTypeId": report_type_id +"/youtubereporting:v1/Empty": empty +"/youtubereporting:v1/ReportType": report_type +"/youtubereporting:v1/ReportType/systemManaged": system_managed +"/youtubereporting:v1/ReportType/deprecateTime": deprecate_time +"/youtubereporting:v1/ReportType/id": id +"/youtubereporting:v1/ReportType/name": name +"/youtubereporting:v1/ListReportsResponse": list_reports_response +"/youtubereporting:v1/ListReportsResponse/nextPageToken": next_page_token +"/youtubereporting:v1/ListReportsResponse/reports": reports +"/youtubereporting:v1/ListReportsResponse/reports/report": report +"/youtubereporting:v1/ListReportTypesResponse": list_report_types_response +"/youtubereporting:v1/ListReportTypesResponse/reportTypes": report_types +"/youtubereporting:v1/ListReportTypesResponse/reportTypes/report_type": report_type +"/youtubereporting:v1/ListReportTypesResponse/nextPageToken": next_page_token +"/compute:beta/compute.instanceGroupManagers.patch": patch_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.patch/project": project +"/compute:beta/compute.instanceGroupManagers.patch/zone": zone +"/compute:beta/compute.instanceGroupManagers.update": update_instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/instanceGroupManager": instance_group_manager +"/compute:beta/compute.instanceGroupManagers.update/project": project +"/compute:beta/compute.instanceGroupManagers.update/zone": zone +"/compute:beta/BackendService/cdnPolicy": cdn_policy +"/compute:beta/BackendServiceCdnPolicy": backend_service_cdn_policy +"/compute:beta/BackendServiceCdnPolicy/cacheKeyPolicy": cache_key_policy +"/compute:beta/CacheKeyPolicy": cache_key_policy +"/compute:beta/CacheKeyPolicy/includeHost": include_host +"/compute:beta/CacheKeyPolicy/includeProtocol": include_protocol +"/compute:beta/CacheKeyPolicy/includeQueryString": include_query_string +"/compute:beta/CacheKeyPolicy/queryStringBlacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringBlacklist/query_string_blacklist": query_string_blacklist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist": query_string_whitelist +"/compute:beta/CacheKeyPolicy/queryStringWhitelist/query_string_whitelist": query_string_whitelist +"/compute:beta/NetworkInterface/kind": kind +"/androidenterprise:v1/NewDeviceEvent": new_device_event +"/androidenterprise:v1/NewDeviceEvent/deviceId": device_id +"/androidenterprise:v1/NewDeviceEvent/managementType": management_type +"/androidenterprise:v1/NewDeviceEvent/userId": user_id +"/androidenterprise:v1/Notification/newDeviceEvent": new_device_event +"/compute:v1/compute.instances.setServiceAccount": set_instance_service_account +"/compute:v1/compute.instances.setServiceAccount/instance": instance +"/compute:v1/compute.instances.setServiceAccount/project": project +"/compute:v1/compute.instances.setServiceAccount/zone": zone +"/compute:v1/InstancesSetServiceAccountRequest": instances_set_service_account_request +"/compute:v1/InstancesSetServiceAccountRequest/email": email +"/compute:v1/InstancesSetServiceAccountRequest/scopes": scopes +"/compute:v1/InstancesSetServiceAccountRequest/scopes/scope": scope +"/compute:v1/NetworkInterface/kind": kind +"/dataflow:v1b3/CounterUpdate/distribution": distribution +"/dataflow:v1b3/DistributionUpdate": distribution_update +"/dataflow:v1b3/DistributionUpdate/min": min +"/dataflow:v1b3/DistributionUpdate/max": max +"/dataflow:v1b3/DistributionUpdate/count": count +"/dataflow:v1b3/DistributionUpdate/sum": sum +"/dataflow:v1b3/DistributionUpdate/sumOfSquares": sum_of_squares +"/kgsearch:v1/SearchResponse/@context": _context +"/kgsearch:v1/SearchResponse/@type": _type +"/sheets:v4/DeleteRangeRequest": delete_range_request +"/sheets:v4/DeleteRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/DeleteRangeRequest/range": range +"/sheets:v4/InsertRangeRequest": insert_range_request +"/sheets:v4/InsertRangeRequest/shiftDimension": shift_dimension +"/sheets:v4/InsertRangeRequest/range": range +"/sheets:v4/Request/insertRange": insert_range +"/sheets:v4/Request/deleteRange": delete_range +"/dns:v2beta1/fields": fields +"/dns:v2beta1/key": key +"/dns:v2beta1/quotaUser": quota_user +"/dns:v2beta1/userIp": user_ip +"/dns:v2beta1/dns.changes.create": create_change +"/dns:v2beta1/dns.changes.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.create/managedZone": managed_zone +"/dns:v2beta1/dns.changes.create/project": project +"/dns:v2beta1/dns.changes.get": get_change +"/dns:v2beta1/dns.changes.get/changeId": change_id +"/dns:v2beta1/dns.changes.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.changes.get/managedZone": managed_zone +"/dns:v2beta1/dns.changes.get/project": project +"/dns:v2beta1/dns.changes.list": list_changes +"/dns:v2beta1/dns.changes.list/managedZone": managed_zone +"/dns:v2beta1/dns.changes.list/maxResults": max_results +"/dns:v2beta1/dns.changes.list/pageToken": page_token +"/dns:v2beta1/dns.changes.list/project": project +"/dns:v2beta1/dns.changes.list/sortBy": sort_by +"/dns:v2beta1/dns.changes.list/sortOrder": sort_order +"/dns:v2beta1/dns.dnsKeys.get": get_dns_key +"/dns:v2beta1/dns.dnsKeys.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.dnsKeys.get/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.get/dnsKeyId": dns_key_id +"/dns:v2beta1/dns.dnsKeys.get/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.get/project": project +"/dns:v2beta1/dns.dnsKeys.list": list_dns_keys +"/dns:v2beta1/dns.dnsKeys.list/digestType": digest_type +"/dns:v2beta1/dns.dnsKeys.list/managedZone": managed_zone +"/dns:v2beta1/dns.dnsKeys.list/maxResults": max_results +"/dns:v2beta1/dns.dnsKeys.list/pageToken": page_token +"/dns:v2beta1/dns.dnsKeys.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.get": get_managed_zone_operation +"/dns:v2beta1/dns.managedZoneOperations.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZoneOperations.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.get/operation": operation +"/dns:v2beta1/dns.managedZoneOperations.get/project": project +"/dns:v2beta1/dns.managedZoneOperations.list": list_managed_zone_operations +"/dns:v2beta1/dns.managedZoneOperations.list/managedZone": managed_zone +"/dns:v2beta1/dns.managedZoneOperations.list/maxResults": max_results +"/dns:v2beta1/dns.managedZoneOperations.list/pageToken": page_token +"/dns:v2beta1/dns.managedZoneOperations.list/project": project +"/dns:v2beta1/dns.managedZoneOperations.list/sortBy": sort_by +"/dns:v2beta1/dns.managedZones.create": create_managed_zone +"/dns:v2beta1/dns.managedZones.create/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.create/project": project +"/dns:v2beta1/dns.managedZones.delete": delete_managed_zone +"/dns:v2beta1/dns.managedZones.delete/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.delete/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.delete/project": project +"/dns:v2beta1/dns.managedZones.get": get_managed_zone +"/dns:v2beta1/dns.managedZones.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.get/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.get/project": project +"/dns:v2beta1/dns.managedZones.list": list_managed_zones +"/dns:v2beta1/dns.managedZones.list/dnsName": dns_name +"/dns:v2beta1/dns.managedZones.list/maxResults": max_results +"/dns:v2beta1/dns.managedZones.list/pageToken": page_token +"/dns:v2beta1/dns.managedZones.list/project": project +"/dns:v2beta1/dns.managedZones.patch": patch_managed_zone +"/dns:v2beta1/dns.managedZones.patch/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.patch/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.patch/project": project +"/dns:v2beta1/dns.managedZones.update": update_managed_zone +"/dns:v2beta1/dns.managedZones.update/clientOperationId": client_operation_id +"/dns:v2beta1/dns.managedZones.update/managedZone": managed_zone +"/dns:v2beta1/dns.managedZones.update/project": project +"/dns:v2beta1/dns.projects.get": get_project +"/dns:v2beta1/dns.projects.get/clientOperationId": client_operation_id +"/dns:v2beta1/dns.projects.get/project": project +"/dns:v2beta1/dns.resourceRecordSets.list": list_resource_record_sets +"/dns:v2beta1/dns.resourceRecordSets.list/managedZone": managed_zone +"/dns:v2beta1/dns.resourceRecordSets.list/maxResults": max_results +"/dns:v2beta1/dns.resourceRecordSets.list/name": name +"/dns:v2beta1/dns.resourceRecordSets.list/pageToken": page_token +"/dns:v2beta1/dns.resourceRecordSets.list/project": project +"/dns:v2beta1/dns.resourceRecordSets.list/type": type +"/dns:v2beta1/Change": change +"/dns:v2beta1/Change/additions": additions +"/dns:v2beta1/Change/additions/addition": addition +"/dns:v2beta1/Change/deletions": deletions +"/dns:v2beta1/Change/deletions/deletion": deletion +"/dns:v2beta1/Change/id": id +"/dns:v2beta1/Change/isServing": is_serving +"/dns:v2beta1/Change/kind": kind +"/dns:v2beta1/Change/startTime": start_time +"/dns:v2beta1/Change/status": status +"/dns:v2beta1/ChangesListResponse": changes_list_response +"/dns:v2beta1/ChangesListResponse/changes": changes +"/dns:v2beta1/ChangesListResponse/changes/change": change +"/dns:v2beta1/ChangesListResponse/header": header +"/dns:v2beta1/ChangesListResponse/kind": kind +"/dns:v2beta1/ChangesListResponse/nextPageToken": next_page_token +"/dns:v2beta1/DnsKey": dns_key +"/dns:v2beta1/DnsKey/algorithm": algorithm +"/dns:v2beta1/DnsKey/creationTime": creation_time +"/dns:v2beta1/DnsKey/description": description +"/dns:v2beta1/DnsKey/digests": digests +"/dns:v2beta1/DnsKey/digests/digest": digest +"/dns:v2beta1/DnsKey/id": id +"/dns:v2beta1/DnsKey/isActive": is_active +"/dns:v2beta1/DnsKey/keyLength": key_length +"/dns:v2beta1/DnsKey/keyTag": key_tag +"/dns:v2beta1/DnsKey/kind": kind +"/dns:v2beta1/DnsKey/publicKey": public_key +"/dns:v2beta1/DnsKey/type": type +"/dns:v2beta1/DnsKeyDigest": dns_key_digest +"/dns:v2beta1/DnsKeyDigest/digest": digest +"/dns:v2beta1/DnsKeyDigest/type": type +"/dns:v2beta1/DnsKeySpec": dns_key_spec +"/dns:v2beta1/DnsKeySpec/algorithm": algorithm +"/dns:v2beta1/DnsKeySpec/keyLength": key_length +"/dns:v2beta1/DnsKeySpec/keyType": key_type +"/dns:v2beta1/DnsKeySpec/kind": kind +"/dns:v2beta1/DnsKeysListResponse": dns_keys_list_response +"/dns:v2beta1/DnsKeysListResponse/dnsKeys": dns_keys +"/dns:v2beta1/DnsKeysListResponse/dnsKeys/dns_key": dns_key +"/dns:v2beta1/DnsKeysListResponse/header": header +"/dns:v2beta1/DnsKeysListResponse/kind": kind +"/dns:v2beta1/DnsKeysListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ManagedZone": managed_zone +"/dns:v2beta1/ManagedZone/creationTime": creation_time +"/dns:v2beta1/ManagedZone/description": description +"/dns:v2beta1/ManagedZone/dnsName": dns_name +"/dns:v2beta1/ManagedZone/dnssecConfig": dnssec_config +"/dns:v2beta1/ManagedZone/id": id +"/dns:v2beta1/ManagedZone/kind": kind +"/dns:v2beta1/ManagedZone/name": name +"/dns:v2beta1/ManagedZone/nameServerSet": name_server_set +"/dns:v2beta1/ManagedZone/nameServers": name_servers +"/dns:v2beta1/ManagedZone/nameServers/name_server": name_server +"/dns:v2beta1/ManagedZoneDnsSecConfig": managed_zone_dns_sec_config +"/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs": default_key_specs +"/dns:v2beta1/ManagedZoneDnsSecConfig/defaultKeySpecs/default_key_spec": default_key_spec +"/dns:v2beta1/ManagedZoneDnsSecConfig/kind": kind +"/dns:v2beta1/ManagedZoneDnsSecConfig/nonExistence": non_existence +"/dns:v2beta1/ManagedZoneDnsSecConfig/state": state +"/dns:v2beta1/ManagedZoneOperationsListResponse": managed_zone_operations_list_response +"/dns:v2beta1/ManagedZoneOperationsListResponse/header": header +"/dns:v2beta1/ManagedZoneOperationsListResponse/kind": kind +"/dns:v2beta1/ManagedZoneOperationsListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ManagedZoneOperationsListResponse/operations": operations +"/dns:v2beta1/ManagedZoneOperationsListResponse/operations/operation": operation +"/dns:v2beta1/ManagedZonesDeleteResponse": managed_zones_delete_response +"/dns:v2beta1/ManagedZonesDeleteResponse/header": header +"/dns:v2beta1/ManagedZonesListResponse": managed_zones_list_response +"/dns:v2beta1/ManagedZonesListResponse/header": header +"/dns:v2beta1/ManagedZonesListResponse/kind": kind +"/dns:v2beta1/ManagedZonesListResponse/managedZones": managed_zones +"/dns:v2beta1/ManagedZonesListResponse/managedZones/managed_zone": managed_zone +"/dns:v2beta1/ManagedZonesListResponse/nextPageToken": next_page_token +"/dns:v2beta1/Operation": operation +"/dns:v2beta1/Operation/dnsKeyContext": dns_key_context +"/dns:v2beta1/Operation/id": id +"/dns:v2beta1/Operation/kind": kind +"/dns:v2beta1/Operation/startTime": start_time +"/dns:v2beta1/Operation/status": status +"/dns:v2beta1/Operation/type": type +"/dns:v2beta1/Operation/user": user +"/dns:v2beta1/Operation/zoneContext": zone_context +"/dns:v2beta1/OperationDnsKeyContext": operation_dns_key_context +"/dns:v2beta1/OperationDnsKeyContext/newValue": new_value +"/dns:v2beta1/OperationDnsKeyContext/oldValue": old_value +"/dns:v2beta1/OperationManagedZoneContext": operation_managed_zone_context +"/dns:v2beta1/OperationManagedZoneContext/newValue": new_value +"/dns:v2beta1/OperationManagedZoneContext/oldValue": old_value +"/dns:v2beta1/Project": project +"/dns:v2beta1/Project/id": id +"/dns:v2beta1/Project/kind": kind +"/dns:v2beta1/Project/number": number +"/dns:v2beta1/Project/quota": quota +"/dns:v2beta1/Quota": quota +"/dns:v2beta1/Quota/dnsKeysPerManagedZone": dns_keys_per_managed_zone +"/dns:v2beta1/Quota/kind": kind +"/dns:v2beta1/Quota/managedZones": managed_zones +"/dns:v2beta1/Quota/resourceRecordsPerRrset": resource_records_per_rrset +"/dns:v2beta1/Quota/rrsetAdditionsPerChange": rrset_additions_per_change +"/dns:v2beta1/Quota/rrsetDeletionsPerChange": rrset_deletions_per_change +"/dns:v2beta1/Quota/rrsetsPerManagedZone": rrsets_per_managed_zone +"/dns:v2beta1/Quota/totalRrdataSizePerChange": total_rrdata_size_per_change +"/dns:v2beta1/Quota/whitelistedKeySpecs": whitelisted_key_specs +"/dns:v2beta1/Quota/whitelistedKeySpecs/whitelisted_key_spec": whitelisted_key_spec +"/dns:v2beta1/ResourceRecordSet": resource_record_set +"/dns:v2beta1/ResourceRecordSet/kind": kind +"/dns:v2beta1/ResourceRecordSet/name": name +"/dns:v2beta1/ResourceRecordSet/rrdatas": rrdatas +"/dns:v2beta1/ResourceRecordSet/rrdatas/rrdata": rrdata +"/dns:v2beta1/ResourceRecordSet/signatureRrdatas": signature_rrdatas +"/dns:v2beta1/ResourceRecordSet/signatureRrdatas/signature_rrdata": signature_rrdata +"/dns:v2beta1/ResourceRecordSet/ttl": ttl +"/dns:v2beta1/ResourceRecordSet/type": type +"/dns:v2beta1/ResourceRecordSetsListResponse": resource_record_sets_list_response +"/dns:v2beta1/ResourceRecordSetsListResponse/header": header +"/dns:v2beta1/ResourceRecordSetsListResponse/kind": kind +"/dns:v2beta1/ResourceRecordSetsListResponse/nextPageToken": next_page_token +"/dns:v2beta1/ResourceRecordSetsListResponse/rrsets": rrsets +"/dns:v2beta1/ResourceRecordSetsListResponse/rrsets/rrset": rrset +"/dns:v2beta1/ResponseHeader": response_header +"/dns:v2beta1/ResponseHeader/operationId": operation_id +"/dfareporting:v2.7/fields": fields +"/dfareporting:v2.7/key": key +"/dfareporting:v2.7/quotaUser": quota_user +"/dfareporting:v2.7/userIp": user_ip +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get": get_account_active_ad_summary +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountActiveAdSummaries.get/summaryAccountId": summary_account_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get": get_account_permission_group +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list": list_account_permission_groups +"/dfareporting:v2.7/dfareporting.accountPermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.get": get_account_permission +"/dfareporting:v2.7/dfareporting.accountPermissions.get/id": id +"/dfareporting:v2.7/dfareporting.accountPermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountPermissions.list": list_account_permissions +"/dfareporting:v2.7/dfareporting.accountPermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get": get_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert": insert_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list": list_account_user_profiles +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/active": active +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/ids": ids +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.list/userRoleId": user_role_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch": patch_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/id": id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update": update_account_user_profile +"/dfareporting:v2.7/dfareporting.accountUserProfiles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.get": get_account +"/dfareporting:v2.7/dfareporting.accounts.get/id": id +"/dfareporting:v2.7/dfareporting.accounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list": list_accounts +"/dfareporting:v2.7/dfareporting.accounts.list/active": active +"/dfareporting:v2.7/dfareporting.accounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.accounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.accounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.accounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.accounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.accounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.accounts.patch": patch_account +"/dfareporting:v2.7/dfareporting.accounts.patch/id": id +"/dfareporting:v2.7/dfareporting.accounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.accounts.update": update_account +"/dfareporting:v2.7/dfareporting.accounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.get": get_ad +"/dfareporting:v2.7/dfareporting.ads.get/id": id +"/dfareporting:v2.7/dfareporting.ads.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.insert": insert_ad +"/dfareporting:v2.7/dfareporting.ads.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list": list_ads +"/dfareporting:v2.7/dfareporting.ads.list/active": active +"/dfareporting:v2.7/dfareporting.ads.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.ads.list/archived": archived +"/dfareporting:v2.7/dfareporting.ads.list/audienceSegmentIds": audience_segment_ids +"/dfareporting:v2.7/dfareporting.ads.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.ads.list/compatibility": compatibility +"/dfareporting:v2.7/dfareporting.ads.list/creativeIds": creative_ids +"/dfareporting:v2.7/dfareporting.ads.list/creativeOptimizationConfigurationIds": creative_optimization_configuration_ids +"/dfareporting:v2.7/dfareporting.ads.list/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.7/dfareporting.ads.list/ids": ids +"/dfareporting:v2.7/dfareporting.ads.list/landingPageIds": landing_page_ids +"/dfareporting:v2.7/dfareporting.ads.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.ads.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.ads.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.ads.list/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.ads.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.list/remarketingListIds": remarketing_list_ids +"/dfareporting:v2.7/dfareporting.ads.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.ads.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.ads.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.ads.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.ads.list/sslCompliant": ssl_compliant +"/dfareporting:v2.7/dfareporting.ads.list/sslRequired": ssl_required +"/dfareporting:v2.7/dfareporting.ads.list/type": type +"/dfareporting:v2.7/dfareporting.ads.patch": patch_ad +"/dfareporting:v2.7/dfareporting.ads.patch/id": id +"/dfareporting:v2.7/dfareporting.ads.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.ads.update": update_ad +"/dfareporting:v2.7/dfareporting.ads.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete": delete_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get": get_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert": insert_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list": list_advertiser_groups +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertiserGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch": patch_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.advertiserGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertiserGroups.update": update_advertiser_group +"/dfareporting:v2.7/dfareporting.advertiserGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.get": get_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.get/id": id +"/dfareporting:v2.7/dfareporting.advertisers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.insert": insert_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list": list_advertisers +"/dfareporting:v2.7/dfareporting.advertisers.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/floodlightConfigurationIds": floodlight_configuration_ids +"/dfareporting:v2.7/dfareporting.advertisers.list/ids": ids +"/dfareporting:v2.7/dfareporting.advertisers.list/includeAdvertisersWithoutGroupsOnly": include_advertisers_without_groups_only +"/dfareporting:v2.7/dfareporting.advertisers.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.advertisers.list/onlyParent": only_parent +"/dfareporting:v2.7/dfareporting.advertisers.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.advertisers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.advertisers.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.advertisers.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.advertisers.list/status": status +"/dfareporting:v2.7/dfareporting.advertisers.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.advertisers.patch": patch_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.patch/id": id +"/dfareporting:v2.7/dfareporting.advertisers.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.advertisers.update": update_advertiser +"/dfareporting:v2.7/dfareporting.advertisers.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.browsers.list": list_browsers +"/dfareporting:v2.7/dfareporting.browsers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert": insert_campaign_creative_association +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list": list_campaign_creative_associations +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaignCreativeAssociations.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.get": get_campaign +"/dfareporting:v2.7/dfareporting.campaigns.get/id": id +"/dfareporting:v2.7/dfareporting.campaigns.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.insert": insert_campaign +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageName": default_landing_page_name +"/dfareporting:v2.7/dfareporting.campaigns.insert/defaultLandingPageUrl": default_landing_page_url +"/dfareporting:v2.7/dfareporting.campaigns.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list": list_campaigns +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserGroupIds": advertiser_group_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/archived": archived +"/dfareporting:v2.7/dfareporting.campaigns.list/atLeastOneOptimizationActivity": at_least_one_optimization_activity +"/dfareporting:v2.7/dfareporting.campaigns.list/excludedIds": excluded_ids +"/dfareporting:v2.7/dfareporting.campaigns.list/ids": ids +"/dfareporting:v2.7/dfareporting.campaigns.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.campaigns.list/overriddenEventTagId": overridden_event_tag_id +"/dfareporting:v2.7/dfareporting.campaigns.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.campaigns.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.campaigns.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.campaigns.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.campaigns.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.campaigns.patch": patch_campaign +"/dfareporting:v2.7/dfareporting.campaigns.patch/id": id +"/dfareporting:v2.7/dfareporting.campaigns.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.campaigns.update": update_campaign +"/dfareporting:v2.7/dfareporting.campaigns.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.get": get_change_log +"/dfareporting:v2.7/dfareporting.changeLogs.get/id": id +"/dfareporting:v2.7/dfareporting.changeLogs.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list": list_change_logs +"/dfareporting:v2.7/dfareporting.changeLogs.list/action": action +"/dfareporting:v2.7/dfareporting.changeLogs.list/ids": ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxChangeTime": max_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.changeLogs.list/minChangeTime": min_change_time +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectIds": object_ids +"/dfareporting:v2.7/dfareporting.changeLogs.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.changeLogs.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.changeLogs.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.changeLogs.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.changeLogs.list/userProfileIds": user_profile_ids +"/dfareporting:v2.7/dfareporting.cities.list": list_cities +"/dfareporting:v2.7/dfareporting.cities.list/countryDartIds": country_dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/dartIds": dart_ids +"/dfareporting:v2.7/dfareporting.cities.list/namePrefix": name_prefix +"/dfareporting:v2.7/dfareporting.cities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.cities.list/regionDartIds": region_dart_ids +"/dfareporting:v2.7/dfareporting.connectionTypes.get": get_connection_type +"/dfareporting:v2.7/dfareporting.connectionTypes.get/id": id +"/dfareporting:v2.7/dfareporting.connectionTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.connectionTypes.list": list_connection_types +"/dfareporting:v2.7/dfareporting.connectionTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.delete": delete_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.delete/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.get": get_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.get/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.insert": insert_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list": list_content_categories +"/dfareporting:v2.7/dfareporting.contentCategories.list/ids": ids +"/dfareporting:v2.7/dfareporting.contentCategories.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.contentCategories.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.contentCategories.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.contentCategories.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.contentCategories.patch": patch_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.patch/id": id +"/dfareporting:v2.7/dfareporting.contentCategories.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.contentCategories.update": update_content_category +"/dfareporting:v2.7/dfareporting.contentCategories.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.conversions.batchinsert": batchinsert_conversion +"/dfareporting:v2.7/dfareporting.conversions.batchinsert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.get": get_country +"/dfareporting:v2.7/dfareporting.countries.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.countries.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.countries.list": list_countries +"/dfareporting:v2.7/dfareporting.countries.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert": insert_creative_asset +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creativeAssets.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete": delete_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get": get_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert": insert_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list": list_creative_field_values +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFieldValues.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch": patch_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update": update_creative_field_value +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/creativeFieldId": creative_field_id +"/dfareporting:v2.7/dfareporting.creativeFieldValues.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.delete": delete_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.delete/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.get": get_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.get/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.insert": insert_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list": list_creative_fields +"/dfareporting:v2.7/dfareporting.creativeFields.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeFields.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeFields.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeFields.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeFields.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeFields.patch": patch_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeFields.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeFields.update": update_creative_field +"/dfareporting:v2.7/dfareporting.creativeFields.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.get": get_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.get/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.insert": insert_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list": list_creative_groups +"/dfareporting:v2.7/dfareporting.creativeGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/groupNumber": group_number +"/dfareporting:v2.7/dfareporting.creativeGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.creativeGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creativeGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creativeGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creativeGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creativeGroups.patch": patch_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.creativeGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creativeGroups.update": update_creative_group +"/dfareporting:v2.7/dfareporting.creativeGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.get": get_creative +"/dfareporting:v2.7/dfareporting.creatives.get/id": id +"/dfareporting:v2.7/dfareporting.creatives.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.insert": insert_creative +"/dfareporting:v2.7/dfareporting.creatives.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list": list_creatives +"/dfareporting:v2.7/dfareporting.creatives.list/active": active +"/dfareporting:v2.7/dfareporting.creatives.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.creatives.list/archived": archived +"/dfareporting:v2.7/dfareporting.creatives.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.creatives.list/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.7/dfareporting.creatives.list/creativeFieldIds": creative_field_ids +"/dfareporting:v2.7/dfareporting.creatives.list/ids": ids +"/dfareporting:v2.7/dfareporting.creatives.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.creatives.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.creatives.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.list/renderingIds": rendering_ids +"/dfareporting:v2.7/dfareporting.creatives.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.creatives.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.creatives.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.creatives.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.creatives.list/studioCreativeId": studio_creative_id +"/dfareporting:v2.7/dfareporting.creatives.list/types": types +"/dfareporting:v2.7/dfareporting.creatives.patch": patch_creative +"/dfareporting:v2.7/dfareporting.creatives.patch/id": id +"/dfareporting:v2.7/dfareporting.creatives.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.creatives.update": update_creative +"/dfareporting:v2.7/dfareporting.creatives.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dimensionValues.query": query_dimension_value +"/dfareporting:v2.7/dfareporting.dimensionValues.query/maxResults": max_results +"/dfareporting:v2.7/dfareporting.dimensionValues.query/pageToken": page_token +"/dfareporting:v2.7/dfareporting.dimensionValues.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get": get_directory_site_contact +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/id": id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list": list_directory_site_contacts +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySiteContacts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.directorySites.get": get_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.get/id": id +"/dfareporting:v2.7/dfareporting.directorySites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.insert": insert_directory_site +"/dfareporting:v2.7/dfareporting.directorySites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list": list_directory_sites +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.directorySites.list/active": active +"/dfareporting:v2.7/dfareporting.directorySites.list/countryId": country_id +"/dfareporting:v2.7/dfareporting.directorySites.list/dfp_network_code": dfp_network_code +"/dfareporting:v2.7/dfareporting.directorySites.list/ids": ids +"/dfareporting:v2.7/dfareporting.directorySites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.directorySites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.directorySites.list/parentId": parent_id +"/dfareporting:v2.7/dfareporting.directorySites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.directorySites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.directorySites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.directorySites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete": delete_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/name": name +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert": insert_dynamic_targeting_key +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list": list_dynamic_targeting_keys +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/names": names +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectId": object_id_ +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/objectType": object_type +"/dfareporting:v2.7/dfareporting.dynamicTargetingKeys.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.delete": delete_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.delete/id": id +"/dfareporting:v2.7/dfareporting.eventTags.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.get": get_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.get/id": id +"/dfareporting:v2.7/dfareporting.eventTags.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.insert": insert_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list": list_event_tags +"/dfareporting:v2.7/dfareporting.eventTags.list/adId": ad_id +"/dfareporting:v2.7/dfareporting.eventTags.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.eventTags.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.eventTags.list/definitionsOnly": definitions_only +"/dfareporting:v2.7/dfareporting.eventTags.list/enabled": enabled +"/dfareporting:v2.7/dfareporting.eventTags.list/eventTagTypes": event_tag_types +"/dfareporting:v2.7/dfareporting.eventTags.list/ids": ids +"/dfareporting:v2.7/dfareporting.eventTags.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.eventTags.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.eventTags.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.eventTags.patch": patch_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.patch/id": id +"/dfareporting:v2.7/dfareporting.eventTags.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.eventTags.update": update_event_tag +"/dfareporting:v2.7/dfareporting.eventTags.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.get": get_file +"/dfareporting:v2.7/dfareporting.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.files.list": list_files +"/dfareporting:v2.7/dfareporting.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.files.list/scope": scope +"/dfareporting:v2.7/dfareporting.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete": delete_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag": generatetag_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.generatetag/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get": get_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert": insert_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list": list_floodlight_activities +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupIds": floodlight_activity_group_ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivities.list/tagString": tag_string +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch": patch_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivities.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivities.update": update_floodlight_activity +"/dfareporting:v2.7/dfareporting.floodlightActivities.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get": get_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert": insert_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list": list_floodlight_activity_groups +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.list/type": type +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch": patch_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update": update_floodlight_activity_group +"/dfareporting:v2.7/dfareporting.floodlightActivityGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get": get_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list": list_floodlight_configurations +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/ids": ids +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch": patch_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/id": id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update": update_floodlight_configuration +"/dfareporting:v2.7/dfareporting.floodlightConfigurations.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get": get_inventory_item +"/dfareporting:v2.7/dfareporting.inventoryItems.get/id": id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list": list_inventory_items +"/dfareporting:v2.7/dfareporting.inventoryItems.list/ids": ids +"/dfareporting:v2.7/dfareporting.inventoryItems.list/inPlan": in_plan +"/dfareporting:v2.7/dfareporting.inventoryItems.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.inventoryItems.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.inventoryItems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.inventoryItems.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.inventoryItems.list/type": type +"/dfareporting:v2.7/dfareporting.landingPages.delete": delete_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.delete/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.delete/id": id +"/dfareporting:v2.7/dfareporting.landingPages.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.get": get_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.get/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.get/id": id +"/dfareporting:v2.7/dfareporting.landingPages.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.insert": insert_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.insert/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.list": list_landing_pages +"/dfareporting:v2.7/dfareporting.landingPages.list/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.patch": patch_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.patch/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.patch/id": id +"/dfareporting:v2.7/dfareporting.landingPages.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.landingPages.update": update_landing_page +"/dfareporting:v2.7/dfareporting.landingPages.update/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.landingPages.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.languages.list": list_languages +"/dfareporting:v2.7/dfareporting.languages.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.metros.list": list_metros +"/dfareporting:v2.7/dfareporting.metros.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get": get_mobile_carrier +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/id": id +"/dfareporting:v2.7/dfareporting.mobileCarriers.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.mobileCarriers.list": list_mobile_carriers +"/dfareporting:v2.7/dfareporting.mobileCarriers.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get": get_operating_system_version +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/id": id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list": list_operating_system_versions +"/dfareporting:v2.7/dfareporting.operatingSystemVersions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get": get_operating_system +"/dfareporting:v2.7/dfareporting.operatingSystems.get/dartId": dart_id +"/dfareporting:v2.7/dfareporting.operatingSystems.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.operatingSystems.list": list_operating_systems +"/dfareporting:v2.7/dfareporting.operatingSystems.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get": get_order_document +"/dfareporting:v2.7/dfareporting.orderDocuments.get/id": id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list": list_order_documents +"/dfareporting:v2.7/dfareporting.orderDocuments.list/approved": approved +"/dfareporting:v2.7/dfareporting.orderDocuments.list/ids": ids +"/dfareporting:v2.7/dfareporting.orderDocuments.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orderDocuments.list/orderId": order_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orderDocuments.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orderDocuments.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orderDocuments.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.orders.get": get_order +"/dfareporting:v2.7/dfareporting.orders.get/id": id +"/dfareporting:v2.7/dfareporting.orders.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.get/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list": list_orders +"/dfareporting:v2.7/dfareporting.orders.list/ids": ids +"/dfareporting:v2.7/dfareporting.orders.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.orders.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.orders.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.orders.list/projectId": project_id +"/dfareporting:v2.7/dfareporting.orders.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.orders.list/siteId": site_id +"/dfareporting:v2.7/dfareporting.orders.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.orders.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.get": get_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.get/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.insert": insert_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list": list_placement_groups +"/dfareporting:v2.7/dfareporting.placementGroups.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/archived": archived +"/dfareporting:v2.7/dfareporting.placementGroups.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementGroups.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placementGroups.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementGroupType": placement_group_type +"/dfareporting:v2.7/dfareporting.placementGroups.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placementGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementGroups.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementGroups.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementGroups.patch": patch_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.patch/id": id +"/dfareporting:v2.7/dfareporting.placementGroups.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementGroups.update": update_placement_group +"/dfareporting:v2.7/dfareporting.placementGroups.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete": delete_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.get": get_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.get/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.insert": insert_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list": list_placement_strategies +"/dfareporting:v2.7/dfareporting.placementStrategies.list/ids": ids +"/dfareporting:v2.7/dfareporting.placementStrategies.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placementStrategies.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placementStrategies.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placementStrategies.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placementStrategies.patch": patch_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/id": id +"/dfareporting:v2.7/dfareporting.placementStrategies.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placementStrategies.update": update_placement_strategy +"/dfareporting:v2.7/dfareporting.placementStrategies.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags": generatetags_placement +"/dfareporting:v2.7/dfareporting.placements.generatetags/campaignId": campaign_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/placementIds": placement_ids +"/dfareporting:v2.7/dfareporting.placements.generatetags/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.generatetags/tagFormats": tag_formats +"/dfareporting:v2.7/dfareporting.placements.get": get_placement +"/dfareporting:v2.7/dfareporting.placements.get/id": id +"/dfareporting:v2.7/dfareporting.placements.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.insert": insert_placement +"/dfareporting:v2.7/dfareporting.placements.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list": list_placements +"/dfareporting:v2.7/dfareporting.placements.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.placements.list/archived": archived +"/dfareporting:v2.7/dfareporting.placements.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.placements.list/compatibilities": compatibilities +"/dfareporting:v2.7/dfareporting.placements.list/contentCategoryIds": content_category_ids +"/dfareporting:v2.7/dfareporting.placements.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.placements.list/groupIds": group_ids +"/dfareporting:v2.7/dfareporting.placements.list/ids": ids +"/dfareporting:v2.7/dfareporting.placements.list/maxEndDate": max_end_date +"/dfareporting:v2.7/dfareporting.placements.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.placements.list/maxStartDate": max_start_date +"/dfareporting:v2.7/dfareporting.placements.list/minEndDate": min_end_date +"/dfareporting:v2.7/dfareporting.placements.list/minStartDate": min_start_date +"/dfareporting:v2.7/dfareporting.placements.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.placements.list/paymentSource": payment_source +"/dfareporting:v2.7/dfareporting.placements.list/placementStrategyIds": placement_strategy_ids +"/dfareporting:v2.7/dfareporting.placements.list/pricingTypes": pricing_types +"/dfareporting:v2.7/dfareporting.placements.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.placements.list/siteIds": site_ids +"/dfareporting:v2.7/dfareporting.placements.list/sizeIds": size_ids +"/dfareporting:v2.7/dfareporting.placements.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.placements.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.placements.patch": patch_placement +"/dfareporting:v2.7/dfareporting.placements.patch/id": id +"/dfareporting:v2.7/dfareporting.placements.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.placements.update": update_placement +"/dfareporting:v2.7/dfareporting.placements.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.get": get_platform_type +"/dfareporting:v2.7/dfareporting.platformTypes.get/id": id +"/dfareporting:v2.7/dfareporting.platformTypes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.platformTypes.list": list_platform_types +"/dfareporting:v2.7/dfareporting.platformTypes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.get": get_postal_code +"/dfareporting:v2.7/dfareporting.postalCodes.get/code": code +"/dfareporting:v2.7/dfareporting.postalCodes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.postalCodes.list": list_postal_codes +"/dfareporting:v2.7/dfareporting.postalCodes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.get": get_project +"/dfareporting:v2.7/dfareporting.projects.get/id": id +"/dfareporting:v2.7/dfareporting.projects.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list": list_projects +"/dfareporting:v2.7/dfareporting.projects.list/advertiserIds": advertiser_ids +"/dfareporting:v2.7/dfareporting.projects.list/ids": ids +"/dfareporting:v2.7/dfareporting.projects.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.projects.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.projects.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.projects.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.projects.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.projects.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.regions.list": list_regions +"/dfareporting:v2.7/dfareporting.regions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get": get_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.get/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch": patch_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.patch/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/dfareporting.remarketingListShares.update": update_remarketing_list_share +"/dfareporting:v2.7/dfareporting.remarketingListShares.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.get": get_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.insert": insert_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list": list_remarketing_lists +"/dfareporting:v2.7/dfareporting.remarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.remarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.remarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.remarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.remarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.remarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.remarketingLists.patch": patch_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/id": id +"/dfareporting:v2.7/dfareporting.remarketingLists.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.remarketingLists.update": update_remarketing_list +"/dfareporting:v2.7/dfareporting.remarketingLists.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete": delete_report +"/dfareporting:v2.7/dfareporting.reports.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.delete/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.get": get_report +"/dfareporting:v2.7/dfareporting.reports.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.insert": insert_report +"/dfareporting:v2.7/dfareporting.reports.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list": list_reports +"/dfareporting:v2.7/dfareporting.reports.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.list/scope": scope +"/dfareporting:v2.7/dfareporting.reports.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.reports.patch": patch_report +"/dfareporting:v2.7/dfareporting.reports.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.patch/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run": run_report +"/dfareporting:v2.7/dfareporting.reports.run/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.run/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.run/synchronous": synchronous +"/dfareporting:v2.7/dfareporting.reports.update": update_report +"/dfareporting:v2.7/dfareporting.reports.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.update/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query": query_report_compatible_field +"/dfareporting:v2.7/dfareporting.reports.compatibleFields.query/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.get": get_report_file +"/dfareporting:v2.7/dfareporting.reports.files.get/fileId": file_id +"/dfareporting:v2.7/dfareporting.reports.files.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.get/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list": list_report_files +"/dfareporting:v2.7/dfareporting.reports.files.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.reports.files.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.reports.files.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.reports.files.list/reportId": report_id +"/dfareporting:v2.7/dfareporting.reports.files.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.reports.files.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.sites.get": get_site +"/dfareporting:v2.7/dfareporting.sites.get/id": id +"/dfareporting:v2.7/dfareporting.sites.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.insert": insert_site +"/dfareporting:v2.7/dfareporting.sites.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list": list_sites +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInStreamVideoPlacements": accepts_in_stream_video_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsInterstitialPlacements": accepts_interstitial_placements +"/dfareporting:v2.7/dfareporting.sites.list/acceptsPublisherPaidPlacements": accepts_publisher_paid_placements +"/dfareporting:v2.7/dfareporting.sites.list/adWordsSite": ad_words_site +"/dfareporting:v2.7/dfareporting.sites.list/approved": approved +"/dfareporting:v2.7/dfareporting.sites.list/campaignIds": campaign_ids +"/dfareporting:v2.7/dfareporting.sites.list/directorySiteIds": directory_site_ids +"/dfareporting:v2.7/dfareporting.sites.list/ids": ids +"/dfareporting:v2.7/dfareporting.sites.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.sites.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.sites.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.sites.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.sites.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.sites.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.sites.list/unmappedSite": unmapped_site +"/dfareporting:v2.7/dfareporting.sites.patch": patch_site +"/dfareporting:v2.7/dfareporting.sites.patch/id": id +"/dfareporting:v2.7/dfareporting.sites.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sites.update": update_site +"/dfareporting:v2.7/dfareporting.sites.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.get": get_size +"/dfareporting:v2.7/dfareporting.sizes.get/id": id +"/dfareporting:v2.7/dfareporting.sizes.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.insert": insert_size +"/dfareporting:v2.7/dfareporting.sizes.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list": list_sizes +"/dfareporting:v2.7/dfareporting.sizes.list/height": height +"/dfareporting:v2.7/dfareporting.sizes.list/iabStandard": iab_standard +"/dfareporting:v2.7/dfareporting.sizes.list/ids": ids +"/dfareporting:v2.7/dfareporting.sizes.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.sizes.list/width": width +"/dfareporting:v2.7/dfareporting.subaccounts.get": get_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.get/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.insert": insert_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list": list_subaccounts +"/dfareporting:v2.7/dfareporting.subaccounts.list/ids": ids +"/dfareporting:v2.7/dfareporting.subaccounts.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.subaccounts.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.subaccounts.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.subaccounts.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.subaccounts.patch": patch_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.patch/id": id +"/dfareporting:v2.7/dfareporting.subaccounts.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.subaccounts.update": update_subaccount +"/dfareporting:v2.7/dfareporting.subaccounts.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get": get_targetable_remarketing_list +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/id": id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list": list_targetable_remarketing_lists +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/active": active +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/name": name +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetableRemarketingLists.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.get": get_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert": insert_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list": list_targeting_templates +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/advertiserId": advertiser_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/ids": ids +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.targetingTemplates.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch": patch_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/id": id +"/dfareporting:v2.7/dfareporting.targetingTemplates.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.targetingTemplates.update": update_targeting_template +"/dfareporting:v2.7/dfareporting.targetingTemplates.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.get": get_user_profile +"/dfareporting:v2.7/dfareporting.userProfiles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userProfiles.list": list_user_profiles +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get": get_user_role_permission_group +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list": list_user_role_permission_groups +"/dfareporting:v2.7/dfareporting.userRolePermissionGroups.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get": get_user_role_permission +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/id": id +"/dfareporting:v2.7/dfareporting.userRolePermissions.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRolePermissions.list": list_user_role_permissions +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRolePermissions.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.delete": delete_user_role +"/dfareporting:v2.7/dfareporting.userRoles.delete/id": id +"/dfareporting:v2.7/dfareporting.userRoles.delete/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.get": get_user_role +"/dfareporting:v2.7/dfareporting.userRoles.get/id": id +"/dfareporting:v2.7/dfareporting.userRoles.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.insert": insert_user_role +"/dfareporting:v2.7/dfareporting.userRoles.insert/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list": list_user_roles +"/dfareporting:v2.7/dfareporting.userRoles.list/accountUserRoleOnly": account_user_role_only +"/dfareporting:v2.7/dfareporting.userRoles.list/ids": ids +"/dfareporting:v2.7/dfareporting.userRoles.list/maxResults": max_results +"/dfareporting:v2.7/dfareporting.userRoles.list/pageToken": page_token +"/dfareporting:v2.7/dfareporting.userRoles.list/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.list/searchString": search_string +"/dfareporting:v2.7/dfareporting.userRoles.list/sortField": sort_field +"/dfareporting:v2.7/dfareporting.userRoles.list/sortOrder": sort_order +"/dfareporting:v2.7/dfareporting.userRoles.list/subaccountId": subaccount_id +"/dfareporting:v2.7/dfareporting.userRoles.patch": patch_user_role +"/dfareporting:v2.7/dfareporting.userRoles.patch/id": id +"/dfareporting:v2.7/dfareporting.userRoles.patch/profileId": profile_id +"/dfareporting:v2.7/dfareporting.userRoles.update": update_user_role +"/dfareporting:v2.7/dfareporting.userRoles.update/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.get": get_video_format +"/dfareporting:v2.7/dfareporting.videoFormats.get/id": id +"/dfareporting:v2.7/dfareporting.videoFormats.get/profileId": profile_id +"/dfareporting:v2.7/dfareporting.videoFormats.list": list_video_formats +"/dfareporting:v2.7/dfareporting.videoFormats.list/profileId": profile_id +"/dfareporting:v2.7/Account": account +"/dfareporting:v2.7/Account/accountPermissionIds": account_permission_ids +"/dfareporting:v2.7/Account/accountPermissionIds/account_permission_id": account_permission_id +"/dfareporting:v2.7/Account/accountProfile": account_profile +"/dfareporting:v2.7/Account/active": active +"/dfareporting:v2.7/Account/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.7/Account/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/Account/availablePermissionIds": available_permission_ids +"/dfareporting:v2.7/Account/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.7/Account/countryId": country_id +"/dfareporting:v2.7/Account/currencyId": currency_id +"/dfareporting:v2.7/Account/defaultCreativeSizeId": default_creative_size_id +"/dfareporting:v2.7/Account/description": description +"/dfareporting:v2.7/Account/id": id +"/dfareporting:v2.7/Account/kind": kind +"/dfareporting:v2.7/Account/locale": locale +"/dfareporting:v2.7/Account/maximumImageSize": maximum_image_size +"/dfareporting:v2.7/Account/name": name +"/dfareporting:v2.7/Account/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.7/Account/reportsConfiguration": reports_configuration +"/dfareporting:v2.7/Account/shareReportsWithTwitter": share_reports_with_twitter +"/dfareporting:v2.7/Account/teaserSizeLimit": teaser_size_limit +"/dfareporting:v2.7/AccountActiveAdSummary": account_active_ad_summary +"/dfareporting:v2.7/AccountActiveAdSummary/accountId": account_id +"/dfareporting:v2.7/AccountActiveAdSummary/activeAds": active_ads +"/dfareporting:v2.7/AccountActiveAdSummary/activeAdsLimitTier": active_ads_limit_tier +"/dfareporting:v2.7/AccountActiveAdSummary/availableAds": available_ads +"/dfareporting:v2.7/AccountActiveAdSummary/kind": kind +"/dfareporting:v2.7/AccountPermission": account_permission +"/dfareporting:v2.7/AccountPermission/accountProfiles": account_profiles +"/dfareporting:v2.7/AccountPermission/accountProfiles/account_profile": account_profile +"/dfareporting:v2.7/AccountPermission/id": id +"/dfareporting:v2.7/AccountPermission/kind": kind +"/dfareporting:v2.7/AccountPermission/level": level +"/dfareporting:v2.7/AccountPermission/name": name +"/dfareporting:v2.7/AccountPermission/permissionGroupId": permission_group_id +"/dfareporting:v2.7/AccountPermissionGroup": account_permission_group +"/dfareporting:v2.7/AccountPermissionGroup/id": id +"/dfareporting:v2.7/AccountPermissionGroup/kind": kind +"/dfareporting:v2.7/AccountPermissionGroup/name": name +"/dfareporting:v2.7/AccountPermissionGroupsListResponse": account_permission_groups_list_response +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/accountPermissionGroups": account_permission_groups +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/accountPermissionGroups/account_permission_group": account_permission_group +"/dfareporting:v2.7/AccountPermissionGroupsListResponse/kind": kind +"/dfareporting:v2.7/AccountPermissionsListResponse": account_permissions_list_response +"/dfareporting:v2.7/AccountPermissionsListResponse/accountPermissions": account_permissions +"/dfareporting:v2.7/AccountPermissionsListResponse/accountPermissions/account_permission": account_permission +"/dfareporting:v2.7/AccountPermissionsListResponse/kind": kind +"/dfareporting:v2.7/AccountUserProfile": account_user_profile +"/dfareporting:v2.7/AccountUserProfile/accountId": account_id +"/dfareporting:v2.7/AccountUserProfile/active": active +"/dfareporting:v2.7/AccountUserProfile/advertiserFilter": advertiser_filter +"/dfareporting:v2.7/AccountUserProfile/campaignFilter": campaign_filter +"/dfareporting:v2.7/AccountUserProfile/comments": comments +"/dfareporting:v2.7/AccountUserProfile/email": email +"/dfareporting:v2.7/AccountUserProfile/id": id +"/dfareporting:v2.7/AccountUserProfile/kind": kind +"/dfareporting:v2.7/AccountUserProfile/locale": locale +"/dfareporting:v2.7/AccountUserProfile/name": name +"/dfareporting:v2.7/AccountUserProfile/siteFilter": site_filter +"/dfareporting:v2.7/AccountUserProfile/subaccountId": subaccount_id +"/dfareporting:v2.7/AccountUserProfile/traffickerType": trafficker_type +"/dfareporting:v2.7/AccountUserProfile/userAccessType": user_access_type +"/dfareporting:v2.7/AccountUserProfile/userRoleFilter": user_role_filter +"/dfareporting:v2.7/AccountUserProfile/userRoleId": user_role_id +"/dfareporting:v2.7/AccountUserProfilesListResponse": account_user_profiles_list_response +"/dfareporting:v2.7/AccountUserProfilesListResponse/accountUserProfiles": account_user_profiles +"/dfareporting:v2.7/AccountUserProfilesListResponse/accountUserProfiles/account_user_profile": account_user_profile +"/dfareporting:v2.7/AccountUserProfilesListResponse/kind": kind +"/dfareporting:v2.7/AccountUserProfilesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AccountsListResponse": accounts_list_response +"/dfareporting:v2.7/AccountsListResponse/accounts": accounts +"/dfareporting:v2.7/AccountsListResponse/accounts/account": account +"/dfareporting:v2.7/AccountsListResponse/kind": kind +"/dfareporting:v2.7/AccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/Activities": activities +"/dfareporting:v2.7/Activities/filters": filters +"/dfareporting:v2.7/Activities/filters/filter": filter +"/dfareporting:v2.7/Activities/kind": kind +"/dfareporting:v2.7/Activities/metricNames": metric_names +"/dfareporting:v2.7/Activities/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Ad": ad +"/dfareporting:v2.7/Ad/accountId": account_id +"/dfareporting:v2.7/Ad/active": active +"/dfareporting:v2.7/Ad/advertiserId": advertiser_id +"/dfareporting:v2.7/Ad/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Ad/archived": archived +"/dfareporting:v2.7/Ad/audienceSegmentId": audience_segment_id +"/dfareporting:v2.7/Ad/campaignId": campaign_id +"/dfareporting:v2.7/Ad/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/Ad/clickThroughUrl": click_through_url +"/dfareporting:v2.7/Ad/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/Ad/comments": comments +"/dfareporting:v2.7/Ad/compatibility": compatibility +"/dfareporting:v2.7/Ad/createInfo": create_info +"/dfareporting:v2.7/Ad/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.7/Ad/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.7/Ad/creativeRotation": creative_rotation +"/dfareporting:v2.7/Ad/dayPartTargeting": day_part_targeting +"/dfareporting:v2.7/Ad/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/Ad/deliverySchedule": delivery_schedule +"/dfareporting:v2.7/Ad/dynamicClickTracker": dynamic_click_tracker +"/dfareporting:v2.7/Ad/endTime": end_time +"/dfareporting:v2.7/Ad/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.7/Ad/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.7/Ad/geoTargeting": geo_targeting +"/dfareporting:v2.7/Ad/id": id +"/dfareporting:v2.7/Ad/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Ad/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/Ad/kind": kind +"/dfareporting:v2.7/Ad/languageTargeting": language_targeting +"/dfareporting:v2.7/Ad/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Ad/name": name +"/dfareporting:v2.7/Ad/placementAssignments": placement_assignments +"/dfareporting:v2.7/Ad/placementAssignments/placement_assignment": placement_assignment +"/dfareporting:v2.7/Ad/remarketingListExpression": remarketing_list_expression +"/dfareporting:v2.7/Ad/size": size +"/dfareporting:v2.7/Ad/sslCompliant": ssl_compliant +"/dfareporting:v2.7/Ad/sslRequired": ssl_required +"/dfareporting:v2.7/Ad/startTime": start_time +"/dfareporting:v2.7/Ad/subaccountId": subaccount_id +"/dfareporting:v2.7/Ad/targetingTemplateId": targeting_template_id +"/dfareporting:v2.7/Ad/technologyTargeting": technology_targeting +"/dfareporting:v2.7/Ad/type": type +"/dfareporting:v2.7/AdSlot": ad_slot +"/dfareporting:v2.7/AdSlot/comment": comment +"/dfareporting:v2.7/AdSlot/compatibility": compatibility +"/dfareporting:v2.7/AdSlot/height": height +"/dfareporting:v2.7/AdSlot/linkedPlacementId": linked_placement_id +"/dfareporting:v2.7/AdSlot/name": name +"/dfareporting:v2.7/AdSlot/paymentSourceType": payment_source_type +"/dfareporting:v2.7/AdSlot/primary": primary +"/dfareporting:v2.7/AdSlot/width": width +"/dfareporting:v2.7/AdsListResponse": ads_list_response +"/dfareporting:v2.7/AdsListResponse/ads": ads +"/dfareporting:v2.7/AdsListResponse/ads/ad": ad +"/dfareporting:v2.7/AdsListResponse/kind": kind +"/dfareporting:v2.7/AdsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/Advertiser": advertiser +"/dfareporting:v2.7/Advertiser/accountId": account_id +"/dfareporting:v2.7/Advertiser/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.7/Advertiser/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.7/Advertiser/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.7/Advertiser/defaultEmail": default_email +"/dfareporting:v2.7/Advertiser/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/Advertiser/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/Advertiser/id": id +"/dfareporting:v2.7/Advertiser/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Advertiser/kind": kind +"/dfareporting:v2.7/Advertiser/name": name +"/dfareporting:v2.7/Advertiser/originalFloodlightConfigurationId": original_floodlight_configuration_id +"/dfareporting:v2.7/Advertiser/status": status +"/dfareporting:v2.7/Advertiser/subaccountId": subaccount_id +"/dfareporting:v2.7/Advertiser/suspended": suspended +"/dfareporting:v2.7/AdvertiserGroup": advertiser_group +"/dfareporting:v2.7/AdvertiserGroup/accountId": account_id +"/dfareporting:v2.7/AdvertiserGroup/id": id +"/dfareporting:v2.7/AdvertiserGroup/kind": kind +"/dfareporting:v2.7/AdvertiserGroup/name": name +"/dfareporting:v2.7/AdvertiserGroupsListResponse": advertiser_groups_list_response +"/dfareporting:v2.7/AdvertiserGroupsListResponse/advertiserGroups": advertiser_groups +"/dfareporting:v2.7/AdvertiserGroupsListResponse/advertiserGroups/advertiser_group": advertiser_group +"/dfareporting:v2.7/AdvertiserGroupsListResponse/kind": kind +"/dfareporting:v2.7/AdvertiserGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AdvertisersListResponse": advertisers_list_response +"/dfareporting:v2.7/AdvertisersListResponse/advertisers": advertisers +"/dfareporting:v2.7/AdvertisersListResponse/advertisers/advertiser": advertiser +"/dfareporting:v2.7/AdvertisersListResponse/kind": kind +"/dfareporting:v2.7/AdvertisersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/AudienceSegment": audience_segment +"/dfareporting:v2.7/AudienceSegment/allocation": allocation +"/dfareporting:v2.7/AudienceSegment/id": id +"/dfareporting:v2.7/AudienceSegment/name": name +"/dfareporting:v2.7/AudienceSegmentGroup": audience_segment_group +"/dfareporting:v2.7/AudienceSegmentGroup/audienceSegments": audience_segments +"/dfareporting:v2.7/AudienceSegmentGroup/audienceSegments/audience_segment": audience_segment +"/dfareporting:v2.7/AudienceSegmentGroup/id": id +"/dfareporting:v2.7/AudienceSegmentGroup/name": name +"/dfareporting:v2.7/Browser": browser +"/dfareporting:v2.7/Browser/browserVersionId": browser_version_id +"/dfareporting:v2.7/Browser/dartId": dart_id +"/dfareporting:v2.7/Browser/kind": kind +"/dfareporting:v2.7/Browser/majorVersion": major_version +"/dfareporting:v2.7/Browser/minorVersion": minor_version +"/dfareporting:v2.7/Browser/name": name +"/dfareporting:v2.7/BrowsersListResponse": browsers_list_response +"/dfareporting:v2.7/BrowsersListResponse/browsers": browsers +"/dfareporting:v2.7/BrowsersListResponse/browsers/browser": browser +"/dfareporting:v2.7/BrowsersListResponse/kind": kind +"/dfareporting:v2.7/Campaign": campaign +"/dfareporting:v2.7/Campaign/accountId": account_id +"/dfareporting:v2.7/Campaign/additionalCreativeOptimizationConfigurations": additional_creative_optimization_configurations +"/dfareporting:v2.7/Campaign/additionalCreativeOptimizationConfigurations/additional_creative_optimization_configuration": additional_creative_optimization_configuration +"/dfareporting:v2.7/Campaign/advertiserGroupId": advertiser_group_id +"/dfareporting:v2.7/Campaign/advertiserId": advertiser_id +"/dfareporting:v2.7/Campaign/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Campaign/archived": archived +"/dfareporting:v2.7/Campaign/audienceSegmentGroups": audience_segment_groups +"/dfareporting:v2.7/Campaign/audienceSegmentGroups/audience_segment_group": audience_segment_group +"/dfareporting:v2.7/Campaign/billingInvoiceCode": billing_invoice_code +"/dfareporting:v2.7/Campaign/clickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/Campaign/comment": comment +"/dfareporting:v2.7/Campaign/createInfo": create_info +"/dfareporting:v2.7/Campaign/creativeGroupIds": creative_group_ids +"/dfareporting:v2.7/Campaign/creativeGroupIds/creative_group_id": creative_group_id +"/dfareporting:v2.7/Campaign/creativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.7/Campaign/defaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/Campaign/endDate": end_date +"/dfareporting:v2.7/Campaign/eventTagOverrides": event_tag_overrides +"/dfareporting:v2.7/Campaign/eventTagOverrides/event_tag_override": event_tag_override +"/dfareporting:v2.7/Campaign/externalId": external_id +"/dfareporting:v2.7/Campaign/id": id +"/dfareporting:v2.7/Campaign/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Campaign/kind": kind +"/dfareporting:v2.7/Campaign/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Campaign/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/Campaign/name": name +"/dfareporting:v2.7/Campaign/nielsenOcrEnabled": nielsen_ocr_enabled +"/dfareporting:v2.7/Campaign/startDate": start_date +"/dfareporting:v2.7/Campaign/subaccountId": subaccount_id +"/dfareporting:v2.7/Campaign/traffickerEmails": trafficker_emails +"/dfareporting:v2.7/Campaign/traffickerEmails/trafficker_email": trafficker_email +"/dfareporting:v2.7/CampaignCreativeAssociation": campaign_creative_association +"/dfareporting:v2.7/CampaignCreativeAssociation/creativeId": creative_id +"/dfareporting:v2.7/CampaignCreativeAssociation/kind": kind +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse": campaign_creative_associations_list_response +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations": campaign_creative_associations +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/campaignCreativeAssociations/campaign_creative_association": campaign_creative_association +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/kind": kind +"/dfareporting:v2.7/CampaignCreativeAssociationsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CampaignsListResponse": campaigns_list_response +"/dfareporting:v2.7/CampaignsListResponse/campaigns": campaigns +"/dfareporting:v2.7/CampaignsListResponse/campaigns/campaign": campaign +"/dfareporting:v2.7/CampaignsListResponse/kind": kind +"/dfareporting:v2.7/CampaignsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ChangeLog": change_log +"/dfareporting:v2.7/ChangeLog/accountId": account_id +"/dfareporting:v2.7/ChangeLog/action": action +"/dfareporting:v2.7/ChangeLog/changeTime": change_time +"/dfareporting:v2.7/ChangeLog/fieldName": field_name +"/dfareporting:v2.7/ChangeLog/id": id +"/dfareporting:v2.7/ChangeLog/kind": kind +"/dfareporting:v2.7/ChangeLog/newValue": new_value +"/dfareporting:v2.7/ChangeLog/objectId": object_id_prop +"/dfareporting:v2.7/ChangeLog/objectType": object_type +"/dfareporting:v2.7/ChangeLog/oldValue": old_value +"/dfareporting:v2.7/ChangeLog/subaccountId": subaccount_id +"/dfareporting:v2.7/ChangeLog/transactionId": transaction_id +"/dfareporting:v2.7/ChangeLog/userProfileId": user_profile_id +"/dfareporting:v2.7/ChangeLog/userProfileName": user_profile_name +"/dfareporting:v2.7/ChangeLogsListResponse": change_logs_list_response +"/dfareporting:v2.7/ChangeLogsListResponse/changeLogs": change_logs +"/dfareporting:v2.7/ChangeLogsListResponse/changeLogs/change_log": change_log +"/dfareporting:v2.7/ChangeLogsListResponse/kind": kind +"/dfareporting:v2.7/ChangeLogsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CitiesListResponse": cities_list_response +"/dfareporting:v2.7/CitiesListResponse/cities": cities +"/dfareporting:v2.7/CitiesListResponse/cities/city": city +"/dfareporting:v2.7/CitiesListResponse/kind": kind +"/dfareporting:v2.7/City": city +"/dfareporting:v2.7/City/countryCode": country_code +"/dfareporting:v2.7/City/countryDartId": country_dart_id +"/dfareporting:v2.7/City/dartId": dart_id +"/dfareporting:v2.7/City/kind": kind +"/dfareporting:v2.7/City/metroCode": metro_code +"/dfareporting:v2.7/City/metroDmaId": metro_dma_id +"/dfareporting:v2.7/City/name": name +"/dfareporting:v2.7/City/regionCode": region_code +"/dfareporting:v2.7/City/regionDartId": region_dart_id +"/dfareporting:v2.7/ClickTag": click_tag +"/dfareporting:v2.7/ClickTag/eventName": event_name +"/dfareporting:v2.7/ClickTag/name": name +"/dfareporting:v2.7/ClickTag/value": value +"/dfareporting:v2.7/ClickThroughUrl": click_through_url +"/dfareporting:v2.7/ClickThroughUrl/computedClickThroughUrl": computed_click_through_url +"/dfareporting:v2.7/ClickThroughUrl/customClickThroughUrl": custom_click_through_url +"/dfareporting:v2.7/ClickThroughUrl/defaultLandingPage": default_landing_page +"/dfareporting:v2.7/ClickThroughUrl/landingPageId": landing_page_id +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties": click_through_url_suffix_properties +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties/clickThroughUrlSuffix": click_through_url_suffix +"/dfareporting:v2.7/ClickThroughUrlSuffixProperties/overrideInheritedSuffix": override_inherited_suffix +"/dfareporting:v2.7/CompanionClickThroughOverride": companion_click_through_override +"/dfareporting:v2.7/CompanionClickThroughOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.7/CompanionClickThroughOverride/creativeId": creative_id +"/dfareporting:v2.7/CompanionSetting": companion_setting +"/dfareporting:v2.7/CompanionSetting/companionsDisabled": companions_disabled +"/dfareporting:v2.7/CompanionSetting/enabledSizes": enabled_sizes +"/dfareporting:v2.7/CompanionSetting/enabledSizes/enabled_size": enabled_size +"/dfareporting:v2.7/CompanionSetting/imageOnly": image_only +"/dfareporting:v2.7/CompanionSetting/kind": kind +"/dfareporting:v2.7/CompatibleFields": compatible_fields +"/dfareporting:v2.7/CompatibleFields/crossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/floodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/kind": kind +"/dfareporting:v2.7/CompatibleFields/pathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/reachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.7/CompatibleFields/reportCompatibleFields": report_compatible_fields +"/dfareporting:v2.7/ConnectionType": connection_type +"/dfareporting:v2.7/ConnectionType/id": id +"/dfareporting:v2.7/ConnectionType/kind": kind +"/dfareporting:v2.7/ConnectionType/name": name +"/dfareporting:v2.7/ConnectionTypesListResponse": connection_types_list_response +"/dfareporting:v2.7/ConnectionTypesListResponse/connectionTypes": connection_types +"/dfareporting:v2.7/ConnectionTypesListResponse/connectionTypes/connection_type": connection_type +"/dfareporting:v2.7/ConnectionTypesListResponse/kind": kind +"/dfareporting:v2.7/ContentCategoriesListResponse": content_categories_list_response +"/dfareporting:v2.7/ContentCategoriesListResponse/contentCategories": content_categories +"/dfareporting:v2.7/ContentCategoriesListResponse/contentCategories/content_category": content_category +"/dfareporting:v2.7/ContentCategoriesListResponse/kind": kind +"/dfareporting:v2.7/ContentCategoriesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ContentCategory": content_category +"/dfareporting:v2.7/ContentCategory/accountId": account_id +"/dfareporting:v2.7/ContentCategory/id": id +"/dfareporting:v2.7/ContentCategory/kind": kind +"/dfareporting:v2.7/ContentCategory/name": name +"/dfareporting:v2.7/Conversion": conversion +"/dfareporting:v2.7/Conversion/childDirectedTreatment": child_directed_treatment +"/dfareporting:v2.7/Conversion/customVariables": custom_variables +"/dfareporting:v2.7/Conversion/customVariables/custom_variable": custom_variable +"/dfareporting:v2.7/Conversion/encryptedUserId": encrypted_user_id +"/dfareporting:v2.7/Conversion/encryptedUserIdCandidates": encrypted_user_id_candidates +"/dfareporting:v2.7/Conversion/encryptedUserIdCandidates/encrypted_user_id_candidate": encrypted_user_id_candidate +"/dfareporting:v2.7/Conversion/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/Conversion/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/Conversion/kind": kind +"/dfareporting:v2.7/Conversion/limitAdTracking": limit_ad_tracking +"/dfareporting:v2.7/Conversion/mobileDeviceId": mobile_device_id +"/dfareporting:v2.7/Conversion/ordinal": ordinal +"/dfareporting:v2.7/Conversion/quantity": quantity +"/dfareporting:v2.7/Conversion/timestampMicros": timestamp_micros +"/dfareporting:v2.7/Conversion/value": value +"/dfareporting:v2.7/ConversionError": conversion_error +"/dfareporting:v2.7/ConversionError/code": code +"/dfareporting:v2.7/ConversionError/kind": kind +"/dfareporting:v2.7/ConversionError/message": message +"/dfareporting:v2.7/ConversionStatus": conversion_status +"/dfareporting:v2.7/ConversionStatus/conversion": conversion +"/dfareporting:v2.7/ConversionStatus/errors": errors +"/dfareporting:v2.7/ConversionStatus/errors/error": error +"/dfareporting:v2.7/ConversionStatus/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertRequest": conversions_batch_insert_request +"/dfareporting:v2.7/ConversionsBatchInsertRequest/conversions": conversions +"/dfareporting:v2.7/ConversionsBatchInsertRequest/conversions/conversion": conversion +"/dfareporting:v2.7/ConversionsBatchInsertRequest/encryptionInfo": encryption_info +"/dfareporting:v2.7/ConversionsBatchInsertRequest/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertResponse": conversions_batch_insert_response +"/dfareporting:v2.7/ConversionsBatchInsertResponse/hasFailures": has_failures +"/dfareporting:v2.7/ConversionsBatchInsertResponse/kind": kind +"/dfareporting:v2.7/ConversionsBatchInsertResponse/status": status +"/dfareporting:v2.7/ConversionsBatchInsertResponse/status/status": status +"/dfareporting:v2.7/CountriesListResponse": countries_list_response +"/dfareporting:v2.7/CountriesListResponse/countries": countries +"/dfareporting:v2.7/CountriesListResponse/countries/country": country +"/dfareporting:v2.7/CountriesListResponse/kind": kind +"/dfareporting:v2.7/Country": country +"/dfareporting:v2.7/Country/countryCode": country_code +"/dfareporting:v2.7/Country/dartId": dart_id +"/dfareporting:v2.7/Country/kind": kind +"/dfareporting:v2.7/Country/name": name +"/dfareporting:v2.7/Country/sslEnabled": ssl_enabled +"/dfareporting:v2.7/Creative": creative +"/dfareporting:v2.7/Creative/accountId": account_id +"/dfareporting:v2.7/Creative/active": active +"/dfareporting:v2.7/Creative/adParameters": ad_parameters +"/dfareporting:v2.7/Creative/adTagKeys": ad_tag_keys +"/dfareporting:v2.7/Creative/adTagKeys/ad_tag_key": ad_tag_key +"/dfareporting:v2.7/Creative/advertiserId": advertiser_id +"/dfareporting:v2.7/Creative/allowScriptAccess": allow_script_access +"/dfareporting:v2.7/Creative/archived": archived +"/dfareporting:v2.7/Creative/artworkType": artwork_type +"/dfareporting:v2.7/Creative/authoringSource": authoring_source +"/dfareporting:v2.7/Creative/authoringTool": authoring_tool +"/dfareporting:v2.7/Creative/auto_advance_images": auto_advance_images +"/dfareporting:v2.7/Creative/backgroundColor": background_color +"/dfareporting:v2.7/Creative/backupImageClickThroughUrl": backup_image_click_through_url +"/dfareporting:v2.7/Creative/backupImageFeatures": backup_image_features +"/dfareporting:v2.7/Creative/backupImageFeatures/backup_image_feature": backup_image_feature +"/dfareporting:v2.7/Creative/backupImageReportingLabel": backup_image_reporting_label +"/dfareporting:v2.7/Creative/backupImageTargetWindow": backup_image_target_window +"/dfareporting:v2.7/Creative/clickTags": click_tags +"/dfareporting:v2.7/Creative/clickTags/click_tag": click_tag +"/dfareporting:v2.7/Creative/commercialId": commercial_id +"/dfareporting:v2.7/Creative/companionCreatives": companion_creatives +"/dfareporting:v2.7/Creative/companionCreatives/companion_creative": companion_creative +"/dfareporting:v2.7/Creative/compatibility": compatibility +"/dfareporting:v2.7/Creative/compatibility/compatibility": compatibility +"/dfareporting:v2.7/Creative/convertFlashToHtml5": convert_flash_to_html5 +"/dfareporting:v2.7/Creative/counterCustomEvents": counter_custom_events +"/dfareporting:v2.7/Creative/counterCustomEvents/counter_custom_event": counter_custom_event +"/dfareporting:v2.7/Creative/creativeAssetSelection": creative_asset_selection +"/dfareporting:v2.7/Creative/creativeAssets": creative_assets +"/dfareporting:v2.7/Creative/creativeAssets/creative_asset": creative_asset +"/dfareporting:v2.7/Creative/creativeFieldAssignments": creative_field_assignments +"/dfareporting:v2.7/Creative/creativeFieldAssignments/creative_field_assignment": creative_field_assignment +"/dfareporting:v2.7/Creative/customKeyValues": custom_key_values +"/dfareporting:v2.7/Creative/customKeyValues/custom_key_value": custom_key_value +"/dfareporting:v2.7/Creative/dynamicAssetSelection": dynamic_asset_selection +"/dfareporting:v2.7/Creative/exitCustomEvents": exit_custom_events +"/dfareporting:v2.7/Creative/exitCustomEvents/exit_custom_event": exit_custom_event +"/dfareporting:v2.7/Creative/fsCommand": fs_command +"/dfareporting:v2.7/Creative/htmlCode": html_code +"/dfareporting:v2.7/Creative/htmlCodeLocked": html_code_locked +"/dfareporting:v2.7/Creative/id": id +"/dfareporting:v2.7/Creative/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Creative/kind": kind +"/dfareporting:v2.7/Creative/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Creative/latestTraffickedCreativeId": latest_trafficked_creative_id +"/dfareporting:v2.7/Creative/name": name +"/dfareporting:v2.7/Creative/overrideCss": override_css +"/dfareporting:v2.7/Creative/progressOffset": progress_offset +"/dfareporting:v2.7/Creative/redirectUrl": redirect_url +"/dfareporting:v2.7/Creative/renderingId": rendering_id +"/dfareporting:v2.7/Creative/renderingIdDimensionValue": rendering_id_dimension_value +"/dfareporting:v2.7/Creative/requiredFlashPluginVersion": required_flash_plugin_version +"/dfareporting:v2.7/Creative/requiredFlashVersion": required_flash_version +"/dfareporting:v2.7/Creative/size": size +"/dfareporting:v2.7/Creative/skipOffset": skip_offset +"/dfareporting:v2.7/Creative/skippable": skippable +"/dfareporting:v2.7/Creative/sslCompliant": ssl_compliant +"/dfareporting:v2.7/Creative/sslOverride": ssl_override +"/dfareporting:v2.7/Creative/studioAdvertiserId": studio_advertiser_id +"/dfareporting:v2.7/Creative/studioCreativeId": studio_creative_id +"/dfareporting:v2.7/Creative/studioTraffickedCreativeId": studio_trafficked_creative_id +"/dfareporting:v2.7/Creative/subaccountId": subaccount_id +"/dfareporting:v2.7/Creative/thirdPartyBackupImageImpressionsUrl": third_party_backup_image_impressions_url +"/dfareporting:v2.7/Creative/thirdPartyRichMediaImpressionsUrl": third_party_rich_media_impressions_url +"/dfareporting:v2.7/Creative/thirdPartyUrls": third_party_urls +"/dfareporting:v2.7/Creative/thirdPartyUrls/third_party_url": third_party_url +"/dfareporting:v2.7/Creative/timerCustomEvents": timer_custom_events +"/dfareporting:v2.7/Creative/timerCustomEvents/timer_custom_event": timer_custom_event +"/dfareporting:v2.7/Creative/totalFileSize": total_file_size +"/dfareporting:v2.7/Creative/type": type +"/dfareporting:v2.7/Creative/version": version +"/dfareporting:v2.7/Creative/videoDescription": video_description +"/dfareporting:v2.7/Creative/videoDuration": video_duration +"/dfareporting:v2.7/CreativeAsset": creative_asset +"/dfareporting:v2.7/CreativeAsset/actionScript3": action_script3 +"/dfareporting:v2.7/CreativeAsset/active": active +"/dfareporting:v2.7/CreativeAsset/alignment": alignment +"/dfareporting:v2.7/CreativeAsset/artworkType": artwork_type +"/dfareporting:v2.7/CreativeAsset/assetIdentifier": asset_identifier +"/dfareporting:v2.7/CreativeAsset/backupImageExit": backup_image_exit +"/dfareporting:v2.7/CreativeAsset/bitRate": bit_rate +"/dfareporting:v2.7/CreativeAsset/childAssetType": child_asset_type +"/dfareporting:v2.7/CreativeAsset/collapsedSize": collapsed_size +"/dfareporting:v2.7/CreativeAsset/companionCreativeIds": companion_creative_ids +"/dfareporting:v2.7/CreativeAsset/companionCreativeIds/companion_creative_id": companion_creative_id +"/dfareporting:v2.7/CreativeAsset/customStartTimeValue": custom_start_time_value +"/dfareporting:v2.7/CreativeAsset/detectedFeatures": detected_features +"/dfareporting:v2.7/CreativeAsset/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.7/CreativeAsset/displayType": display_type +"/dfareporting:v2.7/CreativeAsset/duration": duration +"/dfareporting:v2.7/CreativeAsset/durationType": duration_type +"/dfareporting:v2.7/CreativeAsset/expandedDimension": expanded_dimension +"/dfareporting:v2.7/CreativeAsset/fileSize": file_size +"/dfareporting:v2.7/CreativeAsset/flashVersion": flash_version +"/dfareporting:v2.7/CreativeAsset/hideFlashObjects": hide_flash_objects +"/dfareporting:v2.7/CreativeAsset/hideSelectionBoxes": hide_selection_boxes +"/dfareporting:v2.7/CreativeAsset/horizontallyLocked": horizontally_locked +"/dfareporting:v2.7/CreativeAsset/id": id +"/dfareporting:v2.7/CreativeAsset/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/CreativeAsset/mimeType": mime_type +"/dfareporting:v2.7/CreativeAsset/offset": offset +"/dfareporting:v2.7/CreativeAsset/originalBackup": original_backup +"/dfareporting:v2.7/CreativeAsset/position": position +"/dfareporting:v2.7/CreativeAsset/positionLeftUnit": position_left_unit +"/dfareporting:v2.7/CreativeAsset/positionTopUnit": position_top_unit +"/dfareporting:v2.7/CreativeAsset/progressiveServingUrl": progressive_serving_url +"/dfareporting:v2.7/CreativeAsset/pushdown": pushdown +"/dfareporting:v2.7/CreativeAsset/pushdownDuration": pushdown_duration +"/dfareporting:v2.7/CreativeAsset/role": role +"/dfareporting:v2.7/CreativeAsset/size": size +"/dfareporting:v2.7/CreativeAsset/sslCompliant": ssl_compliant +"/dfareporting:v2.7/CreativeAsset/startTimeType": start_time_type +"/dfareporting:v2.7/CreativeAsset/streamingServingUrl": streaming_serving_url +"/dfareporting:v2.7/CreativeAsset/transparency": transparency +"/dfareporting:v2.7/CreativeAsset/verticallyLocked": vertically_locked +"/dfareporting:v2.7/CreativeAsset/videoDuration": video_duration +"/dfareporting:v2.7/CreativeAsset/windowMode": window_mode +"/dfareporting:v2.7/CreativeAsset/zIndex": z_index +"/dfareporting:v2.7/CreativeAsset/zipFilename": zip_filename +"/dfareporting:v2.7/CreativeAsset/zipFilesize": zip_filesize +"/dfareporting:v2.7/CreativeAssetId": creative_asset_id +"/dfareporting:v2.7/CreativeAssetId/name": name +"/dfareporting:v2.7/CreativeAssetId/type": type +"/dfareporting:v2.7/CreativeAssetMetadata": creative_asset_metadata +"/dfareporting:v2.7/CreativeAssetMetadata/assetIdentifier": asset_identifier +"/dfareporting:v2.7/CreativeAssetMetadata/clickTags": click_tags +"/dfareporting:v2.7/CreativeAssetMetadata/clickTags/click_tag": click_tag +"/dfareporting:v2.7/CreativeAssetMetadata/detectedFeatures": detected_features +"/dfareporting:v2.7/CreativeAssetMetadata/detectedFeatures/detected_feature": detected_feature +"/dfareporting:v2.7/CreativeAssetMetadata/id": id +"/dfareporting:v2.7/CreativeAssetMetadata/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/CreativeAssetMetadata/kind": kind +"/dfareporting:v2.7/CreativeAssetMetadata/warnedValidationRules": warned_validation_rules +"/dfareporting:v2.7/CreativeAssetMetadata/warnedValidationRules/warned_validation_rule": warned_validation_rule +"/dfareporting:v2.7/CreativeAssetSelection": creative_asset_selection +"/dfareporting:v2.7/CreativeAssetSelection/defaultAssetId": default_asset_id +"/dfareporting:v2.7/CreativeAssetSelection/rules": rules +"/dfareporting:v2.7/CreativeAssetSelection/rules/rule": rule +"/dfareporting:v2.7/CreativeAssignment": creative_assignment +"/dfareporting:v2.7/CreativeAssignment/active": active +"/dfareporting:v2.7/CreativeAssignment/applyEventTags": apply_event_tags +"/dfareporting:v2.7/CreativeAssignment/clickThroughUrl": click_through_url +"/dfareporting:v2.7/CreativeAssignment/companionCreativeOverrides": companion_creative_overrides +"/dfareporting:v2.7/CreativeAssignment/companionCreativeOverrides/companion_creative_override": companion_creative_override +"/dfareporting:v2.7/CreativeAssignment/creativeGroupAssignments": creative_group_assignments +"/dfareporting:v2.7/CreativeAssignment/creativeGroupAssignments/creative_group_assignment": creative_group_assignment +"/dfareporting:v2.7/CreativeAssignment/creativeId": creative_id +"/dfareporting:v2.7/CreativeAssignment/creativeIdDimensionValue": creative_id_dimension_value +"/dfareporting:v2.7/CreativeAssignment/endTime": end_time +"/dfareporting:v2.7/CreativeAssignment/richMediaExitOverrides": rich_media_exit_overrides +"/dfareporting:v2.7/CreativeAssignment/richMediaExitOverrides/rich_media_exit_override": rich_media_exit_override +"/dfareporting:v2.7/CreativeAssignment/sequence": sequence +"/dfareporting:v2.7/CreativeAssignment/sslCompliant": ssl_compliant +"/dfareporting:v2.7/CreativeAssignment/startTime": start_time +"/dfareporting:v2.7/CreativeAssignment/weight": weight +"/dfareporting:v2.7/CreativeCustomEvent": creative_custom_event +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventId": advertiser_custom_event_id +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventName": advertiser_custom_event_name +"/dfareporting:v2.7/CreativeCustomEvent/advertiserCustomEventType": advertiser_custom_event_type +"/dfareporting:v2.7/CreativeCustomEvent/artworkLabel": artwork_label +"/dfareporting:v2.7/CreativeCustomEvent/artworkType": artwork_type +"/dfareporting:v2.7/CreativeCustomEvent/exitUrl": exit_url +"/dfareporting:v2.7/CreativeCustomEvent/id": id +"/dfareporting:v2.7/CreativeCustomEvent/popupWindowProperties": popup_window_properties +"/dfareporting:v2.7/CreativeCustomEvent/targetType": target_type +"/dfareporting:v2.7/CreativeCustomEvent/videoReportingId": video_reporting_id +"/dfareporting:v2.7/CreativeField": creative_field +"/dfareporting:v2.7/CreativeField/accountId": account_id +"/dfareporting:v2.7/CreativeField/advertiserId": advertiser_id +"/dfareporting:v2.7/CreativeField/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/CreativeField/id": id +"/dfareporting:v2.7/CreativeField/kind": kind +"/dfareporting:v2.7/CreativeField/name": name +"/dfareporting:v2.7/CreativeField/subaccountId": subaccount_id +"/dfareporting:v2.7/CreativeFieldAssignment": creative_field_assignment +"/dfareporting:v2.7/CreativeFieldAssignment/creativeFieldId": creative_field_id +"/dfareporting:v2.7/CreativeFieldAssignment/creativeFieldValueId": creative_field_value_id +"/dfareporting:v2.7/CreativeFieldValue": creative_field_value +"/dfareporting:v2.7/CreativeFieldValue/id": id +"/dfareporting:v2.7/CreativeFieldValue/kind": kind +"/dfareporting:v2.7/CreativeFieldValue/value": value +"/dfareporting:v2.7/CreativeFieldValuesListResponse": creative_field_values_list_response +"/dfareporting:v2.7/CreativeFieldValuesListResponse/creativeFieldValues": creative_field_values +"/dfareporting:v2.7/CreativeFieldValuesListResponse/creativeFieldValues/creative_field_value": creative_field_value +"/dfareporting:v2.7/CreativeFieldValuesListResponse/kind": kind +"/dfareporting:v2.7/CreativeFieldValuesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeFieldsListResponse": creative_fields_list_response +"/dfareporting:v2.7/CreativeFieldsListResponse/creativeFields": creative_fields +"/dfareporting:v2.7/CreativeFieldsListResponse/creativeFields/creative_field": creative_field +"/dfareporting:v2.7/CreativeFieldsListResponse/kind": kind +"/dfareporting:v2.7/CreativeFieldsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeGroup": creative_group +"/dfareporting:v2.7/CreativeGroup/accountId": account_id +"/dfareporting:v2.7/CreativeGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/CreativeGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/CreativeGroup/groupNumber": group_number +"/dfareporting:v2.7/CreativeGroup/id": id +"/dfareporting:v2.7/CreativeGroup/kind": kind +"/dfareporting:v2.7/CreativeGroup/name": name +"/dfareporting:v2.7/CreativeGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/CreativeGroupAssignment": creative_group_assignment +"/dfareporting:v2.7/CreativeGroupAssignment/creativeGroupId": creative_group_id +"/dfareporting:v2.7/CreativeGroupAssignment/creativeGroupNumber": creative_group_number +"/dfareporting:v2.7/CreativeGroupsListResponse": creative_groups_list_response +"/dfareporting:v2.7/CreativeGroupsListResponse/creativeGroups": creative_groups +"/dfareporting:v2.7/CreativeGroupsListResponse/creativeGroups/creative_group": creative_group +"/dfareporting:v2.7/CreativeGroupsListResponse/kind": kind +"/dfareporting:v2.7/CreativeGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CreativeOptimizationConfiguration": creative_optimization_configuration +"/dfareporting:v2.7/CreativeOptimizationConfiguration/id": id +"/dfareporting:v2.7/CreativeOptimizationConfiguration/name": name +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationActivitys": optimization_activitys +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationActivitys/optimization_activity": optimization_activity +"/dfareporting:v2.7/CreativeOptimizationConfiguration/optimizationModel": optimization_model +"/dfareporting:v2.7/CreativeRotation": creative_rotation +"/dfareporting:v2.7/CreativeRotation/creativeAssignments": creative_assignments +"/dfareporting:v2.7/CreativeRotation/creativeAssignments/creative_assignment": creative_assignment +"/dfareporting:v2.7/CreativeRotation/creativeOptimizationConfigurationId": creative_optimization_configuration_id +"/dfareporting:v2.7/CreativeRotation/type": type +"/dfareporting:v2.7/CreativeRotation/weightCalculationStrategy": weight_calculation_strategy +"/dfareporting:v2.7/CreativeSettings": creative_settings +"/dfareporting:v2.7/CreativeSettings/iFrameFooter": i_frame_footer +"/dfareporting:v2.7/CreativeSettings/iFrameHeader": i_frame_header +"/dfareporting:v2.7/CreativesListResponse": creatives_list_response +"/dfareporting:v2.7/CreativesListResponse/creatives": creatives +"/dfareporting:v2.7/CreativesListResponse/creatives/creative": creative +"/dfareporting:v2.7/CreativesListResponse/kind": kind +"/dfareporting:v2.7/CreativesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields": cross_dimension_reach_report_compatible_fields +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/breakdown": breakdown +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/breakdown/breakdown": breakdown +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/kind": kind +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/overlapMetrics": overlap_metrics +"/dfareporting:v2.7/CrossDimensionReachReportCompatibleFields/overlapMetrics/overlap_metric": overlap_metric +"/dfareporting:v2.7/CustomFloodlightVariable": custom_floodlight_variable +"/dfareporting:v2.7/CustomFloodlightVariable/kind": kind +"/dfareporting:v2.7/CustomFloodlightVariable/type": type +"/dfareporting:v2.7/CustomFloodlightVariable/value": value +"/dfareporting:v2.7/CustomRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/CustomRichMediaEvents/filteredEventIds": filtered_event_ids +"/dfareporting:v2.7/CustomRichMediaEvents/filteredEventIds/filtered_event_id": filtered_event_id +"/dfareporting:v2.7/CustomRichMediaEvents/kind": kind +"/dfareporting:v2.7/DateRange": date_range +"/dfareporting:v2.7/DateRange/endDate": end_date +"/dfareporting:v2.7/DateRange/kind": kind +"/dfareporting:v2.7/DateRange/relativeDateRange": relative_date_range +"/dfareporting:v2.7/DateRange/startDate": start_date +"/dfareporting:v2.7/DayPartTargeting": day_part_targeting +"/dfareporting:v2.7/DayPartTargeting/daysOfWeek": days_of_week +"/dfareporting:v2.7/DayPartTargeting/daysOfWeek/days_of_week": days_of_week +"/dfareporting:v2.7/DayPartTargeting/hoursOfDay": hours_of_day +"/dfareporting:v2.7/DayPartTargeting/hoursOfDay/hours_of_day": hours_of_day +"/dfareporting:v2.7/DayPartTargeting/userLocalTime": user_local_time +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties": default_click_through_event_tag_properties +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties/defaultClickThroughEventTagId": default_click_through_event_tag_id +"/dfareporting:v2.7/DefaultClickThroughEventTagProperties/overrideInheritedEventTag": override_inherited_event_tag +"/dfareporting:v2.7/DeliverySchedule": delivery_schedule +"/dfareporting:v2.7/DeliverySchedule/frequencyCap": frequency_cap +"/dfareporting:v2.7/DeliverySchedule/hardCutoff": hard_cutoff +"/dfareporting:v2.7/DeliverySchedule/impressionRatio": impression_ratio +"/dfareporting:v2.7/DeliverySchedule/priority": priority +"/dfareporting:v2.7/DfpSettings": dfp_settings +"/dfareporting:v2.7/DfpSettings/dfp_network_code": dfp_network_code +"/dfareporting:v2.7/DfpSettings/dfp_network_name": dfp_network_name +"/dfareporting:v2.7/DfpSettings/programmaticPlacementAccepted": programmatic_placement_accepted +"/dfareporting:v2.7/DfpSettings/pubPaidPlacementAccepted": pub_paid_placement_accepted +"/dfareporting:v2.7/DfpSettings/publisherPortalOnly": publisher_portal_only +"/dfareporting:v2.7/Dimension": dimension +"/dfareporting:v2.7/Dimension/kind": kind +"/dfareporting:v2.7/Dimension/name": name +"/dfareporting:v2.7/DimensionFilter": dimension_filter +"/dfareporting:v2.7/DimensionFilter/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionFilter/kind": kind +"/dfareporting:v2.7/DimensionFilter/value": value +"/dfareporting:v2.7/DimensionValue": dimension_value +"/dfareporting:v2.7/DimensionValue/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionValue/etag": etag +"/dfareporting:v2.7/DimensionValue/id": id +"/dfareporting:v2.7/DimensionValue/kind": kind +"/dfareporting:v2.7/DimensionValue/matchType": match_type +"/dfareporting:v2.7/DimensionValue/value": value +"/dfareporting:v2.7/DimensionValueList": dimension_value_list +"/dfareporting:v2.7/DimensionValueList/etag": etag +"/dfareporting:v2.7/DimensionValueList/items": items +"/dfareporting:v2.7/DimensionValueList/items/item": item +"/dfareporting:v2.7/DimensionValueList/kind": kind +"/dfareporting:v2.7/DimensionValueList/nextPageToken": next_page_token +"/dfareporting:v2.7/DimensionValueRequest": dimension_value_request +"/dfareporting:v2.7/DimensionValueRequest/dimensionName": dimension_name +"/dfareporting:v2.7/DimensionValueRequest/endDate": end_date +"/dfareporting:v2.7/DimensionValueRequest/filters": filters +"/dfareporting:v2.7/DimensionValueRequest/filters/filter": filter +"/dfareporting:v2.7/DimensionValueRequest/kind": kind +"/dfareporting:v2.7/DimensionValueRequest/startDate": start_date +"/dfareporting:v2.7/DirectorySite": directory_site +"/dfareporting:v2.7/DirectorySite/active": active +"/dfareporting:v2.7/DirectorySite/contactAssignments": contact_assignments +"/dfareporting:v2.7/DirectorySite/contactAssignments/contact_assignment": contact_assignment +"/dfareporting:v2.7/DirectorySite/countryId": country_id +"/dfareporting:v2.7/DirectorySite/currencyId": currency_id +"/dfareporting:v2.7/DirectorySite/description": description +"/dfareporting:v2.7/DirectorySite/id": id +"/dfareporting:v2.7/DirectorySite/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/DirectorySite/inpageTagFormats": inpage_tag_formats +"/dfareporting:v2.7/DirectorySite/inpageTagFormats/inpage_tag_format": inpage_tag_format +"/dfareporting:v2.7/DirectorySite/interstitialTagFormats": interstitial_tag_formats +"/dfareporting:v2.7/DirectorySite/interstitialTagFormats/interstitial_tag_format": interstitial_tag_format +"/dfareporting:v2.7/DirectorySite/kind": kind +"/dfareporting:v2.7/DirectorySite/name": name +"/dfareporting:v2.7/DirectorySite/parentId": parent_id +"/dfareporting:v2.7/DirectorySite/settings": settings +"/dfareporting:v2.7/DirectorySite/url": url +"/dfareporting:v2.7/DirectorySiteContact": directory_site_contact +"/dfareporting:v2.7/DirectorySiteContact/address": address +"/dfareporting:v2.7/DirectorySiteContact/email": email +"/dfareporting:v2.7/DirectorySiteContact/firstName": first_name +"/dfareporting:v2.7/DirectorySiteContact/id": id +"/dfareporting:v2.7/DirectorySiteContact/kind": kind +"/dfareporting:v2.7/DirectorySiteContact/lastName": last_name +"/dfareporting:v2.7/DirectorySiteContact/phone": phone +"/dfareporting:v2.7/DirectorySiteContact/role": role +"/dfareporting:v2.7/DirectorySiteContact/title": title +"/dfareporting:v2.7/DirectorySiteContact/type": type +"/dfareporting:v2.7/DirectorySiteContactAssignment": directory_site_contact_assignment +"/dfareporting:v2.7/DirectorySiteContactAssignment/contactId": contact_id +"/dfareporting:v2.7/DirectorySiteContactAssignment/visibility": visibility +"/dfareporting:v2.7/DirectorySiteContactsListResponse": directory_site_contacts_list_response +"/dfareporting:v2.7/DirectorySiteContactsListResponse/directorySiteContacts": directory_site_contacts +"/dfareporting:v2.7/DirectorySiteContactsListResponse/directorySiteContacts/directory_site_contact": directory_site_contact +"/dfareporting:v2.7/DirectorySiteContactsListResponse/kind": kind +"/dfareporting:v2.7/DirectorySiteContactsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/DirectorySiteSettings": directory_site_settings +"/dfareporting:v2.7/DirectorySiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/dfp_settings": dfp_settings +"/dfareporting:v2.7/DirectorySiteSettings/instream_video_placement_accepted": instream_video_placement_accepted +"/dfareporting:v2.7/DirectorySiteSettings/interstitialPlacementAccepted": interstitial_placement_accepted +"/dfareporting:v2.7/DirectorySiteSettings/nielsenOcrOptOut": nielsen_ocr_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/verificationTagOptOut": verification_tag_opt_out +"/dfareporting:v2.7/DirectorySiteSettings/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.7/DirectorySitesListResponse": directory_sites_list_response +"/dfareporting:v2.7/DirectorySitesListResponse/directorySites": directory_sites +"/dfareporting:v2.7/DirectorySitesListResponse/directorySites/directory_site": directory_site +"/dfareporting:v2.7/DirectorySitesListResponse/kind": kind +"/dfareporting:v2.7/DirectorySitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/DynamicTargetingKey": dynamic_targeting_key +"/dfareporting:v2.7/DynamicTargetingKey/kind": kind +"/dfareporting:v2.7/DynamicTargetingKey/name": name +"/dfareporting:v2.7/DynamicTargetingKey/objectId": object_id_prop +"/dfareporting:v2.7/DynamicTargetingKey/objectType": object_type +"/dfareporting:v2.7/DynamicTargetingKeysListResponse": dynamic_targeting_keys_list_response +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/dynamicTargetingKeys": dynamic_targeting_keys +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/dynamicTargetingKeys/dynamic_targeting_key": dynamic_targeting_key +"/dfareporting:v2.7/DynamicTargetingKeysListResponse/kind": kind +"/dfareporting:v2.7/EncryptionInfo": encryption_info +"/dfareporting:v2.7/EncryptionInfo/encryptionEntityId": encryption_entity_id +"/dfareporting:v2.7/EncryptionInfo/encryptionEntityType": encryption_entity_type +"/dfareporting:v2.7/EncryptionInfo/encryptionSource": encryption_source +"/dfareporting:v2.7/EncryptionInfo/kind": kind +"/dfareporting:v2.7/EventTag": event_tag +"/dfareporting:v2.7/EventTag/accountId": account_id +"/dfareporting:v2.7/EventTag/advertiserId": advertiser_id +"/dfareporting:v2.7/EventTag/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/EventTag/campaignId": campaign_id +"/dfareporting:v2.7/EventTag/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/EventTag/enabledByDefault": enabled_by_default +"/dfareporting:v2.7/EventTag/excludeFromAdxRequests": exclude_from_adx_requests +"/dfareporting:v2.7/EventTag/id": id +"/dfareporting:v2.7/EventTag/kind": kind +"/dfareporting:v2.7/EventTag/name": name +"/dfareporting:v2.7/EventTag/siteFilterType": site_filter_type +"/dfareporting:v2.7/EventTag/siteIds": site_ids +"/dfareporting:v2.7/EventTag/siteIds/site_id": site_id +"/dfareporting:v2.7/EventTag/sslCompliant": ssl_compliant +"/dfareporting:v2.7/EventTag/status": status +"/dfareporting:v2.7/EventTag/subaccountId": subaccount_id +"/dfareporting:v2.7/EventTag/type": type +"/dfareporting:v2.7/EventTag/url": url +"/dfareporting:v2.7/EventTag/urlEscapeLevels": url_escape_levels +"/dfareporting:v2.7/EventTagOverride": event_tag_override +"/dfareporting:v2.7/EventTagOverride/enabled": enabled +"/dfareporting:v2.7/EventTagOverride/id": id +"/dfareporting:v2.7/EventTagsListResponse": event_tags_list_response +"/dfareporting:v2.7/EventTagsListResponse/eventTags": event_tags +"/dfareporting:v2.7/EventTagsListResponse/eventTags/event_tag": event_tag +"/dfareporting:v2.7/EventTagsListResponse/kind": kind +"/dfareporting:v2.7/File": file +"/dfareporting:v2.7/File/dateRange": date_range +"/dfareporting:v2.7/File/etag": etag +"/dfareporting:v2.7/File/fileName": file_name +"/dfareporting:v2.7/File/format": format +"/dfareporting:v2.7/File/id": id +"/dfareporting:v2.7/File/kind": kind +"/dfareporting:v2.7/File/lastModifiedTime": last_modified_time +"/dfareporting:v2.7/File/reportId": report_id +"/dfareporting:v2.7/File/status": status +"/dfareporting:v2.7/File/urls": urls +"/dfareporting:v2.7/File/urls/apiUrl": api_url +"/dfareporting:v2.7/File/urls/browserUrl": browser_url +"/dfareporting:v2.7/FileList": file_list +"/dfareporting:v2.7/FileList/etag": etag +"/dfareporting:v2.7/FileList/items": items +"/dfareporting:v2.7/FileList/items/item": item +"/dfareporting:v2.7/FileList/kind": kind +"/dfareporting:v2.7/FileList/nextPageToken": next_page_token +"/dfareporting:v2.7/Flight": flight +"/dfareporting:v2.7/Flight/endDate": end_date +"/dfareporting:v2.7/Flight/rateOrCost": rate_or_cost +"/dfareporting:v2.7/Flight/startDate": start_date +"/dfareporting:v2.7/Flight/units": units +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse/floodlightActivityTag": floodlight_activity_tag +"/dfareporting:v2.7/FloodlightActivitiesGenerateTagResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivitiesListResponse": floodlight_activities_list_response +"/dfareporting:v2.7/FloodlightActivitiesListResponse/floodlightActivities": floodlight_activities +"/dfareporting:v2.7/FloodlightActivitiesListResponse/floodlightActivities/floodlight_activity": floodlight_activity +"/dfareporting:v2.7/FloodlightActivitiesListResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivitiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/FloodlightActivity": floodlight_activity +"/dfareporting:v2.7/FloodlightActivity/accountId": account_id +"/dfareporting:v2.7/FloodlightActivity/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightActivity/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/cacheBustingType": cache_busting_type +"/dfareporting:v2.7/FloodlightActivity/countingMethod": counting_method +"/dfareporting:v2.7/FloodlightActivity/defaultTags": default_tags +"/dfareporting:v2.7/FloodlightActivity/defaultTags/default_tag": default_tag +"/dfareporting:v2.7/FloodlightActivity/expectedUrl": expected_url +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupId": floodlight_activity_group_id +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupName": floodlight_activity_group_name +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupTagString": floodlight_activity_group_tag_string +"/dfareporting:v2.7/FloodlightActivity/floodlightActivityGroupType": floodlight_activity_group_type +"/dfareporting:v2.7/FloodlightActivity/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/FloodlightActivity/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/hidden": hidden +"/dfareporting:v2.7/FloodlightActivity/id": id +"/dfareporting:v2.7/FloodlightActivity/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightActivity/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.7/FloodlightActivity/kind": kind +"/dfareporting:v2.7/FloodlightActivity/name": name +"/dfareporting:v2.7/FloodlightActivity/notes": notes +"/dfareporting:v2.7/FloodlightActivity/publisherTags": publisher_tags +"/dfareporting:v2.7/FloodlightActivity/publisherTags/publisher_tag": publisher_tag +"/dfareporting:v2.7/FloodlightActivity/secure": secure +"/dfareporting:v2.7/FloodlightActivity/sslCompliant": ssl_compliant +"/dfareporting:v2.7/FloodlightActivity/sslRequired": ssl_required +"/dfareporting:v2.7/FloodlightActivity/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightActivity/tagFormat": tag_format +"/dfareporting:v2.7/FloodlightActivity/tagString": tag_string +"/dfareporting:v2.7/FloodlightActivity/userDefinedVariableTypes": user_defined_variable_types +"/dfareporting:v2.7/FloodlightActivity/userDefinedVariableTypes/user_defined_variable_type": user_defined_variable_type +"/dfareporting:v2.7/FloodlightActivityDynamicTag": floodlight_activity_dynamic_tag +"/dfareporting:v2.7/FloodlightActivityDynamicTag/id": id +"/dfareporting:v2.7/FloodlightActivityDynamicTag/name": name +"/dfareporting:v2.7/FloodlightActivityDynamicTag/tag": tag +"/dfareporting:v2.7/FloodlightActivityGroup": floodlight_activity_group +"/dfareporting:v2.7/FloodlightActivityGroup/accountId": account_id +"/dfareporting:v2.7/FloodlightActivityGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightActivityGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/floodlightConfigurationId": floodlight_configuration_id +"/dfareporting:v2.7/FloodlightActivityGroup/floodlightConfigurationIdDimensionValue": floodlight_configuration_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/id": id +"/dfareporting:v2.7/FloodlightActivityGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightActivityGroup/kind": kind +"/dfareporting:v2.7/FloodlightActivityGroup/name": name +"/dfareporting:v2.7/FloodlightActivityGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightActivityGroup/tagString": tag_string +"/dfareporting:v2.7/FloodlightActivityGroup/type": type +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse": floodlight_activity_groups_list_response +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/floodlightActivityGroups": floodlight_activity_groups +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/floodlightActivityGroups/floodlight_activity_group": floodlight_activity_group +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/kind": kind +"/dfareporting:v2.7/FloodlightActivityGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag": floodlight_activity_publisher_dynamic_tag +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/clickThrough": click_through +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/directorySiteId": directory_site_id +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/dynamicTag": dynamic_tag +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/siteId": site_id +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/FloodlightActivityPublisherDynamicTag/viewThrough": view_through +"/dfareporting:v2.7/FloodlightConfiguration": floodlight_configuration +"/dfareporting:v2.7/FloodlightConfiguration/accountId": account_id +"/dfareporting:v2.7/FloodlightConfiguration/advertiserId": advertiser_id +"/dfareporting:v2.7/FloodlightConfiguration/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/FloodlightConfiguration/analyticsDataSharingEnabled": analytics_data_sharing_enabled +"/dfareporting:v2.7/FloodlightConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.7/FloodlightConfiguration/firstDayOfWeek": first_day_of_week +"/dfareporting:v2.7/FloodlightConfiguration/id": id +"/dfareporting:v2.7/FloodlightConfiguration/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/FloodlightConfiguration/inAppAttributionTrackingEnabled": in_app_attribution_tracking_enabled +"/dfareporting:v2.7/FloodlightConfiguration/kind": kind +"/dfareporting:v2.7/FloodlightConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/FloodlightConfiguration/naturalSearchConversionAttributionOption": natural_search_conversion_attribution_option +"/dfareporting:v2.7/FloodlightConfiguration/omnitureSettings": omniture_settings +"/dfareporting:v2.7/FloodlightConfiguration/standardVariableTypes": standard_variable_types +"/dfareporting:v2.7/FloodlightConfiguration/standardVariableTypes/standard_variable_type": standard_variable_type +"/dfareporting:v2.7/FloodlightConfiguration/subaccountId": subaccount_id +"/dfareporting:v2.7/FloodlightConfiguration/tagSettings": tag_settings +"/dfareporting:v2.7/FloodlightConfiguration/thirdPartyAuthenticationTokens": third_party_authentication_tokens +"/dfareporting:v2.7/FloodlightConfiguration/thirdPartyAuthenticationTokens/third_party_authentication_token": third_party_authentication_token +"/dfareporting:v2.7/FloodlightConfiguration/userDefinedVariableConfigurations": user_defined_variable_configurations +"/dfareporting:v2.7/FloodlightConfiguration/userDefinedVariableConfigurations/user_defined_variable_configuration": user_defined_variable_configuration +"/dfareporting:v2.7/FloodlightConfigurationsListResponse": floodlight_configurations_list_response +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/floodlightConfigurations": floodlight_configurations +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/floodlightConfigurations/floodlight_configuration": floodlight_configuration +"/dfareporting:v2.7/FloodlightConfigurationsListResponse/kind": kind +"/dfareporting:v2.7/FloodlightReportCompatibleFields": floodlight_report_compatible_fields +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/FloodlightReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/FloodlightReportCompatibleFields/kind": kind +"/dfareporting:v2.7/FloodlightReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/FloodlightReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/FrequencyCap": frequency_cap +"/dfareporting:v2.7/FrequencyCap/duration": duration +"/dfareporting:v2.7/FrequencyCap/impressions": impressions +"/dfareporting:v2.7/FsCommand": fs_command +"/dfareporting:v2.7/FsCommand/left": left +"/dfareporting:v2.7/FsCommand/positionOption": position_option +"/dfareporting:v2.7/FsCommand/top": top +"/dfareporting:v2.7/FsCommand/windowHeight": window_height +"/dfareporting:v2.7/FsCommand/windowWidth": window_width +"/dfareporting:v2.7/GeoTargeting": geo_targeting +"/dfareporting:v2.7/GeoTargeting/cities": cities +"/dfareporting:v2.7/GeoTargeting/cities/city": city +"/dfareporting:v2.7/GeoTargeting/countries": countries +"/dfareporting:v2.7/GeoTargeting/countries/country": country +"/dfareporting:v2.7/GeoTargeting/excludeCountries": exclude_countries +"/dfareporting:v2.7/GeoTargeting/metros": metros +"/dfareporting:v2.7/GeoTargeting/metros/metro": metro +"/dfareporting:v2.7/GeoTargeting/postalCodes": postal_codes +"/dfareporting:v2.7/GeoTargeting/postalCodes/postal_code": postal_code +"/dfareporting:v2.7/GeoTargeting/regions": regions +"/dfareporting:v2.7/GeoTargeting/regions/region": region +"/dfareporting:v2.7/InventoryItem": inventory_item +"/dfareporting:v2.7/InventoryItem/accountId": account_id +"/dfareporting:v2.7/InventoryItem/adSlots": ad_slots +"/dfareporting:v2.7/InventoryItem/adSlots/ad_slot": ad_slot +"/dfareporting:v2.7/InventoryItem/advertiserId": advertiser_id +"/dfareporting:v2.7/InventoryItem/contentCategoryId": content_category_id +"/dfareporting:v2.7/InventoryItem/estimatedClickThroughRate": estimated_click_through_rate +"/dfareporting:v2.7/InventoryItem/estimatedConversionRate": estimated_conversion_rate +"/dfareporting:v2.7/InventoryItem/id": id +"/dfareporting:v2.7/InventoryItem/inPlan": in_plan +"/dfareporting:v2.7/InventoryItem/kind": kind +"/dfareporting:v2.7/InventoryItem/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/InventoryItem/name": name +"/dfareporting:v2.7/InventoryItem/negotiationChannelId": negotiation_channel_id +"/dfareporting:v2.7/InventoryItem/orderId": order_id +"/dfareporting:v2.7/InventoryItem/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/InventoryItem/pricing": pricing +"/dfareporting:v2.7/InventoryItem/projectId": project_id +"/dfareporting:v2.7/InventoryItem/rfpId": rfp_id +"/dfareporting:v2.7/InventoryItem/siteId": site_id +"/dfareporting:v2.7/InventoryItem/subaccountId": subaccount_id +"/dfareporting:v2.7/InventoryItem/type": type +"/dfareporting:v2.7/InventoryItemsListResponse": inventory_items_list_response +"/dfareporting:v2.7/InventoryItemsListResponse/inventoryItems": inventory_items +"/dfareporting:v2.7/InventoryItemsListResponse/inventoryItems/inventory_item": inventory_item +"/dfareporting:v2.7/InventoryItemsListResponse/kind": kind +"/dfareporting:v2.7/InventoryItemsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/KeyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/KeyValueTargetingExpression/expression": expression +"/dfareporting:v2.7/LandingPage": landing_page +"/dfareporting:v2.7/LandingPage/default": default +"/dfareporting:v2.7/LandingPage/id": id +"/dfareporting:v2.7/LandingPage/kind": kind +"/dfareporting:v2.7/LandingPage/name": name +"/dfareporting:v2.7/LandingPage/url": url +"/dfareporting:v2.7/LandingPagesListResponse": landing_pages_list_response +"/dfareporting:v2.7/LandingPagesListResponse/kind": kind +"/dfareporting:v2.7/LandingPagesListResponse/landingPages": landing_pages +"/dfareporting:v2.7/LandingPagesListResponse/landingPages/landing_page": landing_page +"/dfareporting:v2.7/Language": language +"/dfareporting:v2.7/Language/id": id +"/dfareporting:v2.7/Language/kind": kind +"/dfareporting:v2.7/Language/languageCode": language_code +"/dfareporting:v2.7/Language/name": name +"/dfareporting:v2.7/LanguageTargeting": language_targeting +"/dfareporting:v2.7/LanguageTargeting/languages": languages +"/dfareporting:v2.7/LanguageTargeting/languages/language": language +"/dfareporting:v2.7/LanguagesListResponse": languages_list_response +"/dfareporting:v2.7/LanguagesListResponse/kind": kind +"/dfareporting:v2.7/LanguagesListResponse/languages": languages +"/dfareporting:v2.7/LanguagesListResponse/languages/language": language +"/dfareporting:v2.7/LastModifiedInfo": last_modified_info +"/dfareporting:v2.7/LastModifiedInfo/time": time +"/dfareporting:v2.7/ListPopulationClause": list_population_clause +"/dfareporting:v2.7/ListPopulationClause/terms": terms +"/dfareporting:v2.7/ListPopulationClause/terms/term": term +"/dfareporting:v2.7/ListPopulationRule": list_population_rule +"/dfareporting:v2.7/ListPopulationRule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/ListPopulationRule/floodlightActivityName": floodlight_activity_name +"/dfareporting:v2.7/ListPopulationRule/listPopulationClauses": list_population_clauses +"/dfareporting:v2.7/ListPopulationRule/listPopulationClauses/list_population_clause": list_population_clause +"/dfareporting:v2.7/ListPopulationTerm": list_population_term +"/dfareporting:v2.7/ListPopulationTerm/contains": contains +"/dfareporting:v2.7/ListPopulationTerm/negation": negation +"/dfareporting:v2.7/ListPopulationTerm/operator": operator +"/dfareporting:v2.7/ListPopulationTerm/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/ListPopulationTerm/type": type +"/dfareporting:v2.7/ListPopulationTerm/value": value +"/dfareporting:v2.7/ListPopulationTerm/variableFriendlyName": variable_friendly_name +"/dfareporting:v2.7/ListPopulationTerm/variableName": variable_name +"/dfareporting:v2.7/ListTargetingExpression": list_targeting_expression +"/dfareporting:v2.7/ListTargetingExpression/expression": expression +"/dfareporting:v2.7/LookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/LookbackConfiguration/clickDuration": click_duration +"/dfareporting:v2.7/LookbackConfiguration/postImpressionActivitiesDuration": post_impression_activities_duration +"/dfareporting:v2.7/Metric": metric +"/dfareporting:v2.7/Metric/kind": kind +"/dfareporting:v2.7/Metric/name": name +"/dfareporting:v2.7/Metro": metro +"/dfareporting:v2.7/Metro/countryCode": country_code +"/dfareporting:v2.7/Metro/countryDartId": country_dart_id +"/dfareporting:v2.7/Metro/dartId": dart_id +"/dfareporting:v2.7/Metro/dmaId": dma_id +"/dfareporting:v2.7/Metro/kind": kind +"/dfareporting:v2.7/Metro/metroCode": metro_code +"/dfareporting:v2.7/Metro/name": name +"/dfareporting:v2.7/MetrosListResponse": metros_list_response +"/dfareporting:v2.7/MetrosListResponse/kind": kind +"/dfareporting:v2.7/MetrosListResponse/metros": metros +"/dfareporting:v2.7/MetrosListResponse/metros/metro": metro +"/dfareporting:v2.7/MobileCarrier": mobile_carrier +"/dfareporting:v2.7/MobileCarrier/countryCode": country_code +"/dfareporting:v2.7/MobileCarrier/countryDartId": country_dart_id +"/dfareporting:v2.7/MobileCarrier/id": id +"/dfareporting:v2.7/MobileCarrier/kind": kind +"/dfareporting:v2.7/MobileCarrier/name": name +"/dfareporting:v2.7/MobileCarriersListResponse": mobile_carriers_list_response +"/dfareporting:v2.7/MobileCarriersListResponse/kind": kind +"/dfareporting:v2.7/MobileCarriersListResponse/mobileCarriers": mobile_carriers +"/dfareporting:v2.7/MobileCarriersListResponse/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.7/ObjectFilter": object_filter +"/dfareporting:v2.7/ObjectFilter/kind": kind +"/dfareporting:v2.7/ObjectFilter/objectIds": object_ids +"/dfareporting:v2.7/ObjectFilter/objectIds/object_id": object_id_prop +"/dfareporting:v2.7/ObjectFilter/status": status +"/dfareporting:v2.7/OffsetPosition": offset_position +"/dfareporting:v2.7/OffsetPosition/left": left +"/dfareporting:v2.7/OffsetPosition/top": top +"/dfareporting:v2.7/OmnitureSettings": omniture_settings +"/dfareporting:v2.7/OmnitureSettings/omnitureCostDataEnabled": omniture_cost_data_enabled +"/dfareporting:v2.7/OmnitureSettings/omnitureIntegrationEnabled": omniture_integration_enabled +"/dfareporting:v2.7/OperatingSystem": operating_system +"/dfareporting:v2.7/OperatingSystem/dartId": dart_id +"/dfareporting:v2.7/OperatingSystem/desktop": desktop +"/dfareporting:v2.7/OperatingSystem/kind": kind +"/dfareporting:v2.7/OperatingSystem/mobile": mobile +"/dfareporting:v2.7/OperatingSystem/name": name +"/dfareporting:v2.7/OperatingSystemVersion": operating_system_version +"/dfareporting:v2.7/OperatingSystemVersion/id": id +"/dfareporting:v2.7/OperatingSystemVersion/kind": kind +"/dfareporting:v2.7/OperatingSystemVersion/majorVersion": major_version +"/dfareporting:v2.7/OperatingSystemVersion/minorVersion": minor_version +"/dfareporting:v2.7/OperatingSystemVersion/name": name +"/dfareporting:v2.7/OperatingSystemVersion/operatingSystem": operating_system +"/dfareporting:v2.7/OperatingSystemVersionsListResponse": operating_system_versions_list_response +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/kind": kind +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.7/OperatingSystemVersionsListResponse/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.7/OperatingSystemsListResponse": operating_systems_list_response +"/dfareporting:v2.7/OperatingSystemsListResponse/kind": kind +"/dfareporting:v2.7/OperatingSystemsListResponse/operatingSystems": operating_systems +"/dfareporting:v2.7/OperatingSystemsListResponse/operatingSystems/operating_system": operating_system +"/dfareporting:v2.7/OptimizationActivity": optimization_activity +"/dfareporting:v2.7/OptimizationActivity/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/OptimizationActivity/floodlightActivityIdDimensionValue": floodlight_activity_id_dimension_value +"/dfareporting:v2.7/OptimizationActivity/weight": weight +"/dfareporting:v2.7/Order": order +"/dfareporting:v2.7/Order/accountId": account_id +"/dfareporting:v2.7/Order/advertiserId": advertiser_id +"/dfareporting:v2.7/Order/approverUserProfileIds": approver_user_profile_ids +"/dfareporting:v2.7/Order/approverUserProfileIds/approver_user_profile_id": approver_user_profile_id +"/dfareporting:v2.7/Order/buyerInvoiceId": buyer_invoice_id +"/dfareporting:v2.7/Order/buyerOrganizationName": buyer_organization_name +"/dfareporting:v2.7/Order/comments": comments +"/dfareporting:v2.7/Order/contacts": contacts +"/dfareporting:v2.7/Order/contacts/contact": contact +"/dfareporting:v2.7/Order/id": id +"/dfareporting:v2.7/Order/kind": kind +"/dfareporting:v2.7/Order/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Order/name": name +"/dfareporting:v2.7/Order/notes": notes +"/dfareporting:v2.7/Order/planningTermId": planning_term_id +"/dfareporting:v2.7/Order/projectId": project_id +"/dfareporting:v2.7/Order/sellerOrderId": seller_order_id +"/dfareporting:v2.7/Order/sellerOrganizationName": seller_organization_name +"/dfareporting:v2.7/Order/siteId": site_id +"/dfareporting:v2.7/Order/siteId/site_id": site_id +"/dfareporting:v2.7/Order/siteNames": site_names +"/dfareporting:v2.7/Order/siteNames/site_name": site_name +"/dfareporting:v2.7/Order/subaccountId": subaccount_id +"/dfareporting:v2.7/Order/termsAndConditions": terms_and_conditions +"/dfareporting:v2.7/OrderContact": order_contact +"/dfareporting:v2.7/OrderContact/contactInfo": contact_info +"/dfareporting:v2.7/OrderContact/contactName": contact_name +"/dfareporting:v2.7/OrderContact/contactTitle": contact_title +"/dfareporting:v2.7/OrderContact/contactType": contact_type +"/dfareporting:v2.7/OrderContact/signatureUserProfileId": signature_user_profile_id +"/dfareporting:v2.7/OrderDocument": order_document +"/dfareporting:v2.7/OrderDocument/accountId": account_id +"/dfareporting:v2.7/OrderDocument/advertiserId": advertiser_id +"/dfareporting:v2.7/OrderDocument/amendedOrderDocumentId": amended_order_document_id +"/dfareporting:v2.7/OrderDocument/approvedByUserProfileIds": approved_by_user_profile_ids +"/dfareporting:v2.7/OrderDocument/approvedByUserProfileIds/approved_by_user_profile_id": approved_by_user_profile_id +"/dfareporting:v2.7/OrderDocument/cancelled": cancelled +"/dfareporting:v2.7/OrderDocument/createdInfo": created_info +"/dfareporting:v2.7/OrderDocument/effectiveDate": effective_date +"/dfareporting:v2.7/OrderDocument/id": id +"/dfareporting:v2.7/OrderDocument/kind": kind +"/dfareporting:v2.7/OrderDocument/lastSentRecipients": last_sent_recipients +"/dfareporting:v2.7/OrderDocument/lastSentRecipients/last_sent_recipient": last_sent_recipient +"/dfareporting:v2.7/OrderDocument/lastSentTime": last_sent_time +"/dfareporting:v2.7/OrderDocument/orderId": order_id +"/dfareporting:v2.7/OrderDocument/projectId": project_id +"/dfareporting:v2.7/OrderDocument/signed": signed +"/dfareporting:v2.7/OrderDocument/subaccountId": subaccount_id +"/dfareporting:v2.7/OrderDocument/title": title +"/dfareporting:v2.7/OrderDocument/type": type +"/dfareporting:v2.7/OrderDocumentsListResponse": order_documents_list_response +"/dfareporting:v2.7/OrderDocumentsListResponse/kind": kind +"/dfareporting:v2.7/OrderDocumentsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/OrderDocumentsListResponse/orderDocuments": order_documents +"/dfareporting:v2.7/OrderDocumentsListResponse/orderDocuments/order_document": order_document +"/dfareporting:v2.7/OrdersListResponse": orders_list_response +"/dfareporting:v2.7/OrdersListResponse/kind": kind +"/dfareporting:v2.7/OrdersListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/OrdersListResponse/orders": orders +"/dfareporting:v2.7/OrdersListResponse/orders/order": order +"/dfareporting:v2.7/PathToConversionReportCompatibleFields": path_to_conversion_report_compatible_fields +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/conversionDimensions": conversion_dimensions +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/kind": kind +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.7/PathToConversionReportCompatibleFields/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.7/Placement": placement +"/dfareporting:v2.7/Placement/accountId": account_id +"/dfareporting:v2.7/Placement/advertiserId": advertiser_id +"/dfareporting:v2.7/Placement/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/Placement/archived": archived +"/dfareporting:v2.7/Placement/campaignId": campaign_id +"/dfareporting:v2.7/Placement/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/Placement/comment": comment +"/dfareporting:v2.7/Placement/compatibility": compatibility +"/dfareporting:v2.7/Placement/contentCategoryId": content_category_id +"/dfareporting:v2.7/Placement/createInfo": create_info +"/dfareporting:v2.7/Placement/directorySiteId": directory_site_id +"/dfareporting:v2.7/Placement/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/Placement/externalId": external_id +"/dfareporting:v2.7/Placement/id": id +"/dfareporting:v2.7/Placement/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Placement/keyName": key_name +"/dfareporting:v2.7/Placement/kind": kind +"/dfareporting:v2.7/Placement/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Placement/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/Placement/name": name +"/dfareporting:v2.7/Placement/paymentApproved": payment_approved +"/dfareporting:v2.7/Placement/paymentSource": payment_source +"/dfareporting:v2.7/Placement/placementGroupId": placement_group_id +"/dfareporting:v2.7/Placement/placementGroupIdDimensionValue": placement_group_id_dimension_value +"/dfareporting:v2.7/Placement/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/Placement/pricingSchedule": pricing_schedule +"/dfareporting:v2.7/Placement/primary": primary +"/dfareporting:v2.7/Placement/publisherUpdateInfo": publisher_update_info +"/dfareporting:v2.7/Placement/siteId": site_id +"/dfareporting:v2.7/Placement/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/Placement/size": size +"/dfareporting:v2.7/Placement/sslRequired": ssl_required +"/dfareporting:v2.7/Placement/status": status +"/dfareporting:v2.7/Placement/subaccountId": subaccount_id +"/dfareporting:v2.7/Placement/tagFormats": tag_formats +"/dfareporting:v2.7/Placement/tagFormats/tag_format": tag_format +"/dfareporting:v2.7/Placement/tagSetting": tag_setting +"/dfareporting:v2.7/Placement/videoActiveViewOptOut": video_active_view_opt_out +"/dfareporting:v2.7/Placement/videoSettings": video_settings +"/dfareporting:v2.7/Placement/vpaidAdapterChoice": vpaid_adapter_choice +"/dfareporting:v2.7/PlacementAssignment": placement_assignment +"/dfareporting:v2.7/PlacementAssignment/active": active +"/dfareporting:v2.7/PlacementAssignment/placementId": placement_id +"/dfareporting:v2.7/PlacementAssignment/placementIdDimensionValue": placement_id_dimension_value +"/dfareporting:v2.7/PlacementAssignment/sslRequired": ssl_required +"/dfareporting:v2.7/PlacementGroup": placement_group +"/dfareporting:v2.7/PlacementGroup/accountId": account_id +"/dfareporting:v2.7/PlacementGroup/advertiserId": advertiser_id +"/dfareporting:v2.7/PlacementGroup/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/archived": archived +"/dfareporting:v2.7/PlacementGroup/campaignId": campaign_id +"/dfareporting:v2.7/PlacementGroup/campaignIdDimensionValue": campaign_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/childPlacementIds": child_placement_ids +"/dfareporting:v2.7/PlacementGroup/childPlacementIds/child_placement_id": child_placement_id +"/dfareporting:v2.7/PlacementGroup/comment": comment +"/dfareporting:v2.7/PlacementGroup/contentCategoryId": content_category_id +"/dfareporting:v2.7/PlacementGroup/createInfo": create_info +"/dfareporting:v2.7/PlacementGroup/directorySiteId": directory_site_id +"/dfareporting:v2.7/PlacementGroup/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/externalId": external_id +"/dfareporting:v2.7/PlacementGroup/id": id +"/dfareporting:v2.7/PlacementGroup/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/PlacementGroup/kind": kind +"/dfareporting:v2.7/PlacementGroup/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/PlacementGroup/name": name +"/dfareporting:v2.7/PlacementGroup/placementGroupType": placement_group_type +"/dfareporting:v2.7/PlacementGroup/placementStrategyId": placement_strategy_id +"/dfareporting:v2.7/PlacementGroup/pricingSchedule": pricing_schedule +"/dfareporting:v2.7/PlacementGroup/primaryPlacementId": primary_placement_id +"/dfareporting:v2.7/PlacementGroup/primaryPlacementIdDimensionValue": primary_placement_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/siteId": site_id +"/dfareporting:v2.7/PlacementGroup/siteIdDimensionValue": site_id_dimension_value +"/dfareporting:v2.7/PlacementGroup/subaccountId": subaccount_id +"/dfareporting:v2.7/PlacementGroupsListResponse": placement_groups_list_response +"/dfareporting:v2.7/PlacementGroupsListResponse/kind": kind +"/dfareporting:v2.7/PlacementGroupsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementGroupsListResponse/placementGroups": placement_groups +"/dfareporting:v2.7/PlacementGroupsListResponse/placementGroups/placement_group": placement_group +"/dfareporting:v2.7/PlacementStrategiesListResponse": placement_strategies_list_response +"/dfareporting:v2.7/PlacementStrategiesListResponse/kind": kind +"/dfareporting:v2.7/PlacementStrategiesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementStrategiesListResponse/placementStrategies": placement_strategies +"/dfareporting:v2.7/PlacementStrategiesListResponse/placementStrategies/placement_strategy": placement_strategy +"/dfareporting:v2.7/PlacementStrategy": placement_strategy +"/dfareporting:v2.7/PlacementStrategy/accountId": account_id +"/dfareporting:v2.7/PlacementStrategy/id": id +"/dfareporting:v2.7/PlacementStrategy/kind": kind +"/dfareporting:v2.7/PlacementStrategy/name": name +"/dfareporting:v2.7/PlacementTag": placement_tag +"/dfareporting:v2.7/PlacementTag/placementId": placement_id +"/dfareporting:v2.7/PlacementTag/tagDatas": tag_datas +"/dfareporting:v2.7/PlacementTag/tagDatas/tag_data": tag_data +"/dfareporting:v2.7/PlacementsGenerateTagsResponse": placements_generate_tags_response +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/kind": kind +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/placementTags": placement_tags +"/dfareporting:v2.7/PlacementsGenerateTagsResponse/placementTags/placement_tag": placement_tag +"/dfareporting:v2.7/PlacementsListResponse": placements_list_response +"/dfareporting:v2.7/PlacementsListResponse/kind": kind +"/dfareporting:v2.7/PlacementsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/PlacementsListResponse/placements": placements +"/dfareporting:v2.7/PlacementsListResponse/placements/placement": placement +"/dfareporting:v2.7/PlatformType": platform_type +"/dfareporting:v2.7/PlatformType/id": id +"/dfareporting:v2.7/PlatformType/kind": kind +"/dfareporting:v2.7/PlatformType/name": name +"/dfareporting:v2.7/PlatformTypesListResponse": platform_types_list_response +"/dfareporting:v2.7/PlatformTypesListResponse/kind": kind +"/dfareporting:v2.7/PlatformTypesListResponse/platformTypes": platform_types +"/dfareporting:v2.7/PlatformTypesListResponse/platformTypes/platform_type": platform_type +"/dfareporting:v2.7/PopupWindowProperties": popup_window_properties +"/dfareporting:v2.7/PopupWindowProperties/dimension": dimension +"/dfareporting:v2.7/PopupWindowProperties/offset": offset +"/dfareporting:v2.7/PopupWindowProperties/positionType": position_type +"/dfareporting:v2.7/PopupWindowProperties/showAddressBar": show_address_bar +"/dfareporting:v2.7/PopupWindowProperties/showMenuBar": show_menu_bar +"/dfareporting:v2.7/PopupWindowProperties/showScrollBar": show_scroll_bar +"/dfareporting:v2.7/PopupWindowProperties/showStatusBar": show_status_bar +"/dfareporting:v2.7/PopupWindowProperties/showToolBar": show_tool_bar +"/dfareporting:v2.7/PopupWindowProperties/title": title +"/dfareporting:v2.7/PostalCode": postal_code +"/dfareporting:v2.7/PostalCode/code": code +"/dfareporting:v2.7/PostalCode/countryCode": country_code +"/dfareporting:v2.7/PostalCode/countryDartId": country_dart_id +"/dfareporting:v2.7/PostalCode/id": id +"/dfareporting:v2.7/PostalCode/kind": kind +"/dfareporting:v2.7/PostalCodesListResponse": postal_codes_list_response +"/dfareporting:v2.7/PostalCodesListResponse/kind": kind +"/dfareporting:v2.7/PostalCodesListResponse/postalCodes": postal_codes +"/dfareporting:v2.7/PostalCodesListResponse/postalCodes/postal_code": postal_code +"/dfareporting:v2.7/Pricing": pricing +"/dfareporting:v2.7/Pricing/capCostType": cap_cost_type +"/dfareporting:v2.7/Pricing/endDate": end_date +"/dfareporting:v2.7/Pricing/flights": flights +"/dfareporting:v2.7/Pricing/flights/flight": flight +"/dfareporting:v2.7/Pricing/groupType": group_type +"/dfareporting:v2.7/Pricing/pricingType": pricing_type +"/dfareporting:v2.7/Pricing/startDate": start_date +"/dfareporting:v2.7/PricingSchedule": pricing_schedule +"/dfareporting:v2.7/PricingSchedule/capCostOption": cap_cost_option +"/dfareporting:v2.7/PricingSchedule/disregardOverdelivery": disregard_overdelivery +"/dfareporting:v2.7/PricingSchedule/endDate": end_date +"/dfareporting:v2.7/PricingSchedule/flighted": flighted +"/dfareporting:v2.7/PricingSchedule/floodlightActivityId": floodlight_activity_id +"/dfareporting:v2.7/PricingSchedule/pricingPeriods": pricing_periods +"/dfareporting:v2.7/PricingSchedule/pricingPeriods/pricing_period": pricing_period +"/dfareporting:v2.7/PricingSchedule/pricingType": pricing_type +"/dfareporting:v2.7/PricingSchedule/startDate": start_date +"/dfareporting:v2.7/PricingSchedule/testingStartDate": testing_start_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod": pricing_schedule_pricing_period +"/dfareporting:v2.7/PricingSchedulePricingPeriod/endDate": end_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod/pricingComment": pricing_comment +"/dfareporting:v2.7/PricingSchedulePricingPeriod/rateOrCostNanos": rate_or_cost_nanos +"/dfareporting:v2.7/PricingSchedulePricingPeriod/startDate": start_date +"/dfareporting:v2.7/PricingSchedulePricingPeriod/units": units +"/dfareporting:v2.7/Project": project +"/dfareporting:v2.7/Project/accountId": account_id +"/dfareporting:v2.7/Project/advertiserId": advertiser_id +"/dfareporting:v2.7/Project/audienceAgeGroup": audience_age_group +"/dfareporting:v2.7/Project/audienceGender": audience_gender +"/dfareporting:v2.7/Project/budget": budget +"/dfareporting:v2.7/Project/clientBillingCode": client_billing_code +"/dfareporting:v2.7/Project/clientName": client_name +"/dfareporting:v2.7/Project/endDate": end_date +"/dfareporting:v2.7/Project/id": id +"/dfareporting:v2.7/Project/kind": kind +"/dfareporting:v2.7/Project/lastModifiedInfo": last_modified_info +"/dfareporting:v2.7/Project/name": name +"/dfareporting:v2.7/Project/overview": overview +"/dfareporting:v2.7/Project/startDate": start_date +"/dfareporting:v2.7/Project/subaccountId": subaccount_id +"/dfareporting:v2.7/Project/targetClicks": target_clicks +"/dfareporting:v2.7/Project/targetConversions": target_conversions +"/dfareporting:v2.7/Project/targetCpaNanos": target_cpa_nanos +"/dfareporting:v2.7/Project/targetCpcNanos": target_cpc_nanos +"/dfareporting:v2.7/Project/targetCpmActiveViewNanos": target_cpm_active_view_nanos +"/dfareporting:v2.7/Project/targetCpmNanos": target_cpm_nanos +"/dfareporting:v2.7/Project/targetImpressions": target_impressions +"/dfareporting:v2.7/ProjectsListResponse": projects_list_response +"/dfareporting:v2.7/ProjectsListResponse/kind": kind +"/dfareporting:v2.7/ProjectsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/ProjectsListResponse/projects": projects +"/dfareporting:v2.7/ProjectsListResponse/projects/project": project +"/dfareporting:v2.7/ReachReportCompatibleFields": reach_report_compatible_fields +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/ReachReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/ReachReportCompatibleFields/kind": kind +"/dfareporting:v2.7/ReachReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/ReachReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.7/ReachReportCompatibleFields/reachByFrequencyMetrics": reach_by_frequency_metrics +"/dfareporting:v2.7/ReachReportCompatibleFields/reachByFrequencyMetrics/reach_by_frequency_metric": reach_by_frequency_metric +"/dfareporting:v2.7/Recipient": recipient +"/dfareporting:v2.7/Recipient/deliveryType": delivery_type +"/dfareporting:v2.7/Recipient/email": email +"/dfareporting:v2.7/Recipient/kind": kind +"/dfareporting:v2.7/Region": region +"/dfareporting:v2.7/Region/countryCode": country_code +"/dfareporting:v2.7/Region/countryDartId": country_dart_id +"/dfareporting:v2.7/Region/dartId": dart_id +"/dfareporting:v2.7/Region/kind": kind +"/dfareporting:v2.7/Region/name": name +"/dfareporting:v2.7/Region/regionCode": region_code +"/dfareporting:v2.7/RegionsListResponse": regions_list_response +"/dfareporting:v2.7/RegionsListResponse/kind": kind +"/dfareporting:v2.7/RegionsListResponse/regions": regions +"/dfareporting:v2.7/RegionsListResponse/regions/region": region +"/dfareporting:v2.7/RemarketingList": remarketing_list +"/dfareporting:v2.7/RemarketingList/accountId": account_id +"/dfareporting:v2.7/RemarketingList/active": active +"/dfareporting:v2.7/RemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.7/RemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/RemarketingList/description": description +"/dfareporting:v2.7/RemarketingList/id": id +"/dfareporting:v2.7/RemarketingList/kind": kind +"/dfareporting:v2.7/RemarketingList/lifeSpan": life_span +"/dfareporting:v2.7/RemarketingList/listPopulationRule": list_population_rule +"/dfareporting:v2.7/RemarketingList/listSize": list_size +"/dfareporting:v2.7/RemarketingList/listSource": list_source +"/dfareporting:v2.7/RemarketingList/name": name +"/dfareporting:v2.7/RemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.7/RemarketingListShare": remarketing_list_share +"/dfareporting:v2.7/RemarketingListShare/kind": kind +"/dfareporting:v2.7/RemarketingListShare/remarketingListId": remarketing_list_id +"/dfareporting:v2.7/RemarketingListShare/sharedAccountIds": shared_account_ids +"/dfareporting:v2.7/RemarketingListShare/sharedAccountIds/shared_account_id": shared_account_id +"/dfareporting:v2.7/RemarketingListShare/sharedAdvertiserIds": shared_advertiser_ids +"/dfareporting:v2.7/RemarketingListShare/sharedAdvertiserIds/shared_advertiser_id": shared_advertiser_id +"/dfareporting:v2.7/RemarketingListsListResponse": remarketing_lists_list_response +"/dfareporting:v2.7/RemarketingListsListResponse/kind": kind +"/dfareporting:v2.7/RemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/RemarketingListsListResponse/remarketingLists": remarketing_lists +"/dfareporting:v2.7/RemarketingListsListResponse/remarketingLists/remarketing_list": remarketing_list +"/dfareporting:v2.7/Report": report +"/dfareporting:v2.7/Report/accountId": account_id +"/dfareporting:v2.7/Report/criteria": criteria +"/dfareporting:v2.7/Report/criteria/activities": activities +"/dfareporting:v2.7/Report/criteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/criteria/dateRange": date_range +"/dfareporting:v2.7/Report/criteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/criteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/criteria/dimensions": dimensions +"/dfareporting:v2.7/Report/criteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/criteria/metricNames": metric_names +"/dfareporting:v2.7/Report/criteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria": cross_dimension_reach_criteria +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/breakdown": breakdown +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/breakdown/breakdown": breakdown +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimension": dimension +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/overlapMetricNames": overlap_metric_names +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/overlapMetricNames/overlap_metric_name": overlap_metric_name +"/dfareporting:v2.7/Report/crossDimensionReachCriteria/pivoted": pivoted +"/dfareporting:v2.7/Report/delivery": delivery +"/dfareporting:v2.7/Report/delivery/emailOwner": email_owner +"/dfareporting:v2.7/Report/delivery/emailOwnerDeliveryType": email_owner_delivery_type +"/dfareporting:v2.7/Report/delivery/message": message +"/dfareporting:v2.7/Report/delivery/recipients": recipients +"/dfareporting:v2.7/Report/delivery/recipients/recipient": recipient +"/dfareporting:v2.7/Report/etag": etag +"/dfareporting:v2.7/Report/fileName": file_name +"/dfareporting:v2.7/Report/floodlightCriteria": floodlight_criteria +"/dfareporting:v2.7/Report/floodlightCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/floodlightCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.7/Report/floodlightCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/floodlightCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/floodlightCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/floodlightCriteria/dimensions": dimensions +"/dfareporting:v2.7/Report/floodlightCriteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/floodlightCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.7/Report/floodlightCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/floodlightCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties": report_properties +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.7/Report/floodlightCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.7/Report/format": format +"/dfareporting:v2.7/Report/id": id +"/dfareporting:v2.7/Report/kind": kind +"/dfareporting:v2.7/Report/lastModifiedTime": last_modified_time +"/dfareporting:v2.7/Report/name": name +"/dfareporting:v2.7/Report/ownerProfileId": owner_profile_id +"/dfareporting:v2.7/Report/pathToConversionCriteria": path_to_conversion_criteria +"/dfareporting:v2.7/Report/pathToConversionCriteria/activityFilters": activity_filters +"/dfareporting:v2.7/Report/pathToConversionCriteria/activityFilters/activity_filter": activity_filter +"/dfareporting:v2.7/Report/pathToConversionCriteria/conversionDimensions": conversion_dimensions +"/dfareporting:v2.7/Report/pathToConversionCriteria/conversionDimensions/conversion_dimension": conversion_dimension +"/dfareporting:v2.7/Report/pathToConversionCriteria/customFloodlightVariables": custom_floodlight_variables +"/dfareporting:v2.7/Report/pathToConversionCriteria/customFloodlightVariables/custom_floodlight_variable": custom_floodlight_variable +"/dfareporting:v2.7/Report/pathToConversionCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/pathToConversionCriteria/customRichMediaEvents/custom_rich_media_event": custom_rich_media_event +"/dfareporting:v2.7/Report/pathToConversionCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/pathToConversionCriteria/floodlightConfigId": floodlight_config_id +"/dfareporting:v2.7/Report/pathToConversionCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/pathToConversionCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/pathToConversionCriteria/perInteractionDimensions": per_interaction_dimensions +"/dfareporting:v2.7/Report/pathToConversionCriteria/perInteractionDimensions/per_interaction_dimension": per_interaction_dimension +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties": report_properties +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/clicksLookbackWindow": clicks_lookback_window +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/impressionsLookbackWindow": impressions_lookback_window +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeAttributedIPConversions": include_attributed_ip_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeUnattributedCookieConversions": include_unattributed_cookie_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/includeUnattributedIPConversions": include_unattributed_ip_conversions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumClickInteractions": maximum_click_interactions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumImpressionInteractions": maximum_impression_interactions +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/maximumInteractionGap": maximum_interaction_gap +"/dfareporting:v2.7/Report/pathToConversionCriteria/reportProperties/pivotOnInteractionPath": pivot_on_interaction_path +"/dfareporting:v2.7/Report/reachCriteria": reach_criteria +"/dfareporting:v2.7/Report/reachCriteria/activities": activities +"/dfareporting:v2.7/Report/reachCriteria/customRichMediaEvents": custom_rich_media_events +"/dfareporting:v2.7/Report/reachCriteria/dateRange": date_range +"/dfareporting:v2.7/Report/reachCriteria/dimensionFilters": dimension_filters +"/dfareporting:v2.7/Report/reachCriteria/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/Report/reachCriteria/dimensions": dimensions +"/dfareporting:v2.7/Report/reachCriteria/dimensions/dimension": dimension +"/dfareporting:v2.7/Report/reachCriteria/enableAllDimensionCombinations": enable_all_dimension_combinations +"/dfareporting:v2.7/Report/reachCriteria/metricNames": metric_names +"/dfareporting:v2.7/Report/reachCriteria/metricNames/metric_name": metric_name +"/dfareporting:v2.7/Report/reachCriteria/reachByFrequencyMetricNames": reach_by_frequency_metric_names +"/dfareporting:v2.7/Report/reachCriteria/reachByFrequencyMetricNames/reach_by_frequency_metric_name": reach_by_frequency_metric_name +"/dfareporting:v2.7/Report/schedule": schedule +"/dfareporting:v2.7/Report/schedule/active": active +"/dfareporting:v2.7/Report/schedule/every": every +"/dfareporting:v2.7/Report/schedule/expirationDate": expiration_date +"/dfareporting:v2.7/Report/schedule/repeats": repeats +"/dfareporting:v2.7/Report/schedule/repeatsOnWeekDays": repeats_on_week_days +"/dfareporting:v2.7/Report/schedule/repeatsOnWeekDays/repeats_on_week_day": repeats_on_week_day +"/dfareporting:v2.7/Report/schedule/runsOnDayOfMonth": runs_on_day_of_month +"/dfareporting:v2.7/Report/schedule/startDate": start_date +"/dfareporting:v2.7/Report/subAccountId": sub_account_id +"/dfareporting:v2.7/Report/type": type +"/dfareporting:v2.7/ReportCompatibleFields": report_compatible_fields +"/dfareporting:v2.7/ReportCompatibleFields/dimensionFilters": dimension_filters +"/dfareporting:v2.7/ReportCompatibleFields/dimensionFilters/dimension_filter": dimension_filter +"/dfareporting:v2.7/ReportCompatibleFields/dimensions": dimensions +"/dfareporting:v2.7/ReportCompatibleFields/dimensions/dimension": dimension +"/dfareporting:v2.7/ReportCompatibleFields/kind": kind +"/dfareporting:v2.7/ReportCompatibleFields/metrics": metrics +"/dfareporting:v2.7/ReportCompatibleFields/metrics/metric": metric +"/dfareporting:v2.7/ReportCompatibleFields/pivotedActivityMetrics": pivoted_activity_metrics +"/dfareporting:v2.7/ReportCompatibleFields/pivotedActivityMetrics/pivoted_activity_metric": pivoted_activity_metric +"/dfareporting:v2.7/ReportList": report_list +"/dfareporting:v2.7/ReportList/etag": etag +"/dfareporting:v2.7/ReportList/items": items +"/dfareporting:v2.7/ReportList/items/item": item +"/dfareporting:v2.7/ReportList/kind": kind +"/dfareporting:v2.7/ReportList/nextPageToken": next_page_token +"/dfareporting:v2.7/ReportsConfiguration": reports_configuration +"/dfareporting:v2.7/ReportsConfiguration/exposureToConversionEnabled": exposure_to_conversion_enabled +"/dfareporting:v2.7/ReportsConfiguration/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/ReportsConfiguration/reportGenerationTimeZoneId": report_generation_time_zone_id +"/dfareporting:v2.7/RichMediaExitOverride": rich_media_exit_override +"/dfareporting:v2.7/RichMediaExitOverride/clickThroughUrl": click_through_url +"/dfareporting:v2.7/RichMediaExitOverride/enabled": enabled +"/dfareporting:v2.7/RichMediaExitOverride/exitId": exit_id +"/dfareporting:v2.7/Rule": rule +"/dfareporting:v2.7/Rule/assetId": asset_id +"/dfareporting:v2.7/Rule/name": name +"/dfareporting:v2.7/Rule/targetingTemplateId": targeting_template_id +"/dfareporting:v2.7/Site": site +"/dfareporting:v2.7/Site/accountId": account_id +"/dfareporting:v2.7/Site/approved": approved +"/dfareporting:v2.7/Site/directorySiteId": directory_site_id +"/dfareporting:v2.7/Site/directorySiteIdDimensionValue": directory_site_id_dimension_value +"/dfareporting:v2.7/Site/id": id +"/dfareporting:v2.7/Site/idDimensionValue": id_dimension_value +"/dfareporting:v2.7/Site/keyName": key_name +"/dfareporting:v2.7/Site/kind": kind +"/dfareporting:v2.7/Site/name": name +"/dfareporting:v2.7/Site/siteContacts": site_contacts +"/dfareporting:v2.7/Site/siteContacts/site_contact": site_contact +"/dfareporting:v2.7/Site/siteSettings": site_settings +"/dfareporting:v2.7/Site/subaccountId": subaccount_id +"/dfareporting:v2.7/SiteContact": site_contact +"/dfareporting:v2.7/SiteContact/address": address +"/dfareporting:v2.7/SiteContact/contactType": contact_type +"/dfareporting:v2.7/SiteContact/email": email +"/dfareporting:v2.7/SiteContact/firstName": first_name +"/dfareporting:v2.7/SiteContact/id": id +"/dfareporting:v2.7/SiteContact/lastName": last_name +"/dfareporting:v2.7/SiteContact/phone": phone +"/dfareporting:v2.7/SiteContact/title": title +"/dfareporting:v2.7/SiteSettings": site_settings +"/dfareporting:v2.7/SiteSettings/activeViewOptOut": active_view_opt_out +"/dfareporting:v2.7/SiteSettings/creativeSettings": creative_settings +"/dfareporting:v2.7/SiteSettings/disableBrandSafeAds": disable_brand_safe_ads +"/dfareporting:v2.7/SiteSettings/disableNewCookie": disable_new_cookie +"/dfareporting:v2.7/SiteSettings/lookbackConfiguration": lookback_configuration +"/dfareporting:v2.7/SiteSettings/tagSetting": tag_setting +"/dfareporting:v2.7/SiteSettings/videoActiveViewOptOutTemplate": video_active_view_opt_out_template +"/dfareporting:v2.7/SiteSettings/vpaidAdapterChoiceTemplate": vpaid_adapter_choice_template +"/dfareporting:v2.7/SitesListResponse": sites_list_response +"/dfareporting:v2.7/SitesListResponse/kind": kind +"/dfareporting:v2.7/SitesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/SitesListResponse/sites": sites +"/dfareporting:v2.7/SitesListResponse/sites/site": site +"/dfareporting:v2.7/Size": size +"/dfareporting:v2.7/Size/height": height +"/dfareporting:v2.7/Size/iab": iab +"/dfareporting:v2.7/Size/id": id +"/dfareporting:v2.7/Size/kind": kind +"/dfareporting:v2.7/Size/width": width +"/dfareporting:v2.7/SizesListResponse": sizes_list_response +"/dfareporting:v2.7/SizesListResponse/kind": kind +"/dfareporting:v2.7/SizesListResponse/sizes": sizes +"/dfareporting:v2.7/SizesListResponse/sizes/size": size +"/dfareporting:v2.7/SkippableSetting": skippable_setting +"/dfareporting:v2.7/SkippableSetting/kind": kind +"/dfareporting:v2.7/SkippableSetting/progressOffset": progress_offset +"/dfareporting:v2.7/SkippableSetting/skipOffset": skip_offset +"/dfareporting:v2.7/SkippableSetting/skippable": skippable +"/dfareporting:v2.7/SortedDimension": sorted_dimension +"/dfareporting:v2.7/SortedDimension/kind": kind +"/dfareporting:v2.7/SortedDimension/name": name +"/dfareporting:v2.7/SortedDimension/sortOrder": sort_order +"/dfareporting:v2.7/Subaccount": subaccount +"/dfareporting:v2.7/Subaccount/accountId": account_id +"/dfareporting:v2.7/Subaccount/availablePermissionIds": available_permission_ids +"/dfareporting:v2.7/Subaccount/availablePermissionIds/available_permission_id": available_permission_id +"/dfareporting:v2.7/Subaccount/id": id +"/dfareporting:v2.7/Subaccount/kind": kind +"/dfareporting:v2.7/Subaccount/name": name +"/dfareporting:v2.7/SubaccountsListResponse": subaccounts_list_response +"/dfareporting:v2.7/SubaccountsListResponse/kind": kind +"/dfareporting:v2.7/SubaccountsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/SubaccountsListResponse/subaccounts": subaccounts +"/dfareporting:v2.7/SubaccountsListResponse/subaccounts/subaccount": subaccount +"/dfareporting:v2.7/TagData": tag_data +"/dfareporting:v2.7/TagData/adId": ad_id +"/dfareporting:v2.7/TagData/clickTag": click_tag +"/dfareporting:v2.7/TagData/creativeId": creative_id +"/dfareporting:v2.7/TagData/format": format +"/dfareporting:v2.7/TagData/impressionTag": impression_tag +"/dfareporting:v2.7/TagSetting": tag_setting +"/dfareporting:v2.7/TagSetting/additionalKeyValues": additional_key_values +"/dfareporting:v2.7/TagSetting/includeClickThroughUrls": include_click_through_urls +"/dfareporting:v2.7/TagSetting/includeClickTracking": include_click_tracking +"/dfareporting:v2.7/TagSetting/keywordOption": keyword_option +"/dfareporting:v2.7/TagSettings": tag_settings +"/dfareporting:v2.7/TagSettings/dynamicTagEnabled": dynamic_tag_enabled +"/dfareporting:v2.7/TagSettings/imageTagEnabled": image_tag_enabled +"/dfareporting:v2.7/TargetWindow": target_window +"/dfareporting:v2.7/TargetWindow/customHtml": custom_html +"/dfareporting:v2.7/TargetWindow/targetWindowOption": target_window_option +"/dfareporting:v2.7/TargetableRemarketingList": targetable_remarketing_list +"/dfareporting:v2.7/TargetableRemarketingList/accountId": account_id +"/dfareporting:v2.7/TargetableRemarketingList/active": active +"/dfareporting:v2.7/TargetableRemarketingList/advertiserId": advertiser_id +"/dfareporting:v2.7/TargetableRemarketingList/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/TargetableRemarketingList/description": description +"/dfareporting:v2.7/TargetableRemarketingList/id": id +"/dfareporting:v2.7/TargetableRemarketingList/kind": kind +"/dfareporting:v2.7/TargetableRemarketingList/lifeSpan": life_span +"/dfareporting:v2.7/TargetableRemarketingList/listSize": list_size +"/dfareporting:v2.7/TargetableRemarketingList/listSource": list_source +"/dfareporting:v2.7/TargetableRemarketingList/name": name +"/dfareporting:v2.7/TargetableRemarketingList/subaccountId": subaccount_id +"/dfareporting:v2.7/TargetableRemarketingListsListResponse": targetable_remarketing_lists_list_response +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/kind": kind +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/targetableRemarketingLists": targetable_remarketing_lists +"/dfareporting:v2.7/TargetableRemarketingListsListResponse/targetableRemarketingLists/targetable_remarketing_list": targetable_remarketing_list +"/dfareporting:v2.7/TargetingTemplate": targeting_template +"/dfareporting:v2.7/TargetingTemplate/accountId": account_id +"/dfareporting:v2.7/TargetingTemplate/advertiserId": advertiser_id +"/dfareporting:v2.7/TargetingTemplate/advertiserIdDimensionValue": advertiser_id_dimension_value +"/dfareporting:v2.7/TargetingTemplate/dayPartTargeting": day_part_targeting +"/dfareporting:v2.7/TargetingTemplate/geoTargeting": geo_targeting +"/dfareporting:v2.7/TargetingTemplate/id": id +"/dfareporting:v2.7/TargetingTemplate/keyValueTargetingExpression": key_value_targeting_expression +"/dfareporting:v2.7/TargetingTemplate/kind": kind +"/dfareporting:v2.7/TargetingTemplate/languageTargeting": language_targeting +"/dfareporting:v2.7/TargetingTemplate/listTargetingExpression": list_targeting_expression +"/dfareporting:v2.7/TargetingTemplate/name": name +"/dfareporting:v2.7/TargetingTemplate/subaccountId": subaccount_id +"/dfareporting:v2.7/TargetingTemplate/technologyTargeting": technology_targeting +"/dfareporting:v2.7/TargetingTemplatesListResponse": targeting_templates_list_response +"/dfareporting:v2.7/TargetingTemplatesListResponse/kind": kind +"/dfareporting:v2.7/TargetingTemplatesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/TargetingTemplatesListResponse/targetingTemplates": targeting_templates +"/dfareporting:v2.7/TargetingTemplatesListResponse/targetingTemplates/targeting_template": targeting_template +"/dfareporting:v2.7/TechnologyTargeting": technology_targeting +"/dfareporting:v2.7/TechnologyTargeting/browsers": browsers +"/dfareporting:v2.7/TechnologyTargeting/browsers/browser": browser +"/dfareporting:v2.7/TechnologyTargeting/connectionTypes": connection_types +"/dfareporting:v2.7/TechnologyTargeting/connectionTypes/connection_type": connection_type +"/dfareporting:v2.7/TechnologyTargeting/mobileCarriers": mobile_carriers +"/dfareporting:v2.7/TechnologyTargeting/mobileCarriers/mobile_carrier": mobile_carrier +"/dfareporting:v2.7/TechnologyTargeting/operatingSystemVersions": operating_system_versions +"/dfareporting:v2.7/TechnologyTargeting/operatingSystemVersions/operating_system_version": operating_system_version +"/dfareporting:v2.7/TechnologyTargeting/operatingSystems": operating_systems +"/dfareporting:v2.7/TechnologyTargeting/operatingSystems/operating_system": operating_system +"/dfareporting:v2.7/TechnologyTargeting/platformTypes": platform_types +"/dfareporting:v2.7/TechnologyTargeting/platformTypes/platform_type": platform_type +"/dfareporting:v2.7/ThirdPartyAuthenticationToken": third_party_authentication_token +"/dfareporting:v2.7/ThirdPartyAuthenticationToken/name": name +"/dfareporting:v2.7/ThirdPartyAuthenticationToken/value": value +"/dfareporting:v2.7/ThirdPartyTrackingUrl": third_party_tracking_url +"/dfareporting:v2.7/ThirdPartyTrackingUrl/thirdPartyUrlType": third_party_url_type +"/dfareporting:v2.7/ThirdPartyTrackingUrl/url": url +"/dfareporting:v2.7/TranscodeSetting": transcode_setting +"/dfareporting:v2.7/TranscodeSetting/enabledVideoFormats": enabled_video_formats +"/dfareporting:v2.7/TranscodeSetting/enabledVideoFormats/enabled_video_format": enabled_video_format +"/dfareporting:v2.7/TranscodeSetting/kind": kind +"/dfareporting:v2.7/UserDefinedVariableConfiguration": user_defined_variable_configuration +"/dfareporting:v2.7/UserDefinedVariableConfiguration/dataType": data_type +"/dfareporting:v2.7/UserDefinedVariableConfiguration/reportName": report_name +"/dfareporting:v2.7/UserDefinedVariableConfiguration/variableType": variable_type +"/dfareporting:v2.7/UserProfile": user_profile +"/dfareporting:v2.7/UserProfile/accountId": account_id +"/dfareporting:v2.7/UserProfile/accountName": account_name +"/dfareporting:v2.7/UserProfile/etag": etag +"/dfareporting:v2.7/UserProfile/kind": kind +"/dfareporting:v2.7/UserProfile/profileId": profile_id +"/dfareporting:v2.7/UserProfile/subAccountId": sub_account_id +"/dfareporting:v2.7/UserProfile/subAccountName": sub_account_name +"/dfareporting:v2.7/UserProfile/userName": user_name +"/dfareporting:v2.7/UserProfileList": user_profile_list +"/dfareporting:v2.7/UserProfileList/etag": etag +"/dfareporting:v2.7/UserProfileList/items": items +"/dfareporting:v2.7/UserProfileList/items/item": item +"/dfareporting:v2.7/UserProfileList/kind": kind +"/dfareporting:v2.7/UserRole": user_role +"/dfareporting:v2.7/UserRole/accountId": account_id +"/dfareporting:v2.7/UserRole/defaultUserRole": default_user_role +"/dfareporting:v2.7/UserRole/id": id +"/dfareporting:v2.7/UserRole/kind": kind +"/dfareporting:v2.7/UserRole/name": name +"/dfareporting:v2.7/UserRole/parentUserRoleId": parent_user_role_id +"/dfareporting:v2.7/UserRole/permissions": permissions +"/dfareporting:v2.7/UserRole/permissions/permission": permission +"/dfareporting:v2.7/UserRole/subaccountId": subaccount_id +"/dfareporting:v2.7/UserRolePermission": user_role_permission +"/dfareporting:v2.7/UserRolePermission/availability": availability +"/dfareporting:v2.7/UserRolePermission/id": id +"/dfareporting:v2.7/UserRolePermission/kind": kind +"/dfareporting:v2.7/UserRolePermission/name": name +"/dfareporting:v2.7/UserRolePermission/permissionGroupId": permission_group_id +"/dfareporting:v2.7/UserRolePermissionGroup": user_role_permission_group +"/dfareporting:v2.7/UserRolePermissionGroup/id": id +"/dfareporting:v2.7/UserRolePermissionGroup/kind": kind +"/dfareporting:v2.7/UserRolePermissionGroup/name": name +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse": user_role_permission_groups_list_response +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/kind": kind +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/userRolePermissionGroups": user_role_permission_groups +"/dfareporting:v2.7/UserRolePermissionGroupsListResponse/userRolePermissionGroups/user_role_permission_group": user_role_permission_group +"/dfareporting:v2.7/UserRolePermissionsListResponse": user_role_permissions_list_response +"/dfareporting:v2.7/UserRolePermissionsListResponse/kind": kind +"/dfareporting:v2.7/UserRolePermissionsListResponse/userRolePermissions": user_role_permissions +"/dfareporting:v2.7/UserRolePermissionsListResponse/userRolePermissions/user_role_permission": user_role_permission +"/dfareporting:v2.7/UserRolesListResponse": user_roles_list_response +"/dfareporting:v2.7/UserRolesListResponse/kind": kind +"/dfareporting:v2.7/UserRolesListResponse/nextPageToken": next_page_token +"/dfareporting:v2.7/UserRolesListResponse/userRoles": user_roles +"/dfareporting:v2.7/UserRolesListResponse/userRoles/user_role": user_role +"/dfareporting:v2.7/VideoFormat": video_format +"/dfareporting:v2.7/VideoFormat/fileType": file_type +"/dfareporting:v2.7/VideoFormat/id": id +"/dfareporting:v2.7/VideoFormat/kind": kind +"/dfareporting:v2.7/VideoFormat/resolution": resolution +"/dfareporting:v2.7/VideoFormat/targetBitRate": target_bit_rate +"/dfareporting:v2.7/VideoFormatsListResponse": video_formats_list_response +"/dfareporting:v2.7/VideoFormatsListResponse/kind": kind +"/dfareporting:v2.7/VideoFormatsListResponse/videoFormats": video_formats +"/dfareporting:v2.7/VideoFormatsListResponse/videoFormats/video_format": video_format +"/dfareporting:v2.7/VideoOffset": video_offset +"/dfareporting:v2.7/VideoOffset/offsetPercentage": offset_percentage +"/dfareporting:v2.7/VideoOffset/offsetSeconds": offset_seconds +"/dfareporting:v2.7/VideoSettings": video_settings +"/dfareporting:v2.7/VideoSettings/companionSettings": companion_settings +"/dfareporting:v2.7/VideoSettings/kind": kind +"/dfareporting:v2.7/VideoSettings/skippableSettings": skippable_settings +"/dfareporting:v2.7/VideoSettings/transcodeSettings": transcode_settings +"/cloudkms:v1beta1/fields": fields +"/cloudkms:v1beta1/key": key +"/cloudkms:v1beta1/quotaUser": quota_user +"/cloudkms:v1beta1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1beta1/cloudkms.projects.locations.list/filter": filter +"/cloudkms:v1beta1/cloudkms.projects.locations.list/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.get": get_project_location +"/cloudkms:v1beta1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1beta1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name +"/cloudkms:v1beta1/CloudAuditOptions": cloud_audit_options +"/cloudkms:v1beta1/Binding": binding +"/cloudkms:v1beta1/Binding/members": members +"/cloudkms:v1beta1/Binding/members/member": member +"/cloudkms:v1beta1/Binding/role": role +"/cloudkms:v1beta1/EncryptRequest": encrypt_request +"/cloudkms:v1beta1/EncryptRequest/plaintext": plaintext +"/cloudkms:v1beta1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1beta1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudkms:v1beta1/TestIamPermissionsResponse/permissions": permissions +"/cloudkms:v1beta1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudkms:v1beta1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1beta1/CryptoKey": crypto_key +"/cloudkms:v1beta1/CryptoKey/name": name +"/cloudkms:v1beta1/CryptoKey/purpose": purpose +"/cloudkms:v1beta1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1beta1/CryptoKey/createTime": create_time +"/cloudkms:v1beta1/CryptoKey/rotationPeriod": rotation_period +"/cloudkms:v1beta1/CryptoKey/primary": primary +"/cloudkms:v1beta1/Rule": rule +"/cloudkms:v1beta1/Rule/logConfig": log_config +"/cloudkms:v1beta1/Rule/logConfig/log_config": log_config +"/cloudkms:v1beta1/Rule/in": in +"/cloudkms:v1beta1/Rule/in/in": in +"/cloudkms:v1beta1/Rule/permissions": permissions +"/cloudkms:v1beta1/Rule/permissions/permission": permission +"/cloudkms:v1beta1/Rule/action": action +"/cloudkms:v1beta1/Rule/notIn": not_in +"/cloudkms:v1beta1/Rule/notIn/not_in": not_in +"/cloudkms:v1beta1/Rule/description": description +"/cloudkms:v1beta1/Rule/conditions": conditions +"/cloudkms:v1beta1/Rule/conditions/condition": condition +"/cloudkms:v1beta1/LogConfig": log_config +"/cloudkms:v1beta1/LogConfig/dataAccess": data_access +"/cloudkms:v1beta1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1beta1/LogConfig/counter": counter +"/cloudkms:v1beta1/SetIamPolicyRequest": set_iam_policy_request +"/cloudkms:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/cloudkms:v1beta1/SetIamPolicyRequest/policy": policy +"/cloudkms:v1beta1/DecryptRequest": decrypt_request +"/cloudkms:v1beta1/DecryptRequest/ciphertext": ciphertext +"/cloudkms:v1beta1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1beta1/Location": location +"/cloudkms:v1beta1/Location/labels": labels +"/cloudkms:v1beta1/Location/labels/label": label +"/cloudkms:v1beta1/Location/name": name +"/cloudkms:v1beta1/Location/locationId": location_id +"/cloudkms:v1beta1/Location/metadata": metadata +"/cloudkms:v1beta1/Location/metadata/metadatum": metadatum +"/cloudkms:v1beta1/ListCryptoKeysResponse": list_crypto_keys_response +"/cloudkms:v1beta1/ListCryptoKeysResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListCryptoKeysResponse/cryptoKeys": crypto_keys +"/cloudkms:v1beta1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key +"/cloudkms:v1beta1/ListCryptoKeysResponse/totalSize": total_size +"/cloudkms:v1beta1/Condition": condition +"/cloudkms:v1beta1/Condition/svc": svc +"/cloudkms:v1beta1/Condition/sys": sys +"/cloudkms:v1beta1/Condition/value": value +"/cloudkms:v1beta1/Condition/values": values +"/cloudkms:v1beta1/Condition/values/value": value +"/cloudkms:v1beta1/Condition/iam": iam +"/cloudkms:v1beta1/Condition/op": op +"/cloudkms:v1beta1/CounterOptions": counter_options +"/cloudkms:v1beta1/CounterOptions/metric": metric +"/cloudkms:v1beta1/CounterOptions/field": field +"/cloudkms:v1beta1/AuditLogConfig": audit_log_config +"/cloudkms:v1beta1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudkms:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1beta1/AuditLogConfig/logType": log_type +"/cloudkms:v1beta1/DecryptResponse": decrypt_response +"/cloudkms:v1beta1/DecryptResponse/plaintext": plaintext +"/cloudkms:v1beta1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudkms:v1beta1/TestIamPermissionsRequest/permissions": permissions +"/cloudkms:v1beta1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1beta1/Policy": policy +"/cloudkms:v1beta1/Policy/iamOwned": iam_owned +"/cloudkms:v1beta1/Policy/rules": rules +"/cloudkms:v1beta1/Policy/rules/rule": rule +"/cloudkms:v1beta1/Policy/version": version +"/cloudkms:v1beta1/Policy/auditConfigs": audit_configs +"/cloudkms:v1beta1/Policy/auditConfigs/audit_config": audit_config +"/cloudkms:v1beta1/Policy/bindings": bindings +"/cloudkms:v1beta1/Policy/bindings/binding": binding +"/cloudkms:v1beta1/Policy/etag": etag +"/cloudkms:v1beta1/EncryptResponse": encrypt_response +"/cloudkms:v1beta1/EncryptResponse/ciphertext": ciphertext +"/cloudkms:v1beta1/EncryptResponse/name": name +"/cloudkms:v1beta1/KeyRing": key_ring +"/cloudkms:v1beta1/KeyRing/createTime": create_time +"/cloudkms:v1beta1/KeyRing/name": name +"/cloudkms:v1beta1/ListLocationsResponse": list_locations_response +"/cloudkms:v1beta1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListLocationsResponse/locations": locations +"/cloudkms:v1beta1/ListLocationsResponse/locations/location": location +"/cloudkms:v1beta1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request +"/cloudkms:v1beta1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1beta1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request +"/cloudkms:v1beta1/DataAccessOptions": data_access_options +"/cloudkms:v1beta1/ListKeyRingsResponse": list_key_rings_response +"/cloudkms:v1beta1/ListKeyRingsResponse/nextPageToken": next_page_token +"/cloudkms:v1beta1/ListKeyRingsResponse/totalSize": total_size +"/cloudkms:v1beta1/ListKeyRingsResponse/keyRings": key_rings +"/cloudkms:v1beta1/ListKeyRingsResponse/keyRings/key_ring": key_ring +"/cloudkms:v1beta1/AuditConfig": audit_config +"/cloudkms:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudkms:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudkms:v1beta1/AuditConfig/exemptedMembers": exempted_members +"/cloudkms:v1beta1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1beta1/AuditConfig/service": service +"/cloudkms:v1beta1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1beta1/CryptoKeyVersion/createTime": create_time +"/cloudkms:v1beta1/CryptoKeyVersion/state": state +"/cloudkms:v1beta1/CryptoKeyVersion/name": name +"/cloudkms:v1beta1/CryptoKeyVersion/destroyEventTime": destroy_event_time +"/cloudkms:v1beta1/CryptoKeyVersion/destroyTime": destroy_time +"/container:v1/container.projects.zones.clusters.nodePools.rollback": rollback_node_pool_upgrade +"/container:v1/container.projects.zones.clusters.nodePools.rollback/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.rollback/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.rollback/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement": set_project_zone_cluster_node_pool_management +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/projectId": project_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/zone": zone +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/clusterId": cluster_id +"/container:v1/container.projects.zones.clusters.nodePools.setManagement/nodePoolId": node_pool_id +"/container:v1/container.projects.zones.operations.cancel": cancel_operation +"/container:v1/container.projects.zones.operations.cancel/projectId": project_id +"/container:v1/container.projects.zones.operations.cancel/zone": zone +"/container:v1/container.projects.zones.operations.cancel/operationId": operation_id +"/container:v1/Cluster/enableKubernetesAlpha": enable_kubernetes_alpha +"/container:v1/Cluster/expireTime": expire_time +"/container:v1/NodeConfig/serviceAccount": service_account +"/container:v1/NodeConfig/imageType": image_type +"/container:v1/NodeConfig/labels": labels +"/container:v1/NodeConfig/labels/label": label +"/container:v1/NodeConfig/localSsdCount": local_ssd_count +"/container:v1/NodeConfig/tags": tags +"/container:v1/NodeConfig/tags/tag": tag +"/container:v1/NodeConfig/preemptible": preemptible +"/container:v1/NodePool/autoscaling": autoscaling +"/container:v1/NodePool/management": management +"/container:v1/NodePoolAutoscaling": node_pool_autoscaling +"/container:v1/NodePoolAutoscaling/enabled": enabled +"/container:v1/NodePoolAutoscaling/minNodeCount": min_node_count +"/container:v1/NodePoolAutoscaling/maxNodeCount": max_node_count +"/container:v1/NodeManagement": node_management +"/container:v1/NodeManagement/autoUpgrade": auto_upgrade +"/container:v1/NodeManagement/upgradeOptions": upgrade_options +"/container:v1/AutoUpgradeOptions": auto_upgrade_options +"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time +"/container:v1/AutoUpgradeOptions/description": description +"/container:v1/ClusterUpdate/desiredImageType": desired_image_type +"/container:v1/ClusterUpdate/desiredNodePoolAutoscaling": desired_node_pool_autoscaling +"/container:v1/ClusterUpdate/desiredLocations": desired_locations +"/container:v1/ClusterUpdate/desiredLocations/desired_location": desired_location +"/container:v1/CancelOperationRequest": cancel_operation_request +"/container:v1/Empty": empty +"/container:v1/ServerConfig/defaultImageType": default_image_type +"/container:v1/ServerConfig/validImageTypes": valid_image_types +"/container:v1/ServerConfig/validImageTypes/valid_image_type": valid_image_type +"/container:v1/ServerConfig/validMasterVersions": valid_master_versions +"/container:v1/ServerConfig/validMasterVersions/valid_master_version": valid_master_version +"/container:v1/RollbackNodePoolUpgradeRequest": rollback_node_pool_upgrade_request +"/container:v1/SetNodePoolManagementRequest": set_node_pool_management_request +"/container:v1/SetNodePoolManagementRequest/management": management +"/manufacturers:v1/key": key +"/manufacturers:v1/quotaUser": quota_user +"/manufacturers:v1/fields": fields +"/manufacturers:v1/manufacturers.accounts.products.get": get_account_product +"/manufacturers:v1/manufacturers.accounts.products.get/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.get/name": name +"/manufacturers:v1/manufacturers.accounts.products.list": list_account_products +"/manufacturers:v1/manufacturers.accounts.products.list/pageSize": page_size +"/manufacturers:v1/manufacturers.accounts.products.list/parent": parent +"/manufacturers:v1/manufacturers.accounts.products.list/pageToken": page_token +"/manufacturers:v1/ListProductsResponse": list_products_response +"/manufacturers:v1/ListProductsResponse/nextPageToken": next_page_token +"/manufacturers:v1/ListProductsResponse/products": products +"/manufacturers:v1/ListProductsResponse/products/product": product +"/manufacturers:v1/Issue": issue +"/manufacturers:v1/Issue/severity": severity +"/manufacturers:v1/Issue/description": description +"/manufacturers:v1/Issue/attribute": attribute +"/manufacturers:v1/Issue/type": type +"/manufacturers:v1/Attributes": attributes +"/manufacturers:v1/Attributes/productPageUrl": product_page_url +"/manufacturers:v1/Attributes/mpn": mpn +"/manufacturers:v1/Attributes/title": title +"/manufacturers:v1/Attributes/productLine": product_line +"/manufacturers:v1/Attributes/productName": product_name +"/manufacturers:v1/Attributes/brand": brand +"/manufacturers:v1/Attributes/productType": product_type +"/manufacturers:v1/Attributes/productType/product_type": product_type +"/manufacturers:v1/Attributes/gtin": gtin +"/manufacturers:v1/Attributes/gtin/gtin": gtin +"/manufacturers:v1/Product": product +"/manufacturers:v1/Product/parent": parent +"/manufacturers:v1/Product/targetCountry": target_country +"/manufacturers:v1/Product/contentLanguage": content_language +"/manufacturers:v1/Product/manuallyDeletedAttributes": manually_deleted_attributes +"/manufacturers:v1/Product/manuallyDeletedAttributes/manually_deleted_attribute": manually_deleted_attribute +"/manufacturers:v1/Product/productId": product_id +"/manufacturers:v1/Product/finalAttributes": final_attributes +"/manufacturers:v1/Product/issues": issues +"/manufacturers:v1/Product/issues/issue": issue +"/manufacturers:v1/Product/name": name +"/manufacturers:v1/Product/uploadedAttributes": uploaded_attributes +"/manufacturers:v1/Product/manuallyProvidedAttributes": manually_provided_attributes +"/sqladmin:v1beta4/Settings/availabilityType": availability_type +"/sqladmin:v1beta4/Settings/storageAutoResizeLimit": storage_auto_resize_limit +"/cloudbuild:v1/BuildTrigger/substitutions": substitutions +"/cloudbuild:v1/BuildTrigger/substitutions/substitution": substitution +"/cloudbuild:v1/Build/substitutions": substitutions +"/cloudbuild:v1/Build/substitutions/substitution": substitution +"/content:v2/AccountStatusDataQualityIssue/detail": detail +"/content:v2/AccountStatusDataQualityIssue/location": location +"/dataflow:v1b3/CounterStructuredName/origin": origin +"/dataflow:v1b3/CounterStructuredName/originNamespace": origin_namespace +"/dataflow:v1b3/ResourceUtilizationReport/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metric/metric": metric +"/dataflow:v1b3/ResourceUtilizationReport/metric/metric/metric": metric +"/deploymentmanager:v2/DeploymentUpdate/description": description +"/drive:v2/drive.changes.getStartPageToken": get_change_start_page_token +"/drive:v2/StartPageToken": start_page_token +"/drive:v2/StartPageToken/kind": kind +"/drive:v2/StartPageToken/startPageToken": start_page_token +"/gmail:v1/gmail.users.history.list/historyTypes": history_types +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete": delete_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.delete/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get": get_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.get/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert": insert_user_setting_send_a_smime_info +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.insert/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list": list_user_setting_send_a_smime_infos +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.list/userId": user_id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault": set_user_setting_send_a_smime_info_default +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/id": id +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/sendAsEmail": send_as_email +"/gmail:v1/gmail.users.settings.sendAs.smimeInfo.setDefault/userId": user_id +"/gmail:v1/ListSmimeInfoResponse": list_smime_info_response +"/gmail:v1/ListSmimeInfoResponse/smimeInfo": smime_info +"/gmail:v1/ListSmimeInfoResponse/smimeInfo/smime_info": smime_info +"/gmail:v1/SmimeInfo": smime_info +"/gmail:v1/SmimeInfo/encryptedKeyPassword": encrypted_key_password +"/gmail:v1/SmimeInfo/expiration": expiration +"/gmail:v1/SmimeInfo/id": id +"/gmail:v1/SmimeInfo/isDefault": is_default +"/gmail:v1/SmimeInfo/issuerCn": issuer_cn +"/gmail:v1/SmimeInfo/pem": pem +"/gmail:v1/SmimeInfo/pkcs12": pkcs12 +"/iam:v1/iam.projects.serviceAccounts.signJwt": sign_service_account_jwt +"/iam:v1/iam.projects.serviceAccounts.signJwt/name": name +"/iam:v1/SignJwtResponse": sign_jwt_response +"/iam:v1/SignJwtResponse/keyId": key_id +"/iam:v1/SignJwtResponse/signedJwt": signed_jwt +"/iam:v1/SignJwtRequest": sign_jwt_request +"/iam:v1/SignJwtRequest/payload": payload +"/slides:v1/LayoutPlaceholderIdMapping": layout_placeholder_id_mapping +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholderObjectId": layout_placeholder_object_id +"/slides:v1/LayoutPlaceholderIdMapping/objectId": object_id_prop +"/slides:v1/LayoutPlaceholderIdMapping/layoutPlaceholder": layout_placeholder +"/slides:v1/Page/notesProperties": notes_properties +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest": replace_all_shapes_with_sheets_chart_request +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/spreadsheetId": spreadsheet_id +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/linkingMode": linking_mode +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/containsText": contains_text +"/slides:v1/ReplaceAllShapesWithSheetsChartRequest/chartId": chart_id +"/slides:v1/Presentation/notesMaster": notes_master +"/slides:v1/SlideProperties/notesPage": notes_page +"/slides:v1/Response/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/Request/replaceAllShapesWithSheetsChart": replace_all_shapes_with_sheets_chart +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse": replace_all_shapes_with_sheets_chart_response +"/slides:v1/ReplaceAllShapesWithSheetsChartResponse/occurrencesChanged": occurrences_changed +"/slides:v1/NotesProperties": notes_properties +"/slides:v1/NotesProperties/speakerNotesObjectId": speaker_notes_object_id +"/slides:v1/CreateSlideRequest/placeholderIdMappings": placeholder_id_mappings +"/slides:v1/CreateSlideRequest/placeholderIdMappings/placeholder_id_mapping": placeholder_id_mapping +"/youtube:v3/youtube.superChatEvents.list": list_super_chat_events +"/youtube:v3/youtube.superChatEvents.list/hl": hl +"/youtube:v3/youtube.superChatEvents.list/maxResults": max_results +"/youtube:v3/youtube.superChatEvents.list/pageToken": page_token +"/youtube:v3/youtube.superChatEvents.list/part": part +"/youtube:v3/ChannelTopicDetails/topicCategories": topic_categories +"/youtube:v3/ChannelTopicDetails/topicCategories/topic_category": topic_category +"/youtube:v3/LiveChatMessageSnippet/superChatDetails": super_chat_details +"/youtube:v3/LiveChatSuperChatDetails": live_chat_super_chat_details +"/youtube:v3/LiveChatSuperChatDetails/amountDisplayString": amount_display_string +"/youtube:v3/LiveChatSuperChatDetails/amountMicros": amount_micros +"/youtube:v3/LiveChatSuperChatDetails/currency": currency +"/youtube:v3/LiveChatSuperChatDetails/tier": tier +"/youtube:v3/LiveChatSuperChatDetails/userComment": user_comment +"/youtube:v3/SuperChatEvent": super_chat_event +"/youtube:v3/SuperChatEvent/etag": etag +"/youtube:v3/SuperChatEvent/id": id +"/youtube:v3/SuperChatEvent/kind": kind +"/youtube:v3/SuperChatEvent/snippet": snippet +"/youtube:v3/SuperChatEventListResponse": super_chat_event_list_response +"/youtube:v3/SuperChatEventListResponse/etag": etag +"/youtube:v3/SuperChatEventListResponse/eventId": event_id +"/youtube:v3/SuperChatEventListResponse/items": items +"/youtube:v3/SuperChatEventListResponse/items/item": item +"/youtube:v3/SuperChatEventListResponse/kind": kind +"/youtube:v3/SuperChatEventListResponse/nextPageToken": next_page_token +"/youtube:v3/SuperChatEventListResponse/pageInfo": page_info +"/youtube:v3/SuperChatEventListResponse/tokenPagination": token_pagination +"/youtube:v3/SuperChatEventListResponse/visitorId": visitor_id +"/youtube:v3/SuperChatEventSnippet": super_chat_event_snippet +"/youtube:v3/SuperChatEventSnippet/amountMicros": amount_micros +"/youtube:v3/SuperChatEventSnippet/channelId": channel_id +"/youtube:v3/SuperChatEventSnippet/commentText": comment_text +"/youtube:v3/SuperChatEventSnippet/createdAt": created_at +"/youtube:v3/SuperChatEventSnippet/currency": currency +"/youtube:v3/SuperChatEventSnippet/displayString": display_string +"/youtube:v3/SuperChatEventSnippet/messageType": message_type +"/youtube:v3/SuperChatEventSnippet/supporterDetails": supporter_details +"/youtube:v3/VideoTopicDetails/topicCategories": topic_categories +"/youtube:v3/VideoTopicDetails/topicCategories/topic_category": topic_category +"/compute:beta/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list +"/compute:beta/compute.acceleratorTypes.aggregatedList/filter": filter +"/compute:beta/compute.acceleratorTypes.aggregatedList/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.aggregatedList/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.aggregatedList/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.aggregatedList/project": project +"/compute:beta/compute.acceleratorTypes.get": get_accelerator_type +"/compute:beta/compute.acceleratorTypes.get/acceleratorType": accelerator_type +"/compute:beta/compute.acceleratorTypes.get/project": project +"/compute:beta/compute.acceleratorTypes.get/zone": zone +"/compute:beta/compute.acceleratorTypes.list": list_accelerator_types +"/compute:beta/compute.acceleratorTypes.list/filter": filter +"/compute:beta/compute.acceleratorTypes.list/maxResults": max_results +"/compute:beta/compute.acceleratorTypes.list/orderBy": order_by +"/compute:beta/compute.acceleratorTypes.list/pageToken": page_token +"/compute:beta/compute.acceleratorTypes.list/project": project +"/compute:beta/compute.acceleratorTypes.list/zone": zone +"/compute:beta/compute.instances.setMachineResources": set_instance_machine_resources +"/compute:beta/compute.instances.setMachineResources/instance": instance +"/compute:beta/compute.instances.setMachineResources/project": project +"/compute:beta/compute.instances.setMachineResources/zone": zone +"/compute:beta/compute.projects.listXpnHosts/filter": filter +"/compute:beta/compute.projects.listXpnHosts/maxResults": max_results +"/compute:beta/compute.projects.listXpnHosts/order_by": order_by +"/compute:beta/compute.projects.listXpnHosts/pageToken": page_token +"/compute:beta/AcceleratorConfig": accelerator_config +"/compute:beta/AcceleratorConfig/acceleratorCount": accelerator_count +"/compute:beta/AcceleratorConfig/acceleratorType": accelerator_type +"/compute:beta/AcceleratorType": accelerator_type +"/compute:beta/AcceleratorType/creationTimestamp": creation_timestamp +"/compute:beta/AcceleratorType/deprecated": deprecated +"/compute:beta/AcceleratorType/description": description +"/compute:beta/AcceleratorType/id": id +"/compute:beta/AcceleratorType/kind": kind +"/compute:beta/AcceleratorType/maximumCardsPerInstance": maximum_cards_per_instance +"/compute:beta/AcceleratorType/name": name +"/compute:beta/AcceleratorType/selfLink": self_link +"/compute:beta/AcceleratorType/zone": zone +"/compute:beta/AcceleratorTypeAggregatedList": accelerator_type_aggregated_list +"/compute:beta/AcceleratorTypeAggregatedList/id": id +"/compute:beta/AcceleratorTypeAggregatedList/items": items +"/compute:beta/AcceleratorTypeAggregatedList/items/item": item +"/compute:beta/AcceleratorTypeAggregatedList/kind": kind +"/compute:beta/AcceleratorTypeAggregatedList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeAggregatedList/selfLink": self_link +"/compute:beta/AcceleratorTypeList": accelerator_type_list +"/compute:beta/AcceleratorTypeList/id": id +"/compute:beta/AcceleratorTypeList/items": items +"/compute:beta/AcceleratorTypeList/items/item": item +"/compute:beta/AcceleratorTypeList/kind": kind +"/compute:beta/AcceleratorTypeList/nextPageToken": next_page_token +"/compute:beta/AcceleratorTypeList/selfLink": self_link +"/compute:beta/AcceleratorTypesScopedList": accelerator_types_scoped_list +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes": accelerator_types +"/compute:beta/AcceleratorTypesScopedList/acceleratorTypes/accelerator_type": accelerator_type +"/compute:beta/AcceleratorTypesScopedList/warning": warning +"/compute:beta/AcceleratorTypesScopedList/warning/code": code +"/compute:beta/AcceleratorTypesScopedList/warning/data": data +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum": datum +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/key": key +"/compute:beta/AcceleratorTypesScopedList/warning/data/datum/value": value +"/compute:beta/AcceleratorTypesScopedList/warning/message": message +"/compute:beta/Instance/guestAccelerators": guest_accelerators +"/compute:beta/Instance/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/InstancesSetMachineResourcesRequest": instances_set_machine_resources_request +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators": guest_accelerators +"/compute:beta/InstancesSetMachineResourcesRequest/guestAccelerators/guest_accelerator": guest_accelerator +"/compute:beta/Network/peerings": peerings +"/compute:beta/Network/peerings/peering": peering +"/compute:beta/NetworkPeering": network_peering +"/compute:beta/NetworkPeering/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworkPeering/name": name +"/compute:beta/NetworkPeering/network": network +"/compute:beta/NetworkPeering/state": state +"/compute:beta/NetworkPeering/stateDetails": state_details +"/compute:beta/Route/nextHopPeering": next_hop_peering +"/dataflow:v1b3/Job/pipelineDescription": pipeline_description +"/dataflow:v1b3/ExecutionStageSummary": execution_stage_summary +"/dataflow:v1b3/ExecutionStageSummary/inputSource": input_source +"/dataflow:v1b3/ExecutionStageSummary/inputSource/input_source": input_source +"/dataflow:v1b3/ExecutionStageSummary/id": id +"/dataflow:v1b3/ExecutionStageSummary/componentTransform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentTransform/component_transform": component_transform +"/dataflow:v1b3/ExecutionStageSummary/componentSource": component_source +"/dataflow:v1b3/ExecutionStageSummary/componentSource/component_source": component_source +"/dataflow:v1b3/ExecutionStageSummary/kind": kind +"/dataflow:v1b3/ExecutionStageSummary/outputSource": output_source +"/dataflow:v1b3/ExecutionStageSummary/outputSource/output_source": output_source +"/dataflow:v1b3/ExecutionStageSummary/name": name +"/dataflow:v1b3/CPUTime": cpu_time +"/dataflow:v1b3/CPUTime/timestamp": timestamp +"/dataflow:v1b3/CPUTime/totalMs": total_ms +"/dataflow:v1b3/CPUTime/rate": rate +"/dataflow:v1b3/ComponentTransform": component_transform +"/dataflow:v1b3/ComponentTransform/name": name +"/dataflow:v1b3/ComponentTransform/userName": user_name +"/dataflow:v1b3/ComponentTransform/originalTransform": original_transform +"/dataflow:v1b3/ResourceUtilizationReport/cpuTime": cpu_time +"/dataflow:v1b3/ResourceUtilizationReport/cpuTime/cpu_time": cpu_time +"/dataflow:v1b3/TransformSummary": transform_summary +"/dataflow:v1b3/TransformSummary/id": id +"/dataflow:v1b3/TransformSummary/outputCollectionName": output_collection_name +"/dataflow:v1b3/TransformSummary/outputCollectionName/output_collection_name": output_collection_name +"/dataflow:v1b3/TransformSummary/displayData": display_data +"/dataflow:v1b3/TransformSummary/displayData/display_datum": display_datum +"/dataflow:v1b3/TransformSummary/kind": kind +"/dataflow:v1b3/TransformSummary/inputCollectionName": input_collection_name +"/dataflow:v1b3/TransformSummary/inputCollectionName/input_collection_name": input_collection_name +"/dataflow:v1b3/TransformSummary/name": name +"/dataflow:v1b3/StageSource": stage_source +"/dataflow:v1b3/StageSource/name": name +"/dataflow:v1b3/StageSource/originalUserTransformOrCollection": original_user_transform_or_collection +"/dataflow:v1b3/StageSource/sizeBytes": size_bytes +"/dataflow:v1b3/StageSource/userName": user_name +"/dataflow:v1b3/DisplayData": display_data +"/dataflow:v1b3/DisplayData/key": key +"/dataflow:v1b3/DisplayData/shortStrValue": short_str_value +"/dataflow:v1b3/DisplayData/label": label +"/dataflow:v1b3/DisplayData/url": url +"/dataflow:v1b3/DisplayData/timestampValue": timestamp_value +"/dataflow:v1b3/DisplayData/javaClassValue": java_class_value +"/dataflow:v1b3/DisplayData/boolValue": bool_value +"/dataflow:v1b3/DisplayData/strValue": str_value +"/dataflow:v1b3/DisplayData/durationValue": duration_value +"/dataflow:v1b3/DisplayData/int64Value": int64_value +"/dataflow:v1b3/DisplayData/namespace": namespace +"/dataflow:v1b3/DisplayData/floatValue": float_value +"/dataflow:v1b3/PipelineDescription": pipeline_description +"/dataflow:v1b3/PipelineDescription/executionPipelineStage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/executionPipelineStage/execution_pipeline_stage": execution_pipeline_stage +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform": original_pipeline_transform +"/dataflow:v1b3/PipelineDescription/originalPipelineTransform/original_pipeline_transform": original_pipeline_transform +"/dataflow:v1b3/PipelineDescription/displayData": display_data +"/dataflow:v1b3/PipelineDescription/displayData/display_datum": display_datum +"/dataflow:v1b3/ComponentSource": component_source +"/dataflow:v1b3/ComponentSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/ComponentSource/name": name +"/dataflow:v1b3/ComponentSource/userName": user_name +"/dataproc:v1/dataproc.projects.regions.jobs.patch": patch_project_region_job +"/dataproc:v1/dataproc.projects.regions.jobs.patch/region": region +"/dataproc:v1/dataproc.projects.regions.jobs.patch/updateMask": update_mask +"/dataproc:v1/dataproc.projects.regions.jobs.patch/projectId": project_id +"/dataproc:v1/dataproc.projects.regions.jobs.patch/jobId": job_id +"/dataproc:v1/JobScheduling": job_scheduling +"/dataproc:v1/JobScheduling/maxFailuresPerHour": max_failures_per_hour +"/dataproc:v1/OperationMetadata/warnings": warnings +"/dataproc:v1/OperationMetadata/warnings/warning": warning +"/dataproc:v1/Job/scheduling": scheduling +"/dataproc:v1/ClusterOperationMetadata/warnings": warnings +"/dataproc:v1/ClusterOperationMetadata/warnings/warning": warning +"/dataproc:v1/GceClusterConfig/serviceAccount": service_account +"/identitytoolkit:v3/IdentitytoolkitRelyingpartySignupNewUserRequest/localId": local_id +"/identitytoolkit:v3/SetAccountInfoResponse/emailVerified": email_verified +"/identitytoolkit:v3/VerifyAssertionResponse/isNewUser": is_new_user +"/people:v1/people.people.me.connections.list": list_person_me_connections +"/people:v1/people.people.me.connections.list/sortOrder": sort_order +"/people:v1/people.people.me.connections.list/syncToken": sync_token +"/people:v1/people.people.me.connections.list/pageToken": page_token +"/people:v1/people.people.me.connections.list/pageSize": page_size +"/people:v1/people.people.me.connections.list/requestMask.includeField": request_mask_include_field +"/people:v1/EmailAddress/displayName": display_name +"/people:v1/Name/phoneticFullName": phonetic_full_name +"/people:v1/Name/displayNameLastFirst": display_name_last_first +"/people:v1/Biography/contentType": content_type +"/people:v1/Source/etag": etag +"/people:v1/Source/resourceName": resource_name +"/people:v1/PersonMetadata/linkedPeopleResourceNames": linked_people_resource_names +"/people:v1/PersonMetadata/linkedPeopleResourceNames/linked_people_resource_name": linked_people_resource_name +"/sheets:v4/IterativeCalculationSettings": iterative_calculation_settings +"/sheets:v4/IterativeCalculationSettings/convergenceThreshold": convergence_threshold +"/sheets:v4/IterativeCalculationSettings/maxIterations": max_iterations +"/sheets:v4/SpreadsheetProperties/iterativeCalculationSettings": iterative_calculation_settings +"/slides:v1/Request/deleteParagraphBullets": delete_paragraph_bullets +"/slides:v1/DeleteParagraphBulletsRequest": delete_paragraph_bullets_request +"/slides:v1/DeleteParagraphBulletsRequest/objectId": object_id_prop +"/slides:v1/DeleteParagraphBulletsRequest/textRange": text_range +"/slides:v1/DeleteParagraphBulletsRequest/cellLocation": cell_location +"/slides:v1/Recolor/name": name +"/youtubeAnalytics:v1/youtubeAnalytics.reports.query/include-historical-channel-data": include_historical_channel_data +"/slides:v1/UpdateParagraphStyleRequest": update_paragraph_style_request +"/slides:v1/UpdateParagraphStyleRequest/objectId": object_id_prop +"/slides:v1/UpdateParagraphStyleRequest/textRange": text_range +"/slides:v1/UpdateParagraphStyleRequest/cellLocation": cell_location +"/slides:v1/UpdateParagraphStyleRequest/style": style +"/slides:v1/UpdateParagraphStyleRequest/fields": fields +"/slides:v1/Request/updateParagraphStyle": update_paragraph_style +"/compute:beta/compute.commitments.aggregatedList": aggregated_commitment_list +"/compute:beta/compute.commitments.aggregatedList/filter": filter +"/compute:beta/compute.commitments.aggregatedList/maxResults": max_results +"/compute:beta/compute.commitments.aggregatedList/orderBy": order_by +"/compute:beta/compute.commitments.aggregatedList/pageToken": page_token +"/compute:beta/compute.commitments.aggregatedList/project": project +"/compute:beta/compute.networks.addPeering": add_network_peering +"/compute:beta/compute.networks.addPeering/network": network +"/compute:beta/compute.networks.addPeering/project": project +"/compute:beta/compute.networks.removePeering": remove_network_peering +"/compute:beta/compute.networks.removePeering/network": network +"/compute:beta/compute.networks.removePeering/project": project +"/compute:beta/compute.projects.disableXpnHost": disable_project_xpn_host +"/compute:beta/compute.projects.disableXpnHost/project": project +"/compute:beta/compute.projects.disableXpnResource": disable_project_xpn_resource +"/compute:beta/compute.projects.disableXpnResource/project": project +"/compute:beta/compute.projects.enableXpnHost": enable_project_xpn_host +"/compute:beta/compute.projects.enableXpnHost/project": project +"/compute:beta/compute.projects.enableXpnResource": enable_project_xpn_resource +"/compute:beta/compute.projects.enableXpnResource/project": project +"/compute:beta/compute.projects.getXpnResources": get_project_xpn_resources +"/compute:beta/compute.projects.getXpnResources/filter": filter +"/compute:beta/compute.projects.getXpnResources/maxResults": max_results +"/compute:beta/compute.projects.getXpnResources/order_by": order_by +"/compute:beta/compute.projects.getXpnResources/pageToken": page_token +"/compute:beta/compute.projects.getXpnResources/project": project +"/compute:beta/compute.regionCommitments.get": get_region_commitment +"/compute:beta/compute.regionCommitments.get/commitment": commitment +"/compute:beta/compute.regionCommitments.get/project": project +"/compute:beta/compute.regionCommitments.get/region": region +"/compute:beta/compute.regionCommitments.insert": insert_region_commitment +"/compute:beta/compute.regionCommitments.insert/project": project +"/compute:beta/compute.regionCommitments.insert/region": region +"/compute:beta/compute.regionCommitments.list": list_region_commitments +"/compute:beta/compute.regionCommitments.list/filter": filter +"/compute:beta/compute.regionCommitments.list/maxResults": max_results +"/compute:beta/compute.regionCommitments.list/orderBy": order_by +"/compute:beta/compute.regionCommitments.list/pageToken": page_token +"/compute:beta/compute.regionCommitments.list/project": project +"/compute:beta/compute.regionCommitments.list/region": region +"/compute:beta/compute.targetTcpProxies.delete": delete_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.delete/project": project +"/compute:beta/compute.targetTcpProxies.delete/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get": get_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.get/project": project +"/compute:beta/compute.targetTcpProxies.get/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert": insert_target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.insert/project": project +"/compute:beta/compute.targetTcpProxies.list": list_target_tcp_proxies +"/compute:beta/compute.targetTcpProxies.list/filter": filter +"/compute:beta/compute.targetTcpProxies.list/maxResults": max_results +"/compute:beta/compute.targetTcpProxies.list/orderBy": order_by +"/compute:beta/compute.targetTcpProxies.list/pageToken": page_token +"/compute:beta/compute.targetTcpProxies.list/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService": set_target_tcp_proxy_backend_service +"/compute:beta/compute.targetTcpProxies.setBackendService/project": project +"/compute:beta/compute.targetTcpProxies.setBackendService/targetTcpProxy": target_tcp_proxy +"/compute:beta/compute.targetTcpProxies.setProxyHeader": set_target_tcp_proxy_proxy_header +"/compute:beta/compute.targetTcpProxies.setProxyHeader/project": project +"/compute:beta/compute.targetTcpProxies.setProxyHeader/targetTcpProxy": target_tcp_proxy +"/compute:beta/AliasIpRange": alias_ip_range +"/compute:beta/AliasIpRange/ipCidrRange": ip_cidr_range +"/compute:beta/AliasIpRange/subnetworkRangeName": subnetwork_range_name +"/compute:beta/Commitment": commitment +"/compute:beta/Commitment/creationTimestamp": creation_timestamp +"/compute:beta/Commitment/description": description +"/compute:beta/Commitment/endTimestamp": end_timestamp +"/compute:beta/Commitment/id": id +"/compute:beta/Commitment/kind": kind +"/compute:beta/Commitment/name": name +"/compute:beta/Commitment/plan": plan +"/compute:beta/Commitment/region": region +"/compute:beta/Commitment/resources": resources +"/compute:beta/Commitment/resources/resource": resource +"/compute:beta/Commitment/selfLink": self_link +"/compute:beta/Commitment/startTimestamp": start_timestamp +"/compute:beta/Commitment/status": status +"/compute:beta/Commitment/statusMessage": status_message +"/compute:beta/CommitmentAggregatedList": commitment_aggregated_list +"/compute:beta/CommitmentAggregatedList/id": id +"/compute:beta/CommitmentAggregatedList/items": items +"/compute:beta/CommitmentAggregatedList/items/item": item +"/compute:beta/CommitmentAggregatedList/kind": kind +"/compute:beta/CommitmentAggregatedList/nextPageToken": next_page_token +"/compute:beta/CommitmentAggregatedList/selfLink": self_link +"/compute:beta/CommitmentList": commitment_list +"/compute:beta/CommitmentList/id": id +"/compute:beta/CommitmentList/items": items +"/compute:beta/CommitmentList/items/item": item +"/compute:beta/CommitmentList/kind": kind +"/compute:beta/CommitmentList/nextPageToken": next_page_token +"/compute:beta/CommitmentList/selfLink": self_link +"/compute:beta/CommitmentsScopedList": commitments_scoped_list +"/compute:beta/CommitmentsScopedList/commitments": commitments +"/compute:beta/CommitmentsScopedList/commitments/commitment": commitment +"/compute:beta/CommitmentsScopedList/warning": warning +"/compute:beta/CommitmentsScopedList/warning/code": code +"/compute:beta/CommitmentsScopedList/warning/data": data +"/compute:beta/CommitmentsScopedList/warning/data/datum": datum +"/compute:beta/CommitmentsScopedList/warning/data/datum/key": key +"/compute:beta/CommitmentsScopedList/warning/data/datum/value": value +"/compute:beta/CommitmentsScopedList/warning/message": message +"/compute:beta/NetworkInterface/aliasIpRanges": alias_ip_ranges +"/compute:beta/NetworkInterface/aliasIpRanges/alias_ip_range": alias_ip_range +"/compute:beta/NetworksAddPeeringRequest": networks_add_peering_request +"/compute:beta/NetworksAddPeeringRequest/autoCreateRoutes": auto_create_routes +"/compute:beta/NetworksAddPeeringRequest/name": name +"/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network +"/compute:beta/NetworksRemovePeeringRequest": networks_remove_peering_request +"/compute:beta/NetworksRemovePeeringRequest/name": name +"/compute:beta/ProjectsDisableXpnResourceRequest": projects_disable_xpn_resource_request +"/compute:beta/ProjectsDisableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsEnableXpnResourceRequest": projects_enable_xpn_resource_request +"/compute:beta/ProjectsEnableXpnResourceRequest/xpnResource": xpn_resource +"/compute:beta/ProjectsGetXpnResources": projects_get_xpn_resources +"/compute:beta/ProjectsGetXpnResources/kind": kind +"/compute:beta/ProjectsGetXpnResources/nextPageToken": next_page_token +"/compute:beta/ProjectsGetXpnResources/resources": resources +"/compute:beta/ProjectsGetXpnResources/resources/resource": resource +"/compute:beta/ResourceCommitment": resource_commitment +"/compute:beta/ResourceCommitment/amount": amount +"/compute:beta/ResourceCommitment/type": type +"/compute:beta/Subnetwork/privateIpGoogleAccess": private_ip_google_access +"/compute:beta/Subnetwork/secondaryIpRanges": secondary_ip_ranges +"/compute:beta/Subnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range +"/compute:beta/SubnetworkSecondaryRange": subnetwork_secondary_range +"/compute:beta/SubnetworkSecondaryRange/ipCidrRange": ip_cidr_range +"/compute:beta/SubnetworkSecondaryRange/rangeName": range_name +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest": target_tcp_proxies_set_backend_service_request +"/compute:beta/TargetTcpProxiesSetBackendServiceRequest/service": service +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest": target_tcp_proxies_set_proxy_header_request +"/compute:beta/TargetTcpProxiesSetProxyHeaderRequest/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy": target_tcp_proxy +"/compute:beta/TargetTcpProxy/creationTimestamp": creation_timestamp +"/compute:beta/TargetTcpProxy/description": description +"/compute:beta/TargetTcpProxy/id": id +"/compute:beta/TargetTcpProxy/kind": kind +"/compute:beta/TargetTcpProxy/name": name +"/compute:beta/TargetTcpProxy/proxyHeader": proxy_header +"/compute:beta/TargetTcpProxy/selfLink": self_link +"/compute:beta/TargetTcpProxy/service": service +"/compute:beta/TargetTcpProxyList": target_tcp_proxy_list +"/compute:beta/TargetTcpProxyList/id": id +"/compute:beta/TargetTcpProxyList/items": items +"/compute:beta/TargetTcpProxyList/items/item": item +"/compute:beta/TargetTcpProxyList/kind": kind +"/compute:beta/TargetTcpProxyList/nextPageToken": next_page_token +"/compute:beta/TargetTcpProxyList/selfLink": self_link +"/compute:beta/XpnResourceId": xpn_resource_id +"/compute:beta/XpnResourceId/id": id +"/compute:beta/XpnResourceId/type": type +"/adexchangebuyer:v1.4/DealServingMetadata/alcoholAdsAllowed": alcohol_ads_allowed +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list": list_account_creatives +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create": create_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.create/duplicateIdMode": duplicate_id_mode +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching": stop_watching_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.stopWatching/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get": get_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.get/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch": watch_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.watch/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update": update_account_creative +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.update/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list": list_account_creative_deal_associations +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageToken": page_token +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/pageSize": page_size +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/query": query +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.list/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add": add_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.add/creativeId": creative_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove": remove_deal_association +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/accountId": account_id +"/adexchangebuyer2:v2beta1/adexchangebuyer2.accounts.creatives.dealAssociations.remove/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Empty": empty +"/adexchangebuyer2:v2beta1/WatchCreativeRequest": watch_creative_request +"/adexchangebuyer2:v2beta1/WatchCreativeRequest/topic": topic +"/adexchangebuyer2:v2beta1/AppContext": app_context +"/adexchangebuyer2:v2beta1/AppContext/appTypes": app_types +"/adexchangebuyer2:v2beta1/AppContext/appTypes/app_type": app_type +"/adexchangebuyer2:v2beta1/NativeContent": native_content +"/adexchangebuyer2:v2beta1/NativeContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/NativeContent/logo": logo +"/adexchangebuyer2:v2beta1/NativeContent/clickLinkUrl": click_link_url +"/adexchangebuyer2:v2beta1/NativeContent/priceDisplayText": price_display_text +"/adexchangebuyer2:v2beta1/NativeContent/clickTrackingUrl": click_tracking_url +"/adexchangebuyer2:v2beta1/NativeContent/image": image +"/adexchangebuyer2:v2beta1/NativeContent/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/NativeContent/storeUrl": store_url +"/adexchangebuyer2:v2beta1/NativeContent/headline": headline +"/adexchangebuyer2:v2beta1/NativeContent/appIcon": app_icon +"/adexchangebuyer2:v2beta1/NativeContent/callToAction": call_to_action +"/adexchangebuyer2:v2beta1/NativeContent/body": body +"/adexchangebuyer2:v2beta1/NativeContent/starRating": star_rating +"/adexchangebuyer2:v2beta1/SecurityContext": security_context +"/adexchangebuyer2:v2beta1/SecurityContext/securities": securities +"/adexchangebuyer2:v2beta1/SecurityContext/securities/security": security +"/adexchangebuyer2:v2beta1/ListCreativesResponse": list_creatives_response +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives": creatives +"/adexchangebuyer2:v2beta1/ListCreativesResponse/creatives/creative": creative +"/adexchangebuyer2:v2beta1/ListCreativesResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/HtmlContent": html_content +"/adexchangebuyer2:v2beta1/HtmlContent/height": height +"/adexchangebuyer2:v2beta1/HtmlContent/width": width +"/adexchangebuyer2:v2beta1/HtmlContent/snippet": snippet +"/adexchangebuyer2:v2beta1/ServingContext": serving_context +"/adexchangebuyer2:v2beta1/ServingContext/appType": app_type +"/adexchangebuyer2:v2beta1/ServingContext/securityType": security_type +"/adexchangebuyer2:v2beta1/ServingContext/platform": platform +"/adexchangebuyer2:v2beta1/ServingContext/location": location +"/adexchangebuyer2:v2beta1/ServingContext/auctionType": auction_type +"/adexchangebuyer2:v2beta1/ServingContext/all": all +"/adexchangebuyer2:v2beta1/Image": image +"/adexchangebuyer2:v2beta1/Image/width": width +"/adexchangebuyer2:v2beta1/Image/url": url +"/adexchangebuyer2:v2beta1/Image/height": height +"/adexchangebuyer2:v2beta1/Reason": reason +"/adexchangebuyer2:v2beta1/Reason/status": status +"/adexchangebuyer2:v2beta1/Reason/count": count +"/adexchangebuyer2:v2beta1/VideoContent": video_content +"/adexchangebuyer2:v2beta1/VideoContent/videoUrl": video_url +"/adexchangebuyer2:v2beta1/AuctionContext": auction_context +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes": auction_types +"/adexchangebuyer2:v2beta1/AuctionContext/auctionTypes/auction_type": auction_type +"/adexchangebuyer2:v2beta1/LocationContext": location_context +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds": geo_criteria_ids +"/adexchangebuyer2:v2beta1/LocationContext/geoCriteriaIds/geo_criteria_id": geo_criteria_id +"/adexchangebuyer2:v2beta1/PlatformContext": platform_context +"/adexchangebuyer2:v2beta1/PlatformContext/platforms": platforms +"/adexchangebuyer2:v2beta1/PlatformContext/platforms/platform": platform +"/adexchangebuyer2:v2beta1/CreativeDealAssociation": creative_deal_association +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/accountId": account_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/creativeId": creative_id +"/adexchangebuyer2:v2beta1/CreativeDealAssociation/dealsId": deals_id +"/adexchangebuyer2:v2beta1/FilteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/FilteringStats/reasons": reasons +"/adexchangebuyer2:v2beta1/FilteringStats/reasons/reason": reason +"/adexchangebuyer2:v2beta1/FilteringStats/date": date +"/adexchangebuyer2:v2beta1/Creative": creative +"/adexchangebuyer2:v2beta1/Creative/video": video +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions": serving_restrictions +"/adexchangebuyer2:v2beta1/Creative/servingRestrictions/serving_restriction": serving_restriction +"/adexchangebuyer2:v2beta1/Creative/agencyId": agency_id +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls": click_through_urls +"/adexchangebuyer2:v2beta1/Creative/clickThroughUrls/click_through_url": click_through_url +"/adexchangebuyer2:v2beta1/Creative/adChoicesDestinationUrl": ad_choices_destination_url +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories": detected_sensitive_categories +"/adexchangebuyer2:v2beta1/Creative/detectedSensitiveCategories/detected_sensitive_category": detected_sensitive_category +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories": restricted_categories +"/adexchangebuyer2:v2beta1/Creative/restrictedCategories/restricted_category": restricted_category +"/adexchangebuyer2:v2beta1/Creative/corrections": corrections +"/adexchangebuyer2:v2beta1/Creative/corrections/correction": correction +"/adexchangebuyer2:v2beta1/Creative/version": version +"/adexchangebuyer2:v2beta1/Creative/vendorIds": vendor_ids +"/adexchangebuyer2:v2beta1/Creative/vendorIds/vendor_id": vendor_id +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls": impression_tracking_urls +"/adexchangebuyer2:v2beta1/Creative/impressionTrackingUrls/impression_tracking_url": impression_tracking_url +"/adexchangebuyer2:v2beta1/Creative/html": html +"/adexchangebuyer2:v2beta1/Creative/dealsStatus": deals_status +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories": detected_product_categories +"/adexchangebuyer2:v2beta1/Creative/detectedProductCategories/detected_product_category": detected_product_category +"/adexchangebuyer2:v2beta1/Creative/openAuctionStatus": open_auction_status +"/adexchangebuyer2:v2beta1/Creative/advertiserName": advertiser_name +"/adexchangebuyer2:v2beta1/Creative/detectedDomains": detected_domains +"/adexchangebuyer2:v2beta1/Creative/detectedDomains/detected_domain": detected_domain +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds": detected_advertiser_ids +"/adexchangebuyer2:v2beta1/Creative/detectedAdvertiserIds/detected_advertiser_id": detected_advertiser_id +"/adexchangebuyer2:v2beta1/Creative/filteringStats": filtering_stats +"/adexchangebuyer2:v2beta1/Creative/attributes": attributes +"/adexchangebuyer2:v2beta1/Creative/attributes/attribute": attribute +"/adexchangebuyer2:v2beta1/Creative/apiUpdateTime": api_update_time +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages": detected_languages +"/adexchangebuyer2:v2beta1/Creative/detectedLanguages/detected_language": detected_language +"/adexchangebuyer2:v2beta1/Creative/creativeId": creative_id +"/adexchangebuyer2:v2beta1/Creative/accountId": account_id +"/adexchangebuyer2:v2beta1/Creative/native": native +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest": remove_deal_association_request +"/adexchangebuyer2:v2beta1/RemoveDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/Correction": correction +"/adexchangebuyer2:v2beta1/Correction/type": type +"/adexchangebuyer2:v2beta1/Correction/contexts": contexts +"/adexchangebuyer2:v2beta1/Correction/contexts/context": context +"/adexchangebuyer2:v2beta1/Correction/details": details +"/adexchangebuyer2:v2beta1/Correction/details/detail": detail +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest": add_deal_association_request +"/adexchangebuyer2:v2beta1/AddDealAssociationRequest/association": association +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse": list_deal_associations_response +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/nextPageToken": next_page_token +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations": associations +"/adexchangebuyer2:v2beta1/ListDealAssociationsResponse/associations/association": association +"/adexchangebuyer2:v2beta1/Disapproval": disapproval +"/adexchangebuyer2:v2beta1/Disapproval/details": details +"/adexchangebuyer2:v2beta1/Disapproval/details/detail": detail +"/adexchangebuyer2:v2beta1/Disapproval/reason": reason +"/adexchangebuyer2:v2beta1/StopWatchingCreativeRequest": stop_watching_creative_request +"/adexchangebuyer2:v2beta1/ServingRestriction": serving_restriction +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons": disapproval_reasons +"/adexchangebuyer2:v2beta1/ServingRestriction/disapprovalReasons/disapproval_reason": disapproval_reason +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts": contexts +"/adexchangebuyer2:v2beta1/ServingRestriction/contexts/context": context +"/adexchangebuyer2:v2beta1/ServingRestriction/status": status +"/adexchangebuyer2:v2beta1/Date": date +"/adexchangebuyer2:v2beta1/Date/year": year +"/adexchangebuyer2:v2beta1/Date/day": day +"/adexchangebuyer2:v2beta1/Date/month": month +"/androidpublisher:v2/SubscriptionPurchase/userCancellationTimeMillis": user_cancellation_time_millis +"/cloudkms:v1/quotaUser": quota_user +"/cloudkms:v1/fields": fields +"/cloudkms:v1/key": key +"/cloudkms:v1/cloudkms.projects.locations.list": list_project_locations +"/cloudkms:v1/cloudkms.projects.locations.list/filter": filter +"/cloudkms:v1/cloudkms.projects.locations.list/name": name +"/cloudkms:v1/cloudkms.projects.locations.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.get": get_project_location +"/cloudkms:v1/cloudkms.projects.locations.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy": get_project_location_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get": get_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions": test_key_ring_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list": list_project_location_key_rings +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create": create_project_location_key_ring +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.create/keyRingId": key_ring_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy": set_key_ring_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list": list_project_location_key_ring_crypto_keys +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt": encrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.encrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create": create_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/cryptoKeyId": crypto_key_id +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy": set_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.setIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion": update_project_location_key_ring_crypto_key_primary_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.updatePrimaryVersion/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy": get_project_location_key_ring_crypto_key_iam_policy +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.getIamPolicy/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get": get_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch": patch_project_location_key_ring_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions": test_crypto_key_iam_permissions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.testIamPermissions/resource": resource +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt": decrypt_crypto_key +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.decrypt/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore": restore_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.restore/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get": get_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.get/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch": patch_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/updateMask": update_mask +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.patch/name": name +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list": list_project_location_key_ring_crypto_key_crypto_key_versions +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageToken": page_token +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/pageSize": page_size +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.list/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create": create_project_location_key_ring_crypto_key_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create/parent": parent +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy": destroy_crypto_key_version +"/cloudkms:v1/cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.destroy/name": name +"/cloudkms:v1/Condition": condition +"/cloudkms:v1/Condition/op": op +"/cloudkms:v1/Condition/svc": svc +"/cloudkms:v1/Condition/sys": sys +"/cloudkms:v1/Condition/value": value +"/cloudkms:v1/Condition/values": values +"/cloudkms:v1/Condition/values/value": value +"/cloudkms:v1/Condition/iam": iam +"/cloudkms:v1/CounterOptions": counter_options +"/cloudkms:v1/CounterOptions/metric": metric +"/cloudkms:v1/CounterOptions/field": field +"/cloudkms:v1/AuditLogConfig": audit_log_config +"/cloudkms:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditLogConfig/logType": log_type +"/cloudkms:v1/DecryptResponse": decrypt_response +"/cloudkms:v1/DecryptResponse/plaintext": plaintext +"/cloudkms:v1/TestIamPermissionsRequest": test_iam_permissions_request +"/cloudkms:v1/TestIamPermissionsRequest/permissions": permissions +"/cloudkms:v1/TestIamPermissionsRequest/permissions/permission": permission +"/cloudkms:v1/ListLocationsResponse": list_locations_response +"/cloudkms:v1/ListLocationsResponse/locations": locations +"/cloudkms:v1/ListLocationsResponse/locations/location": location +"/cloudkms:v1/ListLocationsResponse/nextPageToken": next_page_token +"/cloudkms:v1/Policy": policy +"/cloudkms:v1/Policy/etag": etag +"/cloudkms:v1/Policy/iamOwned": iam_owned +"/cloudkms:v1/Policy/rules": rules +"/cloudkms:v1/Policy/rules/rule": rule +"/cloudkms:v1/Policy/version": version +"/cloudkms:v1/Policy/auditConfigs": audit_configs +"/cloudkms:v1/Policy/auditConfigs/audit_config": audit_config +"/cloudkms:v1/Policy/bindings": bindings +"/cloudkms:v1/Policy/bindings/binding": binding +"/cloudkms:v1/EncryptResponse": encrypt_response +"/cloudkms:v1/EncryptResponse/ciphertext": ciphertext +"/cloudkms:v1/EncryptResponse/name": name +"/cloudkms:v1/KeyRing": key_ring +"/cloudkms:v1/KeyRing/createTime": create_time +"/cloudkms:v1/KeyRing/name": name +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest": update_crypto_key_primary_version_request +"/cloudkms:v1/UpdateCryptoKeyPrimaryVersionRequest/cryptoKeyVersionId": crypto_key_version_id +"/cloudkms:v1/RestoreCryptoKeyVersionRequest": restore_crypto_key_version_request +"/cloudkms:v1/DataAccessOptions": data_access_options +"/cloudkms:v1/ListKeyRingsResponse": list_key_rings_response +"/cloudkms:v1/ListKeyRingsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListKeyRingsResponse/totalSize": total_size +"/cloudkms:v1/ListKeyRingsResponse/keyRings": key_rings +"/cloudkms:v1/ListKeyRingsResponse/keyRings/key_ring": key_ring +"/cloudkms:v1/AuditConfig": audit_config +"/cloudkms:v1/AuditConfig/exemptedMembers": exempted_members +"/cloudkms:v1/AuditConfig/exemptedMembers/exempted_member": exempted_member +"/cloudkms:v1/AuditConfig/service": service +"/cloudkms:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudkms:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudkms:v1/CryptoKeyVersion": crypto_key_version +"/cloudkms:v1/CryptoKeyVersion/state": state +"/cloudkms:v1/CryptoKeyVersion/name": name +"/cloudkms:v1/CryptoKeyVersion/destroyEventTime": destroy_event_time +"/cloudkms:v1/CryptoKeyVersion/destroyTime": destroy_time +"/cloudkms:v1/CryptoKeyVersion/createTime": create_time +"/cloudkms:v1/CloudAuditOptions": cloud_audit_options +"/cloudkms:v1/Binding": binding +"/cloudkms:v1/Binding/members": members +"/cloudkms:v1/Binding/members/member": member +"/cloudkms:v1/Binding/role": role +"/cloudkms:v1/EncryptRequest": encrypt_request +"/cloudkms:v1/EncryptRequest/plaintext": plaintext +"/cloudkms:v1/EncryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/ListCryptoKeyVersionsResponse": list_crypto_key_versions_response +"/cloudkms:v1/ListCryptoKeyVersionsResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeyVersionsResponse/totalSize": total_size +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions": crypto_key_versions +"/cloudkms:v1/ListCryptoKeyVersionsResponse/cryptoKeyVersions/crypto_key_version": crypto_key_version +"/cloudkms:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/cloudkms:v1/TestIamPermissionsResponse/permissions": permissions +"/cloudkms:v1/TestIamPermissionsResponse/permissions/permission": permission +"/cloudkms:v1/DestroyCryptoKeyVersionRequest": destroy_crypto_key_version_request +"/cloudkms:v1/Rule": rule +"/cloudkms:v1/Rule/notIn": not_in +"/cloudkms:v1/Rule/notIn/not_in": not_in +"/cloudkms:v1/Rule/description": description +"/cloudkms:v1/Rule/conditions": conditions +"/cloudkms:v1/Rule/conditions/condition": condition +"/cloudkms:v1/Rule/logConfig": log_config +"/cloudkms:v1/Rule/logConfig/log_config": log_config +"/cloudkms:v1/Rule/in": in +"/cloudkms:v1/Rule/in/in": in +"/cloudkms:v1/Rule/permissions": permissions +"/cloudkms:v1/Rule/permissions/permission": permission +"/cloudkms:v1/Rule/action": action +"/cloudkms:v1/CryptoKey": crypto_key +"/cloudkms:v1/CryptoKey/purpose": purpose +"/cloudkms:v1/CryptoKey/nextRotationTime": next_rotation_time +"/cloudkms:v1/CryptoKey/createTime": create_time +"/cloudkms:v1/CryptoKey/rotationPeriod": rotation_period +"/cloudkms:v1/CryptoKey/primary": primary +"/cloudkms:v1/CryptoKey/name": name +"/cloudkms:v1/LogConfig": log_config +"/cloudkms:v1/LogConfig/counter": counter +"/cloudkms:v1/LogConfig/dataAccess": data_access +"/cloudkms:v1/LogConfig/cloudAudit": cloud_audit +"/cloudkms:v1/SetIamPolicyRequest": set_iam_policy_request +"/cloudkms:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudkms:v1/SetIamPolicyRequest/policy": policy +"/cloudkms:v1/DecryptRequest": decrypt_request +"/cloudkms:v1/DecryptRequest/ciphertext": ciphertext +"/cloudkms:v1/DecryptRequest/additionalAuthenticatedData": additional_authenticated_data +"/cloudkms:v1/Location": location +"/cloudkms:v1/Location/name": name +"/cloudkms:v1/Location/locationId": location_id +"/cloudkms:v1/Location/metadata": metadata +"/cloudkms:v1/Location/metadata/metadatum": metadatum +"/cloudkms:v1/Location/labels": labels +"/cloudkms:v1/Location/labels/label": label +"/cloudkms:v1/ListCryptoKeysResponse": list_crypto_keys_response +"/cloudkms:v1/ListCryptoKeysResponse/nextPageToken": next_page_token +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys": crypto_keys +"/cloudkms:v1/ListCryptoKeysResponse/cryptoKeys/crypto_key": crypto_key +"/cloudkms:v1/ListCryptoKeysResponse/totalSize": total_size +"/cloudresourcemanager:v1/cloudresourcemanager.liens.create": create_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete": delete_lien +"/cloudresourcemanager:v1/cloudresourcemanager.liens.delete/name": name +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list": list_liens +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageToken": page_token +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/pageSize": page_size +"/cloudresourcemanager:v1/cloudresourcemanager.liens.list/parent": parent +"/cloudresourcemanager:v1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1/AuditLogConfig/logType": log_type +"/cloudresourcemanager:v1/Policy/auditConfigs": audit_configs +"/cloudresourcemanager:v1/Policy/auditConfigs/audit_config": audit_config +"/cloudresourcemanager:v1/AuditConfig": audit_config +"/cloudresourcemanager:v1/AuditConfig/service": service +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1/ListLiensResponse": list_liens_response +"/cloudresourcemanager:v1/ListLiensResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListLiensResponse/liens": liens +"/cloudresourcemanager:v1/ListLiensResponse/liens/lien": lien +"/cloudresourcemanager:v1/Lien": lien +"/cloudresourcemanager:v1/Lien/parent": parent +"/cloudresourcemanager:v1/Lien/createTime": create_time +"/cloudresourcemanager:v1/Lien/name": name +"/cloudresourcemanager:v1/Lien/reason": reason +"/cloudresourcemanager:v1/Lien/origin": origin +"/cloudresourcemanager:v1/Lien/restrictions": restrictions +"/cloudresourcemanager:v1/Lien/restrictions/restriction": restriction +"/cloudresourcemanager:v1/SetIamPolicyRequest/updateMask": update_mask +"/cloudresourcemanager:v1beta1/AuditLogConfig": audit_log_config +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers": exempted_members +"/cloudresourcemanager:v1beta1/AuditLogConfig/exemptedMembers/exempted_member": exempted_member +"/cloudresourcemanager:v1beta1/AuditLogConfig/logType": log_type +"/cloudresourcemanager:v1beta1/Policy/auditConfigs": audit_configs +"/cloudresourcemanager:v1beta1/Policy/auditConfigs/audit_config": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig": audit_config +"/cloudresourcemanager:v1beta1/AuditConfig/service": service +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs": audit_log_configs +"/cloudresourcemanager:v1beta1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config +"/cloudresourcemanager:v1beta1/SetIamPolicyRequest/updateMask": update_mask +"/compute:v1/compute.backendBuckets.delete": delete_backend_bucket +"/compute:v1/compute.backendBuckets.delete/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.delete/project": project +"/compute:v1/compute.backendBuckets.get": get_backend_bucket +"/compute:v1/compute.backendBuckets.get/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.get/project": project +"/compute:v1/compute.backendBuckets.insert": insert_backend_bucket +"/compute:v1/compute.backendBuckets.insert/project": project +"/compute:v1/compute.backendBuckets.list": list_backend_buckets +"/compute:v1/compute.backendBuckets.list/filter": filter +"/compute:v1/compute.backendBuckets.list/maxResults": max_results +"/compute:v1/compute.backendBuckets.list/orderBy": order_by +"/compute:v1/compute.backendBuckets.list/pageToken": page_token +"/compute:v1/compute.backendBuckets.list/project": project +"/compute:v1/compute.backendBuckets.patch": patch_backend_bucket +"/compute:v1/compute.backendBuckets.patch/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.patch/project": project +"/compute:v1/compute.backendBuckets.update": update_backend_bucket +"/compute:v1/compute.backendBuckets.update/backendBucket": backend_bucket +"/compute:v1/compute.backendBuckets.update/project": project +"/compute:v1/compute.disks.createSnapshot/guestFlush": guest_flush +"/compute:v1/BackendBucket": backend_bucket +"/compute:v1/BackendBucket/bucketName": bucket_name +"/compute:v1/BackendBucket/creationTimestamp": creation_timestamp +"/compute:v1/BackendBucket/description": description +"/compute:v1/BackendBucket/enableCdn": enable_cdn +"/compute:v1/BackendBucket/id": id +"/compute:v1/BackendBucket/kind": kind +"/compute:v1/BackendBucket/name": name +"/compute:v1/BackendBucket/selfLink": self_link +"/compute:v1/BackendBucketList": backend_bucket_list +"/compute:v1/BackendBucketList/id": id +"/compute:v1/BackendBucketList/items": items +"/compute:v1/BackendBucketList/items/item": item +"/compute:v1/BackendBucketList/kind": kind +"/compute:v1/BackendBucketList/nextPageToken": next_page_token +"/compute:v1/BackendBucketList/selfLink": self_link +"/dataflow:v1b3/dataflow.projects.templates.launch": launch_project_template +"/dataflow:v1b3/dataflow.projects.templates.launch/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.launch/gcsPath": gcs_path +"/dataflow:v1b3/dataflow.projects.templates.launch/dryRun": dry_run +"/dataflow:v1b3/dataflow.projects.templates.get": get_project_template +"/dataflow:v1b3/dataflow.projects.templates.get/projectId": project_id +"/dataflow:v1b3/dataflow.projects.templates.get/view": view +"/dataflow:v1b3/dataflow.projects.templates.get/gcsPath": gcs_path +"/dataflow:v1b3/TemplateMetadata": template_metadata +"/dataflow:v1b3/TemplateMetadata/bypassTempDirValidation": bypass_temp_dir_validation +"/dataflow:v1b3/TemplateMetadata/name": name +"/dataflow:v1b3/TemplateMetadata/parameters": parameters +"/dataflow:v1b3/TemplateMetadata/parameters/parameter": parameter +"/dataflow:v1b3/TemplateMetadata/description": description +"/dataflow:v1b3/LaunchTemplateResponse": launch_template_response +"/dataflow:v1b3/LaunchTemplateResponse/job": job +"/dataflow:v1b3/LaunchTemplateResponse/status": status +"/dataflow:v1b3/ParameterMetadata": parameter_metadata +"/dataflow:v1b3/ParameterMetadata/regexes": regexes +"/dataflow:v1b3/ParameterMetadata/regexes/regex": regex +"/dataflow:v1b3/ParameterMetadata/label": label +"/dataflow:v1b3/ParameterMetadata/helpText": help_text +"/dataflow:v1b3/ParameterMetadata/isOptional": is_optional +"/dataflow:v1b3/ParameterMetadata/name": name +"/dataflow:v1b3/LaunchTemplateParameters": launch_template_parameters +"/dataflow:v1b3/LaunchTemplateParameters/jobName": job_name +"/dataflow:v1b3/LaunchTemplateParameters/environment": environment +"/dataflow:v1b3/LaunchTemplateParameters/parameters": parameters +"/dataflow:v1b3/LaunchTemplateParameters/parameters/parameter": parameter +"/dataflow:v1b3/StageSource/originalTransformOrCollection": original_transform_or_collection +"/dataflow:v1b3/GetTemplateResponse": get_template_response +"/dataflow:v1b3/GetTemplateResponse/status": status +"/dataflow:v1b3/GetTemplateResponse/metadata": metadata +"/dataproc:v1/AcceleratorConfig": accelerator_config +"/dataproc:v1/AcceleratorConfig/acceleratorTypeUri": accelerator_type_uri +"/dataproc:v1/AcceleratorConfig/acceleratorCount": accelerator_count +"/dataproc:v1/InstanceGroupConfig/accelerators": accelerators +"/dataproc:v1/InstanceGroupConfig/accelerators/accelerator": accelerator +"/drive:v2/drive.changes.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.get/teamDriveId": team_drive_id +"/drive:v2/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v2/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.list/teamDriveId": team_drive_id +"/drive:v2/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v2/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v2/drive.children.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.list/corpora": corpora +"/drive:v2/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v2/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.list/teamDriveId": team_drive_id +"/drive:v2/drive.files.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.touch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.trash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.untrash/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.parents.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.insert/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.list/maxResults": max_results +"/drive:v2/drive.permissions.list/pageToken": page_token +"/drive:v2/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.patch/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v2/drive.teamdrives.delete": delete_teamdrife +"/drive:v2/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.get": get_teamdrife +"/drive:v2/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v2/drive.teamdrives.insert": insert_teamdrife +"/drive:v2/drive.teamdrives.insert/requestId": request_id +"/drive:v2/drive.teamdrives.list": list_teamdrives +"/drive:v2/drive.teamdrives.list/maxResults": max_results +"/drive:v2/drive.teamdrives.list/pageToken": page_token +"/drive:v2/drive.teamdrives.update": update_teamdrife +"/drive:v2/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v2/Change/teamDrive": team_drive +"/drive:v2/Change/teamDriveId": team_drive_id +"/drive:v2/Change/type": type +"/drive:v2/ChangeList/newStartPageToken": new_start_page_token +"/drive:v2/File/capabilities": capabilities +"/drive:v2/File/capabilities/canAddChildren": can_add_children +"/drive:v2/File/capabilities/canComment": can_comment +"/drive:v2/File/capabilities/canCopy": can_copy +"/drive:v2/File/capabilities/canDelete": can_delete +"/drive:v2/File/capabilities/canDownload": can_download +"/drive:v2/File/capabilities/canEdit": can_edit +"/drive:v2/File/capabilities/canListChildren": can_list_children +"/drive:v2/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive +"/drive:v2/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item +"/drive:v2/File/capabilities/canReadRevisions": can_read_revisions +"/drive:v2/File/capabilities/canReadTeamDrive": can_read_team_drive +"/drive:v2/File/capabilities/canRemoveChildren": can_remove_children +"/drive:v2/File/capabilities/canRename": can_rename +"/drive:v2/File/capabilities/canShare": can_share +"/drive:v2/File/capabilities/canTrash": can_trash +"/drive:v2/File/capabilities/canUntrash": can_untrash +"/drive:v2/File/hasAugmentedPermissions": has_augmented_permissions +"/drive:v2/File/teamDriveId": team_drive_id +"/drive:v2/File/trashedDate": trashed_date +"/drive:v2/File/trashingUser": trashing_user +"/drive:v2/FileList/incompleteSearch": incomplete_search +"/drive:v2/Permission/teamDrivePermissionDetails": team_drive_permission_details +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail": team_drive_permission_detail +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/additionalRoles": additional_roles +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/additionalRoles/additional_role": additional_role +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inherited": inherited +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inheritedFrom": inherited_from +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/role": role +"/drive:v2/Permission/teamDrivePermissionDetails/team_drive_permission_detail/teamDrivePermissionType": team_drive_permission_type +"/drive:v2/PermissionList/nextPageToken": next_page_token +"/drive:v2/TeamDrive": team_drive +"/drive:v2/TeamDrive/capabilities": capabilities +"/drive:v2/TeamDrive/capabilities/canAddChildren": can_add_children +"/drive:v2/TeamDrive/capabilities/canComment": can_comment +"/drive:v2/TeamDrive/capabilities/canCopy": can_copy +"/drive:v2/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive +"/drive:v2/TeamDrive/capabilities/canDownload": can_download +"/drive:v2/TeamDrive/capabilities/canEdit": can_edit +"/drive:v2/TeamDrive/capabilities/canListChildren": can_list_children +"/drive:v2/TeamDrive/capabilities/canManageMembers": can_manage_members +"/drive:v2/TeamDrive/capabilities/canReadRevisions": can_read_revisions +"/drive:v2/TeamDrive/capabilities/canRemoveChildren": can_remove_children +"/drive:v2/TeamDrive/capabilities/canRename": can_rename +"/drive:v2/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive +"/drive:v2/TeamDrive/capabilities/canShare": can_share +"/drive:v2/TeamDrive/id": id +"/drive:v2/TeamDrive/kind": kind +"/drive:v2/TeamDrive/name": name +"/drive:v2/TeamDriveList": team_drive_list +"/drive:v2/TeamDriveList/items": items +"/drive:v2/TeamDriveList/items/item": item +"/drive:v2/TeamDriveList/kind": kind +"/drive:v2/TeamDriveList/nextPageToken": next_page_token +"/drive:v3/drive.changes.getStartPageToken/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.getStartPageToken/teamDriveId": team_drive_id +"/drive:v3/drive.changes.list/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.list/teamDriveId": team_drive_id +"/drive:v3/drive.changes.watch/includeCorpusRemovals": include_corpus_removals +"/drive:v3/drive.changes.watch/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.changes.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.changes.watch/teamDriveId": team_drive_id +"/drive:v3/drive.files.copy/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list/corpora": corpora +"/drive:v3/drive.files.list/includeTeamDriveItems": include_team_drive_items +"/drive:v3/drive.files.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.list/teamDriveId": team_drive_id +"/drive:v3/drive.files.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.files.watch/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.create/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.delete/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.get/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.list/pageSize": page_size +"/drive:v3/drive.permissions.list/pageToken": page_token +"/drive:v3/drive.permissions.list/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.permissions.update/supportsTeamDrives": supports_team_drives +"/drive:v3/drive.teamdrives.create": create_teamdrife +"/drive:v3/drive.teamdrives.create/requestId": request_id +"/drive:v3/drive.teamdrives.delete": delete_teamdrife +"/drive:v3/drive.teamdrives.delete/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.get": get_teamdrife +"/drive:v3/drive.teamdrives.get/teamDriveId": team_drive_id +"/drive:v3/drive.teamdrives.list": list_teamdrives +"/drive:v3/drive.teamdrives.list/pageSize": page_size +"/drive:v3/drive.teamdrives.list/pageToken": page_token +"/drive:v3/drive.teamdrives.update": update_teamdrife +"/drive:v3/drive.teamdrives.update/teamDriveId": team_drive_id +"/drive:v3/Change/teamDrive": team_drive +"/drive:v3/Change/teamDriveId": team_drive_id +"/drive:v3/Change/type": type +"/drive:v3/File/capabilities/canAddChildren": can_add_children +"/drive:v3/File/capabilities/canDelete": can_delete +"/drive:v3/File/capabilities/canDownload": can_download +"/drive:v3/File/capabilities/canListChildren": can_list_children +"/drive:v3/File/capabilities/canMoveItemIntoTeamDrive": can_move_item_into_team_drive +"/drive:v3/File/capabilities/canMoveTeamDriveItem": can_move_team_drive_item +"/drive:v3/File/capabilities/canReadTeamDrive": can_read_team_drive +"/drive:v3/File/capabilities/canRemoveChildren": can_remove_children +"/drive:v3/File/capabilities/canRename": can_rename +"/drive:v3/File/capabilities/canTrash": can_trash +"/drive:v3/File/capabilities/canUntrash": can_untrash +"/drive:v3/File/hasAugmentedPermissions": has_augmented_permissions +"/drive:v3/File/teamDriveId": team_drive_id +"/drive:v3/File/trashedTime": trashed_time +"/drive:v3/File/trashingUser": trashing_user +"/drive:v3/FileList/incompleteSearch": incomplete_search +"/drive:v3/Permission/teamDrivePermissionDetails": team_drive_permission_details +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail": team_drive_permission_detail +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inherited": inherited +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/inheritedFrom": inherited_from +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/role": role +"/drive:v3/Permission/teamDrivePermissionDetails/team_drive_permission_detail/teamDrivePermissionType": team_drive_permission_type +"/drive:v3/PermissionList/nextPageToken": next_page_token +"/drive:v3/TeamDrive": team_drive +"/drive:v3/TeamDrive/capabilities": capabilities +"/drive:v3/TeamDrive/capabilities/canAddChildren": can_add_children +"/drive:v3/TeamDrive/capabilities/canComment": can_comment +"/drive:v3/TeamDrive/capabilities/canCopy": can_copy +"/drive:v3/TeamDrive/capabilities/canDeleteTeamDrive": can_delete_team_drive +"/drive:v3/TeamDrive/capabilities/canDownload": can_download +"/drive:v3/TeamDrive/capabilities/canEdit": can_edit +"/drive:v3/TeamDrive/capabilities/canListChildren": can_list_children +"/drive:v3/TeamDrive/capabilities/canManageMembers": can_manage_members +"/drive:v3/TeamDrive/capabilities/canReadRevisions": can_read_revisions +"/drive:v3/TeamDrive/capabilities/canRemoveChildren": can_remove_children +"/drive:v3/TeamDrive/capabilities/canRename": can_rename +"/drive:v3/TeamDrive/capabilities/canRenameTeamDrive": can_rename_team_drive +"/drive:v3/TeamDrive/capabilities/canShare": can_share +"/drive:v3/TeamDrive/id": id +"/drive:v3/TeamDrive/kind": kind +"/drive:v3/TeamDrive/name": name +"/drive:v3/TeamDriveList": team_drive_list +"/drive:v3/TeamDriveList/kind": kind +"/drive:v3/TeamDriveList/nextPageToken": next_page_token +"/drive:v3/TeamDriveList/teamDrives": team_drives +"/drive:v3/TeamDriveList/teamDrives/team_drife": team_drife +"/partners:v2/partners.leads.list": list_leads +"/partners:v2/partners.leads.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.leads.list/pageToken": page_token +"/partners:v2/partners.leads.list/pageSize": page_size +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.leads.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.leads.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.leads.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.leads.list/orderBy": order_by +"/partners:v2/partners.leads.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.list": list_offers +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.offers.history.list": list_offer_histories +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.offers.history.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.offers.history.list/pageToken": page_token +"/partners:v2/partners.offers.history.list/pageSize": page_size +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.offers.history.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.offers.history.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.offers.history.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.offers.history.list/entireCompany": entire_company +"/partners:v2/partners.offers.history.list/orderBy": order_by +"/partners:v2/partners.offers.history.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.analytics.list": list_analytics +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.analytics.list/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.analytics.list/pageToken": page_token +"/partners:v2/partners.analytics.list/pageSize": page_size +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.analytics.list/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.analytics.list/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.analytics.list/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.analytics.list/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies": update_companies +"/partners:v2/partners.updateCompanies/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateCompanies/updateMask": update_mask +"/partners:v2/partners.updateCompanies/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateCompanies/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateCompanies/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateCompanies/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus": get_partnersstatus +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.getPartnersstatus/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.getPartnersstatus/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.getPartnersstatus/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.getPartnersstatus/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateLeads": update_leads +"/partners:v2/partners.updateLeads/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.updateLeads/updateMask": update_mask +"/partners:v2/partners.updateLeads/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.updateLeads/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.updateLeads/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.updateLeads/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.createCompanyRelation": create_user_company_relation +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.createCompanyRelation/userId": user_id +"/partners:v2/partners.users.createCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.deleteCompanyRelation": delete_user_company_relation +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.deleteCompanyRelation/userId": user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.deleteCompanyRelation/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.get": get_user +"/partners:v2/partners.users.get/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.get/userId": user_id +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.get/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.get/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.get/userView": user_view +"/partners:v2/partners.users.get/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.users.get/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.get/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile": update_user_profile +"/partners:v2/partners.users.updateProfile/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.users.updateProfile/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.users.updateProfile/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.users.updateProfile/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.users.updateProfile/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.companies.list/specializations": specializations +"/partners:v2/partners.exams.getToken": get_exam_token +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.userId": request_metadata_user_overrides_user_id +"/partners:v2/partners.exams.getToken/requestMetadata.partnersSessionId": request_metadata_partners_session_id +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSourceId": request_metadata_traffic_source_traffic_source_id +"/partners:v2/partners.exams.getToken/requestMetadata.locale": request_metadata_locale +"/partners:v2/partners.exams.getToken/requestMetadata.userOverrides.ipAddress": request_metadata_user_overrides_ip_address +"/partners:v2/partners.exams.getToken/requestMetadata.experimentIds": request_metadata_experiment_ids +"/partners:v2/partners.exams.getToken/requestMetadata.trafficSource.trafficSubId": request_metadata_traffic_source_traffic_sub_id +"/partners:v2/partners.exams.getToken/examType": exam_type +"/partners:v2/ListLeadsResponse": list_leads_response +"/partners:v2/ListLeadsResponse/nextPageToken": next_page_token +"/partners:v2/ListLeadsResponse/responseMetadata": response_metadata +"/partners:v2/ListLeadsResponse/totalSize": total_size +"/partners:v2/ListLeadsResponse/leads": leads +"/partners:v2/ListLeadsResponse/leads/lead": lead +"/partners:v2/Company/additionalWebsites": additional_websites +"/partners:v2/Company/additionalWebsites/additional_website": additional_website +"/partners:v2/Company/primaryAdwordsManagerAccountId": primary_adwords_manager_account_id +"/partners:v2/Company/primaryLocation": primary_location +"/partners:v2/Company/badgeTier": badge_tier +"/partners:v2/Company/specializationStatus": specialization_status +"/partners:v2/Company/specializationStatus/specialization_status": specialization_status +"/partners:v2/Company/companyTypes": company_types +"/partners:v2/Company/companyTypes/company_type": company_type +"/partners:v2/Company/autoApprovalEmailDomains": auto_approval_email_domains +"/partners:v2/Company/autoApprovalEmailDomains/auto_approval_email_domain": auto_approval_email_domain +"/partners:v2/Company/primaryLanguageCode": primary_language_code +"/partners:v2/Company/profileStatus": profile_status +"/partners:v2/Location/administrativeArea": administrative_area +"/partners:v2/Location/locality": locality +"/partners:v2/Location/dependentLocality": dependent_locality +"/partners:v2/Location/regionCode": region_code +"/partners:v2/Location/postalCode": postal_code +"/partners:v2/Location/sortingCode": sorting_code +"/partners:v2/Location/languageCode": language_code +"/partners:v2/Location/addressLine": address_line +"/partners:v2/Location/addressLine/address_line": address_line +"/partners:v2/ExamToken": exam_token +"/partners:v2/ExamToken/examId": exam_id +"/partners:v2/ExamToken/token": token +"/partners:v2/ExamToken/examType": exam_type +"/partners:v2/OptIns": opt_ins +"/partners:v2/OptIns/performanceSuggestions": performance_suggestions +"/partners:v2/OptIns/physicalMail": physical_mail +"/partners:v2/OptIns/phoneContact": phone_contact +"/partners:v2/OptIns/marketComm": market_comm +"/partners:v2/OptIns/specialOffers": special_offers +"/partners:v2/GetPartnersStatusResponse": get_partners_status_response +"/partners:v2/GetPartnersStatusResponse/responseMetadata": response_metadata +"/partners:v2/UserProfile": user_profile +"/partners:v2/UserProfile/givenName": given_name +"/partners:v2/UserProfile/address": address +"/partners:v2/UserProfile/industries": industries +"/partners:v2/UserProfile/industries/industry": industry +"/partners:v2/UserProfile/familyName": family_name +"/partners:v2/UserProfile/emailOptIns": email_opt_ins +"/partners:v2/UserProfile/languages": languages +"/partners:v2/UserProfile/languages/language": language +"/partners:v2/UserProfile/markets": markets +"/partners:v2/UserProfile/markets/market": market +"/partners:v2/UserProfile/adwordsManagerAccount": adwords_manager_account +"/partners:v2/UserProfile/phoneNumber": phone_number +"/partners:v2/UserProfile/primaryCountryCode": primary_country_code +"/partners:v2/UserProfile/emailAddress": email_address +"/partners:v2/UserProfile/channels": channels +"/partners:v2/UserProfile/channels/channel": channel +"/partners:v2/UserProfile/profilePublic": profile_public +"/partners:v2/UserProfile/jobFunctions": job_functions +"/partners:v2/UserProfile/jobFunctions/job_function": job_function +"/partners:v2/HistoricalOffer": historical_offer +"/partners:v2/HistoricalOffer/creationTime": creation_time +"/partners:v2/HistoricalOffer/status": status +"/partners:v2/HistoricalOffer/clientEmail": client_email +"/partners:v2/HistoricalOffer/clientId": client_id +"/partners:v2/HistoricalOffer/clientName": client_name +"/partners:v2/HistoricalOffer/lastModifiedTime": last_modified_time +"/partners:v2/HistoricalOffer/adwordsUrl": adwords_url +"/partners:v2/HistoricalOffer/offerType": offer_type +"/partners:v2/HistoricalOffer/senderName": sender_name +"/partners:v2/HistoricalOffer/offerCountryCode": offer_country_code +"/partners:v2/HistoricalOffer/expirationTime": expiration_time +"/partners:v2/HistoricalOffer/offerCode": offer_code +"/partners:v2/AnalyticsDataPoint": analytics_data_point +"/partners:v2/AnalyticsDataPoint/eventLocations": event_locations +"/partners:v2/AnalyticsDataPoint/eventLocations/event_location": event_location +"/partners:v2/AnalyticsDataPoint/eventCount": event_count +"/partners:v2/Analytics": analytics +"/partners:v2/Analytics/contacts": contacts +"/partners:v2/Analytics/eventDate": event_date +"/partners:v2/Analytics/profileViews": profile_views +"/partners:v2/Analytics/searchViews": search_views +"/partners:v2/PublicProfile/profileImage": profile_image +"/partners:v2/AdWordsManagerAccountInfo": ad_words_manager_account_info +"/partners:v2/AdWordsManagerAccountInfo/id": id +"/partners:v2/AdWordsManagerAccountInfo/customerName": customer_name +"/partners:v2/AvailableOffer": available_offer +"/partners:v2/AvailableOffer/qualifiedCustomersComplete": qualified_customers_complete +"/partners:v2/AvailableOffer/id": id +"/partners:v2/AvailableOffer/countryOfferInfos": country_offer_infos +"/partners:v2/AvailableOffer/countryOfferInfos/country_offer_info": country_offer_info +"/partners:v2/AvailableOffer/offerType": offer_type +"/partners:v2/AvailableOffer/maxAccountAge": max_account_age +"/partners:v2/AvailableOffer/qualifiedCustomer": qualified_customer +"/partners:v2/AvailableOffer/qualifiedCustomer/qualified_customer": qualified_customer +"/partners:v2/AvailableOffer/terms": terms +"/partners:v2/AvailableOffer/showSpecialOfferCopy": show_special_offer_copy +"/partners:v2/AvailableOffer/available": available +"/partners:v2/AvailableOffer/description": description +"/partners:v2/AvailableOffer/offerLevel": offer_level +"/partners:v2/AvailableOffer/name": name +"/partners:v2/AnalyticsSummary": analytics_summary +"/partners:v2/AnalyticsSummary/profileViewsCount": profile_views_count +"/partners:v2/AnalyticsSummary/searchViewsCount": search_views_count +"/partners:v2/AnalyticsSummary/contactsCount": contacts_count +"/partners:v2/Lead/languageCode": language_code +"/partners:v2/Lead/state": state +"/partners:v2/Lead/adwordsCustomerId": adwords_customer_id +"/partners:v2/Lead/createTime": create_time +"/partners:v2/Lead/marketingOptIn": marketing_opt_in +"/partners:v2/CompanyRelation": company_relation +"/partners:v2/CompanyRelation/resolvedTimestamp": resolved_timestamp +"/partners:v2/CompanyRelation/companyAdmin": company_admin +"/partners:v2/CompanyRelation/isPending": is_pending +"/partners:v2/CompanyRelation/address": address +"/partners:v2/CompanyRelation/creationTime": creation_time +"/partners:v2/CompanyRelation/state": state +"/partners:v2/CompanyRelation/managerAccount": manager_account +"/partners:v2/CompanyRelation/name": name +"/partners:v2/CompanyRelation/segment": segment +"/partners:v2/CompanyRelation/segment/segment": segment +"/partners:v2/CompanyRelation/badgeTier": badge_tier +"/partners:v2/CompanyRelation/specializationStatus": specialization_status +"/partners:v2/CompanyRelation/specializationStatus/specialization_status": specialization_status +"/partners:v2/CompanyRelation/phoneNumber": phone_number +"/partners:v2/CompanyRelation/website": website +"/partners:v2/CompanyRelation/companyId": company_id +"/partners:v2/CompanyRelation/logoUrl": logo_url +"/partners:v2/Date": date +"/partners:v2/Date/month": month +"/partners:v2/Date/year": year +"/partners:v2/Date/day": day +"/partners:v2/Empty": empty +"/partners:v2/ExamStatus": exam_status +"/partners:v2/ExamStatus/expiration": expiration +"/partners:v2/ExamStatus/warning": warning +"/partners:v2/ExamStatus/lastPassed": last_passed +"/partners:v2/ExamStatus/examType": exam_type +"/partners:v2/ExamStatus/passed": passed +"/partners:v2/ExamStatus/taken": taken +"/partners:v2/ListOffersResponse": list_offers_response +"/partners:v2/ListOffersResponse/responseMetadata": response_metadata +"/partners:v2/ListOffersResponse/noOfferReason": no_offer_reason +"/partners:v2/ListOffersResponse/availableOffers": available_offers +"/partners:v2/ListOffersResponse/availableOffers/available_offer": available_offer +"/partners:v2/CountryOfferInfo": country_offer_info +"/partners:v2/CountryOfferInfo/offerCountryCode": offer_country_code +"/partners:v2/CountryOfferInfo/spendXAmount": spend_x_amount +"/partners:v2/CountryOfferInfo/offerType": offer_type +"/partners:v2/CountryOfferInfo/getYAmount": get_y_amount +"/partners:v2/OfferCustomer": offer_customer +"/partners:v2/OfferCustomer/adwordsUrl": adwords_url +"/partners:v2/OfferCustomer/creationTime": creation_time +"/partners:v2/OfferCustomer/offerType": offer_type +"/partners:v2/OfferCustomer/externalCid": external_cid +"/partners:v2/OfferCustomer/countryCode": country_code +"/partners:v2/OfferCustomer/eligibilityDaysLeft": eligibility_days_left +"/partners:v2/OfferCustomer/getYAmount": get_y_amount +"/partners:v2/OfferCustomer/name": name +"/partners:v2/OfferCustomer/spendXAmount": spend_x_amount +"/partners:v2/CertificationStatus/userCount": user_count +"/partners:v2/ListOffersHistoryResponse": list_offers_history_response +"/partners:v2/ListOffersHistoryResponse/offers": offers +"/partners:v2/ListOffersHistoryResponse/offers/offer": offer +"/partners:v2/ListOffersHistoryResponse/nextPageToken": next_page_token +"/partners:v2/ListOffersHistoryResponse/responseMetadata": response_metadata +"/partners:v2/ListOffersHistoryResponse/canShowEntireCompany": can_show_entire_company +"/partners:v2/ListOffersHistoryResponse/totalResults": total_results +"/partners:v2/ListOffersHistoryResponse/showingEntireCompany": showing_entire_company +"/partners:v2/SpecializationStatus": specialization_status +"/partners:v2/SpecializationStatus/badgeSpecialization": badge_specialization +"/partners:v2/SpecializationStatus/badgeSpecializationState": badge_specialization_state +"/partners:v2/Certification": certification +"/partners:v2/Certification/certificationType": certification_type +"/partners:v2/Certification/lastAchieved": last_achieved +"/partners:v2/Certification/achieved": achieved +"/partners:v2/Certification/expiration": expiration +"/partners:v2/Certification/warning": warning +"/partners:v2/User": user +"/partners:v2/User/examStatus": exam_status +"/partners:v2/User/examStatus/exam_status": exam_status +"/partners:v2/User/id": id +"/partners:v2/User/publicProfile": public_profile +"/partners:v2/User/companyVerificationEmail": company_verification_email +"/partners:v2/User/certificationStatus": certification_status +"/partners:v2/User/certificationStatus/certification_status": certification_status +"/partners:v2/User/company": company +"/partners:v2/User/profile": profile +"/partners:v2/User/lastAccessTime": last_access_time +"/partners:v2/User/availableAdwordsManagerAccounts": available_adwords_manager_accounts +"/partners:v2/User/availableAdwordsManagerAccounts/available_adwords_manager_account": available_adwords_manager_account +"/partners:v2/User/primaryEmails": primary_emails +"/partners:v2/User/primaryEmails/primary_email": primary_email +"/partners:v2/ListAnalyticsResponse": list_analytics_response +"/partners:v2/ListAnalyticsResponse/analytics": analytics +"/partners:v2/ListAnalyticsResponse/analytics/analytic": analytic +"/partners:v2/ListAnalyticsResponse/nextPageToken": next_page_token +"/partners:v2/ListAnalyticsResponse/responseMetadata": response_metadata +"/partners:v2/ListAnalyticsResponse/analyticsSummary": analytics_summary +"/people:v1/people.people.connections.list/requestSyncToken": request_sync_token +"/people:v1/ProfileMetadata": profile_metadata +"/people:v1/ProfileMetadata/objectType": object_type +"/people:v1/AgeRangeType": age_range_type +"/people:v1/AgeRangeType/metadata": metadata +"/people:v1/AgeRangeType/ageRange": age_range +"/people:v1/Source/profileMetadata": profile_metadata +"/people:v1/Person/ageRanges": age_ranges +"/people:v1/Person/ageRanges/age_range": age_range +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete": delete_beacon +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/beaconName": beacon_name +"/proximitybeacon:v1beta1/proximitybeacon.beacons.delete/projectId": project_id +"/proximitybeacon:v1beta1/BeaconAttachment/creationTimeMs": creation_time_ms +"/reseller:v1/reseller.resellernotify.getwatchdetails": getwatchdetails_resellernotify +"/reseller:v1/reseller.resellernotify.register": register_resellernotify +"/reseller:v1/reseller.resellernotify.register/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/reseller.resellernotify.unregister": unregister_resellernotify +"/reseller:v1/reseller.resellernotify.unregister/serviceAccountEmailAddress": service_account_email_address +"/reseller:v1/ResellernotifyGetwatchdetailsResponse": resellernotify_getwatchdetails_response +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/serviceAccountEmailAddresses": service_account_email_addresses +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/serviceAccountEmailAddresses/service_account_email_address": service_account_email_address +"/reseller:v1/ResellernotifyGetwatchdetailsResponse/topicName": topic_name +"/reseller:v1/ResellernotifyResource": resellernotify_resource +"/reseller:v1/ResellernotifyResource/topicName": topic_name +"/sheets:v4/CellFormat/textRotation": text_rotation +"/sheets:v4/TextRotation": text_rotation +"/sheets:v4/TextRotation/angle": angle +"/sheets:v4/TextRotation/vertical": vertical +"/slides:v1/Page/revisionId": revision_id +"/slides:v1/Presentation/revisionId": revision_id +"/slides:v1/BatchUpdatePresentationRequest/writeControl": write_control +"/slides:v1/WriteControl": write_control +"/slides:v1/WriteControl/requiredRevisionId": required_revision_id +"/sqladmin:v1beta4/sql.flags.list/databaseVersion": database_version +"/sqladmin:v1beta4/sql.instances.list/filter": filter +"/sqladmin:v1beta4/Labels": labels +"/sqladmin:v1beta4/Labels/key": key +"/sqladmin:v1beta4/Labels/value": value +"/sqladmin:v1beta4/Settings/labels": labels +"/sqladmin:v1beta4/Settings/labels/label": label +"/vision:v1/WebEntity": web_entity +"/vision:v1/WebEntity/entityId": entity_id +"/vision:v1/WebEntity/description": description +"/vision:v1/WebEntity/score": score +"/vision:v1/TextProperty": text_property +"/vision:v1/TextProperty/detectedLanguages": detected_languages +"/vision:v1/TextProperty/detectedLanguages/detected_language": detected_language +"/vision:v1/TextProperty/detectedBreak": detected_break +"/vision:v1/AnnotateImageResponse/fullTextAnnotation": full_text_annotation +"/vision:v1/AnnotateImageResponse/webDetection": web_detection +"/vision:v1/AnnotateImageResponse/cropHintsAnnotation": crop_hints_annotation +"/vision:v1/CropHintsParams": crop_hints_params +"/vision:v1/CropHintsParams/aspectRatios": aspect_ratios +"/vision:v1/CropHintsParams/aspectRatios/aspect_ratio": aspect_ratio +"/vision:v1/Block": block +"/vision:v1/Block/property": property +"/vision:v1/Block/blockType": block_type +"/vision:v1/Block/boundingBox": bounding_box +"/vision:v1/Block/paragraphs": paragraphs +"/vision:v1/Block/paragraphs/paragraph": paragraph +"/vision:v1/ImageSource/imageUri": image_uri +"/vision:v1/Property/uint64Value": uint64_value +"/vision:v1/WebDetection": web_detection +"/vision:v1/WebDetection/partialMatchingImages": partial_matching_images +"/vision:v1/WebDetection/partialMatchingImages/partial_matching_image": partial_matching_image +"/vision:v1/WebDetection/fullMatchingImages": full_matching_images +"/vision:v1/WebDetection/fullMatchingImages/full_matching_image": full_matching_image +"/vision:v1/WebDetection/webEntities": web_entities +"/vision:v1/WebDetection/webEntities/web_entity": web_entity +"/vision:v1/WebDetection/pagesWithMatchingImages": pages_with_matching_images +"/vision:v1/WebDetection/pagesWithMatchingImages/pages_with_matching_image": pages_with_matching_image +"/vision:v1/WebPage": web_page +"/vision:v1/WebPage/url": url +"/vision:v1/WebPage/score": score +"/vision:v1/CropHint": crop_hint +"/vision:v1/CropHint/confidence": confidence +"/vision:v1/CropHint/importanceFraction": importance_fraction +"/vision:v1/CropHint/boundingPoly": bounding_poly +"/vision:v1/WebImage": web_image +"/vision:v1/WebImage/score": score +"/vision:v1/WebImage/url": url +"/vision:v1/Word": word +"/vision:v1/Word/property": property +"/vision:v1/Word/boundingBox": bounding_box +"/vision:v1/Word/symbols": symbols +"/vision:v1/Word/symbols/symbol": symbol +"/vision:v1/Paragraph": paragraph +"/vision:v1/Paragraph/property": property +"/vision:v1/Paragraph/boundingBox": bounding_box +"/vision:v1/Paragraph/words": words +"/vision:v1/Paragraph/words/word": word +"/vision:v1/DetectedBreak": detected_break +"/vision:v1/DetectedBreak/type": type +"/vision:v1/DetectedBreak/isPrefix": is_prefix +"/vision:v1/ImageContext/cropHintsParams": crop_hints_params +"/vision:v1/Page": page +"/vision:v1/Page/width": width +"/vision:v1/Page/blocks": blocks +"/vision:v1/Page/blocks/block": block +"/vision:v1/Page/property": property +"/vision:v1/Page/height": height +"/vision:v1/Symbol": symbol +"/vision:v1/Symbol/property": property +"/vision:v1/Symbol/boundingBox": bounding_box +"/vision:v1/Symbol/text": text +"/vision:v1/CropHintsAnnotation": crop_hints_annotation +"/vision:v1/CropHintsAnnotation/cropHints": crop_hints +"/vision:v1/CropHintsAnnotation/cropHints/crop_hint": crop_hint +"/vision:v1/TextAnnotation": text_annotation +"/vision:v1/TextAnnotation/pages": pages +"/vision:v1/TextAnnotation/pages/page": page +"/vision:v1/TextAnnotation/text": text +"/vision:v1/DetectedLanguage": detected_language +"/vision:v1/DetectedLanguage/languageCode": language_code +"/vision:v1/DetectedLanguage/confidence": confidence +"/youtubePartner:v1/youtubePartner.package.insert": insert_package +"/youtubePartner:v1/youtubePartner.package.insert/onBehalfOfContentOwner": on_behalf_of_content_owner +"/youtubePartner:v1/Package": package +"/youtubePartner:v1/Package/content": content +"/youtubePartner:v1/Package/id": id +"/youtubePartner:v1/Package/kind": kind +"/youtubePartner:v1/Package/locale": locale +"/youtubePartner:v1/Package/uploaderName": uploader_name +"/youtubePartner:v1/PackageInsertResponse": package_insert_response +"/youtubePartner:v1/PackageInsertResponse/errors": errors +"/youtubePartner:v1/PackageInsertResponse/errors/error": error +"/youtubePartner:v1/PackageInsertResponse/kind": kind +"/youtubePartner:v1/PackageInsertResponse/resource": resource +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess": set_subnetwork_private_ip_google_access +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/project": project +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/region": region +"/compute:beta/compute.subnetworks.setPrivateIpGoogleAccess/subnetwork": subnetwork +"/compute:beta/Firewall/denied": denied +"/compute:beta/Firewall/denied/denied": denied +"/compute:beta/Firewall/denied/denied/IPProtocol": ip_protocol +"/compute:beta/Firewall/denied/denied/ports": ports +"/compute:beta/Firewall/denied/denied/ports/port": port +"/compute:beta/Firewall/destinationRanges": destination_ranges +"/compute:beta/Firewall/destinationRanges/destination_range": destination_range +"/compute:beta/Firewall/direction": direction +"/compute:beta/Firewall/priority": priority +"/compute:beta/ManagedInstance/version": version +"/compute:beta/ManagedInstanceVersion": managed_instance_version +"/compute:beta/ManagedInstanceVersion/instanceTemplate": instance_template +"/compute:beta/ManagedInstanceVersion/name": name +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest": subnetworks_set_private_ip_google_access_request +"/compute:beta/SubnetworksSetPrivateIpGoogleAccessRequest/privateIpGoogleAccess": private_ip_google_access +"/admin:directory_v1/User/posixAccounts": posix_accounts +"/admin:directory_v1/User/sshPublicKeys": ssh_public_keys +"/admin:directory_v1/UserPosixAccount": user_posix_account +"/admin:directory_v1/UserPosixAccount/gecos": gecos +"/admin:directory_v1/UserPosixAccount/gid": gid +"/admin:directory_v1/UserPosixAccount/homeDirectory": home_directory +"/admin:directory_v1/UserPosixAccount/primary": primary +"/admin:directory_v1/UserPosixAccount/shell": shell +"/admin:directory_v1/UserPosixAccount/systemId": system_id +"/admin:directory_v1/UserPosixAccount/uid": uid +"/admin:directory_v1/UserPosixAccount/username": username +"/admin:directory_v1/UserSshPublicKey": user_ssh_public_key +"/admin:directory_v1/UserSshPublicKey/expirationTimeUsec": expiration_time_usec +"/admin:directory_v1/UserSshPublicKey/fingerprint": fingerprint +"/admin:directory_v1/UserSshPublicKey/key": key +"/analytics:v3/analytics.management.remarketingAudience.delete": delete_management_remarketing_audience +"/analytics:v3/analytics.management.remarketingAudience.delete/accountId": account_id +"/analytics:v3/analytics.management.remarketingAudience.delete/remarketingAudienceId": remarketing_audience_id +"/analytics:v3/analytics.management.remarketingAudience.delete/webPropertyId": web_property_id +"/bigquery:v2/bigquery.tabledata.list/selectedFields": selected_fields +"/bigquery:v2/bigquery.tables.get/selectedFields": selected_fields +"/calendar:v3/DeepLinkData": deep_link_data +"/calendar:v3/DeepLinkData/links": links +"/calendar:v3/DeepLinkData/links/link": link +"/calendar:v3/DeepLinkData/url": url +"/calendar:v3/DisplayInfo": display_info +"/calendar:v3/DisplayInfo/appIconUrl": app_icon_url +"/calendar:v3/DisplayInfo/appShortTitle": app_short_title +"/calendar:v3/DisplayInfo/appTitle": app_title +"/calendar:v3/DisplayInfo/linkShortTitle": link_short_title +"/calendar:v3/DisplayInfo/linkTitle": link_title +"/calendar:v3/EventHabitInstance": event_habit_instance +"/calendar:v3/EventHabitInstance/data": data +"/calendar:v3/EventHabitInstance/parentId": parent_id +"/calendar:v3/HabitInstanceData": habit_instance_data +"/calendar:v3/HabitInstanceData/status": status +"/calendar:v3/HabitInstanceData/statusInferred": status_inferred +"/calendar:v3/HabitInstanceData/type": type +"/calendar:v3/LaunchInfo": launch_info +"/calendar:v3/LaunchInfo/appId": app_id +"/calendar:v3/LaunchInfo/installUrl": install_url +"/calendar:v3/LaunchInfo/intentAction": intent_action +"/calendar:v3/LaunchInfo/uri": uri +"/calendar:v3/Link": link +"/calendar:v3/Link/applinkingSource": applinking_source +"/calendar:v3/Link/displayInfo": display_info +"/calendar:v3/Link/launchInfo": launch_info +"/calendar:v3/Link/platform": platform +"/calendar:v3/Link/url": url +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1": set_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1": get_folder_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy": clear_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy": set_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1": clear_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies": list_folder_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints": list_folder_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.folders.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy": get_folder_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy": get_folder_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1": get_folder_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.folders.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints": list_project_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy": get_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy": get_project_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1": get_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1": set_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy": set_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1": clear_project_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies": list_project_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.projects.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1": get_project_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.projects.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy": clear_project_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.projects.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1 +"/cloudresourcemanager:v1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1/ListConstraint": list_constraint +"/cloudresourcemanager:v1/ListConstraint/suggestedValue": suggested_value +"/cloudresourcemanager:v1/SetOrgPolicyRequest": set_org_policy_request +"/cloudresourcemanager:v1/SetOrgPolicyRequest/policy": policy +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint +"/cloudresourcemanager:v1/ListPolicy": list_policy +"/cloudresourcemanager:v1/ListPolicy/allowedValues": allowed_values +"/cloudresourcemanager:v1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1/ListPolicy/suggestedValue": suggested_value +"/cloudresourcemanager:v1/ListPolicy/inheritFromParent": inherit_from_parent +"/cloudresourcemanager:v1/ListPolicy/deniedValues": denied_values +"/cloudresourcemanager:v1/ListPolicy/deniedValues/denied_value": denied_value +"/cloudresourcemanager:v1/ListPolicy/allValues": all_values +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1/Constraint": constraint +"/cloudresourcemanager:v1/Constraint/version": version +"/cloudresourcemanager:v1/Constraint/listConstraint": list_constraint +"/cloudresourcemanager:v1/Constraint/displayName": display_name +"/cloudresourcemanager:v1/Constraint/description": description +"/cloudresourcemanager:v1/Constraint/booleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/Constraint/constraintDefault": constraint_default +"/cloudresourcemanager:v1/Constraint/name": name +"/cloudresourcemanager:v1/RestoreDefault": restore_default +"/cloudresourcemanager:v1/GetOrgPolicyRequest": get_org_policy_request +"/cloudresourcemanager:v1/GetOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/ClearOrgPolicyRequest": clear_org_policy_request +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/etag": etag +"/cloudresourcemanager:v1/ClearOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1/BooleanConstraint": boolean_constraint +"/cloudresourcemanager:v1/ListOrgPoliciesResponse": list_org_policies_response +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies": policies +"/cloudresourcemanager:v1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1/OrgPolicy": org_policy +"/cloudresourcemanager:v1/OrgPolicy/etag": etag +"/cloudresourcemanager:v1/OrgPolicy/booleanPolicy": boolean_policy +"/cloudresourcemanager:v1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1/OrgPolicy/version": version +"/cloudresourcemanager:v1/OrgPolicy/restoreDefault": restore_default +"/cloudresourcemanager:v1/OrgPolicy/listPolicy": list_policy +"/cloudresourcemanager:v1/BooleanPolicy": boolean_policy +"/cloudresourcemanager:v1/BooleanPolicy/enforced": enforced +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy": clear_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints": list_organization_available_org_policy_constraints +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listAvailableOrgPolicyConstraints/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy": get_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1": get_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy": get_organization_effective_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1": set_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy": set_organization_org_policy +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.setOrgPolicy/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1": clear_organization_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.clearOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies": list_organization_org_policies +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.listOrgPolicies/resource": resource +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1": get_organization_effective_org_policy_v1 +"/cloudresourcemanager:v1beta1/cloudresourcemanager.organizations.getEffectiveOrgPolicyV1/resource": resource +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest": clear_org_policy_request +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/etag": etag +"/cloudresourcemanager:v1beta1/ClearOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1beta1/BooleanConstraint": boolean_constraint +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse": list_org_policies_response +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies": policies +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/policies/policy": policy +"/cloudresourcemanager:v1beta1/ListOrgPoliciesResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/OrgPolicy": org_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/version": version +"/cloudresourcemanager:v1beta1/OrgPolicy/restoreDefault": restore_default +"/cloudresourcemanager:v1beta1/OrgPolicy/listPolicy": list_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/etag": etag +"/cloudresourcemanager:v1beta1/OrgPolicy/constraint": constraint +"/cloudresourcemanager:v1beta1/OrgPolicy/booleanPolicy": boolean_policy +"/cloudresourcemanager:v1beta1/OrgPolicy/updateTime": update_time +"/cloudresourcemanager:v1beta1/BooleanPolicy": boolean_policy +"/cloudresourcemanager:v1beta1/BooleanPolicy/enforced": enforced +"/cloudresourcemanager:v1beta1/ListConstraint": list_constraint +"/cloudresourcemanager:v1beta1/ListConstraint/suggestedValue": suggested_value +"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest": set_org_policy_request +"/cloudresourcemanager:v1beta1/SetOrgPolicyRequest/policy": policy +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse": list_available_org_policy_constraints_response +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/nextPageToken": next_page_token +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints": constraints +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsResponse/constraints/constraint": constraint +"/cloudresourcemanager:v1beta1/ListPolicy": list_policy +"/cloudresourcemanager:v1beta1/ListPolicy/allValues": all_values +"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues": allowed_values +"/cloudresourcemanager:v1beta1/ListPolicy/allowedValues/allowed_value": allowed_value +"/cloudresourcemanager:v1beta1/ListPolicy/suggestedValue": suggested_value +"/cloudresourcemanager:v1beta1/ListPolicy/inheritFromParent": inherit_from_parent +"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues": denied_values +"/cloudresourcemanager:v1beta1/ListPolicy/deniedValues/denied_value": denied_value +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest": list_available_org_policy_constraints_request +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageToken": page_token +"/cloudresourcemanager:v1beta1/ListAvailableOrgPolicyConstraintsRequest/pageSize": page_size +"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest": get_effective_org_policy_request +"/cloudresourcemanager:v1beta1/GetEffectiveOrgPolicyRequest/constraint": constraint +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest": list_org_policies_request +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageToken": page_token +"/cloudresourcemanager:v1beta1/ListOrgPoliciesRequest/pageSize": page_size +"/cloudresourcemanager:v1beta1/Constraint": constraint +"/cloudresourcemanager:v1beta1/Constraint/description": description +"/cloudresourcemanager:v1beta1/Constraint/displayName": display_name +"/cloudresourcemanager:v1beta1/Constraint/booleanConstraint": boolean_constraint +"/cloudresourcemanager:v1beta1/Constraint/constraintDefault": constraint_default +"/cloudresourcemanager:v1beta1/Constraint/name": name +"/cloudresourcemanager:v1beta1/Constraint/listConstraint": list_constraint +"/cloudresourcemanager:v1beta1/Constraint/version": version +"/cloudresourcemanager:v1beta1/RestoreDefault": restore_default +"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest": get_org_policy_request +"/cloudresourcemanager:v1beta1/GetOrgPolicyRequest/constraint": constraint +"/dataflow:v1b3/KeyRangeLocation/deprecatedPersistentDirectory": deprecated_persistent_directory +"/dataproc:v1/ClusterStatus/substate": substate +"/dataproc:v1/JobStatus/substate": substate +"/appengine:v1beta5/Application/iap": iap +"/appengine:v1beta5/IdentityAwareProxy": identity_aware_proxy +"/appengine:v1beta5/IdentityAwareProxy/enabled": enabled +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientId": oauth2_client_id +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecret": oauth2_client_secret +"/appengine:v1beta5/IdentityAwareProxy/oauth2ClientSecretSha256": oauth2_client_secret_sha256 +"/appengine:v1beta5/OperationMetadataV1Beta": operation_metadata_v1_beta +"/appengine:v1beta5/OperationMetadataV1Beta/method": method_prop +"/appengine:v1beta5/OperationMetadataV1Beta/insertTime": insert_time +"/appengine:v1beta5/OperationMetadataV1Beta/endTime": end_time +"/appengine:v1beta5/OperationMetadataV1Beta/user": user +"/appengine:v1beta5/OperationMetadataV1Beta/target": target +"/appengine:v1beta5/OperationMetadataV1Beta/ephemeralMessage": ephemeral_message +"/appengine:v1beta5/OperationMetadataV1Beta/warning": warning +"/appengine:v1beta5/OperationMetadataV1Beta/warning/warning": warning +"/identitytoolkit:v3/IdentitytoolkitRelyingpartyVerifyAssertionRequest/autoCreate": auto_create +"/identitytoolkit:v3/Relyingparty/androidInstallApp": android_install_app +"/identitytoolkit:v3/Relyingparty/androidMinimumVersion": android_minimum_version +"/identitytoolkit:v3/Relyingparty/androidPackageName": android_package_name +"/identitytoolkit:v3/Relyingparty/canHandleCodeInApp": can_handle_code_in_app +"/identitytoolkit:v3/Relyingparty/continueUrl": continue_url +"/identitytoolkit:v3/Relyingparty/iOSAppStoreId": i_os_app_store_id +"/identitytoolkit:v3/Relyingparty/iOSBundleId": i_os_bundle_id +"/licensing:v1/LicenseAssignment/productName": product_name +"/licensing:v1/LicenseAssignment/skuName": sku_name +"/manufacturers:v1/Count": count +"/manufacturers:v1/Count/value": value +"/manufacturers:v1/Count/unit": unit +"/manufacturers:v1/Capacity": capacity +"/manufacturers:v1/Capacity/value": value +"/manufacturers:v1/Capacity/unit": unit +"/manufacturers:v1/ProductDetail": product_detail +"/manufacturers:v1/ProductDetail/attributeValue": attribute_value +"/manufacturers:v1/ProductDetail/sectionName": section_name +"/manufacturers:v1/ProductDetail/attributeName": attribute_name +"/manufacturers:v1/FeatureDescription": feature_description +"/manufacturers:v1/FeatureDescription/text": text +"/manufacturers:v1/FeatureDescription/image": image +"/manufacturers:v1/FeatureDescription/headline": headline +"/manufacturers:v1/Issue/timestamp": timestamp +"/manufacturers:v1/Price": price +"/manufacturers:v1/Price/amount": amount +"/manufacturers:v1/Price/currency": currency +"/manufacturers:v1/Image": image +"/manufacturers:v1/Image/type": type +"/manufacturers:v1/Image/imageUrl": image_url +"/manufacturers:v1/Image/status": status +"/manufacturers:v1/Attributes/sizeSystem": size_system +"/manufacturers:v1/Attributes/theme": theme +"/manufacturers:v1/Attributes/pattern": pattern +"/manufacturers:v1/Attributes/imageLink": image_link +"/manufacturers:v1/Attributes/format": format +"/manufacturers:v1/Attributes/additionalImageLink": additional_image_link +"/manufacturers:v1/Attributes/additionalImageLink/additional_image_link": additional_image_link +"/manufacturers:v1/Attributes/videoLink": video_link +"/manufacturers:v1/Attributes/videoLink/video_link": video_link +"/manufacturers:v1/Attributes/color": color +"/manufacturers:v1/Attributes/sizeType": size_type +"/manufacturers:v1/Attributes/suggestedRetailPrice": suggested_retail_price +"/manufacturers:v1/Attributes/featureDescription": feature_description +"/manufacturers:v1/Attributes/featureDescription/feature_description": feature_description +"/manufacturers:v1/Attributes/size": size +"/manufacturers:v1/Attributes/count": count +"/manufacturers:v1/Attributes/disclosureDate": disclosure_date +"/manufacturers:v1/Attributes/material": material +"/manufacturers:v1/Attributes/scent": scent +"/manufacturers:v1/Attributes/ageGroup": age_group +"/manufacturers:v1/Attributes/productDetail": product_detail +"/manufacturers:v1/Attributes/productDetail/product_detail": product_detail +"/manufacturers:v1/Attributes/flavor": flavor +"/manufacturers:v1/Attributes/releaseDate": release_date +"/manufacturers:v1/Attributes/itemGroupId": item_group_id +"/manufacturers:v1/Attributes/capacity": capacity +"/manufacturers:v1/Attributes/description": description +"/manufacturers:v1/Attributes/gender": gender +"/people:v1/ListConnectionsResponse/totalPeople": total_people +"/reseller:v1/Subscription/skuName": sku_name +"/slides:v1/slides.presentations.pages.getThumbnail": get_presentation_page_thumbnail +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.mimeType": thumbnail_properties_mime_type +"/slides:v1/slides.presentations.pages.getThumbnail/thumbnailProperties.thumbnailSize": thumbnail_properties_thumbnail_size +"/slides:v1/slides.presentations.pages.getThumbnail/presentationId": presentation_id +"/slides:v1/slides.presentations.pages.getThumbnail/pageObjectId": page_object_id +"/slides:v1/WeightedFontFamily": weighted_font_family +"/slides:v1/WeightedFontFamily/fontFamily": font_family +"/slides:v1/WeightedFontFamily/weight": weight +"/slides:v1/TextStyle/weightedFontFamily": weighted_font_family +"/slides:v1/Thumbnail": thumbnail +"/slides:v1/Thumbnail/height": height +"/slides:v1/Thumbnail/contentUrl": content_url +"/slides:v1/Thumbnail/width": width +"/storage:v1/storage.buckets.getIamPolicy": get_bucket_iam_policy +"/storage:v1/storage.buckets.getIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.setIamPolicy": set_bucket_iam_policy +"/storage:v1/storage.buckets.setIamPolicy/bucket": bucket +"/storage:v1/storage.buckets.testIamPermissions": test_bucket_iam_permissions +"/storage:v1/storage.buckets.testIamPermissions/bucket": bucket +"/storage:v1/storage.buckets.testIamPermissions/permissions": permissions +"/storage:v1/storage.objects.getIamPolicy": get_object_iam_policy +"/storage:v1/storage.objects.getIamPolicy/bucket": bucket +"/storage:v1/storage.objects.getIamPolicy/generation": generation +"/storage:v1/storage.objects.getIamPolicy/object": object +"/storage:v1/storage.objects.setIamPolicy": set_object_iam_policy +"/storage:v1/storage.objects.setIamPolicy/bucket": bucket +"/storage:v1/storage.objects.setIamPolicy/generation": generation +"/storage:v1/storage.objects.setIamPolicy/object": object +"/storage:v1/storage.objects.testIamPermissions": test_object_iam_permissions +"/storage:v1/storage.objects.testIamPermissions/bucket": bucket +"/storage:v1/storage.objects.testIamPermissions/generation": generation +"/storage:v1/storage.objects.testIamPermissions/object": object +"/storage:v1/storage.objects.testIamPermissions/permissions": permissions +"/storage:v1/Policy": policy +"/storage:v1/Policy/bindings": bindings +"/storage:v1/Policy/bindings/binding": binding +"/storage:v1/Policy/bindings/binding/members": members +"/storage:v1/Policy/bindings/binding/members/member": member +"/storage:v1/Policy/bindings/binding/role": role +"/storage:v1/Policy/etag": etag +"/storage:v1/Policy/kind": kind +"/storage:v1/Policy/resourceId": resource_id +"/storage:v1/TestIamPermissionsResponse": test_iam_permissions_response +"/storage:v1/TestIamPermissionsResponse/kind": kind +"/storage:v1/TestIamPermissionsResponse/permissions": permissions +"/storage:v1/TestIamPermissionsResponse/permissions/permission": permission +"/vision:v1/WebDetection/visuallySimilarImages": visually_similar_images +"/vision:v1/WebDetection/visuallySimilarImages/visually_similar_image": visually_similar_image diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb new file mode 100644 index 000000000..fc97ee97d --- /dev/null +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -0,0 +1,35 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/adexchangebuyer2_v2beta1/service.rb' +require 'google/apis/adexchangebuyer2_v2beta1/classes.rb' +require 'google/apis/adexchangebuyer2_v2beta1/representations.rb' + +module Google + module Apis + # Ad Exchange Buyer API II + # + # Accesses the latest features for managing Ad Exchange accounts, Real-Time + # Bidding configurations and auction metrics, and Marketplace programmatic deals. + # + # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ + module Adexchangebuyer2V2beta1 + VERSION = 'V2beta1' + REVISION = '20170324' + + # Manage your Ad Exchange buyer account configuration + AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' + end + end +end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb new file mode 100644 index 000000000..7879b77c4 --- /dev/null +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -0,0 +1,1200 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Adexchangebuyer2V2beta1 + + # A request for watching changes to creative Status. + class WatchCreativeRequest + include Google::Apis::Core::Hashable + + # The Pub/Sub topic to publish notifications to. + # This topic must already exist and must give permission to + # ad-exchange-buyside-reports@google.com to write to the topic. + # This should be the full resource name in + # "projects/`project_id`/topics/`topic_id`" format. + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @topic = args[:topic] if args.key?(:topic) + end + end + + # @OutputOnly The app type the restriction applies to for mobile device. + class AppContext + include Google::Apis::Core::Hashable + + # The app types this restriction applies to. + # Corresponds to the JSON property `appTypes` + # @return [Array] + attr_accessor :app_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_types = args[:app_types] if args.key?(:app_types) + end + end + + # + class ListClientsResponse + include Google::Apis::Core::Hashable + + # The returned list of clients. + # Corresponds to the JSON property `clients` + # @return [Array] + attr_accessor :clients + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientsRequest.pageToken + # field in the subsequent call to the + # accounts.clients.list method + # to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @clients = args[:clients] if args.key?(:clients) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Native content for a creative. + class NativeContent + include Google::Apis::Core::Hashable + + # The URL to fetch a native video ad. + # Corresponds to the JSON property `videoUrl` + # @return [String] + attr_accessor :video_url + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `logo` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :logo + + # The URL that the browser/SDK will load when the user clicks the ad. + # Corresponds to the JSON property `clickLinkUrl` + # @return [String] + attr_accessor :click_link_url + + # The price of the promoted app including currency info. + # Corresponds to the JSON property `priceDisplayText` + # @return [String] + attr_accessor :price_display_text + + # The URL to use for click tracking. + # Corresponds to the JSON property `clickTrackingUrl` + # @return [String] + attr_accessor :click_tracking_url + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `image` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :image + + # The name of the advertiser or sponsor, to be displayed in the ad creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # The URL to the app store to purchase/download the promoted app. + # Corresponds to the JSON property `storeUrl` + # @return [String] + attr_accessor :store_url + + # A short title for the ad. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + # Corresponds to the JSON property `appIcon` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Image] + attr_accessor :app_icon + + # A label for the button that the user is supposed to click. + # Corresponds to the JSON property `callToAction` + # @return [String] + attr_accessor :call_to_action + + # A long description of the ad. + # Corresponds to the JSON property `body` + # @return [String] + attr_accessor :body + + # The app rating in the app store. Must be in the range [0-5]. + # Corresponds to the JSON property `starRating` + # @return [Float] + attr_accessor :star_rating + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @video_url = args[:video_url] if args.key?(:video_url) + @logo = args[:logo] if args.key?(:logo) + @click_link_url = args[:click_link_url] if args.key?(:click_link_url) + @price_display_text = args[:price_display_text] if args.key?(:price_display_text) + @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) + @image = args[:image] if args.key?(:image) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @store_url = args[:store_url] if args.key?(:store_url) + @headline = args[:headline] if args.key?(:headline) + @app_icon = args[:app_icon] if args.key?(:app_icon) + @call_to_action = args[:call_to_action] if args.key?(:call_to_action) + @body = args[:body] if args.key?(:body) + @star_rating = args[:star_rating] if args.key?(:star_rating) + end + end + + # @OutputOnly A security context. + class SecurityContext + include Google::Apis::Core::Hashable + + # The security types in this context. + # Corresponds to the JSON property `securities` + # @return [Array] + attr_accessor :securities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @securities = args[:securities] if args.key?(:securities) + end + end + + # HTML content for a creative. + class HtmlContent + include Google::Apis::Core::Hashable + + # The width of the HTML snippet in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The HTML snippet that displays the ad when inserted in the web page. + # Corresponds to the JSON property `snippet` + # @return [String] + attr_accessor :snippet + + # The height of the HTML snippet in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @snippet = args[:snippet] if args.key?(:snippet) + @height = args[:height] if args.key?(:height) + end + end + + # A response for listing creatives. + class ListCreativesResponse + include Google::Apis::Core::Hashable + + # The list of creatives. + # Corresponds to the JSON property `creatives` + # @return [Array] + attr_accessor :creatives + + # A token to retrieve the next page of results. + # Pass this value in the + # ListCreativesRequest.page_token + # field in the subsequent call to `ListCreatives` method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creatives = args[:creatives] if args.key?(:creatives) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # The serving context for this restriction. + class ServingContext + include Google::Apis::Core::Hashable + + # @OutputOnly The app type the restriction applies to for mobile device. + # Corresponds to the JSON property `appType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AppContext] + attr_accessor :app_type + + # @OutputOnly A security context. + # Corresponds to the JSON property `securityType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::SecurityContext] + attr_accessor :security_type + + # @OutputOnly The type of platform the restriction applies to. + # Corresponds to the JSON property `platform` + # @return [Google::Apis::Adexchangebuyer2V2beta1::PlatformContext] + attr_accessor :platform + + # @OutputOnly The Geo criteria the restriction applies to. + # Corresponds to the JSON property `location` + # @return [Google::Apis::Adexchangebuyer2V2beta1::LocationContext] + attr_accessor :location + + # @OutputOnly The auction type the restriction applies to. + # Corresponds to the JSON property `auctionType` + # @return [Google::Apis::Adexchangebuyer2V2beta1::AuctionContext] + attr_accessor :auction_type + + # Matches all contexts. + # Corresponds to the JSON property `all` + # @return [String] + attr_accessor :all + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_type = args[:app_type] if args.key?(:app_type) + @security_type = args[:security_type] if args.key?(:security_type) + @platform = args[:platform] if args.key?(:platform) + @location = args[:location] if args.key?(:location) + @auction_type = args[:auction_type] if args.key?(:auction_type) + @all = args[:all] if args.key?(:all) + end + end + + # An image resource. You may provide a larger image than was requested, + # so long as the aspect ratio is preserved. + class Image + include Google::Apis::Core::Hashable + + # Image width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The URL of the image. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Image height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @url = args[:url] if args.key?(:url) + @height = args[:height] if args.key?(:height) + end + end + + # A specific filtering status and how many times it occurred. + class Reason + include Google::Apis::Core::Hashable + + # The filtering status code. Please refer to the + # [creative-status-codes.txt](https://storage.googleapis.com/adx-rtb- + # dictionaries/creative-status-codes.txt) + # file for different statuses. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The number of times the creative was filtered for the status. The + # count is aggregated across all publishers on the exchange. + # Corresponds to the JSON property `count` + # @return [String] + attr_accessor :count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @count = args[:count] if args.key?(:count) + end + end + + # Video content for a creative. + class VideoContent + include Google::Apis::Core::Hashable + + # The URL to fetch a video ad. + # Corresponds to the JSON property `videoUrl` + # @return [String] + attr_accessor :video_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @video_url = args[:video_url] if args.key?(:video_url) + end + end + + # An invitation for a new client user to get access to the Ad Exchange + # Buyer UI. + # All fields are required unless otherwise specified. + class ClientUserInvitation + include Google::Apis::Core::Hashable + + # The email address to which the invitation is sent. Email + # addresses should be unique among all client users under each sponsor + # buyer. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Numerical account ID of the client buyer + # that the invited user is associated with. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `clientAccountId` + # @return [String] + attr_accessor :client_account_id + + # The unique numerical ID of the invitation that is sent to the user. + # The value of this field is ignored in create operations. + # Corresponds to the JSON property `invitationId` + # @return [String] + attr_accessor :invitation_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + @invitation_id = args[:invitation_id] if args.key?(:invitation_id) + end + end + + # @OutputOnly The auction type the restriction applies to. + class AuctionContext + include Google::Apis::Core::Hashable + + # The auction types this restriction applies to. + # Corresponds to the JSON property `auctionTypes` + # @return [Array] + attr_accessor :auction_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auction_types = args[:auction_types] if args.key?(:auction_types) + end + end + + # + class ListClientUserInvitationsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientUserInvitationsRequest.pageToken + # field in the subsequent call to the + # clients.invitations.list + # method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The returned list of client users. + # Corresponds to the JSON property `invitations` + # @return [Array] + attr_accessor :invitations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @invitations = args[:invitations] if args.key?(:invitations) + end + end + + # + class ListClientUsersResponse + include Google::Apis::Core::Hashable + + # A token to retrieve the next page of results. + # Pass this value in the + # ListClientUsersRequest.pageToken + # field in the subsequent call to the + # clients.invitations.list + # method to retrieve the next + # page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The returned list of client users. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @users = args[:users] if args.key?(:users) + end + end + + # @OutputOnly The Geo criteria the restriction applies to. + class LocationContext + include Google::Apis::Core::Hashable + + # IDs representing the geo location for this context. + # Please refer to the + # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table. + # csv) + # file for different geo criteria IDs. + # Corresponds to the JSON property `geoCriteriaIds` + # @return [Array] + attr_accessor :geo_criteria_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @geo_criteria_ids = args[:geo_criteria_ids] if args.key?(:geo_criteria_ids) + end + end + + # @OutputOnly The type of platform the restriction applies to. + class PlatformContext + include Google::Apis::Core::Hashable + + # The platforms this restriction applies to. + # Corresponds to the JSON property `platforms` + # @return [Array] + attr_accessor :platforms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @platforms = args[:platforms] if args.key?(:platforms) + end + end + + # A client user is created under a client buyer and has restricted access to + # the Ad Exchange Marketplace and certain other sections + # of the Ad Exchange Buyer UI based on the role + # granted to the associated client buyer. + # The only way a new client user can be created is via accepting an + # email invitation + # (see the + # accounts.clients.invitations.create + # method). + # All fields are required unless otherwise specified. + class ClientUser + include Google::Apis::Core::Hashable + + # The status of the client user. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The unique numerical ID of the client user + # that has accepted an invitation. + # The value of this field is ignored in an update operation. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + # User's email address. The value of this field + # is ignored in an update operation. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Numerical account ID of the client buyer + # with which the user is associated; the + # buyer must be a client of the current sponsor buyer. + # The value of this field is ignored in an update operation. + # Corresponds to the JSON property `clientAccountId` + # @return [String] + attr_accessor :client_account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @user_id = args[:user_id] if args.key?(:user_id) + @email = args[:email] if args.key?(:email) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + end + end + + # The association between a creative and a deal. + class CreativeDealAssociation + include Google::Apis::Core::Hashable + + # The ID of the creative associated with the deal. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The externalDealId for the deal associated with the creative. + # Corresponds to the JSON property `dealsId` + # @return [String] + attr_accessor :deals_id + + # The account the creative belongs to. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @deals_id = args[:deals_id] if args.key?(:deals_id) + @account_id = args[:account_id] if args.key?(:account_id) + end + end + + # @OutputOnly Filtering reasons for this creative during a period of a single + # day (from midnight to midnight Pacific). + class FilteringStats + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `date` + # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] + attr_accessor :date + + # The set of filtering reasons for this date. + # Corresponds to the JSON property `reasons` + # @return [Array] + attr_accessor :reasons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date = args[:date] if args.key?(:date) + @reasons = args[:reasons] if args.key?(:reasons) + end + end + + # A creative and its classification data. + class Creative + include Google::Apis::Core::Hashable + + # @OutputOnly The top-level open auction status of this creative. + # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `openAuctionStatus` + # @return [String] + attr_accessor :open_auction_status + + # The name of the company being advertised in the creative. + # Corresponds to the JSON property `advertiserName` + # @return [String] + attr_accessor :advertiser_name + + # @OutputOnly Detected advertiser IDs, if any. + # Corresponds to the JSON property `detectedAdvertiserIds` + # @return [Array] + attr_accessor :detected_advertiser_ids + + # @OutputOnly + # The detected domains for this creative. + # Corresponds to the JSON property `detectedDomains` + # @return [Array] + attr_accessor :detected_domains + + # @OutputOnly Filtering reasons for this creative during a period of a single + # day (from midnight to midnight Pacific). + # Corresponds to the JSON property `filteringStats` + # @return [Google::Apis::Adexchangebuyer2V2beta1::FilteringStats] + attr_accessor :filtering_stats + + # All attributes for the ads that may be shown from this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `attributes` + # @return [Array] + attr_accessor :attributes + + # @OutputOnly The last update timestamp of the creative via API. + # Corresponds to the JSON property `apiUpdateTime` + # @return [String] + attr_accessor :api_update_time + + # @OutputOnly + # The detected languages for this creative. The order is arbitrary. The codes + # are 2 or 5 characters and are documented at + # https://developers.google.com/adwords/api/docs/appendix/languagecodes. + # Corresponds to the JSON property `detectedLanguages` + # @return [Array] + attr_accessor :detected_languages + + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Native content for a creative. + # Corresponds to the JSON property `native` + # @return [Google::Apis::Adexchangebuyer2V2beta1::NativeContent] + attr_accessor :native + + # @OutputOnly The granular status of this ad in specific contexts. + # A context here relates to where something ultimately serves (for example, + # a physical location, a platform, an HTTPS vs HTTP request, or the type + # of auction). + # Corresponds to the JSON property `servingRestrictions` + # @return [Array] + attr_accessor :serving_restrictions + + # Video content for a creative. + # Corresponds to the JSON property `video` + # @return [Google::Apis::Adexchangebuyer2V2beta1::VideoContent] + attr_accessor :video + + # The agency ID for this creative. + # Corresponds to the JSON property `agencyId` + # @return [String] + attr_accessor :agency_id + + # The set of destination URLs for the creative. + # Corresponds to the JSON property `clickThroughUrls` + # @return [Array] + attr_accessor :click_through_urls + + # The link to AdChoices destination page. + # Corresponds to the JSON property `adChoicesDestinationUrl` + # @return [String] + attr_accessor :ad_choices_destination_url + + # @OutputOnly Detected sensitive categories, if any. + # See the ad-sensitive-categories.txt file in the technical documentation for + # a list of IDs. You should use these IDs along with the + # excluded-sensitive-category field in the bid request to filter your bids. + # Corresponds to the JSON property `detectedSensitiveCategories` + # @return [Array] + attr_accessor :detected_sensitive_categories + + # All restricted categories for the ads that may be shown from this creative. + # Corresponds to the JSON property `restrictedCategories` + # @return [Array] + attr_accessor :restricted_categories + + # @OutputOnly Shows any corrections that were applied to this creative. + # Corresponds to the JSON property `corrections` + # @return [Array] + attr_accessor :corrections + + # @OutputOnly The version of this creative. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # All vendor IDs for the ads that may be shown from this creative. + # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt + # for possible values. + # Corresponds to the JSON property `vendorIds` + # @return [Array] + attr_accessor :vendor_ids + + # The set of URLs to be called to record an impression. + # Corresponds to the JSON property `impressionTrackingUrls` + # @return [Array] + attr_accessor :impression_tracking_urls + + # HTML content for a creative. + # Corresponds to the JSON property `html` + # @return [Google::Apis::Adexchangebuyer2V2beta1::HtmlContent] + attr_accessor :html + + # @OutputOnly The top-level deals status of this creative. + # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in + # serving_restrictions will also exist. Note + # that this may be nuanced with other contextual restrictions, in which case, + # it may be preferable to read from serving_restrictions directly. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `dealsStatus` + # @return [String] + attr_accessor :deals_status + + # @OutputOnly Detected product categories, if any. + # See the ad-product-categories.txt file in the technical documentation + # for a list of IDs. + # Corresponds to the JSON property `detectedProductCategories` + # @return [Array] + attr_accessor :detected_product_categories + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @open_auction_status = args[:open_auction_status] if args.key?(:open_auction_status) + @advertiser_name = args[:advertiser_name] if args.key?(:advertiser_name) + @detected_advertiser_ids = args[:detected_advertiser_ids] if args.key?(:detected_advertiser_ids) + @detected_domains = args[:detected_domains] if args.key?(:detected_domains) + @filtering_stats = args[:filtering_stats] if args.key?(:filtering_stats) + @attributes = args[:attributes] if args.key?(:attributes) + @api_update_time = args[:api_update_time] if args.key?(:api_update_time) + @detected_languages = args[:detected_languages] if args.key?(:detected_languages) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @account_id = args[:account_id] if args.key?(:account_id) + @native = args[:native] if args.key?(:native) + @serving_restrictions = args[:serving_restrictions] if args.key?(:serving_restrictions) + @video = args[:video] if args.key?(:video) + @agency_id = args[:agency_id] if args.key?(:agency_id) + @click_through_urls = args[:click_through_urls] if args.key?(:click_through_urls) + @ad_choices_destination_url = args[:ad_choices_destination_url] if args.key?(:ad_choices_destination_url) + @detected_sensitive_categories = args[:detected_sensitive_categories] if args.key?(:detected_sensitive_categories) + @restricted_categories = args[:restricted_categories] if args.key?(:restricted_categories) + @corrections = args[:corrections] if args.key?(:corrections) + @version = args[:version] if args.key?(:version) + @vendor_ids = args[:vendor_ids] if args.key?(:vendor_ids) + @impression_tracking_urls = args[:impression_tracking_urls] if args.key?(:impression_tracking_urls) + @html = args[:html] if args.key?(:html) + @deals_status = args[:deals_status] if args.key?(:deals_status) + @detected_product_categories = args[:detected_product_categories] if args.key?(:detected_product_categories) + end + end + + # A request for removing the association between a deal and a creative. + class RemoveDealAssociationRequest + include Google::Apis::Core::Hashable + + # The association between a creative and a deal. + # Corresponds to the JSON property `association` + # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] + attr_accessor :association + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @association = args[:association] if args.key?(:association) + end + end + + # A client resource represents a client buyer—an agency, + # a brand, or an advertiser customer of the sponsor buyer. + # Users associated with the client buyer have restricted access to + # the Ad Exchange Marketplace and certain other sections + # of the Ad Exchange Buyer UI based on the role + # granted to the client buyer. + # All fields are required unless otherwise specified. + class Client + include Google::Apis::Core::Hashable + + # The name of the entity. This field is automatically fetched based on + # the type and ID. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `entityName` + # @return [String] + attr_accessor :entity_name + + # The status of the client buyer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`. + # Corresponds to the JSON property `entityType` + # @return [String] + attr_accessor :entity_type + + # Name used to represent this client to publishers. + # You may have multiple clients that map to the same entity, + # but for each client the combination of `clientName` and entity + # must be unique. + # You can specify this field as empty. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # The role which is assigned to the client buyer. Each role implies a set of + # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`, + # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # Whether the client buyer will be visible to sellers. + # Corresponds to the JSON property `visibleToSeller` + # @return [Boolean] + attr_accessor :visible_to_seller + alias_method :visible_to_seller?, :visible_to_seller + + # Numerical identifier of the client entity. + # The entity can be an advertiser, a brand, or an agency. + # This identifier is unique among all the entities with the same type. + # A list of all known advertisers with their identifiers is available in the + # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/ + # advertisers.txt) + # file. + # A list of all known brands with their identifiers is available in the + # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt) + # file. + # A list of all known agencies with their identifiers is available in the + # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies. + # txt) + # file. + # Corresponds to the JSON property `entityId` + # @return [String] + attr_accessor :entity_id + + # The globally-unique numerical ID of the client. + # The value of this field is ignored in create and update operations. + # Corresponds to the JSON property `clientAccountId` + # @return [String] + attr_accessor :client_account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_name = args[:entity_name] if args.key?(:entity_name) + @status = args[:status] if args.key?(:status) + @entity_type = args[:entity_type] if args.key?(:entity_type) + @client_name = args[:client_name] if args.key?(:client_name) + @role = args[:role] if args.key?(:role) + @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @client_account_id = args[:client_account_id] if args.key?(:client_account_id) + end + end + + # @OutputOnly Shows any corrections that were applied to this creative. + class Correction + include Google::Apis::Core::Hashable + + # Additional details about what was corrected. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + # The type of correction that was applied to the creative. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The contexts for the correction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @type = args[:type] if args.key?(:type) + @contexts = args[:contexts] if args.key?(:contexts) + end + end + + # A response for listing creative and deal associations + class ListDealAssociationsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve the next page of results. + # Pass this value in the + # ListDealAssociationsRequest.page_token + # field in the subsequent call to 'ListDealAssociation' method to retrieve + # the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of associations. + # Corresponds to the JSON property `associations` + # @return [Array] + attr_accessor :associations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @associations = args[:associations] if args.key?(:associations) + end + end + + # A request for associating a deal and a creative. + class AddDealAssociationRequest + include Google::Apis::Core::Hashable + + # The association between a creative and a deal. + # Corresponds to the JSON property `association` + # @return [Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation] + attr_accessor :association + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @association = args[:association] if args.key?(:association) + end + end + + # A request for stopping notifications for changes to creative Status. + class StopWatchingCreativeRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # @OutputOnly The reason and details for a disapproval. + class Disapproval + include Google::Apis::Core::Hashable + + # Additional details about the reason for disapproval. + # Corresponds to the JSON property `details` + # @return [Array] + attr_accessor :details + + # The categorized reason for disapproval. + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @reason = args[:reason] if args.key?(:reason) + end + end + + # @OutputOnly A representation of the status of an ad in a + # specific context. A context here relates to where something ultimately serves + # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, + # or the type of auction). + class ServingRestriction + include Google::Apis::Core::Hashable + + # The contexts for the restriction. + # Corresponds to the JSON property `contexts` + # @return [Array] + attr_accessor :contexts + + # The status of the creative in this context (for example, it has been + # explicitly disapproved or is pending review). + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Any disapprovals bound to this restriction. + # Only present if status=DISAPPROVED. + # Can be used to filter the response of the + # creatives.list + # method. + # Corresponds to the JSON property `disapprovalReasons` + # @return [Array] + attr_accessor :disapproval_reasons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contexts = args[:contexts] if args.key?(:contexts) + @status = args[:status] if args.key?(:status) + @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # 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. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + end + end +end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb new file mode 100644 index 000000000..a7de40409 --- /dev/null +++ b/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb @@ -0,0 +1,526 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Adexchangebuyer2V2beta1 + + class WatchCreativeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListClientsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NativeContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SecurityContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HtmlContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCreativesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ServingContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reason + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClientUserInvitation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuctionContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListClientUserInvitationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListClientUsersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocationContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlatformContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClientUser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeDealAssociation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilteringStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Creative + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemoveDealAssociationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Client + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Correction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListDealAssociationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddDealAssociationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StopWatchingCreativeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Disapproval + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ServingRestriction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WatchCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :topic, as: 'topic' + end + end + + class AppContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :app_types, as: 'appTypes' + end + end + + class ListClientsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :clients, as: 'clients', class: Google::Apis::Adexchangebuyer2V2beta1::Client, decorator: Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class NativeContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :video_url, as: 'videoUrl' + property :logo, as: 'logo', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :click_link_url, as: 'clickLinkUrl' + property :price_display_text, as: 'priceDisplayText' + property :click_tracking_url, as: 'clickTrackingUrl' + property :image, as: 'image', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :advertiser_name, as: 'advertiserName' + property :store_url, as: 'storeUrl' + property :headline, as: 'headline' + property :app_icon, as: 'appIcon', class: Google::Apis::Adexchangebuyer2V2beta1::Image, decorator: Google::Apis::Adexchangebuyer2V2beta1::Image::Representation + + property :call_to_action, as: 'callToAction' + property :body, as: 'body' + property :star_rating, as: 'starRating' + end + end + + class SecurityContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :securities, as: 'securities' + end + end + + class HtmlContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' + property :snippet, as: 'snippet' + property :height, as: 'height' + end + end + + class ListCreativesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creatives, as: 'creatives', class: Google::Apis::Adexchangebuyer2V2beta1::Creative, decorator: Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ServingContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_type, as: 'appType', class: Google::Apis::Adexchangebuyer2V2beta1::AppContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AppContext::Representation + + property :security_type, as: 'securityType', class: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::SecurityContext::Representation + + property :platform, as: 'platform', class: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::PlatformContext::Representation + + property :location, as: 'location', class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::LocationContext::Representation + + property :auction_type, as: 'auctionType', class: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::AuctionContext::Representation + + property :all, as: 'all' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' + property :url, as: 'url' + property :height, as: 'height' + end + end + + class Reason + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :count, as: 'count' + end + end + + class VideoContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :video_url, as: 'videoUrl' + end + end + + class ClientUserInvitation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + property :client_account_id, as: 'clientAccountId' + property :invitation_id, as: 'invitationId' + end + end + + class AuctionContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :auction_types, as: 'auctionTypes' + end + end + + class ListClientUserInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :invitations, as: 'invitations', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + + end + end + + class ListClientUsersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :users, as: 'users', class: Google::Apis::Adexchangebuyer2V2beta1::ClientUser, decorator: Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + + end + end + + class LocationContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :geo_criteria_ids, as: 'geoCriteriaIds' + end + end + + class PlatformContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :platforms, as: 'platforms' + end + end + + class ClientUser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :user_id, as: 'userId' + property :email, as: 'email' + property :client_account_id, as: 'clientAccountId' + end + end + + class CreativeDealAssociation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creative_id, as: 'creativeId' + property :deals_id, as: 'dealsId' + property :account_id, as: 'accountId' + end + end + + class FilteringStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date, as: 'date', class: Google::Apis::Adexchangebuyer2V2beta1::Date, decorator: Google::Apis::Adexchangebuyer2V2beta1::Date::Representation + + collection :reasons, as: 'reasons', class: Google::Apis::Adexchangebuyer2V2beta1::Reason, decorator: Google::Apis::Adexchangebuyer2V2beta1::Reason::Representation + + end + end + + class Creative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :open_auction_status, as: 'openAuctionStatus' + property :advertiser_name, as: 'advertiserName' + collection :detected_advertiser_ids, as: 'detectedAdvertiserIds' + collection :detected_domains, as: 'detectedDomains' + property :filtering_stats, as: 'filteringStats', class: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats, decorator: Google::Apis::Adexchangebuyer2V2beta1::FilteringStats::Representation + + collection :attributes, as: 'attributes' + property :api_update_time, as: 'apiUpdateTime' + collection :detected_languages, as: 'detectedLanguages' + property :creative_id, as: 'creativeId' + property :account_id, as: 'accountId' + property :native, as: 'native', class: Google::Apis::Adexchangebuyer2V2beta1::NativeContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::NativeContent::Representation + + collection :serving_restrictions, as: 'servingRestrictions', class: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingRestriction::Representation + + property :video, as: 'video', class: Google::Apis::Adexchangebuyer2V2beta1::VideoContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::VideoContent::Representation + + property :agency_id, as: 'agencyId' + collection :click_through_urls, as: 'clickThroughUrls' + property :ad_choices_destination_url, as: 'adChoicesDestinationUrl' + collection :detected_sensitive_categories, as: 'detectedSensitiveCategories' + collection :restricted_categories, as: 'restrictedCategories' + collection :corrections, as: 'corrections', class: Google::Apis::Adexchangebuyer2V2beta1::Correction, decorator: Google::Apis::Adexchangebuyer2V2beta1::Correction::Representation + + property :version, as: 'version' + collection :vendor_ids, as: 'vendorIds' + collection :impression_tracking_urls, as: 'impressionTrackingUrls' + property :html, as: 'html', class: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent, decorator: Google::Apis::Adexchangebuyer2V2beta1::HtmlContent::Representation + + property :deals_status, as: 'dealsStatus' + collection :detected_product_categories, as: 'detectedProductCategories' + end + end + + class RemoveDealAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class Client + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_name, as: 'entityName' + property :status, as: 'status' + property :entity_type, as: 'entityType' + property :client_name, as: 'clientName' + property :role, as: 'role' + property :visible_to_seller, as: 'visibleToSeller' + property :entity_id, as: 'entityId' + property :client_account_id, as: 'clientAccountId' + end + end + + class Correction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :type, as: 'type' + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + end + end + + class ListDealAssociationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :associations, as: 'associations', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class AddDealAssociationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :association, as: 'association', class: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation, decorator: Google::Apis::Adexchangebuyer2V2beta1::CreativeDealAssociation::Representation + + end + end + + class StopWatchingCreativeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Disapproval + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :reason, as: 'reason' + end + end + + class ServingRestriction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :contexts, as: 'contexts', class: Google::Apis::Adexchangebuyer2V2beta1::ServingContext, decorator: Google::Apis::Adexchangebuyer2V2beta1::ServingContext::Representation + + property :status, as: 'status' + collection :disapproval_reasons, as: 'disapprovalReasons', class: Google::Apis::Adexchangebuyer2V2beta1::Disapproval, decorator: Google::Apis::Adexchangebuyer2V2beta1::Disapproval::Representation + + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + end + end +end diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/service.rb b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb new file mode 100644 index 000000000..2aa498499 --- /dev/null +++ b/generated/google/apis/adexchangebuyer2_v2beta1/service.rb @@ -0,0 +1,844 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module Adexchangebuyer2V2beta1 + # Ad Exchange Buyer API II + # + # Accesses the latest features for managing Ad Exchange accounts, Real-Time + # Bidding configurations and auction metrics, and Marketplace programmatic deals. + # + # @example + # require 'google/apis/adexchangebuyer2_v2beta1' + # + # Adexchangebuyer2 = Google::Apis::Adexchangebuyer2V2beta1 # Alias the module + # service = Adexchangebuyer2::AdExchangeBuyerIIService.new + # + # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/ + class AdExchangeBuyerIIService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://adexchangebuyer.googleapis.com/', '') + end + + # Gets a client buyer with a given client account ID. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer to retrieve. (required) + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_client(account_id, client_account_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the clients for the current sponsor buyer. + # @param [String] account_id + # Unique numerical account ID of the sponsor buyer to list the clients for. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientsResponse.nextPageToken + # returned from the previous call to the + # accounts.clients.list method. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer clients than requested. + # If unspecified, the server will pick an appropriate default. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_clients(account_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing client buyer. + # @param [String] account_id + # Unique numerical account ID for the buyer of which the client buyer + # is a customer; the sponsor buyer to update a client for. (required) + # @param [String] client_account_id + # Unique numerical account ID of the client to update. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_client(account_id, client_account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.request_object = client_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new client buyer. + # @param [String] account_id + # Unique numerical account ID for the buyer of which the client buyer + # is a customer; the sponsor buyer to create a client for. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::Client] client_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Client] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Client] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_client(account_id, client_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.request_object = client_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Client::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Client + command.params['accountId'] = account_id unless account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates and sends out an email invitation to access + # an Ad Exchange client buyer account. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer that the user + # should be associated with. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] client_user_invitation_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_client_invitation(account_id, client_account_id, client_user_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.request_object = client_user_invitation_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves an existing client user invitation. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer that the user invitation + # to be retrieved is associated with. (required) + # @param [String] invitation_id + # Numerical identifier of the user invitation to retrieve. (required) + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_client_invitation(account_id, client_account_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['invitationId'] = invitation_id unless invitation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the client users invitations for a client + # with a given account ID. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer to list invitations for. + # (required) + # You must either specify a string representation of a + # numerical account identifier or the `-` character + # to list all the invitations for all the clients + # of a given sponsor buyer. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientUserInvitationsResponse.nextPageToken + # returned from the previous call to the + # clients.invitations.list + # method. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer clients than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_client_invitations(account_id, client_account_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUserInvitationsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing client user. + # Only the user status can be changed on update. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer that the user to be retrieved + # is associated with. (required) + # @param [String] user_id + # Numerical identifier of the user to retrieve. (required) + # @param [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] client_user_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_client_user(account_id, client_account_id, user_id, client_user_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.request_object = client_user_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the known client users for a specified + # sponsor buyer account ID. + # @param [String] account_id + # Numerical account ID of the sponsor buyer of the client to list users for. + # (required) + # @param [String] client_account_id + # The account ID of the client buyer to list users for. (required) + # You must specify either a string representation of a + # numerical account identifier or the `-` character + # to list all the client users for all the clients + # of a given sponsor buyer. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListClientUsersResponse.nextPageToken + # returned from the previous call to the + # accounts.clients.users.list method. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer clients than requested. + # If unspecified, the server will pick an appropriate default. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_client_users(account_id, client_account_id, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListClientUsersResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves an existing client user. + # @param [String] account_id + # Numerical account ID of the client's sponsor buyer. (required) + # @param [String] client_account_id + # Numerical account ID of the client buyer + # that the user to be retrieved is associated with. (required) + # @param [String] user_id + # Numerical identifier of the user to retrieve. (required) + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ClientUser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_client_user(account_id, client_account_id, user_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ClientUser::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ClientUser + command.params['accountId'] = account_id unless account_id.nil? + command.params['clientAccountId'] = client_account_id unless client_account_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a creative. + # @param [String] account_id + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # @param [String] duplicate_id_mode + # Indicates if multiple creatives can share an ID or not. Default is + # NO_DUPLICATES (one ID per creative). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_account_creative(account_id, creative_object = nil, duplicate_id_mode: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.query['duplicateIdMode'] = duplicate_id_mode unless duplicate_id_mode.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Stops watching a creative. Will stop push notifications being sent to the + # topics when the creative changes status. + # @param [String] account_id + # The account of the creative to stop notifications for. + # @param [String] creative_id + # The creative ID of the creative to stop notifications for. + # Specify "-" to specify stopping account level notifications. + # @param [Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest] stop_watching_creative_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def stop_watching_creative(account_id, creative_id, stop_watching_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::StopWatchingCreativeRequest::Representation + command.request_object = stop_watching_creative_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a creative. + # @param [String] account_id + # The account the creative belongs to. + # @param [String] creative_id + # The ID of the creative to retrieve. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_creative(account_id, creative_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Watches a creative. Will result in push notifications being sent to the + # topic when the creative changes status. + # @param [String] account_id + # The account of the creative to watch. + # @param [String] creative_id + # The creative ID to watch for status changes. + # Specify "-" to watch all creatives under the above account. + # If both creative-level and account-level notifications are + # sent, only a single notification will be sent to the + # creative-level notification topic. + # @param [Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest] watch_creative_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def watch_creative(account_id, creative_id, watch_creative_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}:watch', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::WatchCreativeRequest::Representation + command.request_object = watch_creative_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a creative. + # @param [String] account_id + # The account that this creative belongs to. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [String] creative_id + # The buyer-defined creative ID of this creative. + # Can be used to filter the response of the + # creatives.list + # method. + # @param [Google::Apis::Adexchangebuyer2V2beta1::Creative] creative_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_creative(account_id, creative_id, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v2beta1/accounts/{accountId}/creatives/{creativeId}', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Creative::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Creative + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists creatives. + # @param [String] account_id + # The account to list the creatives from. + # Specify "-" to list all creatives the current user has access to. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListCreativesResponse.next_page_token + # returned from the previous call to 'ListCreatives' method. + # @param [Fixnum] page_size + # Requested page size. The server may return fewer creatives than requested + # (due to timeout constraint) even if more are available via another call. + # If unspecified, server will pick an appropriate default. + # Acceptable values are 1 to 1000, inclusive. + # @param [String] query + # An optional query string to filter creatives. If no filter is specified, + # all active creatives will be returned. + # Supported queries are: + #
    + #
  • accountId=account_id_string + #
  • creativeId=creative_id_string + #
  • dealsStatus: `approved, conditionally_approved, disapproved, + # not_checked` + #
  • openAuctionStatus: `approved, conditionally_approved, disapproved, + # not_checked` + #
  • attribute: `a numeric attribute from the list of attributes` + #
  • disapprovalReason: `a reason from DisapprovalReason + #
+ # Example: 'accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason: + # unacceptable_content) OR attribute:47' + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_creatives(account_id, page_token: nil, page_size: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListCreativesResponse + command.params['accountId'] = account_id unless account_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['query'] = query unless query.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all creative-deal associations. + # @param [String] account_id + # The account to list the associations from. + # Specify "-" to list all creatives the current user has access to. + # @param [String] creative_id + # The creative ID to list the associations from. + # Specify "-" to list all creatives under the above account. + # @param [String] page_token + # A token identifying a page of results the server should return. + # Typically, this is the value of + # ListDealAssociationsResponse.next_page_token + # returned from the previous call to 'ListDealAssociations' method. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer associations than requested. + # If unspecified, server will pick an appropriate default. + # @param [String] query + # An optional query string to filter deal associations. If no filter is + # specified, all associations will be returned. + # Supported queries are: + #
    + #
  • accountId=account_id_string + #
  • creativeId=creative_id_string + #
  • dealsId=deals_id_string + #
  • dealsStatus:`approved, conditionally_approved, disapproved, + # not_checked` + #
  • openAuctionStatus:`approved, conditionally_approved, disapproved, + # not_checked` + #
+ # Example: 'dealsId=12345 AND dealsStatus:disapproved' + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_creative_deal_associations(account_id, creative_id, page_token: nil, page_size: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations', options) + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::ListDealAssociationsResponse + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['query'] = query unless query.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Associate an existing deal with a creative. + # @param [String] account_id + # The account the creative belongs to. + # @param [String] creative_id + # The ID of the creative associated with the deal. + # @param [Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest] add_deal_association_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def add_deal_association(account_id, creative_id, add_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::AddDealAssociationRequest::Representation + command.request_object = add_deal_association_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Remove the association between a deal and a creative. + # @param [String] account_id + # The account the creative belongs to. + # @param [String] creative_id + # The ID of the creative associated with the deal. + # @param [Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest] remove_deal_association_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::Adexchangebuyer2V2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::Adexchangebuyer2V2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def remove_deal_association(account_id, creative_id, remove_deal_association_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove', options) + command.request_representation = Google::Apis::Adexchangebuyer2V2beta1::RemoveDealAssociationRequest::Representation + command.request_object = remove_deal_association_request_object + command.response_representation = Google::Apis::Adexchangebuyer2V2beta1::Empty::Representation + command.response_class = Google::Apis::Adexchangebuyer2V2beta1::Empty + command.params['accountId'] = account_id unless account_id.nil? + command.params['creativeId'] = creative_id unless creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/adexchangebuyer_v1_4.rb b/generated/google/apis/adexchangebuyer_v1_4.rb index 0b54c4237..5a89a6482 100644 --- a/generated/google/apis/adexchangebuyer_v1_4.rb +++ b/generated/google/apis/adexchangebuyer_v1_4.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/ad-exchange/buyer-rest module AdexchangebuyerV1_4 VERSION = 'V1_4' - REVISION = '20160721' + REVISION = '20170215' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer_v1_4/classes.rb b/generated/google/apis/adexchangebuyer_v1_4/classes.rb index 55d449af8..5f476ebd5 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/classes.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/classes.rb @@ -91,14 +91,15 @@ module Google class BidderLocation include Google::Apis::Core::Hashable - # The protocol that the bidder endpoint is using. By default, OpenRTB protocols - # use JSON, except PROTOCOL_OPENRTB_PROTOBUF. PROTOCOL_OPENRTB_PROTOBUF uses - # protobuf encoding over the latest OpenRTB protocol version, which is 2.3 right - # now. Allowed values: + # The protocol that the bidder endpoint is using. OpenRTB protocols with prefix + # PROTOCOL_OPENRTB_PROTOBUF use proto buffer, otherwise use JSON. Allowed + # values: # - PROTOCOL_ADX # - PROTOCOL_OPENRTB_2_2 # - PROTOCOL_OPENRTB_2_3 - # - PROTOCOL_OPENRTB_PROTOBUF + # - PROTOCOL_OPENRTB_2_4 + # - PROTOCOL_OPENRTB_PROTOBUF_2_3 + # - PROTOCOL_OPENRTB_PROTOBUF_2_4 # Corresponds to the JSON property `bidProtocol` # @return [String] attr_accessor :bid_protocol @@ -488,7 +489,8 @@ module Google # @return [Array] attr_accessor :advertiser_id - # The name of the company being advertised in the creative. + # The name of the company being advertised in the creative. The value provided + # must exist in the advertisers.txt file. # Corresponds to the JSON property `advertiserName` # @return [String] attr_accessor :advertiser_name @@ -505,7 +507,9 @@ module Google # @return [DateTime] attr_accessor :api_upload_timestamp - # All attributes for the ads that may be shown from this snippet. + # List of buyer selectable attributes for the ads that may be shown from this + # snippet. Each attribute is represented by an integer as defined in buyer- + # declarable-creative-attributes.txt. # Corresponds to the JSON property `attribute` # @return [Array] attr_accessor :attribute @@ -568,7 +572,8 @@ module Google # @return [Array] attr_accessor :languages - # If nativeAd is set, HTMLSnippet and videoURL should not be set. + # If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should + # not be set. (The videoURL inside nativeAd can be set.) # Corresponds to the JSON property `nativeAd` # @return [Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd] attr_accessor :native_ad @@ -582,19 +587,23 @@ module Google # @return [String] attr_accessor :open_auction_status - # Detected product categories, if any. Read-only. This field should not be set - # in requests. + # Detected product categories, if any. Each category is represented by an + # integer as defined in ad-product-categories.txt. Read-only. This field should + # not be set in requests. # Corresponds to the JSON property `productCategories` # @return [Array] attr_accessor :product_categories # All restricted categories for the ads that may be shown from this snippet. + # Each category is represented by an integer as defined in the ad-restricted- + # categories.txt. # Corresponds to the JSON property `restrictedCategories` # @return [Array] attr_accessor :restricted_categories - # Detected sensitive categories, if any. Read-only. This field should not be set - # in requests. + # Detected sensitive categories, if any. Each category is represented by an + # integer as defined in ad-sensitive-categories.txt. Read-only. This field + # should not be set in requests. # Corresponds to the JSON property `sensitiveCategories` # @return [Array] attr_accessor :sensitive_categories @@ -607,7 +616,8 @@ module Google # @return [Array] attr_accessor :serving_restrictions - # All vendor types for the ads that may be shown from this snippet. + # List of vendor types for the ads that may be shown from this snippet. Each + # vendor type is represented by an integer as defined in vendors.txt. # Corresponds to the JSON property `vendorType` # @return [Array] attr_accessor :vendor_type @@ -618,7 +628,8 @@ module Google # @return [Fixnum] attr_accessor :version - # The url to fetch a video ad. If set, HTMLSnippet should not be set. + # The URL to fetch a video ad. If set, HTMLSnippet and the nativeAd should not + # be set. Note, this is different from resource.native_ad.video_url above. # Corresponds to the JSON property `videoURL` # @return [String] attr_accessor :video_url @@ -771,8 +782,7 @@ module Google # @return [String] attr_accessor :filtering_count - # The filtering status code. Please refer to the creative-status-codes.txt file - # for different statuses. + # The filtering status code as defined in creative-status-codes.txt. # Corresponds to the JSON property `filteringStatus` # @return [Fixnum] attr_accessor :filtering_status @@ -789,7 +799,8 @@ module Google end end - # If nativeAd is set, HTMLSnippet and videoURL should not be set. + # If nativeAd is set, HTMLSnippet and the videoURL outside of nativeAd should + # not be set. (The videoURL inside nativeAd can be set.) class NativeAd include Google::Apis::Core::Hashable @@ -813,6 +824,11 @@ module Google # @return [String] attr_accessor :call_to_action + # The URL that the browser/SDK will load when the user clicks the ad. + # Corresponds to the JSON property `clickLinkUrl` + # @return [String] + attr_accessor :click_link_url + # The URL to use for click tracking. # Corresponds to the JSON property `clickTrackingUrl` # @return [String] @@ -853,6 +869,12 @@ module Google # @return [String] attr_accessor :store + # The URL of the XML VAST for a native ad. Note this is a separate field from + # resource.video_url. + # Corresponds to the JSON property `videoURL` + # @return [String] + attr_accessor :video_url + def initialize(**args) update!(**args) end @@ -863,6 +885,7 @@ module Google @app_icon = args[:app_icon] if args.key?(:app_icon) @body = args[:body] if args.key?(:body) @call_to_action = args[:call_to_action] if args.key?(:call_to_action) + @click_link_url = args[:click_link_url] if args.key?(:click_link_url) @click_tracking_url = args[:click_tracking_url] if args.key?(:click_tracking_url) @headline = args[:headline] if args.key?(:headline) @image = args[:image] if args.key?(:image) @@ -871,6 +894,7 @@ module Google @price = args[:price] if args.key?(:price) @star_rating = args[:star_rating] if args.key?(:star_rating) @store = args[:store] if args.key?(:store) + @video_url = args[:video_url] if args.key?(:video_url) end # The app icon, for app download ads. @@ -1018,7 +1042,8 @@ module Google attr_accessor :context_type # Only set when contextType=LOCATION. Represents the geo criterias this - # restriction applies to. + # restriction applies to. Impressions are considered to match a context if + # either the user location or publisher location matches a given geoCriteriaId. # Corresponds to the JSON property `geoCriteriaId` # @return [Array] attr_accessor :geo_criteria_id @@ -1069,6 +1094,62 @@ module Google end end + # The external deal ids associated with a creative. + class CreativeDealIds + include Google::Apis::Core::Hashable + + # A list of external deal ids and ARC approval status. + # Corresponds to the JSON property `dealStatuses` + # @return [Array] + attr_accessor :deal_statuses + + # Resource type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deal_statuses = args[:deal_statuses] if args.key?(:deal_statuses) + @kind = args[:kind] if args.key?(:kind) + end + + # + class DealStatus + include Google::Apis::Core::Hashable + + # ARC approval status. + # Corresponds to the JSON property `arcStatus` + # @return [String] + attr_accessor :arc_status + + # External deal ID. + # Corresponds to the JSON property `dealId` + # @return [String] + attr_accessor :deal_id + + # Publisher ID. + # Corresponds to the JSON property `webPropertyId` + # @return [Fixnum] + attr_accessor :web_property_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @arc_status = args[:arc_status] if args.key?(:arc_status) + @deal_id = args[:deal_id] if args.key?(:deal_id) + @web_property_id = args[:web_property_id] if args.key?(:web_property_id) + end + end + end + # The creatives feed lists the active creatives for the Ad Exchange buyer # accounts that the user has access to. Each entry in the feed corresponds to a # single creative. @@ -1107,6 +1188,14 @@ module Google class DealServingMetadata include Google::Apis::Core::Hashable + # True if alcohol ads are allowed for this deal (read-only). This field is only + # populated when querying for finalized orders using the method + # GetFinalizedOrderDeals + # Corresponds to the JSON property `alcoholAdsAllowed` + # @return [Boolean] + attr_accessor :alcohol_ads_allowed + alias_method :alcohol_ads_allowed?, :alcohol_ads_allowed + # Tracks which parties (if any) have paused a deal. The deal is considered # paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused # or the has_seller_paused bits can be set independently. @@ -1120,6 +1209,7 @@ module Google # Update properties of this object def update!(**args) + @alcohol_ads_allowed = args[:alcohol_ads_allowed] if args.key?(:alcohol_ads_allowed) @deal_pause_status = args[:deal_pause_status] if args.key?(:deal_pause_status) end end @@ -1180,6 +1270,13 @@ module Google # @return [String] attr_accessor :branding_type + # Indicates that this ExternalDealId exists under at least two different + # AdxInventoryDeals. Currently, the only case that the same ExternalDealId will + # exist is programmatic cross sell case. + # Corresponds to the JSON property `crossListedExternalDealIdType` + # @return [String] + attr_accessor :cross_listed_external_deal_id_type + # Description for the proposed terms of the deal. # Corresponds to the JSON property `description` # @return [String] @@ -1230,6 +1327,7 @@ module Google # Update properties of this object def update!(**args) @branding_type = args[:branding_type] if args.key?(:branding_type) + @cross_listed_external_deal_id_type = args[:cross_listed_external_deal_id_type] if args.key?(:cross_listed_external_deal_id_type) @description = args[:description] if args.key?(:description) @estimated_gross_spend = args[:estimated_gross_spend] if args.key?(:estimated_gross_spend) @estimated_impressions_per_day = args[:estimated_impressions_per_day] if args.key?(:estimated_impressions_per_day) @@ -1820,11 +1918,18 @@ module Google # @return [String] attr_accessor :flight_start_time_ms - # Description for the deal terms. (updatable) + # Description for the deal terms. (buyer-readonly) # Corresponds to the JSON property `inventoryDescription` # @return [String] attr_accessor :inventory_description + # Indicates whether the current deal is a RFP template. RFP template is created + # by buyer and not based on seller created products. + # Corresponds to the JSON property `isRfpTemplate` + # @return [Boolean] + attr_accessor :is_rfp_template + alias_method :is_rfp_template?, :is_rfp_template + # Identifies what kind of resource this is. Value: the fixed string " # adexchangebuyer#marketplaceDeal". # Corresponds to the JSON property `kind` @@ -1907,6 +2012,7 @@ module Google @flight_end_time_ms = args[:flight_end_time_ms] if args.key?(:flight_end_time_ms) @flight_start_time_ms = args[:flight_start_time_ms] if args.key?(:flight_start_time_ms) @inventory_description = args[:inventory_description] if args.key?(:inventory_description) + @is_rfp_template = args[:is_rfp_template] if args.key?(:is_rfp_template) @kind = args[:kind] if args.key?(:kind) @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms) @name = args[:name] if args.key?(:name) @@ -2309,6 +2415,14 @@ module Google # @return [Array] attr_accessor :languages + # Requests where the predicted viewability is below the specified decile will + # not match. E.g. if the buyer sets this value to 5, requests from slots where + # the predicted viewability is below 50% will not match. If the predicted + # viewability is unknown this field will be ignored. + # Corresponds to the JSON property `minimumViewabilityDecile` + # @return [Fixnum] + attr_accessor :minimum_viewability_decile + # Requests containing any of these mobile carrier ids will match. Values are # from mobile-carriers.csv in the downloadable files section. # Corresponds to the JSON property `mobileCarriers` @@ -2346,6 +2460,14 @@ module Google # @return [Array] attr_accessor :supported_creative_attributes + # Requests containing the specified type of user data will match. Possible + # values are HOSTED_MATCH_DATA, which means the request is cookie-targetable and + # has a match in the buyer's hosted match table, and COOKIE_OR_IDFA, which means + # the request has either a targetable cookie or an iOS IDFA. + # Corresponds to the JSON property `userIdentifierDataRequired` + # @return [Array] + attr_accessor :user_identifier_data_required + # Requests containing any of these user list ids will match. # Corresponds to the JSON property `userLists` # @return [Array] @@ -2387,12 +2509,14 @@ module Google @is_active = args[:is_active] if args.key?(:is_active) @kind = args[:kind] if args.key?(:kind) @languages = args[:languages] if args.key?(:languages) + @minimum_viewability_decile = args[:minimum_viewability_decile] if args.key?(:minimum_viewability_decile) @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers) @mobile_devices = args[:mobile_devices] if args.key?(:mobile_devices) @mobile_operating_system_versions = args[:mobile_operating_system_versions] if args.key?(:mobile_operating_system_versions) @placements = args[:placements] if args.key?(:placements) @platforms = args[:platforms] if args.key?(:platforms) @supported_creative_attributes = args[:supported_creative_attributes] if args.key?(:supported_creative_attributes) + @user_identifier_data_required = args[:user_identifier_data_required] if args.key?(:user_identifier_data_required) @user_lists = args[:user_lists] if args.key?(:user_lists) @vendor_types = args[:vendor_types] if args.key?(:vendor_types) @verticals = args[:verticals] if args.key?(:verticals) @@ -2711,6 +2835,14 @@ module Google # @return [String] attr_accessor :legacy_offer_id + # Marketplace publisher profile Id. This Id differs from the regular + # publisher_profile_id in that 1. This is a new id, the old Id will be + # deprecated in 2017. 2. This id uniquely identifies a publisher profile by + # itself. + # Corresponds to the JSON property `marketplacePublisherProfileId` + # @return [String] + attr_accessor :marketplace_publisher_profile_id + # The name for this product as set by the seller. (buyer-readonly) # Corresponds to the JSON property `name` # @return [String] @@ -2795,6 +2927,7 @@ module Google @labels = args[:labels] if args.key?(:labels) @last_update_time_ms = args[:last_update_time_ms] if args.key?(:last_update_time_ms) @legacy_offer_id = args[:legacy_offer_id] if args.key?(:legacy_offer_id) + @marketplace_publisher_profile_id = args[:marketplace_publisher_profile_id] if args.key?(:marketplace_publisher_profile_id) @name = args[:name] if args.key?(:name) @private_auction_id = args[:private_auction_id] if args.key?(:private_auction_id) @product_id = args[:product_id] if args.key?(:product_id) @@ -2840,6 +2973,11 @@ module Google # @return [Google::Apis::AdexchangebuyerV1_4::PrivateData] attr_accessor :buyer_private_data + # IDs of DBM advertisers permission to this proposal. + # Corresponds to the JSON property `dbmAdvertiserIds` + # @return [Array] + attr_accessor :dbm_advertiser_ids + # When an proposal is in an accepted state, indicates whether the buyer has # signed off. Once both sides have signed off on a deal, the proposal can be # finalized by the seller. (seller-readonly) @@ -2951,6 +3089,7 @@ module Google @buyer = args[:buyer] if args.key?(:buyer) @buyer_contacts = args[:buyer_contacts] if args.key?(:buyer_contacts) @buyer_private_data = args[:buyer_private_data] if args.key?(:buyer_private_data) + @dbm_advertiser_ids = args[:dbm_advertiser_ids] if args.key?(:dbm_advertiser_ids) @has_buyer_signed_off = args[:has_buyer_signed_off] if args.key?(:has_buyer_signed_off) @has_seller_signed_off = args[:has_seller_signed_off] if args.key?(:has_seller_signed_off) @inventory_source = args[:inventory_source] if args.key?(:inventory_source) diff --git a/generated/google/apis/adexchangebuyer_v1_4/representations.rb b/generated/google/apis/adexchangebuyer_v1_4/representations.rb index 71799c14e..a8c2644e2 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/representations.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/representations.rb @@ -178,6 +178,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CreativeDealIds + class Representation < Google::Apis::Core::JsonRepresentation; end + + class DealStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class CreativesList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -687,6 +699,7 @@ module Google property :body, as: 'body' property :call_to_action, as: 'callToAction' + property :click_link_url, as: 'clickLinkUrl' property :click_tracking_url, as: 'clickTrackingUrl' property :headline, as: 'headline' property :image, as: 'image', class: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image, decorator: Google::Apis::AdexchangebuyerV1_4::Creative::NativeAd::Image::Representation @@ -697,6 +710,7 @@ module Google property :price, as: 'price' property :star_rating, as: 'starRating' property :store, as: 'store' + property :video_url, as: 'videoURL' end class AppIcon @@ -757,6 +771,24 @@ module Google end end + class CreativeDealIds + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :deal_statuses, as: 'dealStatuses', class: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus, decorator: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus::Representation + + property :kind, as: 'kind' + end + + class DealStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :arc_status, as: 'arcStatus' + property :deal_id, as: 'dealId' + property :web_property_id, as: 'webPropertyId' + end + end + end + class CreativesList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -770,6 +802,7 @@ module Google class DealServingMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + property :alcohol_ads_allowed, as: 'alcoholAdsAllowed' property :deal_pause_status, as: 'dealPauseStatus', class: Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus, decorator: Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus::Representation end @@ -790,6 +823,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :branding_type, as: 'brandingType' + property :cross_listed_external_deal_id_type, as: 'crossListedExternalDealIdType' property :description, as: 'description' property :estimated_gross_spend, as: 'estimatedGrossSpend', class: Google::Apis::AdexchangebuyerV1_4::Price, decorator: Google::Apis::AdexchangebuyerV1_4::Price::Representation @@ -990,6 +1024,7 @@ module Google property :flight_end_time_ms, as: 'flightEndTimeMs' property :flight_start_time_ms, as: 'flightStartTimeMs' property :inventory_description, as: 'inventoryDescription' + property :is_rfp_template, as: 'isRfpTemplate' property :kind, as: 'kind' property :last_update_time_ms, as: 'lastUpdateTimeMs' property :name, as: 'name' @@ -1099,6 +1134,7 @@ module Google property :is_active, as: 'isActive' property :kind, as: 'kind' collection :languages, as: 'languages' + property :minimum_viewability_decile, as: 'minimumViewabilityDecile' collection :mobile_carriers, as: 'mobileCarriers' collection :mobile_devices, as: 'mobileDevices' collection :mobile_operating_system_versions, as: 'mobileOperatingSystemVersions' @@ -1106,6 +1142,7 @@ module Google collection :platforms, as: 'platforms' collection :supported_creative_attributes, as: 'supportedCreativeAttributes' + collection :user_identifier_data_required, as: 'userIdentifierDataRequired' collection :user_lists, as: 'userLists' collection :vendor_types, as: 'vendorTypes' collection :verticals, as: 'verticals' @@ -1202,6 +1239,7 @@ module Google property :last_update_time_ms, as: 'lastUpdateTimeMs' property :legacy_offer_id, as: 'legacyOfferId' + property :marketplace_publisher_profile_id, as: 'marketplacePublisherProfileId' property :name, as: 'name' property :private_auction_id, as: 'privateAuctionId' property :product_id, as: 'productId' @@ -1232,6 +1270,7 @@ module Google property :buyer_private_data, as: 'buyerPrivateData', class: Google::Apis::AdexchangebuyerV1_4::PrivateData, decorator: Google::Apis::AdexchangebuyerV1_4::PrivateData::Representation + collection :dbm_advertiser_ids, as: 'dbmAdvertiserIds' property :has_buyer_signed_off, as: 'hasBuyerSignedOff' property :has_seller_signed_off, as: 'hasSellerSignedOff' property :inventory_source, as: 'inventorySource' diff --git a/generated/google/apis/adexchangebuyer_v1_4/service.rb b/generated/google/apis/adexchangebuyer_v1_4/service.rb index d224bdcf9..6884c2fa6 100644 --- a/generated/google/apis/adexchangebuyer_v1_4/service.rb +++ b/generated/google/apis/adexchangebuyer_v1_4/service.rb @@ -124,6 +124,8 @@ module Google # @param [Fixnum] id # The account id # @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object + # @param [Boolean] confirm_unsafe_account_change + # Confirmation for erasing bidder and cookie matching urls. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -145,13 +147,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'accounts/{id}', options) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Account command.params['id'] = id unless id.nil? + command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -162,6 +165,8 @@ module Google # @param [Fixnum] id # The account id # @param [Google::Apis::AdexchangebuyerV1_4::Account] account_object + # @param [Boolean] confirm_unsafe_account_change + # Confirmation for erasing bidder and cookie matching urls. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -183,13 +188,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_account(id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_account(id, account_object = nil, confirm_unsafe_account_change: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'accounts/{id}', options) command.request_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.request_object = account_object command.response_representation = Google::Apis::AdexchangebuyerV1_4::Account::Representation command.response_class = Google::Apis::AdexchangebuyerV1_4::Account command.params['id'] = id unless id.nil? + command.query['confirmUnsafeAccountChange'] = confirm_unsafe_account_change unless confirm_unsafe_account_change.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -556,6 +562,44 @@ module Google execute_or_queue_command(command, &block) end + # Lists the external deal ids associated with the creative. + # @param [Fixnum] account_id + # The id for the account that will serve this creative. + # @param [String] buyer_creative_id + # The buyer-specific id for this creative. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AdexchangebuyerV1_4::CreativeDealIds] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_creative_deals(account_id, buyer_creative_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'creatives/{accountId}/{buyerCreativeId}/listDeals', options) + command.response_representation = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::Representation + command.response_class = Google::Apis::AdexchangebuyerV1_4::CreativeDealIds + command.params['accountId'] = account_id unless account_id.nil? + command.params['buyerCreativeId'] = buyer_creative_id unless buyer_creative_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Remove a deal id associated with the creative. # @param [Fixnum] account_id # The id for the account that will serve this creative. @@ -1291,7 +1335,8 @@ module Google # should then fetch the latest proposal at head revision and retry the update at # that revision. # @param [String] update_action - # The proposed action to take on the proposal. + # The proposed action to take on the proposal. This field is required and it + # must be set when updating a proposal. # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1406,7 +1451,8 @@ module Google # should then fetch the latest proposal at head revision and retry the update at # that revision. # @param [String] update_action - # The proposed action to take on the proposal. + # The proposed action to take on the proposal. This field is required and it + # must be set when updating a proposal. # @param [Google::Apis::AdexchangebuyerV1_4::Proposal] proposal_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/admin_directory_v1.rb b/generated/google/apis/admin_directory_v1.rb index bae9d01a5..17b6dfc5d 100644 --- a/generated/google/apis/admin_directory_v1.rb +++ b/generated/google/apis/admin_directory_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admin-sdk/directory/ module AdminDirectoryV1 VERSION = 'DirectoryV1' - REVISION = '20160715' + REVISION = '20170216' # View and manage customer related information AUTH_ADMIN_DIRECTORY_CUSTOMER = 'https://www.googleapis.com/auth/admin.directory.customer' diff --git a/generated/google/apis/admin_directory_v1/classes.rb b/generated/google/apis/admin_directory_v1/classes.rb index a18a0e06c..4ccf397e9 100644 --- a/generated/google/apis/admin_directory_v1/classes.rb +++ b/generated/google/apis/admin_directory_v1/classes.rb @@ -574,6 +574,32 @@ module Google end end + # JSON request template for firing actions on ChromeOs Device in Directory + # Devices API. + class ChromeOsDeviceAction + include Google::Apis::Core::Hashable + + # Action to be taken on the ChromeOs Device + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # + # Corresponds to the JSON property `deprovisionReason` + # @return [String] + attr_accessor :deprovision_reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @deprovision_reason = args[:deprovision_reason] if args.key?(:deprovision_reason) + end + end + # JSON response template for List Chrome OS Devices operation in Directory API. class ChromeOsDevices include Google::Apis::Core::Hashable @@ -1147,6 +1173,16 @@ module Google # @return [String] attr_accessor :baseband_version + # Mobile Device Bootloader version (Read-only) + # Corresponds to the JSON property `bootloaderVersion` + # @return [String] + attr_accessor :bootloader_version + + # Mobile Device Brand (Read-only) + # Corresponds to the JSON property `brand` + # @return [String] + attr_accessor :brand + # Mobile Device Build number (Read-only) # Corresponds to the JSON property `buildNumber` # @return [String] @@ -1173,11 +1209,21 @@ module Google # @return [String] attr_accessor :device_id + # DevicePasswordStatus (Read-only) + # Corresponds to the JSON property `devicePasswordStatus` + # @return [String] + attr_accessor :device_password_status + # List of owner user's email addresses (Read-only) # Corresponds to the JSON property `email` # @return [Array] attr_accessor :email + # Mobile Device Encryption Status (Read-only) + # Corresponds to the JSON property `encryptionStatus` + # @return [String] + attr_accessor :encryption_status + # ETag of the resource. # Corresponds to the JSON property `etag` # @return [String] @@ -1189,6 +1235,11 @@ module Google # @return [DateTime] attr_accessor :first_sync + # Mobile Device Hardware (Read-only) + # Corresponds to the JSON property `hardware` + # @return [String] + attr_accessor :hardware + # Mobile Device Hardware Id (Read-only) # Corresponds to the JSON property `hardwareId` # @return [String] @@ -1222,6 +1273,11 @@ module Google attr_accessor :managed_account_is_on_owner_profile alias_method :managed_account_is_on_owner_profile?, :managed_account_is_on_owner_profile + # Mobile Device manufacturer (Read-only) + # Corresponds to the JSON property `manufacturer` + # @return [String] + attr_accessor :manufacturer + # Mobile Device MEID number (Read-only) # Corresponds to the JSON property `meid` # @return [String] @@ -1252,11 +1308,26 @@ module Google # @return [Array] attr_accessor :other_accounts_info + # DMAgentPermission (Read-only) + # Corresponds to the JSON property `privilege` + # @return [String] + attr_accessor :privilege + + # Mobile Device release version version (Read-only) + # Corresponds to the JSON property `releaseVersion` + # @return [String] + attr_accessor :release_version + # Unique identifier of Mobile Device (Read-only) # Corresponds to the JSON property `resourceId` # @return [String] attr_accessor :resource_id + # Mobile Device Security patch level (Read-only) + # Corresponds to the JSON property `securityPatchLevel` + # @return [String] + attr_accessor :security_patch_level + # Mobile Device SSN or Serial Number (Read-only) # Corresponds to the JSON property `serialNumber` # @return [String] @@ -1303,27 +1374,36 @@ module Google @adb_status = args[:adb_status] if args.key?(:adb_status) @applications = args[:applications] if args.key?(:applications) @baseband_version = args[:baseband_version] if args.key?(:baseband_version) + @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version) + @brand = args[:brand] if args.key?(:brand) @build_number = args[:build_number] if args.key?(:build_number) @default_language = args[:default_language] if args.key?(:default_language) @developer_options_status = args[:developer_options_status] if args.key?(:developer_options_status) @device_compromised_status = args[:device_compromised_status] if args.key?(:device_compromised_status) @device_id = args[:device_id] if args.key?(:device_id) + @device_password_status = args[:device_password_status] if args.key?(:device_password_status) @email = args[:email] if args.key?(:email) + @encryption_status = args[:encryption_status] if args.key?(:encryption_status) @etag = args[:etag] if args.key?(:etag) @first_sync = args[:first_sync] if args.key?(:first_sync) + @hardware = args[:hardware] if args.key?(:hardware) @hardware_id = args[:hardware_id] if args.key?(:hardware_id) @imei = args[:imei] if args.key?(:imei) @kernel_version = args[:kernel_version] if args.key?(:kernel_version) @kind = args[:kind] if args.key?(:kind) @last_sync = args[:last_sync] if args.key?(:last_sync) @managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] if args.key?(:managed_account_is_on_owner_profile) + @manufacturer = args[:manufacturer] if args.key?(:manufacturer) @meid = args[:meid] if args.key?(:meid) @model = args[:model] if args.key?(:model) @name = args[:name] if args.key?(:name) @network_operator = args[:network_operator] if args.key?(:network_operator) @os = args[:os] if args.key?(:os) @other_accounts_info = args[:other_accounts_info] if args.key?(:other_accounts_info) + @privilege = args[:privilege] if args.key?(:privilege) + @release_version = args[:release_version] if args.key?(:release_version) @resource_id = args[:resource_id] if args.key?(:resource_id) + @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level) @serial_number = args[:serial_number] if args.key?(:serial_number) @status = args[:status] if args.key?(:status) @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile) @@ -2320,6 +2400,18 @@ module Google attr_accessor :is_delegated_admin alias_method :is_delegated_admin?, :is_delegated_admin + # Is 2-step verification enforced (Read-only) + # Corresponds to the JSON property `isEnforcedIn2Sv` + # @return [Boolean] + attr_accessor :is_enforced_in2_sv + alias_method :is_enforced_in2_sv?, :is_enforced_in2_sv + + # Is enrolled in 2-step verification (Read-only) + # Corresponds to the JSON property `isEnrolledIn2Sv` + # @return [Boolean] + attr_accessor :is_enrolled_in2_sv + alias_method :is_enrolled_in2_sv?, :is_enrolled_in2_sv + # Is mailbox setup (Read-only) # Corresponds to the JSON property `isMailboxSetup` # @return [Boolean] @@ -2371,6 +2463,11 @@ module Google # @return [Object] attr_accessor :phones + # + # Corresponds to the JSON property `posixAccounts` + # @return [Object] + attr_accessor :posix_accounts + # username of User # Corresponds to the JSON property `primaryEmail` # @return [String] @@ -2381,6 +2478,11 @@ module Google # @return [Object] attr_accessor :relations + # + # Corresponds to the JSON property `sshPublicKeys` + # @return [Object] + attr_accessor :ssh_public_keys + # Indicates if user is suspended # Corresponds to the JSON property `suspended` # @return [Boolean] @@ -2431,6 +2533,8 @@ module Google @ip_whitelisted = args[:ip_whitelisted] if args.key?(:ip_whitelisted) @is_admin = args[:is_admin] if args.key?(:is_admin) @is_delegated_admin = args[:is_delegated_admin] if args.key?(:is_delegated_admin) + @is_enforced_in2_sv = args[:is_enforced_in2_sv] if args.key?(:is_enforced_in2_sv) + @is_enrolled_in2_sv = args[:is_enrolled_in2_sv] if args.key?(:is_enrolled_in2_sv) @is_mailbox_setup = args[:is_mailbox_setup] if args.key?(:is_mailbox_setup) @kind = args[:kind] if args.key?(:kind) @last_login_time = args[:last_login_time] if args.key?(:last_login_time) @@ -2441,8 +2545,10 @@ module Google @organizations = args[:organizations] if args.key?(:organizations) @password = args[:password] if args.key?(:password) @phones = args[:phones] if args.key?(:phones) + @posix_accounts = args[:posix_accounts] if args.key?(:posix_accounts) @primary_email = args[:primary_email] if args.key?(:primary_email) @relations = args[:relations] if args.key?(:relations) + @ssh_public_keys = args[:ssh_public_keys] if args.key?(:ssh_public_keys) @suspended = args[:suspended] if args.key?(:suspended) @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason) @thumbnail_photo_etag = args[:thumbnail_photo_etag] if args.key?(:thumbnail_photo_etag) @@ -2939,6 +3045,69 @@ module Google end end + # JSON template for a POSIX account entry. Description of the field family: go/ + # fbs-posix. + class UserPosixAccount + include Google::Apis::Core::Hashable + + # The GECOS (user information) entry for this account. + # Corresponds to the JSON property `gecos` + # @return [String] + attr_accessor :gecos + + # The default group ID. + # Corresponds to the JSON property `gid` + # @return [Fixnum] + attr_accessor :gid + + # The path to the home directory for this account. + # Corresponds to the JSON property `homeDirectory` + # @return [String] + attr_accessor :home_directory + + # If this is user's primary account within the SystemId. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + # The path to the login shell for this account. + # Corresponds to the JSON property `shell` + # @return [String] + attr_accessor :shell + + # System identifier for which account Username or Uid apply to. + # Corresponds to the JSON property `systemId` + # @return [String] + attr_accessor :system_id + + # The user ID. + # Corresponds to the JSON property `uid` + # @return [Fixnum] + attr_accessor :uid + + # The username of the account. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gecos = args[:gecos] if args.key?(:gecos) + @gid = args[:gid] if args.key?(:gid) + @home_directory = args[:home_directory] if args.key?(:home_directory) + @primary = args[:primary] if args.key?(:primary) + @shell = args[:shell] if args.key?(:shell) + @system_id = args[:system_id] if args.key?(:system_id) + @uid = args[:uid] if args.key?(:uid) + @username = args[:username] if args.key?(:username) + end + end + # JSON template for a relation entry. class UserRelation include Google::Apis::Core::Hashable @@ -2971,6 +3140,37 @@ module Google end end + # JSON template for a POSIX account entry. + class UserSshPublicKey + include Google::Apis::Core::Hashable + + # An expiration time in microseconds since epoch. + # Corresponds to the JSON property `expirationTimeUsec` + # @return [String] + attr_accessor :expiration_time_usec + + # A SHA-256 fingerprint of the SSH public key. (Read-only) + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # An SSH public key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @key = args[:key] if args.key?(:key) + end + end + # JSON request template to undelete a user in Directory API. class UserUndelete include Google::Apis::Core::Hashable diff --git a/generated/google/apis/admin_directory_v1/representations.rb b/generated/google/apis/admin_directory_v1/representations.rb index 519e16184..3589414a7 100644 --- a/generated/google/apis/admin_directory_v1/representations.rb +++ b/generated/google/apis/admin_directory_v1/representations.rb @@ -82,6 +82,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ChromeOsDeviceAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ChromeOsDevices class Representation < Google::Apis::Core::JsonRepresentation; end @@ -340,12 +346,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UserPosixAccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UserRelation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class UserSshPublicKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UserUndelete class Representation < Google::Apis::Core::JsonRepresentation; end @@ -512,6 +530,14 @@ module Google end end + class ChromeOsDeviceAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + property :deprovision_reason, as: 'deprovisionReason' + end + end + class ChromeOsDevices # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -659,15 +685,20 @@ module Google collection :applications, as: 'applications', class: Google::Apis::AdminDirectoryV1::MobileDevice::Application, decorator: Google::Apis::AdminDirectoryV1::MobileDevice::Application::Representation property :baseband_version, as: 'basebandVersion' + property :bootloader_version, as: 'bootloaderVersion' + property :brand, as: 'brand' property :build_number, as: 'buildNumber' property :default_language, as: 'defaultLanguage' property :developer_options_status, as: 'developerOptionsStatus' property :device_compromised_status, as: 'deviceCompromisedStatus' property :device_id, as: 'deviceId' + property :device_password_status, as: 'devicePasswordStatus' collection :email, as: 'email' + property :encryption_status, as: 'encryptionStatus' property :etag, as: 'etag' property :first_sync, as: 'firstSync', type: DateTime + property :hardware, as: 'hardware' property :hardware_id, as: 'hardwareId' property :imei, as: 'imei' property :kernel_version, as: 'kernelVersion' @@ -675,13 +706,17 @@ module Google property :last_sync, as: 'lastSync', type: DateTime property :managed_account_is_on_owner_profile, as: 'managedAccountIsOnOwnerProfile' + property :manufacturer, as: 'manufacturer' property :meid, as: 'meid' property :model, as: 'model' collection :name, as: 'name' property :network_operator, as: 'networkOperator' property :os, as: 'os' collection :other_accounts_info, as: 'otherAccountsInfo' + property :privilege, as: 'privilege' + property :release_version, as: 'releaseVersion' property :resource_id, as: 'resourceId' + property :security_patch_level, as: 'securityPatchLevel' property :serial_number, as: 'serialNumber' property :status, as: 'status' property :supports_work_profile, as: 'supportsWorkProfile' @@ -948,6 +983,8 @@ module Google property :ip_whitelisted, as: 'ipWhitelisted' property :is_admin, as: 'isAdmin' property :is_delegated_admin, as: 'isDelegatedAdmin' + property :is_enforced_in2_sv, as: 'isEnforcedIn2Sv' + property :is_enrolled_in2_sv, as: 'isEnrolledIn2Sv' property :is_mailbox_setup, as: 'isMailboxSetup' property :kind, as: 'kind' property :last_login_time, as: 'lastLoginTime', type: DateTime @@ -960,8 +997,10 @@ module Google property :organizations, as: 'organizations' property :password, as: 'password' property :phones, as: 'phones' + property :posix_accounts, as: 'posixAccounts' property :primary_email, as: 'primaryEmail' property :relations, as: 'relations' + property :ssh_public_keys, as: 'sshPublicKeys' property :suspended, as: 'suspended' property :suspension_reason, as: 'suspensionReason' property :thumbnail_photo_etag, as: 'thumbnailPhotoEtag' @@ -1085,6 +1124,20 @@ module Google end end + class UserPosixAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gecos, as: 'gecos' + property :gid, as: 'gid' + property :home_directory, as: 'homeDirectory' + property :primary, as: 'primary' + property :shell, as: 'shell' + property :system_id, as: 'systemId' + property :uid, as: 'uid' + property :username, as: 'username' + end + end + class UserRelation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1094,6 +1147,15 @@ module Google end end + class UserSshPublicKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expiration_time_usec, as: 'expirationTimeUsec' + property :fingerprint, as: 'fingerprint' + property :key, as: 'key' + end + end + class UserUndelete # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/admin_directory_v1/service.rb b/generated/google/apis/admin_directory_v1/service.rb index efa2fe737..7a0ad0325 100644 --- a/generated/google/apis/admin_directory_v1/service.rb +++ b/generated/google/apis/admin_directory_v1/service.rb @@ -198,6 +198,45 @@ module Google execute_or_queue_command(command, &block) end + # Take action on Chrome OS Device + # @param [String] customer_id + # Immutable id of the Google Apps account + # @param [String] resource_id + # Immutable id of Chrome OS Device + # @param [Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction] chrome_os_device_action_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options) + command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction::Representation + command.request_object = chrome_os_device_action_object + command.params['customerId'] = customer_id unless customer_id.nil? + command.params['resourceId'] = resource_id unless resource_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieve Chrome OS Device # @param [String] customer_id # Immutable id of the Google Apps account diff --git a/generated/google/apis/admin_reports_v1.rb b/generated/google/apis/admin_reports_v1.rb index 755482e5b..e11b675e8 100644 --- a/generated/google/apis/admin_reports_v1.rb +++ b/generated/google/apis/admin_reports_v1.rb @@ -20,18 +20,18 @@ module Google module Apis # Admin Reports API # - # 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. # # @see https://developers.google.com/admin-sdk/reports/ module AdminReportsV1 VERSION = 'ReportsV1' - REVISION = '20160704' + REVISION = '20170315' - # View audit reports of Google Apps for your domain + # View audit reports for your G Suite domain AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly' - # View usage reports of Google Apps for your domain + # View usage reports for your G Suite domain AUTH_ADMIN_REPORTS_USAGE_READONLY = 'https://www.googleapis.com/auth/admin.reports.usage.readonly' end end diff --git a/generated/google/apis/admin_reports_v1/service.rb b/generated/google/apis/admin_reports_v1/service.rb index fc089c00c..b08ad21e3 100644 --- a/generated/google/apis/admin_reports_v1/service.rb +++ b/generated/google/apis/admin_reports_v1/service.rb @@ -22,8 +22,8 @@ module Google module AdminReportsV1 # Admin Reports API # - # 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. # # @example # require 'google/apis/admin_reports_v1' @@ -66,7 +66,7 @@ module Google # @param [String] customer_id # Represents the customer for which the data is to be fetched. # @param [String] end_time - # Return events which occured at or before this time. + # Return events which occurred at or before this time. # @param [String] event_name # Name of the event being queried. # @param [String] filters @@ -77,7 +77,7 @@ module Google # @param [String] page_token # Token to specify next page. # @param [String] start_time - # Return events which occured at or after this time. + # Return events which occurred at or after this time. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -133,7 +133,7 @@ module Google # @param [String] customer_id # Represents the customer for which the data is to be fetched. # @param [String] end_time - # Return events which occured at or before this time. + # Return events which occurred at or before this time. # @param [String] event_name # Name of the event being queried. # @param [String] filters @@ -144,7 +144,7 @@ module Google # @param [String] page_token # Token to specify next page. # @param [String] start_time - # Return events which occured at or after this time. + # Return events which occurred at or after this time. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/adsense_v1_4.rb b/generated/google/apis/adsense_v1_4.rb index b789dd8f0..8cbb0597b 100644 --- a/generated/google/apis/adsense_v1_4.rb +++ b/generated/google/apis/adsense_v1_4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/adsense/management/ module AdsenseV1_4 VERSION = 'V1_4' - REVISION = '20160815' + REVISION = '20170325' # View and manage your AdSense data AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense' diff --git a/generated/google/apis/adsense_v1_4/classes.rb b/generated/google/apis/adsense_v1_4/classes.rb index 6c3f286e7..6cb60a5fc 100644 --- a/generated/google/apis/adsense_v1_4/classes.rb +++ b/generated/google/apis/adsense_v1_4/classes.rb @@ -236,7 +236,7 @@ module Google # @return [Google::Apis::AdsenseV1_4::AdStyle::Colors] attr_accessor :colors - # The style of the corners in the ad. + # The style of the corners in the ad (deprecated: never populated, ignored). # Corresponds to the JSON property `corners` # @return [String] attr_accessor :corners diff --git a/generated/google/apis/adsensehost_v4_1.rb b/generated/google/apis/adsensehost_v4_1.rb index 805ed670b..a6170e946 100644 --- a/generated/google/apis/adsensehost_v4_1.rb +++ b/generated/google/apis/adsensehost_v4_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/adsense/host/ module AdsensehostV4_1 VERSION = 'V4_1' - REVISION = '20160815' + REVISION = '20170325' # View and manage your AdSense host data and associated accounts AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost' diff --git a/generated/google/apis/adsensehost_v4_1/classes.rb b/generated/google/apis/adsensehost_v4_1/classes.rb index a3205a287..118419279 100644 --- a/generated/google/apis/adsensehost_v4_1/classes.rb +++ b/generated/google/apis/adsensehost_v4_1/classes.rb @@ -209,8 +209,7 @@ module Google # @return [Google::Apis::AdsensehostV4_1::AdStyle::Colors] attr_accessor :colors - # The style of the corners in the ad. Possible values are SQUARE, - # SLIGHTLY_ROUNDED and VERY_ROUNDED. + # The style of the corners in the ad (deprecated: never populated, ignored). # Corresponds to the JSON property `corners` # @return [String] attr_accessor :corners diff --git a/generated/google/apis/analytics_v3.rb b/generated/google/apis/analytics_v3.rb index 6e77cf34b..5db379750 100644 --- a/generated/google/apis/analytics_v3.rb +++ b/generated/google/apis/analytics_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/ module AnalyticsV3 VERSION = 'V3' - REVISION = '20160805' + REVISION = '20170321' # View and manage your Google Analytics data AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics' diff --git a/generated/google/apis/analytics_v3/classes.rb b/generated/google/apis/analytics_v3/classes.rb index 4171037ad..2e98c3bd6 100644 --- a/generated/google/apis/analytics_v3/classes.rb +++ b/generated/google/apis/analytics_v3/classes.rb @@ -2413,6 +2413,11 @@ module Google attr_accessor :contains_sampled_data alias_method :contains_sampled_data?, :contains_sampled_data + # The last refreshed time in seconds for Analytics data. + # Corresponds to the JSON property `dataLastRefreshed` + # @return [String] + attr_accessor :data_last_refreshed + # # Corresponds to the JSON property `dataTable` # @return [Google::Apis::AnalyticsV3::GaData::DataTable] @@ -2498,6 +2503,7 @@ module Google def update!(**args) @column_headers = args[:column_headers] if args.key?(:column_headers) @contains_sampled_data = args[:contains_sampled_data] if args.key?(:contains_sampled_data) + @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) @data_table = args[:data_table] if args.key?(:data_table) @id = args[:id] if args.key?(:id) @items_per_page = args[:items_per_page] if args.key?(:items_per_page) @@ -3212,9 +3218,7 @@ module Google # @return [String] attr_accessor :kind - # Number of days a user remains in the audience. Use any integer from 1-540. In - # remarketing audiences for search ads, membership duration is truncated to 180 - # days. + # Number of days (in the range 1 to 540) a user remains in the audience. # Corresponds to the JSON property `membershipDurationDays` # @return [Fixnum] attr_accessor :membership_duration_days @@ -3666,8 +3670,10 @@ module Google # The currency type associated with this view (profile), defaults to USD. The # supported values are: - # ARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, INR, JPY, - # KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SEK, THB, TRY, TWD, USD, VND, ZAR + # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, + # THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, + # UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, + # VEF, LVL # Corresponds to the JSON property `currency` # @return [String] attr_accessor :currency diff --git a/generated/google/apis/analytics_v3/representations.rb b/generated/google/apis/analytics_v3/representations.rb index e7d8c9130..e3070231d 100644 --- a/generated/google/apis/analytics_v3/representations.rb +++ b/generated/google/apis/analytics_v3/representations.rb @@ -1201,6 +1201,7 @@ module Google collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::GaData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::GaData::ColumnHeader::Representation property :contains_sampled_data, as: 'containsSampledData' + property :data_last_refreshed, as: 'dataLastRefreshed' property :data_table, as: 'dataTable', class: Google::Apis::AnalyticsV3::GaData::DataTable, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Representation property :id, as: 'id' diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index 183341781..e2a9930df 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -2450,13 +2450,52 @@ module Google execute_or_queue_command(command, &block) end - # Gets remarketing audiences to which the user has access. + # Delete a remarketing audience. # @param [String] account_id - # Account ID for the remarketing audience to retrieve. + # Account ID to which the remarketing audience belongs. # @param [String] web_property_id - # Web property ID for the remarketing audience to retrieve. + # Web property ID to which the remarketing audience belongs. # @param [String] remarketing_audience_id - # The ID to retrieve the Remarketing Audience for. + # The ID of the remarketing audience to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_management_remarketing_audience(account_id, web_property_id, remarketing_audience_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}', options) + command.params['accountId'] = account_id unless account_id.nil? + command.params['webPropertyId'] = web_property_id unless web_property_id.nil? + command.params['remarketingAudienceId'] = remarketing_audience_id unless remarketing_audience_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a remarketing audience to which the user has access. + # @param [String] account_id + # The account ID of the remarketing audience to retrieve. + # @param [String] web_property_id + # The web property ID of the remarketing audience to retrieve. + # @param [String] remarketing_audience_id + # The ID of the remarketing audience to retrieve. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2491,11 +2530,11 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new remarketing audiences. + # Creates a new remarketing audience. # @param [String] account_id - # Account ID to create the remarketing audience for. + # The account ID for which to create the remarketing audience. # @param [String] web_property_id - # Web property ID to create the remarketing audience for. + # Web property ID for which to create the remarketing audience. # @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2534,9 +2573,9 @@ module Google # Lists remarketing audiences to which the user has access. # @param [String] account_id - # Account ID for the remarketing audience to retrieve. + # The account ID of the remarketing audiences to retrieve. # @param [String] web_property_id - # Web property ID for the remarketing audience to retrieve. + # The web property ID of the remarketing audiences to retrieve. # @param [Fixnum] max_results # The maximum number of remarketing audiences to include in this response. # @param [Fixnum] start_index @@ -2579,14 +2618,13 @@ module Google execute_or_queue_command(command, &block) end - # Updates an existing remarketing audiences. This method supports patch - # semantics. + # Updates an existing remarketing audience. This method supports patch semantics. # @param [String] account_id - # Account ID for the remarketing audience to update. + # The account ID of the remarketing audience to update. # @param [String] web_property_id - # Web property ID for the remarketing audience to update. + # The web property ID of the remarketing audience to update. # @param [String] remarketing_audience_id - # Remarketing audience ID of the remarketing audience to update. + # The ID of the remarketing audience to update. # @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2624,13 +2662,13 @@ module Google execute_or_queue_command(command, &block) end - # Updates an existing remarketing audiences. + # Updates an existing remarketing audience. # @param [String] account_id - # Account ID for the remarketing audience to update. + # The account ID of the remarketing audience to update. # @param [String] web_property_id - # Web property ID for the remarketing audience to update. + # The web property ID of the remarketing audience to update. # @param [String] remarketing_audience_id - # Remarketing audience ID of the remarketing audience to update. + # The ID of the remarketing audience to update. # @param [Google::Apis::AnalyticsV3::RemarketingAudience] remarketing_audience_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/analyticsreporting_v4.rb b/generated/google/apis/analyticsreporting_v4.rb index 7eede7759..5e14f0260 100644 --- a/generated/google/apis/analyticsreporting_v4.rb +++ b/generated/google/apis/analyticsreporting_v4.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/analytics/devguides/reporting/core/v4/ module AnalyticsreportingV4 VERSION = 'V4' - REVISION = '20160809' + REVISION = '20170309' # View your Google Analytics data AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly' diff --git a/generated/google/apis/analyticsreporting_v4/classes.rb b/generated/google/apis/analyticsreporting_v4/classes.rb index 058a3f847..dac221a2b 100644 --- a/generated/google/apis/analyticsreporting_v4/classes.rb +++ b/generated/google/apis/analyticsreporting_v4/classes.rb @@ -22,201 +22,11 @@ module Google module Apis module AnalyticsreportingV4 - # The headers for each of the pivot sections defined in the request. - class PivotHeader - include Google::Apis::Core::Hashable - - # The total number of groups for this pivot. - # Corresponds to the JSON property `totalPivotGroupsCount` - # @return [Fixnum] - attr_accessor :total_pivot_groups_count - - # A single pivot section header. - # Corresponds to the JSON property `pivotHeaderEntries` - # @return [Array] - attr_accessor :pivot_header_entries - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) - @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) - end - end - - # [Metrics](https://support.google.com/analytics/answer/1033861) - # are the quantitative measurements. For example, the metric `ga:users` - # indicates the total number of users for the requested time period. - class Metric - include Google::Apis::Core::Hashable - - # An alias for the metric expression is an alternate name for the - # expression. The alias can be used for filtering and sorting. This field - # is optional and is useful if the expression is not a single metric but - # a complex expression which cannot be used in filtering and sorting. - # The alias is also used in the response column header. - # Corresponds to the JSON property `alias` - # @return [String] - attr_accessor :alias - - # Specifies how the metric expression should be formatted, for example - # `INTEGER`. - # Corresponds to the JSON property `formattingType` - # @return [String] - attr_accessor :formatting_type - - # A metric expression in the request. An expression is constructed from one - # or more metrics and numbers. Accepted operators include: Plus (+), Minus - # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, - # Positive cardinal numbers (0-9), can include decimals and is limited to - # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the - # metric expression is just a single metric name like `ga:users`. - # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics - # will result in unexpected results. - # Corresponds to the JSON property `expression` - # @return [String] - attr_accessor :expression - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alias = args[:alias] if args.key?(:alias) - @formatting_type = args[:formatting_type] if args.key?(:formatting_type) - @expression = args[:expression] if args.key?(:expression) - end - end - - # Column headers. - class ColumnHeader - include Google::Apis::Core::Hashable - - # The dimension names in the response. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # The headers for the metrics. - # Corresponds to the JSON property `metricHeader` - # @return [Google::Apis::AnalyticsreportingV4::MetricHeader] - attr_accessor :metric_header - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @metric_header = args[:metric_header] if args.key?(:metric_header) - end - end - - # Dynamic segment definition for defining the segment within the request. - # A segment can select users, sessions or both. - class DynamicSegment - include Google::Apis::Core::Hashable - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `sessionSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :session_segment - - # The name of the dynamic segment. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - # Corresponds to the JSON property `userSegment` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] - attr_accessor :user_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @session_segment = args[:session_segment] if args.key?(:session_segment) - @name = args[:name] if args.key?(:name) - @user_segment = args[:user_segment] if args.key?(:user_segment) - end - end - - # The headers for the metrics. - class MetricHeader - include Google::Apis::Core::Hashable - - # Headers for the metrics in the response. - # Corresponds to the JSON property `metricHeaderEntries` - # @return [Array] - attr_accessor :metric_header_entries - - # Headers for the pivots in the response. - # Corresponds to the JSON property `pivotHeaders` - # @return [Array] - attr_accessor :pivot_headers - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) - @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) - end - end - - # The data response corresponding to the request. - class Report - include Google::Apis::Core::Hashable - - # Column headers. - # Corresponds to the JSON property `columnHeader` - # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] - attr_accessor :column_header - - # The data part of the report. - # Corresponds to the JSON property `data` - # @return [Google::Apis::AnalyticsreportingV4::ReportData] - attr_accessor :data - - # Page token to retrieve the next page of results in the list. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column_header = args[:column_header] if args.key?(:column_header) - @data = args[:data] if args.key?(:data) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # Filter Clause to be used in a segment definition, can be wither a metric or # a dimension filter. class SegmentFilterClause include Google::Apis::Core::Hashable - # Dimension filter specifies the filtering options on a dimension. - # Corresponds to the JSON property `dimensionFilter` - # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] - attr_accessor :dimension_filter - # Metric filter to be used in a segment filter clause. # Corresponds to the JSON property `metricFilter` # @return [Google::Apis::AnalyticsreportingV4::SegmentMetricFilter] @@ -228,52 +38,39 @@ module Google attr_accessor :not alias_method :not?, :not + # Dimension filter specifies the filtering options on a dimension. + # Corresponds to the JSON property `dimensionFilter` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter] + attr_accessor :dimension_filter + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) @metric_filter = args[:metric_filter] if args.key?(:metric_filter) @not = args[:not] if args.key?(:not) + @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) end end - # Dimension filter specifies the filtering options on a dimension. - class DimensionFilter + # Represents a group of metric filters. + # Set the operator value to specify how the filters are logically combined. + class MetricFilterClause include Google::Apis::Core::Hashable - # The dimension to filter on. A DimensionFilter must contain a dimension. - # Corresponds to the JSON property `dimensionName` - # @return [String] - attr_accessor :dimension_name - - # How to match the dimension to the expression. The default is REGEXP. + # The operator for combining multiple metric filters. If unspecified, it is + # treated as an `OR`. # Corresponds to the JSON property `operator` # @return [String] attr_accessor :operator - # Should the match be case sensitive? Default is false. - # Corresponds to the JSON property `caseSensitive` - # @return [Boolean] - attr_accessor :case_sensitive - alias_method :case_sensitive?, :case_sensitive - - # Strings or regular expression to match against. Only the first value of - # the list is used for comparison unless the operator is `IN_LIST`. - # If `IN_LIST` operator, then the entire list is used to filter the - # dimensions as explained in the description of the `IN_LIST` operator. - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Logical `NOT` operator. If this boolean is set to true, then the matching - # dimension values will be excluded in the report. The default is false. - # Corresponds to the JSON property `not` - # @return [Boolean] - attr_accessor :not - alias_method :not?, :not + # The repeated set of filters. They are logically combined based on the + # operator specified. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters def initialize(**args) update!(**args) @@ -281,478 +78,8 @@ module Google # Update properties of this object def update!(**args) - @dimension_name = args[:dimension_name] if args.key?(:dimension_name) @operator = args[:operator] if args.key?(:operator) - @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) - @expressions = args[:expressions] if args.key?(:expressions) - @not = args[:not] if args.key?(:not) - end - end - - # Dimension filter specifies the filtering options on a dimension. - class SegmentDimensionFilter - include Google::Apis::Core::Hashable - - # Maximum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `maxComparisonValue` - # @return [String] - attr_accessor :max_comparison_value - - # Name of the dimension for which the filter is being applied. - # Corresponds to the JSON property `dimensionName` - # @return [String] - attr_accessor :dimension_name - - # Should the match be case sensitive, ignored for `IN_LIST` operator. - # Corresponds to the JSON property `caseSensitive` - # @return [Boolean] - attr_accessor :case_sensitive - alias_method :case_sensitive?, :case_sensitive - - # The operator to use to match the dimension with the expressions. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The list of expressions, only the first element is used for all operators - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Minimum comparison values for `BETWEEN` match type. - # Corresponds to the JSON property `minComparisonValue` - # @return [String] - attr_accessor :min_comparison_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - @dimension_name = args[:dimension_name] if args.key?(:dimension_name) - @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) - @operator = args[:operator] if args.key?(:operator) - @expressions = args[:expressions] if args.key?(:expressions) - @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) - end - end - - # The main request class which specifies the Reporting API request. - class ReportRequest - include Google::Apis::Core::Hashable - - # Defines a cohort group. - # For example: - # "cohortGroup": ` - # "cohorts": [` - # "name": "cohort 1", - # "type": "FIRST_VISIT_DATE", - # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` - # `,` - # "name": "cohort 2" - # "type": "FIRST_VISIT_DATE" - # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` - # `] - # ` - # Corresponds to the JSON property `cohortGroup` - # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] - attr_accessor :cohort_group - - # The dimensions requested. - # Requests can have a total of 7 dimensions. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # The metric filter clauses. They are logically combined with the `AND` - # operator. Metric filters look at only the first date range and not the - # comparing date range. Note that filtering on metrics occurs after the - # metrics are aggregated. - # Corresponds to the JSON property `metricFilterClauses` - # @return [Array] - attr_accessor :metric_filter_clauses - - # If set to true, hides the total of all metrics for all the matching rows, - # for every date range. The default false and will return the totals. - # Corresponds to the JSON property `hideTotals` - # @return [Boolean] - attr_accessor :hide_totals - alias_method :hide_totals?, :hide_totals - - # If set to false, the response does not include rows if all the retrieved - # metrics are equal to zero. The default is false which will exclude these - # rows. - # Corresponds to the JSON property `includeEmptyRows` - # @return [Boolean] - attr_accessor :include_empty_rows - alias_method :include_empty_rows?, :include_empty_rows - - # The dimension filter clauses for filtering Dimension Values. They are - # logically combined with the `AND` operator. Note that filtering occurs - # before any dimensions are aggregated, so that the returned metrics - # represent the total for only the relevant dimensions. - # Corresponds to the JSON property `dimensionFilterClauses` - # @return [Array] - attr_accessor :dimension_filter_clauses - - # The pivot definitions. Requests can have a maximum of 2 pivots. - # Corresponds to the JSON property `pivots` - # @return [Array] - attr_accessor :pivots - - # Date ranges in the request. The request can have a maximum of 2 date - # ranges. The response will contain a set of metric values for each - # combination of the dimensions for each date range in the request. So, if - # there are two date ranges, there will be two set of metric values, one for - # the original date range and one for the second date range. - # The `reportRequest.dateRanges` field should not be specified for cohorts - # or Lifetime value requests. - # If a date range is not provided, the default date range is (startDate: - # current date - 7 days, endDate: current date - 1 day). Every - # [ReportRequest](#ReportRequest) within a `batchGet` method must - # contain the same `dateRanges` definition. - # Corresponds to the JSON property `dateRanges` - # @return [Array] - attr_accessor :date_ranges - - # Segment the data returned for the request. A segment definition helps look - # at a subset of the segment request. A request can contain up to four - # segments. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `segments` definition. Requests - # with segments must have the `ga:segment` dimension. - # Corresponds to the JSON property `segments` - # @return [Array] - attr_accessor :segments - - # The desired report - # [sample](https://support.google.com/analytics/answer/2637192) size. - # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling - # level is used. Every [ReportRequest](#ReportRequest) within a - # `batchGet` method must contain the same `samplingLevel` definition. See - # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) - # for details. - # Corresponds to the JSON property `samplingLevel` - # @return [String] - attr_accessor :sampling_level - - # The metrics requested. - # Requests must specify at least one metric. Requests can have a - # total of 10 metrics. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # Page size is for paging and specifies the maximum number of returned rows. - # Page size should be >= 0. A query returns the default of 1,000 rows. - # The Analytics Core Reporting API returns a maximum of 10,000 rows per - # request, no matter how many you ask for. It can also return fewer rows - # than requested, if there aren't as many dimension segments as you expect. - # For instance, there are fewer than 300 possible values for `ga:country`, - # so when segmenting only by country, you can't get more than 300 rows, - # even if you set `pageSize` to a higher value. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - # Sort order on output rows. To compare two rows, the elements of the - # following are applied in order until a difference is found. All date - # ranges in the output get the same row order. - # Corresponds to the JSON property `orderBys` - # @return [Array] - attr_accessor :order_bys - - # Dimension or metric filters that restrict the data returned for your - # request. To use the `filtersExpression`, supply a dimension or metric on - # which to filter, followed by the filter expression. For example, the - # following expression selects `ga:browser` dimension which starts with - # Firefox; `ga:browser=~^Firefox`. For more information on dimensions - # and metric filters, see - # [Filters reference](https://developers.google.com/analytics/devguides/ - # reporting/core/v3/reference#filters). - # Corresponds to the JSON property `filtersExpression` - # @return [String] - attr_accessor :filters_expression - - # If set to true, hides the minimum and maximum across all matching rows. - # The default is false and the value ranges are returned. - # Corresponds to the JSON property `hideValueRanges` - # @return [Boolean] - attr_accessor :hide_value_ranges - alias_method :hide_value_ranges?, :hide_value_ranges - - # The Analytics - # [view ID](https://support.google.com/analytics/answer/1009618) - # from which to retrieve data. Every [ReportRequest](#ReportRequest) - # within a `batchGet` method must contain the same `viewId`. - # Corresponds to the JSON property `viewId` - # @return [String] - attr_accessor :view_id - - # A continuation token to get the next page of the results. Adding this to - # the request will return the rows after the pageToken. The pageToken should - # be the value returned in the nextPageToken parameter in the response to - # the GetReports request. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cohort_group = args[:cohort_group] if args.key?(:cohort_group) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) - @hide_totals = args[:hide_totals] if args.key?(:hide_totals) - @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) - @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @pivots = args[:pivots] if args.key?(:pivots) - @date_ranges = args[:date_ranges] if args.key?(:date_ranges) - @segments = args[:segments] if args.key?(:segments) - @sampling_level = args[:sampling_level] if args.key?(:sampling_level) - @metrics = args[:metrics] if args.key?(:metrics) - @page_size = args[:page_size] if args.key?(:page_size) - @order_bys = args[:order_bys] if args.key?(:order_bys) - @filters_expression = args[:filters_expression] if args.key?(:filters_expression) - @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) - @view_id = args[:view_id] if args.key?(:view_id) - @page_token = args[:page_token] if args.key?(:page_token) - end - end - - # A Simple segment conditions consist of one or more dimension/metric - # conditions that can be combined. - class SimpleSegment - include Google::Apis::Core::Hashable - - # A list of segment filters groups which are combined with logical `AND` - # operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - end - end - - # SegmentDefinition defines the segment to be a set of SegmentFilters which - # are combined together with a logical `AND` operation. - class SegmentDefinition - include Google::Apis::Core::Hashable - - # A segment is defined by a set of segment filters which are combined - # together with a logical `AND` operation. - # Corresponds to the JSON property `segmentFilters` - # @return [Array] - attr_accessor :segment_filters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @segment_filters = args[:segment_filters] if args.key?(:segment_filters) - end - end - - # Metric filter to be used in a segment filter clause. - class SegmentMetricFilter - include Google::Apis::Core::Hashable - - # The metric that will be filtered on. A `metricFilter` must contain a - # metric name. - # Corresponds to the JSON property `metricName` - # @return [String] - attr_accessor :metric_name - - # Specifies is the operation to perform to compare the metric. The default - # is `EQUAL`. - # Corresponds to the JSON property `operator` - # @return [String] - attr_accessor :operator - - # The value to compare against. If the operator is `BETWEEN`, this value is - # treated as minimum comparison value. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - - # Scope for a metric defines the level at which that metric is defined. The - # specified metric scope must be equal to or greater than its primary scope - # as defined in the data model. The primary scope is defined by if the - # segment is selecting users or sessions. - # Corresponds to the JSON property `scope` - # @return [String] - attr_accessor :scope - - # Max comparison value is only used for `BETWEEN` operator. - # Corresponds to the JSON property `maxComparisonValue` - # @return [String] - attr_accessor :max_comparison_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric_name = args[:metric_name] if args.key?(:metric_name) - @operator = args[:operator] if args.key?(:operator) - @comparison_value = args[:comparison_value] if args.key?(:comparison_value) - @scope = args[:scope] if args.key?(:scope) - @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) - end - end - - # The data part of the report. - class ReportData - include Google::Apis::Core::Hashable - - # Total number of matching rows for this query. - # Corresponds to the JSON property `rowCount` - # @return [Fixnum] - attr_accessor :row_count - - # If the results are - # [sampled](https://support.google.com/analytics/answer/2637192), - # this returns the total number of - # samples present, one entry per date range. If the results are not sampled - # this field will not be defined. See - # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) - # for details. - # Corresponds to the JSON property `samplingSpaceSizes` - # @return [Array] - attr_accessor :sampling_space_sizes - - # Minimum and maximum values seen over all matching rows. These are both - # empty when `hideValueRanges` in the request is false, or when - # rowCount is zero. - # Corresponds to the JSON property `maximums` - # @return [Array] - attr_accessor :maximums - - # If the results are - # [sampled](https://support.google.com/analytics/answer/2637192), - # this returns the total number of samples read, one entry per date range. - # If the results are not sampled this field will not be defined. See - # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) - # for details. - # Corresponds to the JSON property `samplesReadCounts` - # @return [Array] - attr_accessor :samples_read_counts - - # Minimum and maximum values seen over all matching rows. These are both - # empty when `hideValueRanges` in the request is false, or when - # rowCount is zero. - # Corresponds to the JSON property `minimums` - # @return [Array] - attr_accessor :minimums - - # There's one ReportRow for every unique combination of dimensions. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # For each requested date range, for the set of all rows that match - # the query, every requested value format gets a total. The total - # for a value format is computed by first totaling the metrics - # mentioned in the value format and then evaluating the value - # format as a scalar expression. E.g., The "totals" for - # `3 / (ga:sessions + 2)` we compute - # `3 / ((sum of all relevant ga:sessions) + 2)`. - # Totals are computed before pagination. - # Corresponds to the JSON property `totals` - # @return [Array] - attr_accessor :totals - - # Indicates if response to this request is golden or not. Data is - # golden when the exact same request will not produce any new results if - # asked at a later point in time. - # Corresponds to the JSON property `isDataGolden` - # @return [Boolean] - attr_accessor :is_data_golden - alias_method :is_data_golden?, :is_data_golden - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_count = args[:row_count] if args.key?(:row_count) - @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) - @maximums = args[:maximums] if args.key?(:maximums) - @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts) - @minimums = args[:minimums] if args.key?(:minimums) - @rows = args[:rows] if args.key?(:rows) - @totals = args[:totals] if args.key?(:totals) - @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) - end - end - - # The batch request containing multiple report request. - class GetReportsRequest - include Google::Apis::Core::Hashable - - # Requests, each request will have a separate response. - # There can be a maximum of 5 requests. All requests should have the same - # `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`. - # Corresponds to the JSON property `reportRequests` - # @return [Array] - attr_accessor :report_requests - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @report_requests = args[:report_requests] if args.key?(:report_requests) - end - end - - # Specifies the sorting options. - class OrderBy - include Google::Apis::Core::Hashable - - # The sorting order for the field. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - # The order type. The default orderType is `VALUE`. - # Corresponds to the JSON property `orderType` - # @return [String] - attr_accessor :order_type - - # The field which to sort by. The default sort order is ascending. Example: - # `ga:browser`. - # Note, that you can only specify one field for sort here. For example, - # `ga:browser, ga:city` is not valid. - # Corresponds to the JSON property `fieldName` - # @return [String] - attr_accessor :field_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sort_order = args[:sort_order] if args.key?(:sort_order) - @order_type = args[:order_type] if args.key?(:order_type) - @field_name = args[:field_name] if args.key?(:field_name) + @filters = args[:filters] if args.key?(:filters) end end @@ -762,12 +89,11 @@ module Google class Cohort include Google::Apis::Core::Hashable - # Type of the cohort. The only supported type as of now is - # `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated - # as `FIRST_VISIT_DATE` type cohort. - # Corresponds to the JSON property `type` + # A unique name for the cohort. If not defined name will be auto-generated + # with values cohort_[1234...]. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :type + attr_accessor :name # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. # The start and end dates are specified in @@ -776,11 +102,12 @@ module Google # @return [Google::Apis::AnalyticsreportingV4::DateRange] attr_accessor :date_range - # A unique name for the cohort. If not defined name will be auto-generated - # with values cohort_[1234...]. - # Corresponds to the JSON property `name` + # Type of the cohort. The only supported type as of now is + # `FIRST_VISIT_DATE`. If this field is unspecified the cohort is treated + # as `FIRST_VISIT_DATE` type cohort. + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :name + attr_accessor :type def initialize(**args) update!(**args) @@ -788,9 +115,34 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @date_range = args[:date_range] if args.key?(:date_range) @name = args[:name] if args.key?(:name) + @date_range = args[:date_range] if args.key?(:date_range) + @type = args[:type] if args.key?(:type) + end + end + + # A row in the report. + class ReportRow + include Google::Apis::Core::Hashable + + # List of metrics for each requested DateRange. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # List of requested dimensions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metrics = args[:metrics] if args.key?(:metrics) + @dimensions = args[:dimensions] if args.key?(:dimensions) end end @@ -814,6 +166,79 @@ module Google end end + # The headers for the metrics. + class MetricHeader + include Google::Apis::Core::Hashable + + # Headers for the pivots in the response. + # Corresponds to the JSON property `pivotHeaders` + # @return [Array] + attr_accessor :pivot_headers + + # Headers for the metrics in the response. + # Corresponds to the JSON property `metricHeaderEntries` + # @return [Array] + attr_accessor :metric_header_entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers) + @metric_header_entries = args[:metric_header_entries] if args.key?(:metric_header_entries) + end + end + + # A group of dimension filters. Set the operator value to specify how + # the filters are logically combined. + class DimensionFilterClause + include Google::Apis::Core::Hashable + + # The operator for combining multiple dimension filters. If unspecified, it + # is treated as an `OR`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # The repeated set of filters. They are logically combined based on the + # operator specified. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operator = args[:operator] if args.key?(:operator) + @filters = args[:filters] if args.key?(:filters) + end + end + + # The main response class which holds the reports from the Reporting API + # `batchGet` call. + class GetReportsResponse + include Google::Apis::Core::Hashable + + # Responses corresponding to each of the request. + # Corresponds to the JSON property `reports` + # @return [Array] + attr_accessor :reports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reports = args[:reports] if args.key?(:reports) + end + end + # Sequence conditions consist of one or more steps, where each step is defined # by one or more dimension/metric conditions. Multiple steps can be combined # with special sequence operators. @@ -843,6 +268,264 @@ module Google end end + # Metric filter to be used in a segment filter clause. + class SegmentMetricFilter + include Google::Apis::Core::Hashable + + # The metric that will be filtered on. A `metricFilter` must contain a + # metric name. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # Scope for a metric defines the level at which that metric is defined. The + # specified metric scope must be equal to or greater than its primary scope + # as defined in the data model. The primary scope is defined by if the + # segment is selecting users or sessions. + # Corresponds to the JSON property `scope` + # @return [String] + attr_accessor :scope + + # Max comparison value is only used for `BETWEEN` operator. + # Corresponds to the JSON property `maxComparisonValue` + # @return [String] + attr_accessor :max_comparison_value + + # The value to compare against. If the operator is `BETWEEN`, this value is + # treated as minimum comparison value. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value + + # Specifies is the operation to perform to compare the metric. The default + # is `EQUAL`. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_name = args[:metric_name] if args.key?(:metric_name) + @scope = args[:scope] if args.key?(:scope) + @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) + @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @operator = args[:operator] if args.key?(:operator) + end + end + + # Used to return a list of metrics for a single DateRange / dimension + # combination + class DateRangeValues + include Google::Apis::Core::Hashable + + # Each value corresponds to each Metric in the request. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + # The values of each pivot region. + # Corresponds to the JSON property `pivotValueRegions` + # @return [Array] + attr_accessor :pivot_value_regions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + @pivot_value_regions = args[:pivot_value_regions] if args.key?(:pivot_value_regions) + end + end + + # Defines a cohort group. + # For example: + # "cohortGroup": ` + # "cohorts": [` + # "name": "cohort 1", + # "type": "FIRST_VISIT_DATE", + # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` + # `,` + # "name": "cohort 2" + # "type": "FIRST_VISIT_DATE" + # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` + # `] + # ` + class CohortGroup + include Google::Apis::Core::Hashable + + # The definition for the cohort. + # Corresponds to the JSON property `cohorts` + # @return [Array] + attr_accessor :cohorts + + # Enable Life Time Value (LTV). LTV measures lifetime value for users + # acquired through different channels. + # Please see: + # [Cohort Analysis](https://support.google.com/analytics/answer/6074676) and + # [Lifetime Value](https://support.google.com/analytics/answer/6182550) + # If the value of lifetimeValue is false: + # - The metric values are similar to the values in the web interface cohort + # report. + # - The cohort definition date ranges must be aligned to the calendar week + # and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in + # the cohort definition should be a Sunday and the `endDate` should be the + # following Saturday, and for `ga:cohortNthMonth`, the `startDate` + # should be the 1st of the month and `endDate` should be the last day + # of the month. + # When the lifetimeValue is true: + # - The metric values will correspond to the values in the web interface + # LifeTime value report. + # - The Lifetime Value report shows you how user value (Revenue) and + # engagement (Appviews, Goal Completions, Sessions, and Session Duration) + # grow during the 90 days after a user is acquired. + # - The metrics are calculated as a cumulative average per user per the time + # increment. + # - The cohort definition date ranges need not be aligned to the calendar + # week and month boundaries. + # - The `viewId` must be an + # [app view ID](https://support.google.com/analytics/answer/2649553# + # WebVersusAppViews) + # Corresponds to the JSON property `lifetimeValue` + # @return [Boolean] + attr_accessor :lifetime_value + alias_method :lifetime_value?, :lifetime_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cohorts = args[:cohorts] if args.key?(:cohorts) + @lifetime_value = args[:lifetime_value] if args.key?(:lifetime_value) + end + end + + # The batch request containing multiple report request. + class GetReportsRequest + include Google::Apis::Core::Hashable + + # Requests, each request will have a separate response. + # There can be a maximum of 5 requests. All requests should have the same + # `dateRanges`, `viewId`, `segments`, `samplingLevel`, and `cohortGroup`. + # Corresponds to the JSON property `reportRequests` + # @return [Array] + attr_accessor :report_requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_requests = args[:report_requests] if args.key?(:report_requests) + end + end + + # The Pivot describes the pivot section in the request. + # The Pivot helps rearrange the information in the table for certain reports + # by pivoting your data on a second dimension. + class Pivot + include Google::Apis::Core::Hashable + + # Specifies the maximum number of groups to return. + # The default value is 10, also the maximum value is 1,000. + # Corresponds to the JSON property `maxGroupCount` + # @return [Fixnum] + attr_accessor :max_group_count + + # If k metrics were requested, then the response will contain some + # data-dependent multiple of k columns in the report. E.g., if you pivoted + # on the dimension `ga:browser` then you'd get k columns for "Firefox", k + # columns for "IE", k columns for "Chrome", etc. The ordering of the groups + # of columns is determined by descending order of "total" for the first of + # the k values. Ties are broken by lexicographic ordering of the first + # pivot dimension, then lexicographic ordering of the second pivot + # dimension, and so on. E.g., if the totals for the first value for + # Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns + # would be Chrome, Firefox, IE. + # The following let you choose which of the groups of k columns are + # included in the response. + # Corresponds to the JSON property `startGroup` + # @return [Fixnum] + attr_accessor :start_group + + # The pivot metrics. Pivot metrics are part of the + # restriction on total number of metrics allowed in the request. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # A list of dimensions to show as pivot columns. A Pivot can have a maximum + # of 4 dimensions. Pivot dimensions are part of the restriction on the + # total number of dimensions allowed in the request. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # DimensionFilterClauses are logically combined with an `AND` operator: only + # data that is included by all these DimensionFilterClauses contributes to + # the values in this pivot region. Dimension filters can be used to restrict + # the columns shown in the pivot region. For example if you have + # `ga:browser` as the requested dimension in the pivot region, and you + # specify key filters to restrict `ga:browser` to only "IE" or "Firefox", + # then only those two browsers would show up as columns. + # Corresponds to the JSON property `dimensionFilterClauses` + # @return [Array] + attr_accessor :dimension_filter_clauses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_group_count = args[:max_group_count] if args.key?(:max_group_count) + @start_group = args[:start_group] if args.key?(:start_group) + @metrics = args[:metrics] if args.key?(:metrics) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) + end + end + + # The headers for the each of the metric column corresponding to the metrics + # requested in the pivots section of the response. + class PivotHeaderEntry + include Google::Apis::Core::Hashable + + # The name of the dimensions in the pivot response. + # Corresponds to the JSON property `dimensionNames` + # @return [Array] + attr_accessor :dimension_names + + # Header for the metrics. + # Corresponds to the JSON property `metric` + # @return [Google::Apis::AnalyticsreportingV4::MetricHeaderEntry] + attr_accessor :metric + + # The values for the dimensions in the pivot. + # Corresponds to the JSON property `dimensionValues` + # @return [Array] + attr_accessor :dimension_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_names = args[:dimension_names] if args.key?(:dimension_names) + @metric = args[:metric] if args.key?(:metric) + @dimension_values = args[:dimension_values] if args.key?(:dimension_values) + end + end + # SegmentFilter defines the segment to be either a simple or a sequence # segment. A simple segment condition contains dimension and metric conditions # to select the sessions or users. A sequence segment condition can be used to @@ -898,25 +581,16 @@ module Google end end - # The headers for the each of the metric column corresponding to the metrics - # requested in the pivots section of the response. - class PivotHeaderEntry + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + class SegmentDefinition include Google::Apis::Core::Hashable - # The name of the dimensions in the pivot response. - # Corresponds to the JSON property `dimensionNames` - # @return [Array] - attr_accessor :dimension_names - - # The values for the dimensions in the pivot. - # Corresponds to the JSON property `dimensionValues` - # @return [Array] - attr_accessor :dimension_values - - # Header for the metrics. - # Corresponds to the JSON property `metric` - # @return [Google::Apis::AnalyticsreportingV4::MetricHeaderEntry] - attr_accessor :metric + # A segment is defined by a set of segment filters which are combined + # together with a logical `AND` operation. + # Corresponds to the JSON property `segmentFilters` + # @return [Array] + attr_accessor :segment_filters def initialize(**args) update!(**args) @@ -924,147 +598,162 @@ module Google # Update properties of this object def update!(**args) - @dimension_names = args[:dimension_names] if args.key?(:dimension_names) - @dimension_values = args[:dimension_values] if args.key?(:dimension_values) - @metric = args[:metric] if args.key?(:metric) + @segment_filters = args[:segment_filters] if args.key?(:segment_filters) end end - # A group of dimension filters. Set the operator value to specify how - # the filters are logically combined. - class DimensionFilterClause + # Header for the metrics. + class MetricHeaderEntry include Google::Apis::Core::Hashable - # The operator for combining multiple dimension filters. If unspecified, it - # is treated as an `OR`. + # The type of the metric, for example `INTEGER`. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The name of the header. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @name = args[:name] if args.key?(:name) + end + end + + # The data part of the report. + class ReportData + include Google::Apis::Core::Hashable + + # Minimum and maximum values seen over all matching rows. These are both + # empty when `hideValueRanges` in the request is false, or when + # rowCount is zero. + # Corresponds to the JSON property `minimums` + # @return [Array] + attr_accessor :minimums + + # If the results are + # [sampled](https://support.google.com/analytics/answer/2637192), + # this returns the total number of + # samples present, one entry per date range. If the results are not sampled + # this field will not be defined. See + # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + # for details. + # Corresponds to the JSON property `samplingSpaceSizes` + # @return [Array] + attr_accessor :sampling_space_sizes + + # For each requested date range, for the set of all rows that match + # the query, every requested value format gets a total. The total + # for a value format is computed by first totaling the metrics + # mentioned in the value format and then evaluating the value + # format as a scalar expression. E.g., The "totals" for + # `3 / (ga:sessions + 2)` we compute + # `3 / ((sum of all relevant ga:sessions) + 2)`. + # Totals are computed before pagination. + # Corresponds to the JSON property `totals` + # @return [Array] + attr_accessor :totals + + # If the results are + # [sampled](https://support.google.com/analytics/answer/2637192), + # this returns the total number of samples read, one entry per date range. + # If the results are not sampled this field will not be defined. See + # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + # for details. + # Corresponds to the JSON property `samplesReadCounts` + # @return [Array] + attr_accessor :samples_read_counts + + # Indicates if response to this request is golden or not. Data is + # golden when the exact same request will not produce any new results if + # asked at a later point in time. + # Corresponds to the JSON property `isDataGolden` + # @return [Boolean] + attr_accessor :is_data_golden + alias_method :is_data_golden?, :is_data_golden + + # There's one ReportRow for every unique combination of dimensions. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # Total number of matching rows for this query. + # Corresponds to the JSON property `rowCount` + # @return [Fixnum] + attr_accessor :row_count + + # The last time the data in the report was refreshed. All the hits received + # before this timestamp are included in the calculation of the report. + # Corresponds to the JSON property `dataLastRefreshed` + # @return [String] + attr_accessor :data_last_refreshed + + # Minimum and maximum values seen over all matching rows. These are both + # empty when `hideValueRanges` in the request is false, or when + # rowCount is zero. + # Corresponds to the JSON property `maximums` + # @return [Array] + attr_accessor :maximums + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @minimums = args[:minimums] if args.key?(:minimums) + @sampling_space_sizes = args[:sampling_space_sizes] if args.key?(:sampling_space_sizes) + @totals = args[:totals] if args.key?(:totals) + @samples_read_counts = args[:samples_read_counts] if args.key?(:samples_read_counts) + @is_data_golden = args[:is_data_golden] if args.key?(:is_data_golden) + @rows = args[:rows] if args.key?(:rows) + @row_count = args[:row_count] if args.key?(:row_count) + @data_last_refreshed = args[:data_last_refreshed] if args.key?(:data_last_refreshed) + @maximums = args[:maximums] if args.key?(:maximums) + end + end + + # Dimension filter specifies the filtering options on a dimension. + class DimensionFilter + include Google::Apis::Core::Hashable + + # Should the match be case sensitive? Default is false. + # Corresponds to the JSON property `caseSensitive` + # @return [Boolean] + attr_accessor :case_sensitive + alias_method :case_sensitive?, :case_sensitive + + # The dimension to filter on. A DimensionFilter must contain a dimension. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # How to match the dimension to the expression. The default is REGEXP. # Corresponds to the JSON property `operator` # @return [String] attr_accessor :operator - # The repeated set of filters. They are logically combined based on the - # operator specified. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters + # Logical `NOT` operator. If this boolean is set to true, then the matching + # dimension values will be excluded in the report. The default is false. + # Corresponds to the JSON property `not` + # @return [Boolean] + attr_accessor :not + alias_method :not?, :not - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operator = args[:operator] if args.key?(:operator) - @filters = args[:filters] if args.key?(:filters) - end - end - - # A segment sequence definition. - class SegmentSequenceStep - include Google::Apis::Core::Hashable - - # Specifies if the step immediately precedes or can be any time before the - # next step. - # Corresponds to the JSON property `matchType` - # @return [String] - attr_accessor :match_type - - # A sequence is specified with a list of Or grouped filters which are - # combined with `AND` operator. - # Corresponds to the JSON property `orFiltersForSegment` - # @return [Array] - attr_accessor :or_filters_for_segment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @match_type = args[:match_type] if args.key?(:match_type) - @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) - end - end - - # The Pivot describes the pivot section in the request. - # The Pivot helps rearrange the information in the table for certain reports - # by pivoting your data on a second dimension. - class Pivot - include Google::Apis::Core::Hashable - - # A list of dimensions to show as pivot columns. A Pivot can have a maximum - # of 4 dimensions. Pivot dimensions are part of the restriction on the - # total number of dimensions allowed in the request. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # The pivot metrics. Pivot metrics are part of the - # restriction on total number of metrics allowed in the request. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # Specifies the maximum number of groups to return. - # The default value is 10, also the maximum value is 1,000. - # Corresponds to the JSON property `maxGroupCount` - # @return [Fixnum] - attr_accessor :max_group_count - - # DimensionFilterClauses are logically combined with an `AND` operator: only - # data that is included by all these DimensionFilterClauses contributes to - # the values in this pivot region. Dimension filters can be used to restrict - # the columns shown in the pivot region. For example if you have - # `ga:browser` as the requested dimension in the pivot region, and you - # specify key filters to restrict `ga:browser` to only "IE" or "Firefox", - # then only those two browsers would show up as columns. - # Corresponds to the JSON property `dimensionFilterClauses` - # @return [Array] - attr_accessor :dimension_filter_clauses - - # If k metrics were requested, then the response will contain some - # data-dependent multiple of k columns in the report. E.g., if you pivoted - # on the dimension `ga:browser` then you'd get k columns for "Firefox", k - # columns for "IE", k columns for "Chrome", etc. The ordering of the groups - # of columns is determined by descending order of "total" for the first of - # the k values. Ties are broken by lexicographic ordering of the first - # pivot dimension, then lexicographic ordering of the second pivot - # dimension, and so on. E.g., if the totals for the first value for - # Firefox, IE, and Chrome were 8, 2, 8, respectively, the order of columns - # would be Chrome, Firefox, IE. - # The following let you choose which of the groups of k columns are - # included in the response. - # Corresponds to the JSON property `startGroup` - # @return [Fixnum] - attr_accessor :start_group - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @metrics = args[:metrics] if args.key?(:metrics) - @max_group_count = args[:max_group_count] if args.key?(:max_group_count) - @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) - @start_group = args[:start_group] if args.key?(:start_group) - end - end - - # Used to return a list of metrics for a single DateRange / dimension - # combination - class DateRangeValues - include Google::Apis::Core::Hashable - - # Each value corresponds to each Metric in the request. - # Corresponds to the JSON property `values` + # Strings or regular expression to match against. Only the first value of + # the list is used for comparison unless the operator is `IN_LIST`. + # If `IN_LIST` operator, then the entire list is used to filter the + # dimensions as explained in the description of the `IN_LIST` operator. + # Corresponds to the JSON property `expressions` # @return [Array] - attr_accessor :values - - # The values of each pivot region. - # Corresponds to the JSON property `pivotValueRegions` - # @return [Array] - attr_accessor :pivot_value_regions + attr_accessor :expressions def initialize(**args) update!(**args) @@ -1072,27 +761,48 @@ module Google # Update properties of this object def update!(**args) - @values = args[:values] if args.key?(:values) - @pivot_value_regions = args[:pivot_value_regions] if args.key?(:pivot_value_regions) + @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @operator = args[:operator] if args.key?(:operator) + @not = args[:not] if args.key?(:not) + @expressions = args[:expressions] if args.key?(:expressions) end end - # Represents a group of metric filters. - # Set the operator value to specify how the filters are logically combined. - class MetricFilterClause + # Dimension filter specifies the filtering options on a dimension. + class SegmentDimensionFilter include Google::Apis::Core::Hashable - # The operator for combining multiple metric filters. If unspecified, it is - # treated as an `OR`. + # Minimum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `minComparisonValue` + # @return [String] + attr_accessor :min_comparison_value + + # Maximum comparison values for `BETWEEN` match type. + # Corresponds to the JSON property `maxComparisonValue` + # @return [String] + attr_accessor :max_comparison_value + + # Name of the dimension for which the filter is being applied. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The operator to use to match the dimension with the expressions. # Corresponds to the JSON property `operator` # @return [String] attr_accessor :operator - # The repeated set of filters. They are logically combined based on the - # operator specified. - # Corresponds to the JSON property `filters` - # @return [Array] - attr_accessor :filters + # The list of expressions, only the first element is used for all operators + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Should the match be case sensitive, ignored for `IN_LIST` operator. + # Corresponds to the JSON property `caseSensitive` + # @return [Boolean] + attr_accessor :case_sensitive + alias_method :case_sensitive?, :case_sensitive def initialize(**args) update!(**args) @@ -1100,8 +810,46 @@ module Google # Update properties of this object def update!(**args) + @min_comparison_value = args[:min_comparison_value] if args.key?(:min_comparison_value) + @max_comparison_value = args[:max_comparison_value] if args.key?(:max_comparison_value) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) @operator = args[:operator] if args.key?(:operator) - @filters = args[:filters] if args.key?(:filters) + @expressions = args[:expressions] if args.key?(:expressions) + @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive) + end + end + + # Specifies the sorting options. + class OrderBy + include Google::Apis::Core::Hashable + + # The field which to sort by. The default sort order is ascending. Example: + # `ga:browser`. + # Note, that you can only specify one field for sort here. For example, + # `ga:browser, ga:city` is not valid. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # The order type. The default orderType is `VALUE`. + # Corresponds to the JSON property `orderType` + # @return [String] + attr_accessor :order_type + + # The sorting order for the field. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field_name = args[:field_name] if args.key?(:field_name) + @order_type = args[:order_type] if args.key?(:order_type) + @sort_order = args[:sort_order] if args.key?(:sort_order) end end @@ -1133,6 +881,153 @@ module Google end end + # A segment sequence definition. + class SegmentSequenceStep + include Google::Apis::Core::Hashable + + # A sequence is specified with a list of Or grouped filters which are + # combined with `AND` operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + # Specifies if the step immediately precedes or can be any time before the + # next step. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + @match_type = args[:match_type] if args.key?(:match_type) + end + end + + # [Metrics](https://support.google.com/analytics/answer/1033861) + # are the quantitative measurements. For example, the metric `ga:users` + # indicates the total number of users for the requested time period. + class Metric + include Google::Apis::Core::Hashable + + # A metric expression in the request. An expression is constructed from one + # or more metrics and numbers. Accepted operators include: Plus (+), Minus + # (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, + # Positive cardinal numbers (0-9), can include decimals and is limited to + # 1024 characters. Example `ga:totalRefunds/ga:users`, in most cases the + # metric expression is just a single metric name like `ga:users`. + # Adding mixed `MetricType` (E.g., `CURRENCY` + `PERCENTAGE`) metrics + # will result in unexpected results. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + # Specifies how the metric expression should be formatted, for example + # `INTEGER`. + # Corresponds to the JSON property `formattingType` + # @return [String] + attr_accessor :formatting_type + + # An alias for the metric expression is an alternate name for the + # expression. The alias can be used for filtering and sorting. This field + # is optional and is useful if the expression is not a single metric but + # a complex expression which cannot be used in filtering and sorting. + # The alias is also used in the response column header. + # Corresponds to the JSON property `alias` + # @return [String] + attr_accessor :alias + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expression = args[:expression] if args.key?(:expression) + @formatting_type = args[:formatting_type] if args.key?(:formatting_type) + @alias = args[:alias] if args.key?(:alias) + end + end + + # The metric values in the pivot region. + class PivotValueRegion + include Google::Apis::Core::Hashable + + # The values of the metrics in each of the pivot regions. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + + # The data response corresponding to the request. + class Report + include Google::Apis::Core::Hashable + + # The data part of the report. + # Corresponds to the JSON property `data` + # @return [Google::Apis::AnalyticsreportingV4::ReportData] + attr_accessor :data + + # Page token to retrieve the next page of results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Column headers. + # Corresponds to the JSON property `columnHeader` + # @return [Google::Apis::AnalyticsreportingV4::ColumnHeader] + attr_accessor :column_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @column_header = args[:column_header] if args.key?(:column_header) + end + end + + # The headers for each of the pivot sections defined in the request. + class PivotHeader + include Google::Apis::Core::Hashable + + # A single pivot section header. + # Corresponds to the JSON property `pivotHeaderEntries` + # @return [Array] + attr_accessor :pivot_header_entries + + # The total number of groups for this pivot. + # Corresponds to the JSON property `totalPivotGroupsCount` + # @return [Fixnum] + attr_accessor :total_pivot_groups_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pivot_header_entries = args[:pivot_header_entries] if args.key?(:pivot_header_entries) + @total_pivot_groups_count = args[:total_pivot_groups_count] if args.key?(:total_pivot_groups_count) + end + end + # A contiguous set of days: startDate, startDate + 1 day, ..., endDate. # The start and end dates are specified in # [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) date format `YYYY-MM-DD`. @@ -1160,140 +1055,6 @@ module Google end end - # A row in the report. - class ReportRow - include Google::Apis::Core::Hashable - - # List of requested dimensions. - # Corresponds to the JSON property `dimensions` - # @return [Array] - attr_accessor :dimensions - - # List of metrics for each requested DateRange. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dimensions = args[:dimensions] if args.key?(:dimensions) - @metrics = args[:metrics] if args.key?(:metrics) - end - end - - # Defines a cohort group. - # For example: - # "cohortGroup": ` - # "cohorts": [` - # "name": "cohort 1", - # "type": "FIRST_VISIT_DATE", - # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` - # `,` - # "name": "cohort 2" - # "type": "FIRST_VISIT_DATE" - # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` - # `] - # ` - class CohortGroup - include Google::Apis::Core::Hashable - - # Enable Life Time Value (LTV). LTV measures lifetime value for users - # acquired through different channels. - # Please see: - # [Cohort Analysis](https://support.google.com/analytics/answer/6074676) and - # [Lifetime Value](https://support.google.com/analytics/answer/6182550) - # If the value of lifetimeValue is false: - # - The metric values are similar to the values in the web interface cohort - # report. - # - The cohort definition date ranges must be aligned to the calendar week - # and month. i.e. while requesting `ga:cohortNthWeek` the `startDate` in - # the cohort definition should be a Sunday and the `endDate` should be the - # following Saturday, and for `ga:cohortNthMonth`, the `startDate` - # should be the 1st of the month and `endDate` should be the last day - # of the month. - # When the lifetimeValue is true: - # - The metric values will correspond to the values in the web interface - # LifeTime value report. - # - The Lifetime Value report shows you how user value (Revenue) and - # engagement (Appviews, Goal Completions, Sessions, and Session Duration) - # grow during the 90 days after a user is acquired. - # - The metrics are calculated as a cumulative average per user per the time - # increment. - # - The cohort definition date ranges need not be aligned to the calendar - # week and month boundaries. - # - The `viewId` must be an - # [app view ID](https://support.google.com/analytics/answer/2649553# - # WebVersusAppViews) - # Corresponds to the JSON property `lifetimeValue` - # @return [Boolean] - attr_accessor :lifetime_value - alias_method :lifetime_value?, :lifetime_value - - # The definition for the cohort. - # Corresponds to the JSON property `cohorts` - # @return [Array] - attr_accessor :cohorts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @lifetime_value = args[:lifetime_value] if args.key?(:lifetime_value) - @cohorts = args[:cohorts] if args.key?(:cohorts) - end - end - - # The main response class which holds the reports from the Reporting API - # `batchGet` call. - class GetReportsResponse - include Google::Apis::Core::Hashable - - # Responses corresponding to each of the request. - # Corresponds to the JSON property `reports` - # @return [Array] - attr_accessor :reports - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reports = args[:reports] if args.key?(:reports) - end - end - - # Header for the metrics. - class MetricHeaderEntry - include Google::Apis::Core::Hashable - - # The type of the metric, for example `INTEGER`. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The name of the header. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @name = args[:name] if args.key?(:name) - end - end - # MetricFilter specifies the filter on a metric. class MetricFilter include Google::Apis::Core::Hashable @@ -1305,6 +1066,11 @@ module Google # @return [String] attr_accessor :metric_name + # The value to compare against. + # Corresponds to the JSON property `comparisonValue` + # @return [String] + attr_accessor :comparison_value + # Is the metric `EQUAL`, `LESS_THAN` or `GREATER_THAN` the # comparisonValue, the default is `EQUAL`. If the operator is # `IS_MISSING`, checks if the metric is missing and would ignore the @@ -1313,11 +1079,6 @@ module Google # @return [String] attr_accessor :operator - # The value to compare against. - # Corresponds to the JSON property `comparisonValue` - # @return [String] - attr_accessor :comparison_value - # Logical `NOT` operator. If this boolean is set to true, then the matching # metric values will be excluded in the report. The default is false. # Corresponds to the JSON property `not` @@ -1332,12 +1093,197 @@ module Google # Update properties of this object def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) - @operator = args[:operator] if args.key?(:operator) @comparison_value = args[:comparison_value] if args.key?(:comparison_value) + @operator = args[:operator] if args.key?(:operator) @not = args[:not] if args.key?(:not) end end + # The main request class which specifies the Reporting API request. + class ReportRequest + include Google::Apis::Core::Hashable + + # The metric filter clauses. They are logically combined with the `AND` + # operator. Metric filters look at only the first date range and not the + # comparing date range. Note that filtering on metrics occurs after the + # metrics are aggregated. + # Corresponds to the JSON property `metricFilterClauses` + # @return [Array] + attr_accessor :metric_filter_clauses + + # Page size is for paging and specifies the maximum number of returned rows. + # Page size should be >= 0. A query returns the default of 1,000 rows. + # The Analytics Core Reporting API returns a maximum of 10,000 rows per + # request, no matter how many you ask for. It can also return fewer rows + # than requested, if there aren't as many dimension segments as you expect. + # For instance, there are fewer than 300 possible values for `ga:country`, + # so when segmenting only by country, you can't get more than 300 rows, + # even if you set `pageSize` to a higher value. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # If set to true, hides the total of all metrics for all the matching rows, + # for every date range. The default false and will return the totals. + # Corresponds to the JSON property `hideTotals` + # @return [Boolean] + attr_accessor :hide_totals + alias_method :hide_totals?, :hide_totals + + # If set to true, hides the minimum and maximum across all matching rows. + # The default is false and the value ranges are returned. + # Corresponds to the JSON property `hideValueRanges` + # @return [Boolean] + attr_accessor :hide_value_ranges + alias_method :hide_value_ranges?, :hide_value_ranges + + # Dimension or metric filters that restrict the data returned for your + # request. To use the `filtersExpression`, supply a dimension or metric on + # which to filter, followed by the filter expression. For example, the + # following expression selects `ga:browser` dimension which starts with + # Firefox; `ga:browser=~^Firefox`. For more information on dimensions + # and metric filters, see + # [Filters reference](https://developers.google.com/analytics/devguides/ + # reporting/core/v3/reference#filters). + # Corresponds to the JSON property `filtersExpression` + # @return [String] + attr_accessor :filters_expression + + # Defines a cohort group. + # For example: + # "cohortGroup": ` + # "cohorts": [` + # "name": "cohort 1", + # "type": "FIRST_VISIT_DATE", + # "dateRange": ` "startDate": "2015-08-01", "endDate": "2015-08-01" ` + # `,` + # "name": "cohort 2" + # "type": "FIRST_VISIT_DATE" + # "dateRange": ` "startDate": "2015-07-01", "endDate": "2015-07-01" ` + # `] + # ` + # Corresponds to the JSON property `cohortGroup` + # @return [Google::Apis::AnalyticsreportingV4::CohortGroup] + attr_accessor :cohort_group + + # The Analytics + # [view ID](https://support.google.com/analytics/answer/1009618) + # from which to retrieve data. Every [ReportRequest](#ReportRequest) + # within a `batchGet` method must contain the same `viewId`. + # Corresponds to the JSON property `viewId` + # @return [String] + attr_accessor :view_id + + # The metrics requested. + # Requests must specify at least one metric. Requests can have a + # total of 10 metrics. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # The dimension filter clauses for filtering Dimension Values. They are + # logically combined with the `AND` operator. Note that filtering occurs + # before any dimensions are aggregated, so that the returned metrics + # represent the total for only the relevant dimensions. + # Corresponds to the JSON property `dimensionFilterClauses` + # @return [Array] + attr_accessor :dimension_filter_clauses + + # Sort order on output rows. To compare two rows, the elements of the + # following are applied in order until a difference is found. All date + # ranges in the output get the same row order. + # Corresponds to the JSON property `orderBys` + # @return [Array] + attr_accessor :order_bys + + # Segment the data returned for the request. A segment definition helps look + # at a subset of the segment request. A request can contain up to four + # segments. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `segments` definition. Requests + # with segments must have the `ga:segment` dimension. + # Corresponds to the JSON property `segments` + # @return [Array] + attr_accessor :segments + + # The desired report + # [sample](https://support.google.com/analytics/answer/2637192) size. + # If the the `samplingLevel` field is unspecified the `DEFAULT` sampling + # level is used. Every [ReportRequest](#ReportRequest) within a + # `batchGet` method must contain the same `samplingLevel` definition. See + # [developer guide](/analytics/devguides/reporting/core/v4/basics#sampling) + # for details. + # Corresponds to the JSON property `samplingLevel` + # @return [String] + attr_accessor :sampling_level + + # The dimensions requested. + # Requests can have a total of 7 dimensions. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # A continuation token to get the next page of the results. Adding this to + # the request will return the rows after the pageToken. The pageToken should + # be the value returned in the nextPageToken parameter in the response to + # the GetReports request. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # Date ranges in the request. The request can have a maximum of 2 date + # ranges. The response will contain a set of metric values for each + # combination of the dimensions for each date range in the request. So, if + # there are two date ranges, there will be two set of metric values, one for + # the original date range and one for the second date range. + # The `reportRequest.dateRanges` field should not be specified for cohorts + # or Lifetime value requests. + # If a date range is not provided, the default date range is (startDate: + # current date - 7 days, endDate: current date - 1 day). Every + # [ReportRequest](#ReportRequest) within a `batchGet` method must + # contain the same `dateRanges` definition. + # Corresponds to the JSON property `dateRanges` + # @return [Array] + attr_accessor :date_ranges + + # The pivot definitions. Requests can have a maximum of 2 pivots. + # Corresponds to the JSON property `pivots` + # @return [Array] + attr_accessor :pivots + + # If set to false, the response does not include rows if all the retrieved + # metrics are equal to zero. The default is false which will exclude these + # rows. + # Corresponds to the JSON property `includeEmptyRows` + # @return [Boolean] + attr_accessor :include_empty_rows + alias_method :include_empty_rows?, :include_empty_rows + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_filter_clauses = args[:metric_filter_clauses] if args.key?(:metric_filter_clauses) + @page_size = args[:page_size] if args.key?(:page_size) + @hide_totals = args[:hide_totals] if args.key?(:hide_totals) + @hide_value_ranges = args[:hide_value_ranges] if args.key?(:hide_value_ranges) + @filters_expression = args[:filters_expression] if args.key?(:filters_expression) + @cohort_group = args[:cohort_group] if args.key?(:cohort_group) + @view_id = args[:view_id] if args.key?(:view_id) + @metrics = args[:metrics] if args.key?(:metrics) + @dimension_filter_clauses = args[:dimension_filter_clauses] if args.key?(:dimension_filter_clauses) + @order_bys = args[:order_bys] if args.key?(:order_bys) + @segments = args[:segments] if args.key?(:segments) + @sampling_level = args[:sampling_level] if args.key?(:sampling_level) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @page_token = args[:page_token] if args.key?(:page_token) + @date_ranges = args[:date_ranges] if args.key?(:date_ranges) + @pivots = args[:pivots] if args.key?(:pivots) + @include_empty_rows = args[:include_empty_rows] if args.key?(:include_empty_rows) + end + end + # [Dimensions](https://support.google.com/analytics/answer/1033861) # are attributes of your data. For example, the dimension `ga:city` # indicates the city, for example, "Paris" or "New York", from which @@ -1390,14 +1336,27 @@ module Google end end - # The metric values in the pivot region. - class PivotValueRegion + # Dynamic segment definition for defining the segment within the request. + # A segment can select users, sessions or both. + class DynamicSegment include Google::Apis::Core::Hashable - # The values of the metrics in each of the pivot regions. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `sessionSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :session_segment + + # The name of the dynamic segment. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # SegmentDefinition defines the segment to be a set of SegmentFilters which + # are combined together with a logical `AND` operation. + # Corresponds to the JSON property `userSegment` + # @return [Google::Apis::AnalyticsreportingV4::SegmentDefinition] + attr_accessor :user_segment def initialize(**args) update!(**args) @@ -1405,7 +1364,55 @@ module Google # Update properties of this object def update!(**args) - @values = args[:values] if args.key?(:values) + @session_segment = args[:session_segment] if args.key?(:session_segment) + @name = args[:name] if args.key?(:name) + @user_segment = args[:user_segment] if args.key?(:user_segment) + end + end + + # A Simple segment conditions consist of one or more dimension/metric + # conditions that can be combined. + class SimpleSegment + include Google::Apis::Core::Hashable + + # A list of segment filters groups which are combined with logical `AND` + # operator. + # Corresponds to the JSON property `orFiltersForSegment` + # @return [Array] + attr_accessor :or_filters_for_segment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @or_filters_for_segment = args[:or_filters_for_segment] if args.key?(:or_filters_for_segment) + end + end + + # Column headers. + class ColumnHeader + include Google::Apis::Core::Hashable + + # The headers for the metrics. + # Corresponds to the JSON property `metricHeader` + # @return [Google::Apis::AnalyticsreportingV4::MetricHeader] + attr_accessor :metric_header + + # The dimension names in the response. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_header = args[:metric_header] if args.key?(:metric_header) + @dimensions = args[:dimensions] if args.key?(:dimensions) end end end diff --git a/generated/google/apis/analyticsreporting_v4/representations.rb b/generated/google/apis/analyticsreporting_v4/representations.rb index d82cd1b4e..110c93130 100644 --- a/generated/google/apis/analyticsreporting_v4/representations.rb +++ b/generated/google/apis/analyticsreporting_v4/representations.rb @@ -22,169 +22,19 @@ module Google module Apis module AnalyticsreportingV4 - class PivotHeader - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Metric - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ColumnHeader - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DynamicSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MetricHeader - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Report - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SegmentFilterClause class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class DimensionFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentDimensionFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SimpleSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentDefinition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentMetricFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReportData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetReportsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OrderBy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Cohort - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OrFiltersForSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SequenceSegment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotHeaderEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionFilterClause - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SegmentSequenceStep - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Pivot - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DateRangeValues - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class MetricFilterClause class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Segment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DateRange + class Cohort class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -196,7 +46,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CohortGroup + class OrFiltersForSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionFilterClause class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -208,19 +70,103 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SequenceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentMetricFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DateRangeValues + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CohortGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetReportsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Pivot + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotHeaderEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentDefinition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MetricHeaderEntry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MetricFilter + class ReportData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Dimension + class DimensionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentDimensionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderBy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Segment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SegmentSequenceStep + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Metric class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -232,200 +178,96 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Report + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PivotHeader - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_pivot_groups_count, as: 'totalPivotGroupsCount' - collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class Metric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :alias, as: 'alias' - property :formatting_type, as: 'formattingType' - property :expression, as: 'expression' - end + class DateRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class ColumnHeader - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dimensions, as: 'dimensions' - property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation + class MetricFilter + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class DynamicSegment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :name, as: 'name' - property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class MetricHeader - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + class SimpleSegment + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class Report - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation + class ColumnHeader + class Representation < Google::Apis::Core::JsonRepresentation; end - property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation - - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport end class SegmentFilterClause # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation - property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentMetricFilter::Representation property :not, as: 'not' + property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentDimensionFilter::Representation + end end - class DimensionFilter + class MetricFilterClause # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dimension_name, as: 'dimensionName' property :operator, as: 'operator' - property :case_sensitive, as: 'caseSensitive' - collection :expressions, as: 'expressions' - property :not, as: 'not' - end - end + collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::MetricFilter, decorator: Google::Apis::AnalyticsreportingV4::MetricFilter::Representation - class SegmentDimensionFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_comparison_value, as: 'maxComparisonValue' - property :dimension_name, as: 'dimensionName' - property :case_sensitive, as: 'caseSensitive' - property :operator, as: 'operator' - collection :expressions, as: 'expressions' - property :min_comparison_value, as: 'minComparisonValue' - end - end - - class ReportRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation - - collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation - - collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation - - property :hide_totals, as: 'hideTotals' - property :include_empty_rows, as: 'includeEmptyRows' - collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - - collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation - - collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation - - collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation - - property :sampling_level, as: 'samplingLevel' - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation - - property :page_size, as: 'pageSize' - collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation - - property :filters_expression, as: 'filtersExpression' - property :hide_value_ranges, as: 'hideValueRanges' - property :view_id, as: 'viewId' - property :page_token, as: 'pageToken' - end - end - - class SimpleSegment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - - end - end - - class SegmentDefinition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation - - end - end - - class SegmentMetricFilter - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric_name, as: 'metricName' - property :operator, as: 'operator' - property :comparison_value, as: 'comparisonValue' - property :scope, as: 'scope' - property :max_comparison_value, as: 'maxComparisonValue' - end - end - - class ReportData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_count, as: 'rowCount' - collection :sampling_space_sizes, as: 'samplingSpaceSizes' - collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :samples_read_counts, as: 'samplesReadCounts' - collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation - - collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - property :is_data_golden, as: 'isDataGolden' - end - end - - class GetReportsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation - - end - end - - class OrderBy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sort_order, as: 'sortOrder' - property :order_type, as: 'orderType' - property :field_name, as: 'fieldName' end end class Cohort # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' + property :name, as: 'name' property :date_range, as: 'dateRange', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation - property :name, as: 'name' + property :type, as: 'type' + end + end + + class ReportRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + collection :dimensions, as: 'dimensions' end end @@ -437,6 +279,33 @@ module Google end end + class MetricHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pivot_headers, as: 'pivotHeaders', class: Google::Apis::AnalyticsreportingV4::PivotHeader, decorator: Google::Apis::AnalyticsreportingV4::PivotHeader::Representation + + collection :metric_header_entries, as: 'metricHeaderEntries', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + + end + end + + class DimensionFilterClause + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operator, as: 'operator' + collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::DimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilter::Representation + + end + end + + class GetReportsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation + + end + end + class SequenceSegment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -446,6 +315,67 @@ module Google end end + class SegmentMetricFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_name, as: 'metricName' + property :scope, as: 'scope' + property :max_comparison_value, as: 'maxComparisonValue' + property :comparison_value, as: 'comparisonValue' + property :operator, as: 'operator' + end + end + + class DateRangeValues + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values' + collection :pivot_value_regions, as: 'pivotValueRegions', class: Google::Apis::AnalyticsreportingV4::PivotValueRegion, decorator: Google::Apis::AnalyticsreportingV4::PivotValueRegion::Representation + + end + end + + class CohortGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsreportingV4::Cohort, decorator: Google::Apis::AnalyticsreportingV4::Cohort::Representation + + property :lifetime_value, as: 'lifetimeValue' + end + end + + class GetReportsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :report_requests, as: 'reportRequests', class: Google::Apis::AnalyticsreportingV4::ReportRequest, decorator: Google::Apis::AnalyticsreportingV4::ReportRequest::Representation + + end + end + + class Pivot + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_group_count, as: 'maxGroupCount' + property :start_group, as: 'startGroup' + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + + collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation + + end + end + + class PivotHeaderEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_names, as: 'dimensionNames' + property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation + + collection :dimension_values, as: 'dimensionValues' + end + end + class SegmentFilter # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -457,105 +387,10 @@ module Google end end - class PivotHeaderEntry + class SegmentDefinition # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :dimension_names, as: 'dimensionNames' - collection :dimension_values, as: 'dimensionValues' - property :metric, as: 'metric', class: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::MetricHeaderEntry::Representation - - end - end - - class DimensionFilterClause - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operator, as: 'operator' - collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::DimensionFilter, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilter::Representation - - end - end - - class SegmentSequenceStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :match_type, as: 'matchType' - collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation - - end - end - - class Pivot - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation - - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation - - property :max_group_count, as: 'maxGroupCount' - collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation - - property :start_group, as: 'startGroup' - end - end - - class DateRangeValues - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' - collection :pivot_value_regions, as: 'pivotValueRegions', class: Google::Apis::AnalyticsreportingV4::PivotValueRegion, decorator: Google::Apis::AnalyticsreportingV4::PivotValueRegion::Representation - - end - end - - class MetricFilterClause - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operator, as: 'operator' - collection :filters, as: 'filters', class: Google::Apis::AnalyticsreportingV4::MetricFilter, decorator: Google::Apis::AnalyticsreportingV4::MetricFilter::Representation - - end - end - - class Segment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation - - property :segment_id, as: 'segmentId' - end - end - - class DateRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_date, as: 'startDate' - property :end_date, as: 'endDate' - end - end - - class ReportRow - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dimensions, as: 'dimensions' - collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation - - end - end - - class CohortGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :lifetime_value, as: 'lifetimeValue' - collection :cohorts, as: 'cohorts', class: Google::Apis::AnalyticsreportingV4::Cohort, decorator: Google::Apis::AnalyticsreportingV4::Cohort::Representation - - end - end - - class GetReportsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :reports, as: 'reports', class: Google::Apis::AnalyticsreportingV4::Report, decorator: Google::Apis::AnalyticsreportingV4::Report::Representation + collection :segment_filters, as: 'segmentFilters', class: Google::Apis::AnalyticsreportingV4::SegmentFilter, decorator: Google::Apis::AnalyticsreportingV4::SegmentFilter::Representation end end @@ -568,16 +403,161 @@ module Google end end + class ReportData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + collection :sampling_space_sizes, as: 'samplingSpaceSizes' + collection :totals, as: 'totals', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + collection :samples_read_counts, as: 'samplesReadCounts' + property :is_data_golden, as: 'isDataGolden' + collection :rows, as: 'rows', class: Google::Apis::AnalyticsreportingV4::ReportRow, decorator: Google::Apis::AnalyticsreportingV4::ReportRow::Representation + + property :row_count, as: 'rowCount' + property :data_last_refreshed, as: 'dataLastRefreshed' + collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsreportingV4::DateRangeValues, decorator: Google::Apis::AnalyticsreportingV4::DateRangeValues::Representation + + end + end + + class DimensionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :case_sensitive, as: 'caseSensitive' + property :dimension_name, as: 'dimensionName' + property :operator, as: 'operator' + property :not, as: 'not' + collection :expressions, as: 'expressions' + end + end + + class SegmentDimensionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min_comparison_value, as: 'minComparisonValue' + property :max_comparison_value, as: 'maxComparisonValue' + property :dimension_name, as: 'dimensionName' + property :operator, as: 'operator' + collection :expressions, as: 'expressions' + property :case_sensitive, as: 'caseSensitive' + end + end + + class OrderBy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field_name, as: 'fieldName' + property :order_type, as: 'orderType' + property :sort_order, as: 'sortOrder' + end + end + + class Segment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dynamic_segment, as: 'dynamicSegment', class: Google::Apis::AnalyticsreportingV4::DynamicSegment, decorator: Google::Apis::AnalyticsreportingV4::DynamicSegment::Representation + + property :segment_id, as: 'segmentId' + end + end + + class SegmentSequenceStep + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation + + property :match_type, as: 'matchType' + end + end + + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expression, as: 'expression' + property :formatting_type, as: 'formattingType' + property :alias, as: 'alias' + end + end + + class PivotValueRegion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values' + end + end + + class Report + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, as: 'data', class: Google::Apis::AnalyticsreportingV4::ReportData, decorator: Google::Apis::AnalyticsreportingV4::ReportData::Representation + + property :next_page_token, as: 'nextPageToken' + property :column_header, as: 'columnHeader', class: Google::Apis::AnalyticsreportingV4::ColumnHeader, decorator: Google::Apis::AnalyticsreportingV4::ColumnHeader::Representation + + end + end + + class PivotHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pivot_header_entries, as: 'pivotHeaderEntries', class: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry, decorator: Google::Apis::AnalyticsreportingV4::PivotHeaderEntry::Representation + + property :total_pivot_groups_count, as: 'totalPivotGroupsCount' + end + end + + class DateRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_date, as: 'startDate' + property :end_date, as: 'endDate' + end + end + class MetricFilter # @private class Representation < Google::Apis::Core::JsonRepresentation property :metric_name, as: 'metricName' - property :operator, as: 'operator' property :comparison_value, as: 'comparisonValue' + property :operator, as: 'operator' property :not, as: 'not' end end + class ReportRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metric_filter_clauses, as: 'metricFilterClauses', class: Google::Apis::AnalyticsreportingV4::MetricFilterClause, decorator: Google::Apis::AnalyticsreportingV4::MetricFilterClause::Representation + + property :page_size, as: 'pageSize' + property :hide_totals, as: 'hideTotals' + property :hide_value_ranges, as: 'hideValueRanges' + property :filters_expression, as: 'filtersExpression' + property :cohort_group, as: 'cohortGroup', class: Google::Apis::AnalyticsreportingV4::CohortGroup, decorator: Google::Apis::AnalyticsreportingV4::CohortGroup::Representation + + property :view_id, as: 'viewId' + collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsreportingV4::Metric, decorator: Google::Apis::AnalyticsreportingV4::Metric::Representation + + collection :dimension_filter_clauses, as: 'dimensionFilterClauses', class: Google::Apis::AnalyticsreportingV4::DimensionFilterClause, decorator: Google::Apis::AnalyticsreportingV4::DimensionFilterClause::Representation + + collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsreportingV4::OrderBy, decorator: Google::Apis::AnalyticsreportingV4::OrderBy::Representation + + collection :segments, as: 'segments', class: Google::Apis::AnalyticsreportingV4::Segment, decorator: Google::Apis::AnalyticsreportingV4::Segment::Representation + + property :sampling_level, as: 'samplingLevel' + collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsreportingV4::Dimension, decorator: Google::Apis::AnalyticsreportingV4::Dimension::Representation + + property :page_token, as: 'pageToken' + collection :date_ranges, as: 'dateRanges', class: Google::Apis::AnalyticsreportingV4::DateRange, decorator: Google::Apis::AnalyticsreportingV4::DateRange::Representation + + collection :pivots, as: 'pivots', class: Google::Apis::AnalyticsreportingV4::Pivot, decorator: Google::Apis::AnalyticsreportingV4::Pivot::Representation + + property :include_empty_rows, as: 'includeEmptyRows' + end + end + class Dimension # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -586,10 +566,31 @@ module Google end end - class PivotValueRegion + class DynamicSegment # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values' + property :session_segment, as: 'sessionSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation + + property :name, as: 'name' + property :user_segment, as: 'userSegment', class: Google::Apis::AnalyticsreportingV4::SegmentDefinition, decorator: Google::Apis::AnalyticsreportingV4::SegmentDefinition::Representation + + end + end + + class SimpleSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :or_filters_for_segment, as: 'orFiltersForSegment', class: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment, decorator: Google::Apis::AnalyticsreportingV4::OrFiltersForSegment::Representation + + end + end + + class ColumnHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_header, as: 'metricHeader', class: Google::Apis::AnalyticsreportingV4::MetricHeader, decorator: Google::Apis::AnalyticsreportingV4::MetricHeader::Representation + + collection :dimensions, as: 'dimensions' end end end diff --git a/generated/google/apis/analyticsreporting_v4/service.rb b/generated/google/apis/analyticsreporting_v4/service.rb index c16c996d0..4d4ac4e50 100644 --- a/generated/google/apis/analyticsreporting_v4/service.rb +++ b/generated/google/apis/analyticsreporting_v4/service.rb @@ -48,11 +48,11 @@ module Google # Returns the Analytics data. # @param [Google::Apis::AnalyticsreportingV4::GetReportsRequest] get_reports_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -65,14 +65,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_get_reports(get_reports_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_get_reports(get_reports_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/reports:batchGet', options) command.request_representation = Google::Apis::AnalyticsreportingV4::GetReportsRequest::Representation command.request_object = get_reports_request_object command.response_representation = Google::Apis::AnalyticsreportingV4::GetReportsResponse::Representation command.response_class = Google::Apis::AnalyticsreportingV4::GetReportsResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/androidenterprise_v1.rb b/generated/google/apis/androidenterprise_v1.rb index f0592c3f7..5f86f357f 100644 --- a/generated/google/apis/androidenterprise_v1.rb +++ b/generated/google/apis/androidenterprise_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android/work/play/emm-api module AndroidenterpriseV1 VERSION = 'V1' - REVISION = '20160803' + REVISION = '20170322' # Manage corporate Android devices AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise' diff --git a/generated/google/apis/androidenterprise_v1/classes.rb b/generated/google/apis/androidenterprise_v1/classes.rb index 505132000..cb613c5af 100644 --- a/generated/google/apis/androidenterprise_v1/classes.rb +++ b/generated/google/apis/androidenterprise_v1/classes.rb @@ -22,12 +22,12 @@ module Google module Apis module AndroidenterpriseV1 - # This represents an enterprise administrator who can manage the enterprise in - # the Google Play for Work Store. + # This represents an enterprise admin who can manage the enterprise in the + # managed Google Play store. class Administrator include Google::Apis::Core::Hashable - # The administrator's email address. + # The admin's email address. # Corresponds to the JSON property `email` # @return [String] attr_accessor :email @@ -42,6 +42,70 @@ module Google end end + # A token authorizing an admin to access an iframe. + class AdministratorWebToken + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # androidenterprise#administratorWebToken". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # An opaque token to be passed to the Play front-end to generate an iframe. + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @token = args[:token] if args.key?(:token) + end + end + + # Specification for a token used to generate iframes. The token specifies what + # data the admin is allowed to modify and the URI the iframe is allowed to + # communiate with. + class AdministratorWebTokenSpec + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # androidenterprise#administratorWebTokenSpec". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The URI of the parent frame hosting the iframe. To prevent XSS, the iframe may + # not be hosted at other URIs. This URI must be https. + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # The list of permissions the admin is granted within the iframe. The admin will + # only be allowed to view an iframe if they have all of the permissions + # associated with it. The only valid value is "approveApps" that will allow the + # admin to access the iframe in "approve" mode. + # Corresponds to the JSON property `permission` + # @return [Array] + attr_accessor :permission + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @parent = args[:parent] if args.key?(:parent) + @permission = args[:permission] if args.key?(:permission) + end + end + # Represents the list of app restrictions available to be pre-configured for the # product. class AppRestrictionsSchema @@ -113,7 +177,9 @@ module Google attr_accessor :entry # For choice or multiselect restrictions, the list of possible entries' machine- - # readable values. + # readable values. These values should be used in the configuration, either as a + # single string value for a choice restriction or in a stringArray for a + # multiselect restriction. # Corresponds to the JSON property `entryValue` # @return [Array] attr_accessor :entry_value @@ -124,7 +190,9 @@ module Google # @return [String] attr_accessor :key - # For bundle or bundleArray restrictions, the list of nested restrictions. + # For bundle or bundleArray restrictions, the list of nested restrictions. A + # bundle restriction is always nested within a bundleArray restriction, and a + # bundleArray restriction is at most two levels deep. # Corresponds to the JSON property `nestedRestriction` # @return [Array] attr_accessor :nested_restriction @@ -232,7 +300,7 @@ module Google # @return [Fixnum] attr_accessor :version_code - # The string used in the Play Store by the app developer to identify the version. + # The string used in the Play store by the app developer to identify the version. # The string is not necessarily unique or localized (for example, the string # could be "1.4"). # Corresponds to the JSON property `versionString` @@ -306,129 +374,15 @@ module Google end end - # A collection resource defines a named set of apps that is visible to a set of - # users in the Google Play Store app running on those users' managed devices. - # Those users can then install any of those apps if they wish (which will - # trigger creation of install and entitlement resources). A user cannot install - # an app on a managed device unless the app is listed in at least one collection - # that is visible to that user. - # Note that the API can be used to directly install an app regardless of whether - # it is in any collection - so an enterprise has a choice of either directly - # pushing apps to users, or allowing users to install apps if they want. Which - # is appropriate will depend on the enterprise's policies and the purpose of the - # apps concerned. - class Collection - include Google::Apis::Core::Hashable - - # Arbitrary unique ID, allocated by the API on creation. - # Corresponds to the JSON property `collectionId` - # @return [String] - attr_accessor :collection_id - - # Identifies what kind of resource this is. Value: the fixed string " - # androidenterprise#collection". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A user-friendly name for the collection (should be unique), e.g. "Accounting - # apps". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The IDs of the products in the collection, in the order in which they should - # be displayed. - # Corresponds to the JSON property `productId` - # @return [Array] - attr_accessor :product_id - - # Whether this collection is visible to all users, or only to the users that - # have been granted access through the "Collectionviewers" API. With the launch - # of the "setAvailableProductSet" API, this property should always be set to " - # viewersOnly", as the "allUsers" option will bypass the "availableProductSet" - # for all users within a domain. - # The "allUsers" setting is deprecated, and will be removed. - # Corresponds to the JSON property `visibility` - # @return [String] - attr_accessor :visibility - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @collection_id = args[:collection_id] if args.key?(:collection_id) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @product_id = args[:product_id] if args.key?(:product_id) - @visibility = args[:visibility] if args.key?(:visibility) - end - end - - # The user resources for the collection. - class ListCollectionViewersResponse - include Google::Apis::Core::Hashable - - # Identifies what kind of resource this is. Value: the fixed string " - # androidenterprise#collectionViewersListResponse". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # A user of an enterprise. - # Corresponds to the JSON property `user` - # @return [Array] - attr_accessor :user - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @user = args[:user] if args.key?(:user) - end - end - - # The collection resources for the enterprise. - class ListCollectionsResponse - include Google::Apis::Core::Hashable - - # An ordered collection of products which can be made visible on the Google Play - # Store to a selected group of users. - # Corresponds to the JSON property `collection` - # @return [Array] - attr_accessor :collection - - # Identifies what kind of resource this is. Value: the fixed string " - # androidenterprise#collectionsListResponse". - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @collection = args[:collection] if args.key?(:collection) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A device resource represents a mobile device managed by the EMM and belonging + # A Devices resource represents a mobile device managed by the EMM and belonging # to a specific enterprise user. - # This collection cannot be modified via the API; it is automatically populated + # This collection cannot be modified via the API. It is automatically populated # as devices are set up to be managed. class Device include Google::Apis::Core::Hashable # The Google Play Services Android ID for the device encoded as a lowercase hex - # string, e.g. "123456789abcdef0". + # string. For example, "123456789abcdef0". # Corresponds to the JSON property `androidId` # @return [String] attr_accessor :android_id @@ -439,11 +393,19 @@ module Google # @return [String] attr_accessor :kind - # The mechanism by which this device is managed by the EMM. "managedDevice" - # means that the EMM's app is a device owner. "managedProfile" means that the - # EMM's app is the profile owner (and there is a separate personal profile which - # is not managed). "containerApp" means that the EMM's app is managing the - # Android for Work container app on the device. + # Identifies the extent to which the device is controlled by a managed Google + # Play EMM in various deployment configurations. + # Possible values include: + # - "managedDevice", a device that has the EMM's device policy controller (DPC) + # as the device owner, + # - "managedProfile", a device that has a profile managed by the DPC (DPC is + # profile owner) in addition to a separate, personal profile that is unavailable + # to the DPC, + # - "containerApp", a device running the container App. The container App is + # managed by the DPC, + # - "unmanagedProfile", a device that has been allowed (by the domain's admin, + # using the Admin Console to enable the privilege) to use managed Google Play, + # but the profile is itself not owned by a DPC. # Corresponds to the JSON property `managementType` # @return [String] attr_accessor :management_type @@ -523,16 +485,16 @@ module Google # enroll and Enterprises.setAccount (in conjunction with artifacts obtained from # the Admin console and the Google API Console) and submitted to the EMM through # a more-or-less manual process. - # - For Android for Work Accounts customers, the process involves using + # - For managed Google Play Accounts customers, the process involves using # Enterprises.generateSignupUrl and Enterprises.completeSignup in conjunction - # with the Android for Work Sign-up UI (Google-provided mechanism) to create the - # binding without manual steps. As an EMM, you can support either or both + # with the managed Google Play sign-up UI (Google-provided mechanism) to create + # the binding without manual steps. As an EMM, you can support either or both # approaches in your EMM console. See Create an Enterprise for details. class Enterprise include Google::Apis::Core::Hashable - # Administrators of the enterprise. This is only supported for enterprises - # created via the EMM-initiated flow. + # Admins of the enterprise. This is only supported for enterprises created via + # the EMM-initiated flow. # Corresponds to the JSON property `administrator` # @return [Array] attr_accessor :administrator @@ -651,30 +613,26 @@ module Google end end - # The existence of an entitlement resource means that a user has the right to - # use a particular app on any of their devices. This might be because the app is - # free or because they have been allocated a license to the app from a group - # license purchased by the enterprise. - # It should always be true that a user has an app installed on one of their - # devices only if they have an entitlement to it. So if an entitlement is - # deleted, the app will be uninstalled from all devices. Similarly if the user - # installs an app (and is permitted to do so), or the EMM triggers an install of - # the app, an entitlement to that app is automatically created. If this is - # impossible - e.g. the enterprise has not purchased sufficient licenses - then - # installation fails. - # Note that entitlements are always user specific, not device specific; a user - # may have an entitlement even though they have not installed the app anywhere. - # Once they have an entitlement they can install the app on multiple devices. - # The API can be used to create an entitlement. If the app is a free app, a - # group license for that app is created. If it's a paid app, creating the - # entitlement consumes one license; it remains consumed until the entitlement is - # removed. Optionally an installation of the app on all the user's managed - # devices can be triggered at the time the entitlement is created. An - # entitlement cannot be created for an app if the app requires permissions that - # the enterprise has not yet accepted. - # Entitlements for paid apps that are due to purchases by the user on a non- - # managed profile will have "userPurchase" as entitlement reason; those - # entitlements cannot be removed via the API. + # The presence of an Entitlements resource indicates that a user has the right + # to use a particular app. Entitlements are user specific, not device specific. + # This allows a user with an entitlement to an app to install the app on all + # their devices. It's also possible for a user to hold an entitlement to an app + # without installing the app on any device. + # The API can be used to create an entitlement. As an option, you can also use + # the API to trigger the installation of an app on all a user's managed devices + # at the same time the entitlement is created. + # If the app is free, creating the entitlement also creates a group license for + # that app. For paid apps, creating the entitlement consumes one license, and + # that license remains consumed until the entitlement is removed. If the + # enterprise hasn't purchased enough licenses, then no entitlement is created + # and the installation fails. An entitlement is also not created for an app if + # the app requires permissions that the enterprise hasn't accepted. + # If an entitlement is deleted, the app may be uninstalled from a user's device. + # As a best practice, uninstall the app by calling Installs.delete() before + # deleting the entitlement. + # Entitlements for apps that a user pays for on an unmanaged profile have " + # userPurchase" as the entitlement reason. These entitlements cannot be removed + # via the API. class Entitlement include Google::Apis::Core::Hashable @@ -684,14 +642,15 @@ module Google # @return [String] attr_accessor :kind - # The ID of the product that the entitlement is for, e.g. "app:com.google. - # android.gm". + # The ID of the product that the entitlement is for. For example, "app:com. + # google.android.gm". # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id - # The reason for the entitlement, e.g. "free" for free apps. This is temporary, - # it will be replaced by the acquisition kind field of group licenses. + # The reason for the entitlement. For example, "free" for free apps. This + # property is temporary: it will be replaced by the acquisition kind field of + # group licenses. # Corresponds to the JSON property `reason` # @return [String] attr_accessor :reason @@ -755,19 +714,18 @@ module Google class GroupLicense include Google::Apis::Core::Hashable - # How this group license was acquired. "bulkPurchase" means that this group - # license object was created because the enterprise purchased licenses for this - # product; this is "free" otherwise (for free products). + # How this group license was acquired. "bulkPurchase" means that this + # Grouplicenses resource was created because the enterprise purchased licenses + # for this product; otherwise, the value is "free" (for free products). # Corresponds to the JSON property `acquisitionKind` # @return [String] attr_accessor :acquisition_kind # Whether the product to which this group license relates is currently approved - # by the enterprise, as either "approved" or "unapproved". Products are approved - # when a group license is first created, but this approval may be revoked by an - # enterprise admin via Google Play. Unapproved products will not be visible to - # end users in collections and new entitlements to them should not normally be - # created. + # by the enterprise. Products are approved when a group license is first created, + # but this approval may be revoked by an enterprise admin via Google Play. + # Unapproved products will not be visible to end users in collections, and new + # entitlements to them should not normally be created. # Corresponds to the JSON property `approval` # @return [String] attr_accessor :approval @@ -785,14 +743,14 @@ module Google attr_accessor :num_provisioned # The number of purchased licenses (possibly in multiple purchases). If this - # field is omitted then there is no limit on the number of licenses that can be - # provisioned (e.g. if the acquisition kind is "free"). + # field is omitted, then there is no limit on the number of licenses that can be + # provisioned (for example, if the acquisition kind is "free"). # Corresponds to the JSON property `numPurchased` # @return [Fixnum] attr_accessor :num_purchased - # The ID of the product that the license is for, e.g. "app:com.google.android.gm" - # . + # The ID of the product that the license is for. For example, "app:com.google. + # android.gm". # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id @@ -864,18 +822,18 @@ module Google end end - # The existence of an install resource indicates that an app is installed on a + # The existence of an Installs resource indicates that an app is installed on a # particular device (or that an install is pending). # The API can be used to create an install resource using the update method. # This triggers the actual install of the app on the device. If the user does - # not already have an entitlement for the app then an attempt is made to create - # one. If this fails (e.g. because the app is not free and there is no available - # license) then the creation of the install fails. - # The API can also be used to update an installed app. If the update method is - # used on an existing install then the app will be updated to the latest + # not already have an entitlement for the app, then an attempt is made to create + # one. If this fails (for example, because the app is not free and there is no + # available license), then the creation of the install fails. + # The API can also be used to update an installed app. If the update method is + # used on an existing install, then the app will be updated to the latest # available version. # Note that it is not possible to force the installation of a specific version - # of an app; the version code is read-only. + # of an app: the version code is read-only. # If a user installs an app themselves (as permitted by the enterprise), then # again an install resource and possibly an entitlement resource are # automatically created. @@ -900,8 +858,8 @@ module Google # @return [String] attr_accessor :kind - # The ID of the product that the install is for, e.g. "app:com.google.android.gm" - # . + # The ID of the product that the install is for. For example, "app:com.google. + # android.gm". # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id @@ -1190,6 +1148,41 @@ module Google end end + # An event generated when a new device is ready to be managed. + class NewDeviceEvent + include Google::Apis::Core::Hashable + + # The Android ID of the device. This field will always be present. + # Corresponds to the JSON property `deviceId` + # @return [String] + attr_accessor :device_id + + # Identifies the extent to which the device is controlled by an Android EMM in + # various deployment configurations. + # Possible values include: + # - "managedDevice", a device where the DPC is set as device owner, + # - "managedProfile", a device where the DPC is set as profile owner. + # Corresponds to the JSON property `managementType` + # @return [String] + attr_accessor :management_type + + # The ID of the user. This field will always be present. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @device_id = args[:device_id] if args.key?(:device_id) + @management_type = args[:management_type] if args.key?(:management_type) + @user_id = args[:user_id] if args.key?(:user_id) + end + end + # An event generated when new permissions are added to an app. class NewPermissionsEvent include Google::Apis::Core::Hashable @@ -1255,6 +1248,11 @@ module Google # @return [Google::Apis::AndroidenterpriseV1::InstallFailureEvent] attr_accessor :install_failure_event + # An event generated when a new device is ready to be managed. + # Corresponds to the JSON property `newDeviceEvent` + # @return [Google::Apis::AndroidenterpriseV1::NewDeviceEvent] + attr_accessor :new_device_event + # An event generated when new permissions are added to an app. # Corresponds to the JSON property `newPermissionsEvent` # @return [Google::Apis::AndroidenterpriseV1::NewPermissionsEvent] @@ -1286,6 +1284,7 @@ module Google @app_update_event = args[:app_update_event] if args.key?(:app_update_event) @enterprise_id = args[:enterprise_id] if args.key?(:enterprise_id) @install_failure_event = args[:install_failure_event] if args.key?(:install_failure_event) + @new_device_event = args[:new_device_event] if args.key?(:new_device_event) @new_permissions_event = args[:new_permissions_event] if args.key?(:new_permissions_event) @product_approval_event = args[:product_approval_event] if args.key?(:product_approval_event) @product_availability_change_event = args[:product_availability_change_event] if args.key?(:product_availability_change_event) @@ -1360,17 +1359,18 @@ module Google end end - # A permission represents some extra capability, to be granted to an Android app, - # which requires explicit consent. An enterprise admin must consent to these - # permissions on behalf of their users before an entitlement for the app can be - # created. + # A Permissions resource represents some extra capability, to be granted to an + # Android app, which requires explicit consent. An enterprise admin must consent + # to these permissions on behalf of their users before an entitlement for the + # app can be created. # The permissions collection is read-only. The information provided for each - # permission (localized name and description) is intended to be used in the EMM + # permission (localized name and description) is intended to be used in the MDM # user interface when obtaining consent from the enterprise. class Permission include Google::Apis::Core::Hashable - # A longer description of the permissions giving more details of what it affects. + # A longer description of the Permissions resource, giving more details of what + # it affects. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description @@ -1404,7 +1404,7 @@ module Google end end - # A Products resource represents an app in the Google Play Store that is + # A Products resource represents an app in the Google Play store that is # available to at least some users in the enterprise. (Some apps are restricted # to a single enterprise, and no information about them is made available # outside that enterprise.) @@ -1420,7 +1420,7 @@ module Google # @return [Array] attr_accessor :app_version - # The name of the author of the product (e.g. the app developer). + # The name of the author of the product (for example, the app developer). # Corresponds to the JSON property `authorName` # @return [String] attr_accessor :author_name @@ -1431,7 +1431,7 @@ module Google attr_accessor :details_url # How and to whom the package is made available. The value publicGoogleHosted - # means that the package is available through the Play Store and not restricted + # means that the package is available through the Play store and not restricted # to a specific enterprise. The value privateGoogleHosted means that the package # is a private app (restricted to an enterprise) but hosted by Google. The value # privateSelfHosted means that the package is a private app (restricted to an @@ -1465,8 +1465,8 @@ module Google # @return [String] attr_accessor :product_pricing - # Whether this app can only be installed on devices using the Android for Work - # container app. + # Whether this app can only be installed on devices using the Android container + # app. # Corresponds to the JSON property `requiresContainerApp` # @return [Boolean] attr_accessor :requires_container_app @@ -1483,8 +1483,8 @@ module Google # @return [String] attr_accessor :title - # A link to the Google Play for Work details page for the product, for use by an - # Enterprise administrator. + # A link to the managed Google Play details page for the product, for use by an + # Enterprise admin. # Corresponds to the JSON property `workDetailsUrl` # @return [String] attr_accessor :work_details_url @@ -1640,6 +1640,17 @@ module Google # @return [Array] attr_accessor :product_id + # The interpretation of this product set. "unknown" should never be sent and is + # ignored if received. "whitelist" means that this product set constitutes a + # whitelist. "includeAll" means that all products are accessible, including + # products that are approved, products with revoked approval, and products that + # have never been approved. If the value is "includeAll", the value of the + # productId field is therefore ignored. If a value is not supplied, it is + # interpreted to be "whitelist" for backwards compatibility. + # Corresponds to the JSON property `productSetBehavior` + # @return [String] + attr_accessor :product_set_behavior + def initialize(**args) update!(**args) end @@ -1648,6 +1659,7 @@ module Google def update!(**args) @kind = args[:kind] if args.key?(:kind) @product_id = args[:product_id] if args.key?(:product_id) + @product_set_behavior = args[:product_set_behavior] if args.key?(:product_set_behavior) end end @@ -1711,7 +1723,7 @@ module Google # @return [Google::Apis::AndroidenterpriseV1::PageInfo] attr_accessor :page_info - # Information about a product (e.g. an app) in the Google Play Store, for + # Information about a product (e.g. an app) in the Google Play store, for # display to an enterprise admin. # Corresponds to the JSON property `product` # @return [Array] @@ -1791,6 +1803,13 @@ module Google # @return [String] attr_accessor :kind + # Public key data for the credentials file. This is an X.509 cert. If you are + # using the googleCredentials key type, this is identical to the cert that can + # be retrieved by using the X.509 cert url inside of the credentials file. + # Corresponds to the JSON property `publicData` + # @return [String] + attr_accessor :public_data + # The file format of the generated key data. # Corresponds to the JSON property `type` # @return [String] @@ -1805,6 +1824,7 @@ module Google @data = args[:data] if args.key?(:data) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @public_data = args[:public_data] if args.key?(:public_data) @type = args[:type] if args.key?(:type) end end @@ -1863,7 +1883,7 @@ module Google end end - # Definition of a Google Play for Work store cluster, a list of products + # Definition of a managed Google Play store cluster, a list of products # displayed as part of a store page. class StoreCluster include Google::Apis::Core::Hashable @@ -1916,17 +1936,15 @@ module Google end end - # General setting for the Google Play for Work store layout, currently only + # General setting for the managed Google Play store layout, currently only # specifying the page to display the first time the store is opened. class StoreLayout include Google::Apis::Core::Hashable - # The ID of the store page to be used as the homepage. The homepage will be used - # as the first page shown in the Google Play for Work store. - # If a homepage has not been set, the Play store shown on devices will be empty. - # Not specifying a homepage on a store layout effectively empties the store. - # If there exists at least one page, this field must be set to the ID of a valid - # page. + # The ID of the store page to be used as the homepage. The homepage is the first + # page shown in the managed Google Play Store. + # Not specifying a homepage is equivalent to setting the store layout type to " + # basic". # Corresponds to the JSON property `homepageId` # @return [String] attr_accessor :homepage_id @@ -1937,6 +1955,14 @@ module Google # @return [String] attr_accessor :kind + # The store layout type. By default, this value is set to "basic" if the + # homepageId field is not set, and to "custom" otherwise. If set to "basic", the + # layout will consist of all approved apps that have been whitelisted for the + # user. + # Corresponds to the JSON property `storeLayoutType` + # @return [String] + attr_accessor :store_layout_type + def initialize(**args) update!(**args) end @@ -1945,6 +1971,7 @@ module Google def update!(**args) @homepage_id = args[:homepage_id] if args.key?(:homepage_id) @kind = args[:kind] if args.key?(:kind) + @store_layout_type = args[:store_layout_type] if args.key?(:store_layout_type) end end @@ -2000,7 +2027,7 @@ module Google end end - # Definition of a Google Play for Work store page, made of a localized name and + # Definition of a managed Google Play store page, made of a localized name and # links to other pages. A page also contains clusters defined as a subcollection. class StorePage include Google::Apis::Core::Hashable @@ -2072,14 +2099,14 @@ module Google # A Users resource represents an account associated with an enterprise. The # account may be specific to a device or to an individual user (who can then use - # the account across multiple devices). The account may provide access to Google - # Play for Work only, or to other Google services, depending on the identity - # model: - # - Google managed domain identity model requires synchronization to Google + # the account across multiple devices). The account may provide access to + # managed Google Play only, or to other Google services, depending on the + # identity model: + # - The Google managed domain identity model requires synchronization to Google # account sources (via primaryEmail). - # - Android for Work Accounts identity model provides a dynamic means for + # - The managed Google Play Accounts identity model provides a dynamic means for # enterprises to create user or device accounts as needed. These accounts - # provide access to Google Play for Work only. + # provide access to managed Google Play. class User include Google::Apis::Core::Hashable @@ -2147,9 +2174,9 @@ module Google end # A UserToken is used by a user when setting up a managed device or profile with - # their work account on a device. When the user enters their email address and - # token (activation code) the appropriate EMM app can be automatically - # downloaded. + # their managed Google Play account on a device. When the user enters their + # email address and token (activation code) the appropriate EMM app can be + # automatically downloaded. class UserToken include Google::Apis::Core::Hashable diff --git a/generated/google/apis/androidenterprise_v1/representations.rb b/generated/google/apis/androidenterprise_v1/representations.rb index 75f04d784..c5089b27b 100644 --- a/generated/google/apis/androidenterprise_v1/representations.rb +++ b/generated/google/apis/androidenterprise_v1/representations.rb @@ -28,6 +28,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AdministratorWebToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdministratorWebTokenSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AppRestrictionsSchema class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,24 +88,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Collection - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCollectionViewersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCollectionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Device class Representation < Google::Apis::Core::JsonRepresentation; end @@ -220,6 +214,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NewDeviceEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NewPermissionsEvent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -389,6 +389,23 @@ module Google end end + class AdministratorWebToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :token, as: 'token' + end + end + + class AdministratorWebTokenSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :parent, as: 'parent' + collection :permission, as: 'permission' + end + end + class AppRestrictionsSchema # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -463,35 +480,6 @@ module Google end end - class Collection - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :collection_id, as: 'collectionId' - property :kind, as: 'kind' - property :name, as: 'name' - collection :product_id, as: 'productId' - property :visibility, as: 'visibility' - end - end - - class ListCollectionViewersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - collection :user, as: 'user', class: Google::Apis::AndroidenterpriseV1::User, decorator: Google::Apis::AndroidenterpriseV1::User::Representation - - end - end - - class ListCollectionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :collection, as: 'collection', class: Google::Apis::AndroidenterpriseV1::Collection, decorator: Google::Apis::AndroidenterpriseV1::Collection::Representation - - property :kind, as: 'kind' - end - end - class Device # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -692,6 +680,15 @@ module Google end end + class NewDeviceEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :device_id, as: 'deviceId' + property :management_type, as: 'managementType' + property :user_id, as: 'userId' + end + end + class NewPermissionsEvent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -711,6 +708,8 @@ module Google property :enterprise_id, as: 'enterpriseId' property :install_failure_event, as: 'installFailureEvent', class: Google::Apis::AndroidenterpriseV1::InstallFailureEvent, decorator: Google::Apis::AndroidenterpriseV1::InstallFailureEvent::Representation + property :new_device_event, as: 'newDeviceEvent', class: Google::Apis::AndroidenterpriseV1::NewDeviceEvent, decorator: Google::Apis::AndroidenterpriseV1::NewDeviceEvent::Representation + property :new_permissions_event, as: 'newPermissionsEvent', class: Google::Apis::AndroidenterpriseV1::NewPermissionsEvent, decorator: Google::Apis::AndroidenterpriseV1::NewPermissionsEvent::Representation property :product_approval_event, as: 'productApprovalEvent', class: Google::Apis::AndroidenterpriseV1::ProductApprovalEvent, decorator: Google::Apis::AndroidenterpriseV1::ProductApprovalEvent::Representation @@ -808,6 +807,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' collection :product_id, as: 'productId' + property :product_set_behavior, as: 'productSetBehavior' end end @@ -855,6 +855,7 @@ module Google property :data, as: 'data' property :id, as: 'id' property :kind, as: 'kind' + property :public_data, as: 'publicData' property :type, as: 'type' end end @@ -893,6 +894,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :homepage_id, as: 'homepageId' property :kind, as: 'kind' + property :store_layout_type, as: 'storeLayoutType' end end diff --git a/generated/google/apis/androidenterprise_v1/service.rb b/generated/google/apis/androidenterprise_v1/service.rb index 4577a3b1d..3736d3e73 100644 --- a/generated/google/apis/androidenterprise_v1/service.rb +++ b/generated/google/apis/androidenterprise_v1/service.rb @@ -52,451 +52,6 @@ module Google super('https://www.googleapis.com/', 'androidenterprise/v1/') end - # Deletes a collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_collection(enterprise_id, collection_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'enterprises/{enterpriseId}/collections/{collectionId}', options) - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the details of a collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::Collection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::Collection] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_collection(enterprise_id, collection_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'enterprises/{enterpriseId}/collections/{collectionId}', options) - command.response_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::Collection - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [Google::Apis::AndroidenterpriseV1::Collection] collection_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::Collection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::Collection] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_collection(enterprise_id, collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'enterprises/{enterpriseId}/collections', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.request_object = collection_object - command.response_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::Collection - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the IDs of all the collections for an enterprise. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::ListCollectionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::ListCollectionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_collections(enterprise_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'enterprises/{enterpriseId}/collections', options) - command.response_representation = Google::Apis::AndroidenterpriseV1::ListCollectionsResponse::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::ListCollectionsResponse - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates a collection. This method supports patch semantics. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [Google::Apis::AndroidenterpriseV1::Collection] collection_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::Collection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::Collection] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_collection(enterprise_id, collection_id, collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'enterprises/{enterpriseId}/collections/{collectionId}', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.request_object = collection_object - command.response_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::Collection - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Updates a collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [Google::Apis::AndroidenterpriseV1::Collection] collection_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::Collection] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::Collection] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_collection(enterprise_id, collection_id, collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, 'enterprises/{enterpriseId}/collections/{collectionId}', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.request_object = collection_object - command.response_representation = Google::Apis::AndroidenterpriseV1::Collection::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::Collection - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Removes the user from the list of those specifically allowed to see the - # collection. If the collection's visibility is set to viewersOnly then only - # such users will see the collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] user_id - # The ID of the user. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method - # @yieldparam err [StandardError] error object if request failed - # - # @return [void] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_collection_viewer(enterprise_id, collection_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', options) - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the ID of the user if they have been specifically allowed to see the - # collection. If the collection's visibility is set to viewersOnly then only - # these users will see the collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] user_id - # The ID of the user. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::User] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::User] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_collection_viewer(enterprise_id, collection_id, user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', options) - command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::User - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the IDs of the users who have been specifically allowed to see the - # collection. If the collection's visibility is set to viewersOnly then only - # these users will see the collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::ListCollectionViewersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::ListCollectionViewersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_collection_viewers(enterprise_id, collection_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'enterprises/{enterpriseId}/collections/{collectionId}/users', options) - command.response_representation = Google::Apis::AndroidenterpriseV1::ListCollectionViewersResponse::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::ListCollectionViewersResponse - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Adds the user to the list of those specifically allowed to see the collection. - # If the collection's visibility is set to viewersOnly then only such users will - # see the collection. This method supports patch semantics. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] user_id - # The ID of the user. - # @param [Google::Apis::AndroidenterpriseV1::User] user_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::User] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::User] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_collection_viewer(enterprise_id, collection_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation - command.request_object = user_object - command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::User - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Adds the user to the list of those specifically allowed to see the collection. - # If the collection's visibility is set to viewersOnly then only such users will - # see the collection. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] collection_id - # The ID of the collection. - # @param [String] user_id - # The ID of the user. - # @param [Google::Apis::AndroidenterpriseV1::User] user_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::User] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::User] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_collection_viewer(enterprise_id, collection_id, user_id, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, 'enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::User::Representation - command.request_object = user_object - command.response_representation = Google::Apis::AndroidenterpriseV1::User::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::User - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['collectionId'] = collection_id unless collection_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Retrieves the details of a device. # @param [String] enterprise_id # The ID of the enterprise. @@ -745,9 +300,50 @@ module Google execute_or_queue_command(command, &block) end - # Deletes the binding between the EMM and enterprise. This is now deprecated; - # use this to unenroll customers that were previously enrolled with the 'insert' - # call, then enroll them again with the 'enroll' call. + # Returns a unique token to access an embeddable UI. To generate a web UI, pass + # the generated token into the managed Google Play javascript API. Each token + # may only be used to start one UI session. See the javascript API documentation + # for further information. + # @param [String] enterprise_id + # The ID of the enterprise. + # @param [Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec] administrator_web_token_spec_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AndroidenterpriseV1::AdministratorWebToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidenterpriseV1::AdministratorWebToken] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_enterprise_web_token(enterprise_id, administrator_web_token_spec_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'enterprises/{enterpriseId}/createWebToken', options) + command.request_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebTokenSpec::Representation + command.request_object = administrator_web_token_spec_object + command.response_representation = Google::Apis::AndroidenterpriseV1::AdministratorWebToken::Representation + command.response_class = Google::Apis::AndroidenterpriseV1::AdministratorWebToken + command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the binding between the EMM and enterprise. This is now deprecated. + # Use this method only to unenroll customers that were previously enrolled with + # the insert call, then enroll them again with the enroll call. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] fields @@ -943,7 +539,7 @@ module Google end # Returns the store layout for the enterprise. If the store layout has not been - # set, or if the store layout has no homepageId set, returns a NOT_FOUND error. + # set, returns "basic" as the store layout type and no homepage. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] fields @@ -1069,11 +665,16 @@ module Google # Multiple requests might be performed concurrently to retrieve notifications, # in which case the pending notifications (if any) will be split among each # caller, if any are pending. + # If no notifications are present, an empty notification list is returned. + # Subsequent requests may return more notifications once they become available. # @param [String] request_mode - # The request mode for pulling notifications. If omitted, defaults to - # WAIT_FOR_NOTIFCATIONS. - # If this is set to WAIT_FOR_NOTIFCATIONS, the request will eventually timeout, - # in which case it should be retried. + # The request mode for pulling notifications. + # Specifying waitForNotifications will cause the request to block and wait until + # one or more notifications are present, or return an empty notification list if + # no notifications are present after some time. + # Speciying returnImmediately will cause the request to immediately return the + # pending notifications, or an empty list if no notifications are present. + # If omitted, defaults to waitForNotifications. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1142,7 +743,8 @@ module Google execute_or_queue_command(command, &block) end - # Set the account that will be used to authenticate to the API as the enterprise. + # Sets the account that will be used to authenticate to the API as the + # enterprise. # @param [String] enterprise_id # The ID of the enterprise. # @param [Google::Apis::AndroidenterpriseV1::EnterpriseAccount] enterprise_account_object @@ -1180,7 +782,13 @@ module Google execute_or_queue_command(command, &block) end - # Sets the store layout for the enterprise. + # Sets the store layout for the enterprise. By default, storeLayoutType is set + # to "basic" and the basic store layout is enabled. The basic layout only + # contains apps approved by the admin, and that have been added to the available + # product set for a user (using the setAvailableProductSet call). Apps on the + # page are sorted in order of their product ID value. If you create a custom + # store layout (by setting storeLayoutType = "custom" and setting a homepage), + # the basic store layout is disabled. # @param [String] enterprise_id # The ID of the enterprise. # @param [Google::Apis::AndroidenterpriseV1::StoreLayout] store_layout_object @@ -1251,7 +859,7 @@ module Google execute_or_queue_command(command, &block) end - # Removes an entitlement to an app for a user and uninstalls it. + # Removes an entitlement to an app for a user. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] user_id @@ -1331,7 +939,7 @@ module Google execute_or_queue_command(command, &block) end - # List of all entitlements for the specified user. Only the ID is set. + # Lists all entitlements for the specified user. Only the ID is set. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] user_id @@ -1715,7 +1323,7 @@ module Google end # Requests to install the latest version of an app to a device. If the app is - # already installed then it is updated to the latest version if necessary. This + # already installed, then it is updated to the latest version if necessary. This # method supports patch semantics. # @param [String] enterprise_id # The ID of the enterprise. @@ -1765,7 +1373,7 @@ module Google end # Requests to install the latest version of an app to a device. If the app is - # already installed then it is updated to the latest version if necessary. + # already installed, then it is updated to the latest version if necessary. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] user_id @@ -2297,8 +1905,8 @@ module Google # Approves the specified product and the relevant app permissions, if any. The # maximum number of products that you can approve per enterprise customer is 1, # 000. - # To learn how to use Google Play for Work to design and create a store layout - # to display approved products to your users, see Store Layout Design. + # To learn how to use managed Google Play to design and create a store layout to + # display approved products to your users, see Store Layout Design. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] product_id @@ -2430,7 +2038,7 @@ module Google # Retrieves the schema that defines the configurable properties for this product. # All products have a schema, but this schema may be empty if no managed # configurations have been defined. This schema can be used to populate a UI - # that allows an administrator to configure the product. To apply a managed + # that allows an admin to configure the product. To apply a managed # configuration based on the schema obtained using this API, see Managed # Configurations through Play. # @param [String] enterprise_id @@ -2527,11 +2135,11 @@ module Google # not specified, uses a default value of 100, which is also the maximum # retrievable within a single response. # @param [String] query - # The search query as typed in the Google Play Store search box. If omitted, all + # The search query as typed in the Google Play store search box. If omitted, all # approved apps will be returned (using the pagination parameters), including # apps that are not available in the store (e.g. unpublished apps). # @param [String] token - # A pagination token is contained in a request’s response when there are more + # A pagination token is contained in a request''s response when there are more # products. The token can be used in a subsequent request to obtain more # products, and so forth. This parameter cannot be used in the initial request. # @param [String] fields @@ -2607,52 +2215,6 @@ module Google execute_or_queue_command(command, &block) end - # This method has been deprecated. To programmatically approve applications, you - # must use the iframe mechanism via the generateApprovalUrl and approve - # methods of the Products resource. For more information, see the Play EMM API - # usage requirements. - # The updatePermissions method (deprecated) updates the set of Android app - # permissions for this app that have been accepted by the enterprise. - # @param [String] enterprise_id - # The ID of the enterprise. - # @param [String] product_id - # The ID of the product. - # @param [Google::Apis::AndroidenterpriseV1::ProductPermissions] product_permissions_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AndroidenterpriseV1::ProductPermissions] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AndroidenterpriseV1::ProductPermissions] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_product_permissions(enterprise_id, product_id, product_permissions_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, 'enterprises/{enterpriseId}/products/{productId}/permissions', options) - command.request_representation = Google::Apis::AndroidenterpriseV1::ProductPermissions::Representation - command.request_object = product_permissions_object - command.response_representation = Google::Apis::AndroidenterpriseV1::ProductPermissions::Representation - command.response_class = Google::Apis::AndroidenterpriseV1::ProductPermissions - command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil? - command.params['productId'] = product_id unless product_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Removes and invalidates the specified credentials for the service account # associated with this enterprise. The calling service account must have been # retrieved by calling Enterprises.GetServiceAccount and must have been set as @@ -3326,8 +2888,9 @@ module Google execute_or_queue_command(command, &block) end - # Generates a token (activation code) to allow this user to configure their work - # account in the Android Setup Wizard. Revokes any previously generated token. + # Generates a token (activation code) to allow this user to configure their + # managed account in the Android Setup Wizard. Revokes any previously generated + # token. # This call only works with Google managed accounts. # @param [String] enterprise_id # The ID of the enterprise. @@ -3445,6 +3008,9 @@ module Google # Creates a new EMM-managed user. # The Users resource passed in the body of the request should include an # accountIdentifier and an accountType. + # If a corresponding user already exists with the same account identifier, the + # user will be updated with the resource. In this case only the displayName + # field can be changed. # @param [String] enterprise_id # The ID of the enterprise. # @param [Google::Apis::AndroidenterpriseV1::User] user_object @@ -3603,7 +3169,9 @@ module Google execute_or_queue_command(command, &block) end - # Modifies the set of products a user is entitled to access. + # Modifies the set of products that a user is entitled to access (referred to as + # whitelisted products). Only products that are approved or products that were + # previously approved (products with revoked approval) can be whitelisted. # @param [String] enterprise_id # The ID of the enterprise. # @param [String] user_id diff --git a/generated/google/apis/androidpublisher_v2.rb b/generated/google/apis/androidpublisher_v2.rb index 4a483e85f..4c28521a9 100644 --- a/generated/google/apis/androidpublisher_v2.rb +++ b/generated/google/apis/androidpublisher_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/android-publisher module AndroidpublisherV2 VERSION = 'V2' - REVISION = '20160816' + REVISION = '20170222' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/androidpublisher_v2/classes.rb b/generated/google/apis/androidpublisher_v2/classes.rb index 8cd5afbe8..9ed2905ac 100644 --- a/generated/google/apis/androidpublisher_v2/classes.rb +++ b/generated/google/apis/androidpublisher_v2/classes.rb @@ -277,6 +277,44 @@ module Google end end + # Represents a deobfuscation file. + class DeobfuscationFile + include Google::Apis::Core::Hashable + + # The type of the deobfuscation file. + # Corresponds to the JSON property `symbolType` + # @return [String] + attr_accessor :symbol_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @symbol_type = args[:symbol_type] if args.key?(:symbol_type) + end + end + + # + class DeobfuscationFilesUploadResponse + include Google::Apis::Core::Hashable + + # Represents a deobfuscation file. + # Corresponds to the JSON property `deobfuscationFile` + # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFile] + attr_accessor :deobfuscation_file + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file) + end + end + # class DeveloperComment include Google::Apis::Core::Hashable @@ -302,6 +340,85 @@ module Google end end + # + class DeviceMetadata + include Google::Apis::Core::Hashable + + # Device CPU make e.g. "Qualcomm" + # Corresponds to the JSON property `cpuMake` + # @return [String] + attr_accessor :cpu_make + + # Device CPU model e.g. "MSM8974" + # Corresponds to the JSON property `cpuModel` + # @return [String] + attr_accessor :cpu_model + + # Device class (e.g. tablet) + # Corresponds to the JSON property `deviceClass` + # @return [String] + attr_accessor :device_class + + # OpenGL version + # Corresponds to the JSON property `glEsVersion` + # @return [Fixnum] + attr_accessor :gl_es_version + + # Device manufacturer (e.g. Motorola) + # Corresponds to the JSON property `manufacturer` + # @return [String] + attr_accessor :manufacturer + + # Comma separated list of native platforms (e.g. "arm", "arm7") + # Corresponds to the JSON property `nativePlatform` + # @return [String] + attr_accessor :native_platform + + # Device model name (e.g. Droid) + # Corresponds to the JSON property `productName` + # @return [String] + attr_accessor :product_name + + # Device RAM in Megabytes e.g. "2048" + # Corresponds to the JSON property `ramMb` + # @return [Fixnum] + attr_accessor :ram_mb + + # Screen density in DPI + # Corresponds to the JSON property `screenDensityDpi` + # @return [Fixnum] + attr_accessor :screen_density_dpi + + # Screen height in pixels + # Corresponds to the JSON property `screenHeightPx` + # @return [Fixnum] + attr_accessor :screen_height_px + + # Screen width in pixels + # Corresponds to the JSON property `screenWidthPx` + # @return [Fixnum] + attr_accessor :screen_width_px + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cpu_make = args[:cpu_make] if args.key?(:cpu_make) + @cpu_model = args[:cpu_model] if args.key?(:cpu_model) + @device_class = args[:device_class] if args.key?(:device_class) + @gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version) + @manufacturer = args[:manufacturer] if args.key?(:manufacturer) + @native_platform = args[:native_platform] if args.key?(:native_platform) + @product_name = args[:product_name] if args.key?(:product_name) + @ram_mb = args[:ram_mb] if args.key?(:ram_mb) + @screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi) + @screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px) + @screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px) + end + end + # An Entitlement resource indicates a user's current entitlement to an inapp # item or subscription. class Entitlement @@ -1466,6 +1583,12 @@ module Google # @return [String] attr_accessor :start_time_millis + # The time at which the subscription was canceled by the user, in milliseconds + # since the epoch. Only present if cancelReason is 0. + # Corresponds to the JSON property `userCancellationTimeMillis` + # @return [String] + attr_accessor :user_cancellation_time_millis + def initialize(**args) update!(**args) end @@ -1482,6 +1605,7 @@ module Google @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros) @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code) @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis) + @user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis) end end @@ -1683,11 +1807,22 @@ module Google # @return [String] attr_accessor :device + # Some information about the characteristics of the user's device + # Corresponds to the JSON property `deviceMetadata` + # @return [Google::Apis::AndroidpublisherV2::DeviceMetadata] + attr_accessor :device_metadata + # The last time at which this comment was updated. # Corresponds to the JSON property `lastModified` # @return [Google::Apis::AndroidpublisherV2::Timestamp] attr_accessor :last_modified + # Untranslated text of the review, in the case where the review has been + # translated. If the review has not been translated this is left blank. + # Corresponds to the JSON property `originalText` + # @return [String] + attr_accessor :original_text + # Language code for the reviewer. This is taken from the device settings so is # not guaranteed to match the language the review is written in. May be absent. # Corresponds to the JSON property `reviewerLanguage` @@ -1706,6 +1841,16 @@ module Google # @return [String] attr_accessor :text + # Number of users who have given this review a thumbs down + # Corresponds to the JSON property `thumbsDownCount` + # @return [Fixnum] + attr_accessor :thumbs_down_count + + # Number of users who have given this review a thumbs up + # Corresponds to the JSON property `thumbsUpCount` + # @return [Fixnum] + attr_accessor :thumbs_up_count + def initialize(**args) update!(**args) end @@ -1716,10 +1861,86 @@ module Google @app_version_code = args[:app_version_code] if args.key?(:app_version_code) @app_version_name = args[:app_version_name] if args.key?(:app_version_name) @device = args[:device] if args.key?(:device) + @device_metadata = args[:device_metadata] if args.key?(:device_metadata) @last_modified = args[:last_modified] if args.key?(:last_modified) + @original_text = args[:original_text] if args.key?(:original_text) @reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language) @star_rating = args[:star_rating] if args.key?(:star_rating) @text = args[:text] if args.key?(:text) + @thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count) + @thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count) + end + end + + # A VoidedPurchase resource indicates a purchase that was either cancelled/ + # refunded/charged-back. + class VoidedPurchase + include Google::Apis::Core::Hashable + + # This kind represents a voided purchase object in the androidpublisher service. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The time at which the purchase was made, in milliseconds since the epoch (Jan + # 1, 1970). + # Corresponds to the JSON property `purchaseTimeMillis` + # @return [String] + attr_accessor :purchase_time_millis + + # The token that was generated when a purchase was made. This uniquely + # identifies a purchase. + # Corresponds to the JSON property `purchaseToken` + # @return [String] + attr_accessor :purchase_token + + # The time at which the purchase was cancelled/refunded/charged-back, in + # milliseconds since the epoch (Jan 1, 1970). + # Corresponds to the JSON property `voidedTimeMillis` + # @return [String] + attr_accessor :voided_time_millis + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis) + @purchase_token = args[:purchase_token] if args.key?(:purchase_token) + @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis) + end + end + + # + class VoidedPurchasesListResponse + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::AndroidpublisherV2::PageInfo] + attr_accessor :page_info + + # + # Corresponds to the JSON property `tokenPagination` + # @return [Google::Apis::AndroidpublisherV2::TokenPagination] + attr_accessor :token_pagination + + # + # Corresponds to the JSON property `voidedPurchases` + # @return [Array] + attr_accessor :voided_purchases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_info = args[:page_info] if args.key?(:page_info) + @token_pagination = args[:token_pagination] if args.key?(:token_pagination) + @voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases) end end end diff --git a/generated/google/apis/androidpublisher_v2/representations.rb b/generated/google/apis/androidpublisher_v2/representations.rb index 7576c4912..6b1d3054f 100644 --- a/generated/google/apis/androidpublisher_v2/representations.rb +++ b/generated/google/apis/androidpublisher_v2/representations.rb @@ -82,12 +82,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeobfuscationFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeobfuscationFilesUploadResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DeveloperComment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class DeviceMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Entitlement class Representation < Google::Apis::Core::JsonRepresentation; end @@ -352,6 +370,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VoidedPurchase + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VoidedPurchasesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Apk # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -438,6 +468,21 @@ module Google end end + class DeobfuscationFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :symbol_type, as: 'symbolType' + end + end + + class DeobfuscationFilesUploadResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV2::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV2::DeobfuscationFile::Representation + + end + end + class DeveloperComment # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -447,6 +492,23 @@ module Google end end + class DeviceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cpu_make, as: 'cpuMake' + property :cpu_model, as: 'cpuModel' + property :device_class, as: 'deviceClass' + property :gl_es_version, as: 'glEsVersion' + property :manufacturer, as: 'manufacturer' + property :native_platform, as: 'nativePlatform' + property :product_name, as: 'productName' + property :ram_mb, as: 'ramMb' + property :screen_density_dpi, as: 'screenDensityDpi' + property :screen_height_px, as: 'screenHeightPx' + property :screen_width_px, as: 'screenWidthPx' + end + end + class Entitlement # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -807,6 +869,7 @@ module Google property :price_amount_micros, as: 'priceAmountMicros' property :price_currency_code, as: 'priceCurrencyCode' property :start_time_millis, as: 'startTimeMillis' + property :user_cancellation_time_millis, as: 'userCancellationTimeMillis' end end @@ -874,11 +937,38 @@ module Google property :app_version_code, as: 'appVersionCode' property :app_version_name, as: 'appVersionName' property :device, as: 'device' + property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV2::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV2::DeviceMetadata::Representation + property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation + property :original_text, as: 'originalText' property :reviewer_language, as: 'reviewerLanguage' property :star_rating, as: 'starRating' property :text, as: 'text' + property :thumbs_down_count, as: 'thumbsDownCount' + property :thumbs_up_count, as: 'thumbsUpCount' + end + end + + class VoidedPurchase + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :purchase_time_millis, as: 'purchaseTimeMillis' + property :purchase_token, as: 'purchaseToken' + property :voided_time_millis, as: 'voidedTimeMillis' + end + end + + class VoidedPurchasesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation + + property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation + + collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV2::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV2::VoidedPurchase::Representation + end end end diff --git a/generated/google/apis/androidpublisher_v2/service.rb b/generated/google/apis/androidpublisher_v2/service.rb index 2f1048b0d..41c3f104a 100644 --- a/generated/google/apis/androidpublisher_v2/service.rb +++ b/generated/google/apis/androidpublisher_v2/service.rb @@ -660,6 +660,61 @@ module Google execute_or_queue_command(command, &block) end + # Uploads the deobfuscation file of the specified APK. If a deobfuscation file + # already exists, it will be replaced. + # @param [String] package_name + # Unique identifier of the Android app for which the deobfuscatiuon files are + # being uploaded; for example, "com.spiffygame". + # @param [String] edit_id + # Unique identifier for this edit. + # @param [Fixnum] apk_version_code + # The version code of the APK whose deobfuscation file is being uploaded. + # @param [String] deobfuscation_file_type + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [IO, String] upload_source + # IO stream or filename containing content to upload + # @param [String] content_type + # Content type of the uploaded content. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + if upload_source.nil? + command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options) + else + command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options) + command.upload_source = upload_source + command.upload_content_type = content_type + end + command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation + command.response_class = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse + command.params['packageName'] = package_name unless package_name.nil? + command.params['editId'] = edit_id unless edit_id.nil? + command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil? + command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Fetches app details for this edit. This includes the default language and # developer support contact information. # @param [String] package_name @@ -2325,11 +2380,66 @@ module Google execute_or_queue_command(command, &block) end + # Lists the purchases that were cancelled, refunded or charged-back. + # @param [String] package_name + # The package name of the application for which voided purchases need to be + # returned (for example, 'com.some.thing'). + # @param [String] end_time + # The time, in milliseconds since the Epoch, of the newest voided in-app product + # purchase that you want to see in the response. The value of this parameter + # cannot be greater than the current time and is ignored if a pagination token + # is set. Default value is current time. + # @param [Fixnum] max_results + # @param [Fixnum] start_index + # @param [String] start_time + # The time, in milliseconds since the Epoch, of the oldest voided in-app product + # purchase that you want to see in the response. The value of this parameter + # cannot be older than 30 days and is ignored if a pagination token is set. + # Default value is current time minus 30 days. + # @param [String] token + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options) + command.response_representation = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse::Representation + command.response_class = Google::Apis::AndroidpublisherV2::VoidedPurchasesListResponse + command.params['packageName'] = package_name unless package_name.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['startIndex'] = start_index unless start_index.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['token'] = token unless token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns a single review. # @param [String] package_name # Unique identifier for the Android app for which we want reviews; for example, " # com.spiffygame". # @param [String] review_id + # @param [String] translation_language # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2351,25 +2461,27 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_review(package_name, review_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options) command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation command.response_class = Google::Apis::AndroidpublisherV2::Review command.params['packageName'] = package_name unless package_name.nil? command.params['reviewId'] = review_id unless review_id.nil? + command.query['translationLanguage'] = translation_language unless translation_language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Returns a list of reviews. + # Returns a list of reviews. Only reviews from last week will be returned. # @param [String] package_name # Unique identifier for the Android app for which we want reviews; for example, " # com.spiffygame". # @param [Fixnum] max_results # @param [Fixnum] start_index # @param [String] token + # @param [String] translation_language # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2391,7 +2503,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{packageName}/reviews', options) command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse @@ -2399,6 +2511,7 @@ module Google command.query['maxResults'] = max_results unless max_results.nil? command.query['startIndex'] = start_index unless start_index.nil? command.query['token'] = token unless token.nil? + command.query['translationLanguage'] = translation_language unless translation_language.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? diff --git a/generated/google/apis/appengine_v1beta5.rb b/generated/google/apis/appengine_v1beta5.rb index 61b55a3c3..76e0e45c1 100644 --- a/generated/google/apis/appengine_v1beta5.rb +++ b/generated/google/apis/appengine_v1beta5.rb @@ -25,10 +25,16 @@ module Google # @see https://cloud.google.com/appengine/docs/admin-api/ module AppengineV1beta5 VERSION = 'V1beta5' - REVISION = '20160802' + REVISION = '20170324' + + # View and manage your applications deployed on Google App Engine + AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' end end end diff --git a/generated/google/apis/appengine_v1beta5/classes.rb b/generated/google/apis/appengine_v1beta5/classes.rb index 4580c7b00..cfdf820b1 100644 --- a/generated/google/apis/appengine_v1beta5/classes.rb +++ b/generated/google/apis/appengine_v1beta5/classes.rb @@ -22,14 +22,39 @@ module Google module Apis module AppengineV1beta5 + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation include Google::Apis::Core::Hashable # 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`. + # originally returns it. If you use the default HTTP mapping, the name should + # have the format of operations/some/unique/name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -42,56 +67,55 @@ module Google # @return [Hash] attr_accessor :metadata - # 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. + # 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. # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # 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. + # 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. # Corresponds to the JSON property `error` # @return [Google::Apis::AppengineV1beta5::Status] attr_accessor :error # 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`. + # 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. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response @@ -110,38 +134,37 @@ module Google end end - # 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. + # 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. class Status include Google::Apis::Core::Hashable @@ -175,37 +198,12 @@ module Google end end - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operations = args[:operations] if args.key?(:operations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - # An Application resource contains the top-level configuration of an App Engine # application. class Application include Google::Apis::Core::Hashable - # Full path to the Application resource in the API. Example: `apps/myapp`. @ + # Full path to the Application resource in the API. Example: apps/myapp.@ # OutputOnly # Corresponds to the JSON property `name` # @return [String] @@ -213,55 +211,59 @@ module Google # 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`. + # application. Example: myapp. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id # 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.@OutputOnly # Corresponds to the JSON property `dispatchRules` # @return [Array] attr_accessor :dispatch_rules # Google Apps authentication domain that controls which users can access this - # application. Defaults to open access for any Google Account. + # application.Defaults to open access for any Google Account. # Corresponds to the JSON property `authDomain` # @return [String] attr_accessor :auth_domain # 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 US `europe-west` - Western Europe `us-east1` - - # Eastern US + # application's end user content is stored.Defaults to us-central.Options are:us- + # central - Central USeurope-west - Western Europeus-east1 - Eastern US # Corresponds to the JSON property `location` # @return [String] attr_accessor :location # A 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 + # be used by the gcloud deployment commands.@OutputOnly # Corresponds to the JSON property `codeBucket` # @return [String] attr_accessor :code_bucket - # Cookie expiration policy for this application. @OutputOnly + # Cookie expiration policy for this application. # Corresponds to the JSON property `defaultCookieExpiration` # @return [String] attr_accessor :default_cookie_expiration - # Hostname used to reach the application, as resolved by App Engine. @OutputOnly + # Hostname used to reach the application, as resolved by App Engine.@OutputOnly # Corresponds to the JSON property `defaultHostname` # @return [String] attr_accessor :default_hostname # A Google Cloud Storage bucket that can be used by the application to store - # content. @OutputOnly + # content.@OutputOnly # Corresponds to the JSON property `defaultBucket` # @return [String] attr_accessor :default_bucket + # Identity-Aware Proxy + # Corresponds to the JSON property `iap` + # @return [Google::Apis::AppengineV1beta5::IdentityAwareProxy] + attr_accessor :iap + def initialize(**args) update!(**args) end @@ -277,6 +279,7 @@ module Google @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration) @default_hostname = args[:default_hostname] if args.key?(:default_hostname) @default_bucket = args[:default_bucket] if args.key?(:default_bucket) + @iap = args[:iap] if args.key?(:iap) end end @@ -284,21 +287,21 @@ module Google class UrlDispatchRule include Google::Apis::Core::Hashable - # Domain name to match against. The wildcard "`*`" is supported if specified - # before a period: "`*.`". Defaults to matching all domains: "`*`". + # Domain name to match against. The wildcard "*" is supported if specified + # before a period: "*.".Defaults to matching all domains: "*". # Corresponds to the JSON property `domain` # @return [String] attr_accessor :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 path - # may not exceed 100 characters. + # 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. # Corresponds to the JSON property `path` # @return [String] attr_accessor :path # Resource id of a service in this application that should serve the matched - # request. The service must already exist. Example: `default`. + # request. The service must already exist. Example: default. # Corresponds to the JSON property `service` # @return [String] attr_accessor :service @@ -315,20 +318,62 @@ module Google end end + # Identity-Aware Proxy + class IdentityAwareProxy + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # OAuth2 client ID to use for the authentication flow. + # Corresponds to the JSON property `oauth2ClientId` + # @return [String] + attr_accessor :oauth2_client_id + + # 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 + # Corresponds to the JSON property `oauth2ClientSecret` + # @return [String] + attr_accessor :oauth2_client_secret + + # Hex-encoded SHA-256 hash of the client secret.@OutputOnly + # Corresponds to the JSON property `oauth2ClientSecretSha256` + # @return [String] + attr_accessor :oauth2_client_secret_sha256 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret) + @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256) + end + end + # A Version resource is a specific set of source code and configuration files # that are deployed into a service. class Version include Google::Apis::Core::Hashable - # Full path to the Version resource in the API. Example: `apps/myapp/services/ - # default/versions/v1`. @OutputOnly + # Full path to the Version resource in the API. Example: apps/myapp/services/ + # default/versions/v1.@OutputOnly # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Relative name of the version within the module. Example: `v1`. Version names - # can contain only lowercase letters, numbers, or hyphens. Reserved names: " - # default", "latest", and any name with the prefix "ah-". + # Relative name of the version within the module. Example: v1. Version names can + # contain only lowercase letters, numbers, or hyphens. Reserved names: "default", + # "latest", and any name with the prefix "ah-". # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -359,10 +404,10 @@ module Google # @return [Array] attr_accessor :inbound_services - # 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_1G` Defaults to `F1` for AutomaticScaling and `B1` - # for ManualScaling or BasicScaling. + # 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. # Corresponds to the JSON property `instanceClass` # @return [String] attr_accessor :instance_class @@ -377,7 +422,7 @@ module Google # @return [Google::Apis::AppengineV1beta5::Resources] attr_accessor :resources - # Desired runtime. Example: `python27`. + # Desired runtime. Example: python27. # Corresponds to the JSON property `runtime` # @return [String] attr_accessor :runtime @@ -400,70 +445,69 @@ module Google # @return [Hash] attr_accessor :beta_settings - # App Engine execution environment to use for this version. Defaults to `1`. + # App Engine execution environment to use for this version.Defaults to 1. # Corresponds to the JSON property `env` # @return [String] attr_accessor :env - # 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`. + # 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. # Corresponds to the JSON property `servingStatus` # @return [String] attr_accessor :serving_status - # Email address of the user who created this version. @OutputOnly + # Email address of the user who created this version.@OutputOnly # Corresponds to the JSON property `deployer` # @return [String] attr_accessor :deployer - # Time that this version was created. @OutputOnly + # Time that this version was created.@OutputOnly # Corresponds to the JSON property `creationTime` # @return [String] attr_accessor :creation_time - # Total size of version files hosted on App Engine disk in bytes. @OutputOnly + # Total size of version files hosted on App Engine disk in bytes.@OutputOnly # Corresponds to the JSON property `diskUsageBytes` # @return [String] attr_accessor :disk_usage_bytes # 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. + # handlers are not attempted.Only returned in GET requests if view=FULL is set. # Corresponds to the JSON property `handlers` # @return [Array] attr_accessor :handlers - # Custom static error pages. Limited to 10KB per page. Only returned in `GET` - # requests if `view=FULL` is set. + # Custom static error pages. Limited to 10KB per page.Only returned in GET + # requests if view=FULL is set. # Corresponds to the JSON property `errorHandlers` # @return [Array] attr_accessor :error_handlers # Configuration for third-party Python runtime libraries required by the - # application. Only returned in `GET` requests if `view=FULL` is set. + # application.Only returned in GET requests if view=FULL is set. # Corresponds to the JSON property `libraries` # @return [Array] attr_accessor :libraries - # [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/ + # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ # endpoints/) configuration for API handlers. # Corresponds to the JSON property `apiConfig` # @return [Google::Apis::AppengineV1beta5::ApiConfigHandler] attr_accessor :api_config - # Environment variables made available to the application. Only returned in `GET` - # requests if `view=FULL` is set. + # Environment variables made available to the application.Only returned in GET + # requests if view=FULL is set. # Corresponds to the JSON property `envVariables` # @return [Hash] attr_accessor :env_variables # Duration that static files should be cached by web proxies and browsers. Only - # applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/ + # applicable if the corresponding StaticFilesHandler (https://cloud.google.com/ # appengine/docs/admin-api/reference/rest/v1/apps.services.versions# - # staticfileshandler) does not specify its own expiration time. Only returned in - # `GET` requests if `view=FULL` is set. + # staticfileshandler) does not specify its own expiration time.Only returned in + # GET requests if view=FULL is set. # Corresponds to the JSON property `defaultExpiration` # @return [String] attr_accessor :default_expiration @@ -476,8 +520,7 @@ module Google attr_accessor :health_check # 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. + # applicable for Go runtimes.Only returned in GET requests if view=FULL is set. # Corresponds to the JSON property `nobuildFilesRegex` # @return [String] attr_accessor :nobuild_files_regex @@ -487,6 +530,15 @@ module Google # @return [Google::Apis::AppengineV1beta5::Deployment] attr_accessor :deployment + # 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). + # Corresponds to the JSON property `endpointsApiService` + # @return [Google::Apis::AppengineV1beta5::EndpointsApiService] + attr_accessor :endpoints_api_service + def initialize(**args) update!(**args) end @@ -520,6 +572,7 @@ module Google @health_check = args[:health_check] if args.key?(:health_check) @nobuild_files_regex = args[:nobuild_files_regex] if args.key?(:nobuild_files_regex) @deployment = args[:deployment] if args.key?(:deployment) + @endpoints_api_service = args[:endpoints_api_service] if args.key?(:endpoints_api_service) end end @@ -528,7 +581,7 @@ module Google class AutomaticScaling include Google::Apis::Core::Hashable - # Amount of time that the [Autoscaler](https://cloud.google.com/compute/docs/ + # 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. # Corresponds to the JSON property `coolDownPeriod` @@ -541,7 +594,7 @@ module Google attr_accessor :cpu_utilization # Number of concurrent requests an automatic scaling instance can accept before - # the scheduler spawns a new instance. Defaults to a runtime-specific value. + # the scheduler spawns a new instance.Defaults to a runtime-specific value. # Corresponds to the JSON property `maxConcurrentRequests` # @return [Fixnum] attr_accessor :max_concurrent_requests @@ -774,8 +827,8 @@ module Google include Google::Apis::Core::Hashable # 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. + # later be altered by using the Modules API (https://cloud.google.com/appengine/ + # docs/python/modules/functions) set_num_instances() function. # Corresponds to the JSON property `instances` # @return [Fixnum] attr_accessor :instances @@ -806,11 +859,27 @@ module Google attr_accessor :instance_tag # Google Cloud Platform network where the virtual machines are created. Specify - # the short name, not the resource path. Defaults to `default`. + # the short name, not the resource path.Defaults to default. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # 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. + # Corresponds to the JSON property `subnetworkName` + # @return [String] + attr_accessor :subnetwork_name + def initialize(**args) update!(**args) end @@ -820,6 +889,7 @@ module Google @forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports) @instance_tag = args[:instance_tag] if args.key?(:instance_tag) @name = args[:name] if args.key?(:name) + @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name) end end @@ -842,6 +912,11 @@ module Google # @return [Float] attr_accessor :memory_gb + # Volumes mounted within the app container. + # Corresponds to the JSON property `volumes` + # @return [Array] + attr_accessor :volumes + def initialize(**args) update!(**args) end @@ -851,6 +926,38 @@ module Google @cpu = args[:cpu] if args.key?(:cpu) @disk_gb = args[:disk_gb] if args.key?(:disk_gb) @memory_gb = args[:memory_gb] if args.key?(:memory_gb) + @volumes = args[:volumes] if args.key?(:volumes) + end + end + + # Volumes mounted within the app container. Only applicable for VM runtimes. + class Volume + include Google::Apis::Core::Hashable + + # Unique name for the volume. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Underlying volume type, e.g. 'tmpfs'. + # Corresponds to the JSON property `volumeType` + # @return [String] + attr_accessor :volume_type + + # Volume size in gigabytes. + # Corresponds to the JSON property `sizeGb` + # @return [Float] + attr_accessor :size_gb + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @volume_type = args[:volume_type] if args.key?(:volume_type) + @size_gb = args[:size_gb] if args.key?(:size_gb) end end @@ -896,13 +1003,13 @@ module Google attr_accessor :login # Action to take when users access resources that require authentication. - # Defaults to `redirect`. + # Defaults to redirect. # Corresponds to the JSON property `authFailAction` # @return [String] attr_accessor :auth_fail_action - # `30x` code to use when performing redirects for the `secure` field. Defaults - # to `302`. + # 30x code to use when performing redirects for the secure field. Defaults to + # 302. # Corresponds to the JSON property `redirectHttpResponseCode` # @return [String] attr_accessor :redirect_http_response_code @@ -1042,7 +1149,7 @@ module Google # @return [String] attr_accessor :static_file - # MIME type of file. Defaults to `text/html`. + # MIME type of file. Defaults to text/html. # Corresponds to the JSON property `mimeType` # @return [String] attr_accessor :mime_type @@ -1084,18 +1191,18 @@ module Google end end - # [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/ + # Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/ # endpoints/) configuration for API handlers. class ApiConfigHandler include Google::Apis::Core::Hashable # Action to take when users access resources that require authentication. - # Defaults to `redirect`. + # Defaults to redirect. # Corresponds to the JSON property `authFailAction` # @return [String] attr_accessor :auth_fail_action - # Level of login required to access this resource. Defaults to `optional`. + # Level of login required to access this resource. Defaults to optional. # Corresponds to the JSON property `login` # @return [String] attr_accessor :login @@ -1201,7 +1308,9 @@ module Google # @return [Hash] attr_accessor :files - # 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. # Corresponds to the JSON property `container` # @return [Google::Apis::AppengineV1beta5::ContainerInfo] attr_accessor :container @@ -1231,7 +1340,7 @@ module Google include Google::Apis::Core::Hashable # 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/\/\'. + # Cloud Storage in the form 'http(s)://storage.googleapis.com//'. # Corresponds to the JSON property `sourceUrl` # @return [String] attr_accessor :source_url @@ -1241,7 +1350,7 @@ module Google # @return [String] attr_accessor :sha1_sum - # The MIME type of the file. Defaults to the value from Google Cloud Storage. + # The MIME type of the file.Defaults to the value from Google Cloud Storage. # Corresponds to the JSON property `mimeType` # @return [String] attr_accessor :mime_type @@ -1258,12 +1367,14 @@ module Google end end - # 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 include Google::Apis::Core::Hashable - # 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/ + # 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" # Corresponds to the JSON property `image` # @return [String] @@ -1308,7 +1419,38 @@ module Google end end - # Response message for `Versions.ListVersions`. + # 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). + class EndpointsApiService + include Google::Apis::Core::Hashable + + # Endpoints service name which is the name of the "service" resource in the + # Service Management API. For example "myapi.endpoints.myproject.cloud.goog" + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Endpoints service configuration id as specified by the Service Management API. + # For example "2016-09-19r1" + # Corresponds to the JSON property `configId` + # @return [String] + attr_accessor :config_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @config_id = args[:config_id] if args.key?(:config_id) + end + end + + # Response message for Versions.ListVersions. class ListVersionsResponse include Google::Apis::Core::Hashable @@ -1342,13 +1484,13 @@ module Google class Service include Google::Apis::Core::Hashable - # Full path to the Service resource in the API. Example: `apps/myapp/services/ - # default`. @OutputOnly + # Full path to the Service resource in the API. Example: apps/myapp/services/ + # default.@OutputOnly # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Relative name of the service within the application. Example: `default`. @ + # Relative name of the service within the application. Example: default.@ # OutputOnly # Corresponds to the JSON property `id` # @return [String] @@ -1406,7 +1548,7 @@ module Google end end - # Response message for `Services.ListServices`. + # Response message for Services.ListServices. class ListServicesResponse include Google::Apis::Core::Hashable @@ -1436,89 +1578,95 @@ module Google class Instance include Google::Apis::Core::Hashable - # Full path to the Instance resource in the API. Example: `apps/myapp/services/ - # default/versions/v1/instances/instance-1`. @OutputOnly + # Full path to the Instance resource in the API. Example: apps/myapp/services/ + # default/versions/v1/instances/instance-1.@OutputOnly # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Relative name of the instance within the version. Example: `instance-1`. @ + # Relative name of the instance within the version. Example: instance-1.@ # OutputOnly # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # App Engine release this instance is running on. @OutputOnly + # App Engine release this instance is running on.@OutputOnly # Corresponds to the JSON property `appEngineRelease` # @return [String] attr_accessor :app_engine_release - # Availability of the instance. @OutputOnly + # Availability of the instance.@OutputOnly # Corresponds to the JSON property `availability` # @return [String] attr_accessor :availability # Name of the virtual machine where this instance lives. Only applicable for - # instances in App Engine flexible environment. @OutputOnly + # instances in App Engine flexible environment.@OutputOnly # Corresponds to the JSON property `vmName` # @return [String] attr_accessor :vm_name # Zone where the virtual machine is located. Only applicable for instances in - # App Engine flexible environment. @OutputOnly + # App Engine flexible environment.@OutputOnly # Corresponds to the JSON property `vmZoneName` # @return [String] attr_accessor :vm_zone_name # Virtual machine ID of this instance. Only applicable for instances in App - # Engine flexible environment. @OutputOnly + # Engine flexible environment.@OutputOnly # Corresponds to the JSON property `vmId` # @return [String] attr_accessor :vm_id - # Time that this instance was started. @OutputOnly + # Time that this instance was started.@OutputOnly # Corresponds to the JSON property `startTimestamp` # @return [String] attr_accessor :start_timestamp - # Number of requests since this instance was started. @OutputOnly + # Number of requests since this instance was started.@OutputOnly # Corresponds to the JSON property `requests` # @return [Fixnum] attr_accessor :requests - # Number of errors since this instance was started. @OutputOnly + # Number of errors since this instance was started.@OutputOnly # Corresponds to the JSON property `errors` # @return [Fixnum] attr_accessor :errors - # Average queries per second (QPS) over the last minute. @OutputOnly + # Average queries per second (QPS) over the last minute.@OutputOnly # Corresponds to the JSON property `qps` # @return [Float] attr_accessor :qps - # Average latency (ms) over the last minute. @OutputOnly + # Average latency (ms) over the last minute.@OutputOnly # Corresponds to the JSON property `averageLatency` # @return [Fixnum] attr_accessor :average_latency - # Total memory in use (bytes). @OutputOnly + # Total memory in use (bytes).@OutputOnly # Corresponds to the JSON property `memoryUsage` # @return [String] attr_accessor :memory_usage # Status of the virtual machine where this instance lives. Only applicable for - # instances in App Engine flexible environment. @OutputOnly + # instances in App Engine flexible environment.@OutputOnly # Corresponds to the JSON property `vmStatus` # @return [String] attr_accessor :vm_status # Whether this instance is in debug mode. Only applicable for instances in App - # Engine flexible environment. @OutputOnly + # Engine flexible environment.@OutputOnly # Corresponds to the JSON property `vmUnlocked` # @return [Boolean] attr_accessor :vm_unlocked alias_method :vm_unlocked?, :vm_unlocked + # The IP address of this instance. Only applicable for instances in App Engine + # flexible environment.@OutputOnly + # Corresponds to the JSON property `vmIp` + # @return [String] + attr_accessor :vm_ip + def initialize(**args) update!(**args) end @@ -1540,10 +1688,11 @@ module Google @memory_usage = args[:memory_usage] if args.key?(:memory_usage) @vm_status = args[:vm_status] if args.key?(:vm_status) @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked) + @vm_ip = args[:vm_ip] if args.key?(:vm_ip) end end - # Response message for `Instances.ListInstances`. + # Response message for Instances.ListInstances. class ListInstancesResponse include Google::Apis::Core::Hashable @@ -1568,20 +1717,30 @@ module Google end end - # Request message for `Instances.DebugInstance`. + # Request message for Instances.DebugInstance. class DebugInstanceRequest include Google::Apis::Core::Hashable + # 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) + # . + # Corresponds to the JSON property `sshKey` + # @return [String] + attr_accessor :ssh_key + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @ssh_key = args[:ssh_key] if args.key?(:ssh_key) end end - # The response message for LocationService.ListLocations. + # The response message for Locations.ListLocations. class ListLocationsResponse include Google::Apis::Core::Hashable @@ -1611,12 +1770,12 @@ module Google include Google::Apis::Core::Hashable # Resource name for the location, which may vary between implementations. For - # example: `"projects/example-project/locations/us-east1"` + # example: "projects/example-project/locations/us-east1" # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The cononical id for this location. For example: `"us-east1"`. + # The canonical id for this location. For example: "us-east1". # Corresponds to the JSON property `locationId` # @return [String] attr_accessor :location_id @@ -1647,38 +1806,83 @@ module Google end # Metadata for the given google.longrunning.Operation. - class OperationMetadata + class OperationMetadataExperimental include Google::Apis::Core::Hashable - # Type of this operation. Deprecated, use method field instead. Example: " - # create_version". @OutputOnly - # Corresponds to the JSON property `operationType` + # API method that initiated this operation. Example: google.appengine. + # experimental.CustomDomains.CreateCustomDomain.@OutputOnly + # Corresponds to the JSON property `method` # @return [String] - attr_accessor :operation_type + attr_accessor :method_prop - # Timestamp that this operation was created. @OutputOnly + # Time that this operation was created.@OutputOnly # Corresponds to the JSON property `insertTime` # @return [String] attr_accessor :insert_time - # Timestamp that this operation completed. @OutputOnly + # Time that this operation completed.@OutputOnly # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # User who requested this operation. @OutputOnly + # User who requested this operation.@OutputOnly # Corresponds to the JSON property `user` # @return [String] attr_accessor :user - # Name of the resource that this operation is acting on. Example: `apps/myapp/ - # modules/default`. @OutputOnly + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # customDomains/example.com.@OutputOnly # Corresponds to the JSON property `target` # @return [String] attr_accessor :target - # API method that initiated this operation. Example: `google.appengine.v1beta4. - # Version.CreateVersion`. @OutputOnly + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @end_time = args[:end_time] if args.key?(:end_time) + @user = args[:user] if args.key?(:user) + @target = args[:target] if args.key?(:target) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadata + include Google::Apis::Core::Hashable + + # Type of this operation. Deprecated, use method field instead. Example: " + # create_version".@OutputOnly + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # Timestamp that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # Timestamp that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # modules/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # API method that initiated this operation. Example: google.appengine.v1beta4. + # Version.CreateVersion.@OutputOnly # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop @@ -1702,29 +1906,29 @@ module Google class OperationMetadataV1Beta5 include Google::Apis::Core::Hashable - # API method name that initiated this operation. Example: `google.appengine. - # v1beta5.Version.CreateVersion`. @OutputOnly + # API method name that initiated this operation. Example: google.appengine. + # v1beta5.Version.CreateVersion.@OutputOnly # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop - # Timestamp that this operation was created. @OutputOnly + # Timestamp that this operation was created.@OutputOnly # Corresponds to the JSON property `insertTime` # @return [String] attr_accessor :insert_time - # Timestamp that this operation completed. @OutputOnly + # Timestamp that this operation completed.@OutputOnly # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # User who requested this operation. @OutputOnly + # User who requested this operation.@OutputOnly # Corresponds to the JSON property `user` # @return [String] attr_accessor :user - # Name of the resource that this operation is acting on. Example: `apps/myapp/ - # services/default`. @OutputOnly + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly # Corresponds to the JSON property `target` # @return [String] attr_accessor :target @@ -1744,36 +1948,47 @@ module Google end # Metadata for the given google.longrunning.Operation. - class OperationMetadataV1 + class OperationMetadataV1Beta include Google::Apis::Core::Hashable - # API method that initiated this operation. Example: `google.appengine.v1. - # Versions.CreateVersion`. @OutputOnly + # API method that initiated this operation. Example: google.appengine.v1beta. + # Versions.CreateVersion.@OutputOnly # Corresponds to the JSON property `method` # @return [String] attr_accessor :method_prop - # Time that this operation was created. @OutputOnly + # Time that this operation was created.@OutputOnly # Corresponds to the JSON property `insertTime` # @return [String] attr_accessor :insert_time - # Time that this operation completed. @OutputOnly + # Time that this operation completed.@OutputOnly # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # User who requested this operation. @OutputOnly + # User who requested this operation.@OutputOnly # Corresponds to the JSON property `user` # @return [String] attr_accessor :user - # Name of the resource that this operation is acting on. Example: `apps/myapp/ - # services/default`. @OutputOnly + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly # Corresponds to the JSON property `target` # @return [String] attr_accessor :target + # Ephemeral message that may change every time the operation is polled. @ + # OutputOnly + # Corresponds to the JSON property `ephemeralMessage` + # @return [String] + attr_accessor :ephemeral_message + + # Durable messages that persist on every operation poll. @OutputOnly + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + def initialize(**args) update!(**args) end @@ -1785,6 +2000,66 @@ module Google @end_time = args[:end_time] if args.key?(:end_time) @user = args[:user] if args.key?(:user) @target = args[:target] if args.key?(:target) + @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) + @warning = args[:warning] if args.key?(:warning) + end + end + + # Metadata for the given google.longrunning.Operation. + class OperationMetadataV1 + include Google::Apis::Core::Hashable + + # API method that initiated this operation. Example: google.appengine.v1. + # Versions.CreateVersion.@OutputOnly + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # Time that this operation was created.@OutputOnly + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # Time that this operation completed.@OutputOnly + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # User who requested this operation.@OutputOnly + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Name of the resource that this operation is acting on. Example: apps/myapp/ + # services/default.@OutputOnly + # Corresponds to the JSON property `target` + # @return [String] + attr_accessor :target + + # Ephemeral message that may change every time the operation is polled. @ + # OutputOnly + # Corresponds to the JSON property `ephemeralMessage` + # @return [String] + attr_accessor :ephemeral_message + + # Durable messages that persist on every operation poll. @OutputOnly + # Corresponds to the JSON property `warning` + # @return [Array] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @end_time = args[:end_time] if args.key?(:end_time) + @user = args[:user] if args.key?(:user) + @target = args[:target] if args.key?(:target) + @ephemeral_message = args[:ephemeral_message] if args.key?(:ephemeral_message) + @warning = args[:warning] if args.key?(:warning) end end @@ -1792,15 +2067,13 @@ module Google class LocationMetadata include Google::Apis::Core::Hashable - # App Engine Standard Environment is available in the given location. @ - # OutputOnly + # App Engine Standard Environment is available in the given location.@OutputOnly # Corresponds to the JSON property `standardEnvironmentAvailable` # @return [Boolean] attr_accessor :standard_environment_available alias_method :standard_environment_available?, :standard_environment_available - # App Engine Flexible Environment is available in the given location. @ - # OutputOnly + # App Engine Flexible Environment is available in the given location.@OutputOnly # Corresponds to the JSON property `flexibleEnvironmentAvailable` # @return [Boolean] attr_accessor :flexible_environment_available diff --git a/generated/google/apis/appengine_v1beta5/representations.rb b/generated/google/apis/appengine_v1beta5/representations.rb index bf084b19f..1f94d3251 100644 --- a/generated/google/apis/appengine_v1beta5/representations.rb +++ b/generated/google/apis/appengine_v1beta5/representations.rb @@ -22,6 +22,12 @@ module Google module Apis module AppengineV1beta5 + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -34,12 +40,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Application class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,6 +52,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class IdentityAwareProxy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Version class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,6 +118,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Volume + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EndpointsApiService + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListVersionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,6 +256,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OperationMetadataExperimental + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -250,6 +274,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class OperationMetadataV1Beta + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OperationMetadataV1 class Representation < Google::Apis::Core::JsonRepresentation; end @@ -262,6 +292,15 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -283,15 +322,6 @@ module Google end end - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::AppengineV1beta5::Operation, decorator: Google::Apis::AppengineV1beta5::Operation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class Application # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -305,6 +335,8 @@ module Google property :default_cookie_expiration, as: 'defaultCookieExpiration' property :default_hostname, as: 'defaultHostname' property :default_bucket, as: 'defaultBucket' + property :iap, as: 'iap', class: Google::Apis::AppengineV1beta5::IdentityAwareProxy, decorator: Google::Apis::AppengineV1beta5::IdentityAwareProxy::Representation + end end @@ -317,6 +349,16 @@ module Google end end + class IdentityAwareProxy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :oauth2_client_id, as: 'oauth2ClientId' + property :oauth2_client_secret, as: 'oauth2ClientSecret' + property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256' + end + end + class Version # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -358,6 +400,8 @@ module Google property :nobuild_files_regex, as: 'nobuildFilesRegex' property :deployment, as: 'deployment', class: Google::Apis::AppengineV1beta5::Deployment, decorator: Google::Apis::AppengineV1beta5::Deployment::Representation + property :endpoints_api_service, as: 'endpointsApiService', class: Google::Apis::AppengineV1beta5::EndpointsApiService, decorator: Google::Apis::AppengineV1beta5::EndpointsApiService::Representation + end end @@ -440,6 +484,7 @@ module Google collection :forwarded_ports, as: 'forwardedPorts' property :instance_tag, as: 'instanceTag' property :name, as: 'name' + property :subnetwork_name, as: 'subnetworkName' end end @@ -449,6 +494,17 @@ module Google property :cpu, as: 'cpu' property :disk_gb, as: 'diskGb' property :memory_gb, as: 'memoryGb' + collection :volumes, as: 'volumes', class: Google::Apis::AppengineV1beta5::Volume, decorator: Google::Apis::AppengineV1beta5::Volume::Representation + + end + end + + class Volume + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :volume_type, as: 'volumeType' + property :size_gb, as: 'sizeGb' end end @@ -573,6 +629,14 @@ module Google end end + class EndpointsApiService + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :config_id, as: 'configId' + end + end + class ListVersionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -627,6 +691,7 @@ module Google property :memory_usage, as: 'memoryUsage' property :vm_status, as: 'vmStatus' property :vm_unlocked, as: 'vmUnlocked' + property :vm_ip, as: 'vmIp' end end @@ -642,6 +707,7 @@ module Google class DebugInstanceRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :ssh_key, as: 'sshKey' end end @@ -664,6 +730,17 @@ module Google end end + class OperationMetadataExperimental + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :insert_time, as: 'insertTime' + property :end_time, as: 'endTime' + property :user, as: 'user' + property :target, as: 'target' + end + end + class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -687,6 +764,19 @@ module Google end end + class OperationMetadataV1Beta + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :method_prop, as: 'method' + property :insert_time, as: 'insertTime' + property :end_time, as: 'endTime' + property :user, as: 'user' + property :target, as: 'target' + property :ephemeral_message, as: 'ephemeralMessage' + collection :warning, as: 'warning' + end + end + class OperationMetadataV1 # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -695,6 +785,8 @@ module Google property :end_time, as: 'endTime' property :user, as: 'user' property :target, as: 'target' + property :ephemeral_message, as: 'ephemeralMessage' + collection :warning, as: 'warning' end end diff --git a/generated/google/apis/appengine_v1beta5/service.rb b/generated/google/apis/appengine_v1beta5/service.rb index b7d0e62ea..63f456e6c 100644 --- a/generated/google/apis/appengine_v1beta5/service.rb +++ b/generated/google/apis/appengine_v1beta5/service.rb @@ -46,11 +46,12 @@ module Google super('https://appengine.googleapis.com/', '') end - # 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/). # @param [Google::Apis::AppengineV1beta5::Application] application_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -82,10 +83,10 @@ module Google # Gets information about an application. # @param [String] apps_id - # Part of `name`. Name of the application to get. Example: `apps/myapp`. + # Part of `name`. Name of the application to get. Example: apps/myapp. # @param [Boolean] ensure_resources_exist # Certain resources associated with an application are created on-demand. - # Controls whether these resources should be created when performing the `GET` + # Controls whether these resources should be created when performing the GET # operation. If specified and any resources could not be created, the request # will fail with an error code. Additionally, this parameter can cause the # request to take longer to complete. Note: This parameter will be deprecated in @@ -118,6 +119,89 @@ module Google execute_or_queue_command(command, &block) end + # Updates the specified Application resource. You can update the following + # fields: auth_domain (https://cloud.google.com/appengine/docs/admin-api/ + # reference/rest/v1beta5/apps#Application.FIELDS.auth_domain) + # default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/ + # reference/rest/v1beta5/apps#Application.FIELDS.default_cookie_expiration) + # @param [String] apps_id + # Part of `name`. Name of the Application resource to update. Example: apps/ + # myapp. + # @param [Google::Apis::AppengineV1beta5::Application] application_object + # @param [String] mask + # Standard field mask for the set of fields to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AppengineV1beta5::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1beta5::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_app(apps_id, application_object = nil, mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta5/apps/{appsId}', options) + command.request_representation = Google::Apis::AppengineV1beta5::Application::Representation + command.request_object = application_object + command.response_representation = Google::Apis::AppengineV1beta5::Operation::Representation + command.response_class = Google::Apis::AppengineV1beta5::Operation + command.params['appsId'] = apps_id unless apps_id.nil? + command.query['mask'] = mask unless mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] apps_id + # Part of `name`. The name of the operation collection. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AppengineV1beta5::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AppengineV1beta5::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options) + command.response_representation = Google::Apis::AppengineV1beta5::ListOperationsResponse::Representation + command.response_class = Google::Apis::AppengineV1beta5::ListOperationsResponse + command.params['appsId'] = apps_id unless apps_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # 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. # @param [String] apps_id @@ -152,52 +236,10 @@ module Google execute_or_queue_command(command, &block) end - # 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`. - # @param [String] apps_id - # Part of `name`. The name of the operation collection. - # @param [String] filter - # The standard list filter. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] page_token - # The standard list page token. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::AppengineV1beta5::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::AppengineV1beta5::ListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_app_operations(apps_id, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta5/apps/{appsId}/operations', options) - command.response_representation = Google::Apis::AppengineV1beta5::ListOperationsResponse::Representation - command.response_class = Google::Apis::AppengineV1beta5::ListOperationsResponse - command.params['appsId'] = apps_id unless apps_id.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Deletes the specified service and all enclosed versions. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] fields @@ -230,8 +272,8 @@ module Google # Gets the current configuration of the specified service. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] fields @@ -264,7 +306,7 @@ module Google # Lists all the services in the application. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp`. + # Part of `name`. Name of the resource requested. Example: apps/myapp. # @param [Fixnum] page_size # Maximum results to return per page. # @param [String] page_token @@ -300,25 +342,25 @@ module Google # Updates the configuration of the specified service. # @param [String] apps_id - # Part of `name`. Name of the resource to update. Example: `apps/myapp/services/ - # default`. + # Part of `name`. Name of the resource to update. Example: apps/myapp/services/ + # default. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [Google::Apis::AppengineV1beta5::Service] service_object # @param [String] mask # Standard field mask for the set of fields to be updated. # @param [Boolean] migrate_traffic - # 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/ + # 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/ + # 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/ + # 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. + # environment. For examples, see Migrating and Splitting Traffic (https://cloud. # google.com/appengine/docs/admin-api/migrating-splitting-traffic). # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -391,8 +433,8 @@ module Google # Deletes an existing version. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default/versions/v1`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id @@ -426,17 +468,17 @@ module Google execute_or_queue_command(command, &block) end - # Gets the specified Version resource. By default, only a `BASIC_VIEW` will be - # returned. Specify the `FULL_VIEW` parameter to get the full resource. + # Gets the specified Version resource. By default, only a BASIC_VIEW will be + # returned. Specify the FULL_VIEW parameter to get the full resource. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default/versions/v1`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id # Part of `name`. See documentation of `appsId`. # @param [String] view - # Controls the set of fields returned in the `Get` response. + # Controls the set of fields returned in the Get response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -469,12 +511,12 @@ module Google # Lists the versions of a service. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] view - # Controls the set of fields returned in the `List` response. + # Controls the set of fields returned in the List response. # @param [Fixnum] page_size # Maximum results to return per page. # @param [String] page_token @@ -512,23 +554,23 @@ module Google # 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/v1beta5/apps.services.versions#Version.FIELDS. + # resource uses: serving_status (https://cloud.google.com/appengine/docs/admin- + # api/reference/rest/v1beta5/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/v1beta5/apps.services. + # or run in the App Engine flexible environment. instance_class (https://cloud. + # google.com/appengine/docs/admin-api/reference/rest/v1beta5/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/v1beta5/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/ + # App Engine standard environment. automatic_scaling.min_idle_instances (https:// + # cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/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/v1beta5/apps.services.versions#Version.FIELDS. # automatic_scaling): For Version resources that use automatic scaling and run # in the App Engine standard environment. # @param [String] apps_id - # Part of `name`. Name of the resource to update. Example: `apps/myapp/services/ - # default/versions/1`. + # Part of `name`. Name of the resource to update. Example: apps/myapp/services/ + # default/versions/1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id @@ -610,8 +652,8 @@ module Google # Gets instance information. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default/versions/v1/instances/instance-1`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1/instances/instance-1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id @@ -648,10 +690,12 @@ module Google execute_or_queue_command(command, &block) end - # 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). # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default/versions/v1`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id @@ -695,11 +739,11 @@ module Google # 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 + # determine if another instance should be started.Only applicable for instances # in App Engine flexible environment. # @param [String] apps_id - # Part of `name`. Name of the resource requested. Example: `apps/myapp/services/ - # default/versions/v1/instances/instance-1`. + # Part of `name`. Name of the resource requested. Example: apps/myapp/services/ + # default/versions/v1/instances/instance-1. # @param [String] services_id # Part of `name`. See documentation of `appsId`. # @param [String] versions_id diff --git a/generated/google/apis/appsactivity_v1.rb b/generated/google/apis/appsactivity_v1.rb index f21304cec..5f74a9572 100644 --- a/generated/google/apis/appsactivity_v1.rb +++ b/generated/google/apis/appsactivity_v1.rb @@ -18,16 +18,16 @@ require 'google/apis/appsactivity_v1/representations.rb' module Google module Apis - # Google Apps Activity API + # G Suite Activity API # # Provides a historical view of activity. # # @see https://developers.google.com/google-apps/activity/ module AppsactivityV1 VERSION = 'V1' - REVISION = '20160805' + REVISION = '20170215' - # View the activity history of your Google Apps + # View the activity history of your Google apps AUTH_ACTIVITY = 'https://www.googleapis.com/auth/activity' # View and manage the files in your Google Drive diff --git a/generated/google/apis/appsactivity_v1/classes.rb b/generated/google/apis/appsactivity_v1/classes.rb index 06f33c2b4..f462ff6f7 100644 --- a/generated/google/apis/appsactivity_v1/classes.rb +++ b/generated/google/apis/appsactivity_v1/classes.rb @@ -374,6 +374,12 @@ module Google attr_accessor :is_deleted alias_method :is_deleted?, :is_deleted + # Whether the user is the authenticated user. + # Corresponds to the JSON property `isMe` + # @return [Boolean] + attr_accessor :is_me + alias_method :is_me?, :is_me + # The displayable name of the user. # Corresponds to the JSON property `name` # @return [String] @@ -398,6 +404,7 @@ module Google # Update properties of this object def update!(**args) @is_deleted = args[:is_deleted] if args.key?(:is_deleted) + @is_me = args[:is_me] if args.key?(:is_me) @name = args[:name] if args.key?(:name) @permission_id = args[:permission_id] if args.key?(:permission_id) @photo = args[:photo] if args.key?(:photo) diff --git a/generated/google/apis/appsactivity_v1/representations.rb b/generated/google/apis/appsactivity_v1/representations.rb index 421e91634..66559006d 100644 --- a/generated/google/apis/appsactivity_v1/representations.rb +++ b/generated/google/apis/appsactivity_v1/representations.rb @@ -197,6 +197,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_deleted, as: 'isDeleted' + property :is_me, as: 'isMe' property :name, as: 'name' property :permission_id, as: 'permissionId' property :photo, as: 'photo', class: Google::Apis::AppsactivityV1::Photo, decorator: Google::Apis::AppsactivityV1::Photo::Representation diff --git a/generated/google/apis/appsactivity_v1/service.rb b/generated/google/apis/appsactivity_v1/service.rb index 774761624..06169ba86 100644 --- a/generated/google/apis/appsactivity_v1/service.rb +++ b/generated/google/apis/appsactivity_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module AppsactivityV1 - # Google Apps Activity API + # G Suite Activity API # # Provides a historical view of activity. # diff --git a/generated/google/apis/appstate_v1.rb b/generated/google/apis/appstate_v1.rb index bc4b77547..aa54697e4 100644 --- a/generated/google/apis/appstate_v1.rb +++ b/generated/google/apis/appstate_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/web/api/states module AppstateV1 VERSION = 'V1' - REVISION = '20160810' + REVISION = '20170323' # View and manage your data for this application AUTH_APPSTATE = 'https://www.googleapis.com/auth/appstate' diff --git a/generated/google/apis/bigquery_v2.rb b/generated/google/apis/bigquery_v2.rb index 6bd4df9e3..e540819cf 100644 --- a/generated/google/apis/bigquery_v2.rb +++ b/generated/google/apis/bigquery_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigquery/ module BigqueryV2 VERSION = 'V2' - REVISION = '20160804' + REVISION = '20170319' # View and manage your data in Google BigQuery AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' diff --git a/generated/google/apis/bigquery_v2/classes.rb b/generated/google/apis/bigquery_v2/classes.rb index 053e4c9ad..2843dcc67 100644 --- a/generated/google/apis/bigquery_v2/classes.rb +++ b/generated/google/apis/bigquery_v2/classes.rb @@ -334,13 +334,9 @@ module Google # @return [String] attr_accessor :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. Label keys and values can be no longer than 63 characters, - # can only contain letters, numeric characters, underscores and dashes. - # International characters are allowed. Label values are optional. Label keys - # must start with a letter and must be unique within a dataset. Both keys and - # values are additionally constrained to be <= 128 bytes in size. + # 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. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -351,8 +347,8 @@ module Google # @return [String] attr_accessor :last_modified_time - # [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. # Corresponds to the JSON property `location` # @return [String] attr_accessor :location @@ -511,8 +507,8 @@ module Google # @return [String] attr_accessor :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. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -641,6 +637,11 @@ module Google # @return [String] attr_accessor :records_written + # Current status for the stage. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + # List of operations within the stage in dependency order (approximately # chronological). # Corresponds to the JSON property `steps` @@ -681,6 +682,7 @@ module Google @read_ratio_max = args[:read_ratio_max] if args.key?(:read_ratio_max) @records_read = args[:records_read] if args.key?(:records_read) @records_written = args[:records_written] if args.key?(:records_written) + @status = args[:status] if args.key?(:status) @steps = args[:steps] if args.key?(:steps) @wait_ratio_avg = args[:wait_ratio_avg] if args.key?(:wait_ratio_avg) @wait_ratio_max = args[:wait_ratio_max] if args.key?(:wait_ratio_max) @@ -718,8 +720,8 @@ module Google class ExternalDataConfiguration include Google::Apis::Core::Hashable - # [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. # Corresponds to the JSON property `autodetect` # @return [Boolean] attr_accessor :autodetect @@ -780,10 +782,8 @@ module Google # [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". # Corresponds to the JSON property `sourceFormat` # @return [String] attr_accessor :source_format @@ -862,8 +862,8 @@ module Google # @return [String] attr_accessor :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. # Corresponds to the JSON property `numDmlAffectedRows` # @return [String] attr_accessor :num_dml_affected_rows @@ -1065,6 +1065,16 @@ module Google # @return [Google::Apis::BigqueryV2::JobConfigurationExtract] attr_accessor :extract + # [Experimental] The labels associated with this job. You can use these to + # organize and group your jobs. Label keys and values can be no longer than 63 + # characters, can only contain lowercase letters, numeric characters, + # underscores and dashes. International characters are allowed. Label values are + # optional. Label keys must start with a letter and each label in the list must + # have a different key. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # [Pick one] Configures a load job. # Corresponds to the JSON property `load` # @return [Google::Apis::BigqueryV2::JobConfigurationLoad] @@ -1084,6 +1094,7 @@ module Google @copy = args[:copy] if args.key?(:copy) @dry_run = args[:dry_run] if args.key?(:dry_run) @extract = args[:extract] if args.key?(:extract) + @labels = args[:labels] if args.key?(:labels) @load = args[:load] if args.key?(:load) @query = args[:query] if args.key?(:query) end @@ -1172,8 +1183,8 @@ module Google attr_accessor :allow_quoted_newlines alias_method :allow_quoted_newlines?, :allow_quoted_newlines - # [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. # Corresponds to the JSON property `autodetect` # @return [Boolean] attr_accessor :autodetect @@ -1232,12 +1243,21 @@ module Google # @return [Fixnum] attr_accessor :max_bad_records - # [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. + # [Optional] Specifies a string that represents a null value in a CSV file. For + # example, if you specify "\N", BigQuery interprets "\N" as a null value when + # loading a CSV file. The default value is the empty string. If you set this + # property to a custom value, BigQuery still interprets the empty string as a + # null value for all data types except for STRING and BYTE. For STRING and BYTE + # columns, BigQuery interprets the empty string as an empty value. + # Corresponds to the JSON property `nullMarker` + # @return [String] + attr_accessor :null_marker + + # 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. # Corresponds to the JSON property `projectionFields` # @return [Array] attr_accessor :projection_fields @@ -1271,6 +1291,18 @@ module Google # @return [String] attr_accessor :schema_inline_format + # [Experimental] Allows the schema of the desitination table to be updated as a + # side effect of the load job. Schema update options are supported in two cases: + # when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE + # and the destination table is a partition of a table, specified by partition + # decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. + # One or more of the following values are specified: ALLOW_FIELD_ADDITION: + # allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow + # relaxing a required field in the original schema to nullable. + # Corresponds to the JSON property `schemaUpdateOptions` + # @return [Array] + attr_accessor :schema_update_options + # [Optional] The number of rows at the top of a CSV file that BigQuery will skip # when loading the data. The default value is 0. This property is useful if you # have header rows in the file that should be skipped. @@ -1320,11 +1352,13 @@ module Google @field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter) @ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values) @max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records) + @null_marker = args[:null_marker] if args.key?(:null_marker) @projection_fields = args[:projection_fields] if args.key?(:projection_fields) @quote = args[:quote] if args.key?(:quote) @schema = args[:schema] if args.key?(:schema) @schema_inline = args[:schema_inline] if args.key?(:schema_inline) @schema_inline_format = args[:schema_inline_format] if args.key?(:schema_inline_format) + @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options) @skip_leading_rows = args[:skip_leading_rows] if args.key?(:skip_leading_rows) @source_format = args[:source_format] if args.key?(:source_format) @source_uris = args[:source_uris] if args.key?(:source_uris) @@ -1386,6 +1420,12 @@ module Google # @return [String] attr_accessor :maximum_bytes_billed + # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or + # to NAMED to use named (@myparam) query parameters in this query. + # Corresponds to the JSON property `parameterMode` + # @return [String] + attr_accessor :parameter_mode + # [Deprecated] This property is deprecated. # Corresponds to the JSON property `preserveNulls` # @return [Boolean] @@ -1403,6 +1443,24 @@ module Google # @return [String] attr_accessor :query + # Query parameters for standard SQL queries. + # Corresponds to the JSON property `queryParameters` + # @return [Array] + attr_accessor :query_parameters + + # [Experimental] Allows the schema of the destination table to be updated as a + # side effect of the query job. Schema update options are supported in two cases: + # when writeDisposition is WRITE_APPEND; when writeDisposition is + # WRITE_TRUNCATE and the destination table is a partition of a table, specified + # by partition decorators. For normal tables, WRITE_TRUNCATE will always + # overwrite the schema. One or more of the following values are specified: + # ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. + # ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema + # to nullable. + # Corresponds to the JSON property `schemaUpdateOptions` + # @return [Array] + attr_accessor :schema_update_options + # [Optional] If querying an external data source outside of BigQuery, describes # the data format, location and other properties of the data source. By defining # these properties, the data source can then be queried as if it were a standard @@ -1411,12 +1469,11 @@ module Google # @return [Hash] attr_accessor :table_definitions - # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this - # query. The default value is true. If set to false, the query will use BigQuery' - # s standard SQL: https://cloud.google.com/bigquery/sql-reference/ When - # useLegacySql is set to false, the values of allowLargeResults and - # flattenResults are ignored; query will be run as if allowLargeResults is true - # and flattenResults is false. + # Specifies whether to use BigQuery's legacy SQL dialect for this query. The + # default value is true. If set to false, the query will use BigQuery's standard + # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set + # to false, the values of allowLargeResults and flattenResults are ignored; + # query will be run as if allowLargeResults is true and flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql @@ -1431,7 +1488,7 @@ module Google attr_accessor :use_query_cache alias_method :use_query_cache?, :use_query_cache - # [Experimental] Describes user-defined function resources used in the query. + # Describes user-defined function resources used in the query. # Corresponds to the JSON property `userDefinedFunctionResources` # @return [Array] attr_accessor :user_defined_function_resources @@ -1461,9 +1518,12 @@ module Google @flatten_results = args[:flatten_results] if args.key?(:flatten_results) @maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier) @maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed) + @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode) @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls) @priority = args[:priority] if args.key?(:priority) @query = args[:query] if args.key?(:query) + @query_parameters = args[:query_parameters] if args.key?(:query_parameters) + @schema_update_options = args[:schema_update_options] if args.key?(:schema_update_options) @table_definitions = args[:table_definitions] if args.key?(:table_definitions) @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache) @@ -1735,13 +1795,13 @@ module Google attr_accessor :cache_hit alias_method :cache_hit?, :cache_hit - # [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. # Corresponds to the JSON property `numDmlAffectedRows` # @return [String] attr_accessor :num_dml_affected_rows - # [Output-only, Experimental] Describes execution plan for the query. + # [Output-only] Describes execution plan for the query. # Corresponds to the JSON property `queryPlan` # @return [Array] attr_accessor :query_plan @@ -1758,6 +1818,11 @@ module Google # @return [Google::Apis::BigqueryV2::TableSchema] attr_accessor :schema + # [Output-only, Experimental] The type of query statement, if valid. + # Corresponds to the JSON property `statementType` + # @return [String] + attr_accessor :statement_type + # [Output-only] Total bytes billed for the job. # Corresponds to the JSON property `totalBytesBilled` # @return [String] @@ -1768,6 +1833,12 @@ module Google # @return [String] attr_accessor :total_bytes_processed + # [Output-only, Experimental] Standard SQL only: list of undeclared query + # parameters detected during a dry run validation. + # Corresponds to the JSON property `undeclaredQueryParameters` + # @return [Array] + attr_accessor :undeclared_query_parameters + def initialize(**args) update!(**args) end @@ -1780,8 +1851,10 @@ module Google @query_plan = args[:query_plan] if args.key?(:query_plan) @referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables) @schema = args[:schema] if args.key?(:schema) + @statement_type = args[:statement_type] if args.key?(:statement_type) @total_bytes_billed = args[:total_bytes_billed] if args.key?(:total_bytes_billed) @total_bytes_processed = args[:total_bytes_processed] if args.key?(:total_bytes_processed) + @undeclared_query_parameters = args[:undeclared_query_parameters] if args.key?(:undeclared_query_parameters) end end @@ -1984,6 +2057,132 @@ module Google end end + # + class QueryParameter + include Google::Apis::Core::Hashable + + # [Optional] If unset, this is a positional parameter. Otherwise, should be + # unique within a query. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Required] The type of this parameter. + # Corresponds to the JSON property `parameterType` + # @return [Google::Apis::BigqueryV2::QueryParameterType] + attr_accessor :parameter_type + + # [Required] The value of this parameter. + # Corresponds to the JSON property `parameterValue` + # @return [Google::Apis::BigqueryV2::QueryParameterValue] + attr_accessor :parameter_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @parameter_type = args[:parameter_type] if args.key?(:parameter_type) + @parameter_value = args[:parameter_value] if args.key?(:parameter_value) + end + end + + # + class QueryParameterType + include Google::Apis::Core::Hashable + + # [Optional] The type of the array's elements, if this is an array. + # Corresponds to the JSON property `arrayType` + # @return [Google::Apis::BigqueryV2::QueryParameterType] + attr_accessor :array_type + + # [Optional] The types of the fields of this struct, in order, if this is a + # struct. + # Corresponds to the JSON property `structTypes` + # @return [Array] + attr_accessor :struct_types + + # [Required] The top level type of this field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @array_type = args[:array_type] if args.key?(:array_type) + @struct_types = args[:struct_types] if args.key?(:struct_types) + @type = args[:type] if args.key?(:type) + end + + # + class StructType + include Google::Apis::Core::Hashable + + # [Optional] Human-oriented description of the field. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Optional] The name of this field. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Required] The type of this field. + # Corresponds to the JSON property `type` + # @return [Google::Apis::BigqueryV2::QueryParameterType] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + end + + # + class QueryParameterValue + include Google::Apis::Core::Hashable + + # [Optional] The array values, if this is an array type. + # Corresponds to the JSON property `arrayValues` + # @return [Array] + attr_accessor :array_values + + # [Optional] The struct field values, in order of the struct type's declaration. + # Corresponds to the JSON property `structValues` + # @return [Hash] + attr_accessor :struct_values + + # [Optional] The value of this value, if a simple scalar type. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @array_values = args[:array_values] if args.key?(:array_values) + @struct_values = args[:struct_values] if args.key?(:struct_values) + @value = args[:value] if args.key?(:value) + end + end + # class QueryRequest include Google::Apis::Core::Hashable @@ -2018,6 +2217,12 @@ module Google # @return [Fixnum] attr_accessor :max_results + # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or + # to NAMED to use named (@myparam) query parameters in this query. + # Corresponds to the JSON property `parameterMode` + # @return [String] + attr_accessor :parameter_mode + # [Deprecated] This property is deprecated. # Corresponds to the JSON property `preserveNulls` # @return [Boolean] @@ -2031,6 +2236,11 @@ module Google # @return [String] attr_accessor :query + # Query parameters for Standard SQL queries. + # Corresponds to the JSON property `queryParameters` + # @return [Array] + attr_accessor :query_parameters + # [Optional] How long to wait for the query to complete, in milliseconds, before # the request times out and returns. Note that this is only a timeout for the # request, not the query. If the query takes longer to run than the timeout @@ -2041,12 +2251,11 @@ module Google # @return [Fixnum] attr_accessor :timeout_ms - # [Experimental] Specifies whether to use BigQuery's legacy SQL dialect for this - # query. The default value is true. If set to false, the query will use BigQuery' - # s standard SQL: https://cloud.google.com/bigquery/sql-reference/ When - # useLegacySql is set to false, the values of allowLargeResults and - # flattenResults are ignored; query will be run as if allowLargeResults is true - # and flattenResults is false. + # Specifies whether to use BigQuery's legacy SQL dialect for this query. The + # default value is true. If set to false, the query will use BigQuery's standard + # SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set + # to false, the values of allowLargeResults and flattenResults are ignored; + # query will be run as if allowLargeResults is true and flattenResults is false. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql @@ -2070,8 +2279,10 @@ module Google @dry_run = args[:dry_run] if args.key?(:dry_run) @kind = args[:kind] if args.key?(:kind) @max_results = args[:max_results] if args.key?(:max_results) + @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode) @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls) @query = args[:query] if args.key?(:query) + @query_parameters = args[:query_parameters] if args.key?(:query_parameters) @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms) @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache) @@ -2116,8 +2327,8 @@ module Google # @return [String] attr_accessor :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. # Corresponds to the JSON property `numDmlAffectedRows` # @return [String] attr_accessor :num_dml_affected_rows @@ -2254,6 +2465,16 @@ module Google # @return [String] attr_accessor :kind + # [Experimental] The labels associated with this table. You can use these to + # organize and group your tables. Label keys and values can be no longer than 63 + # characters, can only contain lowercase letters, numeric characters, + # underscores and dashes. International characters are allowed. Label values are + # optional. Label keys must start with a letter and each label in the list must + # have a different key. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # [Output-only] The time when this table was last modified, in milliseconds # since the epoch. # Corresponds to the JSON property `lastModifiedTime` @@ -2338,6 +2559,7 @@ module Google @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @labels = args[:labels] if args.key?(:labels) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @location = args[:location] if args.key?(:location) @num_bytes = args[:num_bytes] if args.key?(:num_bytes) @@ -2576,8 +2798,9 @@ module Google attr_accessor :name # [Required] The field data type. Possible values include STRING, BYTES, INTEGER, - # FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field - # contains a nested schema). + # INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL (same + # as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates + # that the field contains a nested schema) or STRUCT (same as RECORD). # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -2657,6 +2880,12 @@ module Google # @return [String] attr_accessor :kind + # [Experimental] The labels associated with this table. You can use these to + # organize and group your tables. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # A reference uniquely identifying the table. # Corresponds to the JSON property `tableReference` # @return [Google::Apis::BigqueryV2::TableReference] @@ -2667,6 +2896,11 @@ module Google # @return [String] attr_accessor :type + # Additional details for a view. + # Corresponds to the JSON property `view` + # @return [Google::Apis::BigqueryV2::TableList::Table::View] + attr_accessor :view + def initialize(**args) update!(**args) end @@ -2676,8 +2910,30 @@ module Google @friendly_name = args[:friendly_name] if args.key?(:friendly_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @labels = args[:labels] if args.key?(:labels) @table_reference = args[:table_reference] if args.key?(:table_reference) @type = args[:type] if args.key?(:type) + @view = args[:view] if args.key?(:view) + end + + # Additional details for a view. + class View + include Google::Apis::Core::Hashable + + # True if view is defined in legacy SQL dialect, false if in standard SQL. + # Corresponds to the JSON property `useLegacySql` + # @return [Boolean] + attr_accessor :use_legacy_sql + alias_method :use_legacy_sql?, :use_legacy_sql + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql) + end end end end @@ -2816,16 +3072,16 @@ module Google # @return [String] attr_accessor :query - # [Experimental] Specifies whether to use BigQuery's legacy SQL for this view. - # The default value is true. If set to false, the view will use BigQuery's - # standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and - # views that reference this view must use the same flag value. + # Specifies whether to use BigQuery's legacy SQL for this view. The default + # value is true. If set to false, the view will use BigQuery's standard SQL: + # https://cloud.google.com/bigquery/sql-reference/ Queries and views that + # reference this view must use the same flag value. # Corresponds to the JSON property `useLegacySql` # @return [Boolean] attr_accessor :use_legacy_sql alias_method :use_legacy_sql?, :use_legacy_sql - # [Experimental] Describes user-defined function resources used in the query. + # Describes user-defined function resources used in the query. # Corresponds to the JSON property `userDefinedFunctionResources` # @return [Array] attr_accessor :user_defined_function_resources diff --git a/generated/google/apis/bigquery_v2/representations.rb b/generated/google/apis/bigquery_v2/representations.rb index 469b28597..b104e872b 100644 --- a/generated/google/apis/bigquery_v2/representations.rb +++ b/generated/google/apis/bigquery_v2/representations.rb @@ -220,6 +220,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class QueryParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryParameterType + class Representation < Google::Apis::Core::JsonRepresentation; end + + class StructType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryParameterValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class QueryRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -291,6 +315,12 @@ module Google class Table class Representation < Google::Apis::Core::JsonRepresentation; end + + class View + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -466,6 +496,7 @@ module Google property :read_ratio_max, as: 'readRatioMax' property :records_read, as: 'recordsRead' property :records_written, as: 'recordsWritten' + property :status, as: 'status' collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation property :wait_ratio_avg, as: 'waitRatioAvg' @@ -568,6 +599,7 @@ module Google property :dry_run, as: 'dryRun' property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobConfigurationExtract, decorator: Google::Apis::BigqueryV2::JobConfigurationExtract::Representation + hash :labels, as: 'labels' property :load, as: 'load', class: Google::Apis::BigqueryV2::JobConfigurationLoad, decorator: Google::Apis::BigqueryV2::JobConfigurationLoad::Representation property :query, as: 'query', class: Google::Apis::BigqueryV2::JobConfigurationQuery, decorator: Google::Apis::BigqueryV2::JobConfigurationQuery::Representation @@ -602,12 +634,14 @@ module Google property :field_delimiter, as: 'fieldDelimiter' property :ignore_unknown_values, as: 'ignoreUnknownValues' property :max_bad_records, as: 'maxBadRecords' + property :null_marker, as: 'nullMarker' collection :projection_fields, as: 'projectionFields' property :quote, as: 'quote' property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation property :schema_inline, as: 'schemaInline' property :schema_inline_format, as: 'schemaInlineFormat' + collection :schema_update_options, as: 'schemaUpdateOptions' property :skip_leading_rows, as: 'skipLeadingRows' property :source_format, as: 'sourceFormat' collection :source_uris, as: 'sourceUris' @@ -627,9 +661,13 @@ module Google property :flatten_results, as: 'flattenResults' property :maximum_billing_tier, as: 'maximumBillingTier' property :maximum_bytes_billed, as: 'maximumBytesBilled' + property :parameter_mode, as: 'parameterMode' property :preserve_nulls, as: 'preserveNulls' property :priority, as: 'priority' property :query, as: 'query' + collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation + + collection :schema_update_options, as: 'schemaUpdateOptions' hash :table_definitions, as: 'tableDefinitions', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation property :use_legacy_sql, as: 'useLegacySql' @@ -721,8 +759,11 @@ module Google property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation + property :statement_type, as: 'statementType' property :total_bytes_billed, as: 'totalBytesBilled' property :total_bytes_processed, as: 'totalBytesProcessed' + collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation + end end @@ -785,6 +826,49 @@ module Google end end + class QueryParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :parameter_type, as: 'parameterType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation + + property :parameter_value, as: 'parameterValue', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation + + end + end + + class QueryParameterType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :array_type, as: 'arrayType', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation + + collection :struct_types, as: 'structTypes', class: Google::Apis::BigqueryV2::QueryParameterType::StructType, decorator: Google::Apis::BigqueryV2::QueryParameterType::StructType::Representation + + property :type, as: 'type' + end + + class StructType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' + property :name, as: 'name' + property :type, as: 'type', class: Google::Apis::BigqueryV2::QueryParameterType, decorator: Google::Apis::BigqueryV2::QueryParameterType::Representation + + end + end + end + + class QueryParameterValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :array_values, as: 'arrayValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation + + hash :struct_values, as: 'structValues', class: Google::Apis::BigqueryV2::QueryParameterValue, decorator: Google::Apis::BigqueryV2::QueryParameterValue::Representation + + property :value, as: 'value' + end + end + class QueryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -793,8 +877,11 @@ module Google property :dry_run, as: 'dryRun' property :kind, as: 'kind' property :max_results, as: 'maxResults' + property :parameter_mode, as: 'parameterMode' property :preserve_nulls, as: 'preserveNulls' property :query, as: 'query' + collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation + property :timeout_ms, as: 'timeoutMs' property :use_legacy_sql, as: 'useLegacySql' property :use_query_cache, as: 'useQueryCache' @@ -843,6 +930,7 @@ module Google property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' + hash :labels, as: 'labels' property :last_modified_time, as: 'lastModifiedTime' property :location, as: 'location' property :num_bytes, as: 'numBytes' @@ -949,9 +1037,19 @@ module Google property :friendly_name, as: 'friendlyName' property :id, as: 'id' property :kind, as: 'kind' + hash :labels, as: 'labels' property :table_reference, as: 'tableReference', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation property :type, as: 'type' + property :view, as: 'view', class: Google::Apis::BigqueryV2::TableList::Table::View, decorator: Google::Apis::BigqueryV2::TableList::Table::View::Representation + + end + + class View + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :use_legacy_sql, as: 'useLegacySql' + end end end end diff --git a/generated/google/apis/bigquery_v2/service.rb b/generated/google/apis/bigquery_v2/service.rb index f5420d32b..718f3b283 100644 --- a/generated/google/apis/bigquery_v2/service.rb +++ b/generated/google/apis/bigquery_v2/service.rb @@ -179,10 +179,9 @@ module Google # Whether to list all datasets, including hidden ones # @param [String] filter # An expression for filtering the results of the request by label. The syntax is - # "labels.[:]". Multiple filters can be ANDed together by connecting with a - # space. Example: "labels.department:receiving labels.active". See https://cloud. - # google.com/bigquery/docs/labeling-datasets#filtering_datasets_using_labels for - # details. + # "labels.[:]". Multiple filters can be ANDed together by + # connecting with a space. Example: "labels.department:receiving labels.active". + # See Filtering datasets using labels for details. # @param [Fixnum] max_results # The maximum number of results to return # @param [String] page_token @@ -339,7 +338,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def cancel_job(project_id, job_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'project/{projectId}/jobs/{jobId}/cancel', options) + command = make_simple_command(:post, 'projects/{projectId}/jobs/{jobId}/cancel', options) command.response_representation = Google::Apis::BigqueryV2::CancelJobResponse::Representation command.response_class = Google::Apis::BigqueryV2::CancelJobResponse command.params['projectId'] = project_id unless project_id.nil? @@ -677,6 +676,9 @@ module Google # Maximum number of results to return # @param [String] page_token # Page token, returned by a previous call, identifying the result set + # @param [String] selected_fields + # List of fields to return (comma-separated). If unspecified, all fields are + # returned # @param [String] start_index # Zero-based index of the starting row to read # @param [String] fields @@ -700,7 +702,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_table_data(project_id, dataset_id, table_id, max_results: nil, page_token: nil, selected_fields: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data', options) command.response_representation = Google::Apis::BigqueryV2::TableDataList::Representation command.response_class = Google::Apis::BigqueryV2::TableDataList @@ -709,6 +711,7 @@ module Google command.params['tableId'] = table_id unless table_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['selectedFields'] = selected_fields unless selected_fields.nil? command.query['startIndex'] = start_index unless start_index.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -765,6 +768,9 @@ module Google # Dataset ID of the requested table # @param [String] table_id # Table ID of the requested table + # @param [String] selected_fields + # List of fields to return (comma-separated). If unspecified, all fields are + # returned # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -786,13 +792,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_table(project_id, dataset_id, table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_table(project_id, dataset_id, table_id, selected_fields: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{projectId}/datasets/{datasetId}/tables/{tableId}', options) command.response_representation = Google::Apis::BigqueryV2::Table::Representation command.response_class = Google::Apis::BigqueryV2::Table command.params['projectId'] = project_id unless project_id.nil? command.params['datasetId'] = dataset_id unless dataset_id.nil? command.params['tableId'] = table_id unless table_id.nil? + command.query['selectedFields'] = selected_fields unless selected_fields.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? diff --git a/generated/google/apis/books_v1.rb b/generated/google/apis/books_v1.rb index 3fd7e4c08..e8b0cc16b 100644 --- a/generated/google/apis/books_v1.rb +++ b/generated/google/apis/books_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/books/docs/v1/getting_started module BooksV1 VERSION = 'V1' - REVISION = '20160629' + REVISION = '20161206' # Manage your books AUTH_BOOKS = 'https://www.googleapis.com/auth/books' diff --git a/generated/google/apis/books_v1/classes.rb b/generated/google/apis/books_v1/classes.rb index 62ed97e17..b384a0fc6 100644 --- a/generated/google/apis/books_v1/classes.rb +++ b/generated/google/apis/books_v1/classes.rb @@ -2026,6 +2026,11 @@ module Google # @return [String] attr_accessor :kind + # + # Corresponds to the JSON property `notificationGroup` + # @return [String] + attr_accessor :notification_group + # # Corresponds to the JSON property `notification_type` # @return [String] @@ -2070,6 +2075,7 @@ module Google @dont_show_notification = args[:dont_show_notification] if args.key?(:dont_show_notification) @icon_url = args[:icon_url] if args.key?(:icon_url) @kind = args[:kind] if args.key?(:kind) + @notification_group = args[:notification_group] if args.key?(:notification_group) @notification_type = args[:notification_type] if args.key?(:notification_type) @pcampaign_id = args[:pcampaign_id] if args.key?(:pcampaign_id) @reason = args[:reason] if args.key?(:reason) diff --git a/generated/google/apis/books_v1/representations.rb b/generated/google/apis/books_v1/representations.rb index f9095c4c5..1ac42969a 100644 --- a/generated/google/apis/books_v1/representations.rb +++ b/generated/google/apis/books_v1/representations.rb @@ -1212,6 +1212,7 @@ module Google property :dont_show_notification, as: 'dont_show_notification' property :icon_url, as: 'iconUrl' property :kind, as: 'kind' + property :notification_group, as: 'notificationGroup' property :notification_type, as: 'notification_type' property :pcampaign_id, as: 'pcampaign_id' property :reason, as: 'reason' diff --git a/generated/google/apis/books_v1/service.rb b/generated/google/apis/books_v1/service.rb index f6e1ebe0b..843aa782a 100644 --- a/generated/google/apis/books_v1/service.rb +++ b/generated/google/apis/books_v1/service.rb @@ -1979,6 +1979,9 @@ module Google # Restrict results to books with this language code. # @param [String] library_restrict # Restrict search to this user's library. + # @param [String] max_allowed_maturity_rating + # The maximum allowed maturity rating of returned recommendations. Books with a + # higher maturity rating are filtered out. # @param [Fixnum] max_results # Maximum number of results to return. # @param [String] order_by @@ -2016,7 +2019,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_volumes(q, download: nil, filter: nil, lang_restrict: nil, library_restrict: nil, max_allowed_maturity_rating: nil, max_results: nil, order_by: nil, partner: nil, print_type: nil, projection: nil, show_preorders: nil, source: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'volumes', options) command.response_representation = Google::Apis::BooksV1::Volumes::Representation command.response_class = Google::Apis::BooksV1::Volumes @@ -2024,6 +2027,7 @@ module Google command.query['filter'] = filter unless filter.nil? command.query['langRestrict'] = lang_restrict unless lang_restrict.nil? command.query['libraryRestrict'] = library_restrict unless library_restrict.nil? + command.query['maxAllowedMaturityRating'] = max_allowed_maturity_rating unless max_allowed_maturity_rating.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['partner'] = partner unless partner.nil? diff --git a/generated/google/apis/calendar_v3.rb b/generated/google/apis/calendar_v3.rb index 8b43706a3..0888375bd 100644 --- a/generated/google/apis/calendar_v3.rb +++ b/generated/google/apis/calendar_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/calendar/firstapp module CalendarV3 VERSION = 'V3' - REVISION = '20160815' + REVISION = '20170319' # Manage your calendars AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar' diff --git a/generated/google/apis/calendar_v3/classes.rb b/generated/google/apis/calendar_v3/classes.rb index d9790dfcb..094fcd734 100644 --- a/generated/google/apis/calendar_v3/classes.rb +++ b/generated/google/apis/calendar_v3/classes.rb @@ -427,8 +427,7 @@ module Google # The method used to deliver the notification. Possible values are: # - "email" - Reminders are sent via email. # - "sms" - Reminders are sent via SMS. This value is read-only and is ignored - # on inserts and updates. SMS reminders are only available for Google Apps for - # Work, Education, and Government customers. + # on inserts and updates. SMS reminders are only available for G Suite customers. # Corresponds to the JSON property `method` # @return [String] attr_accessor :delivery_method @@ -600,6 +599,74 @@ module Google end end + # + class DeepLinkData + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `links` + # @return [Array] + attr_accessor :links + + # + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @links = args[:links] if args.key?(:links) + @url = args[:url] if args.key?(:url) + end + end + + # + class DisplayInfo + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `appIconUrl` + # @return [String] + attr_accessor :app_icon_url + + # + # Corresponds to the JSON property `appShortTitle` + # @return [String] + attr_accessor :app_short_title + + # + # Corresponds to the JSON property `appTitle` + # @return [String] + attr_accessor :app_title + + # + # Corresponds to the JSON property `linkShortTitle` + # @return [String] + attr_accessor :link_short_title + + # + # Corresponds to the JSON property `linkTitle` + # @return [String] + attr_accessor :link_title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_icon_url = args[:app_icon_url] if args.key?(:app_icon_url) + @app_short_title = args[:app_short_title] if args.key?(:app_short_title) + @app_title = args[:app_title] if args.key?(:app_title) + @link_short_title = args[:link_short_title] if args.key?(:link_short_title) + @link_title = args[:link_title] if args.key?(:link_title) + end + end + # class Error include Google::Apis::Core::Hashable @@ -1340,15 +1407,39 @@ module Google end end + # + class EventHabitInstance + include Google::Apis::Core::Hashable + + # Metadata specific to this instance. + # Corresponds to the JSON property `data` + # @return [Google::Apis::CalendarV3::HabitInstanceData] + attr_accessor :data + + # Id of the habit this instance belongs to. + # Corresponds to the JSON property `parentId` + # @return [String] + attr_accessor :parent_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @parent_id = args[:parent_id] if args.key?(:parent_id) + end + end + # class EventReminder include Google::Apis::Core::Hashable # The method used by this reminder. Possible values are: # - "email" - Reminders are sent via email. - # - "sms" - Reminders are sent via SMS. These are only available for Google Apps - # for Work, Education, and Government customers. Requests to set SMS reminders - # for other account types are ignored. + # - "sms" - Reminders are sent via SMS. These are only available for G Suite + # customers. Requests to set SMS reminders for other account types are ignored. # - "popup" - Reminders are sent via a UI popup. # Corresponds to the JSON property `method` # @return [String] @@ -1629,6 +1720,118 @@ module Google end end + # + class HabitInstanceData + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # + # Corresponds to the JSON property `statusInferred` + # @return [Boolean] + attr_accessor :status_inferred + alias_method :status_inferred?, :status_inferred + + # + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @status_inferred = args[:status_inferred] if args.key?(:status_inferred) + @type = args[:type] if args.key?(:type) + end + end + + # + class LaunchInfo + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # + # Corresponds to the JSON property `installUrl` + # @return [String] + attr_accessor :install_url + + # + # Corresponds to the JSON property `intentAction` + # @return [String] + attr_accessor :intent_action + + # + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @app_id = args[:app_id] if args.key?(:app_id) + @install_url = args[:install_url] if args.key?(:install_url) + @intent_action = args[:intent_action] if args.key?(:intent_action) + @uri = args[:uri] if args.key?(:uri) + end + end + + # + class Link + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `applinkingSource` + # @return [String] + attr_accessor :applinking_source + + # + # Corresponds to the JSON property `displayInfo` + # @return [Google::Apis::CalendarV3::DisplayInfo] + attr_accessor :display_info + + # + # Corresponds to the JSON property `launchInfo` + # @return [Google::Apis::CalendarV3::LaunchInfo] + attr_accessor :launch_info + + # + # Corresponds to the JSON property `platform` + # @return [String] + attr_accessor :platform + + # + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @applinking_source = args[:applinking_source] if args.key?(:applinking_source) + @display_info = args[:display_info] if args.key?(:display_info) + @launch_info = args[:launch_info] if args.key?(:launch_info) + @platform = args[:platform] if args.key?(:platform) + @url = args[:url] if args.key?(:url) + end + end + # class Setting include Google::Apis::Core::Hashable diff --git a/generated/google/apis/calendar_v3/representations.rb b/generated/google/apis/calendar_v3/representations.rb index c661e2660..6c1c69345 100644 --- a/generated/google/apis/calendar_v3/representations.rb +++ b/generated/google/apis/calendar_v3/representations.rb @@ -88,6 +88,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DeepLinkData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DisplayInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Error class Representation < Google::Apis::Core::JsonRepresentation; end @@ -154,6 +166,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class EventHabitInstance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class EventReminder class Representation < Google::Apis::Core::JsonRepresentation; end @@ -196,6 +214,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HabitInstanceData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LaunchInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Setting class Representation < Google::Apis::Core::JsonRepresentation; end @@ -350,6 +386,26 @@ module Google end end + class DeepLinkData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :links, as: 'links', class: Google::Apis::CalendarV3::Link, decorator: Google::Apis::CalendarV3::Link::Representation + + property :url, as: 'url' + end + end + + class DisplayInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_icon_url, as: 'appIconUrl' + property :app_short_title, as: 'appShortTitle' + property :app_title, as: 'appTitle' + property :link_short_title, as: 'linkShortTitle' + property :link_title, as: 'linkTitle' + end + end + class Error # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -511,6 +567,15 @@ module Google end end + class EventHabitInstance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, as: 'data', class: Google::Apis::CalendarV3::HabitInstanceData, decorator: Google::Apis::CalendarV3::HabitInstanceData::Representation + + property :parent_id, as: 'parentId' + end + end + class EventReminder # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -595,6 +660,38 @@ module Google end end + class HabitInstanceData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status' + property :status_inferred, as: 'statusInferred' + property :type, as: 'type' + end + end + + class LaunchInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :app_id, as: 'appId' + property :install_url, as: 'installUrl' + property :intent_action, as: 'intentAction' + property :uri, as: 'uri' + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :applinking_source, as: 'applinkingSource' + property :display_info, as: 'displayInfo', class: Google::Apis::CalendarV3::DisplayInfo, decorator: Google::Apis::CalendarV3::DisplayInfo::Representation + + property :launch_info, as: 'launchInfo', class: Google::Apis::CalendarV3::LaunchInfo, decorator: Google::Apis::CalendarV3::LaunchInfo::Representation + + property :platform, as: 'platform' + property :url, as: 'url' + end + end + class Setting # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/civicinfo_v2.rb b/generated/google/apis/civicinfo_v2.rb index 47ff052ae..e5b808b3a 100644 --- a/generated/google/apis/civicinfo_v2.rb +++ b/generated/google/apis/civicinfo_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/civic-information module CivicinfoV2 VERSION = 'V2' - REVISION = '20160707' + REVISION = '20161102' end end end diff --git a/generated/google/apis/civicinfo_v2/classes.rb b/generated/google/apis/civicinfo_v2/classes.rb index c456d434e..39d54ced7 100644 --- a/generated/google/apis/civicinfo_v2/classes.rb +++ b/generated/google/apis/civicinfo_v2/classes.rb @@ -191,7 +191,9 @@ module Google # @return [String] attr_accessor :email - # The candidate's name. + # The candidate's name. If this is a joint ticket it will indicate the name of + # the candidate at the top of a ticket followed by a / and that name of + # candidate at the bottom of the ticket. e.g. "Mitt Romney / Paul Ryan" # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -322,9 +324,8 @@ module Google attr_accessor :primary_party # The set of ballot responses for the referendum. A ballot response represents a - # line on the ballot. Common examples might include "yes" or "no" for referenda, - # or a judge's name for a retention contest. This field is only populated for - # contests of type 'Referendum'. + # line on the ballot. Common examples might include "yes" or "no" for referenda. + # This field is only populated for contests of type 'Referendum'. # Corresponds to the JSON property `referendumBallotResponses` # @return [Array] attr_accessor :referendum_ballot_responses @@ -403,7 +404,8 @@ module Google attr_accessor :special # The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' - # for contests with candidates. For referenda this will be 'Referendum'. + # for contests with candidates. For referenda this will be 'Referendum'. For + # Retention contests this will typically be 'Retention'. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -441,6 +443,63 @@ module Google end end + # + class ContextParams + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `clientProfile` + # @return [String] + attr_accessor :client_profile + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_profile = args[:client_profile] if args.key?(:client_profile) + end + end + + # A request to look up representative information for a single division. + class DivisionRepresentativeInfoRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `contextParams` + # @return [Google::Apis::CivicinfoV2::ContextParams] + attr_accessor :context_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context_params = args[:context_params] if args.key?(:context_params) + end + end + + # A search request for political geographies. + class DivisionSearchRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `contextParams` + # @return [Google::Apis::CivicinfoV2::ContextParams] + attr_accessor :context_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context_params = args[:context_params] if args.key?(:context_params) + end + end + # The result of a division search query. class DivisionSearchResponse include Google::Apis::Core::Hashable @@ -585,6 +644,25 @@ module Google end end + # + class ElectionsQueryRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `contextParams` + # @return [Google::Apis::CivicinfoV2::ContextParams] + attr_accessor :context_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context_params = args[:context_params] if args.key?(:context_params) + end + end + # The list of elections available for this version of the API. class QueryElectionsResponse include Google::Apis::Core::Hashable @@ -621,6 +699,11 @@ module Google # @return [String] attr_accessor :id + # + # Corresponds to the JSON property `kgForeignKey` + # @return [String] + attr_accessor :kg_foreign_key + # The name of the district. # Corresponds to the JSON property `name` # @return [String] @@ -641,6 +724,7 @@ module Google # Update properties of this object def update!(**args) @id = args[:id] if args.key?(:id) + @kg_foreign_key = args[:kg_foreign_key] if args.key?(:kg_foreign_key) @name = args[:name] if args.key?(:name) @scope = args[:scope] if args.key?(:scope) end @@ -881,6 +965,206 @@ module Google end end + # + class PostalAddress + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `addressLines` + # @return [Array] + attr_accessor :address_lines + + # + # Corresponds to the JSON property `administrativeAreaName` + # @return [String] + attr_accessor :administrative_area_name + + # + # Corresponds to the JSON property `countryName` + # @return [String] + attr_accessor :country_name + + # + # Corresponds to the JSON property `countryNameCode` + # @return [String] + attr_accessor :country_name_code + + # + # Corresponds to the JSON property `dependentLocalityName` + # @return [String] + attr_accessor :dependent_locality_name + + # + # Corresponds to the JSON property `dependentThoroughfareLeadingType` + # @return [String] + attr_accessor :dependent_thoroughfare_leading_type + + # + # Corresponds to the JSON property `dependentThoroughfareName` + # @return [String] + attr_accessor :dependent_thoroughfare_name + + # + # Corresponds to the JSON property `dependentThoroughfarePostDirection` + # @return [String] + attr_accessor :dependent_thoroughfare_post_direction + + # + # Corresponds to the JSON property `dependentThoroughfarePreDirection` + # @return [String] + attr_accessor :dependent_thoroughfare_pre_direction + + # + # Corresponds to the JSON property `dependentThoroughfareTrailingType` + # @return [String] + attr_accessor :dependent_thoroughfare_trailing_type + + # + # Corresponds to the JSON property `dependentThoroughfaresConnector` + # @return [String] + attr_accessor :dependent_thoroughfares_connector + + # + # Corresponds to the JSON property `dependentThoroughfaresIndicator` + # @return [String] + attr_accessor :dependent_thoroughfares_indicator + + # + # Corresponds to the JSON property `dependentThoroughfaresType` + # @return [String] + attr_accessor :dependent_thoroughfares_type + + # + # Corresponds to the JSON property `firmName` + # @return [String] + attr_accessor :firm_name + + # + # Corresponds to the JSON property `isDisputed` + # @return [Boolean] + attr_accessor :is_disputed + alias_method :is_disputed?, :is_disputed + + # + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # + # Corresponds to the JSON property `localityName` + # @return [String] + attr_accessor :locality_name + + # + # Corresponds to the JSON property `postBoxNumber` + # @return [String] + attr_accessor :post_box_number + + # + # Corresponds to the JSON property `postalCodeNumber` + # @return [String] + attr_accessor :postal_code_number + + # + # Corresponds to the JSON property `postalCodeNumberExtension` + # @return [String] + attr_accessor :postal_code_number_extension + + # + # Corresponds to the JSON property `premiseName` + # @return [String] + attr_accessor :premise_name + + # + # Corresponds to the JSON property `recipientName` + # @return [String] + attr_accessor :recipient_name + + # + # Corresponds to the JSON property `sortingCode` + # @return [String] + attr_accessor :sorting_code + + # + # Corresponds to the JSON property `subAdministrativeAreaName` + # @return [String] + attr_accessor :sub_administrative_area_name + + # + # Corresponds to the JSON property `subPremiseName` + # @return [String] + attr_accessor :sub_premise_name + + # + # Corresponds to the JSON property `thoroughfareLeadingType` + # @return [String] + attr_accessor :thoroughfare_leading_type + + # + # Corresponds to the JSON property `thoroughfareName` + # @return [String] + attr_accessor :thoroughfare_name + + # + # Corresponds to the JSON property `thoroughfareNumber` + # @return [String] + attr_accessor :thoroughfare_number + + # + # Corresponds to the JSON property `thoroughfarePostDirection` + # @return [String] + attr_accessor :thoroughfare_post_direction + + # + # Corresponds to the JSON property `thoroughfarePreDirection` + # @return [String] + attr_accessor :thoroughfare_pre_direction + + # + # Corresponds to the JSON property `thoroughfareTrailingType` + # @return [String] + attr_accessor :thoroughfare_trailing_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address_lines = args[:address_lines] if args.key?(:address_lines) + @administrative_area_name = args[:administrative_area_name] if args.key?(:administrative_area_name) + @country_name = args[:country_name] if args.key?(:country_name) + @country_name_code = args[:country_name_code] if args.key?(:country_name_code) + @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name) + @dependent_thoroughfare_leading_type = args[:dependent_thoroughfare_leading_type] if args.key?(:dependent_thoroughfare_leading_type) + @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name) + @dependent_thoroughfare_post_direction = args[:dependent_thoroughfare_post_direction] if args.key?(:dependent_thoroughfare_post_direction) + @dependent_thoroughfare_pre_direction = args[:dependent_thoroughfare_pre_direction] if args.key?(:dependent_thoroughfare_pre_direction) + @dependent_thoroughfare_trailing_type = args[:dependent_thoroughfare_trailing_type] if args.key?(:dependent_thoroughfare_trailing_type) + @dependent_thoroughfares_connector = args[:dependent_thoroughfares_connector] if args.key?(:dependent_thoroughfares_connector) + @dependent_thoroughfares_indicator = args[:dependent_thoroughfares_indicator] if args.key?(:dependent_thoroughfares_indicator) + @dependent_thoroughfares_type = args[:dependent_thoroughfares_type] if args.key?(:dependent_thoroughfares_type) + @firm_name = args[:firm_name] if args.key?(:firm_name) + @is_disputed = args[:is_disputed] if args.key?(:is_disputed) + @language_code = args[:language_code] if args.key?(:language_code) + @locality_name = args[:locality_name] if args.key?(:locality_name) + @post_box_number = args[:post_box_number] if args.key?(:post_box_number) + @postal_code_number = args[:postal_code_number] if args.key?(:postal_code_number) + @postal_code_number_extension = args[:postal_code_number_extension] if args.key?(:postal_code_number_extension) + @premise_name = args[:premise_name] if args.key?(:premise_name) + @recipient_name = args[:recipient_name] if args.key?(:recipient_name) + @sorting_code = args[:sorting_code] if args.key?(:sorting_code) + @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name) + @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name) + @thoroughfare_leading_type = args[:thoroughfare_leading_type] if args.key?(:thoroughfare_leading_type) + @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name) + @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number) + @thoroughfare_post_direction = args[:thoroughfare_post_direction] if args.key?(:thoroughfare_post_direction) + @thoroughfare_pre_direction = args[:thoroughfare_pre_direction] if args.key?(:thoroughfare_pre_direction) + @thoroughfare_trailing_type = args[:thoroughfare_trailing_type] if args.key?(:thoroughfare_trailing_type) + end + end + # class RepresentativeInfoData include Google::Apis::Core::Hashable @@ -914,6 +1198,26 @@ module Google end end + # A request for political geography and representative information for an + # address. + class RepresentativeInfoRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `contextParams` + # @return [Google::Apis::CivicinfoV2::ContextParams] + attr_accessor :context_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context_params = args[:context_params] if args.key?(:context_params) + end + end + # The result of a representative info lookup query. class RepresentativeInfoResponse include Google::Apis::Core::Hashable @@ -1041,6 +1345,31 @@ module Google end end + # A request for information about a voter. + class VoterInfoRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `contextParams` + # @return [Google::Apis::CivicinfoV2::ContextParams] + attr_accessor :context_params + + # + # Corresponds to the JSON property `voterInfoSegmentResult` + # @return [Google::Apis::CivicinfoV2::VoterInfoSegmentResult] + attr_accessor :voter_info_segment_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @context_params = args[:context_params] if args.key?(:context_params) + @voter_info_segment_result = args[:voter_info_segment_result] if args.key?(:voter_info_segment_result) + end + end + # The result of a voter info lookup query. class VoterInfoResponse include Google::Apis::Core::Hashable @@ -1128,6 +1457,43 @@ module Google @state = args[:state] if args.key?(:state) end end + + # + class VoterInfoSegmentResult + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `generatedMillis` + # @return [String] + attr_accessor :generated_millis + + # + # Corresponds to the JSON property `postalAddress` + # @return [Google::Apis::CivicinfoV2::PostalAddress] + attr_accessor :postal_address + + # A request for information about a voter. + # Corresponds to the JSON property `request` + # @return [Google::Apis::CivicinfoV2::VoterInfoRequest] + attr_accessor :request + + # The result of a voter info lookup query. + # Corresponds to the JSON property `response` + # @return [Google::Apis::CivicinfoV2::VoterInfoResponse] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generated_millis = args[:generated_millis] if args.key?(:generated_millis) + @postal_address = args[:postal_address] if args.key?(:postal_address) + @request = args[:request] if args.key?(:request) + @response = args[:response] if args.key?(:response) + end + end end end end diff --git a/generated/google/apis/civicinfo_v2/representations.rb b/generated/google/apis/civicinfo_v2/representations.rb index 68f359491..2f069a028 100644 --- a/generated/google/apis/civicinfo_v2/representations.rb +++ b/generated/google/apis/civicinfo_v2/representations.rb @@ -52,6 +52,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ContextParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DivisionRepresentativeInfoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DivisionSearchRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DivisionSearchResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +94,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ElectionsQueryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class QueryElectionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,12 +136,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class PostalAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RepresentativeInfoData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class RepresentativeInfoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RepresentativeInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -136,12 +172,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VoterInfoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class VoterInfoResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class VoterInfoSegmentResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AdministrationRegion # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -235,6 +283,29 @@ module Google end end + class ContextParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_profile, as: 'clientProfile' + end + end + + class DivisionRepresentativeInfoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + + end + end + + class DivisionSearchRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + + end + end + class DivisionSearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -274,6 +345,14 @@ module Google end end + class ElectionsQueryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + + end + end + class QueryElectionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -287,6 +366,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' + property :kg_foreign_key, as: 'kgForeignKey' property :name, as: 'name' property :scope, as: 'scope' end @@ -347,6 +427,43 @@ module Google end end + class PostalAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :address_lines, as: 'addressLines' + property :administrative_area_name, as: 'administrativeAreaName' + property :country_name, as: 'countryName' + property :country_name_code, as: 'countryNameCode' + property :dependent_locality_name, as: 'dependentLocalityName' + property :dependent_thoroughfare_leading_type, as: 'dependentThoroughfareLeadingType' + property :dependent_thoroughfare_name, as: 'dependentThoroughfareName' + property :dependent_thoroughfare_post_direction, as: 'dependentThoroughfarePostDirection' + property :dependent_thoroughfare_pre_direction, as: 'dependentThoroughfarePreDirection' + property :dependent_thoroughfare_trailing_type, as: 'dependentThoroughfareTrailingType' + property :dependent_thoroughfares_connector, as: 'dependentThoroughfaresConnector' + property :dependent_thoroughfares_indicator, as: 'dependentThoroughfaresIndicator' + property :dependent_thoroughfares_type, as: 'dependentThoroughfaresType' + property :firm_name, as: 'firmName' + property :is_disputed, as: 'isDisputed' + property :language_code, as: 'languageCode' + property :locality_name, as: 'localityName' + property :post_box_number, as: 'postBoxNumber' + property :postal_code_number, as: 'postalCodeNumber' + property :postal_code_number_extension, as: 'postalCodeNumberExtension' + property :premise_name, as: 'premiseName' + property :recipient_name, as: 'recipientName' + property :sorting_code, as: 'sortingCode' + property :sub_administrative_area_name, as: 'subAdministrativeAreaName' + property :sub_premise_name, as: 'subPremiseName' + property :thoroughfare_leading_type, as: 'thoroughfareLeadingType' + property :thoroughfare_name, as: 'thoroughfareName' + property :thoroughfare_number, as: 'thoroughfareNumber' + property :thoroughfare_post_direction, as: 'thoroughfarePostDirection' + property :thoroughfare_pre_direction, as: 'thoroughfarePreDirection' + property :thoroughfare_trailing_type, as: 'thoroughfareTrailingType' + end + end + class RepresentativeInfoData # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -359,6 +476,14 @@ module Google end end + class RepresentativeInfoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + + end + end + class RepresentativeInfoResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -395,6 +520,16 @@ module Google end end + class VoterInfoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :context_params, as: 'contextParams', class: Google::Apis::CivicinfoV2::ContextParams, decorator: Google::Apis::CivicinfoV2::ContextParams::Representation + + property :voter_info_segment_result, as: 'voterInfoSegmentResult', class: Google::Apis::CivicinfoV2::VoterInfoSegmentResult, decorator: Google::Apis::CivicinfoV2::VoterInfoSegmentResult::Representation + + end + end + class VoterInfoResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -419,6 +554,19 @@ module Google end end + + class VoterInfoSegmentResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :generated_millis, as: 'generatedMillis' + property :postal_address, as: 'postalAddress', class: Google::Apis::CivicinfoV2::PostalAddress, decorator: Google::Apis::CivicinfoV2::PostalAddress::Representation + + property :request, as: 'request', class: Google::Apis::CivicinfoV2::VoterInfoRequest, decorator: Google::Apis::CivicinfoV2::VoterInfoRequest::Representation + + property :response, as: 'response', class: Google::Apis::CivicinfoV2::VoterInfoResponse, decorator: Google::Apis::CivicinfoV2::VoterInfoResponse::Representation + + end + end end end end diff --git a/generated/google/apis/civicinfo_v2/service.rb b/generated/google/apis/civicinfo_v2/service.rb index 846a81ccf..7ffa53d48 100644 --- a/generated/google/apis/civicinfo_v2/service.rb +++ b/generated/google/apis/civicinfo_v2/service.rb @@ -54,6 +54,7 @@ module Google end # Searches for political divisions by their natural name or OCD ID. + # @param [Google::Apis::CivicinfoV2::DivisionSearchRequest] division_search_request_object # @param [String] query # The search query. Queries can cover any parts of a OCD ID or a human readable # division name. All words given in the query are treated as required patterns. @@ -80,8 +81,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_divisions(query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def search_divisions(division_search_request_object = nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'divisions', options) + command.request_representation = Google::Apis::CivicinfoV2::DivisionSearchRequest::Representation + command.request_object = division_search_request_object command.response_representation = Google::Apis::CivicinfoV2::DivisionSearchResponse::Representation command.response_class = Google::Apis::CivicinfoV2::DivisionSearchResponse command.query['query'] = query unless query.nil? @@ -92,6 +95,7 @@ module Google end # List of available elections to query. + # @param [Google::Apis::CivicinfoV2::ElectionsQueryRequest] elections_query_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -113,8 +117,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def query_election(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def query_election(elections_query_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'elections', options) + command.request_representation = Google::Apis::CivicinfoV2::ElectionsQueryRequest::Representation + command.request_object = elections_query_request_object command.response_representation = Google::Apis::CivicinfoV2::QueryElectionsResponse::Representation command.response_class = Google::Apis::CivicinfoV2::QueryElectionsResponse command.query['fields'] = fields unless fields.nil? @@ -127,11 +133,16 @@ module Google # address. # @param [String] address # The registered address of the voter to look up. + # @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object # @param [String] election_id # The unique ID of the election to look up. A list of election IDs can be # obtained at https://www.googleapis.com/civicinfo/`version`/elections # @param [Boolean] official_only # If set to true, only data from official state sources will be returned. + # @param [Boolean] return_all_available_data + # If set to true, the query will return the success codeand include any partial + # information when it is unable to determine a matching address or unable to + # determine the election for electionId=0 queries. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -153,13 +164,16 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def query_voter_info(address, election_id: nil, official_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def query_voter_info(address, voter_info_request_object = nil, election_id: nil, official_only: nil, return_all_available_data: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'voterinfo', options) + command.request_representation = Google::Apis::CivicinfoV2::VoterInfoRequest::Representation + command.request_object = voter_info_request_object command.response_representation = Google::Apis::CivicinfoV2::VoterInfoResponse::Representation command.response_class = Google::Apis::CivicinfoV2::VoterInfoResponse command.query['address'] = address unless address.nil? command.query['electionId'] = election_id unless election_id.nil? command.query['officialOnly'] = official_only unless official_only.nil? + command.query['returnAllAvailableData'] = return_all_available_data unless return_all_available_data.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -168,6 +182,7 @@ module Google # Looks up political geography and representative information for a single # address. + # @param [Google::Apis::CivicinfoV2::RepresentativeInfoRequest] representative_info_request_object # @param [String] address # The address to look up. May only be specified if the field ocdId is not given # in the URL. @@ -203,8 +218,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def representative_info_by_address(address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def representative_info_by_address(representative_info_request_object = nil, address: nil, include_offices: nil, levels: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'representatives', options) + command.request_representation = Google::Apis::CivicinfoV2::RepresentativeInfoRequest::Representation + command.request_object = representative_info_request_object command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoResponse::Representation command.response_class = Google::Apis::CivicinfoV2::RepresentativeInfoResponse command.query['address'] = address unless address.nil? @@ -220,6 +237,7 @@ module Google # Looks up representative information for a single geographic division. # @param [String] ocd_id # The Open Civic Data division identifier of the division to look up. + # @param [Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest] division_representative_info_request_object # @param [Array, String] levels # A list of office levels to filter by. Only offices that serve at least one of # these levels will be returned. Divisions that don't contain a matching office @@ -253,8 +271,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def representative_info_by_division(ocd_id, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def representative_info_by_division(ocd_id, division_representative_info_request_object = nil, levels: nil, recursive: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'representatives/{ocdId}', options) + command.request_representation = Google::Apis::CivicinfoV2::DivisionRepresentativeInfoRequest::Representation + command.request_object = division_representative_info_request_object command.response_representation = Google::Apis::CivicinfoV2::RepresentativeInfoData::Representation command.response_class = Google::Apis::CivicinfoV2::RepresentativeInfoData command.params['ocdId'] = ocd_id unless ocd_id.nil? diff --git a/generated/google/apis/classroom_v1.rb b/generated/google/apis/classroom_v1.rb index b13f21b2b..533440f30 100644 --- a/generated/google/apis/classroom_v1.rb +++ b/generated/google/apis/classroom_v1.rb @@ -25,37 +25,7 @@ module Google # @see https://developers.google.com/classroom/ module ClassroomV1 VERSION = 'V1' - REVISION = '20160816' - - # View instructions for teacher-assigned work in your Google Classroom classes - AUTH_CLASSROOM_COURSE_WORK_READONLY = 'https://www.googleapis.com/auth/classroom.course-work.readonly' - - # Manage your Google Classroom classes - AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses' - - # View your Google Classroom classes - AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly' - - # Manage your course work and view your grades in Google Classroom - AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me' - - # View your course work and grades in Google Classroom - AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly' - - # 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 - AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students' - - # View course work and grades for students in the Google Classroom classes you teach or administer - AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly' - - # View the email addresses of people in your classes - AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails' - - # View the profile photos of people in your classes - AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos' - - # Manage your Google Classroom class rosters - AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters' + REVISION = '20170322' # View your Google Classroom class rosters AUTH_CLASSROOM_ROSTERS_READONLY = 'https://www.googleapis.com/auth/classroom.rosters.readonly' @@ -63,8 +33,35 @@ module Google # View your course work and grades in Google Classroom AUTH_CLASSROOM_STUDENT_SUBMISSIONS_ME_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.me.readonly' + # View course work and grades for students in the Google Classroom classes you teach or administer + AUTH_CLASSROOM_COURSEWORK_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.students.readonly' + # View course work and grades for students in the Google Classroom classes you teach or administer AUTH_CLASSROOM_STUDENT_SUBMISSIONS_STUDENTS_READONLY = 'https://www.googleapis.com/auth/classroom.student-submissions.students.readonly' + + # Manage your Google Classroom class rosters + AUTH_CLASSROOM_ROSTERS = 'https://www.googleapis.com/auth/classroom.rosters' + + # View your course work and grades in Google Classroom + AUTH_CLASSROOM_COURSEWORK_ME_READONLY = 'https://www.googleapis.com/auth/classroom.coursework.me.readonly' + + # View your Google Classroom classes + AUTH_CLASSROOM_COURSES_READONLY = 'https://www.googleapis.com/auth/classroom.courses.readonly' + + # Manage your Google Classroom classes + AUTH_CLASSROOM_COURSES = 'https://www.googleapis.com/auth/classroom.courses' + + # Manage your course work and view your grades in Google Classroom + AUTH_CLASSROOM_COURSEWORK_ME = 'https://www.googleapis.com/auth/classroom.coursework.me' + + # 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 + AUTH_CLASSROOM_COURSEWORK_STUDENTS = 'https://www.googleapis.com/auth/classroom.coursework.students' + + # View the profile photos of people in your classes + AUTH_CLASSROOM_PROFILE_PHOTOS = 'https://www.googleapis.com/auth/classroom.profile.photos' + + # View the email addresses of people in your classes + AUTH_CLASSROOM_PROFILE_EMAILS = 'https://www.googleapis.com/auth/classroom.profile.emails' end end end diff --git a/generated/google/apis/classroom_v1/classes.rb b/generated/google/apis/classroom_v1/classes.rb index 1314063ee..e308cc5a4 100644 --- a/generated/google/apis/classroom_v1/classes.rb +++ b/generated/google/apis/classroom_v1/classes.rb @@ -22,112 +22,187 @@ module Google module Apis module ClassroomV1 - # A Course in Classroom. - class Course + # Attachment added to student assignment work. + # When creating attachments, setting the `form` field is not supported. + class Attachment include Google::Apis::Core::Hashable - # 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. + # Representation of a Google Drive file. + # Corresponds to the JSON property `driveFile` + # @return [Google::Apis::ClassroomV1::DriveFile] + attr_accessor :drive_file + + # YouTube video item. + # Corresponds to the JSON property `youTubeVideo` + # @return [Google::Apis::ClassroomV1::YouTubeVideo] + attr_accessor :you_tube_video + + # URL item. + # Corresponds to the JSON property `link` + # @return [Google::Apis::ClassroomV1::Link] + attr_accessor :link + + # Google Forms item. + # Corresponds to the JSON property `form` + # @return [Google::Apis::ClassroomV1::Form] + attr_accessor :form + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_file = args[:drive_file] if args.key?(:drive_file) + @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) + @link = args[:link] if args.key?(:link) + @form = args[:form] if args.key?(:form) + end + end + + # Response when listing guardian invitations. + class ListGuardianInvitationsResponse + include Google::Apis::Core::Hashable + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Guardian invitations that matched the list request. + # Corresponds to the JSON property `guardianInvitations` + # @return [Array] + attr_accessor :guardian_invitations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @guardian_invitations = args[:guardian_invitations] if args.key?(:guardian_invitations) + end + end + + # Course work created by a teacher for students of the course. + class CourseWork + include Google::Apis::Core::Hashable + + # Classroom-assigned identifier of this course work, unique per course. + # Read-only. # Corresponds to the JSON property `id` # @return [String] attr_accessor :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. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # 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. - # Corresponds to the JSON property `section` - # @return [String] - attr_accessor :section - - # 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. - # Corresponds to the JSON property `descriptionHeading` - # @return [String] - attr_accessor :description_heading - - # 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 of this course work. + # If set, the description must be a valid UTF-8 string containing no more + # than 30,000 characters. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Optional room location. For example, "301". If set, this field must be a valid - # UTF-8 string and no longer than 650 characters. - # Corresponds to the JSON property `room` + # Setting to determine when students are allowed to modify submissions. + # If unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. + # Corresponds to the JSON property `submissionModificationMode` # @return [String] - attr_accessor :room + attr_accessor :submission_modification_mode - # 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. - # Corresponds to the JSON property `ownerId` - # @return [String] - attr_accessor :owner_id + # 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. + # Corresponds to the JSON property `associatedWithDeveloper` + # @return [Boolean] + attr_accessor :associated_with_developer + alias_method :associated_with_developer?, :associated_with_developer - # Creation time of the course. Specifying this field in a course update mask - # results in an error. Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Time of the most recent update to this course. Specifying this field in a - # course update mask results in an error. Read-only. + # Timestamp of the most recent change to this course work. + # Read-only. # Corresponds to the JSON property `updateTime` # @return [String] attr_accessor :update_time - # Enrollment code to use when joining this course. Specifying this field in a - # course update mask results in an error. Read-only. - # Corresponds to the JSON property `enrollmentCode` + # Title of this course work. + # The title must be a valid UTF-8 string containing between 1 and 3000 + # characters. + # Corresponds to the JSON property `title` # @return [String] - attr_accessor :enrollment_code + attr_accessor :title - # State of the course. If unspecified, the default state is `PROVISIONED`. - # Corresponds to the JSON property `courseState` - # @return [String] - attr_accessor :course_state - - # Absolute link to this course in the Classroom web UI. Read-only. + # Absolute link to this course work in the Classroom web UI. + # This is only populated if `state` is `PUBLISHED`. + # Read-only. # Corresponds to the JSON property `alternateLink` # @return [String] attr_accessor :alternate_link - # 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. - # Corresponds to the JSON property `teacherGroupEmail` + # Type of this course work. + # The type is set when the course work is created and cannot be changed. + # Corresponds to the JSON property `workType` # @return [String] - attr_accessor :teacher_group_email + attr_accessor :work_type - # 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. - # Corresponds to the JSON property `courseGroupEmail` + # Additional materials. + # CourseWork must have no more than 20 material items. + # Corresponds to the JSON property `materials` + # @return [Array] + attr_accessor :materials + + # Status of this course work. + # If unspecified, the default state is `DRAFT`. + # Corresponds to the JSON property `state` # @return [String] - attr_accessor :course_group_email + attr_accessor :state - # Representation of a Google Drive folder. - # Corresponds to the JSON property `teacherFolder` - # @return [Google::Apis::ClassroomV1::DriveFolder] - attr_accessor :teacher_folder + # 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`. + # Corresponds to the JSON property `dueDate` + # @return [Google::Apis::ClassroomV1::Date] + attr_accessor :due_date - # Sets of materials that appear on the "about" page of this course. Read-only. - # Corresponds to the JSON property `courseMaterialSets` - # @return [Array] - attr_accessor :course_material_sets + # Additional details for multiple-choice questions. + # Corresponds to the JSON property `multipleChoiceQuestion` + # @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion] + attr_accessor :multiple_choice_question + + # Timestamp when this course work was created. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` + # @return [String] + attr_accessor :course_id + + # Maximum grade for this course work. + # If zero or unspecified, this assignment is considered ungraded. + # This must be a non-negative integer value. + # Corresponds to the JSON property `maxPoints` + # @return [Float] + attr_accessor :max_points + + # Additional details for assignments. + # Corresponds to the JSON property `assignment` + # @return [Google::Apis::ClassroomV1::Assignment] + attr_accessor :assignment + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + # Corresponds to the JSON property `dueTime` + # @return [Google::Apis::ClassroomV1::TimeOfDay] + attr_accessor :due_time def initialize(**args) update!(**args) @@ -136,21 +211,62 @@ module Google # Update properties of this object def update!(**args) @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @section = args[:section] if args.key?(:section) - @description_heading = args[:description_heading] if args.key?(:description_heading) @description = args[:description] if args.key?(:description) - @room = args[:room] if args.key?(:room) - @owner_id = args[:owner_id] if args.key?(:owner_id) - @creation_time = args[:creation_time] if args.key?(:creation_time) + @submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode) + @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) @update_time = args[:update_time] if args.key?(:update_time) - @enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code) - @course_state = args[:course_state] if args.key?(:course_state) + @title = args[:title] if args.key?(:title) @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @teacher_group_email = args[:teacher_group_email] if args.key?(:teacher_group_email) - @course_group_email = args[:course_group_email] if args.key?(:course_group_email) - @teacher_folder = args[:teacher_folder] if args.key?(:teacher_folder) - @course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets) + @work_type = args[:work_type] if args.key?(:work_type) + @materials = args[:materials] if args.key?(:materials) + @state = args[:state] if args.key?(:state) + @due_date = args[:due_date] if args.key?(:due_date) + @multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @course_id = args[:course_id] if args.key?(:course_id) + @max_points = args[:max_points] if args.key?(:max_points) + @assignment = args[:assignment] if args.key?(:assignment) + @due_time = args[:due_time] if args.key?(:due_time) + end + end + + # Representation of a Google Drive file. + class DriveFile + include Google::Apis::Core::Hashable + + # URL of a thumbnail image of the Drive item. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Title of the Drive item. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # URL that can be used to access the Drive item. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # Drive API resource ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @title = args[:title] if args.key?(:title) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @id = args[:id] if args.key?(:id) end end @@ -158,48 +274,49 @@ module Google class DriveFolder include Google::Apis::Core::Hashable + # Title of the Drive folder. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # URL that can be used to access the Drive folder. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + # Drive API resource ID. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Title of the Drive folder. Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL that can be used to access the Drive folder. Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) @title = args[:title] if args.key?(:title) @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @id = args[:id] if args.key?(:id) end end - # 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 + # Response when listing course aliases. + class ListCourseAliasesResponse include Google::Apis::Core::Hashable - # Title for this set. - # Corresponds to the JSON property `title` + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :title + attr_accessor :next_page_token - # Materials attached to this set. - # Corresponds to the JSON property `materials` - # @return [Array] - attr_accessor :materials + # The course aliases. + # Corresponds to the JSON property `aliases` + # @return [Array] + attr_accessor :aliases def initialize(**args) update!(**args) @@ -207,8 +324,27 @@ module Google # Update properties of this object def update!(**args) - @title = args[:title] if args.key?(:title) - @materials = args[:materials] if args.key?(:materials) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @aliases = args[:aliases] if args.key?(:aliases) + end + end + + # Student work for a short answer question. + class ShortAnswerSubmission + include Google::Apis::Core::Hashable + + # Student response to a short-answer question. + # Corresponds to the JSON property `answer` + # @return [String] + attr_accessor :answer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @answer = args[:answer] if args.key?(:answer) end end @@ -249,29 +385,14 @@ module Google end end - # Representation of a Google Drive file. - class DriveFile + # Student work for a multiple-choice question. + class MultipleChoiceSubmission include Google::Apis::Core::Hashable - # Drive API resource ID. - # Corresponds to the JSON property `id` + # Student's select choice. + # Corresponds to the JSON property `answer` # @return [String] - attr_accessor :id - - # Title of the Drive item. Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL that can be used to access the Drive item. Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # URL of a thumbnail image of the Drive item. Read-only. - # Corresponds to the JSON property `thumbnailUrl` - # @return [String] - attr_accessor :thumbnail_url + attr_accessor :answer def initialize(**args) update!(**args) @@ -279,47 +400,7 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @title = args[:title] if args.key?(:title) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) - end - end - - # YouTube video item. - class YouTubeVideo - include Google::Apis::Core::Hashable - - # YouTube API resource ID. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Title of the YouTube video. Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL that can be used to view the YouTube video. Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # URL of a thumbnail image of the YouTube video. Read-only. - # Corresponds to the JSON property `thumbnailUrl` - # @return [String] - attr_accessor :thumbnail_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @title = args[:title] if args.key?(:title) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @answer = args[:answer] if args.key?(:answer) end end @@ -327,22 +408,24 @@ module Google class Link include Google::Apis::Core::Hashable - # 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. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url - # Title of the target of the URL. Read-only. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # URL of a thumbnail image of the target URL. Read-only. + # URL of a thumbnail image of the target URL. + # Read-only. # Corresponds to the JSON property `thumbnailUrl` # @return [String] attr_accessor :thumbnail_url + # Title of the target of the URL. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + def initialize(**args) update!(**args) end @@ -350,8 +433,70 @@ module Google # Update properties of this object def update!(**args) @url = args[:url] if args.key?(:url) - @title = args[:title] if args.key?(:title) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @title = args[:title] if args.key?(:title) + end + end + + # Request to modify the attachments of a student submission. + class ModifyAttachmentsRequest + include Google::Apis::Core::Hashable + + # Attachments to add. + # A student submission may not have more than 20 attachments. + # Form attachments are not supported. + # Corresponds to the JSON property `addAttachments` + # @return [Array] + attr_accessor :add_attachments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_attachments = args[:add_attachments] if args.key?(:add_attachments) + end + end + + # Represents a time of day. The date and time zone are either not significant + # or are specified elsewhere. An API may choose to allow leap seconds. Related + # types are google.type.Date and `google.protobuf.Timestamp`. + class TimeOfDay + include Google::Apis::Core::Hashable + + # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # 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. + # Corresponds to the JSON property `hours` + # @return [Fixnum] + attr_accessor :hours + + # Minutes of hour of day. Must be from 0 to 59. + # Corresponds to the JSON property `minutes` + # @return [Fixnum] + attr_accessor :minutes + + # 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. + # Corresponds to the JSON property `seconds` + # @return [Fixnum] + attr_accessor :seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nanos = args[:nanos] if args.key?(:nanos) + @hours = args[:hours] if args.key?(:hours) + @minutes = args[:minutes] if args.key?(:minutes) + @seconds = args[:seconds] if args.key?(:seconds) end end @@ -359,26 +504,30 @@ module Google class Form include Google::Apis::Core::Hashable + # URL of a thumbnail image of the Form. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + # URL of the form. # Corresponds to the JSON property `formUrl` # @return [String] attr_accessor :form_url - # 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. - # Corresponds to the JSON property `responseUrl` - # @return [String] - attr_accessor :response_url - - # Title of the Form. Read-only. + # Title of the Form. + # Read-only. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title - # URL of a thumbnail image of the Form. Read-only. - # Corresponds to the JSON property `thumbnailUrl` + # 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. + # Corresponds to the JSON property `responseUrl` # @return [String] - attr_accessor :thumbnail_url + attr_accessor :response_url def initialize(**args) update!(**args) @@ -386,44 +535,47 @@ module Google # Update properties of this object def update!(**args) - @form_url = args[:form_url] if args.key?(:form_url) - @response_url = args[:response_url] if args.key?(:response_url) - @title = args[:title] if args.key?(:title) @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @form_url = args[:form_url] if args.key?(:form_url) + @title = args[:title] if args.key?(:title) + @response_url = args[:response_url] if args.key?(:response_url) end end - # 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 + # Additional details for multiple-choice questions. + class MultipleChoiceQuestion include Google::Apis::Core::Hashable + # Possible choices. + # Corresponds to the JSON property `choices` + # @return [Array] + attr_accessor :choices + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @choices = args[:choices] if args.key?(:choices) end end - # Response when listing courses. - class ListCoursesResponse + # 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 include Google::Apis::Core::Hashable - # Courses that match the list request. - # Corresponds to the JSON property `courses` - # @return [Array] - attr_accessor :courses + # Materials attached to this set. + # Corresponds to the JSON property `materials` + # @return [Array] + attr_accessor :materials - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` + # Title for this set. + # Corresponds to the JSON property `title` # @return [String] - attr_accessor :next_page_token + attr_accessor :title def initialize(**args) update!(**args) @@ -431,29 +583,167 @@ module Google # Update properties of this object def update!(**args) - @courses = args[:courses] if args.key?(:courses) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @materials = args[:materials] if args.key?(:materials) + @title = args[:title] if args.key?(:title) end end - # 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. + # 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 + include Google::Apis::Core::Hashable + + # Classroom-assigned Identifier for the student submission. + # This is unique among submissions for the relevant course work. + # Read-only. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Type of course work this submission is for. + # Read-only. + # Corresponds to the JSON property `courseWorkType` + # @return [String] + attr_accessor :course_work_type + + # Optional grade. If unset, no grade was set. + # This must be a non-negative integer value. + # This may be modified only by course teachers. + # Corresponds to the JSON property `assignedGrade` + # @return [Float] + attr_accessor :assigned_grade + + # Whether this student submission is associated with the Developer Console + # project making the request. + # See google.classroom.Work.CreateCourseWork for more + # details. + # Read-only. + # Corresponds to the JSON property `associatedWithDeveloper` + # @return [Boolean] + attr_accessor :associated_with_developer + alias_method :associated_with_developer?, :associated_with_developer + + # Last update time of this submission. + # This may be unset if the student has not accessed this item. + # Read-only. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Absolute link to the submission in the Classroom web UI. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # 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. + # Corresponds to the JSON property `draftGrade` + # @return [Float] + attr_accessor :draft_grade + + # Identifier for the student that owns this submission. + # Read-only. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + # Student work for a multiple-choice question. + # Corresponds to the JSON property `multipleChoiceSubmission` + # @return [Google::Apis::ClassroomV1::MultipleChoiceSubmission] + attr_accessor :multiple_choice_submission + + # State of this submission. + # Read-only. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Student work for an assignment. + # Corresponds to the JSON property `assignmentSubmission` + # @return [Google::Apis::ClassroomV1::AssignmentSubmission] + attr_accessor :assignment_submission + + # Creation time of this submission. + # This may be unset if the student has not accessed this item. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` + # @return [String] + attr_accessor :course_id + + # Student work for a short answer question. + # Corresponds to the JSON property `shortAnswerSubmission` + # @return [Google::Apis::ClassroomV1::ShortAnswerSubmission] + attr_accessor :short_answer_submission + + # Whether this submission is late. + # Read-only. + # Corresponds to the JSON property `late` + # @return [Boolean] + attr_accessor :late + alias_method :late?, :late + + # Identifier for the course work this corresponds to. + # Read-only. + # Corresponds to the JSON property `courseWorkId` + # @return [String] + attr_accessor :course_work_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @course_work_type = args[:course_work_type] if args.key?(:course_work_type) + @assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade) + @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) + @update_time = args[:update_time] if args.key?(:update_time) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @draft_grade = args[:draft_grade] if args.key?(:draft_grade) + @user_id = args[:user_id] if args.key?(:user_id) + @multiple_choice_submission = args[:multiple_choice_submission] if args.key?(:multiple_choice_submission) + @state = args[:state] if args.key?(:state) + @assignment_submission = args[:assignment_submission] if args.key?(:assignment_submission) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @course_id = args[:course_id] if args.key?(:course_id) + @short_answer_submission = args[:short_answer_submission] if args.key?(:short_answer_submission) + @late = args[:late] if args.key?(:late) + @course_work_id = args[:course_work_id] if args.key?(:course_work_id) + end + end + + # 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 include Google::Apis::Core::Hashable - # 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. + # 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. # Corresponds to the JSON property `alias` # @return [String] attr_accessor :alias @@ -468,109 +758,12 @@ module Google end end - # Response when listing course aliases. - class ListCourseAliasesResponse - include Google::Apis::Core::Hashable - - # The course aliases. - # Corresponds to the JSON property `aliases` - # @return [Array] - attr_accessor :aliases - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @aliases = args[:aliases] if args.key?(:aliases) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Response when listing guardian invitations. - class ListGuardianInvitationsResponse - include Google::Apis::Core::Hashable - - # Guardian invitations that matched the list request. - # Corresponds to the JSON property `guardianInvitations` - # @return [Array] - attr_accessor :guardian_invitations - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @guardian_invitations = args[:guardian_invitations] if args.key?(:guardian_invitations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # An invitation to become the guardian of a specified user, sent to a specified - # email address. - class GuardianInvitation - include Google::Apis::Core::Hashable - - # ID of the student (in standard format) - # Corresponds to the JSON property `studentId` - # @return [String] - attr_accessor :student_id - - # Unique identifier for this invitation. Read-only. - # Corresponds to the JSON property `invitationId` - # @return [String] - attr_accessor :invitation_id - - # Email address that the invitation was sent to. This field is only visible to - # domain administrators. - # Corresponds to the JSON property `invitedEmailAddress` - # @return [String] - attr_accessor :invited_email_address - - # The state that this invitation is in. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # The time that this invitation was created. Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @student_id = args[:student_id] if args.key?(:student_id) - @invitation_id = args[:invitation_id] if args.key?(:invitation_id) - @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) - @state = args[:state] if args.key?(:state) - @creation_time = args[:creation_time] if args.key?(:creation_time) - end - end - # Response when listing guardians. class ListGuardiansResponse include Google::Apis::Core::Hashable - # 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. # Corresponds to the JSON property `guardians` # @return [Array] attr_accessor :guardians @@ -592,11 +785,22 @@ module Google end end - # Association between a student and a guardian of that student. The guardian may - # receive information about the student's course work. + # Association between a student and a guardian of that student. The guardian + # may receive information about the student's course work. class Guardian include Google::Apis::Core::Hashable + # Global information for a user. + # Corresponds to the JSON property `guardianProfile` + # @return [Google::Apis::ClassroomV1::UserProfile] + attr_accessor :guardian_profile + + # The email address to which the initial guardian invitation was sent. + # This field is only visible to domain administrators. + # Corresponds to the JSON property `invitedEmailAddress` + # @return [String] + attr_accessor :invited_email_address + # Identifier for the student to whom the guardian relationship applies. # Corresponds to the JSON property `studentId` # @return [String] @@ -607,16 +811,43 @@ module Google # @return [String] attr_accessor :guardian_id - # Global information for a user. - # Corresponds to the JSON property `guardianProfile` - # @return [Google::Apis::ClassroomV1::UserProfile] - attr_accessor :guardian_profile + def initialize(**args) + update!(**args) + end - # The email address to which the initial guardian invitation was sent. This - # field is only visible to domain administrators. - # Corresponds to the JSON property `invitedEmailAddress` + # Update properties of this object + def update!(**args) + @guardian_profile = args[:guardian_profile] if args.key?(:guardian_profile) + @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) + @student_id = args[:student_id] if args.key?(:student_id) + @guardian_id = args[:guardian_id] if args.key?(:guardian_id) + end + end + + # Teacher of a course. + class Teacher + include Google::Apis::Core::Hashable + + # Identifier of the course. + # Read-only. + # Corresponds to the JSON property `courseId` # @return [String] - attr_accessor :invited_email_address + attr_accessor :course_id + + # Global information for a user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::ClassroomV1::UserProfile] + attr_accessor :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 + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id def initialize(**args) update!(**args) @@ -624,10 +855,9 @@ module Google # Update properties of this object def update!(**args) - @student_id = args[:student_id] if args.key?(:student_id) - @guardian_id = args[:guardian_id] if args.key?(:guardian_id) - @guardian_profile = args[:guardian_profile] if args.key?(:guardian_profile) - @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) + @course_id = args[:course_id] if args.key?(:course_id) + @profile = args[:profile] if args.key?(:profile) + @user_id = args[:user_id] if args.key?(:user_id) end end @@ -635,7 +865,20 @@ module Google class UserProfile include Google::Apis::Core::Hashable - # Identifier of the user. Read-only. + # Email address of the user. + # Read-only. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + # Global permissions of the user. + # Read-only. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # Identifier of the user. + # Read-only. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -645,143 +888,36 @@ module Google # @return [Google::Apis::ClassroomV1::Name] attr_accessor :name - # Email address of the user. Read-only. - # Corresponds to the JSON property `emailAddress` - # @return [String] - attr_accessor :email_address - - # URL of user's profile photo. Read-only. + # URL of user's profile photo. + # Read-only. # Corresponds to the JSON property `photoUrl` # @return [String] attr_accessor :photo_url - # Global permissions of the user. Read-only. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @email_address = args[:email_address] if args.key?(:email_address) + @permissions = args[:permissions] if args.key?(:permissions) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) - @email_address = args[:email_address] if args.key?(:email_address) @photo_url = args[:photo_url] if args.key?(:photo_url) - @permissions = args[:permissions] if args.key?(:permissions) end end - # Details of the user's name. - class Name + # Request to reclaim a student submission. + class ReclaimStudentSubmissionRequest include Google::Apis::Core::Hashable - # The user's first name. Read-only. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # The user's last name. Read-only. - # Corresponds to the JSON property `familyName` - # @return [String] - attr_accessor :family_name - - # The user's full name formed by concatenating the first and last name values. - # Read-only. - # Corresponds to the JSON property `fullName` - # @return [String] - attr_accessor :full_name - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @given_name = args[:given_name] if args.key?(:given_name) - @family_name = args[:family_name] if args.key?(:family_name) - @full_name = args[:full_name] if args.key?(:full_name) - end - end - - # Global user permission description. - class GlobalPermission - include Google::Apis::Core::Hashable - - # Permission value. - # Corresponds to the JSON property `permission` - # @return [String] - attr_accessor :permission - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permission = args[:permission] if args.key?(:permission) - end - end - - # Teacher of a course. - class Teacher - include Google::Apis::Core::Hashable - - # Identifier of the course. Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # 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 - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - # Global information for a user. - # Corresponds to the JSON property `profile` - # @return [Google::Apis::ClassroomV1::UserProfile] - attr_accessor :profile - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @course_id = args[:course_id] if args.key?(:course_id) - @user_id = args[:user_id] if args.key?(:user_id) - @profile = args[:profile] if args.key?(:profile) - end - end - - # Response when listing teachers. - class ListTeachersResponse - include Google::Apis::Core::Hashable - - # Teachers who match the list request. - # Corresponds to the JSON property `teachers` - # @return [Array] - attr_accessor :teachers - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @teachers = args[:teachers] if args.key?(:teachers) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end @@ -789,19 +925,12 @@ module Google class Student include Google::Apis::Core::Hashable - # Identifier of the course. Read-only. + # Identifier of the course. + # Read-only. # Corresponds to the JSON property `courseId` # @return [String] attr_accessor :course_id - # 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 - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - # Global information for a user. # Corresponds to the JSON property `profile` # @return [Google::Apis::ClassroomV1::UserProfile] @@ -812,217 +941,191 @@ module Google # @return [Google::Apis::ClassroomV1::DriveFolder] attr_accessor :student_work_folder - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @course_id = args[:course_id] if args.key?(:course_id) - @user_id = args[:user_id] if args.key?(:user_id) - @profile = args[:profile] if args.key?(:profile) - @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder) - end - end - - # Response when listing students. - class ListStudentsResponse - include Google::Apis::Core::Hashable - - # Students who match the list request. - # Corresponds to the JSON property `students` - # @return [Array] - attr_accessor :students - - # Token identifying the next page of results to return. If empty, no further - # results are available. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @students = args[:students] if args.key?(:students) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # An invitation to join a course. - class Invitation - include Google::Apis::Core::Hashable - - # Identifier assigned by Classroom. Read-only. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # 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 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 # Corresponds to the JSON property `userId` # @return [String] attr_accessor :user_id - # Identifier of the course to invite the user to. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # Role to invite the user to have. Must not be `COURSE_ROLE_UNSPECIFIED`. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @user_id = args[:user_id] if args.key?(:user_id) @course_id = args[:course_id] if args.key?(:course_id) - @role = args[:role] if args.key?(:role) + @profile = args[:profile] if args.key?(:profile) + @student_work_folder = args[:student_work_folder] if args.key?(:student_work_folder) + @user_id = args[:user_id] if args.key?(:user_id) end end - # Response when listing invitations. - class ListInvitationsResponse + # Response when listing teachers. + class ListTeachersResponse include Google::Apis::Core::Hashable - # Invitations that match the list request. - # Corresponds to the JSON property `invitations` - # @return [Array] - attr_accessor :invitations - # Token identifying the next page of results to return. If empty, no further # results are available. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # Teachers who match the list request. + # Corresponds to the JSON property `teachers` + # @return [Array] + attr_accessor :teachers + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @invitations = args[:invitations] if args.key?(:invitations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @teachers = args[:teachers] if args.key?(:teachers) end end - # Course work created by a teacher for students of the course. - class CourseWork + # A Course in Classroom. + class Course include Google::Apis::Core::Hashable - # Identifier of the course. Read-only. - # Corresponds to the JSON property `courseId` - # @return [String] - attr_accessor :course_id - - # Classroom-assigned identifier of this course work, unique per course. Read- - # only. + # 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. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # Title of this course work. The title must be a valid UTF-8 string containing - # between 1 and 3000 characters. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # 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. + # 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. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Additional materials. CourseWork must have no more than 20 material items. - # Corresponds to the JSON property `materials` - # @return [Array] - attr_accessor :materials - - # Status of this course work. If unspecified, the default state is `DRAFT`. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Absolute link to this course work in the Classroom web UI. This is only - # populated if `state` is `PUBLISHED`. Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # Timestamp when this course work was created. Read-only. - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # Timestamp of the most recent change to this course work. 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. # Corresponds to the JSON property `updateTime` # @return [String] attr_accessor :update_time - # 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`. - # Corresponds to the JSON property `dueDate` - # @return [Google::Apis::ClassroomV1::Date] - attr_accessor :due_date - - # 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`. - # Corresponds to the JSON property `dueTime` - # @return [Google::Apis::ClassroomV1::TimeOfDay] - attr_accessor :due_time - - # Maximum grade for this course work. If zero or unspecified, this assignment is - # considered ungraded. This must be a non-negative integer value. - # Corresponds to the JSON property `maxPoints` - # @return [Float] - attr_accessor :max_points - - # Type of this course work. The type is set when the course work is created and - # cannot be changed. When creating course work, this must be `ASSIGNMENT`. - # Corresponds to the JSON property `workType` + # 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. + # Corresponds to the JSON property `section` # @return [String] - attr_accessor :work_type + attr_accessor :section - # 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. - # Corresponds to the JSON property `associatedWithDeveloper` + # Absolute link to this course in the Classroom web UI. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # 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. + # Corresponds to the JSON property `teacherGroupEmail` + # @return [String] + attr_accessor :teacher_group_email + + # Whether or not guardian notifications are enabled for this course. + # Read-only. + # Corresponds to the JSON property `guardiansEnabled` # @return [Boolean] - attr_accessor :associated_with_developer - alias_method :associated_with_developer?, :associated_with_developer + attr_accessor :guardians_enabled + alias_method :guardians_enabled?, :guardians_enabled - # Setting to determine when students are allowed to modify submissions. If - # unspecified, the default value is `MODIFIABLE_UNTIL_TURNED_IN`. - # Corresponds to the JSON property `submissionModificationMode` + # 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. + # Corresponds to the JSON property `ownerId` # @return [String] - attr_accessor :submission_modification_mode + attr_accessor :owner_id - # Additional details for assignments. - # Corresponds to the JSON property `assignment` - # @return [Google::Apis::ClassroomV1::Assignment] - attr_accessor :assignment + # 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. + # Corresponds to the JSON property `descriptionHeading` + # @return [String] + attr_accessor :description_heading - # Additional details for multiple-choice questions. - # Corresponds to the JSON property `multipleChoiceQuestion` - # @return [Google::Apis::ClassroomV1::MultipleChoiceQuestion] - attr_accessor :multiple_choice_question + # 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. + # Corresponds to the JSON property `courseGroupEmail` + # @return [String] + attr_accessor :course_group_email + + # State of the course. + # If unspecified, the default state is `PROVISIONED`. + # Corresponds to the JSON property `courseState` + # @return [String] + attr_accessor :course_state + + # Optional room location. + # For example, "301". + # If set, this field must be a valid UTF-8 string and no longer than 650 + # characters. + # Corresponds to the JSON property `room` + # @return [String] + attr_accessor :room + + # 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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Creation time of the course. + # Specifying this field in a course update mask results in an error. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Enrollment code to use when joining this course. + # Specifying this field in a course update mask results in an error. + # Read-only. + # Corresponds to the JSON property `enrollmentCode` + # @return [String] + attr_accessor :enrollment_code + + # Representation of a Google Drive folder. + # Corresponds to the JSON property `teacherFolder` + # @return [Google::Apis::ClassroomV1::DriveFolder] + attr_accessor :teacher_folder + + # Sets of materials that appear on the "about" page of this course. + # Read-only. + # Corresponds to the JSON property `courseMaterialSets` + # @return [Array] + attr_accessor :course_material_sets def initialize(**args) update!(**args) @@ -1030,61 +1133,181 @@ module Google # Update properties of this object def update!(**args) - @course_id = args[:course_id] if args.key?(:course_id) @id = args[:id] if args.key?(:id) - @title = args[:title] if args.key?(:title) @description = args[:description] if args.key?(:description) - @materials = args[:materials] if args.key?(:materials) - @state = args[:state] if args.key?(:state) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @creation_time = args[:creation_time] if args.key?(:creation_time) @update_time = args[:update_time] if args.key?(:update_time) - @due_date = args[:due_date] if args.key?(:due_date) - @due_time = args[:due_time] if args.key?(:due_time) - @max_points = args[:max_points] if args.key?(:max_points) - @work_type = args[:work_type] if args.key?(:work_type) - @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) - @submission_modification_mode = args[:submission_modification_mode] if args.key?(:submission_modification_mode) - @assignment = args[:assignment] if args.key?(:assignment) - @multiple_choice_question = args[:multiple_choice_question] if args.key?(:multiple_choice_question) + @section = args[:section] if args.key?(:section) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @teacher_group_email = args[:teacher_group_email] if args.key?(:teacher_group_email) + @guardians_enabled = args[:guardians_enabled] if args.key?(:guardians_enabled) + @owner_id = args[:owner_id] if args.key?(:owner_id) + @description_heading = args[:description_heading] if args.key?(:description_heading) + @course_group_email = args[:course_group_email] if args.key?(:course_group_email) + @course_state = args[:course_state] if args.key?(:course_state) + @room = args[:room] if args.key?(:room) + @name = args[:name] if args.key?(:name) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @enrollment_code = args[:enrollment_code] if args.key?(:enrollment_code) + @teacher_folder = args[:teacher_folder] if args.key?(:teacher_folder) + @course_material_sets = args[:course_material_sets] if args.key?(:course_material_sets) end end - # Material attached to course work. When creating attachments, only the Link - # field may be specified. - class Material + # Request to return a student submission. + class ReturnStudentSubmissionRequest include Google::Apis::Core::Hashable - # Drive file that is used as material for course work. - # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::SharedDriveFile] - attr_accessor :drive_file - - # YouTube video item. - # Corresponds to the JSON property `youtubeVideo` - # @return [Google::Apis::ClassroomV1::YouTubeVideo] - attr_accessor :youtube_video - - # URL item. - # Corresponds to the JSON property `link` - # @return [Google::Apis::ClassroomV1::Link] - attr_accessor :link - - # Google Forms item. - # Corresponds to the JSON property `form` - # @return [Google::Apis::ClassroomV1::Form] - attr_accessor :form - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @drive_file = args[:drive_file] if args.key?(:drive_file) - @youtube_video = args[:youtube_video] if args.key?(:youtube_video) - @link = args[:link] if args.key?(:link) - @form = args[:form] if args.key?(:form) + end + end + + # An invitation to become the guardian of a specified user, sent to a specified + # email address. + class GuardianInvitation + include Google::Apis::Core::Hashable + + # The time that this invitation was created. + # Read-only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Unique identifier for this invitation. + # Read-only. + # Corresponds to the JSON property `invitationId` + # @return [String] + attr_accessor :invitation_id + + # The state that this invitation is in. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Email address that the invitation was sent to. + # This field is only visible to domain administrators. + # Corresponds to the JSON property `invitedEmailAddress` + # @return [String] + attr_accessor :invited_email_address + + # ID of the student (in standard format) + # Corresponds to the JSON property `studentId` + # @return [String] + attr_accessor :student_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @invitation_id = args[:invitation_id] if args.key?(:invitation_id) + @state = args[:state] if args.key?(:state) + @invited_email_address = args[:invited_email_address] if args.key?(:invited_email_address) + @student_id = args[:student_id] if args.key?(:student_id) + end + end + + # Request to turn in a student submission. + class TurnInStudentSubmissionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # YouTube video item. + class YouTubeVideo + include Google::Apis::Core::Hashable + + # URL of a thumbnail image of the YouTube video. + # Read-only. + # Corresponds to the JSON property `thumbnailUrl` + # @return [String] + attr_accessor :thumbnail_url + + # Title of the YouTube video. + # Read-only. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # URL that can be used to view the YouTube video. + # Read-only. + # Corresponds to the JSON property `alternateLink` + # @return [String] + attr_accessor :alternate_link + + # YouTube API resource ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url) + @title = args[:title] if args.key?(:title) + @alternate_link = args[:alternate_link] if args.key?(:alternate_link) + @id = args[:id] if args.key?(:id) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response when listing course work. + class ListCourseWorkResponse + include Google::Apis::Core::Hashable + + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Course work items that match the request. + # Corresponds to the JSON property `courseWork` + # @return [Array] + attr_accessor :course_work + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @course_work = args[:course_work] if args.key?(:course_work) end end @@ -1113,28 +1336,111 @@ module Google end end - # 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 + # Global user permission description. + class GlobalPermission include Google::Apis::Core::Hashable - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year + # Permission value. + # Corresponds to the JSON property `permission` + # @return [String] + attr_accessor :permission + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permission = args[:permission] if args.key?(:permission) + end + end + + # Material attached to course work. + # When creating attachments, setting the `form` field is not supported. + class Material + include Google::Apis::Core::Hashable + + # Drive file that is used as material for course work. + # Corresponds to the JSON property `driveFile` + # @return [Google::Apis::ClassroomV1::SharedDriveFile] + attr_accessor :drive_file + + # URL item. + # Corresponds to the JSON property `link` + # @return [Google::Apis::ClassroomV1::Link] + attr_accessor :link + + # YouTube video item. + # Corresponds to the JSON property `youtubeVideo` + # @return [Google::Apis::ClassroomV1::YouTubeVideo] + attr_accessor :youtube_video + + # Google Forms item. + # Corresponds to the JSON property `form` + # @return [Google::Apis::ClassroomV1::Form] + attr_accessor :form + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @drive_file = args[:drive_file] if args.key?(:drive_file) + @link = args[:link] if args.key?(:link) + @youtube_video = args[:youtube_video] if args.key?(:youtube_video) + @form = args[:form] if args.key?(:form) + end + end + + # Student work for an assignment. + class AssignmentSubmission + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `attachments` + # @return [Array] + attr_accessor :attachments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachments = args[:attachments] if args.key?(:attachments) + end + end + + # 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 + include Google::Apis::Core::Hashable # Month of year. Must be from 1 to 12. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month - # 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. + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # 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. # Corresponds to the JSON property `day` # @return [Fixnum] attr_accessor :day @@ -1145,53 +1451,12 @@ module Google # Update properties of this object def update!(**args) - @year = args[:year] if args.key?(:year) @month = args[:month] if args.key?(:month) + @year = args[:year] if args.key?(:year) @day = args[:day] if args.key?(:day) end end - # 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`. - class TimeOfDay - include Google::Apis::Core::Hashable - - # 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. - # Corresponds to the JSON property `hours` - # @return [Fixnum] - attr_accessor :hours - - # Minutes of hour of day. Must be from 0 to 59. - # Corresponds to the JSON property `minutes` - # @return [Fixnum] - attr_accessor :minutes - - # 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. - # Corresponds to the JSON property `seconds` - # @return [Fixnum] - attr_accessor :seconds - - # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hours = args[:hours] if args.key?(:hours) - @minutes = args[:minutes] if args.key?(:minutes) - @seconds = args[:seconds] if args.key?(:seconds) - @nanos = args[:nanos] if args.key?(:nanos) - end - end - # Additional details for assignments. class Assignment include Google::Apis::Core::Hashable @@ -1211,146 +1476,62 @@ module Google end end - # Additional details for multiple-choice questions. - class MultipleChoiceQuestion + # Response when listing courses. + class ListCoursesResponse include Google::Apis::Core::Hashable - # Possible choices. - # Corresponds to the JSON property `choices` - # @return [Array] - attr_accessor :choices - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @choices = args[:choices] if args.key?(:choices) - end - end - - # Response when listing course work. - class ListCourseWorkResponse - include Google::Apis::Core::Hashable - - # Course work items that match the request. - # Corresponds to the JSON property `courseWork` - # @return [Array] - attr_accessor :course_work - # Token identifying the next page of results to return. If empty, no further # results are available. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # Courses that match the list request. + # Corresponds to the JSON property `courses` + # @return [Array] + attr_accessor :courses + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @course_work = args[:course_work] if args.key?(:course_work) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @courses = args[:courses] if args.key?(:courses) end end - # 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 + # An invitation to join a course. + class Invitation include Google::Apis::Core::Hashable - # Identifier of the course. Read-only. + # Identifier of the course to invite the user to. # Corresponds to the JSON property `courseId` # @return [String] attr_accessor :course_id - # Identifier for the course work this corresponds to. Read-only. - # Corresponds to the JSON property `courseWorkId` + # Role to invite the user to have. + # Must not be `COURSE_ROLE_UNSPECIFIED`. + # Corresponds to the JSON property `role` # @return [String] - attr_accessor :course_work_id + attr_accessor :role - # Classroom-assigned Identifier for the student submission. This is unique among - # submissions for the relevant course work. Read-only. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Identifier for the student that owns this submission. Read-only. + # 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 # Corresponds to the JSON property `userId` # @return [String] attr_accessor :user_id - # Creation time of this submission. This may be unset if the student has not - # accessed this item. Read-only. - # Corresponds to the JSON property `creationTime` + # Identifier assigned by Classroom. + # Read-only. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :creation_time - - # Last update time of this submission. This may be unset if the student has not - # accessed this item. Read-only. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # State of this submission. Read-only. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Whether this submission is late. Read-only. - # Corresponds to the JSON property `late` - # @return [Boolean] - attr_accessor :late - alias_method :late?, :late - - # 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. - # Corresponds to the JSON property `draftGrade` - # @return [Float] - attr_accessor :draft_grade - - # Optional grade. If unset, no grade was set. This must be a non-negative - # integer value. This may be modified only by course teachers. - # Corresponds to the JSON property `assignedGrade` - # @return [Float] - attr_accessor :assigned_grade - - # Absolute link to the submission in the Classroom web UI. Read-only. - # Corresponds to the JSON property `alternateLink` - # @return [String] - attr_accessor :alternate_link - - # Type of course work this submission is for. Read-only. - # Corresponds to the JSON property `courseWorkType` - # @return [String] - attr_accessor :course_work_type - - # Whether this student submission is associated with the Developer Console - # project making the request. See google.classroom.Work.CreateCourseWork for - # more details. Read-only. - # Corresponds to the JSON property `associatedWithDeveloper` - # @return [Boolean] - attr_accessor :associated_with_developer - alias_method :associated_with_developer?, :associated_with_developer - - # Student work for an assignment. - # Corresponds to the JSON property `assignmentSubmission` - # @return [Google::Apis::ClassroomV1::AssignmentSubmission] - attr_accessor :assignment_submission - - # Student work for a short answer question. - # Corresponds to the JSON property `shortAnswerSubmission` - # @return [Google::Apis::ClassroomV1::ShortAnswerSubmission] - attr_accessor :short_answer_submission - - # Student work for a multiple-choice question. - # Corresponds to the JSON property `multipleChoiceSubmission` - # @return [Google::Apis::ClassroomV1::MultipleChoiceSubmission] - attr_accessor :multiple_choice_submission + attr_accessor :id def initialize(**args) update!(**args) @@ -1359,120 +1540,9 @@ module Google # Update properties of this object def update!(**args) @course_id = args[:course_id] if args.key?(:course_id) - @course_work_id = args[:course_work_id] if args.key?(:course_work_id) - @id = args[:id] if args.key?(:id) + @role = args[:role] if args.key?(:role) @user_id = args[:user_id] if args.key?(:user_id) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @update_time = args[:update_time] if args.key?(:update_time) - @state = args[:state] if args.key?(:state) - @late = args[:late] if args.key?(:late) - @draft_grade = args[:draft_grade] if args.key?(:draft_grade) - @assigned_grade = args[:assigned_grade] if args.key?(:assigned_grade) - @alternate_link = args[:alternate_link] if args.key?(:alternate_link) - @course_work_type = args[:course_work_type] if args.key?(:course_work_type) - @associated_with_developer = args[:associated_with_developer] if args.key?(:associated_with_developer) - @assignment_submission = args[:assignment_submission] if args.key?(:assignment_submission) - @short_answer_submission = args[:short_answer_submission] if args.key?(:short_answer_submission) - @multiple_choice_submission = args[:multiple_choice_submission] if args.key?(:multiple_choice_submission) - end - end - - # Student work for an assignment. - class AssignmentSubmission - include Google::Apis::Core::Hashable - - # Attachments added by the student. Drive files that correspond to materials - # with a share mode of SUBMISSION_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 available, but others (e.g. title) may not be. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attachments = args[:attachments] if args.key?(:attachments) - end - end - - # Attachment added to student assignment work. When creating attachments, only - # the Link field may be specified. - class Attachment - include Google::Apis::Core::Hashable - - # Representation of a Google Drive file. - # Corresponds to the JSON property `driveFile` - # @return [Google::Apis::ClassroomV1::DriveFile] - attr_accessor :drive_file - - # YouTube video item. - # Corresponds to the JSON property `youTubeVideo` - # @return [Google::Apis::ClassroomV1::YouTubeVideo] - attr_accessor :you_tube_video - - # URL item. - # Corresponds to the JSON property `link` - # @return [Google::Apis::ClassroomV1::Link] - attr_accessor :link - - # Google Forms item. - # Corresponds to the JSON property `form` - # @return [Google::Apis::ClassroomV1::Form] - attr_accessor :form - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @drive_file = args[:drive_file] if args.key?(:drive_file) - @you_tube_video = args[:you_tube_video] if args.key?(:you_tube_video) - @link = args[:link] if args.key?(:link) - @form = args[:form] if args.key?(:form) - end - end - - # Student work for a short answer question. - class ShortAnswerSubmission - include Google::Apis::Core::Hashable - - # Student response to a short-answer question. - # Corresponds to the JSON property `answer` - # @return [String] - attr_accessor :answer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @answer = args[:answer] if args.key?(:answer) - end - end - - # Student work for a multiple-choice question. - class MultipleChoiceSubmission - include Google::Apis::Core::Hashable - - # Student's select choice. - # Corresponds to the JSON property `answer` - # @return [String] - attr_accessor :answer - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @answer = args[:answer] if args.key?(:answer) + @id = args[:id] if args.key?(:id) end end @@ -1480,84 +1550,112 @@ module Google class ListStudentSubmissionsResponse include Google::Apis::Core::Hashable + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # Student work that matches the request. # Corresponds to the JSON property `studentSubmissions` # @return [Array] attr_accessor :student_submissions + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @student_submissions = args[:student_submissions] if args.key?(:student_submissions) + end + end + + # Details of the user's name. + class Name + include Google::Apis::Core::Hashable + + # The user's first name. + # Read-only. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # The user's last name. + # Read-only. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # The user's full name formed by concatenating the first and last name + # values. + # Read-only. + # Corresponds to the JSON property `fullName` + # @return [String] + attr_accessor :full_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @given_name = args[:given_name] if args.key?(:given_name) + @family_name = args[:family_name] if args.key?(:family_name) + @full_name = args[:full_name] if args.key?(:full_name) + end + end + + # Response when listing invitations. + class ListInvitationsResponse + include Google::Apis::Core::Hashable + # Token identifying the next page of results to return. If empty, no further # results are available. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # Invitations that match the list request. + # Corresponds to the JSON property `invitations` + # @return [Array] + attr_accessor :invitations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @student_submissions = args[:student_submissions] if args.key?(:student_submissions) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @invitations = args[:invitations] if args.key?(:invitations) end end - # Request to turn in a student submission. - class TurnInStudentSubmissionRequest + # Response when listing students. + class ListStudentsResponse include Google::Apis::Core::Hashable + # Token identifying the next page of results to return. If empty, no further + # results are available. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Students who match the list request. + # Corresponds to the JSON property `students` + # @return [Array] + attr_accessor :students + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - end - end - - # Request to reclaim a student submission. - class ReclaimStudentSubmissionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request to return a student submission. - class ReturnStudentSubmissionRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request to modify the attachments of a student submission. - class ModifyAttachmentsRequest - include Google::Apis::Core::Hashable - - # Attachments to add. A student submission may not have more than 20 attachments. - # This may only contain link attachments. - # Corresponds to the JSON property `addAttachments` - # @return [Array] - attr_accessor :add_attachments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @add_attachments = args[:add_attachments] if args.key?(:add_attachments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @students = args[:students] if args.key?(:students) end end end diff --git a/generated/google/apis/classroom_v1/representations.rb b/generated/google/apis/classroom_v1/representations.rb index 634e2adda..361451453 100644 --- a/generated/google/apis/classroom_v1/representations.rb +++ b/generated/google/apis/classroom_v1/representations.rb @@ -22,73 +22,7 @@ module Google module Apis module ClassroomV1 - class Course - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DriveFolder - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CourseMaterialSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CourseMaterial - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DriveFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class YouTubeVideo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Link - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Form - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCoursesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CourseAlias - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCourseAliasesResponse + class Attachment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,7 +34,91 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GuardianInvitation + class CourseWork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DriveFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DriveFolder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCourseAliasesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShortAnswerSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CourseMaterial + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MultipleChoiceSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ModifyAttachmentsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TimeOfDay + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Form + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MultipleChoiceQuestion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CourseMaterialSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StudentSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CourseAlias class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,145 +136,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class UserProfile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GlobalPermission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Teacher class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListTeachersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Student - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListStudentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Invitation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListInvitationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CourseWork - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Material - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SharedDriveFile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TimeOfDay - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Assignment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MultipleChoiceQuestion - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCourseWorkResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StudentSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AssignmentSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Attachment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ShortAnswerSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MultipleChoiceSubmission - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListStudentSubmissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TurnInStudentSubmissionRequest + class UserProfile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -268,60 +154,218 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ReturnStudentSubmissionRequest + class Student class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ModifyAttachmentsRequest + class ListTeachersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Course + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReturnStudentSubmissionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GuardianInvitation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TurnInStudentSubmissionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class YouTubeVideo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCourseWorkResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SharedDriveFile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GlobalPermission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Material + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AssignmentSubmission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Assignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCoursesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Invitation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListStudentSubmissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Name + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListInvitationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListStudentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation + + property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation + + property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation + + property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation + + end + end + + class ListGuardianInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation + + end + end + + class CourseWork # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' - property :name, as: 'name' - property :section, as: 'section' - property :description_heading, as: 'descriptionHeading' property :description, as: 'description' - property :room, as: 'room' - property :owner_id, as: 'ownerId' - property :creation_time, as: 'creationTime' + property :submission_modification_mode, as: 'submissionModificationMode' + property :associated_with_developer, as: 'associatedWithDeveloper' property :update_time, as: 'updateTime' - property :enrollment_code, as: 'enrollmentCode' - property :course_state, as: 'courseState' + property :title, as: 'title' property :alternate_link, as: 'alternateLink' - property :teacher_group_email, as: 'teacherGroupEmail' - property :course_group_email, as: 'courseGroupEmail' - property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation + property :work_type, as: 'workType' + collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation - collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation + property :state, as: 'state' + property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation + property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation + + property :creation_time, as: 'creationTime' + property :course_id, as: 'courseId' + property :max_points, as: 'maxPoints' + property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation + + property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation + + end + end + + class DriveFile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' + property :alternate_link, as: 'alternateLink' + property :id, as: 'id' end end class DriveFolder # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' property :title, as: 'title' property :alternate_link, as: 'alternateLink' + property :id, as: 'id' end end - class CourseMaterialSet + class ListCourseAliasesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation + property :next_page_token, as: 'nextPageToken' + collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation end end + class ShortAnswerSubmission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :answer, as: 'answer' + end + end + class CourseMaterial # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -336,23 +380,10 @@ module Google end end - class DriveFile + class MultipleChoiceSubmission # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :title, as: 'title' - property :alternate_link, as: 'alternateLink' - property :thumbnail_url, as: 'thumbnailUrl' - end - end - - class YouTubeVideo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :title, as: 'title' - property :alternate_link, as: 'alternateLink' - property :thumbnail_url, as: 'thumbnailUrl' + property :answer, as: 'answer' end end @@ -360,33 +391,77 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :url, as: 'url' - property :title, as: 'title' property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' + end + end + + class ModifyAttachmentsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation + + end + end + + class TimeOfDay + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nanos, as: 'nanos' + property :hours, as: 'hours' + property :minutes, as: 'minutes' + property :seconds, as: 'seconds' end end class Form # @private class Representation < Google::Apis::Core::JsonRepresentation - property :form_url, as: 'formUrl' - property :response_url, as: 'responseUrl' - property :title, as: 'title' property :thumbnail_url, as: 'thumbnailUrl' + property :form_url, as: 'formUrl' + property :title, as: 'title' + property :response_url, as: 'responseUrl' end end - class Empty + class MultipleChoiceQuestion # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :choices, as: 'choices' end end - class ListCoursesResponse + class CourseMaterialSet # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation + collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::CourseMaterial, decorator: Google::Apis::ClassroomV1::CourseMaterial::Representation - property :next_page_token, as: 'nextPageToken' + property :title, as: 'title' + end + end + + class StudentSubmission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :course_work_type, as: 'courseWorkType' + property :assigned_grade, as: 'assignedGrade' + property :associated_with_developer, as: 'associatedWithDeveloper' + property :update_time, as: 'updateTime' + property :alternate_link, as: 'alternateLink' + property :draft_grade, as: 'draftGrade' + property :user_id, as: 'userId' + property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation + + property :state, as: 'state' + property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation + + property :creation_time, as: 'creationTime' + property :course_id, as: 'courseId' + property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation + + property :late, as: 'late' + property :course_work_id, as: 'courseWorkId' end end @@ -397,35 +472,6 @@ module Google end end - class ListCourseAliasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :aliases, as: 'aliases', class: Google::Apis::ClassroomV1::CourseAlias, decorator: Google::Apis::ClassroomV1::CourseAlias::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListGuardianInvitationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :guardian_invitations, as: 'guardianInvitations', class: Google::Apis::ClassroomV1::GuardianInvitation, decorator: Google::Apis::ClassroomV1::GuardianInvitation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class GuardianInvitation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :student_id, as: 'studentId' - property :invitation_id, as: 'invitationId' - property :invited_email_address, as: 'invitedEmailAddress' - property :state, as: 'state' - property :creation_time, as: 'creationTime' - end - end - class ListGuardiansResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -438,40 +484,11 @@ module Google class Guardian # @private class Representation < Google::Apis::Core::JsonRepresentation - property :student_id, as: 'studentId' - property :guardian_id, as: 'guardianId' property :guardian_profile, as: 'guardianProfile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation property :invited_email_address, as: 'invitedEmailAddress' - end - end - - class UserProfile - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation - - property :email_address, as: 'emailAddress' - property :photo_url, as: 'photoUrl' - collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation - - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :given_name, as: 'givenName' - property :family_name, as: 'familyName' - property :full_name, as: 'fullName' - end - end - - class GlobalPermission - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :permission, as: 'permission' + property :student_id, as: 'studentId' + property :guardian_id, as: 'guardianId' end end @@ -479,18 +496,28 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :course_id, as: 'courseId' - property :user_id, as: 'userId' property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation + property :user_id, as: 'userId' end end - class ListTeachersResponse + class UserProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation + property :email_address, as: 'emailAddress' + collection :permissions, as: 'permissions', class: Google::Apis::ClassroomV1::GlobalPermission, decorator: Google::Apis::ClassroomV1::GlobalPermission::Representation - property :next_page_token, as: 'nextPageToken' + property :id, as: 'id' + property :name, as: 'name', class: Google::Apis::ClassroomV1::Name, decorator: Google::Apis::ClassroomV1::Name::Representation + + property :photo_url, as: 'photoUrl' + end + end + + class ReclaimStudentSubmissionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end @@ -498,80 +525,92 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :course_id, as: 'courseId' - property :user_id, as: 'userId' property :profile, as: 'profile', class: Google::Apis::ClassroomV1::UserProfile, decorator: Google::Apis::ClassroomV1::UserProfile::Representation property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation - end - end - - class ListStudentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Invitation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' property :user_id, as: 'userId' - property :course_id, as: 'courseId' - property :role, as: 'role' end end - class ListInvitationsResponse + class ListTeachersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation - property :next_page_token, as: 'nextPageToken' + collection :teachers, as: 'teachers', class: Google::Apis::ClassroomV1::Teacher, decorator: Google::Apis::ClassroomV1::Teacher::Representation + end end - class CourseWork + class Course # @private class Representation < Google::Apis::Core::JsonRepresentation - property :course_id, as: 'courseId' property :id, as: 'id' - property :title, as: 'title' property :description, as: 'description' - collection :materials, as: 'materials', class: Google::Apis::ClassroomV1::Material, decorator: Google::Apis::ClassroomV1::Material::Representation - - property :state, as: 'state' - property :alternate_link, as: 'alternateLink' - property :creation_time, as: 'creationTime' property :update_time, as: 'updateTime' - property :due_date, as: 'dueDate', class: Google::Apis::ClassroomV1::Date, decorator: Google::Apis::ClassroomV1::Date::Representation + property :section, as: 'section' + property :alternate_link, as: 'alternateLink' + property :teacher_group_email, as: 'teacherGroupEmail' + property :guardians_enabled, as: 'guardiansEnabled' + property :owner_id, as: 'ownerId' + property :description_heading, as: 'descriptionHeading' + property :course_group_email, as: 'courseGroupEmail' + property :course_state, as: 'courseState' + property :room, as: 'room' + property :name, as: 'name' + property :creation_time, as: 'creationTime' + property :enrollment_code, as: 'enrollmentCode' + property :teacher_folder, as: 'teacherFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation - property :due_time, as: 'dueTime', class: Google::Apis::ClassroomV1::TimeOfDay, decorator: Google::Apis::ClassroomV1::TimeOfDay::Representation - - property :max_points, as: 'maxPoints' - property :work_type, as: 'workType' - property :associated_with_developer, as: 'associatedWithDeveloper' - property :submission_modification_mode, as: 'submissionModificationMode' - property :assignment, as: 'assignment', class: Google::Apis::ClassroomV1::Assignment, decorator: Google::Apis::ClassroomV1::Assignment::Representation - - property :multiple_choice_question, as: 'multipleChoiceQuestion', class: Google::Apis::ClassroomV1::MultipleChoiceQuestion, decorator: Google::Apis::ClassroomV1::MultipleChoiceQuestion::Representation + collection :course_material_sets, as: 'courseMaterialSets', class: Google::Apis::ClassroomV1::CourseMaterialSet, decorator: Google::Apis::ClassroomV1::CourseMaterialSet::Representation end end - class Material + class ReturnStudentSubmissionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation + end + end - property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation + class GuardianInvitation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :invitation_id, as: 'invitationId' + property :state, as: 'state' + property :invited_email_address, as: 'invitedEmailAddress' + property :student_id, as: 'studentId' + end + end - property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation + class TurnInStudentSubmissionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end - property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation + class YouTubeVideo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :thumbnail_url, as: 'thumbnailUrl' + property :title, as: 'title' + property :alternate_link, as: 'alternateLink' + property :id, as: 'id' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListCourseWorkResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation end end @@ -585,70 +624,23 @@ module Google end end - class Date + class GlobalPermission # @private class Representation < Google::Apis::Core::JsonRepresentation - property :year, as: 'year' - property :month, as: 'month' - property :day, as: 'day' + property :permission, as: 'permission' end end - class TimeOfDay + class Material # @private class Representation < Google::Apis::Core::JsonRepresentation - property :hours, as: 'hours' - property :minutes, as: 'minutes' - property :seconds, as: 'seconds' - property :nanos, as: 'nanos' - end - end + property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::SharedDriveFile, decorator: Google::Apis::ClassroomV1::SharedDriveFile::Representation - class Assignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation + property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation - end - end + property :youtube_video, as: 'youtubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation - class MultipleChoiceQuestion - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :choices, as: 'choices' - end - end - - class ListCourseWorkResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :course_work, as: 'courseWork', class: Google::Apis::ClassroomV1::CourseWork, decorator: Google::Apis::ClassroomV1::CourseWork::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class StudentSubmission - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :course_id, as: 'courseId' - property :course_work_id, as: 'courseWorkId' - property :id, as: 'id' - property :user_id, as: 'userId' - property :creation_time, as: 'creationTime' - property :update_time, as: 'updateTime' - property :state, as: 'state' - property :late, as: 'late' - property :draft_grade, as: 'draftGrade' - property :assigned_grade, as: 'assignedGrade' - property :alternate_link, as: 'alternateLink' - property :course_work_type, as: 'courseWorkType' - property :associated_with_developer, as: 'associatedWithDeveloper' - property :assignment_submission, as: 'assignmentSubmission', class: Google::Apis::ClassroomV1::AssignmentSubmission, decorator: Google::Apis::ClassroomV1::AssignmentSubmission::Representation - - property :short_answer_submission, as: 'shortAnswerSubmission', class: Google::Apis::ClassroomV1::ShortAnswerSubmission, decorator: Google::Apis::ClassroomV1::ShortAnswerSubmission::Representation - - property :multiple_choice_submission, as: 'multipleChoiceSubmission', class: Google::Apis::ClassroomV1::MultipleChoiceSubmission, decorator: Google::Apis::ClassroomV1::MultipleChoiceSubmission::Representation + property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation end end @@ -661,65 +653,74 @@ module Google end end - class Attachment + class Date # @private class Representation < Google::Apis::Core::JsonRepresentation - property :drive_file, as: 'driveFile', class: Google::Apis::ClassroomV1::DriveFile, decorator: Google::Apis::ClassroomV1::DriveFile::Representation + property :month, as: 'month' + property :year, as: 'year' + property :day, as: 'day' + end + end - property :you_tube_video, as: 'youTubeVideo', class: Google::Apis::ClassroomV1::YouTubeVideo, decorator: Google::Apis::ClassroomV1::YouTubeVideo::Representation - - property :link, as: 'link', class: Google::Apis::ClassroomV1::Link, decorator: Google::Apis::ClassroomV1::Link::Representation - - property :form, as: 'form', class: Google::Apis::ClassroomV1::Form, decorator: Google::Apis::ClassroomV1::Form::Representation + class Assignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :student_work_folder, as: 'studentWorkFolder', class: Google::Apis::ClassroomV1::DriveFolder, decorator: Google::Apis::ClassroomV1::DriveFolder::Representation end end - class ShortAnswerSubmission + class ListCoursesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :answer, as: 'answer' + property :next_page_token, as: 'nextPageToken' + collection :courses, as: 'courses', class: Google::Apis::ClassroomV1::Course, decorator: Google::Apis::ClassroomV1::Course::Representation + end end - class MultipleChoiceSubmission + class Invitation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :answer, as: 'answer' + property :course_id, as: 'courseId' + property :role, as: 'role' + property :user_id, as: 'userId' + property :id, as: 'id' end end class ListStudentSubmissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :student_submissions, as: 'studentSubmissions', class: Google::Apis::ClassroomV1::StudentSubmission, decorator: Google::Apis::ClassroomV1::StudentSubmission::Representation + end + end + + class Name + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :given_name, as: 'givenName' + property :family_name, as: 'familyName' + property :full_name, as: 'fullName' + end + end + + class ListInvitationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' + collection :invitations, as: 'invitations', class: Google::Apis::ClassroomV1::Invitation, decorator: Google::Apis::ClassroomV1::Invitation::Representation + end end - class TurnInStudentSubmissionRequest + class ListStudentsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ReclaimStudentSubmissionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ReturnStudentSubmissionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ModifyAttachmentsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :add_attachments, as: 'addAttachments', class: Google::Apis::ClassroomV1::Attachment, decorator: Google::Apis::ClassroomV1::Attachment::Representation + property :next_page_token, as: 'nextPageToken' + collection :students, as: 'students', class: Google::Apis::ClassroomV1::Student, decorator: Google::Apis::ClassroomV1::Student::Representation end end diff --git a/generated/google/apis/classroom_v1/service.rb b/generated/google/apis/classroom_v1/service.rb index 280e8f8dd..c4961da3f 100644 --- a/generated/google/apis/classroom_v1/service.rb +++ b/generated/google/apis/classroom_v1/service.rb @@ -46,1603 +46,22 @@ module Google super('https://classroom.googleapis.com/', '') end - # 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. - # @param [Google::Apis::ClassroomV1::Course] course_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Course] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_course(course_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses', options) - command.request_representation = Google::Apis::ClassroomV1::Course::Representation - command.request_object = course_object - command.response_representation = Google::Apis::ClassroomV1::Course::Representation - command.response_class = Google::Apis::ClassroomV1::Course - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] id - # Identifier of the course to return. This identifier can be either the - # Classroom-assigned identifier or an alias. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Course] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_course(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Course::Representation - command.response_class = Google::Apis::ClassroomV1::Course - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 - # @param [String] id - # Identifier of the course to update. This identifier can be either the - # Classroom-assigned identifier or an alias. - # @param [Google::Apis::ClassroomV1::Course] course_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Course] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_course(id, course_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/courses/{id}', options) - command.request_representation = Google::Apis::ClassroomV1::Course::Representation - command.request_object = course_object - command.response_representation = Google::Apis::ClassroomV1::Course::Representation - command.response_class = Google::Apis::ClassroomV1::Course - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 - # @param [String] id - # Identifier of the course to update. This identifier can be either the - # Classroom-assigned identifier or an alias. - # @param [Google::Apis::ClassroomV1::Course] course_object - # @param [String] update_mask - # 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=,,...` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Course] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_course(id, course_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/courses/{id}', options) - command.request_representation = Google::Apis::ClassroomV1::Course::Representation - command.request_object = course_object - command.response_representation = Google::Apis::ClassroomV1::Course::Representation - command.response_class = Google::Apis::ClassroomV1::Course - command.params['id'] = id unless id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] id - # Identifier of the course to delete. This identifier can be either the - # Classroom-assigned identifier or an alias. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_course(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] student_id - # 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 - # @param [String] teacher_id - # 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 - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListCoursesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListCoursesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_courses(student_id: nil, teacher_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses', options) - command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse - command.query['studentId'] = student_id unless student_id.nil? - command.query['teacherId'] = teacher_id unless teacher_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course to alias. This identifier can be either the Classroom- - # assigned identifier or an alias. - # @param [Google::Apis::ClassroomV1::CourseAlias] course_alias_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::CourseAlias] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseAlias] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_course_alias(course_id, course_alias_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options) - command.request_representation = Google::Apis::ClassroomV1::CourseAlias::Representation - command.request_object = course_alias_object - command.response_representation = Google::Apis::ClassroomV1::CourseAlias::Representation - command.response_class = Google::Apis::ClassroomV1::CourseAlias - command.params['courseId'] = course_id unless course_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course whose alias should be deleted. This identifier can be - # either the Classroom-assigned identifier or an alias. - # @param [String] alias_ - # Alias to delete. This may not be the Classroom-assigned identifier. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_course_alias(course_id, alias_, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['alias'] = alias_ unless alias_.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # The identifier of the course. This identifier can be either the Classroom- - # assigned identifier or an alias. - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListCourseAliasesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListCourseAliasesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_course_aliases(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options) - command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [Google::Apis::ClassroomV1::Teacher] teacher_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Teacher] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Teacher] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_course_teacher(course_id, teacher_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options) - command.request_representation = Google::Apis::ClassroomV1::Teacher::Representation - command.request_object = teacher_object - command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation - command.response_class = Google::Apis::ClassroomV1::Teacher - command.params['courseId'] = course_id unless course_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] user_id - # 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 - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Teacher] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Teacher] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation - command.response_class = Google::Apis::ClassroomV1::Teacher - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] user_id - # 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 - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_course_teacher(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. The server may - # return fewer than the specified number of results. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListTeachersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListTeachersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_course_teachers(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options) - command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course to create the student in. This identifier can be - # either the Classroom-assigned identifier or an alias. - # @param [Google::Apis::ClassroomV1::Student] student_object - # @param [String] enrollment_code - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Student] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Student] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_course_student(course_id, student_object = nil, enrollment_code: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/students', options) - command.request_representation = Google::Apis::ClassroomV1::Student::Representation - command.request_object = student_object - command.response_representation = Google::Apis::ClassroomV1::Student::Representation - command.response_class = Google::Apis::ClassroomV1::Student - command.params['courseId'] = course_id unless course_id.nil? - command.query['enrollmentCode'] = enrollment_code unless enrollment_code.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] user_id - # 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 - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Student] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Student] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Student::Representation - command.response_class = Google::Apis::ClassroomV1::Student - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] user_id - # 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 - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_course_student(course_id, user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. The server may - # return fewer than the specified number of results. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListStudentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListStudentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_course_students(course_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/students', options) - command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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, or for access errors. * `INVALID_ARGUMENT` - # if the request is malformed. * `NOT_FOUND` if the requested course does not - # exist. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::CourseWork] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseWork] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_course_work(course_id, course_work_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options) - command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.request_object = course_work_object - command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.response_class = Google::Apis::ClassroomV1::CourseWork - command.params['courseId'] = course_id unless course_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] id - # Identifier of the course work. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::CourseWork] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::CourseWork] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_course_work(course_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation - command.response_class = Google::Apis::ClassroomV1::CourseWork - command.params['courseId'] = course_id unless course_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [Array, String] course_work_states - # Restriction on the work status to return. Only courseWork that matches is - # returned. If unspecified, items with a work status of `PUBLISHED` is returned. - # @param [String] order_by - # 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` - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListCourseWorkResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListCourseWorkResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_course_works(course_id, course_work_states: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options) - command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse - command.params['courseId'] = course_id unless course_id.nil? - command.query['courseWorkStates'] = course_work_states unless course_work_states.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_student_submission(course_id, course_work_id, id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::StudentSubmission] student_submission_object - # @param [String] update_mask - # 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` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) - command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.request_object = student_submission_object - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # 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. - # @param [String] user_id - # 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 - # @param [Array, String] states - # Requested submission states. If specified, returned student submissions match - # one of the specified submission states. - # @param [String] late - # Requested lateness value. If specified, returned student submissions are - # restricted by the requested value. If unspecified, submissions are returned - # regardless of `late` value. - # @param [Fixnum] page_size - # 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. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_student_submissions(course_id, course_work_id, user_id: nil, states: nil, late: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options) - command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.query['userId'] = user_id unless user_id.nil? - command.query['states'] = states unless states.nil? - command.query['late'] = late unless late.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest] turn_in_student_submission_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options) - command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation - command.request_object = turn_in_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 ownes 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest] reclaim_student_submission_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options) - command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation - command.request_object = reclaim_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest] return_student_submission_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options) - command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation - command.request_object = return_student_submission_request_object - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Modifies attachments of student submission. Attachments may only be added to - # student submissions whose type is `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. - # @param [String] course_id - # Identifier of the course. This identifier can be either the Classroom-assigned - # identifier or an alias. - # @param [String] course_work_id - # Identifier of the course work. - # @param [String] id - # Identifier of the student submission. - # @param [Google::Apis::ClassroomV1::ModifyAttachmentsRequest] modify_attachments_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::StudentSubmission] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options) - command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation - command.request_object = modify_attachments_request_object - command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation - command.response_class = Google::Apis::ClassroomV1::StudentSubmission - command.params['courseId'] = course_id unless course_id.nil? - command.params['courseWorkId'] = course_work_id unless course_work_id.nil? - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 or if no profile exists with the requested ID or for access errors. - # @param [String] user_id - # 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 - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::UserProfile] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::UserProfile] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_user_profile(user_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{userId}', options) - command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation - command.response_class = Google::Apis::ClassroomV1::UserProfile - command.params['userId'] = user_id unless user_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 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. - # @param [String] student_id - # 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 - # @param [String] invited_email_address - # If specified, only results with the specified `invited_email_address` will be - # returned. - # @param [Array, String] states - # If specified, only results with the specified `state` values will be returned. - # Otherwise, results with a `state` of `PENDING` will be returned. - # @param [String] page_token - # 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. - # @param [Fixnum] page_size - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_user_profile_guardian_invitations(student_id, invited_email_address: nil, states: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options) - command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse - command.params['studentId'] = student_id unless student_id.nil? - command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? - command.query['states'] = states unless states.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] student_id - # The ID of the student whose guardian invitation is being requested. - # @param [String] invitation_id - # The `id` field of the `GuardianInvitation` being requested. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_user_profile_guardian_invitation(student_id, invitation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_id.nil? - command.params['invitationId'] = invitation_id unless invitation_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] student_id - # ID of the student (in standard format) - # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options) - command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.request_object = guardian_invitation_object - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] student_id - # The ID of the student whose guardian invitation is to be modified. - # @param [String] invitation_id - # The `id` field of the `GuardianInvitation` to be modified. - # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object - # @param [String] update_mask - # 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=,,...` - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::GuardianInvitation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) - command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.request_object = guardian_invitation_object - command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation - command.response_class = Google::Apis::ClassroomV1::GuardianInvitation - command.params['studentId'] = student_id unless student_id.nil? - command.params['invitationId'] = invitation_id unless invitation_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a list of guardians that the requesting user is permitted to view, - # restricted to those that match the request. 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 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. - # @param [String] student_id - # 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 - # @param [String] invited_email_address - # 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. - # @param [String] page_token - # 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. - # @param [Fixnum] page_size - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::ListGuardiansResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::ListGuardiansResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_user_profile_guardians(student_id, invited_email_address: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options) - command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation - command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse - command.params['studentId'] = student_id unless student_id.nil? - command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a specific guardian. This method returns the following error codes: * ` - # PERMISSION_DENIED` 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 Classroom cannot find any record of - # the given student or `guardian_id`, or if the guardian has been disabled. - # @param [String] student_id - # 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 - # @param [String] guardian_id - # The `id` field from a `Guardian`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Guardian] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Guardian] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) - command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation - command.response_class = Google::Apis::ClassroomV1::Guardian - command.params['studentId'] = student_id unless student_id.nil? - command.params['guardianId'] = guardian_id unless guardian_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 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 Classroom cannot find any record of the given ` - # student_id` or `guardian_id`, or if the guardian has already been disabled. - # @param [String] student_id - # 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 - # @param [String] guardian_id - # The `id` field from a `Guardian`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_user_profile_guardian(student_id, guardian_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['studentId'] = student_id unless student_id.nil? - command.params['guardianId'] = guardian_id unless guardian_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. + # 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. # @param [Google::Apis::ClassroomV1::Invitation] invitation_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1655,28 +74,29 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_invitation(invitation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_invitation(invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/invitations', options) command.request_representation = Google::Apis::ClassroomV1::Invitation::Representation command.request_object = invitation_object command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation command.response_class = Google::Apis::ClassroomV1::Invitation - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # 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. # @param [String] id # Identifier of the invitation to return. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1689,74 +109,46 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_invitation(id, fields: nil, quota_user: nil, options: nil, &block) + def get_invitation(id, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/invitations/{id}', options) command.response_representation = Google::Apis::ClassroomV1::Invitation::Representation command.response_class = Google::Apis::ClassroomV1::Invitation command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # 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. - # @param [String] id - # Identifier of the invitation to delete. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClassroomV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_invitation(id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/invitations/{id}', options) - command.response_representation = Google::Apis::ClassroomV1::Empty::Representation - command.response_class = Google::Apis::ClassroomV1::Empty - command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] user_id - # 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 + # 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. # @param [String] course_id # Restricts returned invitations to those for a course with the specified # identifier. # @param [Fixnum] page_size - # Maximum number of items to return. Zero means no maximum. The server may - # return fewer than the specified number of results. + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. + # @param [String] user_id + # 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 # @param [String] page_token - # nextPageToken value returned from a previous list call, indicating that the - # subsequent page of results should be returned. The list request must be + # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1769,34 +161,31 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_invitations(user_id: nil, course_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_invitations(course_id: nil, page_size: nil, user_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/invitations', options) command.response_representation = Google::Apis::ClassroomV1::ListInvitationsResponse::Representation command.response_class = Google::Apis::ClassroomV1::ListInvitationsResponse - command.query['userId'] = user_id unless user_id.nil? command.query['courseId'] = course_id unless course_id.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['userId'] = user_id unless user_id.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] id - # Identifier of the invitation to accept. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Identifier of the invitation to delete. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -1809,13 +198,1946 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def accept_invitation(id, fields: nil, quota_user: nil, options: nil, &block) + def delete_invitation(id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/invitations/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] id + # Identifier of the invitation to accept. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def accept_invitation(id, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/invitations/{id}:accept', options) command.response_representation = Google::Apis::ClassroomV1::Empty::Representation command.response_class = Google::Apis::ClassroomV1::Empty command.params['id'] = id unless id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [Array, String] course_states + # Restricts returned courses to those in one of the specified states + # The default value is ACTIVE, ARCHIVED, PROVISIONED, DECLINED. + # @param [Fixnum] page_size + # 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. + # @param [String] teacher_id + # 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 + # @param [String] student_id + # 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 + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListCoursesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListCoursesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_courses(course_states: nil, page_size: nil, teacher_id: nil, student_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses', options) + command.response_representation = Google::Apis::ClassroomV1::ListCoursesResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListCoursesResponse + command.query['courseStates'] = course_states unless course_states.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['teacherId'] = teacher_id unless teacher_id.nil? + command.query['studentId'] = student_id unless student_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] id + # Identifier of the course to return. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Course] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_course(id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Course::Representation + command.response_class = Google::Apis::ClassroomV1::Course + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [Google::Apis::ClassroomV1::Course] course_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Course] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_course(course_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses', options) + command.request_representation = Google::Apis::ClassroomV1::Course::Representation + command.request_object = course_object + command.response_representation = Google::Apis::ClassroomV1::Course::Representation + command.response_class = Google::Apis::ClassroomV1::Course + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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 + # @param [String] id + # Identifier of the course to update. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::Course] course_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Course] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_course(id, course_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/courses/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::Course::Representation + command.request_object = course_object + command.response_representation = Google::Apis::ClassroomV1::Course::Representation + command.response_class = Google::Apis::ClassroomV1::Course + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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 + # @param [String] id + # Identifier of the course to update. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::Course] course_object + # @param [String] update_mask + # 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=,,...` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Course] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Course] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_course(id, course_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/courses/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::Course::Representation + command.request_object = course_object + command.response_representation = Google::Apis::ClassroomV1::Course::Representation + command.response_class = Google::Apis::ClassroomV1::Course + command.params['id'] = id unless id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] id + # Identifier of the course to delete. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_course(id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::Teacher] teacher_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Teacher] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Teacher] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_course_teacher(course_id, teacher_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/teachers', options) + command.request_representation = Google::Apis::ClassroomV1::Teacher::Representation + command.request_object = teacher_object + command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation + command.response_class = Google::Apis::ClassroomV1::Teacher + command.params['courseId'] = course_id unless course_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # 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 + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Teacher] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Teacher] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_course_teacher(course_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/teachers/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Teacher::Representation + command.response_class = Google::Apis::ClassroomV1::Teacher + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListTeachersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListTeachersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_course_teachers(course_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/teachers', options) + command.response_representation = Google::Apis::ClassroomV1::ListTeachersResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListTeachersResponse + command.params['courseId'] = course_id unless course_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # 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 + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_course_teacher(course_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/teachers/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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). + # @param [String] course_id + # Identifier of the course to alias. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::CourseAlias] course_alias_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::CourseAlias] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseAlias] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_course_alias(course_id, course_alias_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/aliases', options) + command.request_representation = Google::Apis::ClassroomV1::CourseAlias::Representation + command.request_object = course_alias_object + command.response_representation = Google::Apis::ClassroomV1::CourseAlias::Representation + command.response_class = Google::Apis::ClassroomV1::CourseAlias + command.params['courseId'] = course_id unless course_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # The identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Fixnum] page_size + # 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. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListCourseAliasesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListCourseAliasesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_course_aliases(course_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/aliases', options) + command.response_representation = Google::Apis::ClassroomV1::ListCourseAliasesResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListCourseAliasesResponse + command.params['courseId'] = course_id unless course_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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). + # @param [String] course_id + # Identifier of the course whose alias should be deleted. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] alias_ + # Alias to delete. + # This may not be the Classroom-assigned identifier. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_course_alias(course_id, alias_, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/aliases/{alias}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['alias'] = alias_ unless alias_.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course to create the student in. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::Student] student_object + # @param [String] enrollment_code + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Student] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Student] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_course_student(course_id, student_object = nil, enrollment_code: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/students', options) + command.request_representation = Google::Apis::ClassroomV1::Student::Representation + command.request_object = student_object + command.response_representation = Google::Apis::ClassroomV1::Student::Representation + command.response_class = Google::Apis::ClassroomV1::Student + command.params['courseId'] = course_id unless course_id.nil? + command.query['enrollmentCode'] = enrollment_code unless enrollment_code.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # 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 + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Student] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Student] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_course_student(course_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/students/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Student::Representation + command.response_class = Google::Apis::ClassroomV1::Student + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Fixnum] page_size + # Maximum number of items to return. Zero means no maximum. + # The server may return fewer than the specified number of results. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListStudentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListStudentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_course_students(course_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/students', options) + command.response_representation = Google::Apis::ClassroomV1::ListStudentsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListStudentsResponse + command.params['courseId'] = course_id unless course_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] user_id + # 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 + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_course_student(course_id, user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/students/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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 + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_course_work(course_id, course_work_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork', options) + command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.request_object = course_work_object + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_course_work(course_id, id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [Array, String] course_work_states + # Restriction on the work status to return. Only courseWork that matches + # is returned. If unspecified, items with a work status of `PUBLISHED` + # is returned. + # @param [Fixnum] page_size + # 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. + # @param [String] order_by + # 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` + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListCourseWorkResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListCourseWorkResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_course_works(course_id, course_work_states: nil, page_size: nil, order_by: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork', options) + command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListCourseWorkResponse + command.params['courseId'] = course_id unless course_id.nil? + command.query['courseWorkStates'] = course_work_states unless course_work_states.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work. + # @param [Google::Apis::ClassroomV1::CourseWork] course_work_object + # @param [String] update_mask + # 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` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::CourseWork] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::CourseWork] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_course_course_work(course_id, id, course_work_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.request_object = course_work_object + command.response_representation = Google::Apis::ClassroomV1::CourseWork::Representation + command.response_class = Google::Apis::ClassroomV1::CourseWork + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] id + # Identifier of the course work to delete. + # This identifier is a Classroom-assigned identifier. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_course_course_work(course_id, id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWork/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ModifyAttachmentsRequest] modify_attachments_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def modify_student_submission_attachments(course_id, course_work_id, id, modify_attachments_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments', options) + command.request_representation = Google::Apis::ClassroomV1::ModifyAttachmentsRequest::Representation + command.request_object = modify_attachments_request_object + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest] reclaim_student_submission_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def reclaim_student_submission(course_id, course_work_id, id, reclaim_student_submission_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim', options) + command.request_representation = Google::Apis::ClassroomV1::ReclaimStudentSubmissionRequest::Representation + command.request_object = reclaim_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest] turn_in_student_submission_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def turn_in_student_submission(course_id, course_work_id, id, turn_in_student_submission_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn', options) + command.request_representation = Google::Apis::ClassroomV1::TurnInStudentSubmissionRequest::Representation + command.request_object = turn_in_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # 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. + # @param [Array, String] states + # Requested submission states. If specified, returned student submissions + # match one of the specified submission states. + # @param [String] user_id + # 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 + # @param [Fixnum] page_size + # 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. + # @param [String] late + # Requested lateness value. If specified, returned student submissions are + # restricted by the requested value. + # If unspecified, submissions are returned regardless of `late` value. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListStudentSubmissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_student_submissions(course_id, course_work_id, states: nil, user_id: nil, page_size: nil, late: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions', options) + command.response_representation = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListStudentSubmissionsResponse + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.query['states'] = states unless states.nil? + command.query['userId'] = user_id unless user_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['late'] = late unless late.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_student_submission(course_id, course_work_id, id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest] return_student_submission_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def return_student_submission(course_id, course_work_id, id, return_student_submission_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return', options) + command.request_representation = Google::Apis::ClassroomV1::ReturnStudentSubmissionRequest::Representation + command.request_object = return_student_submission_request_object + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] course_id + # Identifier of the course. + # This identifier can be either the Classroom-assigned identifier or an + # alias. + # @param [String] course_work_id + # Identifier of the course work. + # @param [String] id + # Identifier of the student submission. + # @param [Google::Apis::ClassroomV1::StudentSubmission] student_submission_object + # @param [String] update_mask + # 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` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::StudentSubmission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::StudentSubmission] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_student_submission(course_id, course_work_id, id, student_submission_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}', options) + command.request_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.request_object = student_submission_object + command.response_representation = Google::Apis::ClassroomV1::StudentSubmission::Representation + command.response_class = Google::Apis::ClassroomV1::StudentSubmission + command.params['courseId'] = course_id unless course_id.nil? + command.params['courseWorkId'] = course_work_id unless course_work_id.nil? + command.params['id'] = id unless id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] user_id + # 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 + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::UserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::UserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_profile(user_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{userId}', options) + command.response_representation = Google::Apis::ClassroomV1::UserProfile::Representation + command.response_class = Google::Apis::ClassroomV1::UserProfile + command.params['userId'] = user_id unless user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] student_id + # 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 + # @param [String] guardian_id + # The `id` field from a `Guardian`. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Guardian] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Guardian] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_profile_guardian(student_id, guardian_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) + command.response_representation = Google::Apis::ClassroomV1::Guardian::Representation + command.response_class = Google::Apis::ClassroomV1::Guardian + command.params['studentId'] = student_id unless student_id.nil? + command.params['guardianId'] = guardian_id unless guardian_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] student_id + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] invited_email_address + # 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. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListGuardiansResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListGuardiansResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_profile_guardians(student_id, page_size: nil, invited_email_address: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardians', options) + command.response_representation = Google::Apis::ClassroomV1::ListGuardiansResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListGuardiansResponse + command.params['studentId'] = student_id unless student_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] student_id + # 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 + # @param [String] guardian_id + # The `id` field from a `Guardian`. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_user_profile_guardian(student_id, guardian_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/userProfiles/{studentId}/guardians/{guardianId}', options) + command.response_representation = Google::Apis::ClassroomV1::Empty::Representation + command.response_class = Google::Apis::ClassroomV1::Empty + command.params['studentId'] = student_id unless student_id.nil? + command.params['guardianId'] = guardian_id unless guardian_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] student_id + # The ID of the student whose guardian invitation is being requested. + # @param [String] invitation_id + # The `id` field of the `GuardianInvitation` being requested. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_profile_guardian_invitation(student_id, invitation_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_id.nil? + command.params['invitationId'] = invitation_id unless invitation_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] student_id + # ID of the student (in standard format) + # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_user_profile_guardian_invitation(student_id, guardian_invitation_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/userProfiles/{studentId}/guardianInvitations', options) + command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.request_object = guardian_invitation_object + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] student_id + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] invited_email_address + # If specified, only results with the specified `invited_email_address` + # will be returned. + # @param [Array, String] states + # If specified, only results with the specified `state` values will be + # returned. Otherwise, results with a `state` of `PENDING` will be returned. + # @param [String] page_token + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::ListGuardianInvitationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_profile_guardian_invitations(student_id, page_size: nil, invited_email_address: nil, states: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/userProfiles/{studentId}/guardianInvitations', options) + command.response_representation = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse::Representation + command.response_class = Google::Apis::ClassroomV1::ListGuardianInvitationsResponse + command.params['studentId'] = student_id unless student_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['invitedEmailAddress'] = invited_email_address unless invited_email_address.nil? + command.query['states'] = states unless states.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] student_id + # The ID of the student whose guardian invitation is to be modified. + # @param [String] invitation_id + # The `id` field of the `GuardianInvitation` to be modified. + # @param [Google::Apis::ClassroomV1::GuardianInvitation] guardian_invitation_object + # @param [String] update_mask + # 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=,,...` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClassroomV1::GuardianInvitation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClassroomV1::GuardianInvitation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_user_profile_guardian_invitation(student_id, invitation_id, guardian_invitation_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/userProfiles/{studentId}/guardianInvitations/{invitationId}', options) + command.request_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.request_object = guardian_invitation_object + command.response_representation = Google::Apis::ClassroomV1::GuardianInvitation::Representation + command.response_class = Google::Apis::ClassroomV1::GuardianInvitation + command.params['studentId'] = student_id unless student_id.nil? + command.params['invitationId'] = invitation_id unless invitation_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/cloudbilling_v1.rb b/generated/google/apis/cloudbilling_v1.rb index 0ce787d80..e249bd210 100644 --- a/generated/google/apis/cloudbilling_v1.rb +++ b/generated/google/apis/cloudbilling_v1.rb @@ -20,13 +20,13 @@ module Google module Apis # Google Cloud Billing API # - # Retrieves Google Developers Console billing accounts and associates them with - # projects. + # Allows developers to manage billing for their Google Cloud Platform projects + # programmatically. # # @see https://cloud.google.com/billing/ module CloudbillingV1 VERSION = 'V1' - REVISION = '20151222' + REVISION = '20170210' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbilling_v1/classes.rb b/generated/google/apis/cloudbilling_v1/classes.rb index 5653dd55c..1a2b58eb4 100644 --- a/generated/google/apis/cloudbilling_v1/classes.rb +++ b/generated/google/apis/cloudbilling_v1/classes.rb @@ -22,19 +22,122 @@ module Google module Apis module CloudbillingV1 - # A billing account in [Google Developers Console](https://console.developers. - # google.com/). You can assign a billing account to one or more projects. - class BillingAccount + # 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 include Google::Apis::Core::Hashable - # 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`. + # 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. + # Corresponds to the JSON property `billingEnabled` + # @return [Boolean] + attr_accessor :billing_enabled + alias_method :billing_enabled?, :billing_enabled + + # 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. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name + # 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. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The resource name of the billing account associated with the project, if + # any. For example, `billingAccounts/012345-567890-ABCDEF`. + # Corresponds to the JSON property `billingAccountName` + # @return [String] + attr_accessor :billing_account_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @billing_enabled = args[:billing_enabled] if args.key?(:billing_enabled) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + @billing_account_name = args[:billing_account_name] if args.key?(:billing_account_name) + end + end + + # Request message for `ListProjectBillingInfoResponse`. + class ListProjectBillingInfoResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of `ProjectBillingInfo` resources representing the projects + # associated with the billing account. + # Corresponds to the JSON property `projectBillingInfo` + # @return [Array] + attr_accessor :project_billing_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @project_billing_info = args[:project_billing_info] if args.key?(:project_billing_info) + end + end + + # Response message for `ListBillingAccounts`. + class ListBillingAccountsResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of billing accounts. + # Corresponds to the JSON property `billingAccounts` + # @return [Array] + attr_accessor :billing_accounts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @billing_accounts = args[:billing_accounts] if args.key?(:billing_accounts) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # The display name given to the billing account, such as `My Billing + # Account`. This name is displayed in the Google Cloud Console. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # 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. @@ -43,125 +146,23 @@ module Google attr_accessor :open alias_method :open?, :open - # The display name given to the billing account, such as `My Billing Account`. - # This name is displayed in the Google Developers Console. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @open = args[:open] if args.key?(:open) - @display_name = args[:display_name] if args.key?(:display_name) - end - end - - # Response message for `ListBillingAccounts`. - class ListBillingAccountsResponse - include Google::Apis::Core::Hashable - - # A list of billing accounts. - # Corresponds to the JSON property `billingAccounts` - # @return [Array] - attr_accessor :billing_accounts - - # 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. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @billing_accounts = args[:billing_accounts] if args.key?(:billing_accounts) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Request message for `ListProjectBillingInfoResponse`. - class ListProjectBillingInfoResponse - include Google::Apis::Core::Hashable - - # A list of `ProjectBillingInfo` resources representing the projects associated - # with the billing account. - # Corresponds to the JSON property `projectBillingInfo` - # @return [Array] - attr_accessor :project_billing_info - - # 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. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_billing_info = args[:project_billing_info] if args.key?(:project_billing_info) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # 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). - class ProjectBillingInfo - include Google::Apis::Core::Hashable - - # 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. + # 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`. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # 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. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The resource name of the billing account associated with the project, if any. - # For example, `billingAccounts/012345-567890-ABCDEF`. - # Corresponds to the JSON property `billingAccountName` - # @return [String] - attr_accessor :billing_account_name - - # 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. - # Corresponds to the JSON property `billingEnabled` - # @return [Boolean] - attr_accessor :billing_enabled - alias_method :billing_enabled?, :billing_enabled - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @open = args[:open] if args.key?(:open) @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @billing_account_name = args[:billing_account_name] if args.key?(:billing_account_name) - @billing_enabled = args[:billing_enabled] if args.key?(:billing_enabled) end end end diff --git a/generated/google/apis/cloudbilling_v1/representations.rb b/generated/google/apis/cloudbilling_v1/representations.rb index 1f37b18a8..f5415339e 100644 --- a/generated/google/apis/cloudbilling_v1/representations.rb +++ b/generated/google/apis/cloudbilling_v1/representations.rb @@ -22,13 +22,7 @@ module Google module Apis module CloudbillingV1 - class BillingAccount - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBillingAccountsResponse + class ProjectBillingInfo class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -40,46 +34,52 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ProjectBillingInfo + class ListBillingAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class BillingAccount - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :open, as: 'open' - property :display_name, as: 'displayName' - end - end + class Representation < Google::Apis::Core::JsonRepresentation; end - class ListBillingAccountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :billing_accounts, as: 'billingAccounts', class: Google::Apis::CloudbillingV1::BillingAccount, decorator: Google::Apis::CloudbillingV1::BillingAccount::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListProjectBillingInfoResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :project_billing_info, as: 'projectBillingInfo', class: Google::Apis::CloudbillingV1::ProjectBillingInfo, decorator: Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation - - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport end class ProjectBillingInfo # @private class Representation < Google::Apis::Core::JsonRepresentation + property :billing_enabled, as: 'billingEnabled' property :name, as: 'name' property :project_id, as: 'projectId' property :billing_account_name, as: 'billingAccountName' - property :billing_enabled, as: 'billingEnabled' + end + end + + class ListProjectBillingInfoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :project_billing_info, as: 'projectBillingInfo', class: Google::Apis::CloudbillingV1::ProjectBillingInfo, decorator: Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation + + end + end + + class ListBillingAccountsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :billing_accounts, as: 'billingAccounts', class: Google::Apis::CloudbillingV1::BillingAccount, decorator: Google::Apis::CloudbillingV1::BillingAccount::Representation + + end + end + + class BillingAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :open, as: 'open' + property :name, as: 'name' end end end diff --git a/generated/google/apis/cloudbilling_v1/service.rb b/generated/google/apis/cloudbilling_v1/service.rb index b9479c90c..b1a47b530 100644 --- a/generated/google/apis/cloudbilling_v1/service.rb +++ b/generated/google/apis/cloudbilling_v1/service.rb @@ -22,8 +22,8 @@ module Google module CloudbillingV1 # Google Cloud Billing API # - # Retrieves Google Developers Console billing accounts and associates them with - # projects. + # Allows developers to manage billing for their Google Cloud Platform projects + # programmatically. # # @example # require 'google/apis/cloudbilling_v1' @@ -47,17 +47,111 @@ module Google super('https://cloudbilling.googleapis.com/', '') end - # 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). + # 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 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. # @param [String] name - # The resource name of the billing account to retrieve. For example, ` - # billingAccounts/012345-567890-ABCDEF`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The resource name of the project associated with the billing information + # that you want to update. For example, `projects/tokyo-rain-123`. + # @param [Google::Apis::CloudbillingV1::ProjectBillingInfo] project_billing_info_object # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbillingV1::ProjectBillingInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_billing_info(name, project_billing_info_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}/billingInfo', options) + command.request_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation + command.request_object = project_billing_info_object + command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation + command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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 + # ). + # @param [String] name + # The resource name of the project for which billing information is + # retrieved. For example, `projects/tokyo-rain-123`. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbillingV1::ProjectBillingInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_billing_info(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/billingInfo', options) + command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation + command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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). + # @param [String] name + # The resource name of the billing account to retrieve. For example, + # `billingAccounts/012345-567890-ABCDEF`. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -70,29 +164,30 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_billing_account(name, fields: nil, quota_user: nil, options: nil, &block) + def get_billing_account(name, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation command.response_class = Google::Apis::CloudbillingV1::BillingAccount command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Lists the billing accounts that the current authenticated user [owns](https:// - # support.google.com/cloud/answer/4430947). + # Lists the billing accounts that the current authenticated user + # [owns](https://support.google.com/cloud/answer/4430947). # @param [Fixnum] page_size - # Requested page size. The maximum page size is 100; this is also the default. + # Requested page size. The maximum page size is 100; this is also the + # default. # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # 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. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -105,34 +200,35 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_billing_accounts(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_billing_accounts(page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/billingAccounts', options) command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # 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). + # authenticated user must be an [owner of the billing + # account](https://support.google.com/cloud/answer/4430947). # @param [String] name - # The resource name of the billing account associated with the projects that you - # want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + # The resource name of the billing account associated with the projects that + # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. # @param [Fixnum] page_size - # Requested page size. The maximum page size is 100; this is also the default. + # Requested page size. The maximum page size is 100; this is also the + # default. # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # 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. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -145,104 +241,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_billing_account_projects(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_billing_account_projects(name, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/projects', options) command.response_representation = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse::Representation command.response_class = Google::Apis::CloudbillingV1::ListProjectBillingInfoResponse command.params['name'] = name unless name.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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 ). - # @param [String] name - # The resource name of the project for which billing information is retrieved. - # For example, `projects/tokyo-rain-123`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbillingV1::ProjectBillingInfo] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_billing_info(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/billingInfo', options) - command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation - command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo - command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] name - # The resource name of the project associated with the billing information that - # you want to update. For example, `projects/tokyo-rain-123`. - # @param [Google::Apis::CloudbillingV1::ProjectBillingInfo] project_billing_info_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbillingV1::ProjectBillingInfo] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbillingV1::ProjectBillingInfo] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_billing_info(name, project_billing_info_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}/billingInfo', options) - command.request_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation - command.request_object = project_billing_info_object - command.response_representation = Google::Apis::CloudbillingV1::ProjectBillingInfo::Representation - command.response_class = Google::Apis::CloudbillingV1::ProjectBillingInfo - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/cloudbuild_v1.rb b/generated/google/apis/cloudbuild_v1.rb index 1bab93c60..11815aba1 100644 --- a/generated/google/apis/cloudbuild_v1.rb +++ b/generated/google/apis/cloudbuild_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/container-builder/docs/ module CloudbuildV1 VERSION = 'V1' - REVISION = '20160817' + REVISION = '20170327' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudbuild_v1/classes.rb b/generated/google/apis/cloudbuild_v1/classes.rb index 660b31e4b..02bbc5346 100644 --- a/generated/google/apis/cloudbuild_v1/classes.rb +++ b/generated/google/apis/cloudbuild_v1/classes.rb @@ -22,174 +22,30 @@ module Google module Apis module CloudbuildV1 - # 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 - include Google::Apis::Core::Hashable - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # A list of messages that carry the error details. There will be a - # common set of message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :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. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @details = args[:details] if args.key?(:details) - @message = args[:message] if args.key?(:message) - end - end - - # Metadata for build operations. - class BuildOperationMetadata - include Google::Apis::Core::Hashable - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Corresponds to the JSON property `build` - # @return [Google::Apis::CloudbuildV1::Build] - attr_accessor :build - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @build = args[:build] if args.key?(:build) - end - end - - # Source describes the location of the source in a supported storage - # service. - class Source - include Google::Apis::Core::Hashable - - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - # Corresponds to the JSON property `storageSource` - # @return [Google::Apis::CloudbuildV1::StorageSource] - attr_accessor :storage_source - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `repoSource` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :repo_source - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @storage_source = args[:storage_source] if args.key?(:storage_source) - @repo_source = args[:repo_source] if args.key?(:repo_source) - end - end - - # Provenance of the source. Ways to find the original source, or verify that - # some source was used for this build. - class SourceProvenance - include Google::Apis::Core::Hashable - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `resolvedRepoSource` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :resolved_repo_source - - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - # Corresponds to the JSON property `resolvedStorageSource` - # @return [Google::Apis::CloudbuildV1::StorageSource] - attr_accessor :resolved_storage_source - - # Hash(es) of the build source, which can be used to verify that the original - # source integrity was maintained in the build. Note that FileHashes will - # only be populated if BuildOptions has requested a SourceProvenanceHash. - # The keys to this map are file paths used as build source and the values - # contain the hash values for those files. - # If the build source came in a single package such as a gzipped tarfile - # (.tar.gz), the FileHash will be for the single path to that file. - # @OutputOnly - # Corresponds to the JSON property `fileHashes` - # @return [Hash] - attr_accessor :file_hashes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source) - @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) - @file_hashes = args[:file_hashes] if args.key?(:file_hashes) - end - end - # This resource represents a long-running operation that is the result of a # network API call. class Operation include Google::Apis::Core::Hashable + # 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`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # 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`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # 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: @@ -233,14 +89,6 @@ module Google # @return [Google::Apis::CloudbuildV1::Status] attr_accessor :error - # 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. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - # 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 @@ -249,24 +97,13 @@ module Google # @return [Hash] attr_accessor :metadata - # 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`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - # 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`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # 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. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done def initialize(**args) update!(**args) @@ -274,301 +111,11 @@ module Google # Update properties of this object def update!(**args) - @error = args[:error] if args.key?(:error) - @done = args[:done] if args.key?(:done) - @metadata = args[:metadata] if args.key?(:metadata) @response = args[:response] if args.key?(:response) @name = args[:name] if args.key?(:name) - end - end - - # Configuration for an automated build in response to source repository - # changes. - class BuildTrigger - include Google::Apis::Core::Hashable - - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - # Corresponds to the JSON property `triggerTemplate` - # @return [Google::Apis::CloudbuildV1::RepoSource] - attr_accessor :trigger_template - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - # Corresponds to the JSON property `build` - # @return [Google::Apis::CloudbuildV1::Build] - attr_accessor :build - - # Time when the trigger was created. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Unique identifier of the trigger. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @trigger_template = args[:trigger_template] if args.key?(:trigger_template) - @build = args[:build] if args.key?(:build) - @create_time = args[:create_time] if args.key?(:create_time) - @id = args[:id] if args.key?(:id) - end - end - - # BuiltImage describes an image built by the pipeline. - class BuiltImage - include Google::Apis::Core::Hashable - - # Docker Registry 2.0 digest. - # Corresponds to the JSON property `digest` - # @return [String] - attr_accessor :digest - - # Name used to push the container image to Google Container Registry, as - # presented to `docker push`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @digest = args[:digest] if args.key?(:digest) - @name = args[:name] if args.key?(:name) - end - end - - # Container message for hash values. - class HashProp - include Google::Apis::Core::Hashable - - # The hash value. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The type of hash that was performed. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @type = args[:type] if args.key?(:type) - end - end - - # StorageSource describes the location of the source in an archive file in - # Google Cloud Storage. - class StorageSource - include Google::Apis::Core::Hashable - - # Google Cloud Storage bucket containing source (see - # [Bucket Name - # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) - # ). - # Corresponds to the JSON property `bucket` - # @return [String] - attr_accessor :bucket - - # Google Cloud Storage generation for the object. If the generation is - # omitted, the latest generation will be used. - # Corresponds to the JSON property `generation` - # @return [String] - attr_accessor :generation - - # Google Cloud Storage object containing source. - # This object must be a gzipped archive file (.tar.gz) containing source to - # build. - # Corresponds to the JSON property `object` - # @return [String] - attr_accessor :object - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bucket = args[:bucket] if args.key?(:bucket) - @generation = args[:generation] if args.key?(:generation) - @object = args[:object] if args.key?(:object) - end - end - - # Results describes the artifacts created by the build pipeline. - class Results - include Google::Apis::Core::Hashable - - # Images that were built as a part of the build. - # Corresponds to the JSON property `images` - # @return [Array] - attr_accessor :images - - # List of build step digests, in order corresponding to build step indices. - # Corresponds to the JSON property `buildStepImages` - # @return [Array] - attr_accessor :build_step_images - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @images = args[:images] if args.key?(:images) - @build_step_images = args[:build_step_images] if args.key?(:build_step_images) - end - end - - # A build resource in the Container Builder API. - # At a high level, a Build describes where to find source code, how to build - # it (for example, the builder image to run on the source), and what tag to - # apply to the built image when it is pushed to Google Container Registry. - class Build - include Google::Apis::Core::Hashable - - # Unique identifier of the build. - # @OutputOnly - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Provenance of the source. Ways to find the original source, or verify that - # some source was used for this build. - # Corresponds to the JSON property `sourceProvenance` - # @return [Google::Apis::CloudbuildV1::SourceProvenance] - attr_accessor :source_provenance - - # Results describes the artifacts created by the build pipeline. - # Corresponds to the JSON property `results` - # @return [Google::Apis::CloudbuildV1::Results] - attr_accessor :results - - # Status of the build. - # @OutputOnly - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Optional arguments to enable specific features of builds. - # Corresponds to the JSON property `options` - # @return [Google::Apis::CloudbuildV1::BuildOptions] - attr_accessor :options - - # Time at which execution of the build was finished. - # @OutputOnly - # Corresponds to the JSON property `finishTime` - # @return [String] - attr_accessor :finish_time - - # Amount of time that this build should be allowed to run, to second - # granularity. If this amount of time elapses, work on the build will cease - # and the build status will be TIMEOUT. - # Default time is ten minutes. - # Corresponds to the JSON property `timeout` - # @return [String] - attr_accessor :timeout - - # Describes the operations to be performed on the workspace. - # Corresponds to the JSON property `steps` - # @return [Array] - attr_accessor :steps - - # Source describes the location of the source in a supported storage - # service. - # Corresponds to the JSON property `source` - # @return [Google::Apis::CloudbuildV1::Source] - attr_accessor :source - - # Time at which the build was created. - # @OutputOnly - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # URL to logs for this build in Google Cloud Logging. - # @OutputOnly - # Corresponds to the JSON property `logUrl` - # @return [String] - attr_accessor :log_url - - # Customer-readable message about the current status. - # @OutputOnly - # Corresponds to the JSON property `statusDetail` - # @return [String] - attr_accessor :status_detail - - # List of images expected to be built and pushed to Google Container - # Registry. If an image is listed here and the image is not produced by - # one of the build steps, the build will fail. Any images present when - # the build steps are complete will be pushed to Container Registry. - # Corresponds to the JSON property `images` - # @return [Array] - attr_accessor :images - - # Time at which execution of the build was started. - # @OutputOnly - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Google Cloud Storage bucket where logs should be written (see - # [Bucket Name - # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) - # ). - # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. - # Corresponds to the JSON property `logsBucket` - # @return [String] - attr_accessor :logs_bucket - - # ID of the project. - # @OutputOnly. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @source_provenance = args[:source_provenance] if args.key?(:source_provenance) - @results = args[:results] if args.key?(:results) - @status = args[:status] if args.key?(:status) - @options = args[:options] if args.key?(:options) - @finish_time = args[:finish_time] if args.key?(:finish_time) - @timeout = args[:timeout] if args.key?(:timeout) - @steps = args[:steps] if args.key?(:steps) - @source = args[:source] if args.key?(:source) - @create_time = args[:create_time] if args.key?(:create_time) - @log_url = args[:log_url] if args.key?(:log_url) - @status_detail = args[:status_detail] if args.key?(:status_detail) - @images = args[:images] if args.key?(:images) - @start_time = args[:start_time] if args.key?(:start_time) - @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) - @project_id = args[:project_id] if args.key?(:project_id) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) end end @@ -591,16 +138,180 @@ module Google end end - # Request to cancel an ongoing build. - class CancelBuildRequest + # BuiltImage describes an image built by the pipeline. + class BuiltImage include Google::Apis::Core::Hashable + # Name used to push the container image to Google Container Registry, as + # presented to `docker push`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Docker Registry 2.0 digest. + # Corresponds to the JSON property `digest` + # @return [String] + attr_accessor :digest + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @name = args[:name] if args.key?(:name) + @digest = args[:digest] if args.key?(:digest) + end + end + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + class RepoSource + include Google::Apis::Core::Hashable + + # Name of the tag to build. + # Corresponds to the JSON property `tagName` + # @return [String] + attr_accessor :tag_name + + # Explicit commit SHA to build. + # Corresponds to the JSON property `commitSha` + # @return [String] + attr_accessor :commit_sha + + # ID of the project that owns the repo. If omitted, the project ID requesting + # the build is assumed. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Name of the repo. If omitted, the name "default" is assumed. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name + + # Name of the branch to build. + # Corresponds to the JSON property `branchName` + # @return [String] + attr_accessor :branch_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag_name = args[:tag_name] if args.key?(:tag_name) + @commit_sha = args[:commit_sha] if args.key?(:commit_sha) + @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) + @branch_name = args[:branch_name] if args.key?(:branch_name) + end + end + + # Container message for hash values. + class HashProp + include Google::Apis::Core::Hashable + + # The type of hash that was performed. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The hash value. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # BuildStep describes a step to perform in the build pipeline. + class BuildStep + include Google::Apis::Core::Hashable + + # Optional entrypoint to be used instead of the build step image's default + # If unset, the image's default will be used. + # Corresponds to the JSON property `entrypoint` + # @return [String] + attr_accessor :entrypoint + + # Optional unique identifier for this build step, used in wait_for to + # reference this build step as a dependency. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Working directory (relative to project source root) to use when running + # this operation's container. + # Corresponds to the JSON property `dir` + # @return [String] + attr_accessor :dir + + # A list of environment variable definitions to be used when running a step. + # The elements are of the form "KEY=VALUE" for the environment variable "KEY" + # being given the value "VALUE". + # Corresponds to the JSON property `env` + # @return [Array] + attr_accessor :env + + # The ID(s) of the step(s) that this build step depends on. + # This build step will not start until all the build steps in wait_for + # have completed successfully. If wait_for is empty, this build step will + # start when all previous build steps in the Build.Steps list have completed + # successfully. + # Corresponds to the JSON property `waitFor` + # @return [Array] + attr_accessor :wait_for + + # A list of arguments that will be presented to the step when it is started. + # If the image used to run the step's container has an entrypoint, these args + # will be used as arguments to that entrypoint. If the image does not define + # an entrypoint, the first element in args will be used as the entrypoint, + # and the remainder will be used as arguments. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # The name of the container image that will run this particular build step. + # If the image is already available in the host's Docker daemon's cache, it + # will be run directly. If not, the host will attempt to pull the image + # first, using the builder service account's credentials if necessary. + # 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](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 + # later build step. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entrypoint = args[:entrypoint] if args.key?(:entrypoint) + @id = args[:id] if args.key?(:id) + @dir = args[:dir] if args.key?(:dir) + @env = args[:env] if args.key?(:env) + @wait_for = args[:wait_for] if args.key?(:wait_for) + @args = args[:args] if args.key?(:args) + @name = args[:name] if args.key?(:name) end end @@ -624,6 +335,373 @@ module Google end end + # 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 + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Configuration for an automated build in response to source repository + # changes. + class BuildTrigger + include Google::Apis::Core::Hashable + + # If true, the trigger will never result in a build. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + + # Time when the trigger was created. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `triggerTemplate` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :trigger_template + + # Path, from the source root, to a file whose contents is used for the + # template. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + # Unique identifier of the trigger. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + # Corresponds to the JSON property `build` + # @return [Google::Apis::CloudbuildV1::Build] + attr_accessor :build + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + # Human-readable description of this trigger. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @disabled = args[:disabled] if args.key?(:disabled) + @create_time = args[:create_time] if args.key?(:create_time) + @trigger_template = args[:trigger_template] if args.key?(:trigger_template) + @filename = args[:filename] if args.key?(:filename) + @id = args[:id] if args.key?(:id) + @build = args[:build] if args.key?(:build) + @substitutions = args[:substitutions] if args.key?(:substitutions) + @description = args[:description] if args.key?(:description) + end + end + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + class Build + include Google::Apis::Core::Hashable + + # Time at which the request to create the build was received. + # @OutputOnly + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Provenance of the source. Ways to find the original source, or verify that + # some source was used for this build. + # Corresponds to the JSON property `sourceProvenance` + # @return [Google::Apis::CloudbuildV1::SourceProvenance] + attr_accessor :source_provenance + + # A list of images to be pushed upon the successful completion of all build + # steps. + # The images will be pushed using the builder service account's credentials. + # The digests of the pushed images will be stored in the Build resource's + # results field. + # If any of the images fail to be pushed, the build is marked FAILURE. + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images + + # ID of the project. + # @OutputOnly. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # URL to logs for this build in Google Cloud Logging. + # @OutputOnly + # Corresponds to the JSON property `logUrl` + # @return [String] + attr_accessor :log_url + + # Time at which execution of the build was finished. + # The difference between finish_time and start_time is the duration of the + # build's execution. + # @OutputOnly + # Corresponds to the JSON property `finishTime` + # @return [String] + attr_accessor :finish_time + + # Optional arguments to enable specific features of builds. + # Corresponds to the JSON property `options` + # @return [Google::Apis::CloudbuildV1::BuildOptions] + attr_accessor :options + + # Source describes the location of the source in a supported storage + # service. + # Corresponds to the JSON property `source` + # @return [Google::Apis::CloudbuildV1::Source] + attr_accessor :source + + # Amount of time that this build should be allowed to run, to second + # granularity. If this amount of time elapses, work on the build will cease + # and the build status will be TIMEOUT. + # Default time is ten minutes. + # Corresponds to the JSON property `timeout` + # @return [String] + attr_accessor :timeout + + # Status of the build. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Customer-readable message about the current status. + # @OutputOnly + # Corresponds to the JSON property `statusDetail` + # @return [String] + attr_accessor :status_detail + + # Results describes the artifacts created by the build pipeline. + # Corresponds to the JSON property `results` + # @return [Google::Apis::CloudbuildV1::Results] + attr_accessor :results + + # Google Cloud Storage bucket where logs should be written (see + # [Bucket Name + # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) + # ). + # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`. + # Corresponds to the JSON property `logsBucket` + # @return [String] + attr_accessor :logs_bucket + + # Describes the operations to be performed on the workspace. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # The ID of the BuildTrigger that triggered this build, if it was + # triggered automatically. + # @OutputOnly + # Corresponds to the JSON property `buildTriggerId` + # @return [String] + attr_accessor :build_trigger_id + + # Unique identifier of the build. + # @OutputOnly + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Time at which execution of the build was started. + # @OutputOnly + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Substitutions data for Build resource. + # Corresponds to the JSON property `substitutions` + # @return [Hash] + attr_accessor :substitutions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @source_provenance = args[:source_provenance] if args.key?(:source_provenance) + @images = args[:images] if args.key?(:images) + @project_id = args[:project_id] if args.key?(:project_id) + @log_url = args[:log_url] if args.key?(:log_url) + @finish_time = args[:finish_time] if args.key?(:finish_time) + @options = args[:options] if args.key?(:options) + @source = args[:source] if args.key?(:source) + @timeout = args[:timeout] if args.key?(:timeout) + @status = args[:status] if args.key?(:status) + @status_detail = args[:status_detail] if args.key?(:status_detail) + @results = args[:results] if args.key?(:results) + @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket) + @steps = args[:steps] if args.key?(:steps) + @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id) + @id = args[:id] if args.key?(:id) + @start_time = args[:start_time] if args.key?(:start_time) + @substitutions = args[:substitutions] if args.key?(:substitutions) + end + end + + # Request to cancel an ongoing build. + class CancelBuildRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response including listed builds. + class ListBuildsResponse + include Google::Apis::Core::Hashable + + # Token to receive the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Builds will be sorted by create_time, descending. + # Corresponds to the JSON property `builds` + # @return [Array] + attr_accessor :builds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @builds = args[:builds] if args.key?(:builds) + end + end + # The response message for Operations.ListOperations. class ListOperationsResponse include Google::Apis::Core::Hashable @@ -649,116 +727,22 @@ module Google end end - # RepoSource describes the location of the source in a Google Cloud Source - # Repository. - class RepoSource + # Source describes the location of the source in a supported storage + # service. + class Source include Google::Apis::Core::Hashable - # Name of the repo. If omitted, the name "default" is assumed. - # Corresponds to the JSON property `repoName` - # @return [String] - attr_accessor :repo_name + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + # Corresponds to the JSON property `storageSource` + # @return [Google::Apis::CloudbuildV1::StorageSource] + attr_accessor :storage_source - # Name of the tag to build. - # Corresponds to the JSON property `tagName` - # @return [String] - attr_accessor :tag_name - - # ID of the project that owns the repo. If omitted, the project ID requesting - # the build is assumed. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Name of the branch to build. - # Corresponds to the JSON property `branchName` - # @return [String] - attr_accessor :branch_name - - # Explicit commit SHA to build. - # Corresponds to the JSON property `commitSha` - # @return [String] - attr_accessor :commit_sha - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @repo_name = args[:repo_name] if args.key?(:repo_name) - @tag_name = args[:tag_name] if args.key?(:tag_name) - @project_id = args[:project_id] if args.key?(:project_id) - @branch_name = args[:branch_name] if args.key?(:branch_name) - @commit_sha = args[:commit_sha] if args.key?(:commit_sha) - end - end - - # BuildStep describes a step to perform in the build pipeline. - class BuildStep - include Google::Apis::Core::Hashable - - # Optional unique identifier for this build step, used in wait_for to - # reference this build step as a dependency. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Additional environment variables to set for this step's container. - # Corresponds to the JSON property `env` - # @return [Array] - attr_accessor :env - - # The ID(s) of the step(s) that this build step depends on. - # This build step will not start until all the build steps in wait_for - # have completed successfully. If wait_for is empty, this build step will - # start when all previous build steps in the Build.Steps list have completed - # successfully. - # Corresponds to the JSON property `waitFor` - # @return [Array] - attr_accessor :wait_for - - # Command-line arguments to use when running this step's container. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # Name of the container image to use for creating this stage in the - # pipeline, as presented to `docker pull`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Working directory (relative to project source root) to use when running - # this operation's container. - # Corresponds to the JSON property `dir` - # @return [String] - attr_accessor :dir - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @env = args[:env] if args.key?(:env) - @wait_for = args[:wait_for] if args.key?(:wait_for) - @args = args[:args] if args.key?(:args) - @name = args[:name] if args.key?(:name) - @dir = args[:dir] if args.key?(:dir) - end - end - - # 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 - include Google::Apis::Core::Hashable + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `repoSource` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :repo_source def initialize(**args) update!(**args) @@ -766,6 +750,8 @@ module Google # Update properties of this object def update!(**args) + @storage_source = args[:storage_source] if args.key?(:storage_source) + @repo_source = args[:repo_source] if args.key?(:repo_source) end end @@ -778,7 +764,7 @@ module Google # @return [Array] attr_accessor :source_provenance_hash - # Options for a verifiable build with details uploaded to the Analysis API. + # Requested verifiability options. # Corresponds to the JSON property `requestedVerifyOption` # @return [String] attr_accessor :requested_verify_option @@ -794,19 +780,144 @@ module Google end end - # Response including listed builds. - class ListBuildsResponse + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + class StorageSource include Google::Apis::Core::Hashable - # Token to receive the next page of results. - # Corresponds to the JSON property `nextPageToken` + # Google Cloud Storage generation for the object. If the generation is + # omitted, the latest generation will be used. + # Corresponds to the JSON property `generation` # @return [String] - attr_accessor :next_page_token + attr_accessor :generation - # Builds will be sorted by create_time, descending. - # Corresponds to the JSON property `builds` - # @return [Array] - attr_accessor :builds + # Google Cloud Storage bucket containing source (see + # [Bucket Name + # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements) + # ). + # Corresponds to the JSON property `bucket` + # @return [String] + attr_accessor :bucket + + # Google Cloud Storage object containing source. + # This object must be a gzipped archive file (.tar.gz) containing source to + # build. + # Corresponds to the JSON property `object` + # @return [String] + attr_accessor :object + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generation = args[:generation] if args.key?(:generation) + @bucket = args[:bucket] if args.key?(:bucket) + @object = args[:object] if args.key?(:object) + end + end + + # Results describes the artifacts created by the build pipeline. + class Results + include Google::Apis::Core::Hashable + + # List of build step digests, in order corresponding to build step indices. + # Corresponds to the JSON property `buildStepImages` + # @return [Array] + attr_accessor :build_step_images + + # Images that were built as a part of the build. + # Corresponds to the JSON property `images` + # @return [Array] + attr_accessor :images + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @build_step_images = args[:build_step_images] if args.key?(:build_step_images) + @images = args[:images] if args.key?(:images) + end + end + + # Metadata for build operations. + class BuildOperationMetadata + include Google::Apis::Core::Hashable + + # A build resource in the Container Builder API. + # At a high level, a Build describes where to find source code, how to build + # it (for example, the builder image to run on the source), and what tag to + # apply to the built image when it is pushed to Google Container Registry. + # Fields can include the following variables which will be expanded when the + # build is created: + # - $PROJECT_ID: the project ID of the build. + # - $BUILD_ID: the autogenerated ID of the build. + # - $REPO_NAME: the source repository name specified by RepoSource. + # - $BRANCH_NAME: the branch name specified by RepoSource. + # - $TAG_NAME: the tag name specified by RepoSource. + # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or + # resolved from the specified branch or tag. + # Corresponds to the JSON property `build` + # @return [Google::Apis::CloudbuildV1::Build] + attr_accessor :build + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @build = args[:build] if args.key?(:build) + end + end + + # Provenance of the source. Ways to find the original source, or verify that + # some source was used for this build. + class SourceProvenance + include Google::Apis::Core::Hashable + + # Hash(es) of the build source, which can be used to verify that the original + # source integrity was maintained in the build. Note that FileHashes will + # only be populated if BuildOptions has requested a SourceProvenanceHash. + # The keys to this map are file paths used as build source and the values + # contain the hash values for those files. + # If the build source came in a single package such as a gzipped tarfile + # (.tar.gz), the FileHash will be for the single path to that file. + # @OutputOnly + # Corresponds to the JSON property `fileHashes` + # @return [Hash] + attr_accessor :file_hashes + + # RepoSource describes the location of the source in a Google Cloud Source + # Repository. + # Corresponds to the JSON property `resolvedRepoSource` + # @return [Google::Apis::CloudbuildV1::RepoSource] + attr_accessor :resolved_repo_source + + # StorageSource describes the location of the source in an archive file in + # Google Cloud Storage. + # Corresponds to the JSON property `resolvedStorageSource` + # @return [Google::Apis::CloudbuildV1::StorageSource] + attr_accessor :resolved_storage_source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_hashes = args[:file_hashes] if args.key?(:file_hashes) + @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source) + @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source) + end + end + + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable def initialize(**args) update!(**args) @@ -814,8 +925,6 @@ module Google # Update properties of this object def update!(**args) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @builds = args[:builds] if args.key?(:builds) end end end diff --git a/generated/google/apis/cloudbuild_v1/representations.rb b/generated/google/apis/cloudbuild_v1/representations.rb index 96128d80c..ee4a6cafd 100644 --- a/generated/google/apis/cloudbuild_v1/representations.rb +++ b/generated/google/apis/cloudbuild_v1/representations.rb @@ -22,37 +22,13 @@ module Google module Apis module CloudbuildV1 - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BuildOperationMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Source - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceProvenance - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Operation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BuildTrigger + class ListBuildTriggersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,12 +40,84 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RepoSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HashProp class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BuildStep + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FileHashes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BuildTrigger + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Build + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelBuildRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBuildsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Source + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BuildOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class StorageSource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,80 +130,173 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Build + class BuildOperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SourceProvenance + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation + + hash :metadata, as: 'metadata' + property :done, as: 'done' + end + end + class ListBuildTriggersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation - include Google::Apis::Core::JsonObjectSupport + end end - class CancelBuildRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FileHashes - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + class BuiltImage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :digest, as: 'digest' + end end class RepoSource - class Representation < Google::Apis::Core::JsonRepresentation; end + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag_name, as: 'tagName' + property :commit_sha, as: 'commitSha' + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' + property :branch_name, as: 'branchName' + end + end - include Google::Apis::Core::JsonObjectSupport + class HashProp + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :value, :base64 => true, as: 'value' + end end class BuildStep - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entrypoint, as: 'entrypoint' + property :id, as: 'id' + property :dir, as: 'dir' + collection :env, as: 'env' + collection :wait_for, as: 'waitFor' + collection :args, as: 'args' + property :name, as: 'name' + end end - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end + class FileHashes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation - include Google::Apis::Core::JsonObjectSupport - end - - class BuildOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBuildsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + end end class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' collection :details, as: 'details' + property :code, as: 'code' property :message, as: 'message' end end - class BuildOperationMetadata + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class BuildTrigger + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :disabled, as: 'disabled' + property :create_time, as: 'createTime' + property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + property :filename, as: 'filename' + property :id, as: 'id' property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + hash :substitutions, as: 'substitutions' + property :description, as: 'description' + end + end + + class Build + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation + + collection :images, as: 'images' + property :project_id, as: 'projectId' + property :log_url, as: 'logUrl' + property :finish_time, as: 'finishTime' + property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation + + property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation + + property :timeout, as: 'timeout' + property :status, as: 'status' + property :status_detail, as: 'statusDetail' + property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation + + property :logs_bucket, as: 'logsBucket' + collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation + + property :build_trigger_id, as: 'buildTriggerId' + property :id, as: 'id' + property :start_time, as: 'startTime' + hash :substitutions, as: 'substitutions' + end + end + + class CancelBuildRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListBuildsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation + end end @@ -169,163 +310,6 @@ module Google end end - class SourceProvenance - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation - - property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation - - hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation - - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :error, as: 'error', class: Google::Apis::CloudbuildV1::Status, decorator: Google::Apis::CloudbuildV1::Status::Representation - - property :done, as: 'done' - hash :metadata, as: 'metadata' - hash :response, as: 'response' - property :name, as: 'name' - end - end - - class BuildTrigger - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation - - property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation - - property :create_time, as: 'createTime' - property :id, as: 'id' - end - end - - class BuiltImage - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :digest, as: 'digest' - property :name, as: 'name' - end - end - - class HashProp - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, :base64 => true, as: 'value' - property :type, as: 'type' - end - end - - class StorageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bucket, as: 'bucket' - property :generation, as: 'generation' - property :object, as: 'object' - end - end - - class Results - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation - - collection :build_step_images, as: 'buildStepImages' - end - end - - class Build - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation - - property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation - - property :status, as: 'status' - property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation - - property :finish_time, as: 'finishTime' - property :timeout, as: 'timeout' - collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation - - property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation - - property :create_time, as: 'createTime' - property :log_url, as: 'logUrl' - property :status_detail, as: 'statusDetail' - collection :images, as: 'images' - property :start_time, as: 'startTime' - property :logs_bucket, as: 'logsBucket' - property :project_id, as: 'projectId' - end - end - - class ListBuildTriggersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :triggers, as: 'triggers', class: Google::Apis::CloudbuildV1::BuildTrigger, decorator: Google::Apis::CloudbuildV1::BuildTrigger::Representation - - end - end - - class CancelBuildRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class FileHashes - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :file_hash, as: 'fileHash', class: Google::Apis::CloudbuildV1::HashProp, decorator: Google::Apis::CloudbuildV1::HashProp::Representation - - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation - - end - end - - class RepoSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repo_name, as: 'repoName' - property :tag_name, as: 'tagName' - property :project_id, as: 'projectId' - property :branch_name, as: 'branchName' - property :commit_sha, as: 'commitSha' - end - end - - class BuildStep - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :env, as: 'env' - collection :wait_for, as: 'waitFor' - collection :args, as: 'args' - property :name, as: 'name' - property :dir, as: 'dir' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class BuildOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -334,12 +318,47 @@ module Google end end - class ListBuildsResponse + class StorageSource # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + property :generation, as: 'generation' + property :bucket, as: 'bucket' + property :object, as: 'object' + end + end + class Results + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :build_step_images, as: 'buildStepImages' + collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation + + end + end + + class BuildOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation + + end + end + + class SourceProvenance + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation + + property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation + + property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation + + end + end + + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end end diff --git a/generated/google/apis/cloudbuild_v1/service.rb b/generated/google/apis/cloudbuild_v1/service.rb index b45fac1ed..2b2d4b6c1 100644 --- a/generated/google/apis/cloudbuild_v1/service.rb +++ b/generated/google/apis/cloudbuild_v1/service.rb @@ -46,6 +46,154 @@ module Google super('https://cloudbuild.googleapis.com/', '') end + # Cancels a requested build in progress. + # @param [String] project_id + # ID of the project. + # @param [String] id + # ID of the build. + # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Build] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_build(project_id, id, cancel_build_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) + command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation + command.request_object = cancel_build_request_object + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns information about a previously requested build. + # The Build that is returned includes its status (e.g., success or failure, + # or in-progress), and timing information. + # @param [String] project_id + # ID of the project. + # @param [String] id + # ID of the build. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Build] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_build(project_id, id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) + command.response_representation = Google::Apis::CloudbuildV1::Build::Representation + command.response_class = Google::Apis::CloudbuildV1::Build + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists previously requested builds. + # Previously requested builds may still be in-progress, or may have finished + # successfully or unsuccessfully. + # @param [String] project_id + # ID of the project. + # @param [String] filter + # The raw filter text to constrain the results. + # @param [String] page_token + # Token to provide to skip to a particular spot in the list. + # @param [Fixnum] page_size + # Number of results to return in the list. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_builds(project_id, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) + command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Starts a build with the specified configuration. + # The long-running Operation returned by this method will include the ID of + # the build, which can be passed to GetBuild to determine its status (e.g., + # success or failure). + # @param [String] project_id + # ID of the project. + # @param [Google::Apis::CloudbuildV1::Build] build_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_build(project_id, build_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) + command.request_representation = Google::Apis::CloudbuildV1::Build::Representation + command.request_object = build_object + command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation + command.response_class = Google::Apis::CloudbuildV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Creates a new BuildTrigger. # This API is experimental. # @param [String] project_id @@ -80,6 +228,40 @@ module Google execute_or_queue_command(command, &block) end + # Deletes an BuildTrigger by its project ID and trigger ID. + # This API is experimental. + # @param [String] project_id + # ID of the project that owns the trigger. + # @param [String] trigger_id + # ID of the BuildTrigger to delete. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudbuildV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) + command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation + command.response_class = Google::Apis::CloudbuildV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['triggerId'] = trigger_id unless trigger_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + # Gets information about a BuildTrigger. # This API is experimental. # @param [String] project_id @@ -145,40 +327,6 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an BuildTrigger by its project ID and trigger ID. - # This API is experimental. - # @param [String] project_id - # ID of the project that owns the trigger. - # @param [String] trigger_id - # ID of the BuildTrigger to delete. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_trigger(project_id, trigger_id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options) - command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation - command.response_class = Google::Apis::CloudbuildV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.params['triggerId'] = trigger_id unless trigger_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Updates an BuildTrigger by its project ID and trigger ID. # This API is experimental. # @param [String] project_id @@ -216,13 +364,19 @@ module Google execute_or_queue_command(command, &block) end - # Starts a build with the specified configuration. - # The long-running Operation returned by this method will include the ID of - # the build, which can be passed to GetBuild to determine its status (e.g., - # success or failure). - # @param [String] project_id - # ID of the project. - # @param [Google::Apis::CloudbuildV1::Build] build_object + # 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`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object # @param [String] quota_user # 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. @@ -232,70 +386,38 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object + # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbuildV1::Operation] + # @return [Google::Apis::CloudbuildV1::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_build(project_id, build_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options) - command.request_representation = Google::Apis::CloudbuildV1::Build::Representation - command.request_object = build_object - command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation - command.response_class = Google::Apis::CloudbuildV1::Operation - command.params['projectId'] = project_id unless project_id.nil? + def cancel_operation(name, cancel_operation_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation + command.response_class = Google::Apis::CloudbuildV1::Empty + command.params['name'] = name unless name.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Returns information about a previously requested build. - # The Build that is returned includes its status (e.g., success or failure, - # or in-progress), and timing information. - # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Build] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_build(project_id, id, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options) - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists previously requested builds. - # Previously requested builds may still be in-progress, or may have finished - # successfully or unsuccessfully. - # @param [String] project_id - # ID of the project. - # @param [Fixnum] page_size - # Number of results to return in the list. + # 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`. + # @param [String] name + # The name of the operation collection. + # @param [String] filter + # The standard list filter. # @param [String] page_token - # Token to provide to skip to a particular spot in the list. + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. # @param [String] quota_user # 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. @@ -305,57 +427,22 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object + # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudbuildV1::ListBuildsResponse] + # @return [Google::Apis::CloudbuildV1::ListOperationsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_builds(project_id, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options) - command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? + def list_operations(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Cancels a requested build in progress. - # @param [String] project_id - # ID of the project. - # @param [String] id - # ID of the build. - # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::Build] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_build(project_id, id, cancel_build_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options) - command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation - command.request_object = cancel_build_request_object - command.response_representation = Google::Apis::CloudbuildV1::Build::Representation - command.response_class = Google::Apis::CloudbuildV1::Build - command.params['projectId'] = project_id unless project_id.nil? - command.params['id'] = id unless id.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) @@ -392,48 +479,6 @@ module Google command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - - # 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`. - # @param [String] name - # The name of the operation collection. - # @param [Fixnum] page_size - # The standard list page size. - # @param [String] filter - # The standard list filter. - # @param [String] page_token - # The standard list page token. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudbuildV1::ListOperationsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/clouddebugger_v2.rb b/generated/google/apis/clouddebugger_v2.rb index 7e1004c88..85f11832b 100644 --- a/generated/google/apis/clouddebugger_v2.rb +++ b/generated/google/apis/clouddebugger_v2.rb @@ -26,13 +26,13 @@ module Google # @see http://cloud.google.com/debugger module ClouddebuggerV2 VERSION = 'V2' - REVISION = '20160810' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + REVISION = '20170322' # Manage cloud debugger AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/clouddebugger_v2/classes.rb b/generated/google/apis/clouddebugger_v2/classes.rb index 7d958d212..9c675cc22 100644 --- a/generated/google/apis/clouddebugger_v2/classes.rb +++ b/generated/google/apis/clouddebugger_v2/classes.rb @@ -22,15 +22,420 @@ module Google module Apis module ClouddebuggerV2 + # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. + class CloudWorkspaceSourceContext + include Google::Apis::Core::Hashable + + # The ID of the snapshot. + # An empty snapshot_id refers to the most recent snapshot. + # Corresponds to the JSON property `snapshotId` + # @return [String] + attr_accessor :snapshot_id + + # A CloudWorkspaceId is a unique identifier for a cloud workspace. + # A cloud workspace is a place associated with a repo where modified files + # can be stored before they are committed. + # Corresponds to the JSON property `workspaceId` + # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId] + attr_accessor :workspace_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id) + @workspace_id = args[:workspace_id] if args.key?(:workspace_id) + end + end + + # Response for updating an active breakpoint. + # The message is defined to allow future extensions. + class UpdateActiveBreakpointResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A SourceContext referring to a Gerrit project. + class GerritSourceContext + include Google::Apis::Core::Hashable + + # The full project name within the host. Projects may be nested, so + # "project/subproject" is a valid project name. + # The "repo name" is hostURI/project. + # Corresponds to the JSON property `gerritProject` + # @return [String] + attr_accessor :gerrit_project + + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + + # The URI of a running Gerrit instance. + # Corresponds to the JSON property `hostUri` + # @return [String] + attr_accessor :host_uri + + # A revision (commit) ID. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The name of an alias (branch, tag, etc.). + # Corresponds to the JSON property `aliasName` + # @return [String] + attr_accessor :alias_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) + @alias_context = args[:alias_context] if args.key?(:alias_context) + @host_uri = args[:host_uri] if args.key?(:host_uri) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @alias_name = args[:alias_name] if args.key?(:alias_name) + end + end + + # A CloudWorkspaceId is a unique identifier for a cloud workspace. + # A cloud workspace is a place associated with a repo where modified files + # can be stored before they are committed. + class CloudWorkspaceId + include Google::Apis::Core::Hashable + + # The unique name of the workspace within the repo. This is the name + # chosen by the client in the Source API's CreateWorkspace method. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A unique identifier for a cloud repo. + # Corresponds to the JSON property `repoId` + # @return [Google::Apis::ClouddebuggerV2::RepoId] + attr_accessor :repo_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @repo_id = args[:repo_id] if args.key?(:repo_id) + end + end + + # Response for listing breakpoints. + class ListBreakpointsResponse + include Google::Apis::Core::Hashable + + # List of breakpoints matching the request. + # The fields `id` and `location` are guaranteed to be set on each breakpoint. + # The fields: `stack_frames`, `evaluated_expressions` and `variable_table` + # are cleared on each breakpoint regardless of it's status. + # Corresponds to the JSON property `breakpoints` + # @return [Array] + attr_accessor :breakpoints + + # A wait token that can be used in the next call to `list` (REST) or + # `ListBreakpoints` (RPC) to block until the list of breakpoints has changes. + # Corresponds to the JSON property `nextWaitToken` + # @return [String] + attr_accessor :next_wait_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoints = args[:breakpoints] if args.key?(:breakpoints) + @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) + end + end + + # Represents the breakpoint specification, status and results. + class Breakpoint + include Google::Apis::Core::Hashable + + # List of read-only expressions to evaluate at the breakpoint location. + # The expressions are composed using expressions in the programming language + # at the source location. If the breakpoint action is `LOG`, the evaluated + # expressions are included in log statements. + # Corresponds to the JSON property `expressions` + # @return [Array] + attr_accessor :expressions + + # Values of evaluated expressions at breakpoint time. + # The evaluated expressions appear in exactly the same order they + # are listed in the `expressions` field. + # The `name` field holds the original expression text, the `value` or + # `members` field holds the result of the evaluated expression. + # If the expression cannot be evaluated, the `status` inside the `Variable` + # will indicate an error and contain the error text. + # Corresponds to the JSON property `evaluatedExpressions` + # @return [Array] + attr_accessor :evaluated_expressions + + # When true, indicates that this is a final result and the + # breakpoint state will not change from here on. + # Corresponds to the JSON property `isFinalState` + # @return [Boolean] + attr_accessor :is_final_state + alias_method :is_final_state?, :is_final_state + + # The stack at breakpoint time. + # Corresponds to the JSON property `stackFrames` + # @return [Array] + attr_accessor :stack_frames + + # Condition that triggers the breakpoint. + # The condition is a compound boolean expression composed using expressions + # in a programming language at the source location. + # Corresponds to the JSON property `condition` + # @return [String] + attr_accessor :condition + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Corresponds to the JSON property `status` + # @return [Google::Apis::ClouddebuggerV2::StatusMessage] + attr_accessor :status + + # E-mail address of the user that created this breakpoint + # Corresponds to the JSON property `userEmail` + # @return [String] + attr_accessor :user_email + + # Action that the agent should perform when the code at the + # breakpoint location is hit. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Indicates the severity of the log. Only relevant when action is `LOG`. + # Corresponds to the JSON property `logLevel` + # @return [String] + attr_accessor :log_level + + # Breakpoint identifier, unique in the scope of the debuggee. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a location in the source code. + # Corresponds to the JSON property `location` + # @return [Google::Apis::ClouddebuggerV2::SourceLocation] + attr_accessor :location + + # Time this breakpoint was finalized as seen by the server in seconds + # resolution. + # Corresponds to the JSON property `finalTime` + # @return [String] + attr_accessor :final_time + + # The `variable_table` exists to aid with computation, memory and network + # traffic optimization. It enables storing a variable once and reference + # it from multiple variables, including variables stored in the + # `variable_table` itself. + # For example, the same `this` object, which may appear at many levels of + # the stack, can have all of its data stored once in this table. The + # stack frame variables then would hold only a reference to it. + # The variable `var_table_index` field is an index into this repeated field. + # The stored objects are nameless and get their name from the referencing + # variable. The effective variable is a merge of the referencing variable + # and the referenced variable. + # Corresponds to the JSON property `variableTable` + # @return [Array] + attr_accessor :variable_table + + # Time this breakpoint was created by the server in seconds resolution. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Only relevant when action is `LOG`. Defines the message to log when + # the breakpoint hits. The message may include parameter placeholders `$0`, + # `$1`, etc. These placeholders are replaced with the evaluated value + # of the appropriate expression. Expressions not referenced in + # `log_message_format` are not logged. + # Example: `Message received, id = $0, count = $1` with + # `expressions` = `[ message.id, message.count ]`. + # Corresponds to the JSON property `logMessageFormat` + # @return [String] + attr_accessor :log_message_format + + # A set of custom breakpoint properties, populated by the agent, to be + # displayed to the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expressions = args[:expressions] if args.key?(:expressions) + @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions) + @is_final_state = args[:is_final_state] if args.key?(:is_final_state) + @stack_frames = args[:stack_frames] if args.key?(:stack_frames) + @condition = args[:condition] if args.key?(:condition) + @status = args[:status] if args.key?(:status) + @user_email = args[:user_email] if args.key?(:user_email) + @action = args[:action] if args.key?(:action) + @log_level = args[:log_level] if args.key?(:log_level) + @id = args[:id] if args.key?(:id) + @location = args[:location] if args.key?(:location) + @final_time = args[:final_time] if args.key?(:final_time) + @variable_table = args[:variable_table] if args.key?(:variable_table) + @create_time = args[:create_time] if args.key?(:create_time) + @log_message_format = args[:log_message_format] if args.key?(:log_message_format) + @labels = args[:labels] if args.key?(:labels) + end + end + + # Request to update an active breakpoint. + class UpdateActiveBreakpointRequest + include Google::Apis::Core::Hashable + + # Represents the breakpoint specification, status and results. + # Corresponds to the JSON property `breakpoint` + # @return [Google::Apis::ClouddebuggerV2::Breakpoint] + attr_accessor :breakpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + end + end + + # Response for setting a breakpoint. + class SetBreakpointResponse + include Google::Apis::Core::Hashable + + # Represents the breakpoint specification, status and results. + # Corresponds to the JSON property `breakpoint` + # @return [Google::Apis::ClouddebuggerV2::Breakpoint] + attr_accessor :breakpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + end + end + + # A SourceContext is a reference to a tree of files. A SourceContext together + # with a path point to a unique revision of a single file or directory. + class SourceContext + include Google::Apis::Core::Hashable + + # A GitSourceContext denotes a particular revision in a third party Git + # repository (e.g. GitHub). + # Corresponds to the JSON property `git` + # @return [Google::Apis::ClouddebuggerV2::GitSourceContext] + attr_accessor :git + + # A SourceContext referring to a Gerrit project. + # Corresponds to the JSON property `gerrit` + # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext] + attr_accessor :gerrit + + # A CloudRepoSourceContext denotes a particular revision in a cloud + # repo (a repo hosted by the Google Cloud Platform). + # Corresponds to the JSON property `cloudRepo` + # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext] + attr_accessor :cloud_repo + + # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. + # Corresponds to the JSON property `cloudWorkspace` + # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext] + attr_accessor :cloud_workspace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @git = args[:git] if args.key?(:git) + @gerrit = args[:gerrit] if args.key?(:gerrit) + @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo) + @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace) + end + end + + # A CloudRepoSourceContext denotes a particular revision in a cloud + # repo (a repo hosted by the Google Cloud Platform). + class CloudRepoSourceContext + include Google::Apis::Core::Hashable + + # A revision ID. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The name of an alias (branch, tag, etc.). + # Corresponds to the JSON property `aliasName` + # @return [String] + attr_accessor :alias_name + + # A unique identifier for a cloud repo. + # Corresponds to the JSON property `repoId` + # @return [Google::Apis::ClouddebuggerV2::RepoId] + attr_accessor :repo_id + + # An alias to a repo revision. + # Corresponds to the JSON property `aliasContext` + # @return [Google::Apis::ClouddebuggerV2::AliasContext] + attr_accessor :alias_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @alias_name = args[:alias_name] if args.key?(:alias_name) + @repo_id = args[:repo_id] if args.key?(:repo_id) + @alias_context = args[:alias_context] if args.key?(:alias_context) + end + end + # Request to register a debuggee. class RegisterDebuggeeRequest include Google::Apis::Core::Hashable # Represents the application to debug. The application may include one or more # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. The - # agents attached to the same debuggee are identified by using exactly the same - # field values when registering. + # attached with a debugger agent, carrying out the debugging commands. + # The agents attached to the same debuggee are identified by using exactly the + # same field values when registering. # Corresponds to the JSON property `debuggee` # @return [Google::Apis::ClouddebuggerV2::Debuggee] attr_accessor :debuggee @@ -45,87 +450,18 @@ module Google end end - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. The - # agents attached to the same debuggee are identified by using exactly the same - # field values when registering. - class Debuggee + # Response for registering a debuggee. + class RegisterDebuggeeResponse include Google::Apis::Core::Hashable - # Unique identifier for the debuggee generated by the controller service. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Project the debuggee is associated with. Use the project number when - # registering a Google Cloud Platform project. - # Corresponds to the JSON property `project` - # @return [String] - attr_accessor :project - - # Debuggee uniquifier within the project. Any string that identifies the - # application within the project can be used. Including environment and version - # or build IDs is recommended. - # Corresponds to the JSON property `uniquifier` - # @return [String] - attr_accessor :uniquifier - - # Human readable description of the debuggee. Including a human-readable project - # name, environment name and version information is recommended. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # If set to `true`, indicates that the debuggee is considered as inactive by the - # Controller service. - # Corresponds to the JSON property `isInactive` - # @return [Boolean] - attr_accessor :is_inactive - alias_method :is_inactive?, :is_inactive - - # Version ID of the agent release. The version ID is structured as following: ` - # domain/type/vmajor.minor` (for example `google.com/gcp-java/v1.1`). - # Corresponds to the JSON property `agentVersion` - # @return [String] - attr_accessor :agent_version - - # If set to `true`, indicates that the agent should disable itself and detach - # from the debuggee. - # Corresponds to the JSON property `isDisabled` - # @return [Boolean] - attr_accessor :is_disabled - alias_method :is_disabled?, :is_disabled - - # Represents a contextual status message. The message can indicate an error or - # informational status, and refer to specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring to - # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. - # Corresponds to the JSON property `status` - # @return [Google::Apis::ClouddebuggerV2::StatusMessage] - attr_accessor :status - - # References to the locations and revisions of the source code used in the - # deployed application. NOTE: This field is deprecated. Consumers should use ` - # ext_source_contexts` if it is not empty. Debug agents should populate both - # this field and `ext_source_contexts`. - # Corresponds to the JSON property `sourceContexts` - # @return [Array] - attr_accessor :source_contexts - - # References to the locations and revisions of the source code used in the - # deployed application. Contexts describing a remote repo related to the source - # code have a `category` label of `remote_repo`. Source snapshot source contexts - # have a `category` of `snapshot`. - # Corresponds to the JSON property `extSourceContexts` - # @return [Array] - attr_accessor :ext_source_contexts - - # A set of custom debuggee properties, populated by the agent, to be displayed - # to the user. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels + # Represents the application to debug. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # The agents attached to the same debuggee are identified by using exactly the + # same field values when registering. + # Corresponds to the JSON property `debuggee` + # @return [Google::Apis::ClouddebuggerV2::Debuggee] + attr_accessor :debuggee def initialize(**args) update!(**args) @@ -133,24 +469,34 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @project = args[:project] if args.key?(:project) - @uniquifier = args[:uniquifier] if args.key?(:uniquifier) - @description = args[:description] if args.key?(:description) - @is_inactive = args[:is_inactive] if args.key?(:is_inactive) - @agent_version = args[:agent_version] if args.key?(:agent_version) - @is_disabled = args[:is_disabled] if args.key?(:is_disabled) - @status = args[:status] if args.key?(:status) - @source_contexts = args[:source_contexts] if args.key?(:source_contexts) - @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) - @labels = args[:labels] if args.key?(:labels) + @debuggee = args[:debuggee] if args.key?(:debuggee) end end - # Represents a contextual status message. The message can indicate an error or - # informational status, and refer to specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring to - # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Response for getting breakpoint information. + class GetBreakpointResponse + include Google::Apis::Core::Hashable + + # Represents the breakpoint specification, status and results. + # Corresponds to the JSON property `breakpoint` + # @return [Google::Apis::ClouddebuggerV2::Breakpoint] + attr_accessor :breakpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + end + end + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. class StatusMessage include Google::Apis::Core::Hashable @@ -160,16 +506,16 @@ module Google attr_accessor :is_error alias_method :is_error?, :is_error - # Reference to which the message applies. - # Corresponds to the JSON property `refersTo` - # @return [String] - attr_accessor :refers_to - # Represents a message with parameters. # Corresponds to the JSON property `description` # @return [Google::Apis::ClouddebuggerV2::FormatMessage] attr_accessor :description + # Reference to which the message applies. + # Corresponds to the JSON property `refersTo` + # @return [String] + attr_accessor :refers_to + def initialize(**args) update!(**args) end @@ -177,292 +523,8 @@ module Google # Update properties of this object def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) - @refers_to = args[:refers_to] if args.key?(:refers_to) @description = args[:description] if args.key?(:description) - end - end - - # Represents a message with parameters. - class FormatMessage - include Google::Apis::Core::Hashable - - # Format template for the message. The `format` uses placeholders `$0`, `$1`, - # etc. to reference parameters. `$$` can be used to denote the `$` character. - # Examples: * `Failed to load '$0' which helps debug $1 the first time it is - # loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $ - # 1.` - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Optional parameters to be embedded into the message. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @format = args[:format] if args.key?(:format) - @parameters = args[:parameters] if args.key?(:parameters) - end - end - - # A SourceContext is a reference to a tree of files. A SourceContext together - # with a path point to a unique revision of a single file or directory. - class SourceContext - include Google::Apis::Core::Hashable - - # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo - # hosted by the Google Cloud Platform). - # Corresponds to the JSON property `cloudRepo` - # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext] - attr_accessor :cloud_repo - - # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. - # Corresponds to the JSON property `cloudWorkspace` - # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext] - attr_accessor :cloud_workspace - - # A SourceContext referring to a Gerrit project. - # Corresponds to the JSON property `gerrit` - # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext] - attr_accessor :gerrit - - # A GitSourceContext denotes a particular revision in a third party Git - # repository (e.g. GitHub). - # Corresponds to the JSON property `git` - # @return [Google::Apis::ClouddebuggerV2::GitSourceContext] - attr_accessor :git - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo) - @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace) - @gerrit = args[:gerrit] if args.key?(:gerrit) - @git = args[:git] if args.key?(:git) - end - end - - # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo - # hosted by the Google Cloud Platform). - class CloudRepoSourceContext - include Google::Apis::Core::Hashable - - # A unique identifier for a cloud repo. - # Corresponds to the JSON property `repoId` - # @return [Google::Apis::ClouddebuggerV2::RepoId] - attr_accessor :repo_id - - # A revision ID. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # The name of an alias (branch, tag, etc.). - # Corresponds to the JSON property `aliasName` - # @return [String] - attr_accessor :alias_name - - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @repo_id = args[:repo_id] if args.key?(:repo_id) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @alias_name = args[:alias_name] if args.key?(:alias_name) - @alias_context = args[:alias_context] if args.key?(:alias_context) - end - end - - # A unique identifier for a cloud repo. - class RepoId - include Google::Apis::Core::Hashable - - # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) - # and a repo name within that project. - # Corresponds to the JSON property `projectRepoId` - # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId] - attr_accessor :project_repo_id - - # A server-assigned, globally unique identifier. - # Corresponds to the JSON property `uid` - # @return [String] - attr_accessor :uid - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id) - @uid = args[:uid] if args.key?(:uid) - end - end - - # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31) - # and a repo name within that project. - class ProjectRepoId - include Google::Apis::Core::Hashable - - # The ID of the project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The name of the repo. Leave empty for the default repo. - # Corresponds to the JSON property `repoName` - # @return [String] - attr_accessor :repo_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @repo_name = args[:repo_name] if args.key?(:repo_name) - end - end - - # An alias to a repo revision. - class AliasContext - include Google::Apis::Core::Hashable - - # The alias kind. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # The alias name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - end - end - - # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot. - class CloudWorkspaceSourceContext - include Google::Apis::Core::Hashable - - # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud - # workspace is a place associated with a repo where modified files can be stored - # before they are committed. - # Corresponds to the JSON property `workspaceId` - # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId] - attr_accessor :workspace_id - - # The ID of the snapshot. An empty snapshot_id refers to the most recent - # snapshot. - # Corresponds to the JSON property `snapshotId` - # @return [String] - attr_accessor :snapshot_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @workspace_id = args[:workspace_id] if args.key?(:workspace_id) - @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id) - end - end - - # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud - # workspace is a place associated with a repo where modified files can be stored - # before they are committed. - class CloudWorkspaceId - include Google::Apis::Core::Hashable - - # A unique identifier for a cloud repo. - # Corresponds to the JSON property `repoId` - # @return [Google::Apis::ClouddebuggerV2::RepoId] - attr_accessor :repo_id - - # The unique name of the workspace within the repo. This is the name chosen by - # the client in the Source API's CreateWorkspace method. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @repo_id = args[:repo_id] if args.key?(:repo_id) - @name = args[:name] if args.key?(:name) - end - end - - # A SourceContext referring to a Gerrit project. - class GerritSourceContext - include Google::Apis::Core::Hashable - - # The URI of a running Gerrit instance. - # Corresponds to the JSON property `hostUri` - # @return [String] - attr_accessor :host_uri - - # The full project name within the host. Projects may be nested, so "project/ - # subproject" is a valid project name. The "repo name" is hostURI/project. - # Corresponds to the JSON property `gerritProject` - # @return [String] - attr_accessor :gerrit_project - - # A revision (commit) ID. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - - # The name of an alias (branch, tag, etc.). - # Corresponds to the JSON property `aliasName` - # @return [String] - attr_accessor :alias_name - - # An alias to a repo revision. - # Corresponds to the JSON property `aliasContext` - # @return [Google::Apis::ClouddebuggerV2::AliasContext] - attr_accessor :alias_context - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @host_uri = args[:host_uri] if args.key?(:host_uri) - @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project) - @revision_id = args[:revision_id] if args.key?(:revision_id) - @alias_name = args[:alias_name] if args.key?(:alias_name) - @alias_context = args[:alias_context] if args.key?(:alias_context) + @refers_to = args[:refers_to] if args.key?(:refers_to) end end @@ -471,29 +533,265 @@ module Google class GitSourceContext include Google::Apis::Core::Hashable + # Git commit hash. + # required. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + # Git repository URL. # Corresponds to the JSON property `url` # @return [String] attr_accessor :url - # Git commit hash. required. - # Corresponds to the JSON property `revisionId` - # @return [String] - attr_accessor :revision_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @url = args[:url] if args.key?(:url) @revision_id = args[:revision_id] if args.key?(:revision_id) + @url = args[:url] if args.key?(:url) end end - # An ExtendedSourceContext is a SourceContext combined with additional details - # describing the context. + # Represents a variable or an argument possibly of a compound object type. + # Note how the following variables are represented: + # 1) A simple variable: + # int x = 5 + # ` name: "x", value: "5", type: "int" ` // Captured variable + # 2) A compound object: + # struct T ` + # int m1; + # int m2; + # `; + # T x = ` 3, 7 `; + # ` // Captured variable + # name: "x", + # type: "T", + # members ` name: "m1", value: "3", type: "int" `, + # members ` name: "m2", value: "7", type: "int" ` + # ` + # 3) A pointer where the pointee was captured: + # T x = ` 3, 7 `; + # T* p = &x; + # ` // Captured variable + # name: "p", + # type: "T*", + # value: "0x00500500", + # members ` name: "m1", value: "3", type: "int" `, + # members ` name: "m2", value: "7", type: "int" ` + # ` + # 4) A pointer where the pointee was not captured: + # T* p = new T; + # ` // Captured variable + # name: "p", + # type: "T*", + # value: "0x00400400" + # status ` is_error: true, description ` format: "unavailable" ` ` + # ` + # The status should describe the reason for the missing value, + # such as ``, ``, ``. + # Note that a null pointer should not have members. + # 5) An unnamed value: + # int* p = new int(7); + # ` // Captured variable + # name: "p", + # value: "0x00500500", + # type: "int*", + # members ` value: "7", type: "int" ` ` + # 6) An unnamed pointer where the pointee was not captured: + # int* p = new int(7); + # int** pp = &p; + # ` // Captured variable + # name: "pp", + # value: "0x00500500", + # type: "int**", + # members ` + # value: "0x00400400", + # type: "int*" + # status ` + # is_error: true, + # description: ` format: "unavailable" ` ` + # ` + # ` + # ` + # To optimize computation, memory and network traffic, variables that + # repeat in the output multiple times can be stored once in a shared + # variable table and be referenced using the `var_table_index` field. The + # variables stored in the shared table are nameless and are essentially + # a partition of the complete variable. To reconstruct the complete + # variable, merge the referencing variable with the referenced variable. + # When using the shared variable table, the following variables: + # T x = ` 3, 7 `; + # T* p = &x; + # T& r = x; + # ` name: "x", var_table_index: 3, type: "T" ` // Captured variables + # ` name: "p", value "0x00500500", type="T*", var_table_index: 3 ` + # ` name: "r", type="T&", var_table_index: 3 ` + # ` // Shared variable table entry #3: + # members ` name: "m1", value: "3", type: "int" `, + # members ` name: "m2", value: "7", type: "int" ` + # ` + # Note that the pointer address is stored with the referencing variable + # and not with the referenced variable. This allows the referenced variable + # to be shared between pointers and references. + # The type field is optional. The debugger agent may or may not support it. + class Variable + include Google::Apis::Core::Hashable + + # Reference to a variable in the shared variable table. More than + # one variable can reference the same variable in the table. The + # `var_table_index` field is an index into `variable_table` in Breakpoint. + # Corresponds to the JSON property `varTableIndex` + # @return [Fixnum] + attr_accessor :var_table_index + + # Simple value of the variable. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Members contained or pointed to by the variable. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # Corresponds to the JSON property `status` + # @return [Google::Apis::ClouddebuggerV2::StatusMessage] + attr_accessor :status + + # Name of the variable, if any. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Variable type (e.g. `MyClass`). If the variable is split with + # `var_table_index`, `type` goes next to `value`. The interpretation of + # a type is agent specific. It is recommended to include the dynamic type + # rather than a static type of an object. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @var_table_index = args[:var_table_index] if args.key?(:var_table_index) + @value = args[:value] if args.key?(:value) + @members = args[:members] if args.key?(:members) + @status = args[:status] if args.key?(:status) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # Represents a stack frame context. + class StackFrame + include Google::Apis::Core::Hashable + + # Demangled function name at the call site. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # Set of arguments passed to this function. + # Note that this might not be populated for all stack frames. + # Corresponds to the JSON property `arguments` + # @return [Array] + attr_accessor :arguments + + # Set of local variables at the stack frame location. + # Note that this might not be populated for all stack frames. + # Corresponds to the JSON property `locals` + # @return [Array] + attr_accessor :locals + + # Represents a location in the source code. + # Corresponds to the JSON property `location` + # @return [Google::Apis::ClouddebuggerV2::SourceLocation] + attr_accessor :location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @function = args[:function] if args.key?(:function) + @arguments = args[:arguments] if args.key?(:arguments) + @locals = args[:locals] if args.key?(:locals) + @location = args[:location] if args.key?(:location) + end + end + + # A unique identifier for a cloud repo. + class RepoId + include Google::Apis::Core::Hashable + + # A server-assigned, globally unique identifier. + # Corresponds to the JSON property `uid` + # @return [String] + attr_accessor :uid + + # Selects a repo using a Google Cloud Platform project ID + # (e.g. winged-cargo-31) and a repo name within that project. + # Corresponds to the JSON property `projectRepoId` + # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId] + attr_accessor :project_repo_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @uid = args[:uid] if args.key?(:uid) + @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id) + end + end + + # Represents a message with parameters. + class FormatMessage + include Google::Apis::Core::Hashable + + # Optional parameters to be embedded into the message. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # Format template for the message. The `format` uses placeholders `$0`, + # `$1`, etc. to reference parameters. `$$` can be used to denote the `$` + # character. + # Examples: + # * `Failed to load '$0' which helps debug $1 the first time it + # is loaded. Again, $0 is very important.` + # * `Please pay $$10 to use $0 instead of $1.` + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @format = args[:format] if args.key?(:format) + end + end + + # An ExtendedSourceContext is a SourceContext combined with additional + # details describing the context. class ExtendedSourceContext include Google::Apis::Core::Hashable @@ -519,18 +817,18 @@ module Google end end - # Response for registering a debuggee. - class RegisterDebuggeeResponse + # Response for listing debuggees. + class ListDebuggeesResponse include Google::Apis::Core::Hashable - # Represents the application to debug. The application may include one or more - # replicated processes executing the same code. Each of these processes is - # attached with a debugger agent, carrying out the debugging commands. The - # agents attached to the same debuggee are identified by using exactly the same - # field values when registering. - # Corresponds to the JSON property `debuggee` - # @return [Google::Apis::ClouddebuggerV2::Debuggee] - attr_accessor :debuggee + # List of debuggees accessible to the calling user. + # Note that the `description` field is the only human readable field + # that should be displayed to the user. + # The fields `debuggee.id` and `description` fields are guaranteed to be + # set on each debuggee. + # Corresponds to the JSON property `debuggees` + # @return [Array] + attr_accessor :debuggees def initialize(**args) update!(**args) @@ -538,32 +836,23 @@ module Google # Update properties of this object def update!(**args) - @debuggee = args[:debuggee] if args.key?(:debuggee) + @debuggees = args[:debuggees] if args.key?(:debuggees) end end - # Response for listing active breakpoints. - class ListActiveBreakpointsResponse + # An alias to a repo revision. + class AliasContext include Google::Apis::Core::Hashable - # List of all active breakpoints. The fields `id` and `location` are guaranteed - # to be set on each breakpoint. - # Corresponds to the JSON property `breakpoints` - # @return [Array] - attr_accessor :breakpoints - - # A wait token that can be used in the next method call to block until the list - # of breakpoints changes. - # Corresponds to the JSON property `nextWaitToken` + # The alias name. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :next_wait_token + attr_accessor :name - # The `wait_expired` field is set to true by the server when the request times - # out and the field `success_on_timeout` is set to true. - # Corresponds to the JSON property `waitExpired` - # @return [Boolean] - attr_accessor :wait_expired - alias_method :wait_expired?, :wait_expired + # The alias kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind def initialize(**args) update!(**args) @@ -571,149 +860,27 @@ module Google # Update properties of this object def update!(**args) - @breakpoints = args[:breakpoints] if args.key?(:breakpoints) - @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) - @wait_expired = args[:wait_expired] if args.key?(:wait_expired) + @name = args[:name] if args.key?(:name) + @kind = args[:kind] if args.key?(:kind) end end - # Represents the breakpoint specification, status and results. - class Breakpoint + # 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 include Google::Apis::Core::Hashable - # Breakpoint identifier, unique in the scope of the debuggee. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Action that the agent should perform when the code at the breakpoint location - # is hit. - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # Represents a location in the source code. - # Corresponds to the JSON property `location` - # @return [Google::Apis::ClouddebuggerV2::SourceLocation] - attr_accessor :location - - # Condition that triggers the breakpoint. The condition is a compound boolean - # expression composed using expressions in a programming language at the source - # location. - # Corresponds to the JSON property `condition` - # @return [String] - attr_accessor :condition - - # List of read-only expressions to evaluate at the breakpoint location. The - # expressions are composed using expressions in the programming language at the - # source location. If the breakpoint action is `LOG`, the evaluated expressions - # are included in log statements. - # Corresponds to the JSON property `expressions` - # @return [Array] - attr_accessor :expressions - - # Only relevant when action is `LOG`. Defines the message to log when the - # breakpoint hits. The message may include parameter placeholders `$0`, `$1`, - # etc. These placeholders are replaced with the evaluated value of the - # appropriate expression. Expressions not referenced in `log_message_format` are - # not logged. Example: `Message received, id = $0, count = $1` with `expressions` - # = `[ message.id, message.count ]`. - # Corresponds to the JSON property `logMessageFormat` - # @return [String] - attr_accessor :log_message_format - - # Indicates the severity of the log. Only relevant when action is `LOG`. - # Corresponds to the JSON property `logLevel` - # @return [String] - attr_accessor :log_level - - # When true, indicates that this is a final result and the breakpoint state will - # not change from here on. - # Corresponds to the JSON property `isFinalState` - # @return [Boolean] - attr_accessor :is_final_state - alias_method :is_final_state?, :is_final_state - - # Time this breakpoint was created by the server in seconds resolution. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Time this breakpoint was finalized as seen by the server in seconds resolution. - # Corresponds to the JSON property `finalTime` - # @return [String] - attr_accessor :final_time - - # E-mail address of the user that created this breakpoint - # Corresponds to the JSON property `userEmail` - # @return [String] - attr_accessor :user_email - - # Represents a contextual status message. The message can indicate an error or - # informational status, and refer to specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring to - # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. - # Corresponds to the JSON property `status` - # @return [Google::Apis::ClouddebuggerV2::StatusMessage] - attr_accessor :status - - # The stack at breakpoint time. - # Corresponds to the JSON property `stackFrames` - # @return [Array] - attr_accessor :stack_frames - - # Values of evaluated expressions at breakpoint time. The evaluated expressions - # appear in exactly the same order they are listed in the `expressions` field. - # The `name` field holds the original expression text, the `value` or `members` - # field holds the result of the evaluated expression. If the expression cannot - # be evaluated, the `status` inside the `Variable` will indicate an error and - # contain the error text. - # Corresponds to the JSON property `evaluatedExpressions` - # @return [Array] - attr_accessor :evaluated_expressions - - # The `variable_table` exists to aid with computation, memory and network - # traffic optimization. It enables storing a variable once and reference it from - # multiple variables, including variables stored in the `variable_table` itself. - # For example, the same `this` object, which may appear at many levels of the - # stack, can have all of its data stored once in this table. The stack frame - # variables then would hold only a reference to it. The variable ` - # var_table_index` field is an index into this repeated field. The stored - # objects are nameless and get their name from the referencing variable. The - # effective variable is a merge of the referencing variable and the referenced - # variable. - # Corresponds to the JSON property `variableTable` - # @return [Array] - attr_accessor :variable_table - - # A set of custom breakpoint properties, populated by the agent, to be displayed - # to the user. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @action = args[:action] if args.key?(:action) - @location = args[:location] if args.key?(:location) - @condition = args[:condition] if args.key?(:condition) - @expressions = args[:expressions] if args.key?(:expressions) - @log_message_format = args[:log_message_format] if args.key?(:log_message_format) - @log_level = args[:log_level] if args.key?(:log_level) - @is_final_state = args[:is_final_state] if args.key?(:is_final_state) - @create_time = args[:create_time] if args.key?(:create_time) - @final_time = args[:final_time] if args.key?(:final_time) - @user_email = args[:user_email] if args.key?(:user_email) - @status = args[:status] if args.key?(:status) - @stack_frames = args[:stack_frames] if args.key?(:stack_frames) - @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions) - @variable_table = args[:variable_table] if args.key?(:variable_table) - @labels = args[:labels] if args.key?(:labels) end end @@ -742,142 +909,127 @@ module Google end end - # Represents a stack frame context. - class StackFrame + # Represents the application to debug. The application may include one or more + # replicated processes executing the same code. Each of these processes is + # attached with a debugger agent, carrying out the debugging commands. + # The agents attached to the same debuggee are identified by using exactly the + # same field values when registering. + class Debuggee include Google::Apis::Core::Hashable - # Demangled function name at the call site. - # Corresponds to the JSON property `function` + # Unique identifier for the debuggee generated by the controller service. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :function + attr_accessor :id - # Represents a location in the source code. - # Corresponds to the JSON property `location` - # @return [Google::Apis::ClouddebuggerV2::SourceLocation] - attr_accessor :location - - # Set of arguments passed to this function. Note that this might not be - # populated for all stack frames. - # Corresponds to the JSON property `arguments` - # @return [Array] - attr_accessor :arguments - - # Set of local variables at the stack frame location. Note that this might not - # be populated for all stack frames. - # Corresponds to the JSON property `locals` - # @return [Array] - attr_accessor :locals - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function = args[:function] if args.key?(:function) - @location = args[:location] if args.key?(:location) - @arguments = args[:arguments] if args.key?(:arguments) - @locals = args[:locals] if args.key?(:locals) - end - end - - # Represents a variable or an argument possibly of a compound object type. Note - # how the following variables are represented: 1) A simple variable: int x = 5 ` - # name: "x", value: "5", type: "int" ` // Captured variable 2) A compound object: - # struct T ` int m1; int m2; `; T x = ` 3, 7 `; ` // Captured variable name: "x" - # , type: "T", members ` name: "m1", value: "3", type: "int" `, members ` name: " - # m2", value: "7", type: "int" ` ` 3) A pointer where the pointee was captured: - # T x = ` 3, 7 `; T* p = &x; ` // Captured variable name: "p", type: "T*", value: - # "0x00500500", members ` name: "m1", value: "3", type: "int" `, members ` name: - # "m2", value: "7", type: "int" ` ` 4) A pointer where the pointee was not - # captured: T* p = new T; ` // Captured variable name: "p", type: "T*", value: " - # 0x00400400" status ` is_error: true, description ` format: "unavailable" ` ` ` - # The status should describe the reason for the missing value, such as ``, ``, ` - # `. Note that a null pointer should not have members. 5) An unnamed value: int* - # p = new int(7); ` // Captured variable name: "p", value: "0x00500500", type: " - # int*", members ` value: "7", type: "int" ` ` 6) An unnamed pointer where the - # pointee was not captured: int* p = new int(7); int** pp = &p; ` // Captured - # variable name: "pp", value: "0x00500500", type: "int**", members ` value: " - # 0x00400400", type: "int*" status ` is_error: true, description: ` format: " - # unavailable" ` ` ` ` ` To optimize computation, memory and network traffic, - # variables that repeat in the output multiple times can be stored once in a - # shared variable table and be referenced using the `var_table_index` field. The - # variables stored in the shared table are nameless and are essentially a - # partition of the complete variable. To reconstruct the complete variable, - # merge the referencing variable with the referenced variable. When using the - # shared variable table, the following variables: T x = ` 3, 7 `; T* p = &x; T& - # r = x; ` name: "x", var_table_index: 3, type: "T" ` // Captured variables ` - # name: "p", value "0x00500500", type="T*", var_table_index: 3 ` ` name: "r", - # type="T&", var_table_index: 3 ` ` // Shared variable table entry #3: members ` - # name: "m1", value: "3", type: "int" `, members ` name: "m2", value: "7", type: - # "int" ` ` Note that the pointer address is stored with the referencing - # variable and not with the referenced variable. This allows the referenced - # variable to be shared between pointers and references. The type field is - # optional. The debugger agent may or may not support it. - class Variable - include Google::Apis::Core::Hashable - - # Name of the variable, if any. - # Corresponds to the JSON property `name` + # Version ID of the agent release. The version ID is structured as + # following: `domain/type/vmajor.minor` (for example + # `google.com/gcp-java/v1.1`). + # Corresponds to the JSON property `agentVersion` # @return [String] - attr_accessor :name + attr_accessor :agent_version - # Simple value of the variable. - # Corresponds to the JSON property `value` + # If set to `true`, indicates that the agent should disable itself and + # detach from the debuggee. + # Corresponds to the JSON property `isDisabled` + # @return [Boolean] + attr_accessor :is_disabled + alias_method :is_disabled?, :is_disabled + + # Debuggee uniquifier within the project. + # Any string that identifies the application within the project can be used. + # Including environment and version or build IDs is recommended. + # Corresponds to the JSON property `uniquifier` # @return [String] - attr_accessor :value + attr_accessor :uniquifier - # Variable type (e.g. `MyClass`). If the variable is split with `var_table_index` - # , `type` goes next to `value`. The interpretation of a type is agent specific. - # It is recommended to include the dynamic type rather than a static type of an - # object. - # Corresponds to the JSON property `type` + # Human readable description of the debuggee. + # Including a human-readable project name, environment name and version + # information is recommended. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :type + attr_accessor :description - # Members contained or pointed to by the variable. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members + # References to the locations and revisions of the source code used in the + # deployed application. + # NOTE: This field is deprecated. Consumers should use + # `ext_source_contexts` if it is not empty. Debug agents should populate + # both this field and `ext_source_contexts`. + # Corresponds to the JSON property `sourceContexts` + # @return [Array] + attr_accessor :source_contexts - # Reference to a variable in the shared variable table. More than one variable - # can reference the same variable in the table. The `var_table_index` field is - # an index into `variable_table` in Breakpoint. - # Corresponds to the JSON property `varTableIndex` - # @return [Fixnum] - attr_accessor :var_table_index + # References to the locations and revisions of the source code used in the + # deployed application. + # Contexts describing a remote repo related to the source code + # have a `category` label of `remote_repo`. Source snapshot source + # contexts have a `category` of `snapshot`. + # Corresponds to the JSON property `extSourceContexts` + # @return [Array] + attr_accessor :ext_source_contexts - # Represents a contextual status message. The message can indicate an error or - # informational status, and refer to specific parts of the containing object. - # For example, the `Breakpoint.status` field can indicate an error referring to - # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. + # A set of custom debuggee properties, populated by the agent, to be + # displayed to the user. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents a contextual status message. + # The message can indicate an error or informational status, and refer to + # specific parts of the containing object. + # For example, the `Breakpoint.status` field can indicate an error referring + # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. # Corresponds to the JSON property `status` # @return [Google::Apis::ClouddebuggerV2::StatusMessage] attr_accessor :status + # If set to `true`, indicates that the debuggee is considered as inactive by + # the Controller service. + # Corresponds to the JSON property `isInactive` + # @return [Boolean] + attr_accessor :is_inactive + alias_method :is_inactive?, :is_inactive + + # Project the debuggee is associated with. + # Use the project number when registering a Google Cloud Platform project. + # Corresponds to the JSON property `project` + # @return [String] + attr_accessor :project + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @value = args[:value] if args.key?(:value) - @type = args[:type] if args.key?(:type) - @members = args[:members] if args.key?(:members) - @var_table_index = args[:var_table_index] if args.key?(:var_table_index) + @id = args[:id] if args.key?(:id) + @agent_version = args[:agent_version] if args.key?(:agent_version) + @is_disabled = args[:is_disabled] if args.key?(:is_disabled) + @uniquifier = args[:uniquifier] if args.key?(:uniquifier) + @description = args[:description] if args.key?(:description) + @source_contexts = args[:source_contexts] if args.key?(:source_contexts) + @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) + @labels = args[:labels] if args.key?(:labels) @status = args[:status] if args.key?(:status) + @is_inactive = args[:is_inactive] if args.key?(:is_inactive) + @project = args[:project] if args.key?(:project) end end - # Request to update an active breakpoint. - class UpdateActiveBreakpointRequest + # Selects a repo using a Google Cloud Platform project ID + # (e.g. winged-cargo-31) and a repo name within that project. + class ProjectRepoId include Google::Apis::Core::Hashable - # Represents the breakpoint specification, status and results. - # Corresponds to the JSON property `breakpoint` - # @return [Google::Apis::ClouddebuggerV2::Breakpoint] - attr_accessor :breakpoint + # The ID of the project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The name of the repo. Leave empty for the default repo. + # Corresponds to the JSON property `repoName` + # @return [String] + attr_accessor :repo_name def initialize(**args) update!(**args) @@ -885,125 +1037,43 @@ module Google # Update properties of this object def update!(**args) - @breakpoint = args[:breakpoint] if args.key?(:breakpoint) + @project_id = args[:project_id] if args.key?(:project_id) + @repo_name = args[:repo_name] if args.key?(:repo_name) end end - # Response for updating an active breakpoint. The message is defined to allow - # future extensions. - class UpdateActiveBreakpointResponse + # Response for listing active breakpoints. + class ListActiveBreakpointsResponse include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response for setting a breakpoint. - class SetBreakpointResponse - include Google::Apis::Core::Hashable - - # Represents the breakpoint specification, status and results. - # Corresponds to the JSON property `breakpoint` - # @return [Google::Apis::ClouddebuggerV2::Breakpoint] - attr_accessor :breakpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @breakpoint = args[:breakpoint] if args.key?(:breakpoint) - end - end - - # Response for getting breakpoint information. - class GetBreakpointResponse - include Google::Apis::Core::Hashable - - # Represents the breakpoint specification, status and results. - # Corresponds to the JSON property `breakpoint` - # @return [Google::Apis::ClouddebuggerV2::Breakpoint] - attr_accessor :breakpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @breakpoint = args[:breakpoint] if args.key?(:breakpoint) - end - end - - # 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 - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response for listing breakpoints. - class ListBreakpointsResponse - include Google::Apis::Core::Hashable - - # List of all breakpoints with complete state. The fields `id` and `location` - # are guaranteed to be set on each breakpoint. - # Corresponds to the JSON property `breakpoints` - # @return [Array] - attr_accessor :breakpoints - - # A wait token that can be used in the next call to `list` (REST) or ` - # ListBreakpoints` (RPC) to block until the list of breakpoints has changes. + # A wait token that can be used in the next method call to block until + # the list of breakpoints changes. # Corresponds to the JSON property `nextWaitToken` # @return [String] attr_accessor :next_wait_token + # List of all active breakpoints. + # The fields `id` and `location` are guaranteed to be set on each breakpoint. + # Corresponds to the JSON property `breakpoints` + # @return [Array] + attr_accessor :breakpoints + + # The `wait_expired` field is set to true by the server when the + # request times out and the field `success_on_timeout` is set to true. + # Corresponds to the JSON property `waitExpired` + # @return [Boolean] + attr_accessor :wait_expired + alias_method :wait_expired?, :wait_expired + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @breakpoints = args[:breakpoints] if args.key?(:breakpoints) @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token) - end - end - - # Response for listing debuggees. - class ListDebuggeesResponse - include Google::Apis::Core::Hashable - - # List of debuggees accessible to the calling user. Note that the `description` - # field is the only human readable field that should be displayed to the user. - # The fields `debuggee.id` and `description` fields are guaranteed to be set on - # each debuggee. - # Corresponds to the JSON property `debuggees` - # @return [Array] - attr_accessor :debuggees - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @debuggees = args[:debuggees] if args.key?(:debuggees) + @breakpoints = args[:breakpoints] if args.key?(:breakpoints) + @wait_expired = args[:wait_expired] if args.key?(:wait_expired) end end end diff --git a/generated/google/apis/clouddebugger_v2/representations.rb b/generated/google/apis/clouddebugger_v2/representations.rb index 0c8a1e04b..989ac0a30 100644 --- a/generated/google/apis/clouddebugger_v2/representations.rb +++ b/generated/google/apis/clouddebugger_v2/representations.rb @@ -22,151 +22,25 @@ module Google module Apis module ClouddebuggerV2 - class RegisterDebuggeeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Debuggee - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StatusMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FormatMessage - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudRepoSourceContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RepoId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ProjectRepoId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AliasContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CloudWorkspaceSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CloudWorkspaceId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GerritSourceContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GitSourceContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExtendedSourceContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RegisterDebuggeeResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListActiveBreakpointsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Breakpoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceLocation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StackFrame - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Variable - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateActiveBreakpointRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class UpdateActiveBreakpointResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SetBreakpointResponse + class GerritSourceContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetBreakpointResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty + class CloudWorkspaceId class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -178,12 +52,252 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Breakpoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateActiveBreakpointRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetBreakpointResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudRepoSourceContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegisterDebuggeeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegisterDebuggeeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetBreakpointResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StatusMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GitSourceContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Variable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StackFrame + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RepoId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FormatMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExtendedSourceContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListDebuggeesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AliasContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Debuggee + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectRepoId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListActiveBreakpointsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudWorkspaceSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :snapshot_id, as: 'snapshotId' + property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation + + end + end + + class UpdateActiveBreakpointResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GerritSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gerrit_project, as: 'gerritProject' + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + + property :host_uri, as: 'hostUri' + property :revision_id, as: 'revisionId' + property :alias_name, as: 'aliasName' + end + end + + class CloudWorkspaceId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation + + end + end + + class ListBreakpointsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + + property :next_wait_token, as: 'nextWaitToken' + end + end + + class Breakpoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :expressions, as: 'expressions' + collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + property :is_final_state, as: 'isFinalState' + collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation + + property :condition, as: 'condition' + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :user_email, as: 'userEmail' + property :action, as: 'action' + property :log_level, as: 'logLevel' + property :id, as: 'id' + property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation + + property :final_time, as: 'finalTime' + collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + property :create_time, as: 'createTime' + property :log_message_format, as: 'logMessageFormat' + hash :labels, as: 'labels' + end + end + + class UpdateActiveBreakpointRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + + end + end + + class SetBreakpointResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation + + end + end + + class SourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation + + property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation + + property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation + + property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation + + end + end + + class CloudRepoSourceContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :revision_id, as: 'revisionId' + property :alias_name, as: 'aliasName' + property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation + + property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + + end + end + class RegisterDebuggeeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -192,23 +306,19 @@ module Google end end - class Debuggee + class RegisterDebuggeeResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :project, as: 'project' - property :uniquifier, as: 'uniquifier' - property :description, as: 'description' - property :is_inactive, as: 'isInactive' - property :agent_version, as: 'agentVersion' - property :is_disabled, as: 'isDisabled' - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation + end + end - collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation + class GetBreakpointResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - hash :labels, as: 'labels' end end @@ -216,42 +326,43 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :is_error, as: 'isError' - property :refers_to, as: 'refersTo' property :description, as: 'description', class: Google::Apis::ClouddebuggerV2::FormatMessage, decorator: Google::Apis::ClouddebuggerV2::FormatMessage::Representation + property :refers_to, as: 'refersTo' end end - class FormatMessage + class GitSourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :format, as: 'format' - collection :parameters, as: 'parameters' - end - end - - class SourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation - - property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation - - property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation - - property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation - - end - end - - class CloudRepoSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation - property :revision_id, as: 'revisionId' - property :alias_name, as: 'aliasName' - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation + property :url, as: 'url' + end + end + + class Variable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :var_table_index, as: 'varTableIndex' + property :value, as: 'value' + collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + + property :name, as: 'name' + property :type, as: 'type' + end + end + + class StackFrame + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :function, as: 'function' + collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + + property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation end end @@ -259,63 +370,17 @@ module Google class RepoId # @private class Representation < Google::Apis::Core::JsonRepresentation + property :uid, as: 'uid' property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation - property :uid, as: 'uid' end end - class ProjectRepoId + class FormatMessage # @private class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :repo_name, as: 'repoName' - end - end - - class AliasContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :kind, as: 'kind' - property :name, as: 'name' - end - end - - class CloudWorkspaceSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation - - property :snapshot_id, as: 'snapshotId' - end - end - - class CloudWorkspaceId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation - - property :name, as: 'name' - end - end - - class GerritSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :host_uri, as: 'hostUri' - property :gerrit_project, as: 'gerritProject' - property :revision_id, as: 'revisionId' - property :alias_name, as: 'aliasName' - property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation - - end - end - - class GitSourceContext - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :url, as: 'url' - property :revision_id, as: 'revisionId' + collection :parameters, as: 'parameters' + property :format, as: 'format' end end @@ -328,48 +393,25 @@ module Google end end - class RegisterDebuggeeResponse + class ListDebuggeesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation + collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation end end - class ListActiveBreakpointsResponse + class AliasContext # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - - property :next_wait_token, as: 'nextWaitToken' - property :wait_expired, as: 'waitExpired' + property :name, as: 'name' + property :kind, as: 'kind' end end - class Breakpoint + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :action, as: 'action' - property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation - - property :condition, as: 'condition' - collection :expressions, as: 'expressions' - property :log_message_format, as: 'logMessageFormat' - property :log_level, as: 'logLevel' - property :is_final_state, as: 'isFinalState' - property :create_time, as: 'createTime' - property :final_time, as: 'finalTime' - property :user_email, as: 'userEmail' - property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation - - collection :stack_frames, as: 'stackFrames', class: Google::Apis::ClouddebuggerV2::StackFrame, decorator: Google::Apis::ClouddebuggerV2::StackFrame::Representation - - collection :evaluated_expressions, as: 'evaluatedExpressions', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - hash :labels, as: 'labels' end end @@ -381,83 +423,41 @@ module Google end end - class StackFrame + class Debuggee # @private class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation + property :id, as: 'id' + property :agent_version, as: 'agentVersion' + property :is_disabled, as: 'isDisabled' + property :uniquifier, as: 'uniquifier' + property :description, as: 'description' + collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation - collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation + collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation - collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - end - end - - class Variable - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :value, as: 'value' - property :type, as: 'type' - collection :members, as: 'members', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation - - property :var_table_index, as: 'varTableIndex' + hash :labels, as: 'labels' property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation + property :is_inactive, as: 'isInactive' + property :project, as: 'project' end end - class UpdateActiveBreakpointRequest + class ProjectRepoId # @private class Representation < Google::Apis::Core::JsonRepresentation - property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - + property :project_id, as: 'projectId' + property :repo_name, as: 'repoName' end end - class UpdateActiveBreakpointResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SetBreakpointResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - - end - end - - class GetBreakpointResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :breakpoint, as: 'breakpoint', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ListBreakpointsResponse + class ListActiveBreakpointsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_wait_token, as: 'nextWaitToken' collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation - property :next_wait_token, as: 'nextWaitToken' - end - end - - class ListDebuggeesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :debuggees, as: 'debuggees', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation - + property :wait_expired, as: 'waitExpired' end end end diff --git a/generated/google/apis/clouddebugger_v2/service.rb b/generated/google/apis/clouddebugger_v2/service.rb index 2bfa6ee58..8ea9a6c56 100644 --- a/generated/google/apis/clouddebugger_v2/service.rb +++ b/generated/google/apis/clouddebugger_v2/service.rb @@ -47,13 +47,219 @@ module Google super('https://clouddebugger.googleapis.com/', '') end - # Registers the debuggee with the controller service. All agents attached to the - # same application should call this method with the same request content to get - # back the same stable `debuggee_id`. Agents should call this method again - # whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. + # Lists all the debuggees that the user can set breakpoints to. + # @param [String] client_version + # The client version making the call. + # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [Boolean] include_inactive + # When set to `true`, the result includes all debuggees. Otherwise, the + # result includes only debuggees that are active. + # @param [String] project + # Project number of a Google Cloud project whose debuggees to list. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees', options) + command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['includeInactive'] = include_inactive unless include_inactive.nil? + command.query['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the breakpoint to the debuggee. + # @param [String] debuggee_id + # ID of the debuggee where the breakpoint is to be set. + # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object + # @param [String] client_version + # The client version making the call. + # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) + command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation + command.request_object = breakpoint_object + command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the breakpoint from the debuggee. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoint to delete. + # @param [String] breakpoint_id + # ID of the breakpoint to delete. + # @param [String] client_version + # The client version making the call. + # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouddebuggerV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) + command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation + command.response_class = Google::Apis::ClouddebuggerV2::Empty + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets breakpoint information. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoint to get. + # @param [String] breakpoint_id + # ID of the breakpoint to get. + # @param [String] client_version + # The client version making the call. + # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) + command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all breakpoints for the debuggee. + # @param [String] debuggee_id + # ID of the debuggee whose breakpoints to list. + # @param [String] wait_token + # A wait token that, if specified, blocks the call until the breakpoints + # list has changed, or a server selected timeout has expired. The value + # should be set from the last response. The error code + # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which + # should be called again with the same `wait_token`. + # @param [String] action_value + # Only breakpoints with the specified action will pass the filter. + # @param [String] client_version + # The client version making the call. + # Following: `domain/type/version` (e.g., `google.com/intellij/v1`). + # @param [Boolean] include_inactive + # When set to `true`, the response includes active and inactive + # breakpoints. Otherwise, it includes only active breakpoints. + # @param [Boolean] include_all_users + # When set to `true`, the response includes the list of breakpoints set by + # any user. Otherwise, it includes only breakpoints set by the caller. + # @param [Boolean] strip_results + # This field is deprecated. The following fields are always stripped out of + # the result: `stack_frames`, `evaluated_expressions` and `variable_table`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_debugger_debuggee_breakpoints(debuggee_id, wait_token: nil, action_value: nil, client_version: nil, include_inactive: nil, include_all_users: nil, strip_results: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) + command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse + command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? + command.query['waitToken'] = wait_token unless wait_token.nil? + command.query['action.value'] = action_value unless action_value.nil? + command.query['clientVersion'] = client_version unless client_version.nil? + command.query['includeInactive'] = include_inactive unless include_inactive.nil? + command.query['includeAllUsers'] = include_all_users unless include_all_users.nil? + command.query['stripResults'] = strip_results unless strip_results.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Registers the debuggee with the controller service. + # All agents attached to the same application should call this method with + # the same request content to get back the same stable `debuggee_id`. Agents + # should call this method again whenever `google.rpc.Code.NOT_FOUND` is + # returned from any controller method. # This allows the controller service to disable the agent or recover from any - # data loss. If the debuggee is disabled by the server, the response will have ` - # is_disabled` set to `true`. + # data loss. If the debuggee is disabled by the server, the response will + # have `is_disabled` set to `true`. # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -83,61 +289,14 @@ module Google execute_or_queue_command(command, &block) end - # Returns the list of all active breakpoints for the debuggee. The breakpoint - # specification (location, condition, and expression fields) is semantically - # immutable, although the field values may change. For example, an agent may - # update the location line number to reflect the actual line where the - # breakpoint was set, but this doesn't change the breakpoint semantics. This - # means that an agent does not need to check if a breakpoint has changed when it - # encounters the same breakpoint on a successive call. Moreover, an agent should - # remember the breakpoints that are completed until the controller removes them - # from the active list to avoid setting those breakpoints again. - # @param [String] debuggee_id - # Identifies the debuggee. - # @param [String] wait_token - # 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. - # @param [Boolean] success_on_timeout - # If set to `true`, returns `google.rpc.Code.OK` status and sets the ` - # wait_expired` response field to `true` when the server-selected timeout has - # expired (recommended). If set to `false`, returns `google.rpc.Code.ABORTED` - # status when the server-selected timeout has expired (deprecated). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options) - command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.query['waitToken'] = wait_token unless wait_token.nil? - command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates the breakpoint state or mutable fields. The entire Breakpoint message - # must be sent back to the controller service. Updates to active breakpoint - # fields are only allowed if the new value does not change the breakpoint - # specification. Updates to the `location`, `condition` and `expression` fields - # should not alter the breakpoint semantics. These may only make changes such as - # canonicalizing a value or snapping the location to the correct line of code. + # Updates the breakpoint state or mutable fields. + # The entire Breakpoint message must be sent back to the controller + # service. + # Updates to active breakpoint fields are only allowed if the new value + # does not change the breakpoint specification. Updates to the `location`, + # `condition` and `expression` fields should not alter the breakpoint + # semantics. These may only make changes such as canonicalizing a value + # or snapping the location to the correct line of code. # @param [String] debuggee_id # Identifies the debuggee being debugged. # @param [String] id @@ -173,178 +332,29 @@ module Google execute_or_queue_command(command, &block) end - # Lists all the debuggees that the user can set breakpoints to. - # @param [String] project - # Project number of a Google Cloud project whose debuggees to list. - # @param [Boolean] include_inactive - # When set to `true`, the result includes all debuggees. Otherwise, the result - # includes only debuggees that are active. - # @param [String] client_version - # The client version making the call. Following: `domain/type/version` (e.g., ` - # google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::ListDebuggeesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_debugger_debuggees(project: nil, include_inactive: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees', options) - command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse - command.query['project'] = project unless project.nil? - command.query['includeInactive'] = include_inactive unless include_inactive.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets the breakpoint to the debuggee. + # Returns the list of all active breakpoints for the debuggee. + # The breakpoint specification (location, condition, and expression + # fields) is semantically immutable, although the field values may + # change. For example, an agent may update the location line number + # to reflect the actual line where the breakpoint was set, but this + # doesn't change the breakpoint semantics. + # This means that an agent does not need to check if a breakpoint has changed + # when it encounters the same breakpoint on a successive call. + # Moreover, an agent should remember the breakpoints that are completed + # until the controller removes them from the active list to avoid + # setting those breakpoints again. # @param [String] debuggee_id - # ID of the debuggee where the breakpoint is to be set. - # @param [Google::Apis::ClouddebuggerV2::Breakpoint] breakpoint_object - # @param [String] client_version - # The client version making the call. Following: `domain/type/version` (e.g., ` - # google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::SetBreakpointResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options) - command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation - command.request_object = breakpoint_object - command.response_representation = Google::Apis::ClouddebuggerV2::SetBreakpointResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets breakpoint information. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoint to get. - # @param [String] breakpoint_id - # ID of the breakpoint to get. - # @param [String] client_version - # The client version making the call. Following: `domain/type/version` (e.g., ` - # google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::GetBreakpointResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) - command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes the breakpoint from the debuggee. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoint to delete. - # @param [String] breakpoint_id - # ID of the breakpoint to delete. - # @param [String] client_version - # The client version making the call. Following: `domain/type/version` (e.g., ` - # google.com/intellij/v1`). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ClouddebuggerV2::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options) - command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation - command.response_class = Google::Apis::ClouddebuggerV2::Empty - command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil? - command.query['clientVersion'] = client_version unless client_version.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists all breakpoints for the debuggee. - # @param [String] debuggee_id - # ID of the debuggee whose breakpoints to list. - # @param [Boolean] include_all_users - # When set to `true`, the response includes the list of breakpoints set by any - # user. Otherwise, it includes only breakpoints set by the caller. - # @param [Boolean] include_inactive - # When set to `true`, the response includes active and inactive breakpoints. - # Otherwise, it includes only active breakpoints. - # @param [String] action_value - # Only breakpoints with the specified action will pass the filter. - # @param [Boolean] strip_results - # When set to `true`, the response breakpoints are stripped of the results - # fields: `stack_frames`, `evaluated_expressions` and `variable_table`. + # Identifies the debuggee. # @param [String] wait_token - # A wait token that, if specified, blocks the call until the breakpoints list - # has changed, or a server selected timeout has expired. The value should be set - # from the last response. The error code `google.rpc.Code.ABORTED` (RPC) is - # returned on wait timeout, which should be called again with the same ` - # wait_token`. - # @param [String] client_version - # The client version making the call. Following: `domain/type/version` (e.g., ` - # google.com/intellij/v1`). + # 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. + # @param [Boolean] success_on_timeout + # If set to `true`, returns `google.rpc.Code.OK` status and sets the + # `wait_expired` response field to `true` when the server-selected timeout + # has expired (recommended). + # If set to `false`, returns `google.rpc.Code.ABORTED` status when the + # server-selected timeout has expired (deprecated). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -354,25 +364,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] parsed result object + # @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ClouddebuggerV2::ListBreakpointsResponse] + # @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_debugger_debuggee_breakpoints(debuggee_id, include_all_users: nil, include_inactive: nil, action_value: nil, strip_results: nil, wait_token: nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options) - command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation - command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse + def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options) + command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation + command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil? - command.query['includeAllUsers'] = include_all_users unless include_all_users.nil? - command.query['includeInactive'] = include_inactive unless include_inactive.nil? - command.query['action.value'] = action_value unless action_value.nil? - command.query['stripResults'] = strip_results unless strip_results.nil? command.query['waitToken'] = wait_token unless wait_token.nil? - command.query['clientVersion'] = client_version unless client_version.nil? + command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/cloudkms_v1.rb b/generated/google/apis/cloudkms_v1.rb new file mode 100644 index 000000000..a75f275b8 --- /dev/null +++ b/generated/google/apis/cloudkms_v1.rb @@ -0,0 +1,35 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/cloudkms_v1/service.rb' +require 'google/apis/cloudkms_v1/classes.rb' +require 'google/apis/cloudkms_v1/representations.rb' + +module Google + module Apis + # Google Cloud Key Management Service (KMS) API + # + # Manages encryption for your cloud services the same way you do on-premise. You + # can generate, use, rotate, and destroy AES256 encryption keys. + # + # @see https://cloud.google.com/kms/ + module CloudkmsV1 + VERSION = 'V1' + REVISION = '20170320' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/cloudkms_v1/classes.rb b/generated/google/apis/cloudkms_v1/classes.rb new file mode 100644 index 000000000..7ea3c2715 --- /dev/null +++ b/generated/google/apis/cloudkms_v1/classes.rb @@ -0,0 +1,1022 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1 + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @labels = args[:labels] if args.key?(:labels) + end + end + + # Response message for KeyManagementService.ListCryptoKeys. + class ListCryptoKeysResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeysRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of CryptoKeys. + # Corresponds to the JSON property `cryptoKeys` + # @return [Array] + attr_accessor :crypto_keys + + # The total number of CryptoKeys that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Trusted attributes supplied by any service that owns resources and uses + # the IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @value = args[:value] if args.key?(:value) + @sys = args[:sys] if args.key?(:sys) + @iam = args[:iam] if args.key?(:iam) + @values = args[:values] if args.key?(:values) + end + end + + # Options for counters + class CounterOptions + include Google::Apis::Core::Hashable + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @field = args[:field] if args.key?(:field) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # Response message for KeyManagementService.Decrypt. + class DecryptResponse + include Google::Apis::Core::Hashable + + # The decrypted data originally supplied in EncryptRequest.plaintext. + # Corresponds to the JSON property `plaintext` + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A KeyRing is a toplevel logical grouping of CryptoKeys. + class KeyRing + include Google::Apis::Core::Hashable + + # Output only. The resource name for the KeyRing in the format + # `projects/*/locations/*/keyRings/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The time at which this KeyRing was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @create_time = args[:create_time] if args.key?(:create_time) + end + end + + # Response message for KeyManagementService.Encrypt. + class EncryptResponse + include Google::Apis::Core::Hashable + + # The resource name of the CryptoKeyVersion used in encryption. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The encrypted data. + # Corresponds to the JSON property `ciphertext` + # @return [String] + attr_accessor :ciphertext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + end + end + + # Request message for KeyManagementService.RestoreCryptoKeyVersion. + class RestoreCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion. + class UpdateCryptoKeyPrimaryVersionRequest + include Google::Apis::Core::Hashable + + # The id of the child CryptoKeyVersion to use as primary. + # Corresponds to the JSON property `cryptoKeyVersionId` + # @return [String] + attr_accessor :crypto_key_version_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id) + end + end + + # Response message for KeyManagementService.ListKeyRings. + class ListKeyRingsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListKeyRingsRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of KeyRings that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of KeyRings. + # Corresponds to the JSON property `keyRings` + # @return [Array] + attr_accessor :key_rings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + @key_rings = args[:key_rings] if args.key?(:key_rings) + end + end + + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + end + end + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + class CryptoKeyVersion + include Google::Apis::Core::Hashable + + # Output only. The time this CryptoKeyVersion's key material is scheduled + # for destruction. Only present if state is + # DESTROY_SCHEDULED. + # Corresponds to the JSON property `destroyTime` + # @return [String] + attr_accessor :destroy_time + + # Output only. The time at which this CryptoKeyVersion was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The current state of the CryptoKeyVersion. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. The resource name for this CryptoKeyVersion in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The time this CryptoKeyVersion's key material was + # destroyed. Only present if state is + # DESTROYED. + # Corresponds to the JSON property `destroyEventTime` + # @return [String] + attr_accessor :destroy_event_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destroy_time = args[:destroy_time] if args.key?(:destroy_time) + @create_time = args[:create_time] if args.key?(:create_time) + @state = args[:state] if args.key?(:state) + @name = args[:name] if args.key?(:name) + @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time) + end + end + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Request message for KeyManagementService.Encrypt. + class EncryptRequest + include Google::Apis::Core::Hashable + + # Optional data that, if specified, must also be provided during decryption + # through DecryptRequest.additional_authenticated_data. Must be no + # larger than 64KiB. + # Corresponds to the JSON property `additionalAuthenticatedData` + # @return [String] + attr_accessor :additional_authenticated_data + + # Required. The data to encrypt. Must be no larger than 64KiB. + # Corresponds to the JSON property `plaintext` + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Response message for KeyManagementService.ListCryptoKeyVersions. + class ListCryptoKeyVersionsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of + # results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of CryptoKeyVersions that matched the + # query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of CryptoKeyVersions. + # Corresponds to the JSON property `cryptoKeyVersions` + # @return [Array] + attr_accessor :crypto_key_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request message for KeyManagementService.DestroyCryptoKeyVersion. + class DestroyCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A CryptoKey represents a logical key that can be used for cryptographic + # operations. + # A CryptoKey is made up of one or more versions, which + # represent the actual key material used in cryptographic operations. + class CryptoKey + include Google::Apis::Core::Hashable + + # The immutable purpose of this CryptoKey. Currently, the only acceptable + # purpose is ENCRYPT_DECRYPT. + # Corresponds to the JSON property `purpose` + # @return [String] + attr_accessor :purpose + + # At next_rotation_time, the Key Management Service will automatically: + # 1. Create a new version of this CryptoKey. + # 2. Mark the new version as primary. + # Key rotations performed manually via + # CreateCryptoKeyVersion and + # UpdateCryptoKeyPrimaryVersion + # do not affect next_rotation_time. + # Corresponds to the JSON property `nextRotationTime` + # @return [String] + attr_accessor :next_rotation_time + + # Output only. The time at which this CryptoKey was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # next_rotation_time will be advanced by this period when the service + # automatically rotates a key. Must be at least one day. + # If rotation_period is set, next_rotation_time must also be set. + # Corresponds to the JSON property `rotationPeriod` + # @return [String] + attr_accessor :rotation_period + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + attr_accessor :primary + + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @purpose = args[:purpose] if args.key?(:purpose) + @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) + @create_time = args[:create_time] if args.key?(:create_time) + @rotation_period = args[:rotation_period] if args.key?(:rotation_period) + @primary = args[:primary] if args.key?(:primary) + @name = args[:name] if args.key?(:name) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfig` + # @return [Array] + attr_accessor :log_config + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + # A permission is a string of form '..' + # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, + # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # The format for in and not_in entries is the same as for members in a + # Binding (see google/iam/v1/policy.proto). + # Corresponds to the JSON property `notIn` + # @return [Array] + attr_accessor :not_in + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_config = args[:log_config] if args.key?(:log_config) + @in = args[:in] if args.key?(:in) + @permissions = args[:permissions] if args.key?(:permissions) + @action = args[:action] if args.key?(:action) + @not_in = args[:not_in] if args.key?(:not_in) + @description = args[:description] if args.key?(:description) + @conditions = args[:conditions] if args.key?(:conditions) + end + end + + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::CloudkmsV1::CloudAuditOptions] + attr_accessor :cloud_audit + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::CloudkmsV1::CounterOptions] + attr_accessor :counter + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::CloudkmsV1::DataAccessOptions] + attr_accessor :data_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + @data_access = args[:data_access] if args.key?(:data_access) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudkmsV1::Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @update_mask = args[:update_mask] if args.key?(:update_mask) + @policy = args[:policy] if args.key?(:policy) + end + end + + # Request message for KeyManagementService.Decrypt. + class DecryptRequest + include Google::Apis::Core::Hashable + + # Required. The encrypted data originally returned in + # EncryptResponse.ciphertext. + # Corresponds to the JSON property `ciphertext` + # @return [String] + attr_accessor :ciphertext + + # Optional data that must match the data originally supplied in + # EncryptRequest.additional_authenticated_data. + # Corresponds to the JSON property `additionalAuthenticatedData` + # @return [String] + attr_accessor :additional_authenticated_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + end + end + end + end +end diff --git a/generated/google/apis/cloudkms_v1/representations.rb b/generated/google/apis/cloudkms_v1/representations.rb new file mode 100644 index 000000000..5457f9642 --- /dev/null +++ b/generated/google/apis/cloudkms_v1/representations.rb @@ -0,0 +1,448 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1 + + class Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCryptoKeysResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DecryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RestoreCryptoKeyVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateCryptoKeyPrimaryVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListKeyRingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CryptoKeyVersion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudAuditOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCryptoKeyVersionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DestroyCryptoKeyVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DecryptRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + hash :labels, as: 'labels' + end + end + + class ListCryptoKeysResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1::CryptoKey, decorator: Google::Apis::CloudkmsV1::CryptoKey::Representation + + property :total_size, as: 'totalSize' + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :op, as: 'op' + property :svc, as: 'svc' + property :value, as: 'value' + property :sys, as: 'sys' + property :iam, as: 'iam' + collection :values, as: 'values' + end + end + + class CounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + property :field, as: 'field' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class DecryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :plaintext, :base64 => true, as: 'plaintext' + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1::Rule, decorator: Google::Apis::CloudkmsV1::Rule::Representation + + property :version, as: 'version' + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1::AuditConfig, decorator: Google::Apis::CloudkmsV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1::Binding, decorator: Google::Apis::CloudkmsV1::Binding::Representation + + end + end + + class ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1::Location, decorator: Google::Apis::CloudkmsV1::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class KeyRing + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :create_time, as: 'createTime' + end + end + + class EncryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :ciphertext, :base64 => true, as: 'ciphertext' + end + end + + class RestoreCryptoKeyVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class UpdateCryptoKeyPrimaryVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key_version_id, as: 'cryptoKeyVersionId' + end + end + + class ListKeyRingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1::KeyRing, decorator: Google::Apis::CloudkmsV1::KeyRing::Representation + + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + end + end + + class CryptoKeyVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destroy_time, as: 'destroyTime' + property :create_time, as: 'createTime' + property :state, as: 'state' + property :name, as: 'name' + property :destroy_event_time, as: 'destroyEventTime' + end + end + + class CloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class EncryptRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + property :plaintext, :base64 => true, as: 'plaintext' + end + end + + class ListCryptoKeyVersionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class DestroyCryptoKeyVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :purpose, as: 'purpose' + property :next_rotation_time, as: 'nextRotationTime' + property :create_time, as: 'createTime' + property :rotation_period, as: 'rotationPeriod' + property :primary, as: 'primary', class: Google::Apis::CloudkmsV1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + + property :name, as: 'name' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1::LogConfig, decorator: Google::Apis::CloudkmsV1::LogConfig::Representation + + collection :in, as: 'in' + collection :permissions, as: 'permissions' + property :action, as: 'action' + collection :not_in, as: 'notIn' + property :description, as: 'description' + collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1::Condition, decorator: Google::Apis::CloudkmsV1::Condition::Representation + + end + end + + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1::CloudAuditOptions::Representation + + property :counter, as: 'counter', class: Google::Apis::CloudkmsV1::CounterOptions, decorator: Google::Apis::CloudkmsV1::CounterOptions::Representation + + property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1::DataAccessOptions::Representation + + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :update_mask, as: 'updateMask' + property :policy, as: 'policy', class: Google::Apis::CloudkmsV1::Policy, decorator: Google::Apis::CloudkmsV1::Policy::Representation + + end + end + + class DecryptRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ciphertext, :base64 => true, as: 'ciphertext' + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + end + end + end + end +end diff --git a/generated/google/apis/cloudkms_v1/service.rb b/generated/google/apis/cloudkms_v1/service.rb new file mode 100644 index 000000000..4986a2ded --- /dev/null +++ b/generated/google/apis/cloudkms_v1/service.rb @@ -0,0 +1,933 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1 + # Google Cloud Key Management Service (KMS) API + # + # Manages encryption for your cloud services the same way you do on-premise. You + # can generate, use, rotate, and destroy AES256 encryption keys. + # + # @example + # require 'google/apis/cloudkms_v1' + # + # Cloudkms = Google::Apis::CloudkmsV1 # Alias the module + # service = Cloudkms::CloudKMSService.new + # + # @see https://cloud.google.com/kms/ + class CloudKMSService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://cloudkms.googleapis.com/', '') + end + + # Lists information about the supported locations for this service. + # @param [String] name + # The resource that owns the locations collection, if applicable. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::ListLocationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/locations', options) + command.response_representation = Google::Apis::CloudkmsV1::ListLocationsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::ListLocationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Get information about a location. + # @param [String] name + # Resource name for the location. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Location] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::Location::Representation + command.response_class = Google::Apis::CloudkmsV1::Location + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Create a new KeyRing in a given Project and Location. + # @param [String] parent + # Required. The resource name of the location associated with the + # KeyRings, in the format `projects/*/locations/*`. + # @param [Google::Apis::CloudkmsV1::KeyRing] key_ring_object + # @param [String] key_ring_id + # Required. It must be unique within a location and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::KeyRing] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/keyRings', options) + command.request_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.request_object = key_ring_object + command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1::KeyRing + command.params['parent'] = parent unless parent.nil? + command.query['keyRingId'] = key_ring_id unless key_ring_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given KeyRing. + # @param [String] name + # The name of the KeyRing to get. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::KeyRing] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1::KeyRing + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists KeyRings. + # @param [String] parent + # Required. The resource name of the location associated with the + # KeyRings, in the format `projects/*/locations/*`. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListKeyRingsResponse.next_page_token. + # @param [Fixnum] page_size + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::ListKeyRingsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::ListKeyRingsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_rings(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/keyRings', options) + command.response_representation = Google::Apis::CloudkmsV1::ListKeyRingsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::ListKeyRingsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Encrypt data, so that it can only be recovered by a call to Decrypt. + # @param [String] name + # Required. The resource name of the CryptoKey or CryptoKeyVersion + # to use for encryption. + # If a CryptoKey is specified, the server will use its + # primary version. + # @param [Google::Apis::CloudkmsV1::EncryptRequest] encrypt_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::EncryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::EncryptResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def encrypt_crypto_key(name, encrypt_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:encrypt', options) + command.request_representation = Google::Apis::CloudkmsV1::EncryptRequest::Representation + command.request_object = encrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1::EncryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::EncryptResponse + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Create a new CryptoKey within a KeyRing. + # CryptoKey.purpose is required. + # @param [String] parent + # Required. The name of the KeyRing associated with the + # CryptoKeys. + # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object + # @param [String] crypto_key_id + # Required. It must be unique within a KeyRing and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/cryptoKeys', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.request_object = crypto_key_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['parent'] = parent unless parent.nil? + command.query['cryptoKeyId'] = crypto_key_id unless crypto_key_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Update the version of a CryptoKey that will be used in Encrypt + # @param [String] name + # The resource name of the CryptoKey to update. + # @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:updatePrimaryVersion', options) + command.request_representation = Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest::Representation + command.request_object = update_crypto_key_primary_version_request_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Update a CryptoKey. + # @param [String] name + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.request_object = crypto_key_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given CryptoKey, as well as its + # primary CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKey to get. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudkmsV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudkmsV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Decrypt data that was protected by Encrypt. + # @param [String] name + # Required. The resource name of the CryptoKey to use for decryption. + # The server will choose the appropriate version. + # @param [Google::Apis::CloudkmsV1::DecryptRequest] decrypt_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::DecryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::DecryptResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def decrypt_crypto_key(name, decrypt_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:decrypt', options) + command.request_representation = Google::Apis::CloudkmsV1::DecryptRequest::Representation + command.request_object = decrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1::DecryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::DecryptResponse + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists CryptoKeys. + # @param [String] parent + # Required. The resource name of the KeyRing to list, in the format + # `projects/*/locations/*/keyRings/*`. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListCryptoKeysResponse.next_page_token. + # @param [Fixnum] page_size + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::ListCryptoKeysResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/cryptoKeys', options) + command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeysResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeysResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists CryptoKeyVersions. + # @param [String] parent + # Required. The resource name of the CryptoKey to list, in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListCryptoKeyVersionsResponse.next_page_token. + # @param [Fixnum] page_size + # Optional limit on the number of CryptoKeyVersions to + # include in the response. Further CryptoKeyVersions can + # subsequently be obtained by including the + # ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. + # If unspecified, the server will pick an appropriate default. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/cryptoKeyVersions', options) + command.response_representation = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1::ListCryptoKeyVersionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Create a new CryptoKeyVersion in a CryptoKey. + # The server will assign the next sequential id. If unset, + # state will be set to + # ENABLED. + # @param [String] parent + # Required. The name of the CryptoKey associated with + # the CryptoKeyVersions. + # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+parent}/cryptoKeyVersions', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.request_object = crypto_key_version_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['parent'] = parent unless parent.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Schedule a CryptoKeyVersion for destruction. + # Upon calling this method, CryptoKeyVersion.state will be set to + # DESTROY_SCHEDULED + # and destroy_time will be set to a time 24 + # hours in the future, at which point the state + # will be changed to + # DESTROYED, and the key + # material will be irrevocably destroyed. + # Before the destroy_time is reached, + # RestoreCryptoKeyVersion may be called to reverse the process. + # @param [String] name + # The resource name of the CryptoKeyVersion to destroy. + # @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:destroy', options) + command.request_representation = Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest::Representation + command.request_object = destroy_crypto_key_version_request_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Restore a CryptoKeyVersion in the + # DESTROY_SCHEDULED, + # state. + # Upon restoration of the CryptoKeyVersion, state + # will be set to DISABLED, + # and destroy_time will be cleared. + # @param [String] name + # The resource name of the CryptoKeyVersion to restore. + # @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:restore', options) + command.request_representation = Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest::Representation + command.request_object = restore_crypto_key_version_request_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Update a CryptoKeyVersion's metadata. + # state may be changed between + # ENABLED and + # DISABLED using this + # method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to + # move between other states. + # @param [String] name + # Output only. The resource name for this CryptoKeyVersion in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.request_object = crypto_key_version_object + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKeyVersion to get. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key_crypto_key_version(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/cloudkms_v1beta1.rb b/generated/google/apis/cloudkms_v1beta1.rb new file mode 100644 index 000000000..0c6c5bbea --- /dev/null +++ b/generated/google/apis/cloudkms_v1beta1.rb @@ -0,0 +1,35 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/cloudkms_v1beta1/service.rb' +require 'google/apis/cloudkms_v1beta1/classes.rb' +require 'google/apis/cloudkms_v1beta1/representations.rb' + +module Google + module Apis + # Google Cloud Key Management Service (KMS) API + # + # Manages encryption for your cloud services the same way you do on-premise. You + # can generate, use, rotate, and destroy AES256 encryption keys. + # + # @see https://cloud.google.com/kms/ + module CloudkmsV1beta1 + VERSION = 'V1beta1' + REVISION = '20170301' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/cloudkms_v1beta1/classes.rb b/generated/google/apis/cloudkms_v1beta1/classes.rb new file mode 100644 index 000000000..813c84a4d --- /dev/null +++ b/generated/google/apis/cloudkms_v1beta1/classes.rb @@ -0,0 +1,1039 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1beta1 + + # Write a Cloud Audit log + class CloudAuditOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # Request message for KeyManagementService.Encrypt. + class EncryptRequest + include Google::Apis::Core::Hashable + + # Optional data that, if specified, must also be provided during decryption + # through DecryptRequest.additional_authenticated_data. Must be no + # larger than 64KiB. + # Corresponds to the JSON property `additionalAuthenticatedData` + # @return [String] + attr_accessor :additional_authenticated_data + + # Required. The data to encrypt. Must be no larger than 64KiB. + # Corresponds to the JSON property `plaintext` + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Response message for KeyManagementService.ListCryptoKeyVersions. + class ListCryptoKeyVersionsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeyVersionsRequest.page_token to retrieve the next page of + # results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of CryptoKeyVersions that matched the + # query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of CryptoKeyVersions. + # Corresponds to the JSON property `cryptoKeyVersions` + # @return [Array] + attr_accessor :crypto_key_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + @crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request message for KeyManagementService.DestroyCryptoKeyVersion. + class DestroyCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A CryptoKey represents a logical key that can be used for cryptographic + # operations. + # A CryptoKey is made up of one or more versions, which + # represent the actual key material used in cryptographic operations. + class CryptoKey + include Google::Apis::Core::Hashable + + # Output only. The time at which this CryptoKey was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # next_rotation_time will be advanced by this period when the service + # automatically rotates a key. Must be at least one day. + # If rotation_period is set, next_rotation_time must also be set. + # Corresponds to the JSON property `rotationPeriod` + # @return [String] + attr_accessor :rotation_period + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + attr_accessor :primary + + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The immutable purpose of this CryptoKey. Currently, the only acceptable + # purpose is ENCRYPT_DECRYPT. + # Corresponds to the JSON property `purpose` + # @return [String] + attr_accessor :purpose + + # At next_rotation_time, the Key Management Service will automatically: + # 1. Create a new version of this CryptoKey. + # 2. Mark the new version as primary. + # Key rotations performed manually via + # CreateCryptoKeyVersion and + # UpdateCryptoKeyPrimaryVersion + # do not affect next_rotation_time. + # Corresponds to the JSON property `nextRotationTime` + # @return [String] + attr_accessor :next_rotation_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @rotation_period = args[:rotation_period] if args.key?(:rotation_period) + @primary = args[:primary] if args.key?(:primary) + @name = args[:name] if args.key?(:name) + @purpose = args[:purpose] if args.key?(:purpose) + @next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time) + end + end + + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # A permission is a string of form '..' + # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, + # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # If one or more 'not_in' clauses are specified, the rule matches + # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # The format for in and not_in entries is the same as for members in a + # Binding (see google/iam/v1/policy.proto). + # Corresponds to the JSON property `notIn` + # @return [Array] + attr_accessor :not_in + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfig` + # @return [Array] + attr_accessor :log_config + + # If one or more 'in' clauses are specified, the rule matches if + # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `in` + # @return [Array] + attr_accessor :in + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + @action = args[:action] if args.key?(:action) + @not_in = args[:not_in] if args.key?(:not_in) + @description = args[:description] if args.key?(:description) + @conditions = args[:conditions] if args.key?(:conditions) + @log_config = args[:log_config] if args.key?(:log_config) + @in = args[:in] if args.key?(:in) + end + end + + # 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 + class LogConfig + include Google::Apis::Core::Hashable + + # Write a Data Access (Gin) log + # Corresponds to the JSON property `dataAccess` + # @return [Google::Apis::CloudkmsV1beta1::DataAccessOptions] + attr_accessor :data_access + + # Write a Cloud Audit log + # Corresponds to the JSON property `cloudAudit` + # @return [Google::Apis::CloudkmsV1beta1::CloudAuditOptions] + attr_accessor :cloud_audit + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::CloudkmsV1beta1::CounterOptions] + attr_accessor :counter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_access = args[:data_access] if args.key?(:data_access) + @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) + @counter = args[:counter] if args.key?(:counter) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudkmsV1beta1::Policy] + attr_accessor :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: + # paths: "bindings, etag" + # This field is only used by Cloud IAM. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # Request message for KeyManagementService.Decrypt. + class DecryptRequest + include Google::Apis::Core::Hashable + + # Required. The encrypted data originally returned in + # EncryptResponse.ciphertext. + # Corresponds to the JSON property `ciphertext` + # @return [String] + attr_accessor :ciphertext + + # Optional data that must match the data originally supplied in + # EncryptRequest.additional_authenticated_data. + # Corresponds to the JSON property `additionalAuthenticatedData` + # @return [String] + attr_accessor :additional_authenticated_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data) + end + end + + # A resource that represents Google Cloud Platform location. + class Location + include Google::Apis::Core::Hashable + + # Resource name for the location, which may vary between implementations. + # For example: `"projects/example-project/locations/us-east1"` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The canonical id for this location. For example: `"us-east1"`. + # Corresponds to the JSON property `locationId` + # @return [String] + attr_accessor :location_id + + # Service-specific metadata. For example the available capacity at the given + # location. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Cross-service attributes for the location. For example + # `"cloud.googleapis.com/region": "us-east1"` + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @location_id = args[:location_id] if args.key?(:location_id) + @metadata = args[:metadata] if args.key?(:metadata) + @labels = args[:labels] if args.key?(:labels) + end + end + + # Response message for KeyManagementService.ListCryptoKeys. + class ListCryptoKeysResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListCryptoKeysRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of CryptoKeys. + # Corresponds to the JSON property `cryptoKeys` + # @return [Array] + attr_accessor :crypto_keys + + # The total number of CryptoKeys that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @crypto_keys = args[:crypto_keys] if args.key?(:crypto_keys) + @total_size = args[:total_size] if args.key?(:total_size) + end + end + + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # Trusted attributes supplied by any service that owns resources and uses + # the IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + end + end + + # Options for counters + class CounterOptions + include Google::Apis::Core::Hashable + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @field = args[:field] if args.key?(:field) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # Response message for KeyManagementService.Decrypt. + class DecryptResponse + include Google::Apis::Core::Hashable + + # The decrypted data originally supplied in EncryptRequest.plaintext. + # Corresponds to the JSON property `plaintext` + # @return [String] + attr_accessor :plaintext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @plaintext = args[:plaintext] if args.key?(:plaintext) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # A KeyRing is a toplevel logical grouping of CryptoKeys. + class KeyRing + include Google::Apis::Core::Hashable + + # Output only. The time at which this KeyRing was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. The resource name for the KeyRing in the format + # `projects/*/locations/*/keyRings/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + end + end + + # Response message for KeyManagementService.Encrypt. + class EncryptResponse + include Google::Apis::Core::Hashable + + # The resource name of the CryptoKeyVersion used in encryption. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The encrypted data. + # Corresponds to the JSON property `ciphertext` + # @return [String] + attr_accessor :ciphertext + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @ciphertext = args[:ciphertext] if args.key?(:ciphertext) + end + end + + # The response message for Locations.ListLocations. + class ListLocationsResponse + include Google::Apis::Core::Hashable + + # A list of locations that matches the specified filter in the request. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @locations = args[:locations] if args.key?(:locations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: + # - All matching LOG rules are always applied. + # - If any DENY/DENY_WITH_LOG rule matches, permission is denied. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is + # granted. + # Logging will be applied if one or more matching rule requires logging. + # - Otherwise, if no rule applies, permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + + # Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion. + class UpdateCryptoKeyPrimaryVersionRequest + include Google::Apis::Core::Hashable + + # The id of the child CryptoKeyVersion to use as primary. + # Corresponds to the JSON property `cryptoKeyVersionId` + # @return [String] + attr_accessor :crypto_key_version_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @crypto_key_version_id = args[:crypto_key_version_id] if args.key?(:crypto_key_version_id) + end + end + + # Request message for KeyManagementService.RestoreCryptoKeyVersion. + class RestoreCryptoKeyVersionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Write a Data Access (Gin) log + class DataAccessOptions + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response message for KeyManagementService.ListKeyRings. + class ListKeyRingsResponse + include Google::Apis::Core::Hashable + + # A token to retrieve next page of results. Pass this value in + # ListKeyRingsRequest.page_token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The total number of KeyRings that matched the query. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of KeyRings. + # Corresponds to the JSON property `keyRings` + # @return [Array] + attr_accessor :key_rings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + @key_rings = args[:key_rings] if args.key?(:key_rings) + end + end + + # 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. + # 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 + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # Specifies a service that will be enabled for audit logging. + # For example, `resourcemanager`, `storage`, `compute`. + # `allServices` is a special value that covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # A CryptoKeyVersion represents an individual cryptographic key, and the + # associated key material. + # It can be used for cryptographic operations either directly, or via its + # parent CryptoKey, in which case the server will choose the appropriate + # version for the operation. + class CryptoKeyVersion + include Google::Apis::Core::Hashable + + # The current state of the CryptoKeyVersion. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. The resource name for this CryptoKeyVersion in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. The time this CryptoKeyVersion's key material was + # destroyed. Only present if state is + # DESTROYED. + # Corresponds to the JSON property `destroyEventTime` + # @return [String] + attr_accessor :destroy_event_time + + # Output only. The time this CryptoKeyVersion's key material is scheduled + # for destruction. Only present if state is + # DESTROY_SCHEDULED. + # Corresponds to the JSON property `destroyTime` + # @return [String] + attr_accessor :destroy_time + + # Output only. The time at which this CryptoKeyVersion was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state = args[:state] if args.key?(:state) + @name = args[:name] if args.key?(:name) + @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time) + @destroy_time = args[:destroy_time] if args.key?(:destroy_time) + @create_time = args[:create_time] if args.key?(:create_time) + end + end + end + end +end diff --git a/generated/google/apis/cloudkms_v1beta1/representations.rb b/generated/google/apis/cloudkms_v1beta1/representations.rb new file mode 100644 index 000000000..b182eab74 --- /dev/null +++ b/generated/google/apis/cloudkms_v1beta1/representations.rb @@ -0,0 +1,448 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1beta1 + + class CloudAuditOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCryptoKeyVersionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DestroyCryptoKeyVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CryptoKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DecryptRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCryptoKeysResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DecryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLocationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateCryptoKeyPrimaryVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RestoreCryptoKeyVersionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataAccessOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListKeyRingsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CryptoKeyVersion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CloudAuditOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class EncryptRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + property :plaintext, :base64 => true, as: 'plaintext' + end + end + + class ListCryptoKeyVersionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :crypto_key_versions, as: 'cryptoKeyVersions', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class DestroyCryptoKeyVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class CryptoKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :rotation_period, as: 'rotationPeriod' + property :primary, as: 'primary', class: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion, decorator: Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + + property :name, as: 'name' + property :purpose, as: 'purpose' + property :next_rotation_time, as: 'nextRotationTime' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + property :action, as: 'action' + collection :not_in, as: 'notIn' + property :description, as: 'description' + collection :conditions, as: 'conditions', class: Google::Apis::CloudkmsV1beta1::Condition, decorator: Google::Apis::CloudkmsV1beta1::Condition::Representation + + collection :log_config, as: 'logConfig', class: Google::Apis::CloudkmsV1beta1::LogConfig, decorator: Google::Apis::CloudkmsV1beta1::LogConfig::Representation + + collection :in, as: 'in' + end + end + + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_access, as: 'dataAccess', class: Google::Apis::CloudkmsV1beta1::DataAccessOptions, decorator: Google::Apis::CloudkmsV1beta1::DataAccessOptions::Representation + + property :cloud_audit, as: 'cloudAudit', class: Google::Apis::CloudkmsV1beta1::CloudAuditOptions, decorator: Google::Apis::CloudkmsV1beta1::CloudAuditOptions::Representation + + property :counter, as: 'counter', class: Google::Apis::CloudkmsV1beta1::CounterOptions, decorator: Google::Apis::CloudkmsV1beta1::CounterOptions::Representation + + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::CloudkmsV1beta1::Policy, decorator: Google::Apis::CloudkmsV1beta1::Policy::Representation + + property :update_mask, as: 'updateMask' + end + end + + class DecryptRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ciphertext, :base64 => true, as: 'ciphertext' + property :additional_authenticated_data, :base64 => true, as: 'additionalAuthenticatedData' + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :location_id, as: 'locationId' + hash :metadata, as: 'metadata' + hash :labels, as: 'labels' + end + end + + class ListCryptoKeysResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :crypto_keys, as: 'cryptoKeys', class: Google::Apis::CloudkmsV1beta1::CryptoKey, decorator: Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + + property :total_size, as: 'totalSize' + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + end + end + + class CounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + property :field, as: 'field' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class DecryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :plaintext, :base64 => true, as: 'plaintext' + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class KeyRing + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + end + end + + class EncryptResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :ciphertext, :base64 => true, as: 'ciphertext' + end + end + + class ListLocationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :locations, as: 'locations', class: Google::Apis::CloudkmsV1beta1::Location, decorator: Google::Apis::CloudkmsV1beta1::Location::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudkmsV1beta1::AuditConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudkmsV1beta1::Binding, decorator: Google::Apis::CloudkmsV1beta1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::CloudkmsV1beta1::Rule, decorator: Google::Apis::CloudkmsV1beta1::Rule::Representation + + property :version, as: 'version' + end + end + + class UpdateCryptoKeyPrimaryVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :crypto_key_version_id, as: 'cryptoKeyVersionId' + end + end + + class RestoreCryptoKeyVersionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class DataAccessOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class ListKeyRingsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :key_rings, as: 'keyRings', class: Google::Apis::CloudkmsV1beta1::KeyRing, decorator: Google::Apis::CloudkmsV1beta1::KeyRing::Representation + + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudkmsV1beta1::AuditLogConfig, decorator: Google::Apis::CloudkmsV1beta1::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class CryptoKeyVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + property :name, as: 'name' + property :destroy_event_time, as: 'destroyEventTime' + property :destroy_time, as: 'destroyTime' + property :create_time, as: 'createTime' + end + end + end + end +end diff --git a/generated/google/apis/cloudkms_v1beta1/service.rb b/generated/google/apis/cloudkms_v1beta1/service.rb new file mode 100644 index 000000000..1730913c4 --- /dev/null +++ b/generated/google/apis/cloudkms_v1beta1/service.rb @@ -0,0 +1,933 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module CloudkmsV1beta1 + # Google Cloud Key Management Service (KMS) API + # + # Manages encryption for your cloud services the same way you do on-premise. You + # can generate, use, rotate, and destroy AES256 encryption keys. + # + # @example + # require 'google/apis/cloudkms_v1beta1' + # + # Cloudkms = Google::Apis::CloudkmsV1beta1 # Alias the module + # service = Cloudkms::CloudKMSService.new + # + # @see https://cloud.google.com/kms/ + class CloudKMSService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://cloudkms.googleapis.com/', '') + end + + # Lists information about the supported locations for this service. + # @param [String] name + # The resource that owns the locations collection, if applicable. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::ListLocationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::ListLocationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_locations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}/locations', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::ListLocationsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::ListLocationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get information about a location. + # @param [String] name + # Resource name for the location. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::Location] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::Location] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::Location::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::Location + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists KeyRings. + # @param [String] parent + # Required. The resource name of the location associated with the + # KeyRings, in the format `projects/*/locations/*`. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListKeyRingsResponse.next_page_token. + # @param [Fixnum] page_size + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::ListKeyRingsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::ListKeyRingsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_rings(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/keyRings', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::ListKeyRingsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::ListKeyRingsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a new KeyRing in a given Project and Location. + # @param [String] parent + # Required. The resource name of the location associated with the + # KeyRings, in the format `projects/*/locations/*`. + # @param [Google::Apis::CloudkmsV1beta1::KeyRing] key_ring_object + # @param [String] key_ring_id + # Required. It must be unique within a location and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::KeyRing] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring(parent, key_ring_object = nil, key_ring_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/keyRings', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::KeyRing::Representation + command.request_object = key_ring_object + command.response_representation = Google::Apis::CloudkmsV1beta1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::KeyRing + command.params['parent'] = parent unless parent.nil? + command.query['keyRingId'] = key_ring_id unless key_ring_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1beta1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_key_ring_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given KeyRing. + # @param [String] name + # The name of the KeyRing to get. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::KeyRing] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::KeyRing] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::KeyRing::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::KeyRing + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_key_ring_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update the version of a CryptoKey that will be used in Encrypt + # @param [String] name + # The resource name of the CryptoKey to update. + # @param [Google::Apis::CloudkmsV1beta1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_location_key_ring_crypto_key_primary_version(name, update_crypto_key_primary_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:updatePrimaryVersion', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::UpdateCryptoKeyPrimaryVersionRequest::Representation + command.request_object = update_crypto_key_primary_version_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given CryptoKey, as well as its + # primary CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKey to get. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update a CryptoKey. + # @param [String] name + # Output only. The resource name for this CryptoKey in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # @param [Google::Apis::CloudkmsV1beta1::CryptoKey] crypto_key_object + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_key_ring_crypto_key(name, crypto_key_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.request_object = crypto_key_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKey + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_crypto_key_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Decrypt data that was protected by Encrypt. + # @param [String] name + # Required. The resource name of the CryptoKey to use for decryption. + # The server will choose the appropriate version. + # @param [Google::Apis::CloudkmsV1beta1::DecryptRequest] decrypt_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::DecryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::DecryptResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def decrypt_crypto_key(name, decrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:decrypt', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::DecryptRequest::Representation + command.request_object = decrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::DecryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::DecryptResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists CryptoKeys. + # @param [String] parent + # Required. The resource name of the KeyRing to list, in the format + # `projects/*/locations/*/keyRings/*`. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListCryptoKeysResponse.next_page_token. + # @param [Fixnum] page_size + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::ListCryptoKeysResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::ListCryptoKeysResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_ring_crypto_keys(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/cryptoKeys', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::ListCryptoKeysResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::ListCryptoKeysResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Encrypt data, so that it can only be recovered by a call to Decrypt. + # @param [String] name + # Required. The resource name of the CryptoKey or CryptoKeyVersion + # to use for encryption. + # If a CryptoKey is specified, the server will use its + # primary version. + # @param [Google::Apis::CloudkmsV1beta1::EncryptRequest] encrypt_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::EncryptResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::EncryptResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def encrypt_crypto_key(name, encrypt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:encrypt', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::EncryptRequest::Representation + command.request_object = encrypt_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::EncryptResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::EncryptResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a new CryptoKey within a KeyRing. + # CryptoKey.purpose is required. + # @param [String] parent + # Required. The name of the KeyRing associated with the + # CryptoKeys. + # @param [Google::Apis::CloudkmsV1beta1::CryptoKey] crypto_key_object + # @param [String] crypto_key_id + # Required. It must be unique within a KeyRing and match the regular + # expression `[a-zA-Z0-9_-]`1,63`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring_crypto_key(parent, crypto_key_object = nil, crypto_key_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/cryptoKeys', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.request_object = crypto_key_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKey::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKey + command.params['parent'] = parent unless parent.nil? + command.query['cryptoKeyId'] = crypto_key_id unless crypto_key_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudkmsV1beta1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_crypto_key_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update a CryptoKeyVersion's metadata. + # state may be changed between + # ENABLED and + # DISABLED using this + # method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to + # move between other states. + # @param [String] name + # Output only. The resource name for this CryptoKeyVersion in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. + # @param [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] crypto_key_version_object + # @param [String] update_mask + # Required list of fields to be updated in this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_key_ring_crypto_key_crypto_key_version(name, crypto_key_version_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.request_object = crypto_key_version_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns metadata for a given CryptoKeyVersion. + # @param [String] name + # The name of the CryptoKeyVersion to get. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_key_ring_crypto_key_crypto_key_version(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists CryptoKeyVersions. + # @param [String] parent + # Required. The resource name of the CryptoKey to list, in the format + # `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + # @param [Fixnum] page_size + # Optional limit on the number of CryptoKeyVersions to + # include in the response. Further CryptoKeyVersions can + # subsequently be obtained by including the + # ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. + # If unspecified, the server will pick an appropriate default. + # @param [String] page_token + # Optional pagination token, returned earlier via + # ListCryptoKeyVersionsResponse.next_page_token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::ListCryptoKeyVersionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::ListCryptoKeyVersionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_key_ring_crypto_key_crypto_key_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/cryptoKeyVersions', options) + command.response_representation = Google::Apis::CloudkmsV1beta1::ListCryptoKeyVersionsResponse::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::ListCryptoKeyVersionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a new CryptoKeyVersion in a CryptoKey. + # The server will assign the next sequential id. If unset, + # state will be set to + # ENABLED. + # @param [String] parent + # Required. The name of the CryptoKey associated with + # the CryptoKeyVersions. + # @param [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] crypto_key_version_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_key_ring_crypto_key_crypto_key_version(parent, crypto_key_version_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/cryptoKeyVersions', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.request_object = crypto_key_version_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Schedule a CryptoKeyVersion for destruction. + # Upon calling this method, CryptoKeyVersion.state will be set to + # DESTROY_SCHEDULED + # and destroy_time will be set to a time 24 + # hours in the future, at which point the state + # will be changed to + # DESTROYED, and the key + # material will be irrevocably destroyed. + # Before the destroy_time is reached, + # RestoreCryptoKeyVersion may be called to reverse the process. + # @param [String] name + # The resource name of the CryptoKeyVersion to destroy. + # @param [Google::Apis::CloudkmsV1beta1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def destroy_crypto_key_version(name, destroy_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:destroy', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::DestroyCryptoKeyVersionRequest::Representation + command.request_object = destroy_crypto_key_version_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Restore a CryptoKeyVersion in the + # DESTROY_SCHEDULED, + # state. + # Upon restoration of the CryptoKeyVersion, state + # will be set to DISABLED, + # and destroy_time will be cleared. + # @param [String] name + # The resource name of the CryptoKeyVersion to restore. + # @param [Google::Apis::CloudkmsV1beta1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudkmsV1beta1::CryptoKeyVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def restore_crypto_key_version(name, restore_crypto_key_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:restore', options) + command.request_representation = Google::Apis::CloudkmsV1beta1::RestoreCryptoKeyVersionRequest::Representation + command.request_object = restore_crypto_key_version_request_object + command.response_representation = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion::Representation + command.response_class = Google::Apis::CloudkmsV1beta1::CryptoKeyVersion + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/cloudmonitoring_v2beta2.rb b/generated/google/apis/cloudmonitoring_v2beta2.rb index 89e895fb1..0044e906f 100644 --- a/generated/google/apis/cloudmonitoring_v2beta2.rb +++ b/generated/google/apis/cloudmonitoring_v2beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/monitoring/v2beta2/ module CloudmonitoringV2beta2 VERSION = 'V2beta2' - REVISION = '20160718' + REVISION = '20170323' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudresourcemanager_v1.rb b/generated/google/apis/cloudresourcemanager_v1.rb index bdbf5a500..ead620e2f 100644 --- a/generated/google/apis/cloudresourcemanager_v1.rb +++ b/generated/google/apis/cloudresourcemanager_v1.rb @@ -26,13 +26,13 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1 VERSION = 'V1' - REVISION = '20160617' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + REVISION = '20170324' # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/classes.rb b/generated/google/apis/cloudresourcemanager_v1/classes.rb index b01f7a180..d4b79a244 100644 --- a/generated/google/apis/cloudresourcemanager_v1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1/classes.rb @@ -22,60 +22,17 @@ module Google module Apis module CloudresourcemanagerV1 - # A Project is a high-level Google Cloud Platform entity. It is a container for - # ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. - class Project + # Identifying information for a single ancestor of a project. + class Ancestor include Google::Apis::Core::Hashable - # The number uniquely identifying the project. Example: 415104041262 Read-only. - # Corresponds to the JSON property `projectNumber` - # @return [String] - attr_accessor :project_number - - # The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase - # letters, digits, or hyphens. It must start with a letter. Trailing hyphens are - # prohibited. Example: tokyo-rain-123 Read-only after creation. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The Project lifecycle state. Read-only. - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - # The user-assigned display name of the Project. It must be 4 to 30 characters. - # Allowed characters are: lowercase and uppercase letters, numbers, hyphen, - # single-quote, double-quote, space, and exclamation point. Example: My Project - # Read-write. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Creation time. Read-only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The labels associated with this Project. Label keys must be between 1 and 63 - # characters long and must conform to the following regular expression: \[a-z\](\ - # [-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long - # and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. - # No more than 256 labels can be associated with a given resource. Clients - # should store labels in a representation such as JSON that does not depend on - # specific characters being disallowed. Example: "environment" : "dev" Read- - # write. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - # A container to reference an id for any resource type. A `resource` in Google # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an AppEngine app, a - # Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `parent` + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `resourceId` # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] - attr_accessor :parent + attr_accessor :resource_id def initialize(**args) update!(**args) @@ -83,31 +40,634 @@ module Google # Update properties of this object def update!(**args) - @project_number = args[:project_number] if args.key?(:project_number) - @project_id = args[:project_id] if args.key?(:project_id) + @resource_id = args[:resource_id] if args.key?(:resource_id) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Optional. The Google Cloud Console will try to default to a configuration + # that matches the value specified in this `Constraint`. + # Corresponds to the JSON property `suggestedValue` + # @return [String] + attr_accessor :suggested_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + end + end + + # The request sent to the SetOrgPolicyRequest method. + class SetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + attr_accessor :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. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The root node in the resource hierarchy to which a particular entity's + # (e.g., company) resources belong. + class Organization + include Google::Apis::Core::Hashable + + # Timestamp when the Organization was created. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will + # be deleted. + # Corresponds to the JSON property `owner` + # @return [Google::Apis::CloudresourcemanagerV1::OrganizationOwner] + attr_accessor :owner + + # The organization's current lifecycle state. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # Output Only. The resource name of the organization. This is the + # organization's relative path in the API. Its format is + # "organizations/[organization_id]". For example, "organizations/1234". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A friendly string to be used to refer to the Organization in the UI. + # Assigned by the server, set to the primary domain of the G Suite + # customer that owns the organization. + # @OutputOnly + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @owner = args[:owner] if args.key?(:owner) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) - @create_time = args[:create_time] if args.key?(:create_time) - @labels = args[:labels] if args.key?(:labels) - @parent = args[:parent] if args.key?(:parent) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Page token used to retrieve the next page. This is currently not used. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The collection of constraints that are settable on the request resource. + # Corresponds to the JSON property `constraints` + # @return [Array] + attr_accessor :constraints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @constraints = args[:constraints] if args.key?(:constraints) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `allowedValues` + # @return [Array] + attr_accessor :allowed_values + + # 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`. + # Corresponds to the JSON property `suggestedValue` + # @return [String] + attr_accessor :suggested_value + + # 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`. + # Corresponds to the JSON property `inheritFromParent` + # @return [Boolean] + attr_accessor :inherit_from_parent + alias_method :inherit_from_parent?, :inherit_from_parent + + # 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`. + # Corresponds to the JSON property `deniedValues` + # @return [Array] + attr_accessor :denied_values + + # The policy all_values state. + # Corresponds to the JSON property `allValues` + # @return [String] + attr_accessor :all_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allowed_values = args[:allowed_values] if args.key?(:allowed_values) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + @inherit_from_parent = args[:inherit_from_parent] if args.key?(:inherit_from_parent) + @denied_values = args[:denied_values] if args.key?(:denied_values) + @all_values = args[:all_values] if args.key?(:all_values) + end + end + + # Response from the GetAncestry method. + class GetAncestryResponse + include Google::Apis::Core::Hashable + + # Ancestors are ordered from bottom to top of the resource hierarchy. The + # first ancestor is the project itself, followed by the project's parent, + # etc. + # Corresponds to the JSON property `ancestor` + # @return [Array] + attr_accessor :ancestor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ancestor = args[:ancestor] if args.key?(:ancestor) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # The request sent to the `SearchOrganizations` method. + class SearchOrganizationsRequest + include Google::Apis::Core::Hashable + + # A pagination token returned from a previous call to `SearchOrganizations` + # that indicates from where listing should continue. + # This field is optional. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of Organizations to return in the response. + # This field is optional. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # An optional query string used to filter the Organizations to return in + # the response. Filter rules are case-insensitive. + # Organizations may be filtered by `owner.directoryCustomerId` or by + # `domain`, where the domain is a Google for Work domain, for example: + # |Filter|Description| + # |------|-----------| + # |owner.directorycustomerid:123456789|Organizations with + # `owner.directory_customer_id` equal to `123456789`.| + # |domain:google.com|Organizations corresponding to the domain `google.com`.| + # This field is optional. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @filter = args[:filter] if args.key?(:filter) + end + end + + # The request sent to the + # GetAncestry + # method. + class GetAncestryRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Metadata describing a long running folder operation + class FolderOperation + include Google::Apis::Core::Hashable + + # The type of this operation. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the folder's parent. + # Only applicable when the operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent + + # The resource name of the folder or organization we are either creating + # the folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` + # @return [String] + attr_accessor :destination_parent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @display_name = args[:display_name] if args.key?(:display_name) + @source_parent = args[:source_parent] if args.key?(:source_parent) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # The request sent to the [ListAvailableOrgPolicyConstraints] + # google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method. + class ListAvailableOrgPolicyConstraintsRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # 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. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) end end # A container to reference an id for any resource type. A `resource` in Google # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an AppEngine app, a - # Compute Engine instance, a Cloud SQL database, and so on. + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. class ResourceId include Google::Apis::Core::Hashable - # Required field representing the resource type this id is for. At present, the - # only valid type is "organization". + # Required field representing the resource type this id is for. + # At present, the valid types are: "organization" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # Required field for the type-specific id. This should correspond to the id used - # in the type-specific API's. + # Required field for the type-specific id. This should correspond to the id + # used in the type-specific API's. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -123,44 +683,449 @@ module Google end end - # A page of the response received from the ListProjects method. A paginated - # response where more pages are available has `next_page_token` set. This token - # can be used in a subsequent request to retrieve the next request page. - class ListProjectsResponse + # The request sent to the GetEffectiveOrgPolicy method. + class GetEffectiveOrgPolicyRequest include Google::Apis::Core::Hashable - # The list of Projects that matched the list filter. This list can be paginated. - # Corresponds to the JSON property `projects` - # @return [Array] - attr_accessor :projects + # The name of the `Constraint` to compute the effective `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint - # Pagination token. If the result set is too large to fit in a single response, - # this token is returned. It encodes the position of the current result cursor. - # Feeding this value into a new list request with the `page_token` parameter - # gives the next page of the results. When `next_page_token` is not filled in, - # there is no next page and the list returned is the last page in the result set. - # Pagination tokens have a limited lifetime. + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # The request sent to the ListOrgPolicies method. + class ListOrgPoliciesRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # 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. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # 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`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # 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`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::CloudresourcemanagerV1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # The response message for Liens.ListLiens. + class ListLiensResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # A list of Liens. + # Corresponds to the JSON property `liens` + # @return [Array] + attr_accessor :liens + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @projects = args[:projects] if args.key?(:projects) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @liens = args[:liens] if args.key?(:liens) end end - # 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 + # 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 + include Google::Apis::Core::Hashable + + # Version of the `Constraint`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # A `Constraint` that allows or disallows a list of string values, which are + # configured by an Organization's policy administrator with a `Policy`. + # Corresponds to the JSON property `listConstraint` + # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint] + attr_accessor :list_constraint + + # The human readable name. + # Mutable. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Detailed description of what this `Constraint` controls as well as how and + # where it is enforced. + # Mutable. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # 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. + # Corresponds to the JSON property `booleanConstraint` + # @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint] + attr_accessor :boolean_constraint + + # The evaluation behavior of this constraint in the absense of 'Policy'. + # Corresponds to the JSON property `constraintDefault` + # @return [String] + attr_accessor :constraint_default + + # Immutable value, required to globally be unique. For example, + # `constraints/serviceuser.services` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + @list_constraint = args[:list_constraint] if args.key?(:list_constraint) + @display_name = args[:display_name] if args.key?(:display_name) + @description = args[:description] if args.key?(:description) + @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint) + @constraint_default = args[:constraint_default] if args.key?(:constraint_default) + @name = args[:name] if args.key?(:name) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # 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 include Google::Apis::Core::Hashable def initialize(**args) @@ -172,7 +1137,53 @@ module Google end end - # The request sent to the UndeleteProject method. + # The request sent to the GetOrgPolicy method. + class GetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Name of the `Constraint` to get the `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # The request sent to the ClearOrgPolicy method. + class ClearOrgPolicyRequest + include Google::Apis::Core::Hashable + + # The current version, for concurrency control. Not sending an `etag` + # will cause the `Policy` to be cleared blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Name of the `Constraint` of the `Policy` to clear. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # The request sent to the UndeleteProject + # method. class UndeleteProjectRequest include Google::Apis::Core::Hashable @@ -185,6 +1196,79 @@ module Google end end + # A status object which is used as the `metadata` field for the Operation + # returned by CreateProject. It provides insight for when significant phases of + # Project creation have completed. + class ProjectCreationStatus + include Google::Apis::Core::Hashable + + # True if the project creation process is complete. + # Corresponds to the JSON property `ready` + # @return [Boolean] + attr_accessor :ready + alias_method :ready?, :ready + + # Creation time of the project creation workflow. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # True if the project can be retrieved using GetProject. No other operations + # on the project are guaranteed to work until the project creation is + # complete. + # Corresponds to the JSON property `gettable` + # @return [Boolean] + attr_accessor :gettable + alias_method :gettable?, :gettable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ready = args[:ready] if args.key?(:ready) + @create_time = args[:create_time] if args.key?(:create_time) + @gettable = args[:gettable] if args.key?(:gettable) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # Request message for `GetIamPolicy` method. class GetIamPolicyRequest include Google::Apis::Core::Hashable @@ -198,42 +1282,17 @@ module Google end end - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - class Policy + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will + # be deleted. + class OrganizationOwner include Google::Apis::Core::Hashable - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. Multiple `bindings` must not be - # specified for the same `role`. `bindings` with no members will result in an - # error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `etag` is used for optimistic concurrency control as a way to help prevent - # simultaneous updates of a policy from overwriting each other. It is strongly - # suggested that systems make use of the `etag` in the read-modify-write cycle - # to perform policy updates in order to avoid race conditions: An `etag` is - # returned in the response to `getIamPolicy`, and systems are expected to put - # that etag in the request to `setIamPolicy` to ensure that their change will be - # applied to the same version of the policy. If no `etag` is provided in the - # call to `setIamPolicy`, then the existing policy is overwritten blindly. - # Corresponds to the JSON property `etag` + # The Google for Work customer id used in the Directory API. + # Corresponds to the JSON property `directoryCustomerId` # @return [String] - attr_accessor :etag + attr_accessor :directory_customer_id def initialize(**args) update!(**args) @@ -241,37 +1300,36 @@ module Google # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) + @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id) end end - # Associates `members` with a `role`. - class Binding + # A page of the response received from the + # ListProjects + # method. + # A paginated response where more pages are available has + # `next_page_token` set. This token can be used in a subsequent request to + # retrieve the next request page. + class ListProjectsResponse include Google::Apis::Core::Hashable - # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` - # , or `roles/owner`. Required - # Corresponds to the JSON property `role` + # Pagination token. + # If the result set is too large to fit in a single response, this token + # is returned. It encodes the position of the current result cursor. + # Feeding this value into a new list request with the `page_token` parameter + # gives the next page of the results. + # When `next_page_token` is not filled in, there is no next page and + # the list returned is the last page in the result set. + # Pagination tokens have a limited lifetime. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :role + attr_accessor :next_page_token - # Specifies the identities requesting access for a Cloud Platform resource. ` - # members` can have the following values: * `allUsers`: A special identifier - # that represents anyone who is on the internet; with or without a Google - # account. * `allAuthenticatedUsers`: A special identifier that represents - # anyone who is authenticated with a Google account or a service account. * ` - # user:`emailid``: An email address that represents a specific Google account. - # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:` - # emailid``: An email address that represents a service account. For example, ` - # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email - # address that represents a Google group. For example, `admins@example.com`. * ` - # domain:`domain``: A Google Apps domain name that represents all the users of - # that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members + # The list of Projects that matched the list filter. This list can + # be paginated. + # Corresponds to the JSON property `projects` + # @return [Array] + attr_accessor :projects def initialize(**args) update!(**args) @@ -279,152 +1337,77 @@ module Google # Update properties of this object def update!(**args) - @role = args[:role] if args.key?(:role) - @members = args[:members] if args.key?(:members) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @projects = args[:projects] if args.key?(:projects) end end - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest + # A Project is a high-level Google Cloud Platform entity. It is a + # container for ACLs, APIs, App Engine Apps, VMs, and other + # Google Cloud Platform resources. + class Project include Google::Apis::Core::Hashable - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::CloudresourcemanagerV1::Policy] - attr_accessor :policy + # The Project lifecycle state. + # Read-only. + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state - def initialize(**args) - update!(**args) - end + # The number uniquely identifying the project. + # Example: 415104041262 + # Read-only. + # Corresponds to the JSON property `projectNumber` + # @return [String] + attr_accessor :project_number - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `parent` + # @return [Google::Apis::CloudresourcemanagerV1::ResourceId] + attr_accessor :parent - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable + # The labels associated with this Project. + # Label keys must be between 1 and 63 characters long and must conform + # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + # Label values must be between 0 and 63 characters long and must conform + # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + # No more than 256 labels can be associated with a given resource. + # Clients should store labels in a representation such as JSON that does not + # depend on specific characters being disallowed. + # Example: "environment" : "dev" + # Read-write. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels - # The set of permissions to check for the `resource`. Permissions with wildcards - # (such as '*' or 'storage.*') are not allowed. For more information see IAM - # Overview. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions + # Creation time. + # Read-only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # This resource represents a long-running operation that is the result of a - # network API call. - class Operation - include Google::Apis::Core::Hashable - - # 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`. + # The user-assigned display name of the Project. + # It must be 4 to 30 characters. + # Allowed characters are: lowercase and uppercase letters, numbers, + # hyphen, single-quote, double-quote, space, and exclamation point. + # Example: My Project + # Read-write. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # 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. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # 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. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # 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. - # Corresponds to the JSON property `error` - # @return [Google::Apis::CloudresourcemanagerV1::Status] - attr_accessor :error - - # 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`. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response + # The unique, user-assigned ID of the Project. + # It must be 6 to 30 lowercase letters, digits, or hyphens. + # It must start with a letter. + # Trailing hyphens are prohibited. + # Example: tokyo-rain-123 + # Read-only after creation. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id def initialize(**args) update!(**args) @@ -432,66 +1415,34 @@ module Google # Update properties of this object def update!(**args) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + @project_number = args[:project_number] if args.key?(:project_number) + @parent = args[:parent] if args.key?(:parent) + @labels = args[:labels] if args.key?(:labels) + @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @error = args[:error] if args.key?(:error) - @response = args[:response] if args.key?(:response) + @project_id = args[:project_id] if args.key?(:project_id) end end - # 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 response returned from the `SearchOrganizations` method. + class SearchOrganizationsResponse include Google::Apis::Core::Hashable - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # 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. - # Corresponds to the JSON property `message` + # A pagination token to be used to retrieve the next page of results. If the + # result is too large to fit within the page size specified in the request, + # this field will be set with a token that can be used to fetch the next page + # of results. If this field is empty, it indicates that this response + # contains the last page of results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :message + attr_accessor :next_page_token - # A list of messages that carry the error details. There will be a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details + # The list of Organizations that matched the search query, possibly + # paginated. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations def initialize(**args) update!(**args) @@ -499,9 +1450,266 @@ module Google # Update properties of this object def update!(**args) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @organizations = args[:organizations] if args.key?(:organizations) + end + end + + # The response returned from the ListOrgPolicies method. It will be empty + # if no `Policies` are set on the resource. + class ListOrgPoliciesResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The `Policies` that are set on the resource. It will be empty if no + # `Policies` are set. + # Corresponds to the JSON property `policies` + # @return [Array] + attr_accessor :policies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @policies = args[:policies] if args.key?(:policies) + end + end + + # A classification of the Folder Operation error. + class FolderOperationError + include Google::Apis::Core::Hashable + + # The type of operation error experienced. + # Corresponds to the JSON property `errorMessageId` + # @return [String] + attr_accessor :error_message_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_message_id = args[:error_message_id] if args.key?(:error_message_id) + end + end + + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + class OrgPolicy + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + # Corresponds to the JSON property `booleanPolicy` + # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy] + attr_accessor :boolean_policy + + # The name of the `Constraint` the `Policy` is configuring, for example, + # `constraints/serviceuser.services`. + # Immutable after creation. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + # 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. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Version of the `Policy`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # 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. + # Corresponds to the JSON property `restoreDefault` + # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault] + attr_accessor :restore_default + + # 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. + # Corresponds to the JSON property `listPolicy` + # @return [Google::Apis::CloudresourcemanagerV1::ListPolicy] + attr_accessor :list_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy) + @constraint = args[:constraint] if args.key?(:constraint) + @update_time = args[:update_time] if args.key?(:update_time) + @version = args[:version] if args.key?(:version) + @restore_default = args[:restore_default] if args.key?(:restore_default) + @list_policy = args[:list_policy] if args.key?(:list_policy) + end + end + + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + class BooleanPolicy + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `enforced` + # @return [Boolean] + attr_accessor :enforced + alias_method :enforced?, :enforced + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enforced = args[:enforced] if args.key?(:enforced) + end + end + + # A Lien represents an encumbrance on the actions that can be performed on a + # resource. + class Lien + include Google::Apis::Core::Hashable + + # A reference to the resource this Lien is attached to. The server will + # validate the parent against those for which Liens are supported. + # Example: `projects/1234` + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # The creation time of this Lien. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # A system-generated unique identifier for this Lien. + # Example: `liens/1234abcd` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Concise user-visible strings indicating why an action cannot be performed + # on a resource. Maximum lenth of 200 characters. + # Example: 'Holds production API key' + # Corresponds to the JSON property `reason` + # @return [String] + attr_accessor :reason + + # A stable, user-visible/meaningful string identifying the origin of the + # Lien, intended to be inspected programmatically. Maximum length of 200 + # characters. + # Example: 'compute.googleapis.com' + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # The types of operations which should be blocked as a result of this Lien. + # Each value should correspond to an IAM permission. The server will + # validate the permissions against those for which Liens are supported. + # An empty list is meaningless and will be rejected. + # Example: ['resourcemanager.projects.delete'] + # Corresponds to the JSON property `restrictions` + # @return [Array] + attr_accessor :restrictions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parent = args[:parent] if args.key?(:parent) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @reason = args[:reason] if args.key?(:reason) + @origin = args[:origin] if args.key?(:origin) + @restrictions = args[:restrictions] if args.key?(:restrictions) end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/representations.rb b/generated/google/apis/cloudresourcemanager_v1/representations.rb index c36e73ec0..b6c2f58a2 100644 --- a/generated/google/apis/cloudresourcemanager_v1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1/representations.rb @@ -22,49 +22,19 @@ module Google module Apis module CloudresourcemanagerV1 - class Project + class Ancestor class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ResourceId + class ListConstraint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListProjectsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UndeleteProjectRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Binding + class SetOrgPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,13 +46,97 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Organization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableOrgPolicyConstraintsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetAncestryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchOrganizationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetAncestryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsResponse + class FolderOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableOrgPolicyConstraintsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetEffectiveOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -100,17 +154,261 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListLiensResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Constraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RestoreDefault + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClearOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UndeleteProjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectCreationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrganizationOwner + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListProjectsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Project + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchOrganizationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FolderOperationError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrgPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Lien + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Ancestor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :project_number, as: 'projectNumber' - property :project_id, as: 'projectId' + property :resource_id, as: 'resourceId', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation + + end + end + + class ListConstraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :suggested_value, as: 'suggestedValue' + end + end + + class SetOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation + + property :update_mask, as: 'updateMask' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1::OrganizationOwner::Representation + property :lifecycle_state, as: 'lifecycleState' property :name, as: 'name' - property :create_time, as: 'createTime' - hash :labels, as: 'labels' - property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation + property :display_name, as: 'displayName' + end + end + class ListAvailableOrgPolicyConstraintsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1::Constraint::Representation + + end + end + + class ListPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :allowed_values, as: 'allowedValues' + property :suggested_value, as: 'suggestedValue' + property :inherit_from_parent, as: 'inheritFromParent' + collection :denied_values, as: 'deniedValues' + property :all_values, as: 'allValues' + end + end + + class GetAncestryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1::Ancestor::Representation + + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class SearchOrganizationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + property :filter, as: 'filter' + end + end + + class GetAncestryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class FolderOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_type, as: 'operationType' + property :display_name, as: 'displayName' + property :source_parent, as: 'sourceParent' + property :destination_parent, as: 'destinationParent' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation + + end + end + + class ListAvailableOrgPolicyConstraintsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' end end @@ -122,18 +420,101 @@ module Google end end - class ListProjectsResponse + class GetEffectiveOrgPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation - - property :next_page_token, as: 'nextPageToken' + property :constraint, as: 'constraint' end end - class Empty + class ListOrgPoliciesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1::AuditLogConfig::Representation + + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation + + hash :metadata, as: 'metadata' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end + end + + class ListLiensResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :liens, as: 'liens', class: Google::Apis::CloudresourcemanagerV1::Lien, decorator: Google::Apis::CloudresourcemanagerV1::Lien::Representation + + end + end + + class Constraint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1::ListConstraint::Representation + + property :display_name, as: 'displayName' + property :description, as: 'description' + property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1::BooleanConstraint::Representation + + property :constraint_default, as: 'constraintDefault' + property :name, as: 'name' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class RestoreDefault + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GetOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + end + end + + class ClearOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :constraint, as: 'constraint' end end @@ -143,42 +524,18 @@ module Google end end - class GetIamPolicyRequest + class ProjectCreationStatus # @private class Representation < Google::Apis::Core::JsonRepresentation + property :ready, as: 'ready' + property :create_time, as: 'createTime' + property :gettable, as: 'gettable' end end - class Policy + class BooleanConstraint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1::Binding, decorator: Google::Apis::CloudresourcemanagerV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - collection :members, as: 'members' - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1::Policy, decorator: Google::Apis::CloudresourcemanagerV1::Policy::Representation - - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' end end @@ -189,24 +546,99 @@ module Google end end - class Operation + class GetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :metadata, as: 'metadata' - property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::CloudresourcemanagerV1::Status, decorator: Google::Apis::CloudresourcemanagerV1::Status::Representation - - hash :response, as: 'response' end end - class Status + class OrganizationOwner # @private class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' + property :directory_customer_id, as: 'directoryCustomerId' + end + end + + class ListProjectsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1::Project, decorator: Google::Apis::CloudresourcemanagerV1::Project::Representation + + end + end + + class Project + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lifecycle_state, as: 'lifecycleState' + property :project_number, as: 'projectNumber' + property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1::ResourceId::Representation + + hash :labels, as: 'labels' + property :create_time, as: 'createTime' + property :name, as: 'name' + property :project_id, as: 'projectId' + end + end + + class SearchOrganizationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1::Organization, decorator: Google::Apis::CloudresourcemanagerV1::Organization::Representation + + end + end + + class ListOrgPoliciesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + + end + end + + class FolderOperationError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_message_id, as: 'errorMessageId' + end + end + + class OrgPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1::BooleanPolicy::Representation + + property :constraint, as: 'constraint' + property :update_time, as: 'updateTime' + property :version, as: 'version' + property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1::RestoreDefault::Representation + + property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1::ListPolicy::Representation + + end + end + + class BooleanPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enforced, as: 'enforced' + end + end + + class Lien + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :parent, as: 'parent' + property :create_time, as: 'createTime' + property :name, as: 'name' + property :reason, as: 'reason' + property :origin, as: 'origin' + collection :restrictions, as: 'restrictions' end end end diff --git a/generated/google/apis/cloudresourcemanager_v1/service.rb b/generated/google/apis/cloudresourcemanager_v1/service.rb index c7c8736e8..deaf27280 100644 --- a/generated/google/apis/cloudresourcemanager_v1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1/service.rb @@ -47,204 +47,392 @@ module Google super('https://cloudresourcemanager.googleapis.com/', '') end - # Retrieves the Project identified by the specified `project_id` (for example, ` - # my-project-123`). The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). Required. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] page_token - # A pagination token returned from a previous call to ListProjects that - # indicates from where listing should continue. Optional. - # @param [Fixnum] page_size - # The maximum number of Projects to return in the response. The server can - # return fewer Projects than requested. If unspecified, server picks an - # appropriate default. Optional. - # @param [String] filter - # An expression for filtering the results of the request. Filter rules are case - # insensitive. The fields eligible for filtering are: + `name` + `id` + labels. - # key where *key* is the name of a label Some examples of using labels as - # filters: |Filter|Description| |------|-----------| |name:*|The project has a - # name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL| - # Equivalent to above.| |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 value `red` and its label `size` has the value `big`. Optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_projects(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates the attributes of the Project identified by the specified `project_id` - # (for example, `my-project-123`). The caller must have modify permissions for - # this Project. - # @param [String] project_id - # The project ID (for example, `my-project-123`). Required. - # @param [Google::Apis::CloudresourcemanagerV1::Project] project_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/projects/{projectId}', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Marks the Project identified by the specified `project_id` (for example, `my- - # project-123`) for deletion. This method will only affect the Project if the - # following criteria are met: + The Project does not have a billing account - # associated with it. + The Project has a lifecycle state of ACTIVE. This method - # changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The - # deletion starts at an unspecified time, at which point the Project is no - # longer accessible. Until the deletion completes, you can check the lifecycle - # state checked by retrieving the Project with GetProject, and the Project - # remains visible to ListProjects. However, you cannot update the project. After - # the deletion completes, the Project is not retrievable by the GetProject and - # ListProjects methods. The caller must have modify permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `foo-bar-123`). Required. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Restores the Project identified by the specified `project_id` (for example, ` - # my-project-123`). You can only use this method for a Project that has a - # lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot - # be restored. The caller must have modify permissions for this Project. - # @param [String] project_id - # The project ID (for example, `foo-bar-123`). Required. - # @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation - command.request_object = undelete_project_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns the IAM access control policy for the specified Project. Permission is - # denied if the policy or the resource does not exist. + # 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`. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_folder_org_policy_v1(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_folder_effective_org_policy_v1(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_folder_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_folder_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_folder_org_policy_v1(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the `Policies` set for a particular resource. + # @param [String] resource + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_folder_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists `Constraints` that could be applied on the specified resource. + # @param [String] resource + # Name of the resource to list `Constraints` for. + # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_folder_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation + command.request_object = list_available_org_policy_constraints_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_folder_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_folder_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_folder_org_policy_v1(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists `Constraints` that could be applied on the specified resource. + # @param [String] resource + # Name of the resource to list `Constraints` for. + # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation + command.request_object = list_available_org_policy_constraints_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the IAM access control policy for the specified Project. + # Permission is denied if the policy or the resource does not exist. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -275,35 +463,14 @@ module Google execute_or_queue_command(command, &block) end - # Sets the IAM access control policy for the specified Project. Replaces any - # existing policy. The following constraints apply when using `setIamPolicy()`: + - # Project does not support `allUsers` and `allAuthenticatedUsers` as `members` - # in a `Binding` of a `Policy`. + The owner role can be granted only to `user` - # and `serviceAccount`. + Service accounts can be made owners of a project - # directly without any restrictions. However, to be added as an owner, a user - # must be invited via Cloud Platform console and must accept the invitation. + A - # user cannot be granted the owner role using `setIamPolicy()`. The user must be - # granted the owner role using the Cloud Platform Console and must 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. + Membership changes that leave the project without any owners that - # have accepted the Terms of Service (ToS) will be rejected. + Members cannot be - # added to more than one role in the same policy. + 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 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. + Calling this - # method requires enabling the App Engine Admin API. Note: Removing service - # accounts from policies or changing their roles can render services completely - # inoperable. It is important to understand how the service account is being - # used before removing or updating its roles. + # 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. # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. - # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -313,32 +480,479 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + def get_project_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_org_policy_v1(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Restores the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # You can only use this method for a Project that has a lifecycle state of + # DELETE_REQUESTED. + # After deletion starts, the Project cannot be restored. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `foo-bar-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest] undelete_project_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:undelete', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::UndeleteProjectRequest::Representation + command.request_object = undelete_project_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1::Project] project_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/projects/{projectId}', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_org_policy_v1(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] page_token + # A pagination token returned from a previous call to ListProjects + # that indicates from where listing should continue. + # Optional. + # @param [Fixnum] page_size + # The maximum number of Projects to return in the response. + # The server can return fewer Projects than requested. + # If unspecified, server picks an appropriate default. + # Optional. + # @param [String] filter + # An expression for filtering the results of the request. Filter rules are + # case insensitive. The fields eligible for filtering are: + # + `name` + # + `id` + # + labels.key where *key* is the name of a label + # Some examples of using labels as filters: + # |Filter|Description| + # |------|-----------| + # |name:*|The project has a name.| + # |name:Howl|The project's name is `Howl` or `howl`.| + # |name:HOWL|Equivalent to above.| + # |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 labels.size:big|The project's label `color` has the + # value `red` and its label `size` has the value `big`. + # Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListProjectsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_projects(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListProjectsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_project_org_policy_v1(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # Our SLO permits Project creation to take up to 30 seconds at the 90th + # percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile + # latency. 95th percentile latency is around 11 seconds. We recommend + # polling at the 5th second with an exponential backoff. + # @param [Google::Apis::CloudresourcemanagerV1::Project] project_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Operation::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the `Policies` set for a particular resource. + # @param [String] resource + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of ancestors in the resource hierarchy for the Project + # identified by the specified `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1::GetAncestryRequest] get_ancestry_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::GetAncestryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:getAncestry', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryRequest::Representation + command.request_object = get_ancestry_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::GetAncestryResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Returns permissions that a caller has on the specified Project. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -369,8 +983,813 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_effective_org_policy_v1(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Marks the Project identified by the specified + # `project_id` (for example, `my-project-123`) for deletion. + # This method will only affect the Project if the following criteria are met: + # + The Project does not have a billing account associated with it. + # + The Project has a lifecycle state of + # ACTIVE. + # This method changes the Project's lifecycle state from + # ACTIVE + # to DELETE_REQUESTED. + # The deletion starts at an unspecified time, + # at which point the Project is no longer accessible. + # Until the deletion completes, you can check the lifecycle state + # checked by retrieving the Project with GetProject, + # and the Project remains visible to ListProjects. + # However, you cannot update the project. + # After the deletion completes, the Project is not retrievable by + # the GetProject and + # ListProjects methods. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `foo-bar-123`). + # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_project_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the IAM access control policy for the specified Project. Replaces + # any existing policy. + # The following constraints apply when using `setIamPolicy()`: + # + Project does not support `allUsers` and `allAuthenticatedUsers` as + # `members` in a `Binding` of a `Policy`. + # + The owner role can be granted only to `user` and `serviceAccount`. + # + Service accounts can be made owners of a project directly + # without any restrictions. However, to be added as an owner, a user must be + # invited via Cloud Platform console and must accept the invitation. + # + A user cannot be granted the owner role using `setIamPolicy()`. The user + # must be granted the owner role using the Cloud Platform Console and must + # 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. + # + 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 + # 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. + # + Calling this method requires enabling the App Engine Admin API. + # Note: Removing service accounts from policies or changing their roles + # can render services completely inoperable. It is important to understand + # how the service account is being used before removing or updating its + # roles. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the `Policies` set for a particular resource. + # @param [String] resource + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_org_policies(resource, list_org_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListOrgPoliciesResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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 + # results. + # @param [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest] search_organizations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_organizations(search_organizations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/organizations:search', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsRequest::Representation + command.request_object = search_organizations_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::SearchOrganizationsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Fetches an Organization resource identified by the specified resource name. + # @param [String] name + # The resource name of the Organization to fetch, e.g. "organizations/1234". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Organization] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Organization] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Organization::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Organization + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_effective_org_policy_v1(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified Organization. + # The `resource` field should be the organization's resource name, + # e.g. "organizations/123". + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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". + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists `Constraints` that could be applied on the specified resource. + # @param [String] resource + # Name of the resource to list `Constraints` for. + # @param [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:listAvailableOrgPolicyConstraints', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsRequest::Representation + command.request_object = list_available_org_policy_constraints_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListAvailableOrgPolicyConstraintsResponse + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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". + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_org_policy(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_org_policy_v1(resource, get_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_org_policy_v1(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_org_policy(resource, set_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_organization_org_policy_v1(resource, clear_org_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:clearOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Create a Lien which applies to the resource denoted by the `parent` field. + # Callers of this method will require permission on the `parent` resource. + # For example, applying to `projects/1234` requires permission + # `resourcemanager.projects.updateLiens`. + # NOTE: Some resources may limit the number of Liens which may be applied. + # @param [Google::Apis::CloudresourcemanagerV1::Lien] lien_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Lien] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Lien] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_lien(lien_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/liens', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation + command.request_object = lien_object + command.response_representation = Google::Apis::CloudresourcemanagerV1::Lien::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Lien + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a Lien by `name`. + # Callers of this method will require permission on the `parent` resource. + # For example, a Lien with a `parent` of `projects/1234` requires permission + # `resourcemanager.projects.updateLiens`. + # @param [String] name + # The name/identifier of the Lien to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_lien(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List all Liens applied to the `parent` resource. + # Callers of this method will require permission on the `parent` resource. + # For example, a Lien with a `parent` of `projects/1234` requires permission + # `resourcemanager.projects.get`. + # @param [String] parent + # The name of the resource to list all attached Liens. + # For example, `projects/1234`. + # @param [String] page_token + # The `next_page_token` value returned from a previous List request, if any. + # @param [Fixnum] page_size + # The maximum number of items to return. This is a suggestion for the server. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1::ListLiensResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1::ListLiensResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_liens(parent: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/liens', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1::ListLiensResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1::ListLiensResponse + command.query['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. # @param [String] name # The name of the operation resource. # @param [String] fields diff --git a/generated/google/apis/cloudresourcemanager_v1beta1.rb b/generated/google/apis/cloudresourcemanager_v1beta1.rb index f8d15a918..aaebe60bb 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/resource-manager module CloudresourcemanagerV1beta1 VERSION = 'V1beta1' - REVISION = '20160617' + REVISION = '20170324' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb index da39a54a4..45f8dba47 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb @@ -22,157 +22,8 @@ module Google module Apis module CloudresourcemanagerV1beta1 - # A Project is a high-level Google Cloud Platform entity. It is a container for - # ACLs, APIs, AppEngine Apps, VMs, and other Google Cloud Platform resources. - class Project - include Google::Apis::Core::Hashable - - # The number uniquely identifying the project. Example: 415104041262 Read-only. - # Corresponds to the JSON property `projectNumber` - # @return [String] - attr_accessor :project_number - - # The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase - # letters, digits, or hyphens. It must start with a letter. Trailing hyphens are - # prohibited. Example: tokyo-rain-123 Read-only after creation. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The Project lifecycle state. Read-only. - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - # The user-assigned display name of the Project. It must be 4 to 30 characters. - # Allowed characters are: lowercase and uppercase letters, numbers, hyphen, - # single-quote, double-quote, space, and exclamation point. Example: My Project - # Read-write. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Creation time. Read-only. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The labels associated with this Project. Label keys must be between 1 and 63 - # characters long and must conform to the following regular expression: \[a-z\](\ - # [-a-z0-9\]*\[a-z0-9\])?. Label values must be between 0 and 63 characters long - # and must conform to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. - # No more than 256 labels can be associated with a given resource. Clients - # should store labels in a representation such as JSON that does not depend on - # specific characters being disallowed. Example: "environment" : "dev" Read- - # write. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an AppEngine app, a - # Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `parent` - # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] - attr_accessor :parent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_number = args[:project_number] if args.key?(:project_number) - @project_id = args[:project_id] if args.key?(:project_id) - @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) - @name = args[:name] if args.key?(:name) - @create_time = args[:create_time] if args.key?(:create_time) - @labels = args[:labels] if args.key?(:labels) - @parent = args[:parent] if args.key?(:parent) - end - end - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an AppEngine app, a - # Compute Engine instance, a Cloud SQL database, and so on. - class ResourceId - include Google::Apis::Core::Hashable - - # Required field representing the resource type this id is for. At present, the - # valid types are "project" and "organization". - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Required field for the type-specific id. This should correspond to the id used - # in the type-specific API's. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @id = args[:id] if args.key?(:id) - end - end - - # A page of the response received from the ListProjects method. A paginated - # response where more pages are available has `next_page_token` set. This token - # can be used in a subsequent request to retrieve the next request page. - class ListProjectsResponse - include Google::Apis::Core::Hashable - - # The list of Projects that matched the list filter. This list can be paginated. - # Corresponds to the JSON property `projects` - # @return [Array] - attr_accessor :projects - - # Pagination token. If the result set is too large to fit in a single response, - # this token is returned. It encodes the position of the current result cursor. - # Feeding this value into a new list request with the `page_token` parameter - # gives the next page of the results. When `next_page_token` is not filled in, - # there is no next page and the list returned is the last page in the result set. - # Pagination tokens have a limited lifetime. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @projects = args[:projects] if args.key?(:projects) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # 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 - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The request sent to the UndeleteProject method. + # The request sent to the UndeleteProject + # method. class UndeleteProjectRequest include Google::Apis::Core::Hashable @@ -185,8 +36,74 @@ module Google end end - # The request sent to the GetAncestry method. - class GetAncestryRequest + # The request sent to the ClearOrgPolicy method. + class ClearOrgPolicyRequest + include Google::Apis::Core::Hashable + + # The current version, for concurrency control. Not sending an `etag` + # will cause the `Policy` to be cleared blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Name of the `Constraint` of the `Policy` to clear. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # A status object which is used as the `metadata` field for the Operation + # returned by CreateProject. It provides insight for when significant phases of + # Project creation have completed. + class ProjectCreationStatus + include Google::Apis::Core::Hashable + + # True if the project creation process is complete. + # Corresponds to the JSON property `ready` + # @return [Boolean] + attr_accessor :ready + alias_method :ready?, :ready + + # Creation time of the project creation workflow. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # True if the project can be retrieved using GetProject. No other operations + # on the project are guaranteed to work until the project creation is + # complete. + # Corresponds to the JSON property `gettable` + # @return [Boolean] + attr_accessor :gettable + alias_method :gettable?, :gettable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ready = args[:ready] if args.key?(:ready) + @create_time = args[:create_time] if args.key?(:create_time) + @gettable = args[:gettable] if args.key?(:gettable) + end + end + + # 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 include Google::Apis::Core::Hashable def initialize(**args) @@ -198,15 +115,15 @@ module Google end end - # Response from the GetAncestry method. - class GetAncestryResponse + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # Ancestors are ordered from bottom to top of the resource hierarchy. The first - # ancestor is the project itself, followed by the project's parent, etc. - # Corresponds to the JSON property `ancestor` - # @return [Array] - attr_accessor :ancestor + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -214,29 +131,7 @@ module Google # Update properties of this object def update!(**args) - @ancestor = args[:ancestor] if args.key?(:ancestor) - end - end - - # Identifying information for a single ancestor of a project. - class Ancestor - include Google::Apis::Core::Hashable - - # A container to reference an id for any resource type. A `resource` in Google - # Cloud Platform is a generic term for something you (a developer) may want to - # interact with through one of our API's. Some examples are an AppEngine app, a - # Compute Engine instance, a Cloud SQL database, and so on. - # Corresponds to the JSON property `resourceId` - # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] - attr_accessor :resource_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_id = args[:resource_id] if args.key?(:resource_id) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -253,252 +148,9 @@ module Google end end - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. Multiple `bindings` must not be - # specified for the same `role`. `bindings` with no members will result in an - # error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `etag` is used for optimistic concurrency control as a way to help prevent - # simultaneous updates of a policy from overwriting each other. It is strongly - # suggested that systems make use of the `etag` in the read-modify-write cycle - # to perform policy updates in order to avoid race conditions: An `etag` is - # returned in the response to `getIamPolicy`, and systems are expected to put - # that etag in the request to `setIamPolicy` to ensure that their change will be - # applied to the same version of the policy. If no `etag` is provided in the - # call to `setIamPolicy`, then the existing policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` - # , or `roles/owner`. Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # Specifies the identities requesting access for a Cloud Platform resource. ` - # members` can have the following values: * `allUsers`: A special identifier - # that represents anyone who is on the internet; with or without a Google - # account. * `allAuthenticatedUsers`: A special identifier that represents - # anyone who is authenticated with a Google account or a service account. * ` - # user:`emailid``: An email address that represents a specific Google account. - # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:` - # emailid``: An email address that represents a service account. For example, ` - # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email - # address that represents a Google group. For example, `admins@example.com`. * ` - # domain:`domain``: A Google Apps domain name that represents all the users of - # that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @role = args[:role] if args.key?(:role) - @members = args[:members] if args.key?(:members) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with wildcards - # (such as '*' or 'storage.*') are not allowed. For more information see IAM - # Overview. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # The response returned from the `ListOrganizations` method. - class ListOrganizationsResponse - include Google::Apis::Core::Hashable - - # The list of Organizations that matched the list query, possibly paginated. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # A pagination token to be used to retrieve the next page of results. If the - # result is too large to fit within the page size specified in the request, this - # field will be set with a token that can be used to fetch the next page of - # results. If this field is empty, it indicates that this response contains the - # last page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @organizations = args[:organizations] if args.key?(:organizations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The root node in the resource hierarchy to which a particular entity's (e.g., - # company) resources belong. - class Organization - include Google::Apis::Core::Hashable - - # Output Only. The resource name of the organization. This is the organization's - # relative path in the API. Its format is "organizations/[organization_id]". For - # example, "organizations/1234". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # An immutable id for the Organization that is assigned on creation. This should - # be omitted when creating a new Organization. This field is read-only. This - # field is deprecated and will be removed in v1. Use name instead. - # Corresponds to the JSON property `organizationId` - # @return [String] - attr_accessor :organization_id - - # A friendly string to be used to refer to the Organization in the UI. This - # field is required. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The entity that owns an Organization. The lifetime of the Organization and all - # of its descendants are bound to the `OrganizationOwner`. If the ` - # OrganizationOwner` is deleted, the Organization and all its descendants will - # be deleted. - # Corresponds to the JSON property `owner` - # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner] - attr_accessor :owner - - # Timestamp when the Organization was created. Assigned by the server. @ - # OutputOnly - # Corresponds to the JSON property `creationTime` - # @return [String] - attr_accessor :creation_time - - # The organization's current lifecycle state. Assigned by the server. @ - # OutputOnly - # Corresponds to the JSON property `lifecycleState` - # @return [String] - attr_accessor :lifecycle_state - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @organization_id = args[:organization_id] if args.key?(:organization_id) - @display_name = args[:display_name] if args.key?(:display_name) - @owner = args[:owner] if args.key?(:owner) - @creation_time = args[:creation_time] if args.key?(:creation_time) - @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) - end - end - - # The entity that owns an Organization. The lifetime of the Organization and all - # of its descendants are bound to the `OrganizationOwner`. If the ` - # OrganizationOwner` is deleted, the Organization and all its descendants will + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will # be deleted. class OrganizationOwner include Google::Apis::Core::Hashable @@ -517,6 +169,1257 @@ module Google @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id) end end + + # A page of the response received from the + # ListProjects + # method. + # A paginated response where more pages are available has + # `next_page_token` set. This token can be used in a subsequent request to + # retrieve the next request page. + class ListProjectsResponse + include Google::Apis::Core::Hashable + + # Pagination token. + # If the result set is too large to fit in a single response, this token + # is returned. It encodes the position of the current result cursor. + # Feeding this value into a new list request with the `page_token` parameter + # gives the next page of the results. + # When `next_page_token` is not filled in, there is no next page and + # the list returned is the last page in the result set. + # Pagination tokens have a limited lifetime. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of Projects that matched the list filter. This list can + # be paginated. + # Corresponds to the JSON property `projects` + # @return [Array] + attr_accessor :projects + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @projects = args[:projects] if args.key?(:projects) + end + end + + # A Project is a high-level Google Cloud Platform entity. It is a + # container for ACLs, APIs, App Engine Apps, VMs, and other + # Google Cloud Platform resources. + class Project + include Google::Apis::Core::Hashable + + # The number uniquely identifying the project. + # Example: 415104041262 + # Read-only. + # Corresponds to the JSON property `projectNumber` + # @return [String] + attr_accessor :project_number + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `parent` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] + attr_accessor :parent + + # Creation time. + # Read-only. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The labels associated with this Project. + # Label keys must be between 1 and 63 characters long and must conform + # to the following regular expression: \[a-z\](\[-a-z0-9\]*\[a-z0-9\])?. + # Label values must be between 0 and 63 characters long and must conform + # to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. + # No more than 256 labels can be associated with a given resource. + # Clients should store labels in a representation such as JSON that does not + # depend on specific characters being disallowed. + # Example: "environment" : "dev" + # Read-write. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The user-assigned display name of the Project. + # It must be 4 to 30 characters. + # Allowed characters are: lowercase and uppercase letters, numbers, + # hyphen, single-quote, double-quote, space, and exclamation point. + # Example: My Project + # Read-write. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The unique, user-assigned ID of the Project. + # It must be 6 to 30 lowercase letters, digits, or hyphens. + # It must start with a letter. + # Trailing hyphens are prohibited. + # Example: tokyo-rain-123 + # Read-only after creation. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The Project lifecycle state. + # Read-only. + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_number = args[:project_number] if args.key?(:project_number) + @parent = args[:parent] if args.key?(:parent) + @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + end + end + + # The response returned from the ListOrgPolicies method. It will be empty + # if no `Policies` are set on the resource. + class ListOrgPoliciesResponse + include Google::Apis::Core::Hashable + + # The `Policies` that are set on the resource. It will be empty if no + # `Policies` are set. + # Corresponds to the JSON property `policies` + # @return [Array] + attr_accessor :policies + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policies = args[:policies] if args.key?(:policies) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A classification of the Folder Operation error. + class FolderOperationError + include Google::Apis::Core::Hashable + + # The type of operation error experienced. + # Corresponds to the JSON property `errorMessageId` + # @return [String] + attr_accessor :error_message_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_message_id = args[:error_message_id] if args.key?(:error_message_id) + end + end + + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + class OrgPolicy + include Google::Apis::Core::Hashable + + # Version of the `Policy`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # 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. + # Corresponds to the JSON property `restoreDefault` + # @return [Google::Apis::CloudresourcemanagerV1beta1::RestoreDefault] + attr_accessor :restore_default + + # 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. + # Corresponds to the JSON property `listPolicy` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListPolicy] + attr_accessor :list_policy + + # 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`. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The name of the `Constraint` the `Policy` is configuring, for example, + # `constraints/serviceuser.services`. + # Immutable after creation. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + # Corresponds to the JSON property `booleanPolicy` + # @return [Google::Apis::CloudresourcemanagerV1beta1::BooleanPolicy] + attr_accessor :boolean_policy + + # 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. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + @restore_default = args[:restore_default] if args.key?(:restore_default) + @list_policy = args[:list_policy] if args.key?(:list_policy) + @etag = args[:etag] if args.key?(:etag) + @constraint = args[:constraint] if args.key?(:constraint) + @boolean_policy = args[:boolean_policy] if args.key?(:boolean_policy) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + + # Used in `policy_type` to specify how `boolean_policy` will behave at this + # resource. + class BooleanPolicy + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `enforced` + # @return [Boolean] + attr_accessor :enforced + alias_method :enforced?, :enforced + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enforced = args[:enforced] if args.key?(:enforced) + end + end + + # Identifying information for a single ancestor of a project. + class Ancestor + include Google::Apis::Core::Hashable + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + # Corresponds to the JSON property `resourceId` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId] + attr_accessor :resource_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_id = args[:resource_id] if args.key?(:resource_id) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Optional. The Google Cloud Console will try to default to a configuration + # that matches the value specified in this `Constraint`. + # Corresponds to the JSON property `suggestedValue` + # @return [String] + attr_accessor :suggested_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + end + end + + # The request sent to the SetOrgPolicyRequest method. + class SetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Defines a Cloud Organization `Policy` which is used to specify `Constraints` + # for configurations of Cloud Platform resources. + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + attr_accessor :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. + # Corresponds to the JSON property `updateMask` + # @return [String] + attr_accessor :update_mask + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + @update_mask = args[:update_mask] if args.key?(:update_mask) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The root node in the resource hierarchy to which a particular entity's + # (e.g., company) resources belong. + class Organization + include Google::Apis::Core::Hashable + + # The organization's current lifecycle state. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `lifecycleState` + # @return [String] + attr_accessor :lifecycle_state + + # A friendly string to be used to refer to the Organization in the UI. + # Assigned by the server, set to the primary domain of the G Suite + # customer that owns the organization. + # @OutputOnly + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Timestamp when the Organization was created. Assigned by the server. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # The entity that owns an Organization. The lifetime of the Organization and + # all of its descendants are bound to the `OrganizationOwner`. If the + # `OrganizationOwner` is deleted, the Organization and all its descendants will + # be deleted. + # Corresponds to the JSON property `owner` + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner] + attr_accessor :owner + + # Output Only. The resource name of the organization. This is the + # organization's relative path in the API. Its format is + # "organizations/[organization_id]". For example, "organizations/1234". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # An immutable id for the Organization that is assigned on creation. This + # should be omitted when creating a new Organization. + # This field is read-only. + # This field is deprecated and will be removed in v1. Use name instead. + # Corresponds to the JSON property `organizationId` + # @return [String] + attr_accessor :organization_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) + @display_name = args[:display_name] if args.key?(:display_name) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @owner = args[:owner] if args.key?(:owner) + @name = args[:name] if args.key?(:name) + @organization_id = args[:organization_id] if args.key?(:organization_id) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Page token used to retrieve the next page. This is currently not used. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The collection of constraints that are settable on the request resource. + # Corresponds to the JSON property `constraints` + # @return [Array] + attr_accessor :constraints + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @constraints = args[:constraints] if args.key?(:constraints) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # The policy all_values state. + # Corresponds to the JSON property `allValues` + # @return [String] + attr_accessor :all_values + + # 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`. + # Corresponds to the JSON property `allowedValues` + # @return [Array] + attr_accessor :allowed_values + + # 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`. + # Corresponds to the JSON property `suggestedValue` + # @return [String] + attr_accessor :suggested_value + + # 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`. + # Corresponds to the JSON property `inheritFromParent` + # @return [Boolean] + attr_accessor :inherit_from_parent + alias_method :inherit_from_parent?, :inherit_from_parent + + # 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`. + # Corresponds to the JSON property `deniedValues` + # @return [Array] + attr_accessor :denied_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @all_values = args[:all_values] if args.key?(:all_values) + @allowed_values = args[:allowed_values] if args.key?(:allowed_values) + @suggested_value = args[:suggested_value] if args.key?(:suggested_value) + @inherit_from_parent = args[:inherit_from_parent] if args.key?(:inherit_from_parent) + @denied_values = args[:denied_values] if args.key?(:denied_values) + end + end + + # Response from the GetAncestry method. + class GetAncestryResponse + include Google::Apis::Core::Hashable + + # Ancestors are ordered from bottom to top of the resource hierarchy. The + # first ancestor is the project itself, followed by the project's parent, + # etc. + # Corresponds to the JSON property `ancestor` + # @return [Array] + attr_accessor :ancestor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ancestor = args[:ancestor] if args.key?(:ancestor) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of + # permission. + # Follows the same format of Binding.members. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # The request sent to the + # GetAncestry + # method. + class GetAncestryRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # The request sent to the [ListAvailableOrgPolicyConstraints] + # google.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method. + class ListAvailableOrgPolicyConstraintsRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # 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. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # Metadata describing a long running folder operation + class FolderOperation + include Google::Apis::Core::Hashable + + # The type of this operation. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # The display name of the folder. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The resource name of the folder's parent. + # Only applicable when the operation_type is MOVE. + # Corresponds to the JSON property `sourceParent` + # @return [String] + attr_accessor :source_parent + + # The resource name of the folder or organization we are either creating + # the folder under or moving the folder to. + # Corresponds to the JSON property `destinationParent` + # @return [String] + attr_accessor :destination_parent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @display_name = args[:display_name] if args.key?(:display_name) + @source_parent = args[:source_parent] if args.key?(:source_parent) + @destination_parent = args[:destination_parent] if args.key?(:destination_parent) + end + end + + # A container to reference an id for any resource type. A `resource` in Google + # Cloud Platform is a generic term for something you (a developer) may want to + # interact with through one of our API's. Some examples are an App Engine app, + # a Compute Engine instance, a Cloud SQL database, and so on. + class ResourceId + include Google::Apis::Core::Hashable + + # Required field representing the resource type this id is for. + # At present, the valid types are "project" and "organization". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Required field for the type-specific id. This should correspond to the id + # used in the type-specific API's. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @id = args[:id] if args.key?(:id) + end + end + + # The request sent to the GetEffectiveOrgPolicy method. + class GetEffectiveOrgPolicyRequest + include Google::Apis::Core::Hashable + + # The name of the `Constraint` to compute the effective `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end + + # The request sent to the ListOrgPolicies method. + class ListOrgPoliciesRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # 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. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # The configuration for logging of each type of permission. + # Next ID: 4 + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + end + end + + # The response returned from the `ListOrganizations` method. + class ListOrganizationsResponse + include Google::Apis::Core::Hashable + + # A pagination token to be used to retrieve the next page of results. If the + # result is too large to fit within the page size specified in the request, + # this field will be set with a token that can be used to fetch the next page + # of results. If this field is empty, it indicates that this response + # contains the last page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of Organizations that matched the list query, possibly paginated. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @organizations = args[:organizations] if args.key?(:organizations) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Detailed description of what this `Constraint` controls as well as how and + # where it is enforced. + # Mutable. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The human readable name. + # Mutable. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # 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. + # Corresponds to the JSON property `booleanConstraint` + # @return [Google::Apis::CloudresourcemanagerV1beta1::BooleanConstraint] + attr_accessor :boolean_constraint + + # The evaluation behavior of this constraint in the absense of 'Policy'. + # Corresponds to the JSON property `constraintDefault` + # @return [String] + attr_accessor :constraint_default + + # Immutable value, required to globally be unique. For example, + # `constraints/serviceuser.services` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A `Constraint` that allows or disallows a list of string values, which are + # configured by an Organization's policy administrator with a `Policy`. + # Corresponds to the JSON property `listConstraint` + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListConstraint] + attr_accessor :list_constraint + + # Version of the `Constraint`. Default version is 0; + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @description = args[:description] if args.key?(:description) + @display_name = args[:display_name] if args.key?(:display_name) + @boolean_constraint = args[:boolean_constraint] if args.key?(:boolean_constraint) + @constraint_default = args[:constraint_default] if args.key?(:constraint_default) + @name = args[:name] if args.key?(:name) + @list_constraint = args[:list_constraint] if args.key?(:list_constraint) + @version = args[:version] if args.key?(:version) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The request sent to the GetOrgPolicy method. + class GetOrgPolicyRequest + include Google::Apis::Core::Hashable + + # Name of the `Constraint` to get the `Policy`. + # Corresponds to the JSON property `constraint` + # @return [String] + attr_accessor :constraint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @constraint = args[:constraint] if args.key?(:constraint) + end + end end end end diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb index fefef83cc..6c4f37d04 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb @@ -22,79 +22,25 @@ module Google module Apis module CloudresourcemanagerV1beta1 - class Project - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResourceId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListProjectsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class UndeleteProjectRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetAncestryRequest + class ClearOrgPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetAncestryResponse + class ProjectCreationStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Ancestor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsRequest + class BooleanConstraint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -106,13 +52,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListOrganizationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Organization + class GetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -124,41 +64,184 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Project - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_number, as: 'projectNumber' - property :project_id, as: 'projectId' - property :lifecycle_state, as: 'lifecycleState' - property :name, as: 'name' - property :create_time, as: 'createTime' - hash :labels, as: 'labels' - property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation - - end - end - - class ResourceId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :id, as: 'id' - end - end - class ListProjectsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :next_page_token, as: 'nextPageToken' - end + include Google::Apis::Core::JsonObjectSupport + end + + class Project + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FolderOperationError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrgPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Ancestor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListConstraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Organization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableOrgPolicyConstraintsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetAncestryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetAncestryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAvailableOrgPolicyConstraintsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FolderOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetEffectiveOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrgPoliciesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOrganizationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Constraint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RestoreDefault + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetOrgPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class UndeleteProjectRequest @@ -167,17 +250,108 @@ module Google end end - class GetAncestryRequest + class ClearOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :constraint, as: 'constraint' + end + end + + class ProjectCreationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ready, as: 'ready' + property :create_time, as: 'createTime' + property :gettable, as: 'gettable' + end + end + + class BooleanConstraint # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class GetAncestryResponse + class TestIamPermissionsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1beta1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1beta1::Ancestor::Representation + collection :permissions, as: 'permissions' + end + end + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class OrganizationOwner + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :directory_customer_id, as: 'directoryCustomerId' + end + end + + class ListProjectsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :projects, as: 'projects', class: Google::Apis::CloudresourcemanagerV1beta1::Project, decorator: Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + + end + end + + class Project + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_number, as: 'projectNumber' + property :parent, as: 'parent', class: Google::Apis::CloudresourcemanagerV1beta1::ResourceId, decorator: Google::Apis::CloudresourcemanagerV1beta1::ResourceId::Representation + + property :create_time, as: 'createTime' + hash :labels, as: 'labels' + property :name, as: 'name' + property :project_id, as: 'projectId' + property :lifecycle_state, as: 'lifecycleState' + end + end + + class ListOrgPoliciesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :policies, as: 'policies', class: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class FolderOperationError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_message_id, as: 'errorMessageId' + end + end + + class OrgPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + property :restore_default, as: 'restoreDefault', class: Google::Apis::CloudresourcemanagerV1beta1::RestoreDefault, decorator: Google::Apis::CloudresourcemanagerV1beta1::RestoreDefault::Representation + + property :list_policy, as: 'listPolicy', class: Google::Apis::CloudresourcemanagerV1beta1::ListPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::ListPolicy::Representation + + property :etag, :base64 => true, as: 'etag' + property :constraint, as: 'constraint' + property :boolean_policy, as: 'booleanPolicy', class: Google::Apis::CloudresourcemanagerV1beta1::BooleanPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::BooleanPolicy::Representation + + property :update_time, as: 'updateTime' + end + end + + class BooleanPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enforced, as: 'enforced' end end @@ -189,27 +363,18 @@ module Google end end - class GetIamPolicyRequest + class ListConstraint # @private class Representation < Google::Apis::Core::JsonRepresentation + property :suggested_value, as: 'suggestedValue' end end - class Policy + class SetOrgPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation + property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation - property :etag, :base64 => true, as: 'etag' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - collection :members, as: 'members' end end @@ -218,6 +383,68 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :policy, as: 'policy', class: Google::Apis::CloudresourcemanagerV1beta1::Policy, decorator: Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation + property :update_mask, as: 'updateMask' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Organization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lifecycle_state, as: 'lifecycleState' + property :display_name, as: 'displayName' + property :creation_time, as: 'creationTime' + property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation + + property :name, as: 'name' + property :organization_id, as: 'organizationId' + end + end + + class ListAvailableOrgPolicyConstraintsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :constraints, as: 'constraints', class: Google::Apis::CloudresourcemanagerV1beta1::Constraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::Constraint::Representation + + end + end + + class ListPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :all_values, as: 'allValues' + collection :allowed_values, as: 'allowedValues' + property :suggested_value, as: 'suggestedValue' + property :inherit_from_parent, as: 'inheritFromParent' + collection :denied_values, as: 'deniedValues' + end + end + + class GetAncestryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ancestor, as: 'ancestor', class: Google::Apis::CloudresourcemanagerV1beta1::Ancestor, decorator: Google::Apis::CloudresourcemanagerV1beta1::Ancestor::Representation + + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class GetAncestryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation end end @@ -228,39 +455,110 @@ module Google end end - class TestIamPermissionsResponse + class ListAvailableOrgPolicyConstraintsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::CloudresourcemanagerV1beta1::Binding, decorator: Google::Apis::CloudresourcemanagerV1beta1::Binding::Representation + + end + end + + class FolderOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_type, as: 'operationType' + property :display_name, as: 'displayName' + property :source_parent, as: 'sourceParent' + property :destination_parent, as: 'destinationParent' + end + end + + class ResourceId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :id, as: 'id' + end + end + + class GetEffectiveOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' + end + end + + class ListOrgPoliciesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig, decorator: Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig::Representation + end end class ListOrganizationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :organizations, as: 'organizations', class: Google::Apis::CloudresourcemanagerV1beta1::Organization, decorator: Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation - property :next_page_token, as: 'nextPageToken' end end - class Organization + class Constraint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :organization_id, as: 'organizationId' + property :description, as: 'description' property :display_name, as: 'displayName' - property :owner, as: 'owner', class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner, decorator: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner::Representation + property :boolean_constraint, as: 'booleanConstraint', class: Google::Apis::CloudresourcemanagerV1beta1::BooleanConstraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::BooleanConstraint::Representation - property :creation_time, as: 'creationTime' - property :lifecycle_state, as: 'lifecycleState' + property :constraint_default, as: 'constraintDefault' + property :name, as: 'name' + property :list_constraint, as: 'listConstraint', class: Google::Apis::CloudresourcemanagerV1beta1::ListConstraint, decorator: Google::Apis::CloudresourcemanagerV1beta1::ListConstraint::Representation + + property :version, as: 'version' end end - class OrganizationOwner + class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :directory_customer_id, as: 'directoryCustomerId' + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class RestoreDefault + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class GetOrgPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :constraint, as: 'constraint' end end end diff --git a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb index a9661c5bf..bb561fbfe 100644 --- a/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +++ b/generated/google/apis/cloudresourcemanager_v1beta1/service.rb @@ -47,336 +47,51 @@ module Google super('https://cloudresourcemanager.googleapis.com/', '') end - # Creates a Project resource. Initially, the Project resource is owned by its - # creator exclusively. The creator can later grant permission to others to read - # or update the Project. Several APIs are activated automatically for the - # Project, including Google Cloud Storage. - # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project(project_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] page_token - # A pagination token returned from a previous call to ListProjects that - # indicates from where listing should continue. Optional. - # @param [Fixnum] page_size - # The maximum number of Projects to return in the response. The server can - # return fewer Projects than requested. If unspecified, server picks an - # appropriate default. Optional. - # @param [String] filter - # An expression for filtering the results of the request. Filter rules are case - # insensitive. The fields eligible for filtering are: + `name` + `id` + labels. - # key where *key* is the name of a label Some examples of using labels as - # filters: |Filter|Description| |------|-----------| |name:*|The project has a - # name.| |name:Howl|The project's name is `Howl` or `howl`.| |name:HOWL| - # Equivalent to above.| |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 value `red` and its label `size` has the value `big`. Optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_projects(page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/projects', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves the Project identified by the specified `project_id` (for example, ` - # my-project-123`). The caller must have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). Required. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates the attributes of the Project identified by the specified `project_id` - # (for example, `my-project-123`). The caller must have modify permissions for - # this Project. - # @param [String] project_id - # The project ID (for example, `my-project-123`). Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project(project_id, project_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.request_object = project_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Marks the Project identified by the specified `project_id` (for example, `my- - # project-123`) for deletion. This method will only affect the Project if the - # following criteria are met: + The Project does not have a billing account - # associated with it. + The Project has a lifecycle state of ACTIVE. This method - # changes the Project's lifecycle state from ACTIVE to DELETE_REQUESTED. The - # deletion starts at an unspecified time, at which point the project is no - # longer accessible. Until the deletion completes, you can check the lifecycle - # state checked by retrieving the Project with GetProject, and the Project - # remains visible to ListProjects. However, you cannot update the project. After - # the deletion completes, the Project is not retrievable by the GetProject and - # ListProjects methods. The caller must have modify permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `foo-bar-123`). Required. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project(project_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options) - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Restores the Project identified by the specified `project_id` (for example, ` - # my-project-123`). You can only use this method for a Project that has a - # lifecycle state of DELETE_REQUESTED. After deletion starts, the Project cannot - # be restored. The caller must have modify permissions for this Project. - # @param [String] project_id - # The project ID (for example, `foo-bar-123`). Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def undelete_project(project_id, undelete_project_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation - command.request_object = undelete_project_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of ancestors in the resource hierarchy for the Project identified - # by the specified `project_id` (for example, `my-project-123`). The caller must - # have read permissions for this Project. - # @param [String] project_id - # The Project ID (for example, `my-project-123`). Required. - # @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_ancestry(project_id, get_ancestry_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation - command.request_object = get_ancestry_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse - command.params['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns the IAM access control policy for the specified Project. Permission is - # denied if the policy or the resource does not exist. + # Clears a `Policy` from a resource. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. - # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest] clear_org_policy_request_object # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy + def clear_organization_org_policy(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:clearOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Sets the IAM access control policy for the specified Project. Replaces any - # existing policy. The following constraints apply when using `setIamPolicy()`: + - # Project does not support `allUsers` and `allAuthenticatedUsers` as `members` - # in a `Binding` of a `Policy`. + The owner role can be granted only to `user` - # and `serviceAccount`. + Service accounts can be made owners of a project - # directly without any restrictions. However, to be added as an owner, a user - # must be invited via Cloud Platform console and must accept the invitation. + A - # user cannot be granted the owner role using `setIamPolicy()`. The user must be - # granted the owner role using the Cloud Platform Console and must 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. + Membership changes that leave the project without any owners that - # have accepted the Terms of Service (ToS) will be rejected. + Members cannot be - # added to more than one role in the same policy. + 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 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. + Calling this - # method requires enabling the App Engine Admin API. Note: Removing service - # accounts from policies or changing their roles can render services completely - # inoperable. It is important to understand how the service account is being - # used before removing or updating its roles. + # 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". # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -389,76 +104,293 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_project_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options) + def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options) command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified Project. + # Lists `Constraints` that could be applied on the specified resource. # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. - # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Name of the resource to list `Constraints` for. + # @param [Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsRequest] list_available_org_policy_constraints_request_object # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse + def list_organization_available_org_policy_constraints(resource, list_available_org_policy_constraints_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:listAvailableOrgPolicyConstraints', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsRequest::Representation + command.request_object = list_available_org_policy_constraints_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListAvailableOrgPolicyConstraintsResponse command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # 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. - # @param [Fixnum] page_size - # The maximum number of Organizations to return in the response. This field is - # optional. - # @param [String] page_token - # A pagination token returned from a previous call to `ListOrganizations` that - # indicates from where listing should continue. This field is optional. - # @param [String] filter - # An optional query string used to filter the Organizations to return in the - # response. Filter rules are case-insensitive. Organizations may be filtered by ` - # owner.directoryCustomerId` or by `domain`, where the domain is a Google for - # Work domain, for example: |Filter|Description| |------|-----------| |owner. - # directorycustomerid:123456789|Organizations with `owner.directory_customer_id` - # equal to `123456789`.| |domain:google.com|Organizations corresponding to the - # domain `google.com`.| This field is optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # 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". + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_org_policy(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # Name of the resource the `Policy` is set on. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetOrgPolicyRequest] get_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_org_policy_v1(resource, get_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetOrgPolicyRequest::Representation + command.request_object = get_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_effective_org_policy(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getEffectiveOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates an Organization resource identified by the specified resource name. + # @param [String] name + # Output Only. The resource name of the organization. This is the + # organization's relative path in the API. Its format is + # "organizations/[organization_id]". For example, "organizations/1234". + # @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Organization] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_organization(name, organization_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation + command.request_object = organization_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1beta1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_org_policy_v1(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] filter + # An optional query string used to filter the Organizations to return in + # the response. Filter rules are case-insensitive. + # Organizations may be filtered by `owner.directoryCustomerId` or by + # `domain`, where the domain is a Google for Work domain, for example: + # |Filter|Description| + # |------|-----------| + # |owner.directorycustomerid:123456789|Organizations with `owner. + # directory_customer_id` equal to `123456789`.| + # |domain:google.com|Organizations corresponding to the domain `google.com`.| + # This field is optional. + # @param [String] page_token + # A pagination token returned from a previous call to `ListOrganizations` + # that indicates from where listing should continue. + # This field is optional. + # @param [Fixnum] page_size + # The maximum number of Organizations to return in the response. + # This field is optional. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -471,30 +403,131 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_organizations(page_size: nil, page_token: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_organizations(filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/organizations', options) command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrganizationsResponse - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? command.query['filter'] = filter unless filter.nil? - command.query['fields'] = fields unless fields.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] resource + # Resource name of the resource to attach the `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1beta1::SetOrgPolicyRequest] set_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_organization_org_policy(resource, set_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:setOrgPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetOrgPolicyRequest::Representation + command.request_object = set_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Clears a `Policy` from a resource. + # @param [String] resource + # Name of the resource for the `Policy` to clear. + # @param [Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest] clear_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_organization_org_policy_v1(resource, clear_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:clearOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::ClearOrgPolicyRequest::Representation + command.request_object = clear_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists all the `Policies` set for a particular resource. + # @param [String] resource + # Name of the resource to list Policies for. + # @param [Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesRequest] list_org_policies_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_org_policies(resource, list_org_policies_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:listOrgPolicies', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesRequest::Representation + command.request_object = list_org_policies_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListOrgPoliciesResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Fetches an Organization resource identified by the specified resource name. # @param [String] name - # The resource name of the Organization to fetch. Its format is "organizations/[ - # organization_id]". For example, "organizations/1234". + # The resource name of the Organization to fetch, e.g. "organizations/1234". # @param [String] organization_id - # The id of the Organization resource to fetch. This field is deprecated and - # will be removed in v1. Use name instead. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The id of the Organization resource to fetch. + # This field is deprecated and will be removed in v1. Use name instead. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -507,146 +540,29 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization(name, organization_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_organization(name, organization_id: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}', options) command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization command.params['name'] = name unless name.nil? command.query['organizationId'] = organization_id unless organization_id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Updates an Organization resource identified by the specified resource name. - # @param [String] name - # Output Only. The resource name of the organization. This is the organization's - # relative path in the API. Its format is "organizations/[organization_id]". For - # example, "organizations/1234". - # @param [Google::Apis::CloudresourcemanagerV1beta1::Organization] organization_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Organization] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Organization] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_organization(name, organization_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+name}', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation - command.request_object = organization_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Organization::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Organization - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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". For backward compatibility, the resource - # provided may also be the organization_id. This will not be supported in v1. + # Returns permissions that a caller has on the specified Organization. + # The `resource` field should be the organization's resource name, + # e.g. "organizations/123". # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. - # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_organization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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". For backward - # compatibility, the resource provided may also be the organization_id. This - # will not be supported in v1. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. - # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_organization_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation - command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified Organization. The ` - # resource` field should be the organization's resource name, e.g. " - # organizations/123". For backward compatibility, the resource provided may also - # be the organization_id. This will not be supported in v1. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -659,15 +575,469 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def test_organization_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options) command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation command.request_object = test_iam_permissions_request_object command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] resource + # The name of the resource to start computing the effective `Policy`. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetEffectiveOrgPolicyRequest] get_effective_org_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_effective_org_policy_v1(resource, get_effective_org_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+resource}:getEffectiveOrgPolicyV1', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetEffectiveOrgPolicyRequest::Representation + command.request_object = get_effective_org_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::OrgPolicy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Project resource. + # Initially, the Project resource is owned by its creator exclusively. + # The creator can later grant permission to others to read or update the + # Project. + # Several APIs are activated automatically for the Project, including + # Google Cloud Storage. + # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object + # @param [Boolean] use_legacy_stack + # A safety hatch to opt out of the new reliable project creation process. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project(project_object = nil, use_legacy_stack: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.query['useLegacyStack'] = use_legacy_stack unless use_legacy_stack.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the IAM access control policy for the specified Project. Replaces + # any existing policy. + # The following constraints apply when using `setIamPolicy()`: + # + Project does not support `allUsers` and `allAuthenticatedUsers` as + # `members` in a `Binding` of a `Policy`. + # + The owner role can be granted only to `user` and `serviceAccount`. + # + Service accounts can be made owners of a project directly + # without any restrictions. However, to be added as an owner, a user must be + # invited via Cloud Platform console and must accept the invitation. + # + A user cannot be granted the owner role using `setIamPolicy()`. The user + # must be granted the owner role using the Cloud Platform Console and must + # 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. + # + 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 + # 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. + # + Calling this method requires enabling the App Engine Admin API. + # Note: Removing service accounts from policies or changing their roles + # can render services completely inoperable. It is important to understand + # how the service account is being used before removing or updating its + # roles. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{resource}:setIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns the IAM access control policy for the specified Project. + # Permission is denied if the policy or the resource does not exist. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest] get_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_iam_policy(resource, get_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{resource}:getIamPolicy', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Policy::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Restores the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # You can only use this method for a Project that has a lifecycle state of + # DELETE_REQUESTED. + # After deletion starts, the Project cannot be restored. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `foo-bar-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest] undelete_project_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def undelete_project(project_id, undelete_project_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{projectId}:undelete', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::UndeleteProjectRequest::Representation + command.request_object = undelete_project_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project(project_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of ancestors in the resource hierarchy for the Project + # identified by the specified `project_id` (for example, `my-project-123`). + # The caller must have read permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest] get_ancestry_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_ancestry(project_id, get_ancestry_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{projectId}:getAncestry', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryRequest::Representation + command.request_object = get_ancestry_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::GetAncestryResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates the attributes of the Project identified by the specified + # `project_id` (for example, `my-project-123`). + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The project ID (for example, `my-project-123`). + # Required. + # @param [Google::Apis::CloudresourcemanagerV1beta1::Project] project_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project(project_id, project_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/projects/{projectId}', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.request_object = project_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Project::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Project + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified Project. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_project_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/projects/{resource}:testIamPermissions', options) + command.request_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Marks the Project identified by the specified + # `project_id` (for example, `my-project-123`) for deletion. + # This method will only affect the Project if the following criteria are met: + # + The Project does not have a billing account associated with it. + # + The Project has a lifecycle state of + # ACTIVE. + # This method changes the Project's lifecycle state from + # ACTIVE + # to DELETE_REQUESTED. + # The deletion starts at an unspecified time, at which point the project is + # no longer accessible. + # Until the deletion completes, you can check the lifecycle state + # checked by retrieving the Project with GetProject, + # and the Project remains visible to ListProjects. + # However, you cannot update the project. + # After the deletion completes, the Project is not retrievable by + # the GetProject and + # ListProjects methods. + # The caller must have modify permissions for this Project. + # @param [String] project_id + # The Project ID (for example, `foo-bar-123`). + # Required. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project(project_id, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/projects/{projectId}', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::Empty::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] page_token + # A pagination token returned from a previous call to ListProjects + # that indicates from where listing should continue. + # Optional. + # @param [Fixnum] page_size + # The maximum number of Projects to return in the response. + # The server can return fewer Projects than requested. + # If unspecified, server picks an appropriate default. + # Optional. + # @param [String] filter + # An expression for filtering the results of the request. Filter rules are + # case insensitive. The fields eligible for filtering are: + # + `name` + # + `id` + # + labels.key where *key* is the name of a label + # Some examples of using labels as filters: + # |Filter|Description| + # |------|-----------| + # |name:*|The project has a name.| + # |name:Howl|The project's name is `Howl` or `howl`.| + # |name:HOWL|Equivalent to above.| + # |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 labels.size:big|The project's label `color` has the + # value `red` and its label `size` has the value `big`. + # Optional. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_projects(page_token: nil, page_size: nil, filter: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/projects', options) + command.response_representation = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse::Representation + command.response_class = Google::Apis::CloudresourcemanagerV1beta1::ListProjectsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/cloudtrace_v1.rb b/generated/google/apis/cloudtrace_v1.rb index 351ea3a09..0974eed65 100644 --- a/generated/google/apis/cloudtrace_v1.rb +++ b/generated/google/apis/cloudtrace_v1.rb @@ -18,26 +18,26 @@ require 'google/apis/cloudtrace_v1/representations.rb' module Google module Apis - # Google Cloud Trace API + # Stackdriver Trace API # - # Send and retrieve trace data from Google Cloud Trace. Data is generated and + # Send and retrieve trace data from Stackdriver Trace. Data is generated and # available by default for all App Engine applications. Data from other - # applications can be written to Cloud Trace for display, reporting, and + # applications can be written to Stackdriver Trace for display, reporting, and # analysis. # - # @see https://cloud.google.com/tools/cloud-trace + # @see https://cloud.google.com/trace module CloudtraceV1 VERSION = 'V1' - REVISION = '20160518' + REVISION = '20170320' - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + # Read Trace data for a project or application + AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' # Write Trace data for a project or application AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append' - # Read Trace data for a project or application - AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly' + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/cloudtrace_v1/classes.rb b/generated/google/apis/cloudtrace_v1/classes.rb index b13d580a3..e1419804f 100644 --- a/generated/google/apis/cloudtrace_v1/classes.rb +++ b/generated/google/apis/cloudtrace_v1/classes.rb @@ -22,6 +22,75 @@ module Google module Apis module CloudtraceV1 + # A span represents a single timed event 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 of an operation and, optionally, one or more subspans for + # its suboperations. Spans do not need to be contiguous. There may be gaps + # between spans in a trace. + class TraceSpan + include Google::Apis::Core::Hashable + + # Identifier for the span. Must be a 64-bit integer other than 0 and + # unique within a trace. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # ID of the parent span, if any. Optional. + # Corresponds to the JSON property `parentSpanId` + # @return [String] + attr_accessor :parent_span_id + + # End time of the span in nanoseconds from the UNIX epoch. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Start time of the span in nanoseconds from the UNIX epoch. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Distinguishes between spans generated in a particular context. For example, + # two spans with the same name may be distinguished using `RPC_CLIENT` + # and `RPC_SERVER` to identify queueing latency associated with the span. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Collection of labels associated with the span. Label keys must be less than + # 128 bytes. Label values must be less than 16 kilobytes. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Name of the span. Must be less than 128 bytes. The span name is sanitized + # and displayed in the Stackdriver Trace tool in the + # `% dynamic print site_values.console_name %`. + # The name may be a method name or some other per-call site name. + # For the same executable and the same call point, a best practice is + # to use a consistent name, which makes it easier to correlate + # cross-trace spans. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @span_id = args[:span_id] if args.key?(:span_id) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @kind = args[:kind] if args.key?(:kind) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + end + end + # The response message for the `ListTraces` method. class ListTracesResponse include Google::Apis::Core::Hashable @@ -31,9 +100,9 @@ module Google # @return [Array] attr_accessor :traces - # If defined, indicates that there are more traces that match the request and - # that this value should be passed to the next request to continue retrieving - # additional traces. + # If defined, indicates that there are more traces that match the request + # and that this value should be passed to the next request to continue + # retrieving additional traces. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -49,9 +118,28 @@ module Google end end - # A trace describes how long it takes for an application to perform an operation. - # It consists of a set of spans, each of which represent a single timed event - # within the operation. + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A trace describes how long it takes for an application to perform an + # operation. It consists of a set of spans, each of which represent a single + # timed event within the operation. class Trace include Google::Apis::Core::Hashable @@ -60,17 +148,17 @@ module Google # @return [String] attr_accessor :project_id - # Globally unique identifier for the trace. This identifier is a 128-bit numeric - # value formatted as a 32-byte hex string. - # Corresponds to the JSON property `traceId` - # @return [String] - attr_accessor :trace_id - # Collection of spans in the trace. # Corresponds to the JSON property `spans` # @return [Array] attr_accessor :spans + # Globally unique identifier for the trace. This identifier is a 128-bit + # numeric value formatted as a 32-byte hex string. + # Corresponds to the JSON property `traceId` + # @return [String] + attr_accessor :trace_id + def initialize(**args) update!(**args) end @@ -78,73 +166,8 @@ module Google # Update properties of this object def update!(**args) @project_id = args[:project_id] if args.key?(:project_id) - @trace_id = args[:trace_id] if args.key?(:trace_id) @spans = args[:spans] if args.key?(:spans) - end - end - - # A span represents a single timed event 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 of an operation and, optionally, one or more subspans for its - # suboperations. Spans do not need to be contiguous. There may be gaps between - # spans in a trace. - class TraceSpan - include Google::Apis::Core::Hashable - - # Identifier for the span. This identifier must be unique within a trace. - # Corresponds to the JSON property `spanId` - # @return [String] - attr_accessor :span_id - - # Distinguishes between spans generated in a particular context. For example, - # two spans with the same name may be distinguished using `RPC_CLIENT` and ` - # RPC_SERVER` to identify queueing latency associated with the span. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Name of the trace. The trace name is sanitized and displayed in the - # Stackdriver Trace tool in the `% dynamic print site_values.console_name %`. - # The name may be a method name or some other per-call site name. For the same - # executable and the same call point, a best practice is to use a consistent - # name, which makes it easier to correlate cross-trace spans. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Start time of the span in nanoseconds from the UNIX epoch. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # End time of the span in nanoseconds from the UNIX epoch. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # ID of the parent span, if any. Optional. - # Corresponds to the JSON property `parentSpanId` - # @return [String] - attr_accessor :parent_span_id - - # Collection of labels associated with the span. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @span_id = args[:span_id] if args.key?(:span_id) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) - @labels = args[:labels] if args.key?(:labels) + @trace_id = args[:trace_id] if args.key?(:trace_id) end end @@ -166,23 +189,6 @@ module Google @traces = args[:traces] if args.key?(:traces) end end - - # 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 - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end end end end diff --git a/generated/google/apis/cloudtrace_v1/representations.rb b/generated/google/apis/cloudtrace_v1/representations.rb index fe8db0042..d67ac53cf 100644 --- a/generated/google/apis/cloudtrace_v1/representations.rb +++ b/generated/google/apis/cloudtrace_v1/representations.rb @@ -22,34 +22,47 @@ module Google module Apis module CloudtraceV1 + class TraceSpan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListTracesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Trace class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TraceSpan - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Traces class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport + class TraceSpan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :span_id, as: 'spanId' + property :parent_span_id, as: 'parentSpanId' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :kind, as: 'kind' + hash :labels, as: 'labels' + property :name, as: 'name' + end end class ListTracesResponse @@ -61,26 +74,19 @@ module Google end end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class Trace # @private class Representation < Google::Apis::Core::JsonRepresentation property :project_id, as: 'projectId' - property :trace_id, as: 'traceId' collection :spans, as: 'spans', class: Google::Apis::CloudtraceV1::TraceSpan, decorator: Google::Apis::CloudtraceV1::TraceSpan::Representation - end - end - - class TraceSpan - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :span_id, as: 'spanId' - property :kind, as: 'kind' - property :name, as: 'name' - property :start_time, as: 'startTime' - property :end_time, as: 'endTime' - property :parent_span_id, as: 'parentSpanId' - hash :labels, as: 'labels' + property :trace_id, as: 'traceId' end end @@ -91,12 +97,6 @@ module Google end end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end end end end diff --git a/generated/google/apis/cloudtrace_v1/service.rb b/generated/google/apis/cloudtrace_v1/service.rb index 7525bce52..5b1463916 100644 --- a/generated/google/apis/cloudtrace_v1/service.rb +++ b/generated/google/apis/cloudtrace_v1/service.rb @@ -20,11 +20,11 @@ require 'google/apis/errors' module Google module Apis module CloudtraceV1 - # Google Cloud Trace API + # Stackdriver Trace API # - # Send and retrieve trace data from Google Cloud Trace. Data is generated and + # Send and retrieve trace data from Stackdriver Trace. Data is generated and # available by default for all App Engine applications. Data from other - # applications can be written to Cloud Trace for display, reporting, and + # applications can be written to Stackdriver Trace for display, reporting, and # analysis. # # @example @@ -33,7 +33,7 @@ module Google # Cloudtrace = Google::Apis::CloudtraceV1 # Alias the module # service = Cloudtrace::CloudTraceService.new # - # @see https://cloud.google.com/tools/cloud-trace + # @see https://cloud.google.com/trace class CloudTraceService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -49,11 +49,11 @@ module Google super('https://cloudtrace.googleapis.com/', '') end - # Sends new traces to Stackdriver Trace or updates existing traces. If the ID of - # a trace that you send matches that of an existing trace, any fields in the - # existing trace and its spans are overwritten by the provided values, and any - # new fields provided are merged with the existing trace data. If the ID does - # not match, a new trace is created. + # Sends new traces to Stackdriver Trace or updates existing traces. If the ID + # of a trace that you send matches that of an existing trace, any fields + # in the existing trace and its spans are overwritten by the provided values, + # and any new fields provided are merged with the existing trace data. If the + # ID does not match, a new trace is created. # @param [String] project_id # ID of the Cloud project where the trace data is stored. # @param [Google::Apis::CloudtraceV1::Traces] traces_object @@ -89,30 +89,35 @@ module Google # Returns of a list of traces that match the specified filter conditions. # @param [String] project_id # ID of the Cloud project where the trace data is stored. - # @param [String] view - # Type of data returned for traces in the list. Optional. Default is `MINIMAL`. - # @param [Fixnum] page_size - # Maximum number of traces to return. If not specified or <= 0, the - # implementation selects a reasonable value. The implementation may return fewer - # traces than the requested page size. Optional. - # @param [String] page_token - # Token identifying the page of results to return. If provided, use the value of - # the `next_page_token` field from a previous request. Optional. - # @param [String] start_time - # End of the time interval (inclusive) during which the trace data was collected - # from the application. + # @param [String] order_by + # 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. + # @param [String] filter + # An optional filter for the request. # @param [String] end_time # Start of the time interval (inclusive) during which the trace data was # collected from the application. - # @param [String] filter - # An optional filter for the request. - # @param [String] order_by - # 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. + # @param [String] start_time + # End of the time interval (inclusive) during which the trace data was + # collected from the application. + # @param [String] page_token + # Token identifying the page of results to return. If provided, use the + # value of the `next_page_token` field from a previous request. Optional. + # @param [Fixnum] page_size + # Maximum number of traces to return. If not specified or <= 0, the + # implementation selects a reasonable value. The implementation may + # return fewer traces than the requested page size. Optional. + # @param [String] view + # Type of data returned for traces in the list. Optional. Default is + # `MINIMAL`. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -130,18 +135,18 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_traces(project_id, view: nil, page_size: nil, page_token: nil, start_time: nil, end_time: nil, filter: nil, order_by: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil, start_time: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options) command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse command.params['projectId'] = project_id unless project_id.nil? - command.query['view'] = view unless view.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['startTime'] = start_time unless start_time.nil? - command.query['endTime'] = end_time unless end_time.nil? - command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? + command.query['filter'] = filter unless filter.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 9ef024fa0..66c2dad31 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20160812' + REVISION = '20170302' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 23fcee21e..d44c4ca4c 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -22,6 +22,287 @@ module Google module Apis module ComputeBeta + # A specification of the type and number of accelerator cards attached to the + # instance. + class AcceleratorConfig + include Google::Apis::Core::Hashable + + # The number of the guest accelerator cards exposed to this instance. + # Corresponds to the JSON property `acceleratorCount` + # @return [Fixnum] + attr_accessor :accelerator_count + + # Full or partial URL of the accelerator type resource to expose to this + # instance. + # Corresponds to the JSON property `acceleratorType` + # @return [String] + attr_accessor :accelerator_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) + @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) + end + end + + # An Accelerator Type resource. + class AcceleratorType + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # Deprecation status for a public resource. + # Corresponds to the JSON property `deprecated` + # @return [Google::Apis::ComputeBeta::DeprecationStatus] + attr_accessor :deprecated + + # [Output Only] An optional textual description of the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] The type of the resource. Always compute#acceleratorType for + # accelerator types. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] Maximum accelerator cards allowed per instance. + # Corresponds to the JSON property `maximumCardsPerInstance` + # @return [Fixnum] + attr_accessor :maximum_cards_per_instance + + # [Output Only] Name of the resource. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined fully-qualified URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] The name of the zone where the accelerator type resides, such as + # us-central1-a. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @deprecated = args[:deprecated] if args.key?(:deprecated) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @maximum_cards_per_instance = args[:maximum_cards_per_instance] if args.key?(:maximum_cards_per_instance) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + @zone = args[:zone] if args.key?(:zone) + end + end + + # + class AcceleratorTypeAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] A map of scoped accelerator type lists. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList + # for aggregated lists of accelerator types. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of accelerator types. + class AcceleratorTypeList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of AcceleratorType resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#acceleratorTypeList for lists + # of accelerator types. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class AcceleratorTypesScopedList + include Google::Apis::Core::Hashable + + # [Output Only] List of accelerator types contained in this scope. + # Corresponds to the JSON property `acceleratorTypes` + # @return [Array] + attr_accessor :accelerator_types + + # [Output Only] An informational warning that appears when the accelerator types + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] An informational warning that appears when the accelerator types + # list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # An access configuration attached to an instance's network interface. Only one # access config per instance is supported. class AccessConfig @@ -69,7 +350,8 @@ module Google class Address include Google::Apis::Core::Hashable - # The static external IP address represented by this resource. + # The static external IP address represented by this resource. Only IPv4 is + # supported. # Corresponds to the JSON property `address` # @return [String] attr_accessor :address @@ -337,6 +619,37 @@ module Google end end + # An alias IP range attached to an instance's network interface. + class AliasIpRange + include Google::Apis::Core::Hashable + + # The IP CIDR range represented by this alias IP range. This IP CIDR range must + # belong to the specified subnetwork and cannot contain IP addresses reserved by + # system or used by other network interfaces. This range may be a single IP + # address (e.g. 10.2.3.4), a netmask (e.g. /24) or a CIDR format string (e.g. 10. + # 1.2.0/24). + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + # Optional subnetwork secondary range name specifying the secondary range from + # which to allocate the IP CIDR range for this alias IP range. If left + # unspecified, the primary range of the subnetwork will be used. + # Corresponds to the JSON property `subnetworkRangeName` + # @return [String] + attr_accessor :subnetwork_range_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + @subnetwork_range_name = args[:subnetwork_range_name] if args.key?(:subnetwork_range_name) + end + end + # An instance-attached disk resource. class AttachedDisk include Google::Apis::Core::Hashable @@ -415,8 +728,12 @@ module Google attr_accessor :mode # Specifies a valid partial or full URL to an existing Persistent Disk resource. - # This field is only applicable for persistent disks. Note that for - # InstanceTemplate, it is just disk name, not URL for the disk. + # When creating a new instance, one of initializeParams.sourceImage or disks. + # source is required. + # If desired, you can also attach existing non-root persistent disks using this + # property. This field is only applicable for persistent disks. + # Note that for InstanceTemplate, specify the disk name, not the URL for the + # disk. # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -488,8 +805,8 @@ module Google # @return [String] attr_accessor :disk_type - # The source image used to create this disk. If the source image is deleted, - # this field will not be set. + # The source image to create this disk. When creating a new instance, one of + # initializeParams.sourceImage or disks.source is required. # To create a disk with one of the public operating system images, specify the # image by its family name. For example, specify family/debian-8 to use the # latest Debian 8 image: @@ -503,6 +820,7 @@ module Google # latest version of the image in that family. Replace the image name with family/ # family-name: # global/images/family/my-private-family + # If the source image is deleted later, this field will not be set. # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image @@ -527,6 +845,83 @@ module Google end end + # 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. + # 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 + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # Specifies a service that will be enabled for audit logging. For example, ` + # resourcemanager`, `storage`, `compute`. `allServices` is a special value that + # covers all services. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of permission. + # Follows the same format of [Binding.members][]. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + # Represents an Autoscaler resource. Autoscalers allow you to automatically # scale virtual machine instances in managed instance groups according to an # autoscaling policy that you define. For more information, read Autoscaling @@ -588,8 +983,8 @@ module Google attr_accessor :status # [Output Only] Human-readable details about the current state of the autoscaler. - # Examples: ?Error when fetching replicas: Replica Pool xxx doesn?t exist.? ? - # Autoscaling capped at min_num_replicas: 2.? + # Read the documentation for Commonly returned status messages for examples of + # status messages you might encounter. # Corresponds to the JSON property `statusDetails` # @return [Array] attr_accessor :status_details @@ -728,12 +1123,12 @@ module Google class AutoscalerStatusDetails include Google::Apis::Core::Hashable - # + # The status message. # Corresponds to the JSON property `message` # @return [String] attr_accessor :message - # + # The type of error returned. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -931,12 +1326,12 @@ module Google class AutoscalingPolicyCustomMetricUtilization include Google::Apis::Core::Hashable - # The identifier of the Cloud Monitoring metric. The metric cannot have negative - # values and should be a utilization metric, which means that the number of - # virtual machines handling requests should increase or decrease proportionally - # to the metric. The metric must also have a label of compute.googleapis.com/ - # resource_id with the value of the instance's unique ID, although this alone - # does not guarantee that the metric is valid. + # The identifier of the Stackdriver Monitoring metric. The metric cannot have + # negative values and should be a utilization metric, which means that the + # number of virtual machines handling requests should increase or decrease + # proportionally to the metric. The metric must also have a label of compute. + # googleapis.com/resource_id with the value of the instance's unique ID, + # although this alone does not guarantee that the metric is valid. # For example, the following is a valid metric: # compute.googleapis.com/instance/network/received_bytes_count # The following is not a valid metric because it does not increase or decrease @@ -952,7 +1347,7 @@ module Google # @return [Float] attr_accessor :utilization_target - # Defines how target utilization value is expressed for a Cloud Monitoring + # Defines how target utilization value is expressed for a Stackdriver Monitoring # metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, # the default is GAUGE. # Corresponds to the JSON property `utilizationTargetType` @@ -996,18 +1391,19 @@ module Google class Backend include Google::Apis::Core::Hashable - # Specifies the balancing mode for this backend. For global HTTP(S) load - # balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE. + # Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL + # load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE + # (for HTTP(S)) and CONNECTION (for TCP/SSL). # This cannot be used for internal load balancing. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode - # A multiplier applied to the group's maximum servicing capacity (either - # UTILIZATION or RATE). Default value is 1, which means the group will serve up - # to 100% of its configured CPU or RPS (depending on balancingMode). A setting - # of 0 means the group is completely drained, offering 0% of its available CPU - # or RPS. Valid range is [0.0,1.0]. + # A multiplier applied to the group's maximum servicing capacity (based on + # UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group + # will serve up to 100% of its configured capacity (depending on balancingMode). + # A setting of 0 means the group is completely drained, offering 0% of its + # available Capacity. Valid range is [0.0,1.0]. # This cannot be used for internal load balancing. # Corresponds to the JSON property `capacityScaler` # @return [Float] @@ -1091,6 +1487,117 @@ module Google end end + # A BackendBucket resource. This resource defines a Cloud Storage bucket. + class BackendBucket + include Google::Apis::Core::Hashable + + # Cloud Storage bucket name. + # Corresponds to the JSON property `bucketName` + # @return [String] + attr_accessor :bucket_name + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, enable Cloud CDN for this BackendBucket. + # Corresponds to the JSON property `enableCdn` + # @return [Boolean] + attr_accessor :enable_cdn + alias_method :enable_cdn?, :enable_cdn + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Type of the resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of BackendBucket resources. + class BackendBucketList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of BackendBucket resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # A BackendService resource. This resource defines a group of backend virtual # machines and their serving capacity. class BackendService @@ -1109,6 +1616,11 @@ module Google # @return [Array] attr_accessor :backends + # Message containing Cloud CDN configuration for a backend service. + # Corresponds to the JSON property `cdnPolicy` + # @return [Google::Apis::ComputeBeta::BackendServiceCdnPolicy] + attr_accessor :cdn_policy + # Message containing connection draining configuration. # Corresponds to the JSON property `connectionDraining` # @return [Google::Apis::ComputeBeta::ConnectionDraining] @@ -1149,6 +1661,11 @@ module Google # @return [Array] attr_accessor :health_checks + # Identity-Aware Proxy + # Corresponds to the JSON property `iap` + # @return [Google::Apis::ComputeBeta::BackendServiceIap] + attr_accessor :iap + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -1161,6 +1678,11 @@ module Google # @return [String] attr_accessor :kind + # + # Corresponds to the JSON property `loadBalancingScheme` + # @return [String] + attr_accessor :load_balancing_scheme + # 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- @@ -1187,7 +1709,7 @@ module Google attr_accessor :port_name # The protocol this BackendService uses to communicate with backends. - # Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. The default is HTTP. + # Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. # For internal load balancing, the possible values are TCP and UDP, and the # default is TCP. # Corresponds to the JSON property `protocol` @@ -1229,14 +1751,17 @@ module Google def update!(**args) @affinity_cookie_ttl_sec = args[:affinity_cookie_ttl_sec] if args.key?(:affinity_cookie_ttl_sec) @backends = args[:backends] if args.key?(:backends) + @cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy) @connection_draining = args[:connection_draining] if args.key?(:connection_draining) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @health_checks = args[:health_checks] if args.key?(:health_checks) + @iap = args[:iap] if args.key?(:iap) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) @@ -1248,6 +1773,69 @@ module Google end end + # Contains a list of BackendServicesScopedList. + class BackendServiceAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of scoped BackendService lists. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Message containing Cloud CDN configuration for a backend service. + class BackendServiceCdnPolicy + include Google::Apis::Core::Hashable + + # Message containing what to include in the cache key for a request for Cloud + # CDN. + # Corresponds to the JSON property `cacheKeyPolicy` + # @return [Google::Apis::ComputeBeta::CacheKeyPolicy] + attr_accessor :cache_key_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy) + end + end + # class BackendServiceGroupHealth include Google::Apis::Core::Hashable @@ -1274,6 +1862,44 @@ module Google end end + # Identity-Aware Proxy + class BackendServiceIap + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # + # Corresponds to the JSON property `oauth2ClientId` + # @return [String] + attr_accessor :oauth2_client_id + + # + # Corresponds to the JSON property `oauth2ClientSecret` + # @return [String] + attr_accessor :oauth2_client_secret + + # + # Corresponds to the JSON property `oauth2ClientSecretSha256` + # @return [String] + attr_accessor :oauth2_client_secret_sha256 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret) + @oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256) + end + end + # Contains a list of BackendService resources. class BackendServiceList include Google::Apis::Core::Hashable @@ -1294,7 +1920,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1318,10 +1948,146 @@ module Google end end + # + class BackendServicesScopedList + include Google::Apis::Core::Hashable + + # List of BackendServices contained in this scope. + # Corresponds to the JSON property `backendServices` + # @return [Array] + attr_accessor :backend_services + + # Informational warning which replaces the list of backend services when the + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::BackendServicesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_services = args[:backend_services] if args.key?(:backend_services) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of backend services when the + # list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is on the + # internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone who is + # authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. For + # example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the users + # of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + # class CacheInvalidationRule include Google::Apis::Core::Hashable + # If set, this invalidation rule will only apply to requests with a Host header + # matching host. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # # Corresponds to the JSON property `path` # @return [String] @@ -1333,10 +2099,412 @@ module Google # Update properties of this object def update!(**args) + @host = args[:host] if args.key?(:host) @path = args[:path] if args.key?(:path) end end + # Message containing what to include in the cache key for a request for Cloud + # CDN. + class CacheKeyPolicy + include Google::Apis::Core::Hashable + + # If true, requests to different hosts will be cached separately. + # Corresponds to the JSON property `includeHost` + # @return [Boolean] + attr_accessor :include_host + alias_method :include_host?, :include_host + + # If true, http and https requests will be cached separately. + # Corresponds to the JSON property `includeProtocol` + # @return [Boolean] + attr_accessor :include_protocol + alias_method :include_protocol?, :include_protocol + + # If true, include query string parameters in the cache key according to + # query_string_whitelist and query_string_blacklist. If neither is set, the + # entire query string will be included. If false, the query string will be + # excluded from the cache key entirely. + # Corresponds to the JSON property `includeQueryString` + # @return [Boolean] + attr_accessor :include_query_string + alias_method :include_query_string?, :include_query_string + + # Names of query string parameters to exclude in cache keys. All other + # parameters will be included. Either specify query_string_whitelist or + # query_string_blacklist, not both. '&' and '=' will be percent encoded and not + # treated as delimiters. + # Corresponds to the JSON property `queryStringBlacklist` + # @return [Array] + attr_accessor :query_string_blacklist + + # Names of query string parameters to include in cache keys. All other + # parameters will be excluded. Either specify query_string_whitelist or + # query_string_blacklist, not both. '&' and '=' will be percent encoded and not + # treated as delimiters. + # Corresponds to the JSON property `queryStringWhitelist` + # @return [Array] + attr_accessor :query_string_whitelist + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_host = args[:include_host] if args.key?(:include_host) + @include_protocol = args[:include_protocol] if args.key?(:include_protocol) + @include_query_string = args[:include_query_string] if args.key?(:include_query_string) + @query_string_blacklist = args[:query_string_blacklist] if args.key?(:query_string_blacklist) + @query_string_whitelist = args[:query_string_whitelist] if args.key?(:query_string_whitelist) + end + end + + # A usage-commitment with a start / end time. Users create commitments for + # particular resources (e.g. memory). Actual usage is first deducted from + # available commitments made prior, perhaps at a reduced price (as laid out in + # the commitment). + class Commitment + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] Commitment end time in RFC3339 text format. + # Corresponds to the JSON property `endTimestamp` + # @return [String] + attr_accessor :end_timestamp + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] Type of the resource. Always compute#commitment for commitments. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The plan for this commitment, which determines duration and discount rate. The + # currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 + # years). + # Corresponds to the JSON property `plan` + # @return [String] + attr_accessor :plan + + # [Output Only] URL of the region where this commitment may be used. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # List of commitment amounts for particular resources. Note that VCPU and MEMORY + # resource commitments must occur together. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # [Output Only] Commitment start time in RFC3339 text format. + # Corresponds to the JSON property `startTimestamp` + # @return [String] + attr_accessor :start_timestamp + + # [Output Only] Status of the commitment with regards to eventual expiration ( + # each commitment has an end-date defined). One of the following values: + # NOT_YET_ACTIVE, ACTIVE, EXPIRED. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # [Output Only] An optional, human-readable explanation of the status. + # Corresponds to the JSON property `statusMessage` + # @return [String] + attr_accessor :status_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @plan = args[:plan] if args.key?(:plan) + @region = args[:region] if args.key?(:region) + @resources = args[:resources] if args.key?(:resources) + @self_link = args[:self_link] if args.key?(:self_link) + @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) + @status = args[:status] if args.key?(:status) + @status_message = args[:status_message] if args.key?(:status_message) + end + end + + # + class CommitmentAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Commitments by scope. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#commitmentAggregatedList for + # aggregated lists of commitments. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of Commitment resources. + class CommitmentList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of Commitment resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#commitmentList for lists of + # commitments. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class CommitmentsScopedList + include Google::Apis::Core::Hashable + + # [Output Only] List of commitments contained in this scope. + # Corresponds to the JSON property `commitments` + # @return [Array] + attr_accessor :commitments + + # [Output Only] Informational warning which replaces the list of commitments + # when the list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeBeta::CommitmentsScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @commitments = args[:commitments] if args.key?(:commitments) + @warning = args[:warning] if args.key?(:warning) + end + + # [Output Only] Informational warning which replaces the list of commitments + # when the list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # Trusted attributes supplied by any service that owns resources and uses the + # IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + # Message containing connection draining configuration. class ConnectionDraining include Google::Apis::Core::Hashable @@ -1427,20 +2595,23 @@ module Google class DeprecationStatus include Google::Apis::Core::Hashable - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DELETED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DELETED. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `deleted` # @return [String] attr_accessor :deleted - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DEPRECATED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DEPRECATED. This is only informational and the status + # will not change unless the client explicitly changes it. # Corresponds to the JSON property `deprecated` # @return [String] attr_accessor :deprecated - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to OBSOLETE. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to OBSOLETE. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `obsolete` # @return [String] attr_accessor :obsolete @@ -1517,8 +2688,7 @@ module Google attr_accessor :label_fingerprint # Labels to apply to this disk. These can be later modified by the setLabels - # method. Each label key/value pair must comply with RFC1035. Label values may - # be empty. + # method. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -1626,8 +2796,7 @@ module Google # @return [String] attr_accessor :source_snapshot_id - # [Output Only] The status of disk creation. Applicable statuses includes: - # CREATING, FAILED, READY, RESTORING. + # [Output Only] The status of disk creation. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -1713,7 +2882,8 @@ module Google # requests. If the number of results is larger than maxResults, use the # nextPageToken as a value for the query parameter pageToken in the next list # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. + # continue paging through the results. Acceptable values are 0 to 500, inclusive. + # (Default: 500) # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1741,13 +2911,12 @@ module Google class DiskList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of persistent disks. + # A list of Disk resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1757,11 +2926,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] This token allows you to get the next page of results for list - # requests. If the number of results is larger than maxResults, use the - # nextPageToken as a value for the query parameter pageToken in the next list - # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. + # This token allows you to get the next page of results for list requests. If + # the number of results is larger than maxResults, use the nextPageToken as a + # value for the query parameter pageToken in the next list request. Subsequent + # list requests will have their own nextPageToken to continue paging through the + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2205,12 +3374,32 @@ module Google # @return [String] attr_accessor :creation_timestamp + # The list of DENY rules specified by this firewall. Each rule specifies a + # protocol and port-range tuple that describes a permitted connection. + # Corresponds to the JSON property `denied` + # @return [Array] + attr_accessor :denied + # An optional description of this resource. Provide this property when you # create the resource. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description + # If destination ranges are specified, the firewall will apply only to traffic + # that has destination IP address in these ranges. These ranges must be + # expressed in CIDR format. Only IPv4 is supported. + # Corresponds to the JSON property `destinationRanges` + # @return [Array] + attr_accessor :destination_ranges + + # Direction of traffic to which this firewall applies; default is INGRESS. Note: + # For INGRESS traffic, it is NOT supported to specify destinationRanges; For + # EGRESS traffic, it is NOT supported to specify sourceRanges OR sourceTags. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -2245,6 +3434,15 @@ module Google # @return [String] attr_accessor :network + # Priority for this rule. This is an integer between 0 and 65535, both inclusive. + # When not specified, the value assumed is 1000. Relative priorities determine + # precedence of conflicting rules. Lower value of priority implies higher + # precedence (eg, a rule with priority 0 has higher precedence than a rule with + # priority 1). DENY rules take precedence over ALLOW rules having equal priority. + # Corresponds to the JSON property `priority` + # @return [Fixnum] + attr_accessor :priority + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -2256,7 +3454,7 @@ module Google # properties are set, the firewall will apply to traffic that has source IP # address within sourceRanges OR the source IP that belongs to a tag listed in # the sourceTags property. The connection does not need to match both properties - # for the firewall to apply. + # for the firewall to apply. Only IPv4 is supported. # Corresponds to the JSON property `sourceRanges` # @return [Array] attr_accessor :source_ranges @@ -2289,11 +3487,15 @@ module Google def update!(**args) @allowed = args[:allowed] if args.key?(:allowed) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @denied = args[:denied] if args.key?(:denied) @description = args[:description] if args.key?(:description) + @destination_ranges = args[:destination_ranges] if args.key?(:destination_ranges) + @direction = args[:direction] if args.key?(:direction) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) + @priority = args[:priority] if args.key?(:priority) @self_link = args[:self_link] if args.key?(:self_link) @source_ranges = args[:source_ranges] if args.key?(:source_ranges) @source_tags = args[:source_tags] if args.key?(:source_tags) @@ -2330,6 +3532,37 @@ module Google @ports = args[:ports] if args.key?(:ports) end end + + # + class Denied + include Google::Apis::Core::Hashable + + # The IP protocol to which this rule applies. The protocol type is required when + # creating a firewall rule. This value can either be one of the following well + # known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol + # number. + # Corresponds to the JSON property `IPProtocol` + # @return [String] + attr_accessor :ip_protocol + + # An optional list of ports to which this rule applies. This field is only + # applicable for UDP or TCP protocol. Each entry must be either an integer or a + # range. If not specified, this rule applies to connections through any port. + # Example inputs include: ["22"], ["80","443"], and ["12345-12349"]. + # Corresponds to the JSON property `ports` + # @return [Array] + attr_accessor :ports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @ports = args[:ports] if args.key?(:ports) + end + end end # Contains a list of firewalls. @@ -2388,7 +3621,7 @@ module Google include Google::Apis::Core::Hashable # The IP address that this forwarding rule is serving on behalf of. - # For global forwarding rules, the address must be a global IP; for regional + # For global forwarding rules, the address must be a global IP. For regional # forwarding rules, the address must live in the same region as the forwarding # rule. By default, this field is empty and an ephemeral IP from the same scope ( # global or regional) will be assigned. @@ -2396,18 +3629,25 @@ module Google # address belonging to the network/subnetwork configured for the forwarding rule. # A reserved address cannot be used. If the field is empty, the IP address will # be automatically allocated from the internal IP range of the subnetwork or - # network configured for this forwarding rule. + # network configured for this forwarding rule. Only IPv4 is supported. # Corresponds to the JSON property `IPAddress` # @return [String] attr_accessor :ip_address # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # AH, SCTP or ICMP. - # When the load balancing scheme is INTERNAL] + attr_accessor :ports + # [Output Only] URL of the region where the regional forwarding rule resides. # This field is not applicable to global forwarding rules. # Corresponds to the JSON property `region` @@ -2460,12 +3727,22 @@ module Google # @return [String] attr_accessor :self_link + # This field is not used for external load balancing. + # For internal load balancing, this field identifies the subnetwork that the + # load balanced IP should belong to for this Forwarding Rule. + # If the network specified is in auto subnet mode, this field is optional. + # However, if the network is in custom subnet mode, a subnetwork must be + # specified. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + # The URL of the target resource to receive the matched traffic. For regional # forwarding rules, this target must live in the same region as the forwarding - # rule. For global forwarding rules, this target must be a global - # TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of - # a type appropriate to the target object. For example, TargetHttpProxy requires - # HTTP traffic, and TargetHttpsProxy requires HTTPS traffic. + # rule. For global forwarding rules, this target must be a global load balancing + # resource. The forwarded traffic must be of a type appropriate to the target + # object. For example, TargetHttpProxy requires HTTP traffic, and + # TargetHttpsProxy requires HTTPS traffic. # This field is not used for internal load balancing. # Corresponds to the JSON property `target` # @return [String] @@ -2479,14 +3756,19 @@ module Google def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @backend_service = args[:backend_service] if args.key?(:backend_service) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme) @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) @port_range = args[:port_range] if args.key?(:port_range) + @ports = args[:ports] if args.key?(:ports) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @target = args[:target] if args.key?(:target) end end @@ -2713,38 +3995,17 @@ module Google end end - # - class Http2HealthCheck + # Guest OS features. + class GuestOsFeature include Google::Apis::Core::Hashable - # The value of the host header in the HTTP/2 health check request. If left empty - # (default value), the IP on behalf of which this health check is performed will - # be used. - # Corresponds to the JSON property `host` + # The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is + # supported. For newer Windows images, the server might also populate this + # property with the value WINDOWS to indicate that this is a Windows image. This + # value is purely informational and does not enable or disable any features. + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :host - - # The TCP port number for the health check request. The default value is 443. - # Corresponds to the JSON property `port` - # @return [Fixnum] - attr_accessor :port - - # Port name as defined in InstanceGroup#NamedPort#name. If both port and - # port_name are defined, port takes precedence. - # Corresponds to the JSON property `portName` - # @return [String] - attr_accessor :port_name - - # Specifies the type of proxy header to append before sending data to the - # backend, either NONE or PROXY_V1. The default is NONE. - # Corresponds to the JSON property `proxyHeader` - # @return [String] - attr_accessor :proxy_header - - # The request path of the HTTP/2 health check request. The default value is /. - # Corresponds to the JSON property `requestPath` - # @return [String] - attr_accessor :request_path + attr_accessor :type def initialize(**args) update!(**args) @@ -2752,11 +4013,7 @@ module Google # Update properties of this object def update!(**args) - @host = args[:host] if args.key?(:host) - @port = args[:port] if args.key?(:port) - @port_name = args[:port_name] if args.key?(:port_name) - @proxy_header = args[:proxy_header] if args.key?(:proxy_header) - @request_path = args[:request_path] if args.key?(:request_path) + @type = args[:type] if args.key?(:type) end end @@ -2772,6 +4029,7 @@ module Google attr_accessor :host # The TCP port number for the health check request. The default value is 80. + # Valid values are 1 through 65535. # Corresponds to the JSON property `port` # @return [Fixnum] attr_accessor :port @@ -2819,6 +4077,7 @@ module Google attr_accessor :host # The TCP port number for the health check request. The default value is 443. + # Valid values are 1 through 65535. # Corresponds to the JSON property `port` # @return [Fixnum] attr_accessor :port @@ -2882,11 +4141,6 @@ module Google # @return [Fixnum] attr_accessor :healthy_threshold - # - # Corresponds to the JSON property `http2HealthCheck` - # @return [Google::Apis::ComputeBeta::Http2HealthCheck] - attr_accessor :http2_health_check - # # Corresponds to the JSON property `httpHealthCheck` # @return [Google::Apis::ComputeBeta::HttpHealthCheck] @@ -2940,13 +4194,18 @@ module Google # @return [Fixnum] attr_accessor :timeout_sec - # Specifies the type of the healthCheck, either TCP, UDP, SSL, HTTP, HTTPS or - # HTTP2. If not specified, the default is TCP. Exactly one of the protocol- - # specific health check field must be specified, which must match type field. + # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not + # specified, the default is TCP. Exactly one of the protocol-specific health + # check field must be specified, which must match type field. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type + # + # Corresponds to the JSON property `udpHealthCheck` + # @return [Google::Apis::ComputeBeta::UdpHealthCheck] + attr_accessor :udp_health_check + # A so-far healthy instance will be marked unhealthy after this many consecutive # failures. The default value is 2. # Corresponds to the JSON property `unhealthyThreshold` @@ -2963,7 +4222,6 @@ module Google @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) - @http2_health_check = args[:http2_health_check] if args.key?(:http2_health_check) @http_health_check = args[:http_health_check] if args.key?(:http_health_check) @https_health_check = args[:https_health_check] if args.key?(:https_health_check) @id = args[:id] if args.key?(:id) @@ -2974,6 +4232,7 @@ module Google @tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check) @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec) @type = args[:type] if args.key?(:type) + @udp_health_check = args[:udp_health_check] if args.key?(:udp_health_check) @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) end end @@ -3467,6 +4726,19 @@ module Google # @return [String] attr_accessor :family + # A list of features to enable on the guest OS. Applicable for bootable images + # only. Currently, only one feature can be enabled, VIRTIO_SCSCI_MULTIQUEUE, + # which allows each virtual CPU to have its own queue. For Windows images, you + # can only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0. + # 1621 or higher. Linux images with kernel versions 3.17 and higher will support + # VIRTIO_SCSCI_MULTIQUEUE. + # For new Windows images, the server might also populate this field with the + # value WINDOWS, to indicate that this is a Windows image. This value is purely + # informational and does not enable or disable any features. + # Corresponds to the JSON property `guestOsFeatures` + # @return [Array] + attr_accessor :guest_os_features + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -3494,8 +4766,7 @@ module Google attr_accessor :label_fingerprint # Labels to apply to this image. These can be later modified by the setLabels - # method. Each label key/value pair must comply with RFC1035. Label values may - # be empty. + # method. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -3525,12 +4796,12 @@ module Google # @return [String] attr_accessor :self_link - # URL of the The source disk used to create this image. This can be a full or - # valid partial URL. You must provide either this property or the rawDisk.source + # URL of the source disk used to create this image. This can be a full or valid + # partial URL. You must provide either this property or the rawDisk.source # property but not both to create an image. For example, the following are valid # values: - # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk - # - projects/project/zones/zone/disk/disk + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk + # - projects/project/zones/zone/disks/disk # - zones/zone/disks/disk # Corresponds to the JSON property `sourceDisk` # @return [String] @@ -3574,6 +4845,7 @@ module Google @description = args[:description] if args.key?(:description) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @family = args[:family] if args.key?(:family) + @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features) @id = args[:id] if args.key?(:id) @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key) @kind = args[:kind] if args.key?(:kind) @@ -3708,6 +4980,11 @@ module Google # @return [Array] attr_accessor :disks + # + # Corresponds to the JSON property `guestAccelerators` + # @return [Array] + attr_accessor :guest_accelerators + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -3730,8 +5007,7 @@ module Google attr_accessor :label_fingerprint # Labels to apply to this instance. These can be later modified by the setLabels - # method. Each label key/value pair must comply with RFC1035. Label values may - # be empty. + # method. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -3786,15 +5062,16 @@ module Google attr_accessor :self_link # A list of service accounts, with their specified scopes, authorized for this - # instance. Service accounts generate access tokens that can be accessed through - # the metadata server and used to authenticate applications on the instance. See + # instance. Only one service account per VM instance is supported. + # Service accounts generate access tokens that can be accessed through the + # metadata server and used to authenticate applications on the instance. See # Service Accounts for more information. # Corresponds to the JSON property `serviceAccounts` # @return [Array] attr_accessor :service_accounts # [Output Only] The status of the instance. One of the following values: - # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDED, SUSPENDING, and + # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and # TERMINATED. # Corresponds to the JSON property `status` # @return [String] @@ -3826,6 +5103,7 @@ module Google @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @disks = args[:disks] if args.key?(:disks) + @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint) @@ -3916,8 +5194,8 @@ module Google # @return [String] attr_accessor :fingerprint - # [Output Only] A unique identifier for this resource type. The server generates - # this identifier. + # [Output Only] A unique identifier for this instance group, generated by the + # server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -4131,8 +5409,8 @@ module Google # @return [String] attr_accessor :description - # The action to perform in case of zone failure (set only for Regional instance - # group managers). + # The action to perform in case of zone failure. Only one value is supported, + # NO_FAILOVER. The default is NO_FAILOVER. # Corresponds to the JSON property `failoverAction` # @return [String] attr_accessor :failover_action @@ -4191,6 +5469,14 @@ module Google # @return [String] attr_accessor :self_link + # Service account will be used as credentials for all operations performed by + # managed instance group on instances. The service accounts needs all + # permissions required to create and delete instances. When not specified, the + # service account `projectNumber`@cloudservices.gserviceaccount.com will be used. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + # The URLs for all TargetPool resources to which instances in the instanceGroup # field are added. The target pools automatically apply to all of the instances # in the managed instance group. @@ -4232,6 +5518,7 @@ module Google @named_ports = args[:named_ports] if args.key?(:named_ports) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @service_account = args[:service_account] if args.key?(:service_account) @target_pools = args[:target_pools] if args.key?(:target_pools) @target_size = args[:target_size] if args.key?(:target_size) @zone = args[:zone] if args.key?(:zone) @@ -4262,7 +5549,7 @@ module Google # [Output Only] The number of instances that the managed instance group will # attempt to create. The group attempts to create each instance only once. If # the group fails to create any of these instances, it decreases the group's - # target_size value accordingly. + # targetSize value accordingly. # Corresponds to the JSON property `creatingWithoutRetries` # @return [Fixnum] attr_accessor :creating_without_retries @@ -4371,7 +5658,7 @@ module Google class InstanceGroupManagerAutoHealingPolicy include Google::Apis::Core::Hashable - # The URL for the HealthCheck that signals autohealing. + # The URL for the health check that signals autohealing. # Corresponds to the JSON property `healthCheck` # @return [String] attr_accessor :health_check @@ -4427,7 +5714,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5072,8 +6359,7 @@ module Google # @return [Array] attr_accessor :disks - # Labels to apply to instances that are created from this template. Each label - # key/value pair must comply with RFC1035. Label values may be empty. + # Labels to apply to instances that are created from this template. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -5395,14 +6681,7 @@ module Google # @return [String] attr_accessor :label_fingerprint - # A list of labels to apply for this instance. Changing instance labels will - # also change the instance tags. - # Each label key & value must 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. For example, "webserver-frontend": " - # images". A label value can also be empty (e.g. "my-label": ""). + # # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -5418,6 +6697,25 @@ module Google end end + # + class InstancesSetMachineResourcesRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `guestAccelerators` + # @return [Array] + attr_accessor :guest_accelerators + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators) + end + end + # class InstancesSetMachineTypeRequest include Google::Apis::Core::Hashable @@ -5439,6 +6737,31 @@ module Google end end + # + class InstancesSetServiceAccountRequest + include Google::Apis::Core::Hashable + + # Email address of the service account. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The list of scopes to be made available for this service account. + # Corresponds to the JSON property `scopes` + # @return [Array] + attr_accessor :scopes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @scopes = args[:scopes] if args.key?(:scopes) + end + end + # class InstancesStartWithEncryptionKeyRequest include Google::Apis::Core::Hashable @@ -5503,6 +6826,50 @@ module Google end end + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::ComputeBeta::LogConfigCounterOptions] + attr_accessor :counter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter = args[:counter] if args.key?(:counter) + end + end + + # Options for counters + class LogConfigCounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + # A Machine Type resource. class MachineType include Google::Apis::Core::Hashable @@ -5839,6 +7206,11 @@ module Google # @return [Google::Apis::ComputeBeta::ManagedInstanceLastAttempt] attr_accessor :last_attempt + # [Output Only] Intended version of this instance. + # Corresponds to the JSON property `version` + # @return [Google::Apis::ComputeBeta::ManagedInstanceVersion] + attr_accessor :version + def initialize(**args) update!(**args) end @@ -5850,6 +7222,7 @@ module Google @instance = args[:instance] if args.key?(:instance) @instance_status = args[:instance_status] if args.key?(:instance_status) @last_attempt = args[:last_attempt] if args.key?(:last_attempt) + @version = args[:version] if args.key?(:version) end end @@ -5925,6 +7298,32 @@ module Google end end + # + class ManagedInstanceVersion + include Google::Apis::Core::Hashable + + # [Output Only] The intended template of the instance. This field is empty when + # current_action is one of ` DELETING, ABANDONING `. + # Corresponds to the JSON property `instanceTemplate` + # @return [String] + attr_accessor :instance_template + + # [Output Only] Name of the version. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_template = args[:instance_template] if args.key?(:instance_template) + @name = args[:name] if args.key?(:name) + end + end + # A metadata key/value entry. class Metadata include Google::Apis::Core::Hashable @@ -6078,6 +7477,11 @@ module Google # @return [String] attr_accessor :name + # [Output Only] List of network peerings for the resource. + # Corresponds to the JSON property `peerings` + # @return [Array] + attr_accessor :peerings + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -6103,6 +7507,7 @@ module Google @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) + @peerings = args[:peerings] if args.key?(:peerings) @self_link = args[:self_link] if args.key?(:self_link) @subnetworks = args[:subnetworks] if args.key?(:subnetworks) end @@ -6119,16 +7524,30 @@ module Google # @return [Array] attr_accessor :access_configs + # An array of alias IP ranges for this network interface. Can only be specified + # for network interfaces on subnet-mode networks. + # Corresponds to the JSON property `aliasIpRanges` + # @return [Array] + attr_accessor :alias_ip_ranges + + # [Output Only] Type of the resource. Always compute#networkInterface for + # network interfaces. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + # [Output Only] The name of the network interface, generated by the server. For # network devices, these are eth0, eth1, etc. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # URL of the network resource for this instance. This is required for creating - # an instance but optional when creating a firewall rule. If not specified when - # creating a firewall rule, the default network is used: - # global/networks/default + # URL of the network resource for this instance. When creating an instance, if + # neither the network nor the subnetwork is specified, the default network + # global/networks/default is used; if the network is not specified but the + # subnetwork is specified, the network is inferred. + # This field is optional when creating a firewall rule. If not specified when + # creating a firewall rule, the default network global/networks/default is used. # If you specify this property, you can specify the network as a full or partial # URL. For example, the following are all valid URLs: # - https://www.googleapis.com/compute/v1/projects/project/global/networks/ @@ -6166,6 +7585,8 @@ module Google # Update properties of this object def update!(**args) @access_configs = args[:access_configs] if args.key?(:access_configs) + @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges) + @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @network_ip = args[:network_ip] if args.key?(:network_ip) @@ -6203,7 +7624,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for this resource . + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -6222,6 +7643,117 @@ module Google end end + # A network peering attached to a network resource. The message includes the + # peering name, peer network, peering state, and a flag indicating whether + # Google Compute Engine should automatically create routes for the peering. + class NetworkPeering + include Google::Apis::Core::Hashable + + # Whether full mesh connectivity is created and managed automatically. When it + # is set to true, Google Compute Engine will automatically create and manage the + # routes between two networks when the state is ACTIVE. Otherwise, user needs to + # create routes manually to route packets to peer network. + # Corresponds to the JSON property `autoCreateRoutes` + # @return [Boolean] + attr_accessor :auto_create_routes + alias_method :auto_create_routes?, :auto_create_routes + + # Name of this peering. Provided by the client when the peering is created. The + # name must comply with RFC1035. Specifically, the name must be 1-63 characters + # long and match regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the + # first character must be a lowercase letter, and all the following characters + # must be a dash, lowercase letter, or digit, except the last character, which + # cannot be a dash. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The URL of the peer network. It can be either full URL or partial URL. The + # peer network may belong to a different project. If the partial URL does not + # contain project, it is assumed that the peer network is in the same project as + # the current network. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # [Output Only] State for the peering. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # [Output Only] Details about the current state of the peering. + # Corresponds to the JSON property `stateDetails` + # @return [String] + attr_accessor :state_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes) + @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) + @state = args[:state] if args.key?(:state) + @state_details = args[:state_details] if args.key?(:state_details) + end + end + + # + class NetworksAddPeeringRequest + include Google::Apis::Core::Hashable + + # Whether Google Compute Engine manages the routes automatically. + # Corresponds to the JSON property `autoCreateRoutes` + # @return [Boolean] + attr_accessor :auto_create_routes + alias_method :auto_create_routes?, :auto_create_routes + + # Name of the peering, which should conform to RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # URL of the peer network. It can be either full URL or partial URL. The peer + # network may belong to a different project. If the partial URL does not contain + # project, it is assumed that the peer network is in the same project as the + # current network. + # Corresponds to the JSON property `peerNetwork` + # @return [String] + attr_accessor :peer_network + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_create_routes = args[:auto_create_routes] if args.key?(:auto_create_routes) + @name = args[:name] if args.key?(:name) + @peer_network = args[:peer_network] if args.key?(:peer_network) + end + end + + # + class NetworksRemovePeeringRequest + include Google::Apis::Core::Hashable + + # Name of the peering, which should conform to RFC1035. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + # An Operation resource, used to manage asynchronous API requests. class Operation include Google::Apis::Core::Hashable @@ -6231,7 +7763,7 @@ module Google # @return [String] attr_accessor :client_operation_id - # [Output Only] Creation timestamp in RFC3339 text format. + # [Deprecated] This field is deprecated. # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp @@ -6339,7 +7871,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -6774,6 +8308,84 @@ module Google end end + # Defines an Identity and Access Management (IAM) policy. It is used to specify + # access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of ` + # members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", + # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: + # sean@example.com"] ` ] ` + # For a description of IAM and its features, see the [IAM developer's guide]( + # https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. Multiple `bindings` must not be + # specified for the same `role`. `bindings` with no members will result in an + # error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: - All matching LOG rules are always applied. - If any DENY/ + # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if any ALLOW/ + # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if no rule applies, + # permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + # A Project resource. Projects can only be created in the Google Cloud Platform # Console. Unless marked otherwise, values can only be modified in the console. class Project @@ -6838,6 +8450,12 @@ module Google # @return [Google::Apis::ComputeBeta::UsageExportLocation] attr_accessor :usage_export_location + # [Output Only] The role this project has in a Cross Project Network (XPN) + # configuration. Currently only HOST projects are differentiated. + # Corresponds to the JSON property `xpnProjectStatus` + # @return [String] + attr_accessor :xpn_project_status + def initialize(**args) update!(**args) end @@ -6855,6 +8473,102 @@ module Google @quotas = args[:quotas] if args.key?(:quotas) @self_link = args[:self_link] if args.key?(:self_link) @usage_export_location = args[:usage_export_location] if args.key?(:usage_export_location) + @xpn_project_status = args[:xpn_project_status] if args.key?(:xpn_project_status) + end + end + + # + class ProjectsDisableXpnResourceRequest + include Google::Apis::Core::Hashable + + # XpnResourceId + # Corresponds to the JSON property `xpnResource` + # @return [Google::Apis::ComputeBeta::XpnResourceId] + attr_accessor :xpn_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @xpn_resource = args[:xpn_resource] if args.key?(:xpn_resource) + end + end + + # + class ProjectsEnableXpnResourceRequest + include Google::Apis::Core::Hashable + + # XpnResourceId + # Corresponds to the JSON property `xpnResource` + # @return [Google::Apis::ComputeBeta::XpnResourceId] + attr_accessor :xpn_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @xpn_resource = args[:xpn_resource] if args.key?(:xpn_resource) + end + end + + # + class ProjectsGetXpnResources + include Google::Apis::Core::Hashable + + # [Output Only] Type of resource. Always compute#projectsGetXpnResources for + # lists of XPN resources. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # XPN resources attached to this project as their XPN host. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resources = args[:resources] if args.key?(:resources) + end + end + + # + class ProjectsListXpnHostsRequest + include Google::Apis::Core::Hashable + + # Optional organization ID managed by Cloud Resource Manager, for which to list + # XPN host projects. If not specified, the organization will be inferred from + # the project. + # Corresponds to the JSON property `organization` + # @return [String] + attr_accessor :organization + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @organization = args[:organization] if args.key?(:organization) end end @@ -7399,11 +9113,37 @@ module Google end end + # Commitment for a particular resource (a Commitment is composed of one or more + # of these). + class ResourceCommitment + include Google::Apis::Core::Hashable + + # The amount of the resource purchased (in a type-dependent unit, such as bytes). + # Corresponds to the JSON property `amount` + # @return [String] + attr_accessor :amount + + # Type of resource for which this commitment applies. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount = args[:amount] if args.key?(:amount) + @type = args[:type] if args.key?(:type) + end + end + # class ResourceGroupReference include Google::Apis::Core::Hashable - # A URI referencing one of the resource views listed in the backend service. + # A URI referencing one of the instance groups listed in the backend service. # Corresponds to the JSON property `group` # @return [String] attr_accessor :group @@ -7428,8 +9168,8 @@ module Google # priority value. If there is still a tie, it uses the layer three and four # packet headers to select just one of the remaining matching routes. The packet # is then forwarded as specified by the nextHop field of the winning route - - # either to another instance destination, a instance gateway or a Google Compute - # Engine-operated gateway. + # either to another instance destination, an instance gateway, or a Google + # Compute Engine-operated gateway. # Packets that do not match any route in the sending instance's routing table # are dropped. class Route @@ -7446,7 +9186,8 @@ module Google # @return [String] attr_accessor :description - # The destination range of outgoing packets that this route applies to. + # The destination range of outgoing packets that this route applies to. Only + # IPv4 is supported. # Corresponds to the JSON property `destRange` # @return [String] attr_accessor :dest_range @@ -7492,6 +9233,7 @@ module Google attr_accessor :next_hop_instance # The network IP address of an instance that should handle matching packets. + # Only IPv4 is supported. # Corresponds to the JSON property `nextHopIp` # @return [String] attr_accessor :next_hop_ip @@ -7501,6 +9243,12 @@ module Google # @return [String] attr_accessor :next_hop_network + # [Output Only] The network peering name that should handle matching packets, + # which should conform to RFC1035. + # Corresponds to the JSON property `nextHopPeering` + # @return [String] + attr_accessor :next_hop_peering + # The URL to a VpnTunnel that should handle matching packets. # Corresponds to the JSON property `nextHopVpnTunnel` # @return [String] @@ -7547,6 +9295,7 @@ module Google @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance) @next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip) @next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network) + @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering) @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel) @priority = args[:priority] if args.key?(:priority) @self_link = args[:self_link] if args.key?(:self_link) @@ -7700,7 +9449,7 @@ module Google attr_accessor :id # Router interfaces. Each interface requires either one linked resource (e.g. - # linkedVpnTunnel) or IP address and IP address range (e.g. ipRange). + # linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both. # Corresponds to the JSON property `interfaces` # @return [Array] attr_accessor :interfaces @@ -7840,7 +9589,8 @@ module Google # @return [String] attr_accessor :interface_name - # IP address of the interface inside Google Cloud Platform. + # IP address of the interface inside Google Cloud Platform. Only IPv4 is + # supported. # Corresponds to the JSON property `ipAddress` # @return [String] attr_accessor :ip_address @@ -7857,7 +9607,7 @@ module Google # @return [Fixnum] attr_accessor :peer_asn - # IP address of the BGP interface outside Google cloud. + # IP address of the BGP interface outside Google cloud. Only IPv4 is supported. # Corresponds to the JSON property `peerIpAddress` # @return [String] attr_accessor :peer_ip_address @@ -7942,7 +9692,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -8201,11 +9951,72 @@ module Google end end + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/ + # AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `ins` + # @return [Array] + attr_accessor :ins + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfigs` + # @return [Array] + attr_accessor :log_configs + + # If one or more 'not_in' clauses are specified, the rule matches if the + # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # Corresponds to the JSON property `notIns` + # @return [Array] + attr_accessor :not_ins + + # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value + # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets. + # *') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @ins = args[:ins] if args.key?(:ins) + @log_configs = args[:log_configs] if args.key?(:log_configs) + @not_ins = args[:not_ins] if args.key?(:not_ins) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # class SslHealthCheck include Google::Apis::Core::Hashable # The TCP port number for the health check request. The default value is 443. + # Valid values are 1 through 65535. # Corresponds to the JSON property `port` # @return [Fixnum] attr_accessor :port @@ -8311,15 +10122,15 @@ module Google # @return [String] attr_accessor :next - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # [Output Only] The starting byte position of the output that was returned. This - # should match the start parameter sent with the request. If the serial console - # output exceeds the size of the buffer, older output will be overwritten by - # newer content and the start values will be mismatched. + # The starting byte position of the output that was returned. This should match + # the start parameter sent with the request. If the serial console output + # exceeds the size of the buffer, older output will be overwritten by newer + # content and the start values will be mismatched. # Corresponds to the JSON property `start` # @return [String] attr_accessor :start @@ -8406,8 +10217,7 @@ module Google attr_accessor :label_fingerprint # Labels to apply to this snapshot. These can be later modified by the setLabels - # method. Each label key/value pair must comply with RFC1035. Label values may - # be empty. + # method. Label values may be empty. # Corresponds to the JSON property `labels` # @return [Hash] attr_accessor :labels @@ -8597,7 +10407,7 @@ module Google # @return [String] attr_accessor :name - # A write-only private key in PEM format. Only insert RPCs will include this + # A write-only private key in PEM format. Only insert requests will include this # field. # Corresponds to the JSON property `privateKey` # @return [String] @@ -8701,7 +10511,8 @@ module Google # The range of internal addresses that are owned by this subnetwork. Provide # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192. - # 168.0.0/16. Ranges must be unique and non-overlapping within a network. + # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only + # IPv4 is supported. # Corresponds to the JSON property `ipCidrRange` # @return [String] attr_accessor :ip_cidr_range @@ -8729,11 +10540,26 @@ module Google # @return [String] attr_accessor :network + # Whether the VMs in this subnet can access Google services without assigned + # external IP addresses. + # Corresponds to the JSON property `privateIpGoogleAccess` + # @return [Boolean] + attr_accessor :private_ip_google_access + alias_method :private_ip_google_access?, :private_ip_google_access + # URL of the region where the Subnetwork resides. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region + # An array of configurations for secondary IP ranges for VM instances contained + # in this subnetwork. The primary IP of such VM must belong to the primary + # ipCidrRange of the subnetwork. The alias IPs may belong to either primary or + # secondary ranges. + # Corresponds to the JSON property `secondaryIpRanges` + # @return [Array] + attr_accessor :secondary_ip_ranges + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -8753,7 +10579,9 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) + @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access) @region = args[:region] if args.key?(:region) + @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges) @self_link = args[:self_link] if args.key?(:self_link) end end @@ -8856,6 +10684,36 @@ module Google end end + # Represents a secondary IP range of a subnetwork. + class SubnetworkSecondaryRange + include Google::Apis::Core::Hashable + + # The range of IP addresses belonging to this subnetwork secondary range. + # Provide this property when you create the subnetwork. Ranges must be unique + # and non-overlapping with all primary and secondary IP ranges within a network. + # Only IPv4 is supported. + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + # The name associated with this subnetwork secondary range, used when adding an + # alias IP range to a VM instance. The name must be 1-63 characters long, and + # comply with RFC1035. The name must be unique within the subnetwork. + # Corresponds to the JSON property `rangeName` + # @return [String] + attr_accessor :range_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + @range_name = args[:range_name] if args.key?(:range_name) + end + end + # class SubnetworksExpandIpCidrRangeRequest include Google::Apis::Core::Hashable @@ -8967,11 +10825,32 @@ module Google end end + # + class SubnetworksSetPrivateIpGoogleAccessRequest + include Google::Apis::Core::Hashable + + # + # Corresponds to the JSON property `privateIpGoogleAccess` + # @return [Boolean] + attr_accessor :private_ip_google_access + alias_method :private_ip_google_access?, :private_ip_google_access + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access) + end + end + # class TcpHealthCheck include Google::Apis::Core::Hashable # The TCP port number for the health check request. The default value is 80. + # Valid values are 1 through 65535. # Corresponds to the JSON property `port` # @return [Fixnum] attr_accessor :port @@ -9576,8 +11455,8 @@ module Google end end - # A TargetPool resource. This resource defines a pool of instances, associated - # HttpHealthCheck resources, and the fallback target pool. + # A TargetPool resource. This resource defines a pool of instances, an + # associated HttpHealthCheck resource, and the fallback target pool. class TargetPool include Google::Apis::Core::Hashable @@ -9623,9 +11502,10 @@ module Google # @return [Float] attr_accessor :failover_ratio - # A list of URLs to the HttpHealthCheck resource. A member instance in this pool - # is considered healthy if and only if all specified health checks pass. An - # empty list means all member instances will be considered healthy at all times. + # The URL of the HttpHealthCheck resource. A member instance in this pool is + # considered healthy if and only if the health checks pass. An empty list means + # all member instances will be considered healthy at all times. Only + # HttpHealthChecks are supported. Only one health check may be specified. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -9824,7 +11704,7 @@ module Google class AddTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # A list of HttpHealthCheck resources to add to the target pool. + # The HttpHealthCheck to add to the target pool. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -10200,6 +12080,163 @@ module Google end end + # + class TargetTcpProxiesSetBackendServiceRequest + include Google::Apis::Core::Hashable + + # The URL of the new BackendService resource for the targetTcpProxy. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + end + end + + # + class TargetTcpProxiesSetProxyHeaderRequest + include Google::Apis::Core::Hashable + + # The new type of proxy header to append before sending data to the backend. + # NONE or PROXY_V1 are allowed. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + end + end + + # A TargetTcpProxy resource. This resource defines a TCP proxy. + class TargetTcpProxy + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] Type of the resource. Always compute#targetTcpProxy for target + # TCP proxies. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # URL to the BackendService resource. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @self_link = args[:self_link] if args.key?(:self_link) + @service = args[:service] if args.key?(:service) + end + end + + # Contains a list of TargetTcpProxy resources. + class TargetTcpProxyList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of TargetTcpProxy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # Represents a Target VPN gateway resource. class TargetVpnGateway include Google::Apis::Core::Hashable @@ -10321,7 +12358,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -10370,7 +12407,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -10556,6 +12593,47 @@ module Google end end + # + class UdpHealthCheck + include Google::Apis::Core::Hashable + + # The UDP port number for the health check request. Valid values are 1 through + # 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Port name as defined in InstanceGroup#NamedPort#name. If both port and + # port_name are defined, port takes precedence. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + # Raw data of request to send in payload of UDP packet. It is an error if this + # is empty. The request data can only be ASCII. + # Corresponds to the JSON property `request` + # @return [String] + attr_accessor :request + + # The bytes to match against the beginning of the response data. It is an error + # if this is empty. The response data can only be ASCII. + # Corresponds to the JSON property `response` + # @return [String] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @port = args[:port] if args.key?(:port) + @port_name = args[:port_name] if args.key?(:port_name) + @request = args[:request] if args.key?(:request) + @response = args[:response] if args.key?(:response) + end + end + # A UrlMap resource. This resource defines the mapping from URL to the # BackendService resource, based on the "longest-match" of the URL's host and # path. @@ -10905,7 +12983,7 @@ module Google # Local traffic selector to use when establishing the VPN tunnel with peer VPN # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/ - # 16. The ranges should be disjoint. + # 16. The ranges should be disjoint. Only IPv4 is supported. # Corresponds to the JSON property `localTrafficSelector` # @return [Array] attr_accessor :local_traffic_selector @@ -10920,7 +12998,7 @@ module Google # @return [String] attr_accessor :name - # IP address of the peer VPN gateway. + # IP address of the peer VPN gateway. Only IPv4 is supported. # Corresponds to the JSON property `peerIp` # @return [String] attr_accessor :peer_ip @@ -10932,7 +13010,7 @@ module Google # Remote traffic selectors to use when establishing the VPN tunnel with peer VPN # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/ - # 16. The ranges should be disjoint. + # 16. The ranges should be disjoint. Only IPv4 is supported. # Corresponds to the JSON property `remoteTrafficSelector` # @return [Array] attr_accessor :remote_traffic_selector @@ -11072,7 +13150,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -11182,6 +13260,81 @@ module Google end end + # + class XpnHostList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] A list of XPN host project URLs. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] Type of resource. Always compute#xpnHostList for lists of XPN + # hosts. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # XpnResourceId + class XpnResourceId + include Google::Apis::Core::Hashable + + # The ID of the XPN resource. In the case of projects, this field matches the + # project's name, not the canonical ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The type of the XPN resource. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @type = args[:type] if args.key?(:type) + end + end + # A Zone resource. class Zone include Google::Apis::Core::Hashable diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 4b53b31c1..c39115458 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -22,6 +22,48 @@ module Google module Apis module ComputeBeta + class AcceleratorConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorTypeAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorTypeList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorTypesScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class AccessConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -64,6 +106,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AliasIpRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AttachedDisk class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +124,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Autoscaler class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,30 +208,132 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackendBucketList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendService class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendServiceAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackendServiceCdnPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceGroupHealth class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendServiceIap + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendServicesScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CacheInvalidationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CacheKeyPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Commitment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CommitmentAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CommitmentList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CommitmentsScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConnectionDraining class Representation < Google::Apis::Core::JsonRepresentation; end @@ -288,6 +450,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + + class Denied + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -340,7 +508,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Http2HealthCheck + class GuestOsFeature class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -670,12 +838,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstancesSetMachineResourcesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstancesSetMachineTypeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class InstancesSetServiceAccountRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstancesStartWithEncryptionKeyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -688,6 +868,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfigCounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end @@ -748,6 +940,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ManagedInstanceVersion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Metadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -784,6 +982,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NetworkPeering + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NetworksAddPeeringRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NetworksRemovePeeringRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -856,12 +1072,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Project class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ProjectsDisableXpnResourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectsEnableXpnResourceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectsGetXpnResources + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectsListXpnHostsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Quota class Representation < Google::Apis::Core::JsonRepresentation; end @@ -958,6 +1204,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResourceCommitment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ResourceGroupReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1066,6 +1318,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SslHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1132,6 +1390,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubnetworkSecondaryRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubnetworksExpandIpCidrRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1156,6 +1420,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubnetworksSetPrivateIpGoogleAccessRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TcpHealthCheck class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1336,6 +1606,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetTcpProxiesSetBackendServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetTcpProxiesSetProxyHeaderRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetTcpProxy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetTcpProxyList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetVpnGateway class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1390,6 +1684,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class UdpHealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class UrlMap class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1474,6 +1774,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class XpnHostList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class XpnResourceId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Zone class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1492,6 +1804,82 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AcceleratorConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accelerator_count, as: 'acceleratorCount' + property :accelerator_type, as: 'acceleratorType' + end + end + + class AcceleratorType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation + + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :maximum_cards_per_instance, as: 'maximumCardsPerInstance' + property :name, as: 'name' + property :self_link, as: 'selfLink' + property :zone, as: 'zone' + end + end + + class AcceleratorTypeAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeBeta::AcceleratorTypesScopedList, decorator: Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class AcceleratorTypeList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::AcceleratorType, decorator: Google::Apis::ComputeBeta::AcceleratorType::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class AcceleratorTypesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accelerator_types, as: 'acceleratorTypes', class: Google::Apis::ComputeBeta::AcceleratorType, decorator: Google::Apis::ComputeBeta::AcceleratorType::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning, decorator: Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class AccessConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1570,6 +1958,14 @@ module Google end end + class AliasIpRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + property :subnetwork_range_name, as: 'subnetworkRangeName' + end + end + class AttachedDisk # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1603,6 +1999,24 @@ module Google end end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ComputeBeta::AuditLogConfig, decorator: Google::Apis::ComputeBeta::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + class Autoscaler # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1736,12 +2150,40 @@ module Google end end + class BackendBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_name, as: 'bucketName' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :enable_cdn, as: 'enableCdn' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :self_link, as: 'selfLink' + end + end + + class BackendBucketList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::BackendBucket, decorator: Google::Apis::ComputeBeta::BackendBucket::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class BackendService # @private class Representation < Google::Apis::Core::JsonRepresentation property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec' collection :backends, as: 'backends', class: Google::Apis::ComputeBeta::Backend, decorator: Google::Apis::ComputeBeta::Backend::Representation + property :cdn_policy, as: 'cdnPolicy', class: Google::Apis::ComputeBeta::BackendServiceCdnPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceCdnPolicy::Representation + property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeBeta::ConnectionDraining, decorator: Google::Apis::ComputeBeta::ConnectionDraining::Representation property :creation_timestamp, as: 'creationTimestamp' @@ -1749,8 +2191,11 @@ module Google property :enable_cdn, as: 'enableCDN' property :fingerprint, :base64 => true, as: 'fingerprint' collection :health_checks, as: 'healthChecks' + property :iap, as: 'iap', class: Google::Apis::ComputeBeta::BackendServiceIap, decorator: Google::Apis::ComputeBeta::BackendServiceIap::Representation + property :id, as: 'id' property :kind, as: 'kind' + property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' property :port, as: 'port' property :port_name, as: 'portName' @@ -1762,6 +2207,26 @@ module Google end end + class BackendServiceAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeBeta::BackendServicesScopedList, decorator: Google::Apis::ComputeBeta::BackendServicesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class BackendServiceCdnPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_key_policy, as: 'cacheKeyPolicy', class: Google::Apis::ComputeBeta::CacheKeyPolicy, decorator: Google::Apis::ComputeBeta::CacheKeyPolicy::Representation + + end + end + class BackendServiceGroupHealth # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1771,6 +2236,16 @@ module Google end end + class BackendServiceIap + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :oauth2_client_id, as: 'oauth2ClientId' + property :oauth2_client_secret, as: 'oauth2ClientSecret' + property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256' + end + end + class BackendServiceList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1783,13 +2258,145 @@ module Google end end + class BackendServicesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :backend_services, as: 'backendServices', class: Google::Apis::ComputeBeta::BackendService, decorator: Google::Apis::ComputeBeta::BackendService::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::BackendServicesScopedList::Warning, decorator: Google::Apis::ComputeBeta::BackendServicesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::BackendServicesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::BackendServicesScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + class CacheInvalidationRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' property :path, as: 'path' end end + class CacheKeyPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_host, as: 'includeHost' + property :include_protocol, as: 'includeProtocol' + property :include_query_string, as: 'includeQueryString' + collection :query_string_blacklist, as: 'queryStringBlacklist' + collection :query_string_whitelist, as: 'queryStringWhitelist' + end + end + + class Commitment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :end_timestamp, as: 'endTimestamp' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :plan, as: 'plan' + property :region, as: 'region' + collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::ResourceCommitment, decorator: Google::Apis::ComputeBeta::ResourceCommitment::Representation + + property :self_link, as: 'selfLink' + property :start_timestamp, as: 'startTimestamp' + property :status, as: 'status' + property :status_message, as: 'statusMessage' + end + end + + class CommitmentAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeBeta::CommitmentsScopedList, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class CommitmentList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::Commitment, decorator: Google::Apis::ComputeBeta::Commitment::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class CommitmentsScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :commitments, as: 'commitments', class: Google::Apis::ComputeBeta::Commitment, decorator: Google::Apis::ComputeBeta::Commitment::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::CommitmentsScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + class ConnectionDraining # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2002,11 +2609,16 @@ module Google collection :allowed, as: 'allowed', class: Google::Apis::ComputeBeta::Firewall::Allowed, decorator: Google::Apis::ComputeBeta::Firewall::Allowed::Representation property :creation_timestamp, as: 'creationTimestamp' + collection :denied, as: 'denied', class: Google::Apis::ComputeBeta::Firewall::Denied, decorator: Google::Apis::ComputeBeta::Firewall::Denied::Representation + property :description, as: 'description' + collection :destination_ranges, as: 'destinationRanges' + property :direction, as: 'direction' property :id, as: 'id' property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' + property :priority, as: 'priority' property :self_link, as: 'selfLink' collection :source_ranges, as: 'sourceRanges' collection :source_tags, as: 'sourceTags' @@ -2020,6 +2632,14 @@ module Google collection :ports, as: 'ports' end end + + class Denied + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_protocol, as: 'IPProtocol' + collection :ports, as: 'ports' + end + end end class FirewallList @@ -2039,14 +2659,19 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :ip_address, as: 'IPAddress' property :ip_protocol, as: 'IPProtocol' + property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :id, as: 'id' property :kind, as: 'kind' + property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' + property :network, as: 'network' property :port_range, as: 'portRange' + collection :ports, as: 'ports' property :region, as: 'region' property :self_link, as: 'selfLink' + property :subnetwork, as: 'subnetwork' property :target, as: 'target' end end @@ -2111,14 +2736,10 @@ module Google end end - class Http2HealthCheck + class GuestOsFeature # @private class Representation < Google::Apis::Core::JsonRepresentation - property :host, as: 'host' - property :port, as: 'port' - property :port_name, as: 'portName' - property :proxy_header, as: 'proxyHeader' - property :request_path, as: 'requestPath' + property :type, as: 'type' end end @@ -2151,8 +2772,6 @@ module Google property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :healthy_threshold, as: 'healthyThreshold' - property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation - property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeBeta::HttpHealthCheck, decorator: Google::Apis::ComputeBeta::HttpHealthCheck::Representation property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeBeta::HttpsHealthCheck, decorator: Google::Apis::ComputeBeta::HttpsHealthCheck::Representation @@ -2167,6 +2786,8 @@ module Google property :timeout_sec, as: 'timeoutSec' property :type, as: 'type' + property :udp_health_check, as: 'udpHealthCheck', class: Google::Apis::ComputeBeta::UdpHealthCheck, decorator: Google::Apis::ComputeBeta::UdpHealthCheck::Representation + property :unhealthy_threshold, as: 'unhealthyThreshold' end end @@ -2281,6 +2902,8 @@ module Google property :description, as: 'description' property :disk_size_gb, as: 'diskSizeGb' property :family, as: 'family' + collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation + property :id, as: 'id' property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation @@ -2331,6 +2954,8 @@ module Google property :description, as: 'description' collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation + collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation + property :id, as: 'id' property :kind, as: 'kind' property :label_fingerprint, :base64 => true, as: 'labelFingerprint' @@ -2431,6 +3056,7 @@ module Google property :region, as: 'region' property :self_link, as: 'selfLink' + property :service_account, as: 'serviceAccount' collection :target_pools, as: 'targetPools' property :target_size, as: 'targetSize' property :zone, as: 'zone' @@ -2764,6 +3390,14 @@ module Google end end + class InstancesSetMachineResourcesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeBeta::AcceleratorConfig, decorator: Google::Apis::ComputeBeta::AcceleratorConfig::Representation + + end + end + class InstancesSetMachineTypeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2771,6 +3405,14 @@ module Google end end + class InstancesSetServiceAccountRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + collection :scopes, as: 'scopes' + end + end + class InstancesStartWithEncryptionKeyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2789,6 +3431,22 @@ module Google end end + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counter, as: 'counter', class: Google::Apis::ComputeBeta::LogConfigCounterOptions, decorator: Google::Apis::ComputeBeta::LogConfigCounterOptions::Representation + + end + end + + class LogConfigCounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + class MachineType # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2870,6 +3528,8 @@ module Google property :instance_status, as: 'instanceStatus' property :last_attempt, as: 'lastAttempt', class: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt, decorator: Google::Apis::ComputeBeta::ManagedInstanceLastAttempt::Representation + property :version, as: 'version', class: Google::Apis::ComputeBeta::ManagedInstanceVersion, decorator: Google::Apis::ComputeBeta::ManagedInstanceVersion::Representation + end end @@ -2898,6 +3558,14 @@ module Google end end + class ManagedInstanceVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_template, as: 'instanceTemplate' + property :name, as: 'name' + end + end + class Metadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2935,6 +3603,8 @@ module Google property :id, as: 'id' property :kind, as: 'kind' property :name, as: 'name' + collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation + property :self_link, as: 'selfLink' collection :subnetworks, as: 'subnetworks' end @@ -2945,6 +3615,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :access_configs, as: 'accessConfigs', class: Google::Apis::ComputeBeta::AccessConfig, decorator: Google::Apis::ComputeBeta::AccessConfig::Representation + collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeBeta::AliasIpRange, decorator: Google::Apis::ComputeBeta::AliasIpRange::Representation + + property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' property :network_ip, as: 'networkIP' @@ -2964,6 +3637,33 @@ module Google end end + class NetworkPeering + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_create_routes, as: 'autoCreateRoutes' + property :name, as: 'name' + property :network, as: 'network' + property :state, as: 'state' + property :state_details, as: 'stateDetails' + end + end + + class NetworksAddPeeringRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_create_routes, as: 'autoCreateRoutes' + property :name, as: 'name' + property :peer_network, as: 'peerNetwork' + end + end + + class NetworksRemovePeeringRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3101,6 +3801,21 @@ module Google end end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ComputeBeta::AuditConfig, decorator: Google::Apis::ComputeBeta::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::ComputeBeta::Rule, decorator: Google::Apis::ComputeBeta::Rule::Representation + + property :version, as: 'version' + end + end + class Project # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3118,6 +3833,40 @@ module Google property :self_link, as: 'selfLink' property :usage_export_location, as: 'usageExportLocation', class: Google::Apis::ComputeBeta::UsageExportLocation, decorator: Google::Apis::ComputeBeta::UsageExportLocation::Representation + property :xpn_project_status, as: 'xpnProjectStatus' + end + end + + class ProjectsDisableXpnResourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :xpn_resource, as: 'xpnResource', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation + + end + end + + class ProjectsEnableXpnResourceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :xpn_resource, as: 'xpnResource', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation + + end + end + + class ProjectsGetXpnResources + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :resources, as: 'resources', class: Google::Apis::ComputeBeta::XpnResourceId, decorator: Google::Apis::ComputeBeta::XpnResourceId::Representation + + end + end + + class ProjectsListXpnHostsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :organization, as: 'organization' end end @@ -3277,6 +4026,14 @@ module Google end end + class ResourceCommitment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :amount, as: 'amount' + property :type, as: 'type' + end + end + class ResourceGroupReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3298,6 +4055,7 @@ module Google property :next_hop_instance, as: 'nextHopInstance' property :next_hop_ip, as: 'nextHopIp' property :next_hop_network, as: 'nextHopNetwork' + property :next_hop_peering, as: 'nextHopPeering' property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel' property :priority, as: 'priority' property :self_link, as: 'selfLink' @@ -3482,6 +4240,21 @@ module Google end end + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::ComputeBeta::Condition, decorator: Google::Apis::ComputeBeta::Condition::Representation + + property :description, as: 'description' + collection :ins, as: 'ins' + collection :log_configs, as: 'logConfigs', class: Google::Apis::ComputeBeta::LogConfig, decorator: Google::Apis::ComputeBeta::LogConfig::Representation + + collection :not_ins, as: 'notIns' + collection :permissions, as: 'permissions' + end + end + class SslHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3595,7 +4368,10 @@ module Google property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' + property :private_ip_google_access, as: 'privateIpGoogleAccess' property :region, as: 'region' + collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::SubnetworkSecondaryRange::Representation + property :self_link, as: 'selfLink' end end @@ -3624,6 +4400,14 @@ module Google end end + class SubnetworkSecondaryRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + property :range_name, as: 'rangeName' + end + end + class SubnetworksExpandIpCidrRangeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3659,6 +4443,13 @@ module Google end end + class SubnetworksSetPrivateIpGoogleAccessRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :private_ip_google_access, as: 'privateIpGoogleAccess' + end + end + class TcpHealthCheck # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3969,6 +4760,46 @@ module Google end end + class TargetTcpProxiesSetBackendServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + end + end + + class TargetTcpProxiesSetProxyHeaderRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :proxy_header, as: 'proxyHeader' + end + end + + class TargetTcpProxy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :proxy_header, as: 'proxyHeader' + property :self_link, as: 'selfLink' + property :service, as: 'service' + end + end + + class TargetTcpProxyList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::TargetTcpProxy, decorator: Google::Apis::ComputeBeta::TargetTcpProxy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class TargetVpnGateway # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4062,6 +4893,16 @@ module Google end end + class UdpHealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :port, as: 'port' + property :port_name, as: 'portName' + property :request, as: 'request' + property :response, as: 'response' + end + end + class UrlMap # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -4221,6 +5062,26 @@ module Google end end + class XpnHostList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeBeta::Project, decorator: Google::Apis::ComputeBeta::Project::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class XpnResourceId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :type, as: 'type' + end + end + class Zone # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 1e7afe192..6f9f7406b 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -52,6 +52,205 @@ module Google super('https://www.googleapis.com/', 'compute/beta/projects/') end + # Retrieves an aggregated list of accelerator types. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def aggregated_accelerator_type_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) + command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation + command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified accelerator type. Get a list of available accelerator + # types by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] accelerator_type + # Name of the accelerator type to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::AcceleratorType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::AcceleratorType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) + command.response_representation = Google::Apis::ComputeBeta::AcceleratorType::Representation + command.response_class = Google::Apis::ComputeBeta::AcceleratorType + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['acceleratorType'] = accelerator_type unless accelerator_type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of accelerator types available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::AcceleratorTypeList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::AcceleratorTypeList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options) + command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeList::Representation + command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeList + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an aggregated list of addresses. # @param [String] project # Project ID for this request. @@ -80,7 +279,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -283,7 +482,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -405,7 +604,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -609,7 +808,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -793,6 +992,362 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified BackendBucket resource. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified BackendBucket resource. Get a list of available backend + # buckets by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendBucket] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendBucket] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.response_class = Google::Apis::ComputeBeta::BackendBucket + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a BackendBucket resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_backend_bucket(project, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of BackendBucket resources available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendBucketList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendBucketList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command.response_representation = Google::Apis::ComputeBeta::BackendBucketList::Representation + command.response_class = Google::Apis::ComputeBeta::BackendBucketList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified BackendBucket resource with the data included in the + # request. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified BackendBucket resource with the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeBeta::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of all BackendService resources, regional and global, + # available to the specified project. + # @param [String] project + # Name of the project scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendServiceAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendServiceAggregatedList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/backendServices', options) + command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation + command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified BackendService resource. # @param [String] project # Project ID for this request. @@ -980,7 +1535,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -1029,10 +1584,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the BackendService resource. There are several - # restrictions and guidelines to keep in mind when updating a backend service. - # Read Restrictions and Guidelines for more information. This method supports - # patch semantics. + # Updates the specified BackendService resource with the data included in the + # request. There are several restrictions and guidelines to keep in mind when + # updating a backend service. Read Restrictions and Guidelines for more + # information. This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1114,9 +1669,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the BackendService resource. There are several - # restrictions and guidelines to keep in mind when updating a backend service. - # Read Restrictions and Guidelines for more information. + # Updates the specified BackendService resource with the data included in the + # request. There are several restrictions and guidelines to keep in mind when + # updating a backend service. Read Restrictions and Guidelines for more + # information. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1157,6 +1713,83 @@ module Google execute_or_queue_command(command, &block) end + # Retrieves an aggregated list of commitments. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::CommitmentAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::CommitmentAggregatedList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def aggregated_commitment_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/commitments', options) + command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation + command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an aggregated list of disk types. # @param [String] project # Project ID for this request. @@ -1185,7 +1818,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -1306,7 +1939,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -1384,7 +2017,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -1441,6 +2074,7 @@ module Google # @param [String] disk # Name of the persistent disk to snapshot. # @param [Google::Apis::ComputeBeta::Snapshot] snapshot_object + # @param [Boolean] guest_flush # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1462,7 +2096,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_disk_snapshot(project, zone, disk, snapshot_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object @@ -1471,6 +2105,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? + command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1639,7 +2274,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -1965,7 +2600,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -2019,7 +2654,7 @@ module Google # @param [String] project # Project ID for this request. # @param [String] firewall - # Name of the firewall rule to update. + # Name of the firewall rule to patch. # @param [Google::Apis::ComputeBeta::Firewall] firewall_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2166,7 +2801,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -2370,7 +3005,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -2653,7 +3288,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -2888,7 +3523,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -3048,7 +3683,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -3200,7 +3835,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -3393,7 +4028,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -3712,7 +4347,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -4031,7 +4666,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -4434,7 +5069,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -4645,7 +5280,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -4906,7 +5541,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -4967,6 +5602,10 @@ module Google # The name of the zone where the managed instance group is located. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -4988,13 +5627,65 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a managed instance group using the information that you specify in the + # request. This operation is marked as DONE when the group is updated even if + # the instances in the group have not yet been updated. You must separately + # verify the status of the individual instances with the listmanagedinstances + # method. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where you want to create the managed instance group. + # @param [String] instance_group_manager + # The name of the instance group manager. + # @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation + command.request_object = instance_group_manager_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -5336,6 +6027,54 @@ module Google execute_or_queue_command(command, &block) end + # Updates a managed instance group using the information that you specify in the + # request. This operation is marked as DONE when the group is updated even if + # the instances in the group have not yet been updated. You must separately + # verify the status of the individual instances with the listmanagedinstances + # method. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone where you want to create the managed instance group. + # @param [String] instance_group_manager + # The name of the instance group manager. + # @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation + command.request_object = instance_group_manager_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Adds a list of instances to the specified instance group. All of the instances # in the instance group must be in the same network/subnetwork. Read Adding # instances for more information. @@ -5410,7 +6149,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -5617,7 +6356,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -5701,7 +6440,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -6037,7 +6776,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -6202,7 +6941,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -6480,9 +7219,10 @@ module Google # @param [Fixnum] port # Specifies which COM or serial port to retrieve data from. # @param [String] start - # For the initial request, leave this field unspecified. For subsequent calls, - # this field should be set to the next value that was returned in the previous - # call. + # Returns output starting from a specific byte position. Use this to page + # through output when the output is too large to return in a single request. For + # the initial request, leave this field unspecified. For subsequent calls, this + # field should be set to the next value returned in the previous call. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -6591,7 +7331,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -6774,6 +7514,51 @@ module Google execute_or_queue_command(command, &block) end + # Changes the number and/or type of accelerator for a stopped instance to the + # values specified in the request. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] instance + # Name of the instance scoping this request. + # @param [Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest] instances_set_machine_resources_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options) + command.request_representation = Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest::Representation + command.request_object = instances_set_machine_resources_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instance'] = instance unless instance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Changes the machine type for a stopped instance to the machine type specified # in the request. # @param [String] project @@ -6907,6 +7692,51 @@ module Google execute_or_queue_command(command, &block) end + # Sets the service account on the instance. For more information, read Changing + # the service account and access scopes for an instance. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] instance + # Name of the instance resource to start. + # @param [Google::Apis::ComputeBeta::InstancesSetServiceAccountRequest] instances_set_service_account_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) + command.request_representation = Google::Apis::ComputeBeta::InstancesSetServiceAccountRequest::Representation + command.request_object = instances_set_service_account_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instance'] = instance unless instance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Sets tags for the specified instance to the data included in the request. # @param [String] project # Project ID for this request. @@ -7195,7 +8025,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -7316,7 +8146,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -7366,6 +8196,47 @@ module Google execute_or_queue_command(command, &block) end + # Adds a peering to the specified network. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network resource to add peering to. + # @param [Google::Apis::ComputeBeta::NetworksAddPeeringRequest] networks_add_peering_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def add_network_peering(project, network, networks_add_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options) + command.request_representation = Google::Apis::ComputeBeta::NetworksAddPeeringRequest::Representation + command.request_object = networks_add_peering_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['network'] = network unless network.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified network. # @param [String] project # Project ID for this request. @@ -7510,7 +8381,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -7559,6 +8430,47 @@ module Google execute_or_queue_command(command, &block) end + # Removes a peering from the specified network. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network resource to remove peering from. + # @param [Google::Apis::ComputeBeta::NetworksRemovePeeringRequest] networks_remove_peering_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def remove_network_peering(project, network, networks_remove_peering_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options) + command.request_representation = Google::Apis::ComputeBeta::NetworksRemovePeeringRequest::Representation + command.request_object = networks_remove_peering_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['network'] = network unless network.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Switches the network mode from auto subnet mode to custom subnet mode. # @param [String] project # Project ID for this request. @@ -7638,6 +8550,154 @@ module Google execute_or_queue_command(command, &block) end + # Disable this project as an XPN host project. + # @param [String] project + # Project ID for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def disable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/disableXpnHost', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Disable an XPN resource associated with this host project. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest] projects_disable_xpn_resource_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/disableXpnResource', options) + command.request_representation = Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest::Representation + command.request_object = projects_disable_xpn_resource_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enable this project as an XPN host project. + # @param [String] project + # Project ID for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def enable_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/enableXpnHost', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enable XPN resource (a.k.a service project or service folder in the future) + # for a host project, so that subnetworks in the host project can be used by + # instances in the service project or folder. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest] projects_enable_xpn_resource_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/enableXpnResource', options) + command.request_representation = Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest::Representation + command.request_object = projects_enable_xpn_resource_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified Project resource. # @param [String] project # Project ID for this request. @@ -7673,6 +8733,131 @@ module Google execute_or_queue_command(command, &block) end + # Get the XPN host project that this project links to. May be empty if no link + # exists. + # @param [String] project + # Project ID for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/getXpnHost', options) + command.response_representation = Google::Apis::ComputeBeta::Project::Representation + command.response_class = Google::Apis::ComputeBeta::Project + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Get XPN resources associated with this host project. + # @param [String] project + # Project ID for this request. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::ProjectsGetXpnResources] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::ProjectsGetXpnResources] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/getXpnResources', options) + command.response_representation = Google::Apis::ComputeBeta::ProjectsGetXpnResources::Representation + command.response_class = Google::Apis::ComputeBeta::ProjectsGetXpnResources + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # List all XPN host projects visible to the user in an organization. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest] projects_list_xpn_hosts_request_object + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::XpnHostList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::XpnHostList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/listXpnHosts', options) + command.request_representation = Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest::Representation + command.request_object = projects_list_xpn_hosts_request_object + command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation + command.response_class = Google::Apis::ComputeBeta::XpnHostList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Moves a persistent disk from one zone to another. # @param [String] project # Project ID for this request. @@ -7982,7 +9167,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -8032,7 +9217,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates a autoscaler in the specified project using the data included in the + # Updates an autoscaler in the specified project using the data included in the # request. This method supports patch semantics. # @param [String] project # Project ID for this request. @@ -8121,7 +9306,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates a autoscaler in the specified project using the data included in the + # Updates an autoscaler in the specified project using the data included in the # request. # @param [String] project # Project ID for this request. @@ -8166,6 +9351,558 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified regional BackendService resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified regional BackendService resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendService] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendService] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options) + command.response_representation = Google::Apis::ComputeBeta::BackendService::Representation + command.response_class = Google::Apis::ComputeBeta::BackendService + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets the most recent health check results for this regional BackendService. + # @param [String] project + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to which the queried instance belongs. + # @param [Google::Apis::ComputeBeta::ResourceGroupReference] resource_group_reference_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendServiceGroupHealth] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendServiceGroupHealth] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options) + command.request_representation = Google::Apis::ComputeBeta::ResourceGroupReference::Representation + command.request_object = resource_group_reference_object + command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation + command.response_class = Google::Apis::ComputeBeta::BackendServiceGroupHealth + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a regional BackendService resource in the specified project using the + # data included in the request. There are several restrictions and guidelines to + # keep in mind when creating a regional backend service. Read Restrictions and + # Guidelines for more information. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeBeta::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_backend_service(project, region, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) + command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of regional BackendService resources available to the + # specified project in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::BackendServiceList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::BackendServiceList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options) + command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation + command.response_class = Google::Apis::ComputeBeta::BackendServiceList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified regional BackendService resource with the data included + # in the request. There are several restrictions and guidelines to keep in mind + # when updating a backend service. Read Restrictions and Guidelines for more + # information. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to update. + # @param [Google::Apis::ComputeBeta::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::TestPermissionsRequest] test_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation + command.response_class = Google::Apis::ComputeBeta::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified regional BackendService resource with the data included + # in the request. There are several restrictions and guidelines to keep in mind + # when updating a backend service. Read Restrictions and Guidelines for more + # information. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to update. + # @param [Google::Apis::ComputeBeta::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) + command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified commitment resource. Get a list of available commitments + # by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] commitment + # Name of the commitment to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Commitment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Commitment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options) + command.response_representation = Google::Apis::ComputeBeta::Commitment::Representation + command.response_class = Google::Apis::ComputeBeta::Commitment + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['commitment'] = commitment unless commitment.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates an commitment in the specified project using the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [Google::Apis::ComputeBeta::Commitment] commitment_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_commitment(project, region, commitment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/commitments', options) + command.request_representation = Google::Apis::ComputeBeta::Commitment::Representation + command.request_object = commitment_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of commitments contained within the specified region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::CommitmentList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::CommitmentList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/commitments', options) + command.response_representation = Google::Apis::ComputeBeta::CommitmentList::Representation + command.response_class = Google::Apis::ComputeBeta::CommitmentList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Schedules a group action to remove the specified instances from the managed # instance group. Abandoning an instance does not delete the instance, but it # does remove the instance from any target pools that are applied by the managed @@ -8309,7 +10046,7 @@ module Google execute_or_queue_command(command, &block) end - # Returns all of the details for the specified managed instance group. + # Returns all of the details about the specified managed instance group. # @param [String] project # Project ID for this request. # @param [String] region @@ -8427,7 +10164,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -8486,6 +10223,10 @@ module Google # Name of the region scoping this request. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -8507,13 +10248,65 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a managed instance group using the information that you specify in the + # request. This operation is marked as DONE when the group is updated even if + # the instances in the group have not yet been updated. You must separately + # verify the status of the individual instances with the listmanagedinstances + # method. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # The name of the instance group manager. + # @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation + command.request_object = instance_group_manager_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -8664,8 +10457,8 @@ module Google execute_or_queue_command(command, &block) end - # Sets the instance template to use when creating new instances in this group. - # Existing instances are not affected. + # Sets the instance template to use when creating new instances or recreating + # instances in this group. Existing instances are not affected. # @param [String] project # Project ID for this request. # @param [String] region @@ -8798,6 +10591,54 @@ module Google execute_or_queue_command(command, &block) end + # Updates a managed instance group using the information that you specify in the + # request. This operation is marked as DONE when the group is updated even if + # the instances in the group have not yet been updated. You must separately + # verify the status of the individual instances with the listmanagedinstances + # method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # The name of the instance group manager. + # @param [Google::Apis::ComputeBeta::InstanceGroupManager] instance_group_manager_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation + command.request_object = instance_group_manager_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified instance group resource. # @param [String] project # Project ID for this request. @@ -8870,7 +10711,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -8955,7 +10796,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -9206,7 +11047,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -9323,7 +11164,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -9400,7 +11241,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -9645,7 +11486,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -9695,8 +11536,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the Router resource. This method supports patch - # semantics. + # Updates the specified Router resource with the data included in the request. + # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] region @@ -9829,7 +11670,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the Router resource. + # Updates the specified Router resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -10017,7 +11858,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -10217,7 +12058,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -10494,7 +12335,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -10612,7 +12453,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -10788,6 +12629,48 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_subnetwork_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a subnetwork in the specified project using the data included in the # request. # @param [String] project @@ -10860,7 +12743,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -10910,6 +12793,96 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::ComputeBeta::Policy] policy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_subnetwork_iam_policy(project, region, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ComputeBeta::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::ComputeBeta::Policy::Representation + command.response_class = Google::Apis::ComputeBeta::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Set whether VMs in this subnet can access Google services without assigning + # external IP addresses through Cloudpath. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] subnetwork + # Name of the Subnetwork resource. + # @param [Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest] subnetworks_set_private_ip_google_access_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) + command.request_representation = Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest::Representation + command.request_object = subnetworks_set_private_ip_google_access_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['subnetwork'] = subnetwork unless subnetwork.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. @@ -11099,7 +13072,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -11375,7 +13348,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -11575,7 +13548,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -11780,7 +13753,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -11990,7 +13963,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -12239,7 +14212,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -12613,7 +14586,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -12826,6 +14799,282 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified TargetTcpProxy resource. + # @param [String] project + # Project ID for this request. + # @param [String] target_tcp_proxy + # Name of the TargetTcpProxy resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified TargetTcpProxy resource. Get a list of available target + # TCP proxies by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] target_tcp_proxy + # Name of the TargetTcpProxy resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TargetTcpProxy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation + command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy + command.params['project'] = project unless project.nil? + command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a TargetTcpProxy resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeBeta::TargetTcpProxy] target_tcp_proxy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetTcpProxies', options) + command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation + command.request_object = target_tcp_proxy_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of TargetTcpProxy resources available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::TargetTcpProxyList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::TargetTcpProxyList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/targetTcpProxies', options) + command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation + command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes the BackendService for TargetTcpProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_tcp_proxy + # Name of the TargetTcpProxy resource whose BackendService resource is to be set. + # @param [Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest] target_tcp_proxies_set_backend_service_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) + command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest::Representation + command.request_object = target_tcp_proxies_set_backend_service_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes the ProxyHeaderType for TargetTcpProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_tcp_proxy + # Name of the TargetTcpProxy resource whose ProxyHeader is to be set. + # @param [Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest] target_tcp_proxies_set_proxy_header_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeBeta::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) + command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest::Representation + command.request_object = target_tcp_proxies_set_proxy_header_request_object + command.response_representation = Google::Apis::ComputeBeta::Operation::Representation + command.response_class = Google::Apis::ComputeBeta::Operation + command.params['project'] = project unless project.nil? + command.params['targetTcpProxy'] = target_tcp_proxy unless target_tcp_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. @@ -12854,7 +15103,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -13059,7 +15308,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -13339,7 +15588,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -13388,8 +15637,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the UrlMap resource. This method supports patch - # semantics. + # Updates the specified UrlMap resource with the data included in the request. + # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -13471,7 +15720,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the UrlMap resource. + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -13582,7 +15831,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -13787,7 +16036,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -13991,7 +16240,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. @@ -14108,7 +16357,7 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) # @param [String] order_by # Sorts list results by a certain order. By default, results are returned in # alphanumerical order based on the resource name. diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index eb385faa0..fafa8d5a2 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20160812' + REVISION = '20170302' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index bcf617f59..c722c92f0 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -69,7 +69,8 @@ module Google class Address include Google::Apis::Core::Hashable - # The static external IP address represented by this resource. + # The static external IP address represented by this resource. Only IPv4 is + # supported. # Corresponds to the JSON property `address` # @return [String] attr_accessor :address @@ -415,8 +416,12 @@ module Google attr_accessor :mode # Specifies a valid partial or full URL to an existing Persistent Disk resource. - # This field is only applicable for persistent disks. Note that for - # InstanceTemplate, it is just disk name, not URL for the disk. + # When creating a new instance, one of initializeParams.sourceImage or disks. + # source is required. + # If desired, you can also attach existing non-root persistent disks using this + # property. This field is only applicable for persistent disks. + # Note that for InstanceTemplate, specify the disk name, not the URL for the + # disk. # Corresponds to the JSON property `source` # @return [String] attr_accessor :source @@ -483,8 +488,8 @@ module Google # @return [String] attr_accessor :disk_type - # The source image used to create this disk. If the source image is deleted, - # this field will not be set. + # The source image to create this disk. When creating a new instance, one of + # initializeParams.sourceImage or disks.source is required. # To create a disk with one of the public operating system images, specify the # image by its family name. For example, specify family/debian-8 to use the # latest Debian 8 image: @@ -498,6 +503,7 @@ module Google # latest version of the image in that family. Replace the image name with family/ # family-name: # global/images/family/my-private-family + # If the source image is deleted later, this field will not be set. # Corresponds to the JSON property `sourceImage` # @return [String] attr_accessor :source_image @@ -565,6 +571,12 @@ module Google # @return [String] attr_accessor :name + # [Output Only] URL of the region where the instance group resides (for + # autoscalers living in regional scope). + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # [Output Only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -593,6 +605,7 @@ module Google @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) + @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @target = args[:target] if args.key?(:target) @zone = args[:zone] if args.key?(:zone) @@ -879,12 +892,12 @@ module Google class AutoscalingPolicyCustomMetricUtilization include Google::Apis::Core::Hashable - # The identifier of the Cloud Monitoring metric. The metric cannot have negative - # values and should be a utilization metric, which means that the number of - # virtual machines handling requests should increase or decrease proportionally - # to the metric. The metric must also have a label of compute.googleapis.com/ - # resource_id with the value of the instance's unique ID, although this alone - # does not guarantee that the metric is valid. + # The identifier of the Stackdriver Monitoring metric. The metric cannot have + # negative values and should be a utilization metric, which means that the + # number of virtual machines handling requests should increase or decrease + # proportionally to the metric. The metric must also have a label of compute. + # googleapis.com/resource_id with the value of the instance's unique ID, + # although this alone does not guarantee that the metric is valid. # For example, the following is a valid metric: # compute.googleapis.com/instance/network/received_bytes_count # The following is not a valid metric because it does not increase or decrease @@ -900,7 +913,7 @@ module Google # @return [Float] attr_accessor :utilization_target - # Defines how target utilization value is expressed for a Cloud Monitoring + # Defines how target utilization value is expressed for a Stackdriver Monitoring # metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, # the default is GAUGE. # Corresponds to the JSON property `utilizationTargetType` @@ -944,18 +957,19 @@ module Google class Backend include Google::Apis::Core::Hashable - # Specifies the balancing mode for this backend. For global HTTP(S) load - # balancing, the default is UTILIZATION. Valid values are UTILIZATION and RATE. + # Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL + # load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE + # (for HTTP(S)) and CONNECTION (for TCP/SSL). # This cannot be used for internal load balancing. # Corresponds to the JSON property `balancingMode` # @return [String] attr_accessor :balancing_mode - # A multiplier applied to the group's maximum servicing capacity (either - # UTILIZATION or RATE). Default value is 1, which means the group will serve up - # to 100% of its configured CPU or RPS (depending on balancingMode). A setting - # of 0 means the group is completely drained, offering 0% of its available CPU - # or RPS. Valid range is [0.0,1.0]. + # A multiplier applied to the group's maximum servicing capacity (based on + # UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group + # will serve up to 100% of its configured capacity (depending on balancingMode). + # A setting of 0 means the group is completely drained, offering 0% of its + # available Capacity. Valid range is [0.0,1.0]. # This cannot be used for internal load balancing. # Corresponds to the JSON property `capacityScaler` # @return [Float] @@ -980,6 +994,23 @@ module Google # @return [String] attr_accessor :group + # The max number of simultaneous connections for the group. Can be used with + # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either + # maxConnections or maxConnectionsPerInstance must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxConnections` + # @return [Fixnum] + attr_accessor :max_connections + + # The max number of simultaneous connections that a single backend instance can + # handle. This is used to calculate the capacity of the group. Can be used in + # either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either + # maxConnections or maxConnectionsPerInstance must be set. + # This cannot be used for internal load balancing. + # Corresponds to the JSON property `maxConnectionsPerInstance` + # @return [Fixnum] + attr_accessor :max_connections_per_instance + # The max requests per second (RPS) of the group. Can be used with either RATE # or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, # either maxRate or maxRatePerInstance must be set. @@ -1014,12 +1045,125 @@ module Google @capacity_scaler = args[:capacity_scaler] if args.key?(:capacity_scaler) @description = args[:description] if args.key?(:description) @group = args[:group] if args.key?(:group) + @max_connections = args[:max_connections] if args.key?(:max_connections) + @max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance) @max_rate = args[:max_rate] if args.key?(:max_rate) @max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance) @max_utilization = args[:max_utilization] if args.key?(:max_utilization) end end + # A BackendBucket resource. This resource defines a Cloud Storage bucket. + class BackendBucket + include Google::Apis::Core::Hashable + + # Cloud Storage bucket name. + # Corresponds to the JSON property `bucketName` + # @return [String] + attr_accessor :bucket_name + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional textual description of the resource; provided by the client when + # the resource is created. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, enable Cloud CDN for this BackendBucket. + # Corresponds to the JSON property `enableCdn` + # @return [Boolean] + attr_accessor :enable_cdn + alias_method :enable_cdn?, :enable_cdn + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Type of the resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_name = args[:bucket_name] if args.key?(:bucket_name) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of BackendBucket resources. + class BackendBucketList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of BackendBucket resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # A BackendService resource. This resource defines a group of backend virtual # machines and their serving capacity. class BackendService @@ -1038,6 +1182,11 @@ module Google # @return [Array] attr_accessor :backends + # Message containing connection draining configuration. + # Corresponds to the JSON property `connectionDraining` + # @return [Google::Apis::ComputeV1::ConnectionDraining] + attr_accessor :connection_draining + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -1085,6 +1234,11 @@ module Google # @return [String] attr_accessor :kind + # + # Corresponds to the JSON property `loadBalancingScheme` + # @return [String] + attr_accessor :load_balancing_scheme + # 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- @@ -1111,7 +1265,7 @@ module Google attr_accessor :port_name # The protocol this BackendService uses to communicate with backends. - # Possible values are HTTP, HTTPS, HTTP2, TCP and SSL. The default is HTTP. + # Possible values are HTTP, HTTPS, TCP, and SSL. The default is HTTP. # For internal load balancing, the possible values are TCP and UDP, and the # default is TCP. # Corresponds to the JSON property `protocol` @@ -1153,6 +1307,7 @@ module Google def update!(**args) @affinity_cookie_ttl_sec = args[:affinity_cookie_ttl_sec] if args.key?(:affinity_cookie_ttl_sec) @backends = args[:backends] if args.key?(:backends) + @connection_draining = args[:connection_draining] if args.key?(:connection_draining) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn) @@ -1160,6 +1315,7 @@ module Google @health_checks = args[:health_checks] if args.key?(:health_checks) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme) @name = args[:name] if args.key?(:name) @port = args[:port] if args.key?(:port) @port_name = args[:port_name] if args.key?(:port_name) @@ -1171,6 +1327,49 @@ module Google end end + # Contains a list of BackendServicesScopedList. + class BackendServiceAggregatedList + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource; defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A map of scoped BackendService lists. + # Corresponds to the JSON property `items` + # @return [Hash] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # class BackendServiceGroupHealth include Google::Apis::Core::Hashable @@ -1217,7 +1416,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] A token used to continue a truncated list request. + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1241,10 +1444,107 @@ module Google end end + # + class BackendServicesScopedList + include Google::Apis::Core::Hashable + + # List of BackendServices contained in this scope. + # Corresponds to the JSON property `backendServices` + # @return [Array] + attr_accessor :backend_services + + # Informational warning which replaces the list of backend services when the + # list is empty. + # Corresponds to the JSON property `warning` + # @return [Google::Apis::ComputeV1::BackendServicesScopedList::Warning] + attr_accessor :warning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @backend_services = args[:backend_services] if args.key?(:backend_services) + @warning = args[:warning] if args.key?(:warning) + end + + # Informational warning which replaces the list of backend services when the + # list is empty. + class Warning + include Google::Apis::Core::Hashable + + # [Output Only] A warning code, if applicable. For example, Compute Engine + # returns NO_RESULTS_ON_PAGE if there are no results in the response. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # [Output Only] Metadata about this warning in key: value format. For example: + # "data": [ ` "key": "scope", "value": "zones/us-east1-d" ` + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # [Output Only] A human-readable description of the warning code. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @data = args[:data] if args.key?(:data) + @message = args[:message] if args.key?(:message) + end + + # + class Datum + include Google::Apis::Core::Hashable + + # [Output Only] A key that provides more detail on the warning being returned. + # For example, for warnings where there are no results in a list request for a + # particular zone, this key might be scope and the key value might be the zone + # name. Other examples might be a key indicating a deprecated resource and a + # suggested replacement, or a warning about invalid network settings (for + # example, if an instance attempts to perform IP forwarding but is not enabled + # for IP forwarding). + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # [Output Only] A warning data value corresponding to the key. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) + end + end + end + end + # class CacheInvalidationRule include Google::Apis::Core::Hashable + # If set, this invalidation rule will only apply to requests with a Host header + # matching host. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + # # Corresponds to the JSON property `path` # @return [String] @@ -1256,10 +1556,31 @@ module Google # Update properties of this object def update!(**args) + @host = args[:host] if args.key?(:host) @path = args[:path] if args.key?(:path) end end + # Message containing connection draining configuration. + class ConnectionDraining + include Google::Apis::Core::Hashable + + # Time for which instance will be drained (not accept new connections, but still + # work to finish started). + # Corresponds to the JSON property `drainingTimeoutSec` + # @return [Fixnum] + attr_accessor :draining_timeout_sec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @draining_timeout_sec = args[:draining_timeout_sec] if args.key?(:draining_timeout_sec) + end + end + # Represents a customer-supplied encryption key class CustomerEncryptionKey include Google::Apis::Core::Hashable @@ -1317,20 +1638,23 @@ module Google class DeprecationStatus include Google::Apis::Core::Hashable - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DELETED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DELETED. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `deleted` # @return [String] attr_accessor :deleted - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to DEPRECATED. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to DEPRECATED. This is only informational and the status + # will not change unless the client explicitly changes it. # Corresponds to the JSON property `deprecated` # @return [String] attr_accessor :deprecated - # An optional RFC3339 timestamp on or after which the deprecation state of this - # resource will be changed to OBSOLETE. + # An optional RFC3339 timestamp on or after which the state of this resource is + # intended to change to OBSOLETE. This is only informational and the status will + # not change unless the client explicitly changes it. # Corresponds to the JSON property `obsolete` # @return [String] attr_accessor :obsolete @@ -1499,8 +1823,7 @@ module Google # @return [String] attr_accessor :source_snapshot_id - # [Output Only] The status of disk creation. Applicable statuses includes: - # CREATING, FAILED, READY, RESTORING. + # [Output Only] The status of disk creation. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -1578,7 +1901,8 @@ module Google # requests. If the number of results is larger than maxResults, use the # nextPageToken as a value for the query parameter pageToken in the next list # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. + # continue paging through the results. Acceptable values are 0 to 500, inclusive. + # (Default: 500) # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1606,13 +1930,12 @@ module Google class DiskList include Google::Apis::Core::Hashable - # [Output Only] The unique identifier for the resource. This identifier is - # defined by the server. + # [Output Only] Unique identifier for the resource; defined by the server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id - # [Output Only] A list of persistent disks. + # A list of Disk resources. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1622,11 +1945,11 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] This token allows you to get the next page of results for list - # requests. If the number of results is larger than maxResults, use the - # nextPageToken as a value for the query parameter pageToken in the next list - # request. Subsequent list requests will have their own nextPageToken to - # continue paging through the results. + # This token allows you to get the next page of results for list requests. If + # the number of results is larger than maxResults, use the nextPageToken as a + # value for the query parameter pageToken in the next list request. Subsequent + # list requests will have their own nextPageToken to continue paging through the + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2121,7 +2444,7 @@ module Google # properties are set, the firewall will apply to traffic that has source IP # address within sourceRanges OR the source IP that belongs to a tag listed in # the sourceTags property. The connection does not need to match both properties - # for the firewall to apply. + # for the firewall to apply. Only IPv4 is supported. # Corresponds to the JSON property `sourceRanges` # @return [Array] attr_accessor :source_ranges @@ -2253,7 +2576,7 @@ module Google include Google::Apis::Core::Hashable # The IP address that this forwarding rule is serving on behalf of. - # For global forwarding rules, the address must be a global IP; for regional + # For global forwarding rules, the address must be a global IP. For regional # forwarding rules, the address must live in the same region as the forwarding # rule. By default, this field is empty and an ephemeral IP from the same scope ( # global or regional) will be assigned. @@ -2261,18 +2584,25 @@ module Google # address belonging to the network/subnetwork configured for the forwarding rule. # A reserved address cannot be used. If the field is empty, the IP address will # be automatically allocated from the internal IP range of the subnetwork or - # network configured for this forwarding rule. + # network configured for this forwarding rule. Only IPv4 is supported. # Corresponds to the JSON property `IPAddress` # @return [String] attr_accessor :ip_address # The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP, # AH, SCTP or ICMP. - # When the load balancing scheme is INTERNAL] + attr_accessor :ports + # [Output Only] URL of the region where the regional forwarding rule resides. # This field is not applicable to global forwarding rules. # Corresponds to the JSON property `region` @@ -2325,12 +2682,22 @@ module Google # @return [String] attr_accessor :self_link + # This field is not used for external load balancing. + # For internal load balancing, this field identifies the subnetwork that the + # load balanced IP should belong to for this Forwarding Rule. + # If the network specified is in auto subnet mode, this field is optional. + # However, if the network is in custom subnet mode, a subnetwork must be + # specified. + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + # The URL of the target resource to receive the matched traffic. For regional # forwarding rules, this target must live in the same region as the forwarding - # rule. For global forwarding rules, this target must be a global - # TargetHttpProxy or TargetHttpsProxy resource. The forwarded traffic must be of - # a type appropriate to the target object. For example, TargetHttpProxy requires - # HTTP traffic, and TargetHttpsProxy requires HTTPS traffic. + # rule. For global forwarding rules, this target must be a global load balancing + # resource. The forwarded traffic must be of a type appropriate to the target + # object. For example, TargetHttpProxy requires HTTP traffic, and + # TargetHttpsProxy requires HTTPS traffic. # This field is not used for internal load balancing. # Corresponds to the JSON property `target` # @return [String] @@ -2344,14 +2711,19 @@ module Google def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol) + @backend_service = args[:backend_service] if args.key?(:backend_service) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) + @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme) @name = args[:name] if args.key?(:name) + @network = args[:network] if args.key?(:network) @port_range = args[:port_range] if args.key?(:port_range) + @ports = args[:ports] if args.key?(:ports) @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @target = args[:target] if args.key?(:target) end end @@ -2543,6 +2915,290 @@ module Google end end + # Guest OS features. + class GuestOsFeature + include Google::Apis::Core::Hashable + + # The type of supported feature. Currenty only VIRTIO_SCSI_MULTIQUEUE is + # supported. For newer Windows images, the server might also populate this + # property with the value WINDOWS to indicate that this is a Windows image. This + # value is purely informational and does not enable or disable any features. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + end + end + + # + class HttpHealthCheck + include Google::Apis::Core::Hashable + + # The value of the host header in the HTTP health check request. If left empty ( + # default value), the IP on behalf of which this health check is performed will + # be used. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # The TCP port number for the health check request. The default value is 80. + # Valid values are 1 through 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Port name as defined in InstanceGroup#NamedPort#name. If both port and + # port_name are defined, port takes precedence. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # The request path of the HTTP health check request. The default value is /. + # Corresponds to the JSON property `requestPath` + # @return [String] + attr_accessor :request_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @port = args[:port] if args.key?(:port) + @port_name = args[:port_name] if args.key?(:port_name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @request_path = args[:request_path] if args.key?(:request_path) + end + end + + # + class HttpsHealthCheck + include Google::Apis::Core::Hashable + + # The value of the host header in the HTTPS health check request. If left empty ( + # default value), the IP on behalf of which this health check is performed will + # be used. + # Corresponds to the JSON property `host` + # @return [String] + attr_accessor :host + + # The TCP port number for the health check request. The default value is 443. + # Valid values are 1 through 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Port name as defined in InstanceGroup#NamedPort#name. If both port and + # port_name are defined, port takes precedence. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # The request path of the HTTPS health check request. The default value is /. + # Corresponds to the JSON property `requestPath` + # @return [String] + attr_accessor :request_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @host = args[:host] if args.key?(:host) + @port = args[:port] if args.key?(:port) + @port_name = args[:port_name] if args.key?(:port_name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @request_path = args[:request_path] if args.key?(:request_path) + end + end + + # An HealthCheck resource. This resource defines a template for how individual + # virtual machines should be checked for health, via one of the supported + # protocols. + class HealthCheck + include Google::Apis::Core::Hashable + + # How often (in seconds) to send a health check. The default value is 5 seconds. + # Corresponds to the JSON property `checkIntervalSec` + # @return [Fixnum] + attr_accessor :check_interval_sec + + # [Output Only] Creation timestamp in 3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A so-far unhealthy instance will be marked healthy after this many consecutive + # successes. The default value is 2. + # Corresponds to the JSON property `healthyThreshold` + # @return [Fixnum] + attr_accessor :healthy_threshold + + # + # Corresponds to the JSON property `httpHealthCheck` + # @return [Google::Apis::ComputeV1::HttpHealthCheck] + attr_accessor :http_health_check + + # + # Corresponds to the JSON property `httpsHealthCheck` + # @return [Google::Apis::ComputeV1::HttpsHealthCheck] + attr_accessor :https_health_check + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Type of the resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # + # Corresponds to the JSON property `sslHealthCheck` + # @return [Google::Apis::ComputeV1::SslHealthCheck] + attr_accessor :ssl_health_check + + # + # Corresponds to the JSON property `tcpHealthCheck` + # @return [Google::Apis::ComputeV1::TcpHealthCheck] + attr_accessor :tcp_health_check + + # How long (in seconds) to wait before claiming failure. The default value is 5 + # seconds. It is invalid for timeoutSec to have greater value than + # checkIntervalSec. + # Corresponds to the JSON property `timeoutSec` + # @return [Fixnum] + attr_accessor :timeout_sec + + # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not + # specified, the default is TCP. Exactly one of the protocol-specific health + # check field must be specified, which must match type field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A so-far healthy instance will be marked unhealthy after this many consecutive + # failures. The default value is 2. + # Corresponds to the JSON property `unhealthyThreshold` + # @return [Fixnum] + attr_accessor :unhealthy_threshold + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @check_interval_sec = args[:check_interval_sec] if args.key?(:check_interval_sec) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @healthy_threshold = args[:healthy_threshold] if args.key?(:healthy_threshold) + @http_health_check = args[:http_health_check] if args.key?(:http_health_check) + @https_health_check = args[:https_health_check] if args.key?(:https_health_check) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @self_link = args[:self_link] if args.key?(:self_link) + @ssl_health_check = args[:ssl_health_check] if args.key?(:ssl_health_check) + @tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check) + @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec) + @type = args[:type] if args.key?(:type) + @unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold) + end + end + + # Contains a list of HealthCheck resources. + class HealthCheckList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of HealthCheck resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # A full or valid partial URL to a health check. For example, the following are # valid URLs: # - https://www.googleapis.com/compute/beta/projects/project-id/global/ @@ -2984,6 +3640,19 @@ module Google # @return [String] attr_accessor :family + # A list of features to enable on the guest OS. Applicable for bootable images + # only. Currently, only one feature can be enabled, VIRTIO_SCSCI_MULTIQUEUE, + # which allows each virtual CPU to have its own queue. For Windows images, you + # can only enable VIRTIO_SCSCI_MULTIQUEUE on images with driver version 1.2.0. + # 1621 or higher. Linux images with kernel versions 3.17 and higher will support + # VIRTIO_SCSCI_MULTIQUEUE. + # For new Windows images, the server might also populate this field with the + # value WINDOWS, to indicate that this is a Windows image. This value is purely + # informational and does not enable or disable any features. + # Corresponds to the JSON property `guestOsFeatures` + # @return [Array] + attr_accessor :guest_os_features + # [Output Only] The unique identifier for the resource. This identifier is # defined by the server. # Corresponds to the JSON property `id` @@ -3025,12 +3694,12 @@ module Google # @return [String] attr_accessor :self_link - # URL of the The source disk used to create this image. This can be a full or - # valid partial URL. You must provide either this property or the rawDisk.source + # URL of the source disk used to create this image. This can be a full or valid + # partial URL. You must provide either this property or the rawDisk.source # property but not both to create an image. For example, the following are valid # values: - # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk - # - projects/project/zones/zone/disk/disk + # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk + # - projects/project/zones/zone/disks/disk # - zones/zone/disks/disk # Corresponds to the JSON property `sourceDisk` # @return [String] @@ -3074,6 +3743,7 @@ module Google @description = args[:description] if args.key?(:description) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @family = args[:family] if args.key?(:family) + @guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features) @id = args[:id] if args.key?(:id) @image_encryption_key = args[:image_encryption_key] if args.key?(:image_encryption_key) @kind = args[:kind] if args.key?(:kind) @@ -3267,15 +3937,16 @@ module Google attr_accessor :self_link # A list of service accounts, with their specified scopes, authorized for this - # instance. Service accounts generate access tokens that can be accessed through - # the metadata server and used to authenticate applications on the instance. See + # instance. Only one service account per VM instance is supported. + # Service accounts generate access tokens that can be accessed through the + # metadata server and used to authenticate applications on the instance. See # Service Accounts for more information. # Corresponds to the JSON property `serviceAccounts` # @return [Array] attr_accessor :service_accounts # [Output Only] The status of the instance. One of the following values: - # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDED, SUSPENDING, and + # PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, and # TERMINATED. # Corresponds to the JSON property `status` # @return [String] @@ -3395,8 +4066,8 @@ module Google # @return [String] attr_accessor :fingerprint - # [Output Only] A unique identifier for this resource type. The server generates - # this identifier. + # [Output Only] A unique identifier for this instance group, generated by the + # server. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -3427,6 +4098,12 @@ module Google # @return [String] attr_accessor :network + # The URL of the region where the instance group is located (for regional + # resources). + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # [Output Only] The URL for this instance group. The server generates this URL. # Corresponds to the JSON property `selfLink` # @return [String] @@ -3462,6 +4139,7 @@ module Google @name = args[:name] if args.key?(:name) @named_ports = args[:named_ports] if args.key?(:named_ports) @network = args[:network] if args.key?(:network) + @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @size = args[:size] if args.key?(:size) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @@ -3639,6 +4317,12 @@ module Google # @return [Array] attr_accessor :named_ports + # [Output Only] The URL of the region where the managed instance group resides ( + # for regional resources). + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + # [Output Only] The URL for this managed instance group. The server defines this # URL. # Corresponds to the JSON property `selfLink` @@ -3682,6 +4366,7 @@ module Google @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @named_ports = args[:named_ports] if args.key?(:named_ports) + @region = args[:region] if args.key?(:region) @self_link = args[:self_link] if args.key?(:self_link) @target_pools = args[:target_pools] if args.key?(:target_pools) @target_size = args[:target_size] if args.key?(:target_size) @@ -3713,7 +4398,7 @@ module Google # [Output Only] The number of instances that the managed instance group will # attempt to create. The group attempts to create each instance only once. If # the group fails to create any of these instances, it decreases the group's - # target_size value accordingly. + # targetSize value accordingly. # Corresponds to the JSON property `creatingWithoutRetries` # @return [Fixnum] attr_accessor :creating_without_retries @@ -3848,7 +4533,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] The URL for this resource type. The server generates this URL. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -4757,6 +5442,31 @@ module Google end end + # + class InstancesSetServiceAccountRequest + include Google::Apis::Core::Hashable + + # Email address of the service account. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The list of scopes to be made available for this service account. + # Corresponds to the JSON property `scopes` + # @return [Array] + attr_accessor :scopes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @scopes = args[:scopes] if args.key?(:scopes) + end + end + # class InstancesStartWithEncryptionKeyRequest include Google::Apis::Core::Hashable @@ -5469,16 +6179,24 @@ module Google # @return [Array] attr_accessor :access_configs + # [Output Only] Type of the resource. Always compute#networkInterface for + # network interfaces. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + # [Output Only] The name of the network interface, generated by the server. For # network devices, these are eth0, eth1, etc. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # URL of the network resource for this instance. This is required for creating - # an instance but optional when creating a firewall rule. If not specified when - # creating a firewall rule, the default network is used: - # global/networks/default + # URL of the network resource for this instance. When creating an instance, if + # neither the network nor the subnetwork is specified, the default network + # global/networks/default is used; if the network is not specified but the + # subnetwork is specified, the network is inferred. + # This field is optional when creating a firewall rule. If not specified when + # creating a firewall rule, the default network global/networks/default is used. # If you specify this property, you can specify the network as a full or partial # URL. For example, the following are all valid URLs: # - https://www.googleapis.com/compute/v1/projects/project/global/networks/ @@ -5516,6 +6234,7 @@ module Google # Update properties of this object def update!(**args) @access_configs = args[:access_configs] if args.key?(:access_configs) + @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @network = args[:network] if args.key?(:network) @network_ip = args[:network_ip] if args.key?(:network_ip) @@ -5553,7 +6272,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for this resource . + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -5581,7 +6300,7 @@ module Google # @return [String] attr_accessor :client_operation_id - # [Output Only] Creation timestamp in RFC3339 text format. + # [Deprecated] This field is deprecated. # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp @@ -5689,7 +6408,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -6314,6 +7035,374 @@ module Google end end + # Contains a list of autoscalers. + class RegionAutoscalerList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of autoscalers. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of InstanceGroup resources. + class RegionInstanceGroupList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of InstanceGroup resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The resource type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] The URL for this resource type. The server generates this URL. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # Contains a list of managed instance groups. + class RegionInstanceGroupManagerList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of managed instance groups. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # [Output Only] The resource type, which is always compute# + # instanceGroupManagerList for a list of managed instance groups that exist in + # th regional scope. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output only] A token used to continue a truncated list request. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output only] The URL for this resource type. The server generates this URL. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class RegionInstanceGroupManagersAbandonInstancesRequest + include Google::Apis::Core::Hashable + + # The names of one or more instances to abandon. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + end + end + + # + class RegionInstanceGroupManagersDeleteInstancesRequest + include Google::Apis::Core::Hashable + + # The names of one or more instances to delete. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + end + end + + # + class RegionInstanceGroupManagersListInstancesResponse + include Google::Apis::Core::Hashable + + # List of managed instances. + # Corresponds to the JSON property `managedInstances` + # @return [Array] + attr_accessor :managed_instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @managed_instances = args[:managed_instances] if args.key?(:managed_instances) + end + end + + # + class RegionInstanceGroupManagersRecreateRequest + include Google::Apis::Core::Hashable + + # The URL for one or more instances to recreate. + # Corresponds to the JSON property `instances` + # @return [Array] + attr_accessor :instances + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instances = args[:instances] if args.key?(:instances) + end + end + + # + class RegionInstanceGroupManagersSetTargetPoolsRequest + include Google::Apis::Core::Hashable + + # Fingerprint of the target pools information, which is a hash of the contents. + # This field is used for optimistic locking when you update the target pool + # entries. This field is optional. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # The URL of all TargetPool resources to which instances in the instanceGroup + # field are added. The target pools automatically apply to all of the instances + # in the managed instance group. + # Corresponds to the JSON property `targetPools` + # @return [Array] + attr_accessor :target_pools + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @target_pools = args[:target_pools] if args.key?(:target_pools) + end + end + + # + class RegionInstanceGroupManagersSetTemplateRequest + include Google::Apis::Core::Hashable + + # URL of the InstanceTemplate resource from which all new instances will be + # created. + # Corresponds to the JSON property `instanceTemplate` + # @return [String] + attr_accessor :instance_template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_template = args[:instance_template] if args.key?(:instance_template) + end + end + + # + class RegionInstanceGroupsListInstances + include Google::Apis::Core::Hashable + + # [Output Only] Unique identifier for the resource. Defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of instances and any named ports that are assigned to those instances. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The resource type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + + # + class RegionInstanceGroupsListInstancesRequest + include Google::Apis::Core::Hashable + + # Instances in which state should be returned. Valid options are: 'ALL', ' + # RUNNING'. By default, it lists all instances. + # Corresponds to the JSON property `instanceState` + # @return [String] + attr_accessor :instance_state + + # Name of port user is interested in. It is optional. If it is set, only + # information about this ports will be returned. If it is not set, all the named + # ports will be returned. Always lists all instances. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_state = args[:instance_state] if args.key?(:instance_state) + @port_name = args[:port_name] if args.key?(:port_name) + end + end + + # + class RegionInstanceGroupsSetNamedPortsRequest + include Google::Apis::Core::Hashable + + # The fingerprint of the named ports information for this instance group. Use + # this optional property to prevent conflicts when multiple users change the + # named ports settings concurrently. Obtain the fingerprint with the + # instanceGroups.get method. Then, include the fingerprint in your request to + # ensure that you do not overwrite changes that were applied from another + # concurrent request. + # Corresponds to the JSON property `fingerprint` + # @return [String] + attr_accessor :fingerprint + + # The list of named ports to set for this instance group. + # Corresponds to the JSON property `namedPorts` + # @return [Array] + attr_accessor :named_ports + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) + @named_ports = args[:named_ports] if args.key?(:named_ports) + end + end + # Contains a list of region resources. class RegionList include Google::Apis::Core::Hashable @@ -6366,7 +7455,7 @@ module Google class ResourceGroupReference include Google::Apis::Core::Hashable - # A URI referencing one of the resource views listed in the backend service. + # A URI referencing one of the instance groups listed in the backend service. # Corresponds to the JSON property `group` # @return [String] attr_accessor :group @@ -6391,8 +7480,8 @@ module Google # priority value. If there is still a tie, it uses the layer three and four # packet headers to select just one of the remaining matching routes. The packet # is then forwarded as specified by the nextHop field of the winning route - - # either to another instance destination, a instance gateway or a Google Compute - # Engine-operated gateway. + # either to another instance destination, an instance gateway, or a Google + # Compute Engine-operated gateway. # Packets that do not match any route in the sending instance's routing table # are dropped. class Route @@ -6409,7 +7498,8 @@ module Google # @return [String] attr_accessor :description - # The destination range of outgoing packets that this route applies to. + # The destination range of outgoing packets that this route applies to. Only + # IPv4 is supported. # Corresponds to the JSON property `destRange` # @return [String] attr_accessor :dest_range @@ -6455,6 +7545,7 @@ module Google attr_accessor :next_hop_instance # The network IP address of an instance that should handle matching packets. + # Only IPv4 is supported. # Corresponds to the JSON property `nextHopIp` # @return [String] attr_accessor :next_hop_ip @@ -6663,7 +7754,7 @@ module Google attr_accessor :id # Router interfaces. Each interface requires either one linked resource (e.g. - # linkedVpnTunnel) or IP address and IP address range (e.g. ipRange). + # linkedVpnTunnel), or IP address and IP address range (e.g. ipRange), or both. # Corresponds to the JSON property `interfaces` # @return [Array] attr_accessor :interfaces @@ -6803,7 +7894,8 @@ module Google # @return [String] attr_accessor :interface_name - # IP address of the interface inside Google Cloud Platform. + # IP address of the interface inside Google Cloud Platform. Only IPv4 is + # supported. # Corresponds to the JSON property `ipAddress` # @return [String] attr_accessor :ip_address @@ -6820,7 +7912,7 @@ module Google # @return [Fixnum] attr_accessor :peer_asn - # IP address of the BGP interface outside Google cloud. + # IP address of the BGP interface outside Google cloud. Only IPv4 is supported. # Corresponds to the JSON property `peerIpAddress` # @return [String] attr_accessor :peer_ip_address @@ -6905,7 +7997,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -7164,6 +8256,57 @@ module Google end end + # + class SslHealthCheck + include Google::Apis::Core::Hashable + + # The TCP port number for the health check request. The default value is 443. + # Valid values are 1 through 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Port name as defined in InstanceGroup#NamedPort#name. If both port and + # port_name are defined, port takes precedence. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # The application data to send once the SSL connection has been established ( + # default value is empty). If both request and response are empty, the + # connection establishment alone will indicate health. The request data can only + # be ASCII. + # Corresponds to the JSON property `request` + # @return [String] + attr_accessor :request + + # The bytes to match against the beginning of the response data. If left empty ( + # the default value), any response will indicate health. The response data can + # only be ASCII. + # Corresponds to the JSON property `response` + # @return [String] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @port = args[:port] if args.key?(:port) + @port_name = args[:port_name] if args.key?(:port_name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @request = args[:request] if args.key?(:request) + @response = args[:response] if args.key?(:response) + end + end + # Sets the scheduling options for an Instance. class Scheduling include Google::Apis::Core::Hashable @@ -7218,11 +8361,25 @@ module Google # @return [String] attr_accessor :kind - # [Output Only] Server-defined URL for the resource. + # [Output Only] The position of the next byte of content from the serial console + # output. Use this value in the next request as the start parameter. + # Corresponds to the JSON property `next` + # @return [String] + attr_accessor :next + + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link + # The starting byte position of the output that was returned. This should match + # the start parameter sent with the request. If the serial console output + # exceeds the size of the buffer, older output will be overwritten by newer + # content and the start values will be mismatched. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + def initialize(**args) update!(**args) end @@ -7231,7 +8388,9 @@ module Google def update!(**args) @contents = args[:contents] if args.key?(:contents) @kind = args[:kind] if args.key?(:kind) + @next = args[:next] if args.key?(:next) @self_link = args[:self_link] if args.key?(:self_link) + @start = args[:start] if args.key?(:start) end end @@ -7475,7 +8634,7 @@ module Google # @return [String] attr_accessor :name - # A write-only private key in PEM format. Only insert RPCs will include this + # A write-only private key in PEM format. Only insert requests will include this # field. # Corresponds to the JSON property `privateKey` # @return [String] @@ -7579,7 +8738,8 @@ module Google # The range of internal addresses that are owned by this subnetwork. Provide # this property when you create the subnetwork. For example, 10.0.0.0/8 or 192. - # 168.0.0/16. Ranges must be unique and non-overlapping within a network. + # 168.0.0/16. Ranges must be unique and non-overlapping within a network. Only + # IPv4 is supported. # Corresponds to the JSON property `ipCidrRange` # @return [String] attr_accessor :ip_cidr_range @@ -7734,6 +8894,28 @@ module Google end end + # + class SubnetworksExpandIpCidrRangeRequest + include Google::Apis::Core::Hashable + + # The IP (in CIDR format or netmask) of internal addresses that are legal on + # this Subnetwork. This range should be disjoint from other subnetworks within + # this network. This range can only be larger than (i.e. a superset of) the + # range previously defined before the update. + # Corresponds to the JSON property `ipCidrRange` + # @return [String] + attr_accessor :ip_cidr_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range) + end + end + # class SubnetworksScopedList include Google::Apis::Core::Hashable @@ -7823,6 +9005,57 @@ module Google end end + # + class TcpHealthCheck + include Google::Apis::Core::Hashable + + # The TCP port number for the health check request. The default value is 80. + # Valid values are 1 through 65535. + # Corresponds to the JSON property `port` + # @return [Fixnum] + attr_accessor :port + + # Port name as defined in InstanceGroup#NamedPort#name. If both port and + # port_name are defined, port takes precedence. + # Corresponds to the JSON property `portName` + # @return [String] + attr_accessor :port_name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # The application data to send once the TCP connection has been established ( + # default value is empty). If both request and response are empty, the + # connection establishment alone will indicate health. The request data can only + # be ASCII. + # Corresponds to the JSON property `request` + # @return [String] + attr_accessor :request + + # The bytes to match against the beginning of the response data. If left empty ( + # the default value), any response will indicate health. The response data can + # only be ASCII. + # Corresponds to the JSON property `response` + # @return [String] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @port = args[:port] if args.key?(:port) + @port_name = args[:port_name] if args.key?(:port_name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @request = args[:request] if args.key?(:request) + @response = args[:response] if args.key?(:response) + end + end + # A set of instance tags. class Tags include Google::Apis::Core::Hashable @@ -8382,8 +9615,8 @@ module Google end end - # A TargetPool resource. This resource defines a pool of instances, associated - # HttpHealthCheck resources, and the fallback target pool. + # A TargetPool resource. This resource defines a pool of instances, an + # associated HttpHealthCheck resource, and the fallback target pool. class TargetPool include Google::Apis::Core::Hashable @@ -8429,9 +9662,10 @@ module Google # @return [Float] attr_accessor :failover_ratio - # A list of URLs to the HttpHealthCheck resource. A member instance in this pool - # is considered healthy if and only if all specified health checks pass. An - # empty list means all member instances will be considered healthy at all times. + # The URL of the HttpHealthCheck resource. A member instance in this pool is + # considered healthy if and only if the health checks pass. An empty list means + # all member instances will be considered healthy at all times. Only + # HttpHealthChecks are supported. Only one health check may be specified. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -8630,7 +9864,7 @@ module Google class AddTargetPoolsHealthCheckRequest include Google::Apis::Core::Hashable - # A list of HttpHealthCheck resources to add to the target pool. + # The HttpHealthCheck to add to the target pool. # Corresponds to the JSON property `healthChecks` # @return [Array] attr_accessor :health_checks @@ -8822,6 +10056,190 @@ module Google end end + # + class TargetSslProxiesSetBackendServiceRequest + include Google::Apis::Core::Hashable + + # The URL of the new BackendService resource for the targetSslProxy. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service = args[:service] if args.key?(:service) + end + end + + # + class TargetSslProxiesSetProxyHeaderRequest + include Google::Apis::Core::Hashable + + # The new type of proxy header to append before sending data to the backend. + # NONE or PROXY_V1 are allowed. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + end + end + + # + class TargetSslProxiesSetSslCertificatesRequest + include Google::Apis::Core::Hashable + + # New set of URLs to SslCertificate resources to associate with this + # TargetSslProxy. Currently exactly one ssl certificate must be specified. + # Corresponds to the JSON property `sslCertificates` + # @return [Array] + attr_accessor :ssl_certificates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + end + end + + # A TargetSslProxy resource. This resource defines an SSL proxy. + class TargetSslProxy + include Google::Apis::Core::Hashable + + # [Output Only] Creation timestamp in RFC3339 text format. + # Corresponds to the JSON property `creationTimestamp` + # @return [String] + attr_accessor :creation_timestamp + + # An optional description of this resource. Provide this property when you + # create the resource. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # [Output Only] Type of the resource. Always compute#targetSslProxy for target + # SSL proxies. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Specifies the type of proxy header to append before sending data to the + # backend, either NONE or PROXY_V1. The default is NONE. + # Corresponds to the JSON property `proxyHeader` + # @return [String] + attr_accessor :proxy_header + + # [Output Only] Server-defined URL for the resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + # URL to the BackendService resource. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + # URLs to SslCertificate resources that are used to authenticate connections to + # Backends. Currently exactly one SSL certificate must be specified. + # Corresponds to the JSON property `sslCertificates` + # @return [Array] + attr_accessor :ssl_certificates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @proxy_header = args[:proxy_header] if args.key?(:proxy_header) + @self_link = args[:self_link] if args.key?(:self_link) + @service = args[:service] if args.key?(:service) + @ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates) + end + end + + # Contains a list of TargetSslProxy resources. + class TargetSslProxyList + include Google::Apis::Core::Hashable + + # [Output Only] The unique identifier for the resource. This identifier is + # defined by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A list of TargetSslProxy resources. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # [Output Only] This token allows you to get the next page of results for list + # requests. If the number of results is larger than maxResults, use the + # nextPageToken as a value for the query parameter pageToken in the next list + # request. Subsequent list requests will have their own nextPageToken to + # continue paging through the results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # [Output Only] Server-defined URL for this resource. + # Corresponds to the JSON property `selfLink` + # @return [String] + attr_accessor :self_link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @self_link = args[:self_link] if args.key?(:self_link) + end + end + # Represents a Target VPN gateway resource. class TargetVpnGateway include Google::Apis::Core::Hashable @@ -8943,7 +10361,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -8992,7 +10410,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link @@ -9488,7 +10906,7 @@ module Google # Local traffic selector to use when establishing the VPN tunnel with peer VPN # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/ - # 16. The ranges should be disjoint. + # 16. The ranges should be disjoint. Only IPv4 is supported. # Corresponds to the JSON property `localTrafficSelector` # @return [Array] attr_accessor :local_traffic_selector @@ -9503,7 +10921,7 @@ module Google # @return [String] attr_accessor :name - # IP address of the peer VPN gateway. + # IP address of the peer VPN gateway. Only IPv4 is supported. # Corresponds to the JSON property `peerIp` # @return [String] attr_accessor :peer_ip @@ -9515,7 +10933,7 @@ module Google # Remote traffic selectors to use when establishing the VPN tunnel with peer VPN # gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/ - # 16. The ranges should be disjoint. + # 16. The ranges should be disjoint. Only IPv4 is supported. # Corresponds to the JSON property `remoteTrafficSelector` # @return [Array] attr_accessor :remote_traffic_selector @@ -9655,7 +11073,7 @@ module Google # @return [String] attr_accessor :next_page_token - # [Output Only] Server-defined URL for the resource. + # [Output Only] Server-defined URL for this resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 4222f9dba..9b2bd814d 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -142,12 +142,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BackendBucketList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendService class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class BackendServiceAggregatedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackendServiceGroupHealth class Representation < Google::Apis::Core::JsonRepresentation; end @@ -160,12 +178,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BackendServicesScopedList + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Warning + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Datum + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class CacheInvalidationRule class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ConnectionDraining + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CustomerEncryptionKey class Representation < Google::Apis::Core::JsonRepresentation; end @@ -322,6 +364,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GuestOsFeature + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpHealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpsHealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HealthCheckList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class HealthCheckReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -604,6 +676,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstancesSetServiceAccountRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class InstancesStartWithEncryptionKeyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -808,6 +886,78 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RegionAutoscalerList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagerList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersAbandonInstancesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersDeleteInstancesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersListInstancesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersRecreateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersSetTargetPoolsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupManagersSetTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupsListInstances + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupsListInstancesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionInstanceGroupsSetNamedPortsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class RegionList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -922,6 +1072,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SslHealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Scheduling class Representation < Google::Apis::Core::JsonRepresentation; end @@ -982,6 +1138,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SubnetworksExpandIpCidrRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SubnetworksScopedList class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1000,6 +1162,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TcpHealthCheck + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Tags class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1144,6 +1312,36 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetSslProxiesSetBackendServiceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetSslProxiesSetProxyHeaderRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetSslProxiesSetSslCertificatesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetSslProxy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetSslProxyList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetVpnGateway class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1402,6 +1600,7 @@ module Google property :id, as: 'id' property :kind, as: 'kind' property :name, as: 'name' + property :region, as: 'region' property :self_link, as: 'selfLink' property :target, as: 'target' property :zone, as: 'zone' @@ -1505,18 +1704,48 @@ module Google property :capacity_scaler, as: 'capacityScaler' property :description, as: 'description' property :group, as: 'group' + property :max_connections, as: 'maxConnections' + property :max_connections_per_instance, as: 'maxConnectionsPerInstance' property :max_rate, as: 'maxRate' property :max_rate_per_instance, as: 'maxRatePerInstance' property :max_utilization, as: 'maxUtilization' end end + class BackendBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bucket_name, as: 'bucketName' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :enable_cdn, as: 'enableCdn' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :self_link, as: 'selfLink' + end + end + + class BackendBucketList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::BackendBucket, decorator: Google::Apis::ComputeV1::BackendBucket::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class BackendService # @private class Representation < Google::Apis::Core::JsonRepresentation property :affinity_cookie_ttl_sec, as: 'affinityCookieTtlSec' collection :backends, as: 'backends', class: Google::Apis::ComputeV1::Backend, decorator: Google::Apis::ComputeV1::Backend::Representation + property :connection_draining, as: 'connectionDraining', class: Google::Apis::ComputeV1::ConnectionDraining, decorator: Google::Apis::ComputeV1::ConnectionDraining::Representation + property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :enable_cdn, as: 'enableCDN' @@ -1524,6 +1753,7 @@ module Google collection :health_checks, as: 'healthChecks' property :id, as: 'id' property :kind, as: 'kind' + property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' property :port, as: 'port' property :port_name, as: 'portName' @@ -1535,6 +1765,18 @@ module Google end end + class BackendServiceAggregatedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + hash :items, as: 'items', class: Google::Apis::ComputeV1::BackendServicesScopedList, decorator: Google::Apis::ComputeV1::BackendServicesScopedList::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class BackendServiceGroupHealth # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1556,13 +1798,49 @@ module Google end end + class BackendServicesScopedList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :backend_services, as: 'backendServices', class: Google::Apis::ComputeV1::BackendService, decorator: Google::Apis::ComputeV1::BackendService::Representation + + property :warning, as: 'warning', class: Google::Apis::ComputeV1::BackendServicesScopedList::Warning, decorator: Google::Apis::ComputeV1::BackendServicesScopedList::Warning::Representation + + end + + class Warning + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + collection :data, as: 'data', class: Google::Apis::ComputeV1::BackendServicesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::BackendServicesScopedList::Warning::Datum::Representation + + property :message, as: 'message' + end + + class Datum + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' + end + end + end + end + class CacheInvalidationRule # @private class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' property :path, as: 'path' end end + class ConnectionDraining + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :draining_timeout_sec, as: 'drainingTimeoutSec' + end + end + class CustomerEncryptionKey # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1801,14 +2079,19 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :ip_address, as: 'IPAddress' property :ip_protocol, as: 'IPProtocol' + property :backend_service, as: 'backendService' property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' property :id, as: 'id' property :kind, as: 'kind' + property :load_balancing_scheme, as: 'loadBalancingScheme' property :name, as: 'name' + property :network, as: 'network' property :port_range, as: 'portRange' + collection :ports, as: 'ports' property :region, as: 'region' property :self_link, as: 'selfLink' + property :subnetwork, as: 'subnetwork' property :target, as: 'target' end end @@ -1865,6 +2148,72 @@ module Google end end + class GuestOsFeature + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + end + end + + class HttpHealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + property :port, as: 'port' + property :port_name, as: 'portName' + property :proxy_header, as: 'proxyHeader' + property :request_path, as: 'requestPath' + end + end + + class HttpsHealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :host, as: 'host' + property :port, as: 'port' + property :port_name, as: 'portName' + property :proxy_header, as: 'proxyHeader' + property :request_path, as: 'requestPath' + end + end + + class HealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :check_interval_sec, as: 'checkIntervalSec' + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :healthy_threshold, as: 'healthyThreshold' + property :http_health_check, as: 'httpHealthCheck', class: Google::Apis::ComputeV1::HttpHealthCheck, decorator: Google::Apis::ComputeV1::HttpHealthCheck::Representation + + property :https_health_check, as: 'httpsHealthCheck', class: Google::Apis::ComputeV1::HttpsHealthCheck, decorator: Google::Apis::ComputeV1::HttpsHealthCheck::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :self_link, as: 'selfLink' + property :ssl_health_check, as: 'sslHealthCheck', class: Google::Apis::ComputeV1::SslHealthCheck, decorator: Google::Apis::ComputeV1::SslHealthCheck::Representation + + property :tcp_health_check, as: 'tcpHealthCheck', class: Google::Apis::ComputeV1::TcpHealthCheck, decorator: Google::Apis::ComputeV1::TcpHealthCheck::Representation + + property :timeout_sec, as: 'timeoutSec' + property :type, as: 'type' + property :unhealthy_threshold, as: 'unhealthyThreshold' + end + end + + class HealthCheckList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::HealthCheck, decorator: Google::Apis::ComputeV1::HealthCheck::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class HealthCheckReference # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1963,6 +2312,8 @@ module Google property :description, as: 'description' property :disk_size_gb, as: 'diskSizeGb' property :family, as: 'family' + collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeV1::GuestOsFeature, decorator: Google::Apis::ComputeV1::GuestOsFeature::Representation + property :id, as: 'id' property :image_encryption_key, as: 'imageEncryptionKey', class: Google::Apis::ComputeV1::CustomerEncryptionKey, decorator: Google::Apis::ComputeV1::CustomerEncryptionKey::Representation @@ -2056,6 +2407,7 @@ module Google collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation property :network, as: 'network' + property :region, as: 'region' property :self_link, as: 'selfLink' property :size, as: 'size' property :subnetwork, as: 'subnetwork' @@ -2103,6 +2455,7 @@ module Google property :name, as: 'name' collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation + property :region, as: 'region' property :self_link, as: 'selfLink' collection :target_pools, as: 'targetPools' property :target_size, as: 'targetSize' @@ -2411,6 +2764,14 @@ module Google end end + class InstancesSetServiceAccountRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + collection :scopes, as: 'scopes' + end + end + class InstancesStartWithEncryptionKeyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -2595,6 +2956,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :access_configs, as: 'accessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation + property :kind, as: 'kind' property :name, as: 'name' property :network, as: 'network' property :network_ip, as: 'networkIP' @@ -2798,6 +3160,115 @@ module Google end end + class RegionAutoscalerList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::Autoscaler, decorator: Google::Apis::ComputeV1::Autoscaler::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RegionInstanceGroupList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroup, decorator: Google::Apis::ComputeV1::InstanceGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RegionInstanceGroupManagerList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceGroupManager, decorator: Google::Apis::ComputeV1::InstanceGroupManager::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RegionInstanceGroupManagersAbandonInstancesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances' + end + end + + class RegionInstanceGroupManagersDeleteInstancesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances' + end + end + + class RegionInstanceGroupManagersListInstancesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :managed_instances, as: 'managedInstances', class: Google::Apis::ComputeV1::ManagedInstance, decorator: Google::Apis::ComputeV1::ManagedInstance::Representation + + end + end + + class RegionInstanceGroupManagersRecreateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :instances, as: 'instances' + end + end + + class RegionInstanceGroupManagersSetTargetPoolsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fingerprint, :base64 => true, as: 'fingerprint' + collection :target_pools, as: 'targetPools' + end + end + + class RegionInstanceGroupManagersSetTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_template, as: 'instanceTemplate' + end + end + + class RegionInstanceGroupsListInstances + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::InstanceWithNamedPorts, decorator: Google::Apis::ComputeV1::InstanceWithNamedPorts::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + + class RegionInstanceGroupsListInstancesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_state, as: 'instanceState' + property :port_name, as: 'portName' + end + end + + class RegionInstanceGroupsSetNamedPortsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fingerprint, :base64 => true, as: 'fingerprint' + collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation + + end + end + class RegionList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3015,6 +3486,17 @@ module Google end end + class SslHealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :port, as: 'port' + property :port_name, as: 'portName' + property :proxy_header, as: 'proxyHeader' + property :request, as: 'request' + property :response, as: 'response' + end + end + class Scheduling # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3029,7 +3511,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :contents, as: 'contents' property :kind, as: 'kind' + property :next, as: 'next' property :self_link, as: 'selfLink' + property :start, as: 'start' end end @@ -3142,6 +3626,13 @@ module Google end end + class SubnetworksExpandIpCidrRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ip_cidr_range, as: 'ipCidrRange' + end + end + class SubnetworksScopedList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3170,6 +3661,17 @@ module Google end end + class TcpHealthCheck + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :port, as: 'port' + property :port_name, as: 'portName' + property :proxy_header, as: 'proxyHeader' + property :request, as: 'request' + property :response, as: 'response' + end + end + class Tags # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -3421,6 +3923,54 @@ module Google end end + class TargetSslProxiesSetBackendServiceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service, as: 'service' + end + end + + class TargetSslProxiesSetProxyHeaderRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :proxy_header, as: 'proxyHeader' + end + end + + class TargetSslProxiesSetSslCertificatesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ssl_certificates, as: 'sslCertificates' + end + end + + class TargetSslProxy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_timestamp, as: 'creationTimestamp' + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :proxy_header, as: 'proxyHeader' + property :self_link, as: 'selfLink' + property :service, as: 'service' + collection :ssl_certificates, as: 'sslCertificates' + end + end + + class TargetSslProxyList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + collection :items, as: 'items', class: Google::Apis::ComputeV1::TargetSslProxy, decorator: Google::Apis::ComputeV1::TargetSslProxy::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :self_link, as: 'selfLink' + end + end + class TargetVpnGateway # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 1b833deba..9685544d5 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -80,7 +80,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -105,13 +114,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_addresses(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeV1::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::AddressAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -273,7 +283,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -298,7 +317,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_addresses(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/addresses', options) command.response_representation = Google::Apis::ComputeV1::AddressList::Representation command.response_class = Google::Apis::ComputeV1::AddressList @@ -306,6 +325,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -341,7 +361,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -366,13 +395,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_autoscalers(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_autoscalers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -535,7 +565,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -560,7 +599,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_autoscalers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options) command.response_representation = Google::Apis::ComputeV1::AutoscalerList::Representation command.response_class = Google::Apis::ComputeV1::AutoscalerList @@ -568,6 +607,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -665,6 +705,362 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified BackendBucket resource. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified BackendBucket resource. Get a list of available backend + # buckets by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendBucket] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendBucket] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command.response_representation = Google::Apis::ComputeV1::BackendBucket::Representation + command.response_class = Google::Apis::ComputeV1::BackendBucket + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a BackendBucket resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_backend_bucket(project, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of BackendBucket resources available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendBucketList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendBucketList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command.response_representation = Google::Apis::ComputeV1::BackendBucketList::Representation + command.response_class = Google::Apis::ComputeV1::BackendBucketList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified BackendBucket resource with the data included in the + # request. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified BackendBucket resource with the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] backend_bucket + # Name of the BackendBucket resource to update. + # @param [Google::Apis::ComputeV1::BackendBucket] backend_bucket_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command.request_representation = Google::Apis::ComputeV1::BackendBucket::Representation + command.request_object = backend_bucket_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['backendBucket'] = backend_bucket unless backend_bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of all BackendService resources, regional and global, + # available to the specified project. + # @param [String] project + # Name of the project scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendServiceAggregatedList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendServiceAggregatedList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def aggregated_backend_service_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/aggregated/backendServices', options) + command.response_representation = Google::Apis::ComputeV1::BackendServiceAggregatedList::Representation + command.response_class = Google::Apis::ComputeV1::BackendServiceAggregatedList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified BackendService resource. # @param [String] project # Project ID for this request. @@ -852,7 +1248,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -877,13 +1282,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_backend_services(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/backendServices', options) command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation command.response_class = Google::Apis::ComputeV1::BackendServiceList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -891,10 +1297,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the BackendService resource. There are several - # restrictions and guidelines to keep in mind when updating a backend service. - # Read Restrictions and Guidelines for more information. This method supports - # patch semantics. + # Updates the specified BackendService resource with the data included in the + # request. There are several restrictions and guidelines to keep in mind when + # updating a backend service. Read Restrictions and Guidelines for more + # information. This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -935,9 +1341,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the BackendService resource. There are several - # restrictions and guidelines to keep in mind when updating a backend service. - # Read Restrictions and Guidelines for more information. + # Updates the specified BackendService resource with the data included in the + # request. There are several restrictions and guidelines to keep in mind when + # updating a backend service. Read Restrictions and Guidelines for more + # information. # @param [String] project # Project ID for this request. # @param [String] backend_service @@ -1006,7 +1413,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1031,13 +1447,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_disk_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_disk_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeV1::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::DiskTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1117,7 +1534,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1142,7 +1568,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_disk_types(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options) command.response_representation = Google::Apis::ComputeV1::DiskTypeList::Representation command.response_class = Google::Apis::ComputeV1::DiskTypeList @@ -1150,6 +1576,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1185,7 +1612,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1210,13 +1646,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_disk(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_disk(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeV1::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::DiskAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1232,6 +1669,7 @@ module Google # @param [String] disk # Name of the persistent disk to snapshot. # @param [Google::Apis::ComputeV1::Snapshot] snapshot_object + # @param [Boolean] guest_flush # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1253,7 +1691,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_disk_snapshot(project, zone, disk, snapshot_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeV1::Snapshot::Representation command.request_object = snapshot_object @@ -1262,6 +1700,7 @@ module Google command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['disk'] = disk unless disk.nil? + command.query['guestFlush'] = guest_flush unless guest_flush.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1430,7 +1869,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1455,7 +1903,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_disks(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/disks', options) command.response_representation = Google::Apis::ComputeV1::DiskList::Representation command.response_class = Google::Apis::ComputeV1::DiskList @@ -1463,6 +1911,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1657,7 +2106,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1682,13 +2140,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_firewalls(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/firewalls', options) command.response_representation = Google::Apis::ComputeV1::FirewallList::Representation command.response_class = Google::Apis::ComputeV1::FirewallList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1807,7 +2266,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -1832,13 +2300,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeV1::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2001,7 +2470,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2026,7 +2504,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_forwarding_rules(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options) command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeV1::ForwardingRuleList @@ -2034,6 +2512,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2230,7 +2709,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2255,13 +2743,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_global_addresses(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/addresses', options) command.response_representation = Google::Apis::ComputeV1::AddressList::Representation command.response_class = Google::Apis::ComputeV1::AddressList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2414,7 +2903,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2439,13 +2937,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_global_forwarding_rules(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/forwardingRules', options) command.response_representation = Google::Apis::ComputeV1::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeV1::ForwardingRuleList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2523,7 +3022,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2548,13 +3056,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_global_operation(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_global_operation(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeV1::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::OperationAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2665,7 +3174,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2690,13 +3208,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_global_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations', options) command.response_representation = Google::Apis::ComputeV1::OperationList::Representation command.response_class = Google::Apis::ComputeV1::OperationList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2704,6 +3223,283 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified HealthCheck resource. + # @param [String] project + # Project ID for this request. + # @param [String] health_check + # Name of the HealthCheck resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['healthCheck'] = health_check unless health_check.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified HealthCheck resource. Get a list of available health + # checks by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] health_check + # Name of the HealthCheck resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::HealthCheck] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::HealthCheck] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options) + command.response_representation = Google::Apis::ComputeV1::HealthCheck::Representation + command.response_class = Google::Apis::ComputeV1::HealthCheck + command.params['project'] = project unless project.nil? + command.params['healthCheck'] = health_check unless health_check.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a HealthCheck resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_health_check(project, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/healthChecks', options) + command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation + command.request_object = health_check_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of HealthCheck resources available to the specified project. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::HealthCheckList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::HealthCheckList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/healthChecks', options) + command.response_representation = Google::Apis::ComputeV1::HealthCheckList::Representation + command.response_class = Google::Apis::ComputeV1::HealthCheckList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a HealthCheck resource in the specified project using the data + # included in the request. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] health_check + # Name of the HealthCheck resource to update. + # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options) + command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation + command.request_object = health_check_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['healthCheck'] = health_check unless health_check.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a HealthCheck resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [String] health_check + # Name of the HealthCheck resource to update. + # @param [Google::Apis::ComputeV1::HealthCheck] health_check_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_health_check(project, health_check, health_check_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options) + command.request_representation = Google::Apis::ComputeV1::HealthCheck::Representation + command.request_object = health_check_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['healthCheck'] = health_check unless health_check.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified HttpHealthCheck resource. # @param [String] project # Project ID for this request. @@ -2849,7 +3645,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -2874,13 +3679,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_http_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpHealthChecks', options) command.response_representation = Google::Apis::ComputeV1::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeV1::HttpHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3117,7 +3923,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -3142,13 +3957,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_https_health_checks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options) command.response_representation = Google::Apis::ComputeV1::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeV1::HttpsHealthCheckList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3469,7 +4285,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -3494,13 +4319,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_images(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/images', options) command.response_representation = Google::Apis::ComputeV1::ImageList::Representation command.response_class = Google::Apis::ComputeV1::ImageList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3587,7 +4413,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -3612,13 +4447,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instance_group_managers(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3838,7 +4674,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -3863,7 +4708,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_managers(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupManagerList @@ -3871,6 +4716,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -3889,6 +4735,10 @@ module Google # The name of the zone where the managed instance group is located. # @param [String] instance_group_manager # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -3910,13 +4760,17 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -4192,7 +5046,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -4217,13 +5080,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instance_groups(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instance_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -4389,7 +5253,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -4414,7 +5287,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_groups(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options) command.response_representation = Google::Apis::ComputeV1::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeV1::InstanceGroupList @@ -4422,6 +5295,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -4463,7 +5337,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -4488,7 +5371,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeV1::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object @@ -4499,6 +5382,7 @@ module Google command.params['instanceGroup'] = instance_group unless instance_group.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -4745,7 +5629,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -4770,13 +5663,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instance_templates(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/instanceTemplates', options) command.response_representation = Google::Apis::ComputeV1::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeV1::InstanceTemplateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -4859,7 +5753,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -4884,13 +5787,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_instances(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeV1::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::InstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -5126,6 +6030,11 @@ module Google # Name of the instance scoping this request. # @param [Fixnum] port # Specifies which COM or serial port to retrieve data from. + # @param [String] start + # Returns output starting from a specific byte position. Use this to page + # through output when the output is too large to return in a single request. For + # the initial request, leave this field unspecified. For subsequent calls, this + # field should be set to the next value returned in the previous call. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -5147,7 +6056,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_instance_serial_port_output(project, zone, instance, port: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', options) command.response_representation = Google::Apis::ComputeV1::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeV1::SerialPortOutput @@ -5155,6 +6064,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.params['instance'] = instance unless instance.nil? command.query['port'] = port unless port.nil? + command.query['start'] = start unless start.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -5233,7 +6143,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -5258,7 +6177,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instances(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/instances', options) command.response_representation = Google::Apis::ComputeV1::InstanceList::Representation command.response_class = Google::Apis::ComputeV1::InstanceList @@ -5266,6 +6185,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -5494,6 +6414,51 @@ module Google execute_or_queue_command(command, &block) end + # Sets the service account on the instance. For more information, read Changing + # the service account and access scopes for an instance. + # @param [String] project + # Project ID for this request. + # @param [String] zone + # The name of the zone for this request. + # @param [String] instance + # Name of the instance resource to start. + # @param [Google::Apis::ComputeV1::InstancesSetServiceAccountRequest] instances_set_service_account_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) + command.request_representation = Google::Apis::ComputeV1::InstancesSetServiceAccountRequest::Representation + command.request_object = instances_set_service_account_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['zone'] = zone unless zone.nil? + command.params['instance'] = instance unless instance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Sets tags for the specified instance to the data included in the request. # @param [String] project # Project ID for this request. @@ -5738,7 +6703,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -5763,13 +6737,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_machine_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_machine_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeV1::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::MachineTypeAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -5849,7 +6824,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -5874,7 +6858,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_machine_types(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options) command.response_representation = Google::Apis::ComputeV1::MachineTypeList::Representation command.response_class = Google::Apis::ComputeV1::MachineTypeList @@ -5882,6 +6866,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6033,7 +7018,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -6058,13 +7052,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_networks(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/networks', options) command.response_representation = Google::Apis::ComputeV1::NetworkList::Representation command.response_class = Google::Apis::ComputeV1::NetworkList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6072,6 +7067,44 @@ module Google execute_or_queue_command(command, &block) end + # Switches the network mode from auto subnet mode to custom subnet mode. + # @param [String] project + # Project ID for this request. + # @param [String] network + # Name of the network to be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def switch_network_to_custom_mode(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['network'] = network unless network.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified Project resource. # @param [String] project # Project ID for this request. @@ -6262,6 +7295,1449 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified autoscaler. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] autoscaler + # Name of the autoscaler to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified autoscaler. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] autoscaler + # Name of the autoscaler to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Autoscaler] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Autoscaler] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command.response_representation = Google::Apis::ComputeV1::Autoscaler::Representation + command.response_class = Google::Apis::ComputeV1::Autoscaler + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates an autoscaler in the specified project using the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_autoscaler(project, region, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options) + command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation + command.request_object = autoscaler_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of autoscalers contained within the specified region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::RegionAutoscalerList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::RegionAutoscalerList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options) + command.response_representation = Google::Apis::ComputeV1::RegionAutoscalerList::Representation + command.response_class = Google::Apis::ComputeV1::RegionAutoscalerList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an autoscaler in the specified project using the data included in the + # request. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] autoscaler + # Name of the autoscaler to update. + # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_autoscaler(project, region, autoscaler, autoscaler_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options) + command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation + command.request_object = autoscaler_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an autoscaler in the specified project using the data included in the + # request. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeV1::Autoscaler] autoscaler_object + # @param [String] autoscaler + # Name of the autoscaler to update. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options) + command.request_representation = Google::Apis::ComputeV1::Autoscaler::Representation + command.request_object = autoscaler_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['autoscaler'] = autoscaler unless autoscaler.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified regional BackendService resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified regional BackendService resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendService] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendService] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options) + command.response_representation = Google::Apis::ComputeV1::BackendService::Representation + command.response_class = Google::Apis::ComputeV1::BackendService + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets the most recent health check results for this regional BackendService. + # @param [String] project + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to which the queried instance belongs. + # @param [Google::Apis::ComputeV1::ResourceGroupReference] resource_group_reference_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendServiceGroupHealth] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendServiceGroupHealth] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options) + command.request_representation = Google::Apis::ComputeV1::ResourceGroupReference::Representation + command.request_object = resource_group_reference_object + command.response_representation = Google::Apis::ComputeV1::BackendServiceGroupHealth::Representation + command.response_class = Google::Apis::ComputeV1::BackendServiceGroupHealth + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a regional BackendService resource in the specified project using the + # data included in the request. There are several restrictions and guidelines to + # keep in mind when creating a regional backend service. Read Restrictions and + # Guidelines for more information. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_backend_service(project, region, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) + command.request_representation = Google::Apis::ComputeV1::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of regional BackendService resources available to the + # specified project in the given region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::BackendServiceList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::BackendServiceList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options) + command.response_representation = Google::Apis::ComputeV1::BackendServiceList::Representation + command.response_class = Google::Apis::ComputeV1::BackendServiceList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified regional BackendService resource with the data included + # in the request. There are several restrictions and guidelines to keep in mind + # when updating a backend service. Read Restrictions and Guidelines for more + # information. This method supports patch semantics. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to update. + # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) + command.request_representation = Google::Apis::ComputeV1::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified regional BackendService resource with the data included + # in the request. There are several restrictions and guidelines to keep in mind + # when updating a backend service. Read Restrictions and Guidelines for more + # information. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] backend_service + # Name of the BackendService resource to update. + # @param [Google::Apis::ComputeV1::BackendService] backend_service_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_region_backend_service(project, region, backend_service, backend_service_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) + command.request_representation = Google::Apis::ComputeV1::BackendService::Representation + command.request_object = backend_service_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['backendService'] = backend_service unless backend_service.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Schedules a group action to remove the specified instances from the managed + # instance group. Abandoning an instance does not delete the instance, but it + # does remove the instance from any target pools that are applied by the managed + # instance group. This method reduces the targetSize of the managed instance + # group by the number of instances that you abandon. This operation is marked as + # DONE when the action is scheduled even if the instances have not yet been + # removed from the group. You must separately verify the status of the + # abandoning action with the listmanagedinstances method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest] region_instance_group_managers_abandon_instances_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersAbandonInstancesRequest::Representation + command.request_object = region_instance_group_managers_abandon_instances_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the specified managed instance group and all of the instances in that + # group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Schedules a group action to delete the specified instances in the managed + # instance group. The instances are also removed from any target pools of which + # they were a member. This method reduces the targetSize of the managed instance + # group by the number of instances that you delete. This operation is marked as + # DONE when the action is scheduled even if the instances are still being + # deleted. You must separately verify the status of the deleting action with the + # listmanagedinstances method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest] region_instance_group_managers_delete_instances_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersDeleteInstancesRequest::Representation + command.request_object = region_instance_group_managers_delete_instances_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns all of the details about the specified managed instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::InstanceGroupManager] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::InstanceGroupManager] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command.response_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation + command.response_class = Google::Apis::ComputeV1::InstanceGroupManager + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a managed instance group using the information that you specify in the + # request. After the group is created, it schedules an action to create + # instances in the group using the specified instance template. This operation + # is marked as DONE when the group is created even if the instances in the group + # have not yet been created. You must separately verify the status of the + # individual instances with the listmanagedinstances method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [Google::Apis::ComputeV1::InstanceGroupManager] instance_group_manager_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options) + command.request_representation = Google::Apis::ComputeV1::InstanceGroupManager::Representation + command.request_object = instance_group_manager_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of managed instance groups that are contained within the + # specified region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupManagerList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::RegionInstanceGroupManagerList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options) + command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagerList::Representation + command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagerList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the instances in the managed instance group and instances that are + # scheduled to be created. The list includes any current actions that the group + # has scheduled for its instances. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # The name of the managed instance group. + # @param [String] filter + # @param [Fixnum] max_results + # @param [String] order_by + # @param [String] page_token + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse::Representation + command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupManagersListInstancesResponse + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['order_by'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Schedules a group action to recreate the specified instances in the managed + # instance group. The instances are deleted and recreated using the current + # instance template for the managed instance group. This operation is marked as + # DONE when the action is scheduled even if the instances have not yet been + # recreated. You must separately verify the status of the recreating action with + # the listmanagedinstances method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest] region_instance_group_managers_recreate_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersRecreateRequest::Representation + command.request_object = region_instance_group_managers_recreate_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes the intended size for the managed instance group. If you increase the + # size, the group schedules actions to create new instances using the current + # instance template. If you decrease the size, the group schedules delete + # actions on one or more instances. The resize operation is marked DONE when the + # resize actions are scheduled even if the group has not yet added or deleted + # any instances. You must separately verify the status of the creating or + # deleting actions with the listmanagedinstances method. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group. + # @param [Fixnum] size + # Number of instances that should exist in this instance group manager. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def resize_region_instance_group_manager(project, region, instance_group_manager, size, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['size'] = size unless size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Sets the instance template to use when creating new instances or recreating + # instances in this group. Existing instances are not affected. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # The name of the managed instance group. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest] region_instance_group_managers_set_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTemplateRequest::Representation + command.request_object = region_instance_group_managers_set_template_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Modifies the target pools to which all new instances in this group are + # assigned. Existing instances in the group are not affected. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group_manager + # Name of the managed instance group. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest] region_instance_group_managers_set_target_pools_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation + command.request_object = region_instance_group_managers_set_target_pools_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroupManager'] = instance_group_manager unless instance_group_manager.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified instance group resource. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group + # Name of the instance group resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::InstanceGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::InstanceGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options) + command.response_representation = Google::Apis::ComputeV1::InstanceGroup::Representation + command.response_class = Google::Apis::ComputeV1::InstanceGroup + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of instance group resources contained within the specified + # region. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::RegionInstanceGroupList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options) + command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupList::Representation + command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupList + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the instances in the specified instance group and displays information + # about the named ports. Depending on the specified options, this method can + # list all instances or only the instances that are running. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group + # Name of the regional instance group for which we want to list the instances. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest] region_instance_groups_list_instances_request_object + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::RegionInstanceGroupsListInstances] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::RegionInstanceGroupsListInstances] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstancesRequest::Representation + command.request_object = region_instance_groups_list_instances_request_object + command.response_representation = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances::Representation + command.response_class = Google::Apis::ComputeV1::RegionInstanceGroupsListInstances + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Sets the named ports for the specified regional instance group. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] instance_group + # The name of the regional instance group where the named ports are updated. + # @param [Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest] region_instance_groups_set_named_ports_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command.request_representation = Google::Apis::ComputeV1::RegionInstanceGroupsSetNamedPortsRequest::Representation + command.request_object = region_instance_groups_set_named_ports_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['instanceGroup'] = instance_group unless instance_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Deletes the specified region-specific Operations resource. # @param [String] project # Project ID for this request. @@ -6372,7 +8848,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -6397,7 +8882,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_region_operations(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/operations', options) command.response_representation = Google::Apis::ComputeV1::OperationList::Representation command.response_class = Google::Apis::ComputeV1::OperationList @@ -6405,6 +8890,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6479,7 +8965,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -6504,13 +8999,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_regions(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions', options) command.response_representation = Google::Apis::ComputeV1::RegionList::Representation command.response_class = Google::Apis::ComputeV1::RegionList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6546,7 +9042,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -6571,13 +9076,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_router_list(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_router_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeV1::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::RouterAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6781,7 +9287,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -6806,7 +9321,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_routers(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/routers', options) command.response_representation = Google::Apis::ComputeV1::RouterList::Representation command.response_class = Google::Apis::ComputeV1::RouterList @@ -6814,6 +9329,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -6821,8 +9337,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the Router resource. This method supports patch - # semantics. + # Updates the specified Router resource with the data included in the request. + # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] region @@ -6911,7 +9427,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the Router resource. + # Updates the specified Router resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] region @@ -7099,7 +9615,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7124,13 +9649,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_routes(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/routes', options) command.response_representation = Google::Apis::ComputeV1::RouteList::Representation command.response_class = Google::Apis::ComputeV1::RouteList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -7248,7 +9774,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7273,13 +9808,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_snapshots(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/snapshots', options) command.response_representation = Google::Apis::ComputeV1::SnapshotList::Representation command.response_class = Google::Apis::ComputeV1::SnapshotList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -7432,7 +9968,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7457,13 +10002,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_ssl_certificates(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/sslCertificates', options) command.response_representation = Google::Apis::ComputeV1::SslCertificateList::Representation command.response_class = Google::Apis::ComputeV1::SslCertificateList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -7499,7 +10045,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7524,13 +10079,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def aggregated_subnetwork_list(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def aggregated_subnetwork_list(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeV1::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::SubnetworkAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -7579,6 +10135,50 @@ module Google execute_or_queue_command(command, &block) end + # Expands the IP CIDR range of the subnetwork to a specified value. + # @param [String] project + # Project ID for this request. + # @param [String] region + # Name of the region scoping this request. + # @param [String] subnetwork + # Name of the Subnetwork resource to update. + # @param [Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest] subnetworks_expand_ip_cidr_range_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) + command.request_representation = Google::Apis::ComputeV1::SubnetworksExpandIpCidrRangeRequest::Representation + command.request_object = subnetworks_expand_ip_cidr_range_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['subnetwork'] = subnetwork unless subnetwork.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns the specified subnetwork. Get a list of available subnetworks list() # request. # @param [String] project @@ -7693,7 +10293,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7718,7 +10327,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_subnetworks(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options) command.response_representation = Google::Apis::ComputeV1::SubnetworkList::Representation command.response_class = Google::Apis::ComputeV1::SubnetworkList @@ -7726,6 +10335,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -7878,7 +10488,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -7903,13 +10522,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_target_http_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeV1::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeV1::TargetHttpProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -8103,7 +10723,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -8128,13 +10757,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_target_https_proxies(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeV1::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeV1::TargetHttpsProxyList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -8252,7 +10882,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -8277,13 +10916,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_instance(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_instance(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeV1::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -8447,7 +11087,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -8472,7 +11121,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_target_instances(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options) command.response_representation = Google::Apis::ComputeV1::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeV1::TargetInstanceList @@ -8480,6 +11129,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -8603,7 +11253,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -8628,13 +11287,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_pools(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_pools(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeV1::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::TargetPoolAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -8842,7 +11502,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -8867,7 +11536,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_target_pools(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options) command.response_representation = Google::Apis::ComputeV1::TargetPoolList::Representation command.response_class = Google::Apis::ComputeV1::TargetPoolList @@ -8875,6 +11544,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9017,6 +11687,323 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified TargetSslProxy resource. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource to delete. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the specified TargetSslProxy resource. Get a list of available target + # SSL proxies by making a list() request. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::TargetSslProxy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::TargetSslProxy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command.response_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation + command.response_class = Google::Apis::ComputeV1::TargetSslProxy + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a TargetSslProxy resource in the specified project using the data + # included in the request. + # @param [String] project + # Project ID for this request. + # @param [Google::Apis::ComputeV1::TargetSslProxy] target_ssl_proxy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetSslProxies', options) + command.request_representation = Google::Apis::ComputeV1::TargetSslProxy::Representation + command.request_object = target_ssl_proxy_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of TargetSslProxy resources available to the specified + # project. + # @param [String] project + # Project ID for this request. + # @param [String] 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. + # @param [Fixnum] max_results + # 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) + # @param [String] order_by + # 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. + # @param [String] page_token + # Specifies a page token to use. Set pageToken to the nextPageToken returned by + # a previous list request to get the next page of results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::TargetSslProxyList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::TargetSslProxyList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/targetSslProxies', options) + command.response_representation = Google::Apis::ComputeV1::TargetSslProxyList::Representation + command.response_class = Google::Apis::ComputeV1::TargetSslProxyList + command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes the BackendService for TargetSslProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource whose BackendService resource is to be set. + # @param [Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest] target_ssl_proxies_set_backend_service_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) + command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetBackendServiceRequest::Representation + command.request_object = target_ssl_proxies_set_backend_service_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes the ProxyHeaderType for TargetSslProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource whose ProxyHeader is to be set. + # @param [Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest] target_ssl_proxies_set_proxy_header_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) + command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetProxyHeaderRequest::Representation + command.request_object = target_ssl_proxies_set_proxy_header_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Changes SslCertificates for TargetSslProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource whose SslCertificate resource is to be set. + # @param [Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest] target_ssl_proxies_set_ssl_certificates_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) + command.request_representation = Google::Apis::ComputeV1::TargetSslProxiesSetSslCertificatesRequest::Representation + command.request_object = target_ssl_proxies_set_ssl_certificates_request_object + command.response_representation = Google::Apis::ComputeV1::Operation::Representation + command.response_class = Google::Apis::ComputeV1::Operation + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves an aggregated list of target VPN gateways. # @param [String] project # Project ID for this request. @@ -9045,7 +12032,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -9070,13 +12066,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_target_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9240,7 +12237,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -9265,7 +12271,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeV1::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeV1::TargetVpnGatewayList @@ -9273,6 +12279,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9466,7 +12473,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -9491,13 +12507,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_url_maps(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/urlMaps', options) command.response_representation = Google::Apis::ComputeV1::UrlMapList::Representation command.response_class = Google::Apis::ComputeV1::UrlMapList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9505,8 +12522,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the UrlMap resource. This method supports patch - # semantics. + # Updates the specified UrlMap resource with the data included in the request. + # This method supports patch semantics. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -9547,7 +12564,7 @@ module Google execute_or_queue_command(command, &block) end - # Updates the entire content of the UrlMap resource. + # Updates the specified UrlMap resource with the data included in the request. # @param [String] project # Project ID for this request. # @param [String] url_map @@ -9658,7 +12675,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -9683,13 +12709,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_aggregated_vpn_tunnel(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeV1::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeV1::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -9853,7 +12880,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -9878,7 +12914,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_vpn_tunnels(project, region, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options) command.response_representation = Google::Apis::ComputeV1::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeV1::VpnTunnelList @@ -9886,6 +12922,7 @@ module Google command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -10003,7 +13040,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -10028,7 +13074,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_zone_operations(project, zone, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) command.response_representation = Google::Apis::ComputeV1::OperationList::Representation command.response_class = Google::Apis::ComputeV1::OperationList @@ -10036,6 +13082,7 @@ module Google command.params['zone'] = zone unless zone.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -10110,7 +13157,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -10135,13 +13191,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_zones(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/zones', options) command.response_representation = Google::Apis::ComputeV1::ZoneList::Representation command.response_class = Google::Apis::ComputeV1::ZoneList command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/container_v1.rb b/generated/google/apis/container_v1.rb index d44c142c9..e7247cb5c 100644 --- a/generated/google/apis/container_v1.rb +++ b/generated/google/apis/container_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1 VERSION = 'V1' - REVISION = '20160421' + REVISION = '20161024' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1/classes.rb b/generated/google/apis/container_v1/classes.rb index 9ccc8ca9b..01b68eaa4 100644 --- a/generated/google/apis/container_v1/classes.rb +++ b/generated/google/apis/container_v1/classes.rb @@ -129,8 +129,7 @@ module Google # @return [String] attr_accessor :subnetwork - # The node pools associated with this cluster. When creating a new cluster, only - # a single node pool should be specified. This field should not be set if " + # The node pools associated with this cluster. This field should not be set if " # node_config" or "initial_node_count" are specified. # Corresponds to the JSON property `nodePools` # @return [Array] @@ -142,6 +141,16 @@ module Google # @return [Array] attr_accessor :locations + # Kubernetes alpha features are enabled on this cluster. This includes alpha API + # groups (e.g. v1alpha1) and features that may not be production ready in the + # kubernetes version of the master and nodes. The cluster has no SLA for uptime + # and master/node upgrades are disabled. Alpha enabled clusters are + # automatically deleted thirty days after creation. + # Corresponds to the JSON property `enableKubernetesAlpha` + # @return [Boolean] + attr_accessor :enable_kubernetes_alpha + alias_method :enable_kubernetes_alpha?, :enable_kubernetes_alpha + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] @@ -221,6 +230,12 @@ module Google # @return [Fixnum] attr_accessor :current_node_count + # [Output only] The time the cluster will be automatically deleted in [RFC3339]( + # https://www.ietf.org/rfc/rfc3339.txt) text format. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + def initialize(**args) update!(**args) end @@ -240,6 +255,7 @@ module Google @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @node_pools = args[:node_pools] if args.key?(:node_pools) @locations = args[:locations] if args.key?(:locations) + @enable_kubernetes_alpha = args[:enable_kubernetes_alpha] if args.key?(:enable_kubernetes_alpha) @self_link = args[:self_link] if args.key?(:self_link) @zone = args[:zone] if args.key?(:zone) @endpoint = args[:endpoint] if args.key?(:endpoint) @@ -253,6 +269,7 @@ module Google @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr) @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) @current_node_count = args[:current_node_count] if args.key?(:current_node_count) + @expire_time = args[:expire_time] if args.key?(:expire_time) end end @@ -285,6 +302,12 @@ module Google # @return [Array] attr_accessor :oauth_scopes + # The Google Cloud Platform Service Account to be used by the node VMs. If no + # Service Account is specified, the "default" service account is used. + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + # The metadata key/value pairs assigned to instances in the cluster. Keys must # conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. # These are reflected as part of a URL in the metadata server. Additionally, to @@ -298,6 +321,47 @@ module Google # @return [Hash] attr_accessor :metadata + # The image type to use for this node. Note that for a given image type, the + # latest version of it will be used. + # Corresponds to the JSON property `imageType` + # @return [String] + attr_accessor :image_type + + # The map of Kubernetes labels (key/value pairs) to be applied to each node. + # These will added in addition to any default label(s) that Kubernetes may apply + # to the node. In case of conflict in label keys, the applied set may differ + # depending on the Kubernetes version -- it's best to assume the behavior is + # undefined and conflicts should be avoided. For more information, including + # usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/ + # labels.html + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The number of local SSD disks to be attached to the node. The limit for this + # value is dependant upon the maximum number of disks available on a machine per + # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd# + # local_ssd_limits for more information. + # Corresponds to the JSON property `localSsdCount` + # @return [Fixnum] + attr_accessor :local_ssd_count + + # The list of instance tags applied to all nodes. Tags are used to identify + # valid sources or targets for network firewalls and are specified by the client + # during cluster or node pool creation. Each tag within the list must comply + # with RFC1035. + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # Whether the nodes are created as preemptible VM instances. See: https://cloud. + # google.com/compute/docs/instances/preemptible for more inforamtion about + # preemptible VM instances. + # Corresponds to the JSON property `preemptible` + # @return [Boolean] + attr_accessor :preemptible + alias_method :preemptible?, :preemptible + def initialize(**args) update!(**args) end @@ -307,7 +371,13 @@ module Google @machine_type = args[:machine_type] if args.key?(:machine_type) @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @service_account = args[:service_account] if args.key?(:service_account) @metadata = args[:metadata] if args.key?(:metadata) + @image_type = args[:image_type] if args.key?(:image_type) + @labels = args[:labels] if args.key?(:labels) + @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count) + @tags = args[:tags] if args.key?(:tags) + @preemptible = args[:preemptible] if args.key?(:preemptible) end end @@ -461,12 +531,12 @@ module Google # @return [Fixnum] attr_accessor :initial_node_count - # Server-defined URL for the resource. + # [Output only] Server-defined URL for the resource. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # The version of the Kubernetes of this node. + # [Output only] The version of the Kubernetes of this node. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version @@ -477,7 +547,7 @@ module Google # @return [Array] attr_accessor :instance_group_urls - # The status of the nodes in this pool instance. + # [Output only] The status of the nodes in this pool instance. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status @@ -488,6 +558,18 @@ module Google # @return [String] attr_accessor :status_message + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + # Corresponds to the JSON property `autoscaling` + # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] + attr_accessor :autoscaling + + # NodeManagement defines the set of node management services turned on for the + # node pool. + # Corresponds to the JSON property `management` + # @return [Google::Apis::ContainerV1::NodeManagement] + attr_accessor :management + def initialize(**args) update!(**args) end @@ -502,6 +584,99 @@ module Google @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls) @status = args[:status] if args.key?(:status) @status_message = args[:status_message] if args.key?(:status_message) + @autoscaling = args[:autoscaling] if args.key?(:autoscaling) + @management = args[:management] if args.key?(:management) + end + end + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + class NodePoolAutoscaling + include Google::Apis::Core::Hashable + + # Is autoscaling enabled for this node pool. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count. + # Corresponds to the JSON property `minNodeCount` + # @return [Fixnum] + attr_accessor :min_node_count + + # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has + # to enough quota to scale up the cluster. + # Corresponds to the JSON property `maxNodeCount` + # @return [Fixnum] + attr_accessor :max_node_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @min_node_count = args[:min_node_count] if args.key?(:min_node_count) + @max_node_count = args[:max_node_count] if args.key?(:max_node_count) + end + end + + # NodeManagement defines the set of node management services turned on for the + # node pool. + class NodeManagement + include Google::Apis::Core::Hashable + + # Whether the nodes will be automatically upgraded. + # Corresponds to the JSON property `autoUpgrade` + # @return [Boolean] + attr_accessor :auto_upgrade + alias_method :auto_upgrade?, :auto_upgrade + + # AutoUpgradeOptions defines the set of options for the user to control how the + # Auto Upgrades will proceed. + # Corresponds to the JSON property `upgradeOptions` + # @return [Google::Apis::ContainerV1::AutoUpgradeOptions] + attr_accessor :upgrade_options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_upgrade = args[:auto_upgrade] if args.key?(:auto_upgrade) + @upgrade_options = args[:upgrade_options] if args.key?(:upgrade_options) + end + end + + # AutoUpgradeOptions defines the set of options for the user to control how the + # Auto Upgrades will proceed. + class AutoUpgradeOptions + include Google::Apis::Core::Hashable + + # [Output only] This field is set when upgrades are about to commence with the + # approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/ + # rfc3339.txt) text format. + # Corresponds to the JSON property `autoUpgradeStartTime` + # @return [String] + attr_accessor :auto_upgrade_start_time + + # [Output only] This field is set when upgrades are about to commence with the + # description of the upgrade. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_upgrade_start_time = args[:auto_upgrade_start_time] if args.key?(:auto_upgrade_start_time) + @description = args[:description] if args.key?(:description) end end @@ -631,13 +806,34 @@ module Google # @return [Google::Apis::ContainerV1::AddonsConfig] attr_accessor :desired_addons_config - # The node pool to be upgraded. This field is mandatory if the " - # desired_node_version" or "desired_image_family" is specified and there is more - # than one node pool on the cluster. + # The node pool to be upgraded. This field is mandatory if "desired_node_version" + # , "desired_image_family" or "desired_node_pool_autoscaling" is specified and + # there is more than one node pool on the cluster. # Corresponds to the JSON property `desiredNodePoolId` # @return [String] attr_accessor :desired_node_pool_id + # The desired image type for the node pool. NOTE: Set the "desired_node_pool" + # field as well. + # Corresponds to the JSON property `desiredImageType` + # @return [String] + attr_accessor :desired_image_type + + # NodePoolAutoscaling contains information required by cluster autoscaler to + # adjust the size of the node pool to the current cluster usage. + # Corresponds to the JSON property `desiredNodePoolAutoscaling` + # @return [Google::Apis::ContainerV1::NodePoolAutoscaling] + attr_accessor :desired_node_pool_autoscaling + + # The desired list of Google Compute Engine [locations](/compute/docs/zones# + # available) in which the cluster's nodes should be located. Changing the + # locations a cluster is in will result in nodes being either created or removed + # from the cluster, depending on whether locations are being added or removed. + # This list must always include the cluster's primary zone. + # Corresponds to the JSON property `desiredLocations` + # @return [Array] + attr_accessor :desired_locations + # The Kubernetes version to change the master to. The only valid value is the # latest supported version. Use "-" to have the server automatically select the # latest version. @@ -655,6 +851,9 @@ module Google @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config) @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) + @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type) + @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling) + @desired_locations = args[:desired_locations] if args.key?(:desired_locations) @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) end end @@ -685,6 +884,36 @@ module Google end end + # CancelOperationRequest cancels a single operation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Container Engine service configuration. class ServerConfig include Google::Apis::Core::Hashable @@ -699,15 +928,20 @@ module Google # @return [Array] attr_accessor :valid_node_versions - # Default image family. - # Corresponds to the JSON property `defaultImageFamily` + # Default image type. + # Corresponds to the JSON property `defaultImageType` # @return [String] - attr_accessor :default_image_family + attr_accessor :default_image_type - # List of valid image families. - # Corresponds to the JSON property `validImageFamilies` + # List of valid image types. + # Corresponds to the JSON property `validImageTypes` # @return [Array] - attr_accessor :valid_image_families + attr_accessor :valid_image_types + + # List of valid master versions. + # Corresponds to the JSON property `validMasterVersions` + # @return [Array] + attr_accessor :valid_master_versions def initialize(**args) update!(**args) @@ -717,8 +951,9 @@ module Google def update!(**args) @default_cluster_version = args[:default_cluster_version] if args.key?(:default_cluster_version) @valid_node_versions = args[:valid_node_versions] if args.key?(:valid_node_versions) - @default_image_family = args[:default_image_family] if args.key?(:default_image_family) - @valid_image_families = args[:valid_image_families] if args.key?(:valid_image_families) + @default_image_type = args[:default_image_type] if args.key?(:default_image_type) + @valid_image_types = args[:valid_image_types] if args.key?(:valid_image_types) + @valid_master_versions = args[:valid_master_versions] if args.key?(:valid_master_versions) end end @@ -764,6 +999,42 @@ module Google @node_pool = args[:node_pool] if args.key?(:node_pool) end end + + # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed + # NodePool upgrade. This will be an no-op if the last upgrade successfully + # completed. + class RollbackNodePoolUpgradeRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # SetNodePoolManagementRequest sets the node management properties of a node + # pool. + class SetNodePoolManagementRequest + include Google::Apis::Core::Hashable + + # NodeManagement defines the set of node management services turned on for the + # node pool. + # Corresponds to the JSON property `management` + # @return [Google::Apis::ContainerV1::NodeManagement] + attr_accessor :management + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @management = args[:management] if args.key?(:management) + end + end end end end diff --git a/generated/google/apis/container_v1/representations.rb b/generated/google/apis/container_v1/representations.rb index 528258165..aab2e6dbe 100644 --- a/generated/google/apis/container_v1/representations.rb +++ b/generated/google/apis/container_v1/representations.rb @@ -70,6 +70,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NodePoolAutoscaling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeManagement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoUpgradeOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CreateClusterRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -100,6 +118,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ServerConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +148,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class RollbackNodePoolUpgradeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetNodePoolManagementRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListClustersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -147,6 +189,7 @@ module Google collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation collection :locations, as: 'locations' + property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha' property :self_link, as: 'selfLink' property :zone, as: 'zone' property :endpoint, as: 'endpoint' @@ -160,6 +203,7 @@ module Google property :services_ipv4_cidr, as: 'servicesIpv4Cidr' collection :instance_group_urls, as: 'instanceGroupUrls' property :current_node_count, as: 'currentNodeCount' + property :expire_time, as: 'expireTime' end end @@ -169,7 +213,13 @@ module Google property :machine_type, as: 'machineType' property :disk_size_gb, as: 'diskSizeGb' collection :oauth_scopes, as: 'oauthScopes' + property :service_account, as: 'serviceAccount' hash :metadata, as: 'metadata' + property :image_type, as: 'imageType' + hash :labels, as: 'labels' + property :local_ssd_count, as: 'localSsdCount' + collection :tags, as: 'tags' + property :preemptible, as: 'preemptible' end end @@ -220,6 +270,36 @@ module Google collection :instance_group_urls, as: 'instanceGroupUrls' property :status, as: 'status' property :status_message, as: 'statusMessage' + property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + + property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation + + end + end + + class NodePoolAutoscaling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :min_node_count, as: 'minNodeCount' + property :max_node_count, as: 'maxNodeCount' + end + end + + class NodeManagement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_upgrade, as: 'autoUpgrade' + property :upgrade_options, as: 'upgradeOptions', class: Google::Apis::ContainerV1::AutoUpgradeOptions, decorator: Google::Apis::ContainerV1::AutoUpgradeOptions::Representation + + end + end + + class AutoUpgradeOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_upgrade_start_time, as: 'autoUpgradeStartTime' + property :description, as: 'description' end end @@ -261,6 +341,10 @@ module Google property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation property :desired_node_pool_id, as: 'desiredNodePoolId' + property :desired_image_type, as: 'desiredImageType' + property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation + + collection :desired_locations, as: 'desiredLocations' property :desired_master_version, as: 'desiredMasterVersion' end end @@ -274,13 +358,26 @@ module Google end end + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class ServerConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :default_cluster_version, as: 'defaultClusterVersion' collection :valid_node_versions, as: 'validNodeVersions' - property :default_image_family, as: 'defaultImageFamily' - collection :valid_image_families, as: 'validImageFamilies' + property :default_image_type, as: 'defaultImageType' + collection :valid_image_types, as: 'validImageTypes' + collection :valid_master_versions, as: 'validMasterVersions' end end @@ -299,6 +396,20 @@ module Google end end + + class RollbackNodePoolUpgradeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SetNodePoolManagementRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation + + end + end end end end diff --git a/generated/google/apis/container_v1/service.rb b/generated/google/apis/container_v1/service.rb index 045fc8132..fdc752454 100644 --- a/generated/google/apis/container_v1/service.rb +++ b/generated/google/apis/container_v1/service.rb @@ -444,6 +444,95 @@ module Google execute_or_queue_command(command, &block) end + # Roll back the previously Aborted or Failed NodePool upgrade. This will be an + # no-op if the last upgrade successfully completed. + # @param [String] project_id + # The Google Developers Console [project ID or project number](https://support. + # google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in + # which the cluster resides. + # @param [String] cluster_id + # The name of the cluster to rollback. + # @param [String] node_pool_id + # The name of the node pool to rollback. + # @param [Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest] rollback_node_pool_upgrade_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def rollback_node_pool_upgrade(project_id, zone, cluster_id, node_pool_id, rollback_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback', options) + command.request_representation = Google::Apis::ContainerV1::RollbackNodePoolUpgradeRequest::Representation + command.request_object = rollback_node_pool_upgrade_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the NodeManagement options for a node pool. + # @param [String] project_id + # The Google Developers Console [project ID or project number](https://support. + # google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in + # which the cluster resides. + # @param [String] cluster_id + # The name of the cluster to update. + # @param [String] node_pool_id + # The name of the node pool to update. + # @param [Google::Apis::ContainerV1::SetNodePoolManagementRequest] set_node_pool_management_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_project_zone_cluster_node_pool_management(project_id, zone, cluster_id, node_pool_id, set_node_pool_management_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement', options) + command.request_representation = Google::Apis::ContainerV1::SetNodePoolManagementRequest::Representation + command.request_object = set_node_pool_management_request_object + command.response_representation = Google::Apis::ContainerV1::Operation::Representation + command.response_class = Google::Apis::ContainerV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.params['nodePoolId'] = node_pool_id unless node_pool_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists all operations in a project in a specific zone or all zones. # @param [String] project_id # The Google Developers Console [project ID or project number](https://support. @@ -516,6 +605,47 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Cancels the specified operation. + # @param [String] project_id + # The Google Developers Console [project ID or project number](https://support. + # google.com/cloud/answer/6158840). + # @param [String] zone + # The name of the Google Compute Engine [zone](/compute/docs/zones#available) in + # which the operation resides. + # @param [String] operation_id + # The server-assigned `name` of the operation. + # @param [Google::Apis::ContainerV1::CancelOperationRequest] cancel_operation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ContainerV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ContainerV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_operation(project_id, zone, operation_id, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel', options) + command.request_representation = Google::Apis::ContainerV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::ContainerV1::Empty::Representation + command.response_class = Google::Apis::ContainerV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['zone'] = zone unless zone.nil? + command.params['operationId'] = operation_id unless operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/content_v2.rb b/generated/google/apis/content_v2.rb index c3414e4cd..d7aeec675 100644 --- a/generated/google/apis/content_v2.rb +++ b/generated/google/apis/content_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/shopping-content module ContentV2 VERSION = 'V2' - REVISION = '20160808' + REVISION = '20170303' # Manage your product listings and accounts for Google Shopping AUTH_CONTENT = 'https://www.googleapis.com/auth/content' diff --git a/generated/google/apis/content_v2/classes.rb b/generated/google/apis/content_v2/classes.rb index c676846e0..d453284c6 100644 --- a/generated/google/apis/content_v2/classes.rb +++ b/generated/google/apis/content_v2/classes.rb @@ -32,10 +32,11 @@ module Google attr_accessor :adult_content alias_method :adult_content?, :adult_content - # List of linked AdWords accounts, active or pending approval. To create a new - # link request, add a new link with status active to the list. It will remain is - # state pending until approved or rejected in the AdWords interface. To delete - # an active link or to cancel a link request, remove it from the list. + # List of linked AdWords accounts that are active or pending approval. To create + # a new link request, add a new link with status active to the list. It will + # remain in a pending state until approved or rejected either in the AdWords + # interface or through the AdWords API. To delete an active link, or to cancel + # a link request, remove it from the list. # Corresponds to the JSON property `adwordsLinks` # @return [Array] attr_accessor :adwords_links @@ -660,6 +661,11 @@ module Google # @return [String] attr_accessor :country + # A more detailed description of the issue. + # Corresponds to the JSON property `detail` + # @return [String] + attr_accessor :detail + # Actual value displayed on the landing page. # Corresponds to the JSON property `displayedValue` # @return [String] @@ -680,6 +686,11 @@ module Google # @return [String] attr_accessor :last_checked + # The attribute name that is relevant for the issue. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + # Number of items in the account found to have the said issue. # Corresponds to the JSON property `numItems` # @return [Fixnum] @@ -702,10 +713,12 @@ module Google # Update properties of this object def update!(**args) @country = args[:country] if args.key?(:country) + @detail = args[:detail] if args.key?(:detail) @displayed_value = args[:displayed_value] if args.key?(:displayed_value) @example_items = args[:example_items] if args.key?(:example_items) @id = args[:id] if args.key?(:id) @last_checked = args[:last_checked] if args.key?(:last_checked) + @location = args[:location] if args.key?(:location) @num_items = args[:num_items] if args.key?(:num_items) @severity = args[:severity] if args.key?(:severity) @submitted_value = args[:submitted_value] if args.key?(:submitted_value) @@ -1616,7 +1629,8 @@ module Google # @return [String] attr_accessor :content_language - # The type of data feed. + # The type of data feed. For product inventory feeds, only feeds for local + # stores, not online stores, are supported. # Corresponds to the JSON property `contentType` # @return [String] attr_accessor :content_type @@ -2414,6 +2428,14 @@ module Google # @return [Google::Apis::ContentV2::LoyaltyPoints] attr_accessor :loyalty_points + # Store pickup information. Only supported for local inventory. Not setting + # pickup means "don't update" while setting it to the empty value (`` in JSON) + # means "delete". Otherwise, pickupMethod and pickupSla must be set together, + # unless pickupMethod is "not supported". + # Corresponds to the JSON property `pickup` + # @return [Google::Apis::ContentV2::InventoryPickup] + attr_accessor :pickup + # The price of the product. # Corresponds to the JSON property `price` # @return [Google::Apis::ContentV2::Price] @@ -2453,6 +2475,7 @@ module Google @installment = args[:installment] if args.key?(:installment) @kind = args[:kind] if args.key?(:kind) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) + @pickup = args[:pickup] if args.key?(:pickup) @price = args[:price] if args.key?(:price) @quantity = args[:quantity] if args.key?(:quantity) @sale_price = args[:sale_price] if args.key?(:sale_price) @@ -2582,6 +2605,36 @@ module Google end end + # + class InventoryPickup + include Google::Apis::Core::Hashable + + # Whether store pickup is available for this offer and whether the pickup option + # should be shown as buy, reserve, or not supported. Only supported for local + # inventory. Unless the value is "not supported", must be submitted together + # with pickupSla. + # Corresponds to the JSON property `pickupMethod` + # @return [String] + attr_accessor :pickup_method + + # The expected date that an order will be ready for pickup, relative to when the + # order is placed. Only supported for local inventory. Must be submitted + # together with pickupMethod. + # Corresponds to the JSON property `pickupSla` + # @return [String] + attr_accessor :pickup_sla + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pickup_method = args[:pickup_method] if args.key?(:pickup_method) + @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla) + end + end + # class SetInventoryRequest include Google::Apis::Core::Hashable @@ -2601,6 +2654,14 @@ module Google # @return [Google::Apis::ContentV2::LoyaltyPoints] attr_accessor :loyalty_points + # Store pickup information. Only supported for local inventory. Not setting + # pickup means "don't update" while setting it to the empty value (`` in JSON) + # means "delete". Otherwise, pickupMethod and pickupSla must be set together, + # unless pickupMethod is "not supported". + # Corresponds to the JSON property `pickup` + # @return [Google::Apis::ContentV2::InventoryPickup] + attr_accessor :pickup + # The price of the product. # Corresponds to the JSON property `price` # @return [Google::Apis::ContentV2::Price] @@ -2639,6 +2700,7 @@ module Google @availability = args[:availability] if args.key?(:availability) @installment = args[:installment] if args.key?(:installment) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) + @pickup = args[:pickup] if args.key?(:pickup) @price = args[:price] if args.key?(:price) @quantity = args[:quantity] if args.key?(:quantity) @sale_price = args[:sale_price] if args.key?(:sale_price) @@ -2730,6 +2792,11 @@ module Google attr_accessor :acknowledged alias_method :acknowledged?, :acknowledged + # The channel type of the order: "purchaseOnGoogle" or "googleExpress". + # Corresponds to the JSON property `channelType` + # @return [String] + attr_accessor :channel_type + # The details of the customer who placed the order. # Corresponds to the JSON property `customer` # @return [Google::Apis::ContentV2::OrderCustomer] @@ -2831,6 +2898,7 @@ module Google # Update properties of this object def update!(**args) @acknowledged = args[:acknowledged] if args.key?(:acknowledged) + @channel_type = args[:channel_type] if args.key?(:channel_type) @customer = args[:customer] if args.key?(:customer) @delivery_details = args[:delivery_details] if args.key?(:delivery_details) @id = args[:id] if args.key?(:id) @@ -2977,8 +3045,7 @@ module Google # If set, this indicates the user explicitly chose to opt in or out of providing # marketing rights to the merchant. If unset, this indicates the user has # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the Purchases on Google checkout - # flow. + # marketing right opt in/out checkbox during the checkout flow. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference @@ -6553,8 +6620,7 @@ module Google # If set, this indicates the user explicitly chose to opt in or out of providing # marketing rights to the merchant. If unset, this indicates the user has # already made this choice in a previous purchase, and was thus not shown the - # marketing right opt in/out checkbox during the Purchases on Google checkout - # flow. Optional. + # marketing right opt in/out checkbox during the checkout flow. Optional. # Corresponds to the JSON property `explicitMarketingPreference` # @return [Boolean] attr_accessor :explicit_marketing_preference diff --git a/generated/google/apis/content_v2/representations.rb b/generated/google/apis/content_v2/representations.rb index 356db4e87..59c2e0cbf 100644 --- a/generated/google/apis/content_v2/representations.rb +++ b/generated/google/apis/content_v2/representations.rb @@ -430,6 +430,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InventoryPickup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SetInventoryRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1196,11 +1202,13 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :country, as: 'country' + property :detail, as: 'detail' property :displayed_value, as: 'displayedValue' collection :example_items, as: 'exampleItems', class: Google::Apis::ContentV2::AccountStatusExampleItem, decorator: Google::Apis::ContentV2::AccountStatusExampleItem::Representation property :id, as: 'id' property :last_checked, as: 'lastChecked' + property :location, as: 'location' property :num_items, as: 'numItems' property :severity, as: 'severity' property :submitted_value, as: 'submittedValue' @@ -1714,6 +1722,8 @@ module Google property :kind, as: 'kind' property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation + property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation + property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :quantity, as: 'quantity' @@ -1763,6 +1773,14 @@ module Google end end + class InventoryPickup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pickup_method, as: 'pickupMethod' + property :pickup_sla, as: 'pickupSla' + end + end + class SetInventoryRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1771,6 +1789,8 @@ module Google property :loyalty_points, as: 'loyaltyPoints', class: Google::Apis::ContentV2::LoyaltyPoints, decorator: Google::Apis::ContentV2::LoyaltyPoints::Representation + property :pickup, as: 'pickup', class: Google::Apis::ContentV2::InventoryPickup, decorator: Google::Apis::ContentV2::InventoryPickup::Representation + property :price, as: 'price', class: Google::Apis::ContentV2::Price, decorator: Google::Apis::ContentV2::Price::Representation property :quantity, as: 'quantity' @@ -1808,6 +1828,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :acknowledged, as: 'acknowledged' + property :channel_type, as: 'channelType' property :customer, as: 'customer', class: Google::Apis::ContentV2::OrderCustomer, decorator: Google::Apis::ContentV2::OrderCustomer::Representation property :delivery_details, as: 'deliveryDetails', class: Google::Apis::ContentV2::OrderDeliveryDetails, decorator: Google::Apis::ContentV2::OrderDeliveryDetails::Representation diff --git a/generated/google/apis/content_v2/service.rb b/generated/google/apis/content_v2/service.rb index ccfcc7b57..d452ef113 100644 --- a/generated/google/apis/content_v2/service.rb +++ b/generated/google/apis/content_v2/service.rb @@ -124,7 +124,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a Merchant Center sub-account. + # Deletes a Merchant Center sub-account. This method can only be called for + # multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -163,7 +164,9 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a Merchant Center account. + # Retrieves a Merchant Center account. This method can only be called for + # accounts to which the managing account has access: either the managing account + # itself or sub-accounts if the managing account is a multi-client account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -201,7 +204,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a Merchant Center sub-account. + # Creates a Merchant Center sub-account. This method can only be called for + # multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::Account] account_object @@ -242,7 +246,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the sub-accounts in your Merchant Center account. + # Lists the sub-accounts in your Merchant Center account. This method can only + # be called for multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -283,7 +288,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates a Merchant Center account. This method supports patch semantics. + # Updates a Merchant Center account. This method can only be called for accounts + # to which the managing account has access: either the managing account itself + # or sub-accounts if the managing account is a multi-client account. This method + # supports patch semantics. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -327,7 +335,9 @@ module Google execute_or_queue_command(command, &block) end - # Updates a Merchant Center account. + # Updates a Merchant Center account. This method can only be called for accounts + # to which the managing account has access: either the managing account itself + # or sub-accounts if the managing account is a multi-client account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -410,7 +420,10 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the shipping settings of the account. + # Retrieves the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -449,7 +462,7 @@ module Google end # Lists the shipping settings of the sub-accounts in your Merchant Center - # account. + # account. This method can only be called for multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -491,8 +504,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the shipping settings of the account. This method supports patch - # semantics. + # Updates the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. This method supports patch semantics. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -536,7 +551,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the shipping settings of the account. + # Updates the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -615,7 +633,10 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the status of a Merchant Center account. + # Retrieves the status of a Merchant Center account. This method can only be + # called for accounts to which the managing account has access: either the + # managing account itself or sub-accounts if the managing account is a multi- + # client account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -653,7 +674,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the statuses of the sub-accounts in your Merchant Center account. + # Lists the statuses of the sub-accounts in your Merchant Center account. This + # method can only be called for multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -733,7 +755,9 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the tax settings of the account. + # Retrieves the tax settings of the account. This method can only be called for + # accounts to which the managing account has access: either the managing account + # itself or sub-accounts if the managing account is a multi-client account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -772,6 +796,7 @@ module Google end # Lists the tax settings of the sub-accounts in your Merchant Center account. + # This method can only be called for multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -812,7 +837,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the tax settings of the account. This method supports patch semantics. + # Updates the tax settings of the account. This method can only be called for + # accounts to which the managing account has access: either the managing account + # itself or sub-accounts if the managing account is a multi-client account. This + # method supports patch semantics. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -856,7 +884,9 @@ module Google execute_or_queue_command(command, &block) end - # Updates the tax settings of the account. + # Updates the tax settings of the account. This method can only be called for + # accounts to which the managing account has access: either the managing account + # itself or sub-accounts if the managing account is a multi-client account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -938,7 +968,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a datafeed from your Merchant Center account. + # Deletes a datafeed from your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # @param [String] datafeed_id # @param [Boolean] dry_run @@ -975,7 +1006,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a datafeed from your Merchant Center account. + # Retrieves a datafeed from your Merchant Center account. This method can only + # be called for non-multi-client accounts. # @param [String] merchant_id # @param [String] datafeed_id # @param [String] fields @@ -1011,7 +1043,8 @@ module Google execute_or_queue_command(command, &block) end - # Registers a datafeed with your Merchant Center account. + # Registers a datafeed with your Merchant Center account. This method can only + # be called for non-multi-client accounts. # @param [String] merchant_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object # @param [Boolean] dry_run @@ -1051,7 +1084,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the datafeeds in your Merchant Center account. + # Lists the datafeeds in your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -1092,8 +1126,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates a datafeed of your Merchant Center account. This method supports patch - # semantics. + # Updates a datafeed of your Merchant Center account. This method can only be + # called for non-multi-client accounts. This method supports patch semantics. # @param [String] merchant_id # @param [String] datafeed_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object @@ -1135,7 +1169,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates a datafeed of your Merchant Center account. + # Updates a datafeed of your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # @param [String] datafeed_id # @param [Google::Apis::ContentV2::Datafeed] datafeed_object @@ -1212,7 +1247,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the status of a datafeed from your Merchant Center account. + # Retrieves the status of a datafeed from your Merchant Center account. This + # method can only be called for non-multi-client accounts. # @param [String] merchant_id # @param [String] datafeed_id # @param [String] fields @@ -1248,7 +1284,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the statuses of the datafeeds in your Merchant Center account. + # Lists the statuses of the datafeeds in your Merchant Center account. This + # method can only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -1291,6 +1328,7 @@ module Google # Updates price and availability for multiple products or stores in a single # request. This operation does not update the expiration date of the products. + # This method can only be called for non-multi-client accounts. # @param [Google::Apis::ContentV2::BatchInventoryRequest] batch_inventory_request_object # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -1329,7 +1367,8 @@ module Google end # Updates price and availability of a product in your Merchant Center account. - # This operation does not update the expiration date of the product. + # This operation does not update the expiration date of the product. This method + # can only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] store_code @@ -1377,7 +1416,8 @@ module Google execute_or_queue_command(command, &block) end - # Marks an order as acknowledged. + # Marks an order as acknowledged. This method can only be called for non-multi- + # client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1419,7 +1459,7 @@ module Google end # Sandbox only. Moves a test order from state "inProgress" to state " - # pendingShipment". + # pendingShipment". This method can only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1457,7 +1497,8 @@ module Google execute_or_queue_command(command, &block) end - # Cancels all line items in an order. + # Cancels all line items in an order. This method can only be called for non- + # multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1498,7 +1539,8 @@ module Google execute_or_queue_command(command, &block) end - # Cancels a line item. + # Cancels a line item. This method can only be called for non-multi-client + # accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1539,7 +1581,8 @@ module Google execute_or_queue_command(command, &block) end - # Sandbox only. Creates a test order. + # Sandbox only. Creates a test order. This method can only be called for non- + # multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::OrdersCreateTestOrderRequest] orders_create_test_order_request_object @@ -1577,7 +1620,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves or modifies multiple orders in a single request. + # Retrieves or modifies multiple orders in a single request. This method can + # only be called for non-multi-client accounts. # @param [Google::Apis::ContentV2::OrdersCustomBatchRequest] orders_custom_batch_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1612,7 +1656,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an order from your Merchant Center account. + # Retrieves an order from your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1650,7 +1695,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves an order using merchant order id. + # Retrieves an order using merchant order id. This method can only be called for + # non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] merchant_order_id @@ -1689,7 +1735,8 @@ module Google end # Sandbox only. Retrieves an order template that can be used to quickly create a - # new order in sandbox. + # new order in sandbox. This method can only be called for non-multi-client + # accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] template_name @@ -1727,7 +1774,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the orders in your Merchant Center account. + # Lists the orders in your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Boolean] acknowledged @@ -1800,7 +1848,8 @@ module Google execute_or_queue_command(command, &block) end - # Refund a portion of the order, up to the full amount paid. + # Refund a portion of the order, up to the full amount paid. This method can + # only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1841,7 +1890,8 @@ module Google execute_or_queue_command(command, &block) end - # Returns a line item. + # Returns a line item. This method can only be called for non-multi-client + # accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1882,7 +1932,8 @@ module Google execute_or_queue_command(command, &block) end - # Marks line item(s) as shipped. + # Marks line item(s) as shipped. This method can only be called for non-multi- + # client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1923,7 +1974,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates the merchant order ID for a given order. + # Updates the merchant order ID for a given order. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -1964,7 +2016,8 @@ module Google execute_or_queue_command(command, &block) end - # Updates a shipment's status, carrier, and/or tracking ID. + # Updates a shipment's status, carrier, and/or tracking ID. This method can only + # be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] order_id @@ -2005,7 +2058,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves, inserts, and deletes multiple products in a single request. + # Retrieves, inserts, and deletes multiple products in a single request. This + # method can only be called for non-multi-client accounts. # @param [Google::Apis::ContentV2::BatchProductsRequest] batch_products_request_object # @param [Boolean] dry_run # Flag to run the request in dry-run mode. @@ -2043,7 +2097,8 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a product from your Merchant Center account. + # Deletes a product from your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] product_id @@ -2082,7 +2137,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a product from your Merchant Center account. + # Retrieves a product from your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] product_id @@ -2120,7 +2176,10 @@ module Google execute_or_queue_command(command, &block) end - # Uploads a product to your Merchant Center account. + # Uploads a product to your Merchant Center account. If an item with the same + # channel, contentLanguage, offerId, and targetCountry already exists, this + # method updates that entry. This method can only be called for non-multi-client + # accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Google::Apis::ContentV2::Product] product_object @@ -2161,7 +2220,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the products in your Merchant Center account. + # Lists the products in your Merchant Center account. This method can only be + # called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Boolean] include_invalid_inserted_items @@ -2206,7 +2266,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets the statuses of multiple products in a single request. + # Gets the statuses of multiple products in a single request. This method can + # only be called for non-multi-client accounts. # @param [Google::Apis::ContentV2::BatchProductStatusesRequest] batch_product_statuses_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -2241,7 +2302,8 @@ module Google execute_or_queue_command(command, &block) end - # Gets the status of a product from your Merchant Center account. + # Gets the status of a product from your Merchant Center account. This method + # can only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [String] product_id @@ -2279,7 +2341,8 @@ module Google execute_or_queue_command(command, &block) end - # Lists the statuses of the products in your Merchant Center account. + # Lists the statuses of the products in your Merchant Center account. This + # method can only be called for non-multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Boolean] include_invalid_inserted_items @@ -2364,7 +2427,10 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the shipping settings of the account. + # Retrieves the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -2438,7 +2504,7 @@ module Google end # Lists the shipping settings of the sub-accounts in your Merchant Center - # account. + # account. This method can only be called for multi-client accounts. # @param [String] merchant_id # The ID of the managing account. # @param [Fixnum] max_results @@ -2480,8 +2546,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the shipping settings of the account. This method supports patch - # semantics. + # Updates the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. This method supports patch semantics. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id @@ -2525,7 +2593,10 @@ module Google execute_or_queue_command(command, &block) end - # Updates the shipping settings of the account. + # Updates the shipping settings of the account. This method can only be called + # for accounts to which the managing account has access: either the managing + # account itself or sub-accounts if the managing account is a multi-client + # account. # @param [String] merchant_id # The ID of the managing account. # @param [String] account_id diff --git a/generated/google/apis/dataflow_v1b3.rb b/generated/google/apis/dataflow_v1b3.rb new file mode 100644 index 000000000..d3971bdbd --- /dev/null +++ b/generated/google/apis/dataflow_v1b3.rb @@ -0,0 +1,37 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/dataflow_v1b3/service.rb' +require 'google/apis/dataflow_v1b3/classes.rb' +require 'google/apis/dataflow_v1b3/representations.rb' + +module Google + module Apis + # Google Dataflow API + # + # Manages Google Cloud Dataflow projects on Google Cloud Platform. + # + # @see https://cloud.google.com/dataflow + module DataflowV1b3 + VERSION = 'V1b3' + REVISION = '20170318' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + end + end +end diff --git a/generated/google/apis/dataflow_v1b3/classes.rb b/generated/google/apis/dataflow_v1b3/classes.rb new file mode 100644 index 000000000..f709aed4e --- /dev/null +++ b/generated/google/apis/dataflow_v1b3/classes.rb @@ -0,0 +1,4941 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DataflowV1b3 + + # A source that records can be read and decoded from. + class Source + include Google::Apis::Core::Hashable + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::SourceMetadata] + attr_accessor :metadata + + # While splitting, sources may specify the produced bundles + # as differences against another source, in order to save backend-side + # memory and allow bigger jobs. For details, see SourceSplitRequest. + # To support this use case, the full set of parameters of the source + # is logically obtained by taking the latest explicitly specified value + # of each parameter in the order: + # base_specs (later items win), spec (overrides anything in base_specs). + # Corresponds to the JSON property `baseSpecs` + # @return [Array>] + attr_accessor :base_specs + + # The codec to use to decode data read from the source. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # Setting this value to true hints to the framework that the source + # doesn't need splitting, and using SourceSplitRequest on it would + # yield SOURCE_SPLIT_OUTCOME_USE_CURRENT. + # E.g. a file splitter may set this to true when splitting a single file + # into a set of byte ranges of appropriate size, and set this + # to false when splitting a filepattern into individual files. + # However, for efficiency, a file splitter may decide to produce + # file subranges directly from the filepattern to avoid a splitting + # round-trip. + # See SourceSplitRequest for an overview of the splitting process. + # This field is meaningful only in the Source objects populated + # by the user (e.g. when filling in a DerivedSource). + # Source objects supplied by the framework to the user don't have + # this field populated. + # Corresponds to the JSON property `doesNotNeedSplitting` + # @return [Boolean] + attr_accessor :does_not_need_splitting + alias_method :does_not_need_splitting?, :does_not_need_splitting + + # The source to read from, plus its parameters. + # Corresponds to the JSON property `spec` + # @return [Hash] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @base_specs = args[:base_specs] if args.key?(:base_specs) + @codec = args[:codec] if args.key?(:codec) + @does_not_need_splitting = args[:does_not_need_splitting] if args.key?(:does_not_need_splitting) + @spec = args[:spec] if args.key?(:spec) + end + end + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + class SplitInt64 + include Google::Apis::Core::Hashable + + # The low order bits: n & 0xffffffff. + # Corresponds to the JSON property `lowBits` + # @return [Fixnum] + attr_accessor :low_bits + + # The high order bits, including the sign: n >> 32. + # Corresponds to the JSON property `highBits` + # @return [Fixnum] + attr_accessor :high_bits + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @low_bits = args[:low_bits] if args.key?(:low_bits) + @high_bits = args[:high_bits] if args.key?(:high_bits) + end + end + + # Describes one particular pool of Cloud Dataflow workers to be + # instantiated by the Cloud Dataflow service in order to perform the + # computations required by a job. Note that a workflow job may use + # multiple pools, in order to match the various computational + # requirements of the various stages of the job. + class WorkerPool + include Google::Apis::Core::Hashable + + # Required. Docker container image that executes the Cloud Dataflow worker + # harness, residing in Google Container Registry. + # Corresponds to the JSON property `workerHarnessContainerImage` + # @return [String] + attr_accessor :worker_harness_container_image + + # Machine type (e.g. "n1-standard-1"). If empty or unspecified, the + # service will attempt to choose a reasonable default. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + # Type of root disk for VMs. If empty or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `diskType` + # @return [String] + attr_accessor :disk_type + + # The kind of the worker pool; currently only `harness` and `shuffle` + # are supported. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Data disks that are used by a VM in this workflow. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # Subnetwork to which VMs will be assigned, if desired. Expected to be of + # the form "regions/REGION/subnetworks/SUBNETWORK". + # Corresponds to the JSON property `subnetwork` + # @return [String] + attr_accessor :subnetwork + + # Configuration for VM IPs. + # Corresponds to the JSON property `ipConfiguration` + # @return [String] + attr_accessor :ip_configuration + + # Settings for WorkerPool autoscaling. + # Corresponds to the JSON property `autoscalingSettings` + # @return [Google::Apis::DataflowV1b3::AutoscalingSettings] + attr_accessor :autoscaling_settings + + # Taskrunner configuration settings. + # Corresponds to the JSON property `taskrunnerSettings` + # @return [Google::Apis::DataflowV1b3::TaskRunnerSettings] + attr_accessor :taskrunner_settings + + # Metadata to set on the Google Compute Engine VMs. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The default package set to install. This allows the service to + # select a default set of packages which are useful to worker + # harnesses written in a particular language. + # Corresponds to the JSON property `defaultPackageSet` + # @return [String] + attr_accessor :default_package_set + + # Network to which VMs will be assigned. If empty or unspecified, + # the service will use the network "default". + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + + # Zone to run the worker pools in. If empty or unspecified, the service + # will attempt to choose a reasonable default. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + # Number of Google Compute Engine workers in this pool needed to + # execute the job. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `numWorkers` + # @return [Fixnum] + attr_accessor :num_workers + + # The number of threads per worker harness. If empty or unspecified, the + # service will choose a number of threads (according to the number of cores + # on the selected machine type for batch, or 1 by convention for streaming). + # Corresponds to the JSON property `numThreadsPerWorker` + # @return [Fixnum] + attr_accessor :num_threads_per_worker + + # Fully qualified source image for disks. + # Corresponds to the JSON property `diskSourceImage` + # @return [String] + attr_accessor :disk_source_image + + # Packages to be installed on workers. + # Corresponds to the JSON property `packages` + # @return [Array] + attr_accessor :packages + + # Sets the policy for determining when to turndown worker pool. + # Allowed values are: `TEARDOWN_ALWAYS`, `TEARDOWN_ON_SUCCESS`, and + # `TEARDOWN_NEVER`. + # `TEARDOWN_ALWAYS` means workers are always torn down regardless of whether + # the job succeeds. `TEARDOWN_ON_SUCCESS` means workers are torn down + # if the job succeeds. `TEARDOWN_NEVER` means the workers are never torn + # down. + # If the workers are not torn down by the service, they will + # continue to run and use Google Compute Engine VM resources in the + # user's project until they are explicitly terminated by the user. + # Because of this, Google recommends using the `TEARDOWN_ALWAYS` + # policy except for small, manually supervised test jobs. + # If unknown or unspecified, the service will attempt to choose a reasonable + # default. + # Corresponds to the JSON property `teardownPolicy` + # @return [String] + attr_accessor :teardown_policy + + # The action to take on host maintenance, as defined by the Google + # Compute Engine API. + # Corresponds to the JSON property `onHostMaintenance` + # @return [String] + attr_accessor :on_host_maintenance + + # Extra arguments for this worker pool. + # Corresponds to the JSON property `poolArgs` + # @return [Hash] + attr_accessor :pool_args + + # Size of root disk for VMs, in GB. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `diskSizeGb` + # @return [Fixnum] + attr_accessor :disk_size_gb + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_harness_container_image = args[:worker_harness_container_image] if args.key?(:worker_harness_container_image) + @machine_type = args[:machine_type] if args.key?(:machine_type) + @disk_type = args[:disk_type] if args.key?(:disk_type) + @kind = args[:kind] if args.key?(:kind) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @subnetwork = args[:subnetwork] if args.key?(:subnetwork) + @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) + @autoscaling_settings = args[:autoscaling_settings] if args.key?(:autoscaling_settings) + @taskrunner_settings = args[:taskrunner_settings] if args.key?(:taskrunner_settings) + @metadata = args[:metadata] if args.key?(:metadata) + @default_package_set = args[:default_package_set] if args.key?(:default_package_set) + @network = args[:network] if args.key?(:network) + @zone = args[:zone] if args.key?(:zone) + @num_workers = args[:num_workers] if args.key?(:num_workers) + @num_threads_per_worker = args[:num_threads_per_worker] if args.key?(:num_threads_per_worker) + @disk_source_image = args[:disk_source_image] if args.key?(:disk_source_image) + @packages = args[:packages] if args.key?(:packages) + @teardown_policy = args[:teardown_policy] if args.key?(:teardown_policy) + @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance) + @pool_args = args[:pool_args] if args.key?(:pool_args) + @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb) + end + end + + # A work item that represents the different operations that can be + # performed on a user-defined Source specification. + class SourceOperationRequest + include Google::Apis::Core::Hashable + + # A request to compute the SourceMetadata of a Source. + # Corresponds to the JSON property `getMetadata` + # @return [Google::Apis::DataflowV1b3::SourceGetMetadataRequest] + attr_accessor :get_metadata + + # Represents the operation to split a high-level Source specification + # into bundles (parts for parallel processing). + # At a high level, splitting of a source into bundles happens as follows: + # SourceSplitRequest is applied to the source. If it returns + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source + # is used "as is". Otherwise, splitting is applied recursively to each + # produced DerivedSource. + # As an optimization, for any Source, if its does_not_need_splitting is + # true, the framework assumes that splitting this source would return + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. + # This applies both to the initial source being split and to bundles + # produced from it. + # Corresponds to the JSON property `split` + # @return [Google::Apis::DataflowV1b3::SourceSplitRequest] + attr_accessor :split + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @get_metadata = args[:get_metadata] if args.key?(:get_metadata) + @split = args[:split] if args.key?(:split) + end + end + + # WorkItem represents basic information about a WorkItem to be executed + # in the cloud. + class WorkItem + include Google::Apis::Core::Hashable + + # Identifies the workflow job this WorkItem belongs to. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + # Identifies this WorkItem. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Work item-specific configuration as an opaque blob. + # Corresponds to the JSON property `configuration` + # @return [String] + attr_accessor :configuration + + # MapTask consists of an ordered set of instructions, each of which + # describes one particular low-level operation for the worker to + # perform in order to accomplish the MapTask's WorkItem. + # Each instruction must appear in the list before any instructions which + # depends on its output. + # Corresponds to the JSON property `mapTask` + # @return [Google::Apis::DataflowV1b3::MapTask] + attr_accessor :map_task + + # Describes a particular function to invoke. + # Corresponds to the JSON property `seqMapTask` + # @return [Google::Apis::DataflowV1b3::SeqMapTask] + attr_accessor :seq_map_task + + # Any required packages that need to be fetched in order to execute + # this WorkItem. + # Corresponds to the JSON property `packages` + # @return [Array] + attr_accessor :packages + + # Identifies the cloud project this WorkItem belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` + # @return [String] + attr_accessor :report_status_interval + + # A task which initializes part of a streaming Dataflow job. + # Corresponds to the JSON property `streamingSetupTask` + # @return [Google::Apis::DataflowV1b3::StreamingSetupTask] + attr_accessor :streaming_setup_task + + # A work item that represents the different operations that can be + # performed on a user-defined Source specification. + # Corresponds to the JSON property `sourceOperationTask` + # @return [Google::Apis::DataflowV1b3::SourceOperationRequest] + attr_accessor :source_operation_task + + # A task that carries configuration information for streaming computations. + # Corresponds to the JSON property `streamingConfigTask` + # @return [Google::Apis::DataflowV1b3::StreamingConfigTask] + attr_accessor :streaming_config_task + + # Time when the lease on this Work will expire. + # Corresponds to the JSON property `leaseExpireTime` + # @return [String] + attr_accessor :lease_expire_time + + # The initial index to use when reporting the status of the WorkItem. + # Corresponds to the JSON property `initialReportIndex` + # @return [String] + attr_accessor :initial_report_index + + # A task which consists of a shell command for the worker to execute. + # Corresponds to the JSON property `shellTask` + # @return [Google::Apis::DataflowV1b3::ShellTask] + attr_accessor :shell_task + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + # Corresponds to the JSON property `streamingComputationTask` + # @return [Google::Apis::DataflowV1b3::StreamingComputationTask] + attr_accessor :streaming_computation_task + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job_id = args[:job_id] if args.key?(:job_id) + @id = args[:id] if args.key?(:id) + @configuration = args[:configuration] if args.key?(:configuration) + @map_task = args[:map_task] if args.key?(:map_task) + @seq_map_task = args[:seq_map_task] if args.key?(:seq_map_task) + @packages = args[:packages] if args.key?(:packages) + @project_id = args[:project_id] if args.key?(:project_id) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) + @streaming_setup_task = args[:streaming_setup_task] if args.key?(:streaming_setup_task) + @source_operation_task = args[:source_operation_task] if args.key?(:source_operation_task) + @streaming_config_task = args[:streaming_config_task] if args.key?(:streaming_config_task) + @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) + @initial_report_index = args[:initial_report_index] if args.key?(:initial_report_index) + @shell_task = args[:shell_task] if args.key?(:shell_task) + @streaming_computation_task = args[:streaming_computation_task] if args.key?(:streaming_computation_task) + end + end + + # Worker metrics exported from workers. This contains resource utilization + # metrics accumulated from a variety of sources. For more information, see + # go/df-resource-signals. + class ResourceUtilizationReport + include Google::Apis::Core::Hashable + + # CPU utilization samples. + # Corresponds to the JSON property `cpuTime` + # @return [Array] + attr_accessor :cpu_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cpu_time = args[:cpu_time] if args.key?(:cpu_time) + end + end + + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + class ReportedParallelism + include Google::Apis::Core::Hashable + + # Specifies whether the parallelism is infinite. If true, "value" is + # ignored. + # Infinite parallelism means the service will assume that the work item + # can always be split into more non-empty work items by dynamic splitting. + # This is a work-around for lack of support for infinity by the current + # JSON-based Java RPC stack. + # Corresponds to the JSON property `isInfinite` + # @return [Boolean] + attr_accessor :is_infinite + alias_method :is_infinite?, :is_infinite + + # Specifies the level of parallelism in case it is finite. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_infinite = args[:is_infinite] if args.key?(:is_infinite) + @value = args[:value] if args.key?(:value) + end + end + + # Global topology of the streaming Dataflow job, including all + # computations and their sharded locations. + class TopologyConfig + include Google::Apis::Core::Hashable + + # The size (in bits) of keys that will be assigned to source messages. + # Corresponds to the JSON property `forwardingKeyBits` + # @return [Fixnum] + attr_accessor :forwarding_key_bits + + # Maps user stage names to stable computation names. + # Corresponds to the JSON property `userStageToComputationNameMap` + # @return [Hash] + attr_accessor :user_stage_to_computation_name_map + + # The computations associated with a streaming Dataflow job. + # Corresponds to the JSON property `computations` + # @return [Array] + attr_accessor :computations + + # The disks assigned to a streaming Dataflow job. + # Corresponds to the JSON property `dataDiskAssignments` + # @return [Array] + attr_accessor :data_disk_assignments + + # Version number for persistent state. + # Corresponds to the JSON property `persistentStateVersion` + # @return [Fixnum] + attr_accessor :persistent_state_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @forwarding_key_bits = args[:forwarding_key_bits] if args.key?(:forwarding_key_bits) + @user_stage_to_computation_name_map = args[:user_stage_to_computation_name_map] if args.key?(:user_stage_to_computation_name_map) + @computations = args[:computations] if args.key?(:computations) + @data_disk_assignments = args[:data_disk_assignments] if args.key?(:data_disk_assignments) + @persistent_state_version = args[:persistent_state_version] if args.key?(:persistent_state_version) + end + end + + # Hints for splitting a Source into bundles (parts for parallel + # processing) using SourceSplitRequest. + class SourceSplitOptions + include Google::Apis::Core::Hashable + + # The source should be split into a set of bundles where the estimated size + # of each is approximately this many bytes. + # Corresponds to the JSON property `desiredBundleSizeBytes` + # @return [String] + attr_accessor :desired_bundle_size_bytes + + # DEPRECATED in favor of desired_bundle_size_bytes. + # Corresponds to the JSON property `desiredShardSizeBytes` + # @return [String] + attr_accessor :desired_shard_size_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @desired_bundle_size_bytes = args[:desired_bundle_size_bytes] if args.key?(:desired_bundle_size_bytes) + @desired_shard_size_bytes = args[:desired_shard_size_bytes] if args.key?(:desired_shard_size_bytes) + end + end + + # An instruction that reads records. + # Takes no inputs, produces one output. + class ReadInstruction + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + + # Provides data to pass through to the worker harness. + class WorkerSettings + include Google::Apis::Core::Hashable + + # The Cloud Dataflow service path relative to the root URL, for example, + # "dataflow/v1b3/projects". + # Corresponds to the JSON property `servicePath` + # @return [String] + attr_accessor :service_path + + # The Shuffle service path relative to the root URL, for example, + # "shuffle/v1beta1". + # Corresponds to the JSON property `shuffleServicePath` + # @return [String] + attr_accessor :shuffle_service_path + + # The ID of the worker running this pipeline. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # The prefix of the resources the system should use for temporary + # storage. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempStoragePrefix` + # @return [String] + attr_accessor :temp_storage_prefix + + # The base URL for accessing Google Cloud APIs. + # When workers access Google Cloud APIs, they logically do so via + # relative URLs. If this field is specified, it supplies the base + # URL to use for resolving these relative URLs. The normative + # algorithm used is defined by RFC 1808, "Relative Uniform Resource + # Locators". + # If not specified, the default value is "http://www.googleapis.com/" + # Corresponds to the JSON property `baseUrl` + # @return [String] + attr_accessor :base_url + + # Whether to send work progress updates to the service. + # Corresponds to the JSON property `reportingEnabled` + # @return [Boolean] + attr_accessor :reporting_enabled + alias_method :reporting_enabled?, :reporting_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_path = args[:service_path] if args.key?(:service_path) + @shuffle_service_path = args[:shuffle_service_path] if args.key?(:shuffle_service_path) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) + @base_url = args[:base_url] if args.key?(:base_url) + @reporting_enabled = args[:reporting_enabled] if args.key?(:reporting_enabled) + end + end + + # Identifies the location of a streaming computation stage, for + # stage-to-stage communication. + class StreamingStageLocation + include Google::Apis::Core::Hashable + + # Identifies the particular stream within the streaming Dataflow + # job. + # Corresponds to the JSON property `streamId` + # @return [String] + attr_accessor :stream_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stream_id = args[:stream_id] if args.key?(:stream_id) + end + end + + # Data disk assignment for a given VM instance. + class DataDiskAssignment + include Google::Apis::Core::Hashable + + # VM instance name the data disks mounted to, for example + # "myproject-1014-104817-4c2-harness-0". + # Corresponds to the JSON property `vmInstance` + # @return [String] + attr_accessor :vm_instance + + # Mounted data disks. The order is important a data disk's 0-based index in + # this list defines which persistent directory the disk is mounted to, for + # example the list of ` "myproject-1014-104817-4c2-harness-0-disk-0" `, + # ` "myproject-1014-104817-4c2-harness-0-disk-1" `. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vm_instance = args[:vm_instance] if args.key?(:vm_instance) + @data_disks = args[:data_disks] if args.key?(:data_disks) + end + end + + # A suggestion by the service to the worker to dynamically split the WorkItem. + class ApproximateSplitRequest + include Google::Apis::Core::Hashable + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # A fraction at which to split the work item, from 0.0 (beginning of the + # input) to 1.0 (end of the input). + # Corresponds to the JSON property `fractionConsumed` + # @return [Float] + attr_accessor :fraction_consumed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # Describes a stream of data, either as input to be processed or as + # output of a streaming Dataflow job. + class StreamLocation + include Google::Apis::Core::Hashable + + # Identifies the location of a custom souce. + # Corresponds to the JSON property `customSourceLocation` + # @return [Google::Apis::DataflowV1b3::CustomSourceLocation] + attr_accessor :custom_source_location + + # Identifies the location of a streaming computation stage, for + # stage-to-stage communication. + # Corresponds to the JSON property `streamingStageLocation` + # @return [Google::Apis::DataflowV1b3::StreamingStageLocation] + attr_accessor :streaming_stage_location + + # Identifies a pubsub location to use for transferring data into or + # out of a streaming Dataflow job. + # Corresponds to the JSON property `pubsubLocation` + # @return [Google::Apis::DataflowV1b3::PubsubLocation] + attr_accessor :pubsub_location + + # Identifies the location of a streaming side input. + # Corresponds to the JSON property `sideInputLocation` + # @return [Google::Apis::DataflowV1b3::StreamingSideInputLocation] + attr_accessor :side_input_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_source_location = args[:custom_source_location] if args.key?(:custom_source_location) + @streaming_stage_location = args[:streaming_stage_location] if args.key?(:streaming_stage_location) + @pubsub_location = args[:pubsub_location] if args.key?(:pubsub_location) + @side_input_location = args[:side_input_location] if args.key?(:side_input_location) + end + end + + # The response to the worker messages. + class SendWorkerMessagesResponse + include Google::Apis::Core::Hashable + + # The servers response to the worker messages. + # Corresponds to the JSON property `workerMessageResponses` + # @return [Array] + attr_accessor :worker_message_responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_message_responses = args[:worker_message_responses] if args.key?(:worker_message_responses) + end + end + + # Response to a request to lease WorkItems. + class LeaseWorkItemResponse + include Google::Apis::Core::Hashable + + # A list of the leased WorkItems. + # Corresponds to the JSON property `workItems` + # @return [Array] + attr_accessor :work_items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_items = args[:work_items] if args.key?(:work_items) + end + end + + # Configuration information for a single streaming computation. + class StreamingComputationConfig + include Google::Apis::Core::Hashable + + # Unique identifier for this computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # System defined name for this computation. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # Stage name of this computation. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # Instructions that comprise the computation. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @system_name = args[:system_name] if args.key?(:system_name) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @instructions = args[:instructions] if args.key?(:instructions) + end + end + + # Description of the type, names/ids, and input/outputs for a transform. + class TransformSummary + include Google::Apis::Core::Hashable + + # User names for all collection inputs to this transform. + # Corresponds to the JSON property `inputCollectionName` + # @return [Array] + attr_accessor :input_collection_name + + # User provided name for this transform instance. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # SDK generated id of this transform instance. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Transform-specific display data. + # Corresponds to the JSON property `displayData` + # @return [Array] + attr_accessor :display_data + + # User names for all collection outputs to this transform. + # Corresponds to the JSON property `outputCollectionName` + # @return [Array] + attr_accessor :output_collection_name + + # Type of transform. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_collection_name = args[:input_collection_name] if args.key?(:input_collection_name) + @name = args[:name] if args.key?(:name) + @id = args[:id] if args.key?(:id) + @display_data = args[:display_data] if args.key?(:display_data) + @output_collection_name = args[:output_collection_name] if args.key?(:output_collection_name) + @kind = args[:kind] if args.key?(:kind) + end + end + + # A sink that records can be encoded and written to. + class Sink + include Google::Apis::Core::Hashable + + # The codec to use to encode data written to the sink. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # The sink to write to, plus its parameters. + # Corresponds to the JSON property `spec` + # @return [Hash] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @codec = args[:codec] if args.key?(:codec) + @spec = args[:spec] if args.key?(:spec) + end + end + + # Parameters to provide to the template being launched. + class LaunchTemplateParameters + include Google::Apis::Core::Hashable + + # The runtime parameters to pass to the job. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @job_name = args[:job_name] if args.key?(:job_name) + @environment = args[:environment] if args.key?(:environment) + end + end + + # An instruction that copies its inputs (zero or more) to its (single) output. + class FlattenInstruction + include Google::Apis::Core::Hashable + + # Describes the inputs to the flatten instruction. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inputs = args[:inputs] if args.key?(:inputs) + end + end + + # An instruction that does a partial group-by-key. + # One input and one output. + class PartialGroupByKeyInstruction + include Google::Apis::Core::Hashable + + # The codec to use for interpreting an element in the input PTable. + # Corresponds to the JSON property `inputElementCodec` + # @return [Hash] + attr_accessor :input_element_codec + + # The value combining function to invoke. + # Corresponds to the JSON property `valueCombiningFn` + # @return [Hash] + attr_accessor :value_combining_fn + + # If this instruction includes a combining function this is the name of the + # intermediate store between the GBK and the CombineValues. + # Corresponds to the JSON property `originalCombineValuesInputStoreName` + # @return [String] + attr_accessor :original_combine_values_input_store_name + + # Zero or more side inputs. + # Corresponds to the JSON property `sideInputs` + # @return [Array] + attr_accessor :side_inputs + + # If this instruction includes a combining function, this is the name of the + # CombineValues instruction lifted into this instruction. + # Corresponds to the JSON property `originalCombineValuesStepName` + # @return [String] + attr_accessor :original_combine_values_step_name + + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_element_codec = args[:input_element_codec] if args.key?(:input_element_codec) + @value_combining_fn = args[:value_combining_fn] if args.key?(:value_combining_fn) + @original_combine_values_input_store_name = args[:original_combine_values_input_store_name] if args.key?(:original_combine_values_input_store_name) + @side_inputs = args[:side_inputs] if args.key?(:side_inputs) + @original_combine_values_step_name = args[:original_combine_values_step_name] if args.key?(:original_combine_values_step_name) + @input = args[:input] if args.key?(:input) + end + end + + # An input of an instruction, as a reference to an output of a + # producer instruction. + class InstructionInput + include Google::Apis::Core::Hashable + + # The index (origin zero) of the parallel instruction that produces + # the output to be consumed by this input. This index is relative + # to the list of instructions in this input's instruction's + # containing MapTask. + # Corresponds to the JSON property `producerInstructionIndex` + # @return [Fixnum] + attr_accessor :producer_instruction_index + + # The output index (origin zero) within the producer. + # Corresponds to the JSON property `outputNum` + # @return [Fixnum] + attr_accessor :output_num + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @producer_instruction_index = args[:producer_instruction_index] if args.key?(:producer_instruction_index) + @output_num = args[:output_num] if args.key?(:output_num) + end + end + + # Description of an input or output of an execution stage. + class StageSource + include Google::Apis::Core::Hashable + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Size of the source, if measurable. + # Corresponds to the JSON property `sizeBytes` + # @return [String] + attr_accessor :size_bytes + + # Human-readable name for this source; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + # User name for the original user transform or collection with which this + # source is most closely associated. + # Corresponds to the JSON property `originalTransformOrCollection` + # @return [String] + attr_accessor :original_transform_or_collection + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @size_bytes = args[:size_bytes] if args.key?(:size_bytes) + @user_name = args[:user_name] if args.key?(:user_name) + @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + end + end + + # A metric value representing a list of strings. + class StringList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # Data provided with a pipeline or transform to provide descriptive info. + class DisplayData + include Google::Apis::Core::Hashable + + # Contains value if the data is of string type. + # Corresponds to the JSON property `strValue` + # @return [String] + attr_accessor :str_value + + # Contains value if the data is of int64 type. + # Corresponds to the JSON property `int64Value` + # @return [String] + attr_accessor :int64_value + + # Contains value if the data is of duration type. + # Corresponds to the JSON property `durationValue` + # @return [String] + attr_accessor :duration_value + + # The namespace for the key. This is usually a class name or programming + # language namespace (i.e. python module) which defines the display data. + # This allows a dax monitoring system to specially handle the data + # and perform custom rendering. + # Corresponds to the JSON property `namespace` + # @return [String] + attr_accessor :namespace + + # Contains value if the data is of float type. + # Corresponds to the JSON property `floatValue` + # @return [Float] + attr_accessor :float_value + + # The key identifying the display data. + # This is intended to be used as a label for the display data + # when viewed in a dax monitoring system. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # A possible additional shorter value to display. + # For example a java_class_name_value of com.mypackage.MyDoFn + # will be stored with MyDoFn as the short_str_value and + # com.mypackage.MyDoFn as the java_class_name value. + # short_str_value can be displayed and java_class_name_value + # will be displayed as a tooltip. + # Corresponds to the JSON property `shortStrValue` + # @return [String] + attr_accessor :short_str_value + + # An optional full URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # An optional label to display in a dax UI for the element. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # Contains value if the data is of timestamp type. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + # Contains value if the data is of java class type. + # Corresponds to the JSON property `javaClassValue` + # @return [String] + attr_accessor :java_class_value + + # Contains value if the data is of a boolean type. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @str_value = args[:str_value] if args.key?(:str_value) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @duration_value = args[:duration_value] if args.key?(:duration_value) + @namespace = args[:namespace] if args.key?(:namespace) + @float_value = args[:float_value] if args.key?(:float_value) + @key = args[:key] if args.key?(:key) + @short_str_value = args[:short_str_value] if args.key?(:short_str_value) + @url = args[:url] if args.key?(:url) + @label = args[:label] if args.key?(:label) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + @java_class_value = args[:java_class_value] if args.key?(:java_class_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + end + end + + # Request to lease WorkItems. + class LeaseWorkItemRequest + include Google::Apis::Core::Hashable + + # Worker capabilities. WorkItems might be limited to workers with specific + # capabilities. + # Corresponds to the JSON property `workerCapabilities` + # @return [Array] + attr_accessor :worker_capabilities + + # Identifies the worker leasing work -- typically the ID of the + # virtual machine running the worker. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # The initial lease period. + # Corresponds to the JSON property `requestedLeaseDuration` + # @return [String] + attr_accessor :requested_lease_duration + + # The current timestamp at the worker. + # Corresponds to the JSON property `currentWorkerTime` + # @return [String] + attr_accessor :current_worker_time + + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # Filter for WorkItem type. + # Corresponds to the JSON property `workItemTypes` + # @return [Array] + attr_accessor :work_item_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_capabilities = args[:worker_capabilities] if args.key?(:worker_capabilities) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) + @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) + @location = args[:location] if args.key?(:location) + @work_item_types = args[:work_item_types] if args.key?(:work_item_types) + end + end + + # Request to get updated debug configuration for component. + class GetDebugConfigRequest + include Google::Apis::Core::Hashable + + # The internal component id for which debug configuration is + # requested. + # Corresponds to the JSON property `componentId` + # @return [String] + attr_accessor :component_id + + # The worker id, i.e., VM hostname. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @component_id = args[:component_id] if args.key?(:component_id) + @worker_id = args[:worker_id] if args.key?(:worker_id) + end + end + + # The response to a GetTemplate request. + class GetTemplateResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataflowV1b3::Status] + attr_accessor :status + + # Metadata describing a template. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::TemplateMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # Request to report the status of WorkItems. + class ReportWorkItemStatusRequest + include Google::Apis::Core::Hashable + + # The ID of the worker reporting the WorkItem status. If this + # does not match the ID of the worker which the Dataflow service + # believes currently has the lease on the WorkItem, the report + # will be dropped (with an error response). + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # The current timestamp at the worker. + # Corresponds to the JSON property `currentWorkerTime` + # @return [String] + attr_accessor :current_worker_time + + # The location which contains the WorkItem's job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The order is unimportant, except that the order of the + # WorkItemServiceState messages in the ReportWorkItemStatusResponse + # corresponds to the order of WorkItemStatus messages here. + # Corresponds to the JSON property `workItemStatuses` + # @return [Array] + attr_accessor :work_item_statuses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @current_worker_time = args[:current_worker_time] if args.key?(:current_worker_time) + @location = args[:location] if args.key?(:location) + @work_item_statuses = args[:work_item_statuses] if args.key?(:work_item_statuses) + end + end + + # A descriptive representation of submitted pipeline as well as the executed + # form. This data is provided by the Dataflow service for ease of visualizing + # the pipeline and interpretting Dataflow provided metrics. + class PipelineDescription + include Google::Apis::Core::Hashable + + # Description of each transform in the pipeline and collections between them. + # Corresponds to the JSON property `originalPipelineTransform` + # @return [Array] + attr_accessor :original_pipeline_transform + + # Pipeline level display data. + # Corresponds to the JSON property `displayData` + # @return [Array] + attr_accessor :display_data + + # Description of each stage of execution of the pipeline. + # Corresponds to the JSON property `executionPipelineStage` + # @return [Array] + attr_accessor :execution_pipeline_stage + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_pipeline_transform = args[:original_pipeline_transform] if args.key?(:original_pipeline_transform) + @display_data = args[:display_data] if args.key?(:display_data) + @execution_pipeline_stage = args[:execution_pipeline_stage] if args.key?(:execution_pipeline_stage) + end + end + + # A task that carries configuration information for streaming computations. + class StreamingConfigTask + include Google::Apis::Core::Hashable + + # Set of computation configuration information. + # Corresponds to the JSON property `streamingComputationConfigs` + # @return [Array] + attr_accessor :streaming_computation_configs + + # Map from user step names to state families. + # Corresponds to the JSON property `userStepToStateFamilyNameMap` + # @return [Hash] + attr_accessor :user_step_to_state_family_name_map + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @streaming_computation_configs = args[:streaming_computation_configs] if args.key?(:streaming_computation_configs) + @user_step_to_state_family_name_map = args[:user_step_to_state_family_name_map] if args.key?(:user_step_to_state_family_name_map) + end + end + + # Additional information about how a Cloud Dataflow job will be executed that + # isn't contained in the submitted job. + class JobExecutionInfo + include Google::Apis::Core::Hashable + + # A mapping from each stage to the information about that stage. + # Corresponds to the JSON property `stages` + # @return [Hash] + attr_accessor :stages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stages = args[:stages] if args.key?(:stages) + end + end + + # Defines a particular step within a Cloud Dataflow job. + # A job consists of multiple steps, each of which performs some + # specific operation as part of the overall job. Data is typically + # passed from one step to another as part of the job. + # Here's an example of a sequence of steps which together implement a + # Map-Reduce job: + # * Read a collection of data from some source, parsing the + # collection's elements. + # * Validate the elements. + # * Apply a user-defined function to map each element to some value + # and extract an element-specific key value. + # * Group elements with the same key into a single element with + # that key, transforming a multiply-keyed collection into a + # uniquely-keyed collection. + # * Write the elements out to some data sink. + # Note that the Cloud Dataflow service may be used to run many different + # types of jobs, not just Map-Reduce. + class Step + include Google::Apis::Core::Hashable + + # The name that identifies the step. This must be unique for each + # step with respect to all other steps in the Cloud Dataflow job. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The kind of step in the Cloud Dataflow job. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Named properties associated with the step. Each kind of + # predefined step has its own required set of properties. + # Must be provided on Create. Only retrieved with JOB_VIEW_ALL. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @kind = args[:kind] if args.key?(:kind) + @properties = args[:properties] if args.key?(:properties) + end + end + + # Indicates which location failed to respond to a request for data. + class FailedLocation + include Google::Apis::Core::Hashable + + # The name of the failed location. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Describes the data disk used by a workflow job. + class Disk + include Google::Apis::Core::Hashable + + # Size of disk in GB. If zero or unspecified, the service will + # attempt to choose a reasonable default. + # Corresponds to the JSON property `sizeGb` + # @return [Fixnum] + attr_accessor :size_gb + + # Disk storage type, as defined by Google Compute Engine. This + # must be a disk type appropriate to the project and zone in which + # the workers will run. If unknown or unspecified, the service + # will attempt to choose a reasonable default. + # For example, the standard persistent disk type is a resource name + # typically ending in "pd-standard". If SSD persistent disks are + # available, the resource name typically ends with "pd-ssd". The + # actual valid values are defined the Google Compute Engine API, + # not by the Cloud Dataflow API; consult the Google Compute Engine + # documentation for more information about determining the set of + # available disk types for a particular project and zone. + # Google Compute Engine Disk types are local to a particular + # project in a particular zone, and so the resource name will + # typically look something like this: + # compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard + # Corresponds to the JSON property `diskType` + # @return [String] + attr_accessor :disk_type + + # Directory in a VM where disk is mounted. + # Corresponds to the JSON property `mountPoint` + # @return [String] + attr_accessor :mount_point + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @size_gb = args[:size_gb] if args.key?(:size_gb) + @disk_type = args[:disk_type] if args.key?(:disk_type) + @mount_point = args[:mount_point] if args.key?(:mount_point) + end + end + + # CounterMetadata includes all static non-name non-value counter attributes. + class CounterMetadata + include Google::Apis::Core::Hashable + + # Counter aggregation kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Human-readable description of the counter semantics. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # System defined Units, see above enum. + # Corresponds to the JSON property `standardUnits` + # @return [String] + attr_accessor :standard_units + + # A string referring to the unit type. + # Corresponds to the JSON property `otherUnits` + # @return [String] + attr_accessor :other_units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @description = args[:description] if args.key?(:description) + @standard_units = args[:standard_units] if args.key?(:standard_units) + @other_units = args[:other_units] if args.key?(:other_units) + end + end + + # Response to a request to list job messages. + class ListJobMessagesResponse + include Google::Apis::Core::Hashable + + # The token to obtain the next page of results if there are more. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Messages in ascending timestamp order. + # Corresponds to the JSON property `jobMessages` + # @return [Array] + attr_accessor :job_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @job_messages = args[:job_messages] if args.key?(:job_messages) + end + end + + # A progress measurement of a WorkItem by a worker. + class ApproximateReportedProgress + include Google::Apis::Core::Hashable + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # Completion as fraction of the input consumed, from 0.0 (beginning, nothing + # consumed), to 1.0 (end of the input, entire input consumed). + # Corresponds to the JSON property `fractionConsumed` + # @return [Float] + attr_accessor :fraction_consumed + + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + # Corresponds to the JSON property `consumedParallelism` + # @return [Google::Apis::DataflowV1b3::ReportedParallelism] + attr_accessor :consumed_parallelism + + # Represents the level of parallelism in a WorkItem's input, + # reported by the worker. + # Corresponds to the JSON property `remainingParallelism` + # @return [Google::Apis::DataflowV1b3::ReportedParallelism] + attr_accessor :remaining_parallelism + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) + @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) + @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) + end + end + + # A metric value representing a list of integers. + class IntegerList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # State family configuration. + class StateFamilyConfig + include Google::Apis::Core::Hashable + + # The state family value. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + # If true, this family corresponds to a read operation. + # Corresponds to the JSON property `isRead` + # @return [Boolean] + attr_accessor :is_read + alias_method :is_read?, :is_read + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state_family = args[:state_family] if args.key?(:state_family) + @is_read = args[:is_read] if args.key?(:is_read) + end + end + + # Service-side response to WorkerMessage reporting resource utilization. + class ResourceUtilizationReportResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # The response to a SourceSplitRequest. + class SourceSplitResponse + include Google::Apis::Core::Hashable + + # Indicates whether splitting happened and produced a list of bundles. + # If this is USE_CURRENT_SOURCE_AS_IS, the current source should + # be processed "as is" without splitting. "bundles" is ignored in this case. + # If this is SPLITTING_HAPPENED, then "bundles" contains a list of + # bundles into which the source was split. + # Corresponds to the JSON property `outcome` + # @return [String] + attr_accessor :outcome + + # If outcome is SPLITTING_HAPPENED, then this is a list of bundles + # into which the source was split. Otherwise this field is ignored. + # This list can be empty, which means the source represents an empty input. + # Corresponds to the JSON property `bundles` + # @return [Array] + attr_accessor :bundles + + # DEPRECATED in favor of bundles. + # Corresponds to the JSON property `shards` + # @return [Array] + attr_accessor :shards + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outcome = args[:outcome] if args.key?(:outcome) + @bundles = args[:bundles] if args.key?(:bundles) + @shards = args[:shards] if args.key?(:shards) + end + end + + # Describes a particular operation comprising a MapTask. + class ParallelInstruction + include Google::Apis::Core::Hashable + + # An instruction that does a ParDo operation. + # Takes one main input and zero or more side inputs, and produces + # zero or more outputs. + # Runs user code. + # Corresponds to the JSON property `parDo` + # @return [Google::Apis::DataflowV1b3::ParDoInstruction] + attr_accessor :par_do + + # An instruction that reads records. + # Takes no inputs, produces one output. + # Corresponds to the JSON property `read` + # @return [Google::Apis::DataflowV1b3::ReadInstruction] + attr_accessor :read + + # An instruction that copies its inputs (zero or more) to its (single) output. + # Corresponds to the JSON property `flatten` + # @return [Google::Apis::DataflowV1b3::FlattenInstruction] + attr_accessor :flatten + + # System-defined name for the operation in the original workflow graph. + # Corresponds to the JSON property `originalName` + # @return [String] + attr_accessor :original_name + + # An instruction that writes records. + # Takes one input, produces no outputs. + # Corresponds to the JSON property `write` + # @return [Google::Apis::DataflowV1b3::WriteInstruction] + attr_accessor :write + + # System-defined name of this operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # An instruction that does a partial group-by-key. + # One input and one output. + # Corresponds to the JSON property `partialGroupByKey` + # @return [Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction] + attr_accessor :partial_group_by_key + + # Describes the outputs of the instruction. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # User-provided name of this operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @par_do = args[:par_do] if args.key?(:par_do) + @read = args[:read] if args.key?(:read) + @flatten = args[:flatten] if args.key?(:flatten) + @original_name = args[:original_name] if args.key?(:original_name) + @write = args[:write] if args.key?(:write) + @system_name = args[:system_name] if args.key?(:system_name) + @partial_group_by_key = args[:partial_group_by_key] if args.key?(:partial_group_by_key) + @outputs = args[:outputs] if args.key?(:outputs) + @name = args[:name] if args.key?(:name) + end + end + + # The packages that must be installed in order for a worker to run the + # steps of the Cloud Dataflow job that will be assigned to its worker + # pool. + # This is the mechanism by which the Cloud Dataflow SDK causes code to + # be loaded onto the workers. For example, the Cloud Dataflow Java SDK + # might use this to install jars containing the user's code and all of the + # various dependencies (libraries, data files, etc.) required in order + # for that code to run. + class Package + include Google::Apis::Core::Hashable + + # The resource to read the package from. The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket` + # bucket.storage.googleapis.com/ + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The name of the package. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @location = args[:location] if args.key?(:location) + @name = args[:name] if args.key?(:name) + end + end + + # Data disk assignment information for a specific key-range of a sharded + # computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeDataDiskAssignment + include Google::Apis::Core::Hashable + + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start = args[:start] if args.key?(:start) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @end = args[:end] if args.key?(:end) + end + end + + # An instruction that does a ParDo operation. + # Takes one main input and zero or more side inputs, and produces + # zero or more outputs. + # Runs user code. + class ParDoInstruction + include Google::Apis::Core::Hashable + + # The user function to invoke. + # Corresponds to the JSON property `userFn` + # @return [Hash] + attr_accessor :user_fn + + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + # The number of outputs. + # Corresponds to the JSON property `numOutputs` + # @return [Fixnum] + attr_accessor :num_outputs + + # Zero or more side inputs. + # Corresponds to the JSON property `sideInputs` + # @return [Array] + attr_accessor :side_inputs + + # Information about each of the outputs, if user_fn is a MultiDoFn. + # Corresponds to the JSON property `multiOutputInfos` + # @return [Array] + attr_accessor :multi_output_infos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_fn = args[:user_fn] if args.key?(:user_fn) + @input = args[:input] if args.key?(:input) + @num_outputs = args[:num_outputs] if args.key?(:num_outputs) + @side_inputs = args[:side_inputs] if args.key?(:side_inputs) + @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) + end + end + + # Describes the state of a metric. + class MetricUpdate + include Google::Apis::Core::Hashable + + # Timestamp associated with the metric value. Optional when workers are + # reporting work progress; it will be filled in responses from the + # metrics API. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + # Identifies a metric, by describing the source which generated the + # metric. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::MetricStructuredName] + attr_accessor :name + + # Worker-computed aggregate value for the "Set" aggregation kind. The only + # possible value type is a list of Values whose type can be Long, Double, + # or String, according to the metric's type. All Values in the list must + # be of the same type. + # Corresponds to the JSON property `set` + # @return [Object] + attr_accessor :set + + # True if this metric is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this metric is reported + # as a delta that is not associated with any WorkItem. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # Worker-computed aggregate value for internal use by the Dataflow + # service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + # Metric aggregation kind. The possible metric aggregation kinds are + # "Sum", "Max", "Min", "Mean", "Set", "And", and "Or". + # The specified aggregation kind is case-insensitive. + # If omitted, this is not an aggregated value but instead + # a single metric sample value. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Worker-computed aggregate value for aggregation kinds "Sum", "Max", "Min", + # "And", and "Or". The possible value types are Long, Double, and Boolean. + # Corresponds to the JSON property `scalar` + # @return [Object] + attr_accessor :scalar + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the count of the aggregated values and is used in combination + # with mean_sum above to obtain the actual mean aggregate value. + # The only possible value type is Long. + # Corresponds to the JSON property `meanCount` + # @return [Object] + attr_accessor :mean_count + + # Worker-computed aggregate value for the "Mean" aggregation kind. + # This holds the sum of the aggregated values and is used in combination + # with mean_count below to obtain the actual mean aggregate value. + # The only possible value types are Long and Double. + # Corresponds to the JSON property `meanSum` + # @return [Object] + attr_accessor :mean_sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @update_time = args[:update_time] if args.key?(:update_time) + @name = args[:name] if args.key?(:name) + @set = args[:set] if args.key?(:set) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @internal = args[:internal] if args.key?(:internal) + @kind = args[:kind] if args.key?(:kind) + @scalar = args[:scalar] if args.key?(:scalar) + @mean_count = args[:mean_count] if args.key?(:mean_count) + @mean_sum = args[:mean_sum] if args.key?(:mean_sum) + end + end + + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + class CounterStructuredName + include Google::Apis::Core::Hashable + + # Name of the optimized step being executed by the workers. + # Corresponds to the JSON property `componentStepName` + # @return [String] + attr_accessor :component_step_name + + # Portion of this counter, either key or value. + # Corresponds to the JSON property `portion` + # @return [String] + attr_accessor :portion + + # System generated name of the original step in the user's graph, before + # optimization. + # Corresponds to the JSON property `originalStepName` + # @return [String] + attr_accessor :original_step_name + + # ID of a particular worker. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # A string containing a more specific namespace of the counter's origin. + # Corresponds to the JSON property `originNamespace` + # @return [String] + attr_accessor :origin_namespace + + # Counter name. Not necessarily globally-unique, but unique within the + # context of the other fields. + # Required. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Name of the stage. An execution step contains multiple component steps. + # Corresponds to the JSON property `executionStepName` + # @return [String] + attr_accessor :execution_step_name + + # One of the standard Origins defined above. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @component_step_name = args[:component_step_name] if args.key?(:component_step_name) + @portion = args[:portion] if args.key?(:portion) + @original_step_name = args[:original_step_name] if args.key?(:original_step_name) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @origin_namespace = args[:origin_namespace] if args.key?(:origin_namespace) + @name = args[:name] if args.key?(:name) + @execution_step_name = args[:execution_step_name] if args.key?(:execution_step_name) + @origin = args[:origin] if args.key?(:origin) + end + end + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + class ApproximateProgress + include Google::Apis::Core::Hashable + + # Obsolete. + # Corresponds to the JSON property `percentComplete` + # @return [Float] + attr_accessor :percent_complete + + # Obsolete. + # Corresponds to the JSON property `remainingTime` + # @return [String] + attr_accessor :remaining_time + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @percent_complete = args[:percent_complete] if args.key?(:percent_complete) + @remaining_time = args[:remaining_time] if args.key?(:remaining_time) + @position = args[:position] if args.key?(:position) + end + end + + # A worker_message response allows the server to pass information to the + # sender. + class WorkerMessageResponse + include Google::Apis::Core::Hashable + + # Service-side response to WorkerMessage reporting resource utilization. + # Corresponds to the JSON property `workerMetricsResponse` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse] + attr_accessor :worker_metrics_response + + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + # Corresponds to the JSON property `workerHealthReportResponse` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReportResponse] + attr_accessor :worker_health_report_response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_metrics_response = args[:worker_metrics_response] if args.key?(:worker_metrics_response) + @worker_health_report_response = args[:worker_health_report_response] if args.key?(:worker_health_report_response) + end + end + + # Metadata describing a template. + class TemplateMetadata + include Google::Apis::Core::Hashable + + # Required. The name of the template. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The parameters for the template. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # Optional. A description of the template. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If true, will bypass the validation that the temp directory is + # writable. This should only be used with templates for pipelines + # that are guaranteed not to need to write to the temp directory, + # which is subject to change based on the optimizer. + # Corresponds to the JSON property `bypassTempDirValidation` + # @return [Boolean] + attr_accessor :bypass_temp_dir_validation + alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @parameters = args[:parameters] if args.key?(:parameters) + @description = args[:description] if args.key?(:description) + @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) + end + end + + # WorkerMessage provides information to the backend about a worker. + class WorkerMessage + include Google::Apis::Core::Hashable + + # The timestamp of the worker_message. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + # Corresponds to the JSON property `workerHealthReport` + # @return [Google::Apis::DataflowV1b3::WorkerHealthReport] + attr_accessor :worker_health_report + + # A message code is used to report status and error messages to the service. + # The message codes are intended to be machine readable. The service will + # take care of translating these into user understandable messages if + # necessary. + # Example use cases: + # 1. Worker processes reporting successful startup. + # 2. Worker processes reporting specific errors (e.g. package staging + # failure). + # Corresponds to the JSON property `workerMessageCode` + # @return [Google::Apis::DataflowV1b3::WorkerMessageCode] + attr_accessor :worker_message_code + + # Worker metrics exported from workers. This contains resource utilization + # metrics accumulated from a variety of sources. For more information, see + # go/df-resource-signals. + # Corresponds to the JSON property `workerMetrics` + # @return [Google::Apis::DataflowV1b3::ResourceUtilizationReport] + attr_accessor :worker_metrics + + # Labels are used to group WorkerMessages. + # For example, a worker_message about a particular container + # might have the labels: + # ` "JOB_ID": "2015-04-22", + # "WORKER_ID": "wordcount-vm-2015…" + # "CONTAINER_TYPE": "worker", + # "CONTAINER_ID": "ac1234def"` + # Label tags typically correspond to Label enum values. However, for ease + # of development other strings can be used as tags. LABEL_UNSPECIFIED should + # not be used here. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @time = args[:time] if args.key?(:time) + @worker_health_report = args[:worker_health_report] if args.key?(:worker_health_report) + @worker_message_code = args[:worker_message_code] if args.key?(:worker_message_code) + @worker_metrics = args[:worker_metrics] if args.key?(:worker_metrics) + @labels = args[:labels] if args.key?(:labels) + end + end + + # JobMetrics contains a collection of metrics descibing the detailed progress + # of a Dataflow job. Metrics correspond to user-defined and system-defined + # metrics in the job. + # This resource captures only the most recent values of each metric; + # time-series data can be queried for them (under the same metric names) + # from Cloud Monitoring. + class JobMetrics + include Google::Apis::Core::Hashable + + # Timestamp as of which metric values are current. + # Corresponds to the JSON property `metricTime` + # @return [String] + attr_accessor :metric_time + + # All metrics for this job. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_time = args[:metric_time] if args.key?(:metric_time) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + + # A metric value representing a list of floating point numbers. + class FloatingPointList + include Google::Apis::Core::Hashable + + # Elements of the list. + # Corresponds to the JSON property `elements` + # @return [Array] + attr_accessor :elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @elements = args[:elements] if args.key?(:elements) + end + end + + # An update to a Counter sent from a worker. + class CounterUpdate + include Google::Apis::Core::Hashable + + # A metric value representing a list of floating point numbers. + # Corresponds to the JSON property `floatingPointList` + # @return [Google::Apis::DataflowV1b3::FloatingPointList] + attr_accessor :floating_point_list + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `integer` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :integer + + # A metric value representing a list of integers. + # Corresponds to the JSON property `integerList` + # @return [Google::Apis::DataflowV1b3::IntegerList] + attr_accessor :integer_list + + # A single message which encapsulates structured name and metadata for a given + # counter. + # Corresponds to the JSON property `structuredNameAndMetadata` + # @return [Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata] + attr_accessor :structured_name_and_metadata + + # A representation of an integer mean metric contribution. + # Corresponds to the JSON property `integerMean` + # @return [Google::Apis::DataflowV1b3::IntegerMean] + attr_accessor :integer_mean + + # Floating point value for Sum, Max, Min. + # Corresponds to the JSON property `floatingPoint` + # @return [Float] + attr_accessor :floating_point + + # Value for internally-defined counters used by the Dataflow service. + # Corresponds to the JSON property `internal` + # @return [Object] + attr_accessor :internal + + # True if this counter is reported as the total cumulative aggregate + # value accumulated since the worker started working on this WorkItem. + # By default this is false, indicating that this counter is reported + # as a delta. + # Corresponds to the JSON property `cumulative` + # @return [Boolean] + attr_accessor :cumulative + alias_method :cumulative?, :cumulative + + # A representation of a floating point mean metric contribution. + # Corresponds to the JSON property `floatingPointMean` + # @return [Google::Apis::DataflowV1b3::FloatingPointMean] + attr_accessor :floating_point_mean + + # Boolean value for And, Or. + # Corresponds to the JSON property `boolean` + # @return [Boolean] + attr_accessor :boolean + alias_method :boolean?, :boolean + + # Basic metadata about a counter. + # Corresponds to the JSON property `nameAndKind` + # @return [Google::Apis::DataflowV1b3::NameAndKind] + attr_accessor :name_and_kind + + # A metric value representing a list of strings. + # Corresponds to the JSON property `stringList` + # @return [Google::Apis::DataflowV1b3::StringList] + attr_accessor :string_list + + # A metric value representing a distribution. + # Corresponds to the JSON property `distribution` + # @return [Google::Apis::DataflowV1b3::DistributionUpdate] + attr_accessor :distribution + + # The service-generated short identifier for this counter. + # The short_id -> (name, metadata) mapping is constant for the lifetime of + # a job. + # Corresponds to the JSON property `shortId` + # @return [String] + attr_accessor :short_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floating_point_list = args[:floating_point_list] if args.key?(:floating_point_list) + @integer = args[:integer] if args.key?(:integer) + @integer_list = args[:integer_list] if args.key?(:integer_list) + @structured_name_and_metadata = args[:structured_name_and_metadata] if args.key?(:structured_name_and_metadata) + @integer_mean = args[:integer_mean] if args.key?(:integer_mean) + @floating_point = args[:floating_point] if args.key?(:floating_point) + @internal = args[:internal] if args.key?(:internal) + @cumulative = args[:cumulative] if args.key?(:cumulative) + @floating_point_mean = args[:floating_point_mean] if args.key?(:floating_point_mean) + @boolean = args[:boolean] if args.key?(:boolean) + @name_and_kind = args[:name_and_kind] if args.key?(:name_and_kind) + @string_list = args[:string_list] if args.key?(:string_list) + @distribution = args[:distribution] if args.key?(:distribution) + @short_id = args[:short_id] if args.key?(:short_id) + end + end + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + class SourceMetadata + include Google::Apis::Core::Hashable + + # Whether this source is known to produce key/value pairs with + # the (encoded) keys in lexicographically sorted order. + # Corresponds to the JSON property `producesSortedKeys` + # @return [Boolean] + attr_accessor :produces_sorted_keys + alias_method :produces_sorted_keys?, :produces_sorted_keys + + # Specifies that the size of this source is known to be infinite + # (this is a streaming source). + # Corresponds to the JSON property `infinite` + # @return [Boolean] + attr_accessor :infinite + alias_method :infinite?, :infinite + + # An estimate of the total size (in bytes) of the data that would be + # read from this source. This estimate is in terms of external storage + # size, before any decompression or other processing done by the reader. + # Corresponds to the JSON property `estimatedSizeBytes` + # @return [String] + attr_accessor :estimated_size_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @produces_sorted_keys = args[:produces_sorted_keys] if args.key?(:produces_sorted_keys) + @infinite = args[:infinite] if args.key?(:infinite) + @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes) + end + end + + # A metric value representing a distribution. + class DistributionUpdate + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `min` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :min + + # Use a double since the sum of squares is likely to overflow int64. + # Corresponds to the JSON property `sumOfSquares` + # @return [Float] + attr_accessor :sum_of_squares + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `max` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :max + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min = args[:min] if args.key?(:min) + @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) + @max = args[:max] if args.key?(:max) + @sum = args[:sum] if args.key?(:sum) + @count = args[:count] if args.key?(:count) + end + end + + # DEPRECATED in favor of DynamicSourceSplit. + class SourceFork + include Google::Apis::Core::Hashable + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residualSource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual_source + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :primary + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primarySource` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary_source + + # DEPRECATED in favor of DerivedSource. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::SourceSplitShard] + attr_accessor :residual + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @residual_source = args[:residual_source] if args.key?(:residual_source) + @primary = args[:primary] if args.key?(:primary) + @primary_source = args[:primary_source] if args.key?(:primary_source) + @residual = args[:residual] if args.key?(:residual) + end + end + + # WorkerHealthReportResponse contains information returned to the worker + # in response to a health ping. + class WorkerHealthReportResponse + include Google::Apis::Core::Hashable + + # A positive value indicates the worker should change its reporting interval + # to the specified value. + # The default value of zero means no change in report rate is requested by + # the server. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_interval = args[:report_interval] if args.key?(:report_interval) + end + end + + # Conveys a worker's progress through the work described by a WorkItem. + class WorkItemStatus + include Google::Apis::Core::Hashable + + # Worker output counters for this WorkItem. + # Corresponds to the JSON property `counterUpdates` + # @return [Array] + attr_accessor :counter_updates + + # Identifies the WorkItem. + # Corresponds to the JSON property `workItemId` + # @return [String] + attr_accessor :work_item_id + + # Specifies errors which occurred during processing. If errors are + # provided, and completed = true, then the WorkItem is considered + # to have failed. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # DEPRECATED in favor of counter_updates. + # Corresponds to the JSON property `metricUpdates` + # @return [Array] + attr_accessor :metric_updates + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + # Corresponds to the JSON property `dynamicSourceSplit` + # @return [Google::Apis::DataflowV1b3::DynamicSourceSplit] + attr_accessor :dynamic_source_split + + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + # Corresponds to the JSON property `sourceOperationResponse` + # @return [Google::Apis::DataflowV1b3::SourceOperationResponse] + attr_accessor :source_operation_response + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `progress` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :progress + + # Amount of time the worker requests for its lease. + # Corresponds to the JSON property `requestedLeaseDuration` + # @return [String] + attr_accessor :requested_lease_duration + + # The report index. When a WorkItem is leased, the lease will + # contain an initial report index. When a WorkItem's status is + # reported to the system, the report should be sent with + # that report index, and the response will contain the index the + # worker should use for the next report. Reports received with + # unexpected index values will be rejected by the service. + # In order to preserve idempotency, the worker should not alter the + # contents of a report, even if the worker must submit the same + # report multiple times before getting back a response. The worker + # should not submit a subsequent report until the response for the + # previous report had been received from the service. + # Corresponds to the JSON property `reportIndex` + # @return [String] + attr_accessor :report_index + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `stopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :stop_position + + # True if the WorkItem was completed (successfully or unsuccessfully). + # Corresponds to the JSON property `completed` + # @return [Boolean] + attr_accessor :completed + alias_method :completed?, :completed + + # A progress measurement of a WorkItem by a worker. + # Corresponds to the JSON property `reportedProgress` + # @return [Google::Apis::DataflowV1b3::ApproximateReportedProgress] + attr_accessor :reported_progress + + # DEPRECATED in favor of DynamicSourceSplit. + # Corresponds to the JSON property `sourceFork` + # @return [Google::Apis::DataflowV1b3::SourceFork] + attr_accessor :source_fork + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter_updates = args[:counter_updates] if args.key?(:counter_updates) + @work_item_id = args[:work_item_id] if args.key?(:work_item_id) + @errors = args[:errors] if args.key?(:errors) + @metric_updates = args[:metric_updates] if args.key?(:metric_updates) + @dynamic_source_split = args[:dynamic_source_split] if args.key?(:dynamic_source_split) + @source_operation_response = args[:source_operation_response] if args.key?(:source_operation_response) + @progress = args[:progress] if args.key?(:progress) + @requested_lease_duration = args[:requested_lease_duration] if args.key?(:requested_lease_duration) + @report_index = args[:report_index] if args.key?(:report_index) + @stop_position = args[:stop_position] if args.key?(:stop_position) + @completed = args[:completed] if args.key?(:completed) + @reported_progress = args[:reported_progress] if args.key?(:reported_progress) + @source_fork = args[:source_fork] if args.key?(:source_fork) + end + end + + # Description of an interstitial value between transforms in an execution + # stage. + class ComponentSource + include Google::Apis::Core::Hashable + + # User name for the original user transform or collection with which this + # source is most closely associated. + # Corresponds to the JSON property `originalTransformOrCollection` + # @return [String] + attr_accessor :original_transform_or_collection + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_transform_or_collection = args[:original_transform_or_collection] if args.key?(:original_transform_or_collection) + @name = args[:name] if args.key?(:name) + @user_name = args[:user_name] if args.key?(:user_name) + end + end + + # The Dataflow service's idea of the current state of a WorkItem + # being processed by a worker. + class WorkItemServiceState + include Google::Apis::Core::Hashable + + # A suggestion by the service to the worker to dynamically split the WorkItem. + # Corresponds to the JSON property `splitRequest` + # @return [Google::Apis::DataflowV1b3::ApproximateSplitRequest] + attr_accessor :split_request + + # New recommended reporting interval. + # Corresponds to the JSON property `reportStatusInterval` + # @return [String] + attr_accessor :report_status_interval + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `suggestedStopPosition` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :suggested_stop_position + + # Other data returned by the service, specific to the particular + # worker harness. + # Corresponds to the JSON property `harnessData` + # @return [Hash] + attr_accessor :harness_data + + # Time at which the current lease will expire. + # Corresponds to the JSON property `leaseExpireTime` + # @return [String] + attr_accessor :lease_expire_time + + # The short ids that workers should use in subsequent metric updates. + # Workers should strive to use short ids whenever possible, but it is ok + # to request the short_id again if a worker lost track of it + # (e.g. if the worker is recovering from a crash). + # NOTE: it is possible that the response may have short ids for a subset + # of the metrics. + # Corresponds to the JSON property `metricShortId` + # @return [Array] + attr_accessor :metric_short_id + + # The index value to use for the next report sent by the worker. + # Note: If the report call fails for whatever reason, the worker should + # reuse this index for subsequent report attempts. + # Corresponds to the JSON property `nextReportIndex` + # @return [String] + attr_accessor :next_report_index + + # Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest. + # Corresponds to the JSON property `suggestedStopPoint` + # @return [Google::Apis::DataflowV1b3::ApproximateProgress] + attr_accessor :suggested_stop_point + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @split_request = args[:split_request] if args.key?(:split_request) + @report_status_interval = args[:report_status_interval] if args.key?(:report_status_interval) + @suggested_stop_position = args[:suggested_stop_position] if args.key?(:suggested_stop_position) + @harness_data = args[:harness_data] if args.key?(:harness_data) + @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time) + @metric_short_id = args[:metric_short_id] if args.key?(:metric_short_id) + @next_report_index = args[:next_report_index] if args.key?(:next_report_index) + @suggested_stop_point = args[:suggested_stop_point] if args.key?(:suggested_stop_point) + end + end + + # Identifies a metric, by describing the source which generated the + # metric. + class MetricStructuredName + include Google::Apis::Core::Hashable + + # Origin (namespace) of metric name. May be blank for user-define metrics; + # will be "dataflow" for metrics defined by the Dataflow service or SDK. + # Corresponds to the JSON property `origin` + # @return [String] + attr_accessor :origin + + # Worker-defined metric name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Zero or more labeled fields which identify the part of the job this + # metric is associated with, such as the name of a step or collection. + # For example, built-in counters associated with steps will have + # context['step'] = . Counters associated with PCollections + # in the SDK will have context['pcollection'] = . + # Corresponds to the JSON property `context` + # @return [Hash] + attr_accessor :context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @origin = args[:origin] if args.key?(:origin) + @name = args[:name] if args.key?(:name) + @context = args[:context] if args.key?(:context) + end + end + + # Information about an output of a SeqMapTask. + class SeqMapTaskOutputInfo + include Google::Apis::Core::Hashable + + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink + + # The id of the TupleTag the user code will tag the output value by. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sink = args[:sink] if args.key?(:sink) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Contains information about how a particular + # google.dataflow.v1beta3.Step will be executed. + class JobExecutionStageInfo + include Google::Apis::Core::Hashable + + # The steps associated with the execution stage. + # Note that stages may have several steps, and that a given step + # might be run by more than one stage. + # Corresponds to the JSON property `stepName` + # @return [Array] + attr_accessor :step_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @step_name = args[:step_name] if args.key?(:step_name) + end + end + + # Location information for a specific key-range of a sharded computation. + # Currently we only support UTF-8 character splits to simplify encoding into + # JSON. + class KeyRangeLocation + include Google::Apis::Core::Hashable + + # DEPRECATED. The location of the persistent state for this range, as a + # persistent directory in the worker local filesystem. + # Corresponds to the JSON property `deprecatedPersistentDirectory` + # @return [String] + attr_accessor :deprecated_persistent_directory + + # The physical location of this range assignment to be used for + # streaming computation cross-worker message delivery. + # Corresponds to the JSON property `deliveryEndpoint` + # @return [String] + attr_accessor :delivery_endpoint + + # The start (inclusive) of the key range. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # The name of the data disk where data for this range is stored. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + # The end (exclusive) of the key range. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @deprecated_persistent_directory = args[:deprecated_persistent_directory] if args.key?(:deprecated_persistent_directory) + @delivery_endpoint = args[:delivery_endpoint] if args.key?(:delivery_endpoint) + @start = args[:start] if args.key?(:start) + @data_disk = args[:data_disk] if args.key?(:data_disk) + @end = args[:end] if args.key?(:end) + end + end + + # A request to compute the SourceMetadata of a Source. + class SourceGetMetadataRequest + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + end + end + + # Basic metadata about a counter. + class NameAndKind + include Google::Apis::Core::Hashable + + # Name of the counter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Counter aggregation kind. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Describes a particular function to invoke. + class SeqMapTask + include Google::Apis::Core::Hashable + + # Information about each of the inputs. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + # System-defined name of the stage containing the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # System-defined name of the SeqDo operation. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # The user function to invoke. + # Corresponds to the JSON property `userFn` + # @return [Hash] + attr_accessor :user_fn + + # The user-provided name of the SeqDo operation. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Information about each of the outputs. + # Corresponds to the JSON property `outputInfos` + # @return [Array] + attr_accessor :output_infos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inputs = args[:inputs] if args.key?(:inputs) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @system_name = args[:system_name] if args.key?(:system_name) + @user_fn = args[:user_fn] if args.key?(:user_fn) + @name = args[:name] if args.key?(:name) + @output_infos = args[:output_infos] if args.key?(:output_infos) + end + end + + # A message code is used to report status and error messages to the service. + # The message codes are intended to be machine readable. The service will + # take care of translating these into user understandable messages if + # necessary. + # Example use cases: + # 1. Worker processes reporting successful startup. + # 2. Worker processes reporting specific errors (e.g. package staging + # failure). + class WorkerMessageCode + include Google::Apis::Core::Hashable + + # The code is a string intended for consumption by a machine that identifies + # the type of message being sent. + # Examples: + # 1. "HARNESS_STARTED" might be used to indicate the worker harness has + # started. + # 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading + # a GCS file as part of the boot process of one of the worker containers. + # This is a string and not an enum to make it easy to add new codes without + # waiting for an API change. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # Parameters contains specific information about the code. + # This is a struct to allow parameters of different types. + # Examples: + # 1. For a "HARNESS_STARTED" message parameters might provide the name + # of the worker and additional data like timing information. + # 2. For a "GCS_DOWNLOAD_ERROR" parameters might contain fields listing + # the GCS objects being downloaded and fields containing errors. + # In general complex data structures should be avoided. If a worker + # needs to send a specific and complicated data structure then please + # consider defining a new proto and adding it to the data oneof in + # WorkerMessageResponse. + # Conventions: + # Parameters should only be used for information that isn't typically passed + # as a label. + # hostname and other worker identifiers should almost always be passed + # as labels since they will be included on most messages. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @parameters = args[:parameters] if args.key?(:parameters) + end + end + + # Identifies the location of a custom souce. + class CustomSourceLocation + include Google::Apis::Core::Hashable + + # Whether this source is stateful. + # Corresponds to the JSON property `stateful` + # @return [Boolean] + attr_accessor :stateful + alias_method :stateful?, :stateful + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stateful = args[:stateful] if args.key?(:stateful) + end + end + + # MapTask consists of an ordered set of instructions, each of which + # describes one particular low-level operation for the worker to + # perform in order to accomplish the MapTask's WorkItem. + # Each instruction must appear in the list before any instructions which + # depends on its output. + class MapTask + include Google::Apis::Core::Hashable + + # System-defined name of this MapTask. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # System-defined name of the stage containing this MapTask. + # Unique across the workflow. + # Corresponds to the JSON property `stageName` + # @return [String] + attr_accessor :stage_name + + # The instructions in the MapTask. + # Corresponds to the JSON property `instructions` + # @return [Array] + attr_accessor :instructions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @system_name = args[:system_name] if args.key?(:system_name) + @stage_name = args[:stage_name] if args.key?(:stage_name) + @instructions = args[:instructions] if args.key?(:instructions) + end + end + + # A representation of a floating point mean metric contribution. + class FloatingPointMean + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # The sum of all values being aggregated. + # Corresponds to the JSON property `sum` + # @return [Float] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) + end + end + + # Response from a request to report the status of WorkItems. + class ReportWorkItemStatusResponse + include Google::Apis::Core::Hashable + + # A set of messages indicating the service-side state for each + # WorkItem whose status was reported, in the same order as the + # WorkItemStatus messages in the ReportWorkItemStatusRequest which + # resulting in this response. + # Corresponds to the JSON property `workItemServiceStates` + # @return [Array] + attr_accessor :work_item_service_states + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @work_item_service_states = args[:work_item_service_states] if args.key?(:work_item_service_states) + end + end + + # An output of an instruction. + class InstructionOutput + include Google::Apis::Core::Hashable + + # The codec to use to encode data being written via this output. + # Corresponds to the JSON property `codec` + # @return [Hash] + attr_accessor :codec + + # The user-provided name of this output. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # System-defined name for this output in the original workflow graph. + # Outputs that do not contribute to an original instruction do not set this. + # Corresponds to the JSON property `originalName` + # @return [String] + attr_accessor :original_name + + # System-defined name of this output. + # Unique across the workflow. + # Corresponds to the JSON property `systemName` + # @return [String] + attr_accessor :system_name + + # For system-generated byte and mean byte metrics, certain instructions + # should only report the key size. + # Corresponds to the JSON property `onlyCountKeyBytes` + # @return [Boolean] + attr_accessor :only_count_key_bytes + alias_method :only_count_key_bytes?, :only_count_key_bytes + + # For system-generated byte and mean byte metrics, certain instructions + # should only report the value size. + # Corresponds to the JSON property `onlyCountValueBytes` + # @return [Boolean] + attr_accessor :only_count_value_bytes + alias_method :only_count_value_bytes?, :only_count_value_bytes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @codec = args[:codec] if args.key?(:codec) + @name = args[:name] if args.key?(:name) + @original_name = args[:original_name] if args.key?(:original_name) + @system_name = args[:system_name] if args.key?(:system_name) + @only_count_key_bytes = args[:only_count_key_bytes] if args.key?(:only_count_key_bytes) + @only_count_value_bytes = args[:only_count_value_bytes] if args.key?(:only_count_value_bytes) + end + end + + # A request to create a Cloud Dataflow job from a template. + class CreateJobFromTemplateRequest + include Google::Apis::Core::Hashable + + # The runtime parameters to pass to the job. + # Corresponds to the JSON property `parameters` + # @return [Hash] + attr_accessor :parameters + + # Required. The job name to use for the created job. + # Corresponds to the JSON property `jobName` + # @return [String] + attr_accessor :job_name + + # Required. A Cloud Storage path to the template from which to + # create the job. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `gcsPath` + # @return [String] + attr_accessor :gcs_path + + # The environment values to set at runtime. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::RuntimeEnvironment] + attr_accessor :environment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @parameters = args[:parameters] if args.key?(:parameters) + @job_name = args[:job_name] if args.key?(:job_name) + @gcs_path = args[:gcs_path] if args.key?(:gcs_path) + @environment = args[:environment] if args.key?(:environment) + end + end + + # A representation of an integer mean metric contribution. + class IntegerMean + include Google::Apis::Core::Hashable + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `count` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :count + + # A representation of an int64, n, that is immune to precision loss when + # encoded in JSON. + # Corresponds to the JSON property `sum` + # @return [Google::Apis::DataflowV1b3::SplitInt64] + attr_accessor :sum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @sum = args[:sum] if args.key?(:sum) + end + end + + # Response to a request to list Cloud Dataflow jobs. This may be a partial + # response, depending on the page size in the ListJobsRequest. + class ListJobsResponse + include Google::Apis::Core::Hashable + + # Set if there may be more results than fit in this response. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Zero or more messages describing locations that failed to respond. + # Corresponds to the JSON property `failedLocation` + # @return [Array] + attr_accessor :failed_location + + # A subset of the requested job information. + # Corresponds to the JSON property `jobs` + # @return [Array] + attr_accessor :jobs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @failed_location = args[:failed_location] if args.key?(:failed_location) + @jobs = args[:jobs] if args.key?(:jobs) + end + end + + # All configuration data for a particular Computation. + class ComputationTopology + include Google::Apis::Core::Hashable + + # The user stage name. + # Corresponds to the JSON property `userStageName` + # @return [String] + attr_accessor :user_stage_name + + # The state family values. + # Corresponds to the JSON property `stateFamilies` + # @return [Array] + attr_accessor :state_families + + # The outputs from the computation. + # Corresponds to the JSON property `outputs` + # @return [Array] + attr_accessor :outputs + + # The system stage name. + # Corresponds to the JSON property `systemStageName` + # @return [String] + attr_accessor :system_stage_name + + # The inputs to the computation. + # Corresponds to the JSON property `inputs` + # @return [Array] + attr_accessor :inputs + + # The ID of the computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + # The key ranges processed by the computation. + # Corresponds to the JSON property `keyRanges` + # @return [Array] + attr_accessor :key_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_stage_name = args[:user_stage_name] if args.key?(:user_stage_name) + @state_families = args[:state_families] if args.key?(:state_families) + @outputs = args[:outputs] if args.key?(:outputs) + @system_stage_name = args[:system_stage_name] if args.key?(:system_stage_name) + @inputs = args[:inputs] if args.key?(:inputs) + @computation_id = args[:computation_id] if args.key?(:computation_id) + @key_ranges = args[:key_ranges] if args.key?(:key_ranges) + end + end + + # The environment values to set at runtime. + class RuntimeEnvironment + include Google::Apis::Core::Hashable + + # The maximum number of Google Compute Engine instances to be made + # available to your pipeline during execution, from 1 to 1000. + # Corresponds to the JSON property `maxWorkers` + # @return [Fixnum] + attr_accessor :max_workers + + # The Compute Engine [availability zone](https://cloud.google.com/compute/docs/ + # regions-zones/regions-zones) + # for launching worker instances to run your pipeline. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + # The email address of the service account to run the job as. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email + + # The Cloud Storage path to use for temporary files. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # Corresponds to the JSON property `tempLocation` + # @return [String] + attr_accessor :temp_location + + # Whether to bypass the safety checks for the job's temporary directory. + # Use with caution. + # Corresponds to the JSON property `bypassTempDirValidation` + # @return [Boolean] + attr_accessor :bypass_temp_dir_validation + alias_method :bypass_temp_dir_validation?, :bypass_temp_dir_validation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_workers = args[:max_workers] if args.key?(:max_workers) + @zone = args[:zone] if args.key?(:zone) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + @temp_location = args[:temp_location] if args.key?(:temp_location) + @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation) + end + end + + # Describes mounted data disk. + class MountedDataDisk + include Google::Apis::Core::Hashable + + # The name of the data disk. + # This name is local to the Google Cloud Platform project and uniquely + # identifies the disk within that project, for example + # "myproject-1014-104817-4c2-harness-0-disk-1". + # Corresponds to the JSON property `dataDisk` + # @return [String] + attr_accessor :data_disk + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_disk = args[:data_disk] if args.key?(:data_disk) + end + end + + # Identifies the location of a streaming side input. + class StreamingSideInputLocation + include Google::Apis::Core::Hashable + + # Identifies the state family where this side input is stored. + # Corresponds to the JSON property `stateFamily` + # @return [String] + attr_accessor :state_family + + # Identifies the particular side input within the streaming Dataflow job. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @state_family = args[:state_family] if args.key?(:state_family) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Response to the request to launch a template. + class LaunchTemplateResponse + include Google::Apis::Core::Hashable + + # Defines a job to be run by the Cloud Dataflow service. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataflowV1b3::Job] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + + # Defines a job to be run by the Cloud Dataflow service. + class Job + include Google::Apis::Core::Hashable + + # The ID of the Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # The type of Cloud Dataflow job. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A descriptive representation of submitted pipeline as well as the executed + # form. This data is provided by the Dataflow service for ease of visualizing + # the pipeline and interpretting Dataflow provided metrics. + # Corresponds to the JSON property `pipelineDescription` + # @return [Google::Apis::DataflowV1b3::PipelineDescription] + attr_accessor :pipeline_description + + # If this job is an update of an existing job, this field is the job ID + # of the job it replaced. + # When sending a `CreateJobRequest`, you can update a job by specifying it + # here. The job named here is stopped, and its intermediate state is + # transferred to this job. + # Corresponds to the JSON property `replaceJobId` + # @return [String] + attr_accessor :replace_job_id + + # The job's requested state. + # `UpdateJob` may be used to switch between the `JOB_STATE_STOPPED` and + # `JOB_STATE_RUNNING` states, by setting requested_state. `UpdateJob` may + # also be used to directly set a job's requested state to + # `JOB_STATE_CANCELLED` or `JOB_STATE_DONE`, irrevocably terminating the + # job if it has not already reached a terminal state. + # Corresponds to the JSON property `requestedState` + # @return [String] + attr_accessor :requested_state + + # A set of files the system should be aware of that are used + # for temporary storage. These temporary files will be + # removed on job completion. + # No duplicates are allowed. + # No file patterns are supported. + # The supported files are: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempFiles` + # @return [Array] + attr_accessor :temp_files + + # The client's unique identifier of the job, re-used across retried attempts. + # If this field is set, the service will ensure its uniqueness. + # The request to create a job will fail if the service has knowledge of a + # previously submitted job with the same client's ID and job name. + # The caller may use this field to ensure idempotence of job + # creation across retried attempts to create a job. + # By default, the field is empty and, in that case, the service ignores it. + # Corresponds to the JSON property `clientRequestId` + # @return [String] + attr_accessor :client_request_id + + # The user-specified Cloud Dataflow job name. + # Only one Job with a given name may exist in a project at any + # given time. If a caller attempts to create a Job with the same + # name as an already-existing Job, the attempt returns the + # existing Job. + # The name must match the regular expression + # `[a-z]([-a-z0-9]`0,38`[a-z0-9])?` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If another job is an update of this job (and thus, this job is in + # `JOB_STATE_UPDATED`), this field contains the ID of that job. + # Corresponds to the JSON property `replacedByJobId` + # @return [String] + attr_accessor :replaced_by_job_id + + # The top-level steps that constitute the entire job. + # Corresponds to the JSON property `steps` + # @return [Array] + attr_accessor :steps + + # The unique ID of this job. + # This field is set by the Cloud Dataflow service when the Job is + # created, and is immutable for the life of the job. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Additional information about how a Cloud Dataflow job will be executed that + # isn't contained in the submitted job. + # Corresponds to the JSON property `executionInfo` + # @return [Google::Apis::DataflowV1b3::JobExecutionInfo] + attr_accessor :execution_info + + # The current state of the job. + # Jobs are created in the `JOB_STATE_STOPPED` state unless otherwise + # specified. + # A job in the `JOB_STATE_RUNNING` state may asynchronously enter a + # terminal state. After a job has reached a terminal state, no + # further state updates may be made. + # This field may be mutated by the Cloud Dataflow service; + # callers cannot mutate it. + # Corresponds to the JSON property `currentState` + # @return [String] + attr_accessor :current_state + + # The location that contains this job. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # The timestamp associated with the current state. + # Corresponds to the JSON property `currentStateTime` + # @return [String] + attr_accessor :current_state_time + + # The map of transform name prefixes of the job to be replaced to the + # corresponding name prefixes of the new job. + # Corresponds to the JSON property `transformNameMapping` + # @return [Hash] + attr_accessor :transform_name_mapping + + # Describes the environment in which a Dataflow Job runs. + # Corresponds to the JSON property `environment` + # @return [Google::Apis::DataflowV1b3::Environment] + attr_accessor :environment + + # User-defined labels for this job. + # The labels map can contain no more than 64 entries. Entries of the labels + # map are UTF8 strings that comply with the following restrictions: + # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62` + # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63` + # * Both keys and values are additionally constrained to be <= 128 bytes in + # size. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The timestamp when the job was initially created. Immutable and set by the + # Cloud Dataflow service. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @type = args[:type] if args.key?(:type) + @pipeline_description = args[:pipeline_description] if args.key?(:pipeline_description) + @replace_job_id = args[:replace_job_id] if args.key?(:replace_job_id) + @requested_state = args[:requested_state] if args.key?(:requested_state) + @temp_files = args[:temp_files] if args.key?(:temp_files) + @client_request_id = args[:client_request_id] if args.key?(:client_request_id) + @name = args[:name] if args.key?(:name) + @replaced_by_job_id = args[:replaced_by_job_id] if args.key?(:replaced_by_job_id) + @steps = args[:steps] if args.key?(:steps) + @id = args[:id] if args.key?(:id) + @execution_info = args[:execution_info] if args.key?(:execution_info) + @current_state = args[:current_state] if args.key?(:current_state) + @location = args[:location] if args.key?(:location) + @current_state_time = args[:current_state_time] if args.key?(:current_state_time) + @transform_name_mapping = args[:transform_name_mapping] if args.key?(:transform_name_mapping) + @environment = args[:environment] if args.key?(:environment) + @labels = args[:labels] if args.key?(:labels) + @create_time = args[:create_time] if args.key?(:create_time) + end + end + + # When a task splits using WorkItemStatus.dynamic_source_split, this + # message describes the two parts of the split relative to the + # description of the current task's input. + class DynamicSourceSplit + include Google::Apis::Core::Hashable + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `primary` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :primary + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + # Corresponds to the JSON property `residual` + # @return [Google::Apis::DataflowV1b3::DerivedSource] + attr_accessor :residual + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @primary = args[:primary] if args.key?(:primary) + @residual = args[:residual] if args.key?(:residual) + end + end + + # Specification of one of the bundles produced as a result of splitting + # a Source (e.g. when executing a SourceSplitRequest, or when + # splitting an active task using WorkItemStatus.dynamic_source_split), + # relative to the source being split. + class DerivedSource + include Google::Apis::Core::Hashable + + # What source to base the produced source on (if any). + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) + @source = args[:source] if args.key?(:source) + end + end + + # The result of a SourceOperationRequest, specified in + # ReportWorkItemStatusRequest.source_operation when the work item + # is completed. + class SourceOperationResponse + include Google::Apis::Core::Hashable + + # The result of a SourceGetMetadataOperation. + # Corresponds to the JSON property `getMetadata` + # @return [Google::Apis::DataflowV1b3::SourceGetMetadataResponse] + attr_accessor :get_metadata + + # The response to a SourceSplitRequest. + # Corresponds to the JSON property `split` + # @return [Google::Apis::DataflowV1b3::SourceSplitResponse] + attr_accessor :split + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @get_metadata = args[:get_metadata] if args.key?(:get_metadata) + @split = args[:split] if args.key?(:split) + end + end + + # Response to a send capture request. + # nothing + class SendDebugCaptureResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Information about a side input of a DoFn or an input of a SeqDoFn. + class SideInputInfo + include Google::Apis::Core::Hashable + + # The source(s) to read element(s) from to get the value of this side input. + # If more than one source, then the elements are taken from the + # sources, in the specified order if order matters. + # At least one source is required. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + # How to interpret the source element(s) as a side input value. + # Corresponds to the JSON property `kind` + # @return [Hash] + attr_accessor :kind + + # The id of the tag the user code will access this side input by; + # this should correspond to the tag of some MultiOutputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sources = args[:sources] if args.key?(:sources) + @kind = args[:kind] if args.key?(:kind) + @tag = args[:tag] if args.key?(:tag) + end + end + + # A single message which encapsulates structured name and metadata for a given + # counter. + class CounterStructuredNameAndMetadata + include Google::Apis::Core::Hashable + + # CounterMetadata includes all static non-name non-value counter attributes. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::CounterMetadata] + attr_accessor :metadata + + # Identifies a counter within a per-job namespace. Counters whose structured + # names are the same get merged into a single value for the job. + # Corresponds to the JSON property `name` + # @return [Google::Apis::DataflowV1b3::CounterStructuredName] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + end + end + + # A position that encapsulates an inner position and an index for the inner + # position. A ConcatPosition can be used by a reader of a source that + # encapsulates a set of other sources. + class ConcatPosition + include Google::Apis::Core::Hashable + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DataflowV1b3::Position] + attr_accessor :position + + # Index of the inner source. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @index = args[:index] if args.key?(:index) + end + end + + # An instruction that writes records. + # Takes one input, produces no outputs. + class WriteInstruction + include Google::Apis::Core::Hashable + + # A sink that records can be encoded and written to. + # Corresponds to the JSON property `sink` + # @return [Google::Apis::DataflowV1b3::Sink] + attr_accessor :sink + + # An input of an instruction, as a reference to an output of a + # producer instruction. + # Corresponds to the JSON property `input` + # @return [Google::Apis::DataflowV1b3::InstructionInput] + attr_accessor :input + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sink = args[:sink] if args.key?(:sink) + @input = args[:input] if args.key?(:input) + end + end + + # Describes full or partial data disk assignment information of the computation + # ranges. + class StreamingComputationRanges + include Google::Apis::Core::Hashable + + # Data disk assignments for ranges from this computation. + # Corresponds to the JSON property `rangeAssignments` + # @return [Array] + attr_accessor :range_assignments + + # The ID of the computation. + # Corresponds to the JSON property `computationId` + # @return [String] + attr_accessor :computation_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range_assignments = args[:range_assignments] if args.key?(:range_assignments) + @computation_id = args[:computation_id] if args.key?(:computation_id) + end + end + + # Settings for WorkerPool autoscaling. + class AutoscalingSettings + include Google::Apis::Core::Hashable + + # The algorithm to use for autoscaling. + # Corresponds to the JSON property `algorithm` + # @return [String] + attr_accessor :algorithm + + # The maximum number of workers to cap scaling at. + # Corresponds to the JSON property `maxNumWorkers` + # @return [Fixnum] + attr_accessor :max_num_workers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @algorithm = args[:algorithm] if args.key?(:algorithm) + @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers) + end + end + + # Description of the composing transforms, names/ids, and input/outputs of a + # stage of execution. Some composing transforms and sources may have been + # generated by the Dataflow service during execution planning. + class ExecutionStageSummary + include Google::Apis::Core::Hashable + + # Input sources for this stage. + # Corresponds to the JSON property `inputSource` + # @return [Array] + attr_accessor :input_source + + # Dataflow service generated id for this stage. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Transforms that comprise this execution stage. + # Corresponds to the JSON property `componentTransform` + # @return [Array] + attr_accessor :component_transform + + # Collections produced and consumed by component transforms of this stage. + # Corresponds to the JSON property `componentSource` + # @return [Array] + attr_accessor :component_source + + # Type of tranform this stage is executing. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Output sources for this stage. + # Corresponds to the JSON property `outputSource` + # @return [Array] + attr_accessor :output_source + + # Dataflow service generated name for this stage. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_source = args[:input_source] if args.key?(:input_source) + @id = args[:id] if args.key?(:id) + @component_transform = args[:component_transform] if args.key?(:component_transform) + @component_source = args[:component_source] if args.key?(:component_source) + @kind = args[:kind] if args.key?(:kind) + @output_source = args[:output_source] if args.key?(:output_source) + @name = args[:name] if args.key?(:name) + end + end + + # A request for sending worker messages to the service. + class SendWorkerMessagesRequest + include Google::Apis::Core::Hashable + + # The WorkerMessages to send. + # Corresponds to the JSON property `workerMessages` + # @return [Array] + attr_accessor :worker_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @worker_messages = args[:worker_messages] if args.key?(:worker_messages) + end + end + + # DEPRECATED in favor of DerivedSource. + class SourceSplitShard + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + # DEPRECATED + # Corresponds to the JSON property `derivationMode` + # @return [String] + attr_accessor :derivation_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + @derivation_mode = args[:derivation_mode] if args.key?(:derivation_mode) + end + end + + # Modeled after information exposed by /proc/stat. + class CpuTime + include Google::Apis::Core::Hashable + + # Timestamp of the measurement. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Total active CPU time across all cores (ie., non-idle) in milliseconds + # since start-up. + # Corresponds to the JSON property `totalMs` + # @return [String] + attr_accessor :total_ms + + # Average CPU utilization rate (% non-idle cpu / second) since previous + # sample. + # Corresponds to the JSON property `rate` + # @return [Float] + attr_accessor :rate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @total_ms = args[:total_ms] if args.key?(:total_ms) + @rate = args[:rate] if args.key?(:rate) + end + end + + # Describes the environment in which a Dataflow Job runs. + class Environment + include Google::Apis::Core::Hashable + + # A description of the process that generated the request. + # Corresponds to the JSON property `userAgent` + # @return [Hash] + attr_accessor :user_agent + + # The Cloud Dataflow SDK pipeline options specified by the user. These + # options are passed through the service and are used to recreate the + # SDK pipeline options on the worker in a language agnostic and platform + # independent way. + # Corresponds to the JSON property `sdkPipelineOptions` + # @return [Hash] + attr_accessor :sdk_pipeline_options + + # The type of cluster manager API to use. If unknown or + # unspecified, the service will attempt to choose a reasonable + # default. This should be in the form of the API service name, + # e.g. "compute.googleapis.com". + # Corresponds to the JSON property `clusterManagerApiService` + # @return [String] + attr_accessor :cluster_manager_api_service + + # The prefix of the resources the system should use for temporary + # storage. The system will append the suffix "/temp-`JOBNAME` to + # this resource prefix, where `JOBNAME` is the value of the + # job_name field. The resulting bucket and object prefix is used + # as the prefix of the resources used to store temporary data + # needed during the job execution. NOTE: This will override the + # value in taskrunner_settings. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempStoragePrefix` + # @return [String] + attr_accessor :temp_storage_prefix + + # The worker pools. At least one "harness" worker pool must be + # specified in order for the job to have workers. + # Corresponds to the JSON property `workerPools` + # @return [Array] + attr_accessor :worker_pools + + # The dataset for the current project where various workflow + # related tables are stored. + # The supported resource type is: + # Google BigQuery: + # bigquery.googleapis.com/`dataset` + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + # The list of experiments to enable. + # Corresponds to the JSON property `experiments` + # @return [Array] + attr_accessor :experiments + + # Experimental settings. + # Corresponds to the JSON property `internalExperiments` + # @return [Hash] + attr_accessor :internal_experiments + + # A structure describing which components and their versions of the service + # are required in order to run the job. + # Corresponds to the JSON property `version` + # @return [Hash] + attr_accessor :version + + # Identity to run virtual machines as. Defaults to the default account. + # Corresponds to the JSON property `serviceAccountEmail` + # @return [String] + attr_accessor :service_account_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @sdk_pipeline_options = args[:sdk_pipeline_options] if args.key?(:sdk_pipeline_options) + @cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) + @worker_pools = args[:worker_pools] if args.key?(:worker_pools) + @dataset = args[:dataset] if args.key?(:dataset) + @experiments = args[:experiments] if args.key?(:experiments) + @internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments) + @version = args[:version] if args.key?(:version) + @service_account_email = args[:service_account_email] if args.key?(:service_account_email) + end + end + + # A task which describes what action should be performed for the specified + # streaming computation ranges. + class StreamingComputationTask + include Google::Apis::Core::Hashable + + # Contains ranges of a streaming computation this task should apply to. + # Corresponds to the JSON property `computationRanges` + # @return [Array] + attr_accessor :computation_ranges + + # Describes the set of data disks this task should apply to. + # Corresponds to the JSON property `dataDisks` + # @return [Array] + attr_accessor :data_disks + + # A type of streaming computation task. + # Corresponds to the JSON property `taskType` + # @return [String] + attr_accessor :task_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computation_ranges = args[:computation_ranges] if args.key?(:computation_ranges) + @data_disks = args[:data_disks] if args.key?(:data_disks) + @task_type = args[:task_type] if args.key?(:task_type) + end + end + + # Request to send encoded debug information. + class SendDebugCaptureRequest + include Google::Apis::Core::Hashable + + # The internal component id for which debug information is sent. + # Corresponds to the JSON property `componentId` + # @return [String] + attr_accessor :component_id + + # The worker id, i.e., VM hostname. + # Corresponds to the JSON property `workerId` + # @return [String] + attr_accessor :worker_id + + # The encoded debug information. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @component_id = args[:component_id] if args.key?(:component_id) + @worker_id = args[:worker_id] if args.key?(:worker_id) + @data = args[:data] if args.key?(:data) + end + end + + # Response to a get debug configuration request. + class GetDebugConfigResponse + include Google::Apis::Core::Hashable + + # The encoded debug configuration for the requested component. + # Corresponds to the JSON property `config` + # @return [String] + attr_accessor :config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config = args[:config] if args.key?(:config) + end + end + + # Description of a transform executed as part of an execution stage. + class ComponentTransform + include Google::Apis::Core::Hashable + + # User name for the original user transform with which this transform is + # most closely associated. + # Corresponds to the JSON property `originalTransform` + # @return [String] + attr_accessor :original_transform + + # Dataflow service generated name for this source. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Human-readable name for this transform; may be user or system generated. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @original_transform = args[:original_transform] if args.key?(:original_transform) + @name = args[:name] if args.key?(:name) + @user_name = args[:user_name] if args.key?(:user_name) + end + end + + # A task which initializes part of a streaming Dataflow job. + class StreamingSetupTask + include Google::Apis::Core::Hashable + + # Global topology of the streaming Dataflow job, including all + # computations and their sharded locations. + # Corresponds to the JSON property `streamingComputationTopology` + # @return [Google::Apis::DataflowV1b3::TopologyConfig] + attr_accessor :streaming_computation_topology + + # The TCP port used by the worker to communicate with the Dataflow + # worker harness. + # Corresponds to the JSON property `workerHarnessPort` + # @return [Fixnum] + attr_accessor :worker_harness_port + + # The user has requested drain. + # Corresponds to the JSON property `drain` + # @return [Boolean] + attr_accessor :drain + alias_method :drain?, :drain + + # The TCP port on which the worker should listen for messages from + # other streaming computation workers. + # Corresponds to the JSON property `receiveWorkPort` + # @return [Fixnum] + attr_accessor :receive_work_port + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @streaming_computation_topology = args[:streaming_computation_topology] if args.key?(:streaming_computation_topology) + @worker_harness_port = args[:worker_harness_port] if args.key?(:worker_harness_port) + @drain = args[:drain] if args.key?(:drain) + @receive_work_port = args[:receive_work_port] if args.key?(:receive_work_port) + end + end + + # Identifies a pubsub location to use for transferring data into or + # out of a streaming Dataflow job. + class PubsubLocation + include Google::Apis::Core::Hashable + + # If true, then the client has requested to get pubsub attributes. + # Corresponds to the JSON property `withAttributes` + # @return [Boolean] + attr_accessor :with_attributes + alias_method :with_attributes?, :with_attributes + + # If set, contains a pubsub label from which to extract record ids. + # If left empty, record deduplication will be strictly best effort. + # Corresponds to the JSON property `idLabel` + # @return [String] + attr_accessor :id_label + + # A pubsub topic, in the form of + # "pubsub.googleapis.com/topics//" + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + # If set, contains a pubsub label from which to extract record timestamps. + # If left empty, record timestamps will be generated upon arrival. + # Corresponds to the JSON property `timestampLabel` + # @return [String] + attr_accessor :timestamp_label + + # A pubsub subscription, in the form of + # "pubsub.googleapis.com/subscriptions//" + # Corresponds to the JSON property `subscription` + # @return [String] + attr_accessor :subscription + + # Indicates whether the pipeline allows late-arriving data. + # Corresponds to the JSON property `dropLateData` + # @return [Boolean] + attr_accessor :drop_late_data + alias_method :drop_late_data?, :drop_late_data + + # If set, specifies the pubsub subscription that will be used for tracking + # custom time timestamps for watermark estimation. + # Corresponds to the JSON property `trackingSubscription` + # @return [String] + attr_accessor :tracking_subscription + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @with_attributes = args[:with_attributes] if args.key?(:with_attributes) + @id_label = args[:id_label] if args.key?(:id_label) + @topic = args[:topic] if args.key?(:topic) + @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) + @subscription = args[:subscription] if args.key?(:subscription) + @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) + @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) + end + end + + # WorkerHealthReport contains information about the health of a worker. + # The VM should be identified by the labels attached to the WorkerMessage that + # this health ping belongs to. + class WorkerHealthReport + include Google::Apis::Core::Hashable + + # The pods running on the worker. See: + # http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod + # This field is used by the worker to send the status of the indvidual + # containers running on each worker. + # Corresponds to the JSON property `pods` + # @return [Array>] + attr_accessor :pods + + # The time the VM was booted. + # Corresponds to the JSON property `vmStartupTime` + # @return [String] + attr_accessor :vm_startup_time + + # Whether the VM is healthy. + # Corresponds to the JSON property `vmIsHealthy` + # @return [Boolean] + attr_accessor :vm_is_healthy + alias_method :vm_is_healthy?, :vm_is_healthy + + # The interval at which the worker is sending health reports. + # The default value of 0 should be interpreted as the field is not being + # explicitly set by the worker. + # Corresponds to the JSON property `reportInterval` + # @return [String] + attr_accessor :report_interval + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pods = args[:pods] if args.key?(:pods) + @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) + @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) + @report_interval = args[:report_interval] if args.key?(:report_interval) + end + end + + # A particular message pertaining to a Dataflow job. + class JobMessage + include Google::Apis::Core::Hashable + + # The text of the message. + # Corresponds to the JSON property `messageText` + # @return [String] + attr_accessor :message_text + + # Importance level of the message. + # Corresponds to the JSON property `messageImportance` + # @return [String] + attr_accessor :message_importance + + # The timestamp of the message. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + # Identifies the message. This is automatically generated by the + # service; the caller should treat it as an opaque string. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_text = args[:message_text] if args.key?(:message_text) + @message_importance = args[:message_importance] if args.key?(:message_importance) + @time = args[:time] if args.key?(:time) + @id = args[:id] if args.key?(:id) + end + end + + # Metadata for a specific parameter. + class ParameterMetadata + include Google::Apis::Core::Hashable + + # Optional. Regexes that the parameter must match. + # Corresponds to the JSON property `regexes` + # @return [Array] + attr_accessor :regexes + + # Required. The label to display for the parameter. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + # Required. The help text to display for the parameter. + # Corresponds to the JSON property `helpText` + # @return [String] + attr_accessor :help_text + + # Optional. Whether the parameter is optional. Defaults to false. + # Corresponds to the JSON property `isOptional` + # @return [Boolean] + attr_accessor :is_optional + alias_method :is_optional?, :is_optional + + # Required. The name of the parameter. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @regexes = args[:regexes] if args.key?(:regexes) + @label = args[:label] if args.key?(:label) + @help_text = args[:help_text] if args.key?(:help_text) + @is_optional = args[:is_optional] if args.key?(:is_optional) + @name = args[:name] if args.key?(:name) + end + end + + # Information about an output of a multi-output DoFn. + class MultiOutputInfo + include Google::Apis::Core::Hashable + + # The id of the tag the user code will emit to this output by; this + # should correspond to the tag of some SideInputInfo. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Represents the operation to split a high-level Source specification + # into bundles (parts for parallel processing). + # At a high level, splitting of a source into bundles happens as follows: + # SourceSplitRequest is applied to the source. If it returns + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, no further splitting happens and the source + # is used "as is". Otherwise, splitting is applied recursively to each + # produced DerivedSource. + # As an optimization, for any Source, if its does_not_need_splitting is + # true, the framework assumes that splitting this source would return + # SOURCE_SPLIT_OUTCOME_USE_CURRENT, and doesn't initiate a SourceSplitRequest. + # This applies both to the initial source being split and to bundles + # produced from it. + class SourceSplitRequest + include Google::Apis::Core::Hashable + + # A source that records can be read and decoded from. + # Corresponds to the JSON property `source` + # @return [Google::Apis::DataflowV1b3::Source] + attr_accessor :source + + # Hints for splitting a Source into bundles (parts for parallel + # processing) using SourceSplitRequest. + # Corresponds to the JSON property `options` + # @return [Google::Apis::DataflowV1b3::SourceSplitOptions] + attr_accessor :options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + @options = args[:options] if args.key?(:options) + end + end + + # The result of a SourceGetMetadataOperation. + class SourceGetMetadataResponse + include Google::Apis::Core::Hashable + + # Metadata about a Source useful for automatically optimizing + # and tuning the pipeline, etc. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::DataflowV1b3::SourceMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A task which consists of a shell command for the worker to execute. + class ShellTask + include Google::Apis::Core::Hashable + + # Exit code for the task. + # Corresponds to the JSON property `exitCode` + # @return [Fixnum] + attr_accessor :exit_code + + # The shell command to run. + # Corresponds to the JSON property `command` + # @return [String] + attr_accessor :command + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exit_code = args[:exit_code] if args.key?(:exit_code) + @command = args[:command] if args.key?(:command) + end + end + + # The metric short id is returned to the user alongside an offset into + # ReportWorkItemStatusRequest + class MetricShortId + include Google::Apis::Core::Hashable + + # The service-generated short identifier for the metric. + # Corresponds to the JSON property `shortId` + # @return [String] + attr_accessor :short_id + + # The index of the corresponding metric in + # the ReportWorkItemStatusRequest. Required. + # Corresponds to the JSON property `metricIndex` + # @return [Fixnum] + attr_accessor :metric_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @short_id = args[:short_id] if args.key?(:short_id) + @metric_index = args[:metric_index] if args.key?(:metric_index) + end + end + + # Taskrunner configuration settings. + class TaskRunnerSettings + include Google::Apis::Core::Hashable + + # The OAuth2 scopes to be requested by the taskrunner in order to + # access the Cloud Dataflow API. + # Corresponds to the JSON property `oauthScopes` + # @return [Array] + attr_accessor :oauth_scopes + + # The API version of endpoint, e.g. "v1b3" + # Corresponds to the JSON property `dataflowApiVersion` + # @return [String] + attr_accessor :dataflow_api_version + + # Indicates where to put logs. If this is not specified, the logs + # will not be uploaded. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `logUploadLocation` + # @return [String] + attr_accessor :log_upload_location + + # The streaming worker main class name. + # Corresponds to the JSON property `streamingWorkerMainClass` + # @return [String] + attr_accessor :streaming_worker_main_class + + # The file to store the workflow in. + # Corresponds to the JSON property `workflowFileName` + # @return [String] + attr_accessor :workflow_file_name + + # The suggested backend language. + # Corresponds to the JSON property `languageHint` + # @return [String] + attr_accessor :language_hint + + # The file to store preprocessing commands in. + # Corresponds to the JSON property `commandlinesFileName` + # @return [String] + attr_accessor :commandlines_file_name + + # The location on the worker for task-specific subdirectories. + # Corresponds to the JSON property `baseTaskDir` + # @return [String] + attr_accessor :base_task_dir + + # The prefix of the resources the taskrunner should use for + # temporary storage. + # The supported resource type is: + # Google Cloud Storage: + # storage.googleapis.com/`bucket`/`object` + # bucket.storage.googleapis.com/`object` + # Corresponds to the JSON property `tempStoragePrefix` + # @return [String] + attr_accessor :temp_storage_prefix + + # The base URL for the taskrunner to use when accessing Google Cloud APIs. + # When workers access Google Cloud APIs, they logically do so via + # relative URLs. If this field is specified, it supplies the base + # URL to use for resolving these relative URLs. The normative + # algorithm used is defined by RFC 1808, "Relative Uniform Resource + # Locators". + # If not specified, the default value is "http://www.googleapis.com/" + # Corresponds to the JSON property `baseUrl` + # @return [String] + attr_accessor :base_url + + # Whether to send taskrunner log info to Google Compute Engine VM serial + # console. + # Corresponds to the JSON property `logToSerialconsole` + # @return [Boolean] + attr_accessor :log_to_serialconsole + alias_method :log_to_serialconsole?, :log_to_serialconsole + + # Whether to continue taskrunner if an exception is hit. + # Corresponds to the JSON property `continueOnException` + # @return [Boolean] + attr_accessor :continue_on_exception + alias_method :continue_on_exception?, :continue_on_exception + + # Provides data to pass through to the worker harness. + # Corresponds to the JSON property `parallelWorkerSettings` + # @return [Google::Apis::DataflowV1b3::WorkerSettings] + attr_accessor :parallel_worker_settings + + # The UNIX user ID on the worker VM to use for tasks launched by + # taskrunner; e.g. "root". + # Corresponds to the JSON property `taskUser` + # @return [String] + attr_accessor :task_user + + # The ID string of the VM. + # Corresponds to the JSON property `vmId` + # @return [String] + attr_accessor :vm_id + + # Whether to also send taskrunner log info to stderr. + # Corresponds to the JSON property `alsologtostderr` + # @return [Boolean] + attr_accessor :alsologtostderr + alias_method :alsologtostderr?, :alsologtostderr + + # The UNIX group ID on the worker VM to use for tasks launched by + # taskrunner; e.g. "wheel". + # Corresponds to the JSON property `taskGroup` + # @return [String] + attr_accessor :task_group + + # The command to launch the worker harness. + # Corresponds to the JSON property `harnessCommand` + # @return [String] + attr_accessor :harness_command + + # The directory on the VM to store logs. + # Corresponds to the JSON property `logDir` + # @return [String] + attr_accessor :log_dir + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes) + @dataflow_api_version = args[:dataflow_api_version] if args.key?(:dataflow_api_version) + @log_upload_location = args[:log_upload_location] if args.key?(:log_upload_location) + @streaming_worker_main_class = args[:streaming_worker_main_class] if args.key?(:streaming_worker_main_class) + @workflow_file_name = args[:workflow_file_name] if args.key?(:workflow_file_name) + @language_hint = args[:language_hint] if args.key?(:language_hint) + @commandlines_file_name = args[:commandlines_file_name] if args.key?(:commandlines_file_name) + @base_task_dir = args[:base_task_dir] if args.key?(:base_task_dir) + @temp_storage_prefix = args[:temp_storage_prefix] if args.key?(:temp_storage_prefix) + @base_url = args[:base_url] if args.key?(:base_url) + @log_to_serialconsole = args[:log_to_serialconsole] if args.key?(:log_to_serialconsole) + @continue_on_exception = args[:continue_on_exception] if args.key?(:continue_on_exception) + @parallel_worker_settings = args[:parallel_worker_settings] if args.key?(:parallel_worker_settings) + @task_user = args[:task_user] if args.key?(:task_user) + @vm_id = args[:vm_id] if args.key?(:vm_id) + @alsologtostderr = args[:alsologtostderr] if args.key?(:alsologtostderr) + @task_group = args[:task_group] if args.key?(:task_group) + @harness_command = args[:harness_command] if args.key?(:harness_command) + @log_dir = args[:log_dir] if args.key?(:log_dir) + end + end + + # Position defines a position within a collection of data. The value + # can be either the end position, a key (used with ordered + # collections), a byte offset, or a record index. + class Position + include Google::Apis::Core::Hashable + + # Position is a record index. + # Corresponds to the JSON property `recordIndex` + # @return [String] + attr_accessor :record_index + + # CloudPosition is a base64 encoded BatchShufflePosition (with FIXED + # sharding). + # Corresponds to the JSON property `shufflePosition` + # @return [String] + attr_accessor :shuffle_position + + # A position that encapsulates an inner position and an index for the inner + # position. A ConcatPosition can be used by a reader of a source that + # encapsulates a set of other sources. + # Corresponds to the JSON property `concatPosition` + # @return [Google::Apis::DataflowV1b3::ConcatPosition] + attr_accessor :concat_position + + # Position is a byte offset. + # Corresponds to the JSON property `byteOffset` + # @return [String] + attr_accessor :byte_offset + + # Position is past all other positions. Also useful for the end + # position of an unbounded range. + # Corresponds to the JSON property `end` + # @return [Boolean] + attr_accessor :end + alias_method :end?, :end + + # Position is a string key, ordered lexicographically. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @record_index = args[:record_index] if args.key?(:record_index) + @shuffle_position = args[:shuffle_position] if args.key?(:shuffle_position) + @concat_position = args[:concat_position] if args.key?(:concat_position) + @byte_offset = args[:byte_offset] if args.key?(:byte_offset) + @end = args[:end] if args.key?(:end) + @key = args[:key] if args.key?(:key) + end + end + end + end +end diff --git a/generated/google/apis/dataflow_v1b3/representations.rb b/generated/google/apis/dataflow_v1b3/representations.rb new file mode 100644 index 000000000..40ae60d3b --- /dev/null +++ b/generated/google/apis/dataflow_v1b3/representations.rb @@ -0,0 +1,2037 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DataflowV1b3 + + class Source + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SplitInt64 + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerPool + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceUtilizationReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportedParallelism + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TopologyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReadInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingStageLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataDiskAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApproximateSplitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendWorkerMessagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LeaseWorkItemResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TransformSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sink + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LaunchTemplateParameters + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FlattenInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PartialGroupByKeyInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstructionInput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StageSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StringList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DisplayData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LeaseWorkItemRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetDebugConfigRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportWorkItemStatusRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PipelineDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingConfigTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobExecutionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Step + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FailedLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Disk + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListJobMessagesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApproximateReportedProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IntegerList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StateFamilyConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceUtilizationReportResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParallelInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Package + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRangeDataDiskAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParDoInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterStructuredName + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ApproximateProgress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TemplateMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloatingPointList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DistributionUpdate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceFork + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerHealthReportResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItemStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ComponentSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkItemServiceState + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricStructuredName + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SeqMapTaskOutputInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobExecutionStageInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyRangeLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceGetMetadataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NameAndKind + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SeqMapTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerMessageCode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomSourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MapTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloatingPointMean + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportWorkItemStatusResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InstructionOutput + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateJobFromTemplateRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IntegerMean + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ComputationTopology + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RuntimeEnvironment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MountedDataDisk + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingSideInputLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LaunchTemplateResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Job + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicSourceSplit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DerivedSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceOperationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendDebugCaptureResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SideInputInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CounterStructuredNameAndMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConcatPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteInstruction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationRanges + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoscalingSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExecutionStageSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendWorkerMessagesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitShard + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CpuTime + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Environment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingComputationTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SendDebugCaptureRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetDebugConfigResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ComponentTransform + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StreamingSetupTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PubsubLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WorkerHealthReport + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class JobMessage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParameterMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MultiOutputInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceSplitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceGetMetadataResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShellTask + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricShortId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TaskRunnerSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Position + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Source + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + + collection :base_specs, as: 'baseSpecs' + hash :codec, as: 'codec' + property :does_not_need_splitting, as: 'doesNotNeedSplitting' + hash :spec, as: 'spec' + end + end + + class SplitInt64 + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :low_bits, as: 'lowBits' + property :high_bits, as: 'highBits' + end + end + + class WorkerPool + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_harness_container_image, as: 'workerHarnessContainerImage' + property :machine_type, as: 'machineType' + property :disk_type, as: 'diskType' + property :kind, as: 'kind' + collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::Disk, decorator: Google::Apis::DataflowV1b3::Disk::Representation + + property :subnetwork, as: 'subnetwork' + property :ip_configuration, as: 'ipConfiguration' + property :autoscaling_settings, as: 'autoscalingSettings', class: Google::Apis::DataflowV1b3::AutoscalingSettings, decorator: Google::Apis::DataflowV1b3::AutoscalingSettings::Representation + + property :taskrunner_settings, as: 'taskrunnerSettings', class: Google::Apis::DataflowV1b3::TaskRunnerSettings, decorator: Google::Apis::DataflowV1b3::TaskRunnerSettings::Representation + + hash :metadata, as: 'metadata' + property :default_package_set, as: 'defaultPackageSet' + property :network, as: 'network' + property :zone, as: 'zone' + property :num_workers, as: 'numWorkers' + property :num_threads_per_worker, as: 'numThreadsPerWorker' + property :disk_source_image, as: 'diskSourceImage' + collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation + + property :teardown_policy, as: 'teardownPolicy' + property :on_host_maintenance, as: 'onHostMaintenance' + hash :pool_args, as: 'poolArgs' + property :disk_size_gb, as: 'diskSizeGb' + end + end + + class SourceOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataRequest, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataRequest::Representation + + property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitRequest, decorator: Google::Apis::DataflowV1b3::SourceSplitRequest::Representation + + end + end + + class WorkItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job_id, as: 'jobId' + property :id, as: 'id' + property :configuration, as: 'configuration' + property :map_task, as: 'mapTask', class: Google::Apis::DataflowV1b3::MapTask, decorator: Google::Apis::DataflowV1b3::MapTask::Representation + + property :seq_map_task, as: 'seqMapTask', class: Google::Apis::DataflowV1b3::SeqMapTask, decorator: Google::Apis::DataflowV1b3::SeqMapTask::Representation + + collection :packages, as: 'packages', class: Google::Apis::DataflowV1b3::Package, decorator: Google::Apis::DataflowV1b3::Package::Representation + + property :project_id, as: 'projectId' + property :report_status_interval, as: 'reportStatusInterval' + property :streaming_setup_task, as: 'streamingSetupTask', class: Google::Apis::DataflowV1b3::StreamingSetupTask, decorator: Google::Apis::DataflowV1b3::StreamingSetupTask::Representation + + property :source_operation_task, as: 'sourceOperationTask', class: Google::Apis::DataflowV1b3::SourceOperationRequest, decorator: Google::Apis::DataflowV1b3::SourceOperationRequest::Representation + + property :streaming_config_task, as: 'streamingConfigTask', class: Google::Apis::DataflowV1b3::StreamingConfigTask, decorator: Google::Apis::DataflowV1b3::StreamingConfigTask::Representation + + property :lease_expire_time, as: 'leaseExpireTime' + property :initial_report_index, as: 'initialReportIndex' + property :shell_task, as: 'shellTask', class: Google::Apis::DataflowV1b3::ShellTask, decorator: Google::Apis::DataflowV1b3::ShellTask::Representation + + property :streaming_computation_task, as: 'streamingComputationTask', class: Google::Apis::DataflowV1b3::StreamingComputationTask, decorator: Google::Apis::DataflowV1b3::StreamingComputationTask::Representation + + end + end + + class ResourceUtilizationReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation + + end + end + + class ReportedParallelism + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_infinite, as: 'isInfinite' + property :value, as: 'value' + end + end + + class TopologyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :forwarding_key_bits, as: 'forwardingKeyBits' + hash :user_stage_to_computation_name_map, as: 'userStageToComputationNameMap' + collection :computations, as: 'computations', class: Google::Apis::DataflowV1b3::ComputationTopology, decorator: Google::Apis::DataflowV1b3::ComputationTopology::Representation + + collection :data_disk_assignments, as: 'dataDiskAssignments', class: Google::Apis::DataflowV1b3::DataDiskAssignment, decorator: Google::Apis::DataflowV1b3::DataDiskAssignment::Representation + + property :persistent_state_version, as: 'persistentStateVersion' + end + end + + class SourceSplitOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :desired_bundle_size_bytes, as: 'desiredBundleSizeBytes' + property :desired_shard_size_bytes, as: 'desiredShardSizeBytes' + end + end + + class ReadInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class WorkerSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_path, as: 'servicePath' + property :shuffle_service_path, as: 'shuffleServicePath' + property :worker_id, as: 'workerId' + property :temp_storage_prefix, as: 'tempStoragePrefix' + property :base_url, as: 'baseUrl' + property :reporting_enabled, as: 'reportingEnabled' + end + end + + class StreamingStageLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stream_id, as: 'streamId' + end + end + + class DataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :vm_instance, as: 'vmInstance' + collection :data_disks, as: 'dataDisks' + end + end + + class ApproximateSplitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :fraction_consumed, as: 'fractionConsumed' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end + end + + class StreamLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_source_location, as: 'customSourceLocation', class: Google::Apis::DataflowV1b3::CustomSourceLocation, decorator: Google::Apis::DataflowV1b3::CustomSourceLocation::Representation + + property :streaming_stage_location, as: 'streamingStageLocation', class: Google::Apis::DataflowV1b3::StreamingStageLocation, decorator: Google::Apis::DataflowV1b3::StreamingStageLocation::Representation + + property :pubsub_location, as: 'pubsubLocation', class: Google::Apis::DataflowV1b3::PubsubLocation, decorator: Google::Apis::DataflowV1b3::PubsubLocation::Representation + + property :side_input_location, as: 'sideInputLocation', class: Google::Apis::DataflowV1b3::StreamingSideInputLocation, decorator: Google::Apis::DataflowV1b3::StreamingSideInputLocation::Representation + + end + end + + class SendWorkerMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :worker_message_responses, as: 'workerMessageResponses', class: Google::Apis::DataflowV1b3::WorkerMessageResponse, decorator: Google::Apis::DataflowV1b3::WorkerMessageResponse::Representation + + end + end + + class LeaseWorkItemResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :work_items, as: 'workItems', class: Google::Apis::DataflowV1b3::WorkItem, decorator: Google::Apis::DataflowV1b3::WorkItem::Representation + + end + end + + class StreamingComputationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computation_id, as: 'computationId' + property :system_name, as: 'systemName' + property :stage_name, as: 'stageName' + collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + + end + end + + class TransformSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :input_collection_name, as: 'inputCollectionName' + property :name, as: 'name' + property :id, as: 'id' + collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation + + collection :output_collection_name, as: 'outputCollectionName' + property :kind, as: 'kind' + end + end + + class Sink + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :codec, as: 'codec' + hash :spec, as: 'spec' + end + end + + class LaunchTemplateParameters + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :parameters, as: 'parameters' + property :job_name, as: 'jobName' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + end + end + + class FlattenInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + end + end + + class PartialGroupByKeyInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :input_element_codec, as: 'inputElementCodec' + hash :value_combining_fn, as: 'valueCombiningFn' + property :original_combine_values_input_store_name, as: 'originalCombineValuesInputStoreName' + collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + property :original_combine_values_step_name, as: 'originalCombineValuesStepName' + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + end + end + + class InstructionInput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :producer_instruction_index, as: 'producerInstructionIndex' + property :output_num, as: 'outputNum' + end + end + + class StageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :size_bytes, as: 'sizeBytes' + property :user_name, as: 'userName' + property :original_transform_or_collection, as: 'originalTransformOrCollection' + end + end + + class StringList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements' + end + end + + class DisplayData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :str_value, as: 'strValue' + property :int64_value, as: 'int64Value' + property :duration_value, as: 'durationValue' + property :namespace, as: 'namespace' + property :float_value, as: 'floatValue' + property :key, as: 'key' + property :short_str_value, as: 'shortStrValue' + property :url, as: 'url' + property :label, as: 'label' + property :timestamp_value, as: 'timestampValue' + property :java_class_value, as: 'javaClassValue' + property :bool_value, as: 'boolValue' + end + end + + class LeaseWorkItemRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :worker_capabilities, as: 'workerCapabilities' + property :worker_id, as: 'workerId' + property :requested_lease_duration, as: 'requestedLeaseDuration' + property :current_worker_time, as: 'currentWorkerTime' + property :location, as: 'location' + collection :work_item_types, as: 'workItemTypes' + end + end + + class GetDebugConfigRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_id, as: 'componentId' + property :worker_id, as: 'workerId' + end + end + + class GetTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation + + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::TemplateMetadata, decorator: Google::Apis::DataflowV1b3::TemplateMetadata::Representation + + end + end + + class ReportWorkItemStatusRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_id, as: 'workerId' + property :current_worker_time, as: 'currentWorkerTime' + property :location, as: 'location' + collection :work_item_statuses, as: 'workItemStatuses', class: Google::Apis::DataflowV1b3::WorkItemStatus, decorator: Google::Apis::DataflowV1b3::WorkItemStatus::Representation + + end + end + + class PipelineDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :original_pipeline_transform, as: 'originalPipelineTransform', class: Google::Apis::DataflowV1b3::TransformSummary, decorator: Google::Apis::DataflowV1b3::TransformSummary::Representation + + collection :display_data, as: 'displayData', class: Google::Apis::DataflowV1b3::DisplayData, decorator: Google::Apis::DataflowV1b3::DisplayData::Representation + + collection :execution_pipeline_stage, as: 'executionPipelineStage', class: Google::Apis::DataflowV1b3::ExecutionStageSummary, decorator: Google::Apis::DataflowV1b3::ExecutionStageSummary::Representation + + end + end + + class StreamingConfigTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :streaming_computation_configs, as: 'streamingComputationConfigs', class: Google::Apis::DataflowV1b3::StreamingComputationConfig, decorator: Google::Apis::DataflowV1b3::StreamingComputationConfig::Representation + + hash :user_step_to_state_family_name_map, as: 'userStepToStateFamilyNameMap' + end + end + + class JobExecutionInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :stages, as: 'stages', class: Google::Apis::DataflowV1b3::JobExecutionStageInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionStageInfo::Representation + + end + end + + class Step + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :kind, as: 'kind' + hash :properties, as: 'properties' + end + end + + class FailedLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class Disk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :size_gb, as: 'sizeGb' + property :disk_type, as: 'diskType' + property :mount_point, as: 'mountPoint' + end + end + + class CounterMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :description, as: 'description' + property :standard_units, as: 'standardUnits' + property :other_units, as: 'otherUnits' + end + end + + class ListJobMessagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :job_messages, as: 'jobMessages', class: Google::Apis::DataflowV1b3::JobMessage, decorator: Google::Apis::DataflowV1b3::JobMessage::Representation + + end + end + + class ApproximateReportedProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :fraction_consumed, as: 'fractionConsumed' + property :consumed_parallelism, as: 'consumedParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation + + property :remaining_parallelism, as: 'remainingParallelism', class: Google::Apis::DataflowV1b3::ReportedParallelism, decorator: Google::Apis::DataflowV1b3::ReportedParallelism::Representation + + end + end + + class IntegerList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class StateFamilyConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state_family, as: 'stateFamily' + property :is_read, as: 'isRead' + end + end + + class ResourceUtilizationReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SourceSplitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outcome, as: 'outcome' + collection :bundles, as: 'bundles', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + collection :shards, as: 'shards', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + end + end + + class ParallelInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :par_do, as: 'parDo', class: Google::Apis::DataflowV1b3::ParDoInstruction, decorator: Google::Apis::DataflowV1b3::ParDoInstruction::Representation + + property :read, as: 'read', class: Google::Apis::DataflowV1b3::ReadInstruction, decorator: Google::Apis::DataflowV1b3::ReadInstruction::Representation + + property :flatten, as: 'flatten', class: Google::Apis::DataflowV1b3::FlattenInstruction, decorator: Google::Apis::DataflowV1b3::FlattenInstruction::Representation + + property :original_name, as: 'originalName' + property :write, as: 'write', class: Google::Apis::DataflowV1b3::WriteInstruction, decorator: Google::Apis::DataflowV1b3::WriteInstruction::Representation + + property :system_name, as: 'systemName' + property :partial_group_by_key, as: 'partialGroupByKey', class: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction, decorator: Google::Apis::DataflowV1b3::PartialGroupByKeyInstruction::Representation + + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::InstructionOutput, decorator: Google::Apis::DataflowV1b3::InstructionOutput::Representation + + property :name, as: 'name' + end + end + + class Package + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :location, as: 'location' + property :name, as: 'name' + end + end + + class KeyRangeDataDiskAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + property :data_disk, as: 'dataDisk' + property :end, as: 'end' + end + end + + class ParDoInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :user_fn, as: 'userFn' + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + property :num_outputs, as: 'numOutputs' + collection :side_inputs, as: 'sideInputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + collection :multi_output_infos, as: 'multiOutputInfos', class: Google::Apis::DataflowV1b3::MultiOutputInfo, decorator: Google::Apis::DataflowV1b3::MultiOutputInfo::Representation + + end + end + + class MetricUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :update_time, as: 'updateTime' + property :name, as: 'name', class: Google::Apis::DataflowV1b3::MetricStructuredName, decorator: Google::Apis::DataflowV1b3::MetricStructuredName::Representation + + property :set, as: 'set' + property :cumulative, as: 'cumulative' + property :internal, as: 'internal' + property :kind, as: 'kind' + property :scalar, as: 'scalar' + property :mean_count, as: 'meanCount' + property :mean_sum, as: 'meanSum' + end + end + + class CounterStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_step_name, as: 'componentStepName' + property :portion, as: 'portion' + property :original_step_name, as: 'originalStepName' + property :worker_id, as: 'workerId' + property :origin_namespace, as: 'originNamespace' + property :name, as: 'name' + property :execution_step_name, as: 'executionStepName' + property :origin, as: 'origin' + end + end + + class ApproximateProgress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :percent_complete, as: 'percentComplete' + property :remaining_time, as: 'remainingTime' + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + end + end + + class WorkerMessageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :worker_metrics_response, as: 'workerMetricsResponse', class: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReportResponse::Representation + + property :worker_health_report_response, as: 'workerHealthReportResponse', class: Google::Apis::DataflowV1b3::WorkerHealthReportResponse, decorator: Google::Apis::DataflowV1b3::WorkerHealthReportResponse::Representation + + end + end + + class TemplateMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + collection :parameters, as: 'parameters', class: Google::Apis::DataflowV1b3::ParameterMetadata, decorator: Google::Apis::DataflowV1b3::ParameterMetadata::Representation + + property :description, as: 'description' + property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' + end + end + + class WorkerMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :time, as: 'time' + property :worker_health_report, as: 'workerHealthReport', class: Google::Apis::DataflowV1b3::WorkerHealthReport, decorator: Google::Apis::DataflowV1b3::WorkerHealthReport::Representation + + property :worker_message_code, as: 'workerMessageCode', class: Google::Apis::DataflowV1b3::WorkerMessageCode, decorator: Google::Apis::DataflowV1b3::WorkerMessageCode::Representation + + property :worker_metrics, as: 'workerMetrics', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation + + hash :labels, as: 'labels' + end + end + + class JobMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_time, as: 'metricTime' + collection :metrics, as: 'metrics', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + end + end + + class FloatingPointList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :elements, as: 'elements' + end + end + + class CounterUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :floating_point_list, as: 'floatingPointList', class: Google::Apis::DataflowV1b3::FloatingPointList, decorator: Google::Apis::DataflowV1b3::FloatingPointList::Representation + + property :integer, as: 'integer', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :integer_list, as: 'integerList', class: Google::Apis::DataflowV1b3::IntegerList, decorator: Google::Apis::DataflowV1b3::IntegerList::Representation + + property :structured_name_and_metadata, as: 'structuredNameAndMetadata', class: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata, decorator: Google::Apis::DataflowV1b3::CounterStructuredNameAndMetadata::Representation + + property :integer_mean, as: 'integerMean', class: Google::Apis::DataflowV1b3::IntegerMean, decorator: Google::Apis::DataflowV1b3::IntegerMean::Representation + + property :floating_point, as: 'floatingPoint' + property :internal, as: 'internal' + property :cumulative, as: 'cumulative' + property :floating_point_mean, as: 'floatingPointMean', class: Google::Apis::DataflowV1b3::FloatingPointMean, decorator: Google::Apis::DataflowV1b3::FloatingPointMean::Representation + + property :boolean, as: 'boolean' + property :name_and_kind, as: 'nameAndKind', class: Google::Apis::DataflowV1b3::NameAndKind, decorator: Google::Apis::DataflowV1b3::NameAndKind::Representation + + property :string_list, as: 'stringList', class: Google::Apis::DataflowV1b3::StringList, decorator: Google::Apis::DataflowV1b3::StringList::Representation + + property :distribution, as: 'distribution', class: Google::Apis::DataflowV1b3::DistributionUpdate, decorator: Google::Apis::DataflowV1b3::DistributionUpdate::Representation + + property :short_id, as: 'shortId' + end + end + + class SourceMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :produces_sorted_keys, as: 'producesSortedKeys' + property :infinite, as: 'infinite' + property :estimated_size_bytes, as: 'estimatedSizeBytes' + end + end + + class DistributionUpdate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :min, as: 'min', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum_of_squares, as: 'sumOfSquares' + property :max, as: 'max', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class SourceFork + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :residual_source, as: 'residualSource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + property :primary_source, as: 'primarySource', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::SourceSplitShard, decorator: Google::Apis::DataflowV1b3::SourceSplitShard::Representation + + end + end + + class WorkerHealthReportResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :report_interval, as: 'reportInterval' + end + end + + class WorkItemStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :counter_updates, as: 'counterUpdates', class: Google::Apis::DataflowV1b3::CounterUpdate, decorator: Google::Apis::DataflowV1b3::CounterUpdate::Representation + + property :work_item_id, as: 'workItemId' + collection :errors, as: 'errors', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation + + collection :metric_updates, as: 'metricUpdates', class: Google::Apis::DataflowV1b3::MetricUpdate, decorator: Google::Apis::DataflowV1b3::MetricUpdate::Representation + + property :dynamic_source_split, as: 'dynamicSourceSplit', class: Google::Apis::DataflowV1b3::DynamicSourceSplit, decorator: Google::Apis::DataflowV1b3::DynamicSourceSplit::Representation + + property :source_operation_response, as: 'sourceOperationResponse', class: Google::Apis::DataflowV1b3::SourceOperationResponse, decorator: Google::Apis::DataflowV1b3::SourceOperationResponse::Representation + + property :progress, as: 'progress', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + property :requested_lease_duration, as: 'requestedLeaseDuration' + property :report_index, as: 'reportIndex' + property :stop_position, as: 'stopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :completed, as: 'completed' + property :reported_progress, as: 'reportedProgress', class: Google::Apis::DataflowV1b3::ApproximateReportedProgress, decorator: Google::Apis::DataflowV1b3::ApproximateReportedProgress::Representation + + property :source_fork, as: 'sourceFork', class: Google::Apis::DataflowV1b3::SourceFork, decorator: Google::Apis::DataflowV1b3::SourceFork::Representation + + end + end + + class ComponentSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :original_transform_or_collection, as: 'originalTransformOrCollection' + property :name, as: 'name' + property :user_name, as: 'userName' + end + end + + class WorkItemServiceState + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :split_request, as: 'splitRequest', class: Google::Apis::DataflowV1b3::ApproximateSplitRequest, decorator: Google::Apis::DataflowV1b3::ApproximateSplitRequest::Representation + + property :report_status_interval, as: 'reportStatusInterval' + property :suggested_stop_position, as: 'suggestedStopPosition', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + hash :harness_data, as: 'harnessData' + property :lease_expire_time, as: 'leaseExpireTime' + collection :metric_short_id, as: 'metricShortId', class: Google::Apis::DataflowV1b3::MetricShortId, decorator: Google::Apis::DataflowV1b3::MetricShortId::Representation + + property :next_report_index, as: 'nextReportIndex' + property :suggested_stop_point, as: 'suggestedStopPoint', class: Google::Apis::DataflowV1b3::ApproximateProgress, decorator: Google::Apis::DataflowV1b3::ApproximateProgress::Representation + + end + end + + class MetricStructuredName + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :origin, as: 'origin' + property :name, as: 'name' + hash :context, as: 'context' + end + end + + class SeqMapTaskOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + + property :tag, as: 'tag' + end + end + + class JobExecutionStageInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :step_name, as: 'stepName' + end + end + + class KeyRangeLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :deprecated_persistent_directory, as: 'deprecatedPersistentDirectory' + property :delivery_endpoint, as: 'deliveryEndpoint' + property :start, as: 'start' + property :data_disk, as: 'dataDisk' + property :end, as: 'end' + end + end + + class SourceGetMetadataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class NameAndKind + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :kind, as: 'kind' + end + end + + class SeqMapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::SideInputInfo, decorator: Google::Apis::DataflowV1b3::SideInputInfo::Representation + + property :stage_name, as: 'stageName' + property :system_name, as: 'systemName' + hash :user_fn, as: 'userFn' + property :name, as: 'name' + collection :output_infos, as: 'outputInfos', class: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo, decorator: Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo::Representation + + end + end + + class WorkerMessageCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + hash :parameters, as: 'parameters' + end + end + + class CustomSourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stateful, as: 'stateful' + end + end + + class MapTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :system_name, as: 'systemName' + property :stage_name, as: 'stageName' + collection :instructions, as: 'instructions', class: Google::Apis::DataflowV1b3::ParallelInstruction, decorator: Google::Apis::DataflowV1b3::ParallelInstruction::Representation + + end + end + + class FloatingPointMean + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum' + end + end + + class ReportWorkItemStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :work_item_service_states, as: 'workItemServiceStates', class: Google::Apis::DataflowV1b3::WorkItemServiceState, decorator: Google::Apis::DataflowV1b3::WorkItemServiceState::Representation + + end + end + + class InstructionOutput + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :codec, as: 'codec' + property :name, as: 'name' + property :original_name, as: 'originalName' + property :system_name, as: 'systemName' + property :only_count_key_bytes, as: 'onlyCountKeyBytes' + property :only_count_value_bytes, as: 'onlyCountValueBytes' + end + end + + class CreateJobFromTemplateRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :parameters, as: 'parameters' + property :job_name, as: 'jobName' + property :gcs_path, as: 'gcsPath' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::RuntimeEnvironment, decorator: Google::Apis::DataflowV1b3::RuntimeEnvironment::Representation + + end + end + + class IntegerMean + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + property :sum, as: 'sum', class: Google::Apis::DataflowV1b3::SplitInt64, decorator: Google::Apis::DataflowV1b3::SplitInt64::Representation + + end + end + + class ListJobsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :failed_location, as: 'failedLocation', class: Google::Apis::DataflowV1b3::FailedLocation, decorator: Google::Apis::DataflowV1b3::FailedLocation::Representation + + collection :jobs, as: 'jobs', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + end + end + + class ComputationTopology + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :user_stage_name, as: 'userStageName' + collection :state_families, as: 'stateFamilies', class: Google::Apis::DataflowV1b3::StateFamilyConfig, decorator: Google::Apis::DataflowV1b3::StateFamilyConfig::Representation + + collection :outputs, as: 'outputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + property :system_stage_name, as: 'systemStageName' + collection :inputs, as: 'inputs', class: Google::Apis::DataflowV1b3::StreamLocation, decorator: Google::Apis::DataflowV1b3::StreamLocation::Representation + + property :computation_id, as: 'computationId' + collection :key_ranges, as: 'keyRanges', class: Google::Apis::DataflowV1b3::KeyRangeLocation, decorator: Google::Apis::DataflowV1b3::KeyRangeLocation::Representation + + end + end + + class RuntimeEnvironment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_workers, as: 'maxWorkers' + property :zone, as: 'zone' + property :service_account_email, as: 'serviceAccountEmail' + property :temp_location, as: 'tempLocation' + property :bypass_temp_dir_validation, as: 'bypassTempDirValidation' + end + end + + class MountedDataDisk + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_disk, as: 'dataDisk' + end + end + + class StreamingSideInputLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state_family, as: 'stateFamily' + property :tag, as: 'tag' + end + end + + class LaunchTemplateResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :job, as: 'job', class: Google::Apis::DataflowV1b3::Job, decorator: Google::Apis::DataflowV1b3::Job::Representation + + end + end + + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + property :type, as: 'type' + property :pipeline_description, as: 'pipelineDescription', class: Google::Apis::DataflowV1b3::PipelineDescription, decorator: Google::Apis::DataflowV1b3::PipelineDescription::Representation + + property :replace_job_id, as: 'replaceJobId' + property :requested_state, as: 'requestedState' + collection :temp_files, as: 'tempFiles' + property :client_request_id, as: 'clientRequestId' + property :name, as: 'name' + property :replaced_by_job_id, as: 'replacedByJobId' + collection :steps, as: 'steps', class: Google::Apis::DataflowV1b3::Step, decorator: Google::Apis::DataflowV1b3::Step::Representation + + property :id, as: 'id' + property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation + + property :current_state, as: 'currentState' + property :location, as: 'location' + property :current_state_time, as: 'currentStateTime' + hash :transform_name_mapping, as: 'transformNameMapping' + property :environment, as: 'environment', class: Google::Apis::DataflowV1b3::Environment, decorator: Google::Apis::DataflowV1b3::Environment::Representation + + hash :labels, as: 'labels' + property :create_time, as: 'createTime' + end + end + + class DynamicSourceSplit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + property :residual, as: 'residual', class: Google::Apis::DataflowV1b3::DerivedSource, decorator: Google::Apis::DataflowV1b3::DerivedSource::Representation + + end + end + + class DerivedSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :derivation_mode, as: 'derivationMode' + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + end + end + + class SourceOperationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :get_metadata, as: 'getMetadata', class: Google::Apis::DataflowV1b3::SourceGetMetadataResponse, decorator: Google::Apis::DataflowV1b3::SourceGetMetadataResponse::Representation + + property :split, as: 'split', class: Google::Apis::DataflowV1b3::SourceSplitResponse, decorator: Google::Apis::DataflowV1b3::SourceSplitResponse::Representation + + end + end + + class SendDebugCaptureResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SideInputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sources, as: 'sources', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + hash :kind, as: 'kind' + property :tag, as: 'tag' + end + end + + class CounterStructuredNameAndMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::CounterMetadata, decorator: Google::Apis::DataflowV1b3::CounterMetadata::Representation + + property :name, as: 'name', class: Google::Apis::DataflowV1b3::CounterStructuredName, decorator: Google::Apis::DataflowV1b3::CounterStructuredName::Representation + + end + end + + class ConcatPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::DataflowV1b3::Position, decorator: Google::Apis::DataflowV1b3::Position::Representation + + property :index, as: 'index' + end + end + + class WriteInstruction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sink, as: 'sink', class: Google::Apis::DataflowV1b3::Sink, decorator: Google::Apis::DataflowV1b3::Sink::Representation + + property :input, as: 'input', class: Google::Apis::DataflowV1b3::InstructionInput, decorator: Google::Apis::DataflowV1b3::InstructionInput::Representation + + end + end + + class StreamingComputationRanges + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :range_assignments, as: 'rangeAssignments', class: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment, decorator: Google::Apis::DataflowV1b3::KeyRangeDataDiskAssignment::Representation + + property :computation_id, as: 'computationId' + end + end + + class AutoscalingSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' + property :max_num_workers, as: 'maxNumWorkers' + end + end + + class ExecutionStageSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :input_source, as: 'inputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation + + property :id, as: 'id' + collection :component_transform, as: 'componentTransform', class: Google::Apis::DataflowV1b3::ComponentTransform, decorator: Google::Apis::DataflowV1b3::ComponentTransform::Representation + + collection :component_source, as: 'componentSource', class: Google::Apis::DataflowV1b3::ComponentSource, decorator: Google::Apis::DataflowV1b3::ComponentSource::Representation + + property :kind, as: 'kind' + collection :output_source, as: 'outputSource', class: Google::Apis::DataflowV1b3::StageSource, decorator: Google::Apis::DataflowV1b3::StageSource::Representation + + property :name, as: 'name' + end + end + + class SendWorkerMessagesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :worker_messages, as: 'workerMessages', class: Google::Apis::DataflowV1b3::WorkerMessage, decorator: Google::Apis::DataflowV1b3::WorkerMessage::Representation + + end + end + + class SourceSplitShard + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + property :derivation_mode, as: 'derivationMode' + end + end + + class CpuTime + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :timestamp, as: 'timestamp' + property :total_ms, as: 'totalMs' + property :rate, as: 'rate' + end + end + + class Environment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :user_agent, as: 'userAgent' + hash :sdk_pipeline_options, as: 'sdkPipelineOptions' + property :cluster_manager_api_service, as: 'clusterManagerApiService' + property :temp_storage_prefix, as: 'tempStoragePrefix' + collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation + + property :dataset, as: 'dataset' + collection :experiments, as: 'experiments' + hash :internal_experiments, as: 'internalExperiments' + hash :version, as: 'version' + property :service_account_email, as: 'serviceAccountEmail' + end + end + + class StreamingComputationTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :computation_ranges, as: 'computationRanges', class: Google::Apis::DataflowV1b3::StreamingComputationRanges, decorator: Google::Apis::DataflowV1b3::StreamingComputationRanges::Representation + + collection :data_disks, as: 'dataDisks', class: Google::Apis::DataflowV1b3::MountedDataDisk, decorator: Google::Apis::DataflowV1b3::MountedDataDisk::Representation + + property :task_type, as: 'taskType' + end + end + + class SendDebugCaptureRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :component_id, as: 'componentId' + property :worker_id, as: 'workerId' + property :data, as: 'data' + end + end + + class GetDebugConfigResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config, as: 'config' + end + end + + class ComponentTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :original_transform, as: 'originalTransform' + property :name, as: 'name' + property :user_name, as: 'userName' + end + end + + class StreamingSetupTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :streaming_computation_topology, as: 'streamingComputationTopology', class: Google::Apis::DataflowV1b3::TopologyConfig, decorator: Google::Apis::DataflowV1b3::TopologyConfig::Representation + + property :worker_harness_port, as: 'workerHarnessPort' + property :drain, as: 'drain' + property :receive_work_port, as: 'receiveWorkPort' + end + end + + class PubsubLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :with_attributes, as: 'withAttributes' + property :id_label, as: 'idLabel' + property :topic, as: 'topic' + property :timestamp_label, as: 'timestampLabel' + property :subscription, as: 'subscription' + property :drop_late_data, as: 'dropLateData' + property :tracking_subscription, as: 'trackingSubscription' + end + end + + class WorkerHealthReport + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pods, as: 'pods' + property :vm_startup_time, as: 'vmStartupTime' + property :vm_is_healthy, as: 'vmIsHealthy' + property :report_interval, as: 'reportInterval' + end + end + + class JobMessage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message_text, as: 'messageText' + property :message_importance, as: 'messageImportance' + property :time, as: 'time' + property :id, as: 'id' + end + end + + class ParameterMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :regexes, as: 'regexes' + property :label, as: 'label' + property :help_text, as: 'helpText' + property :is_optional, as: 'isOptional' + property :name, as: 'name' + end + end + + class MultiOutputInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tag, as: 'tag' + end + end + + class SourceSplitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source', class: Google::Apis::DataflowV1b3::Source, decorator: Google::Apis::DataflowV1b3::Source::Representation + + property :options, as: 'options', class: Google::Apis::DataflowV1b3::SourceSplitOptions, decorator: Google::Apis::DataflowV1b3::SourceSplitOptions::Representation + + end + end + + class SourceGetMetadataResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::SourceMetadata, decorator: Google::Apis::DataflowV1b3::SourceMetadata::Representation + + end + end + + class ShellTask + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exit_code, as: 'exitCode' + property :command, as: 'command' + end + end + + class MetricShortId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :short_id, as: 'shortId' + property :metric_index, as: 'metricIndex' + end + end + + class TaskRunnerSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :oauth_scopes, as: 'oauthScopes' + property :dataflow_api_version, as: 'dataflowApiVersion' + property :log_upload_location, as: 'logUploadLocation' + property :streaming_worker_main_class, as: 'streamingWorkerMainClass' + property :workflow_file_name, as: 'workflowFileName' + property :language_hint, as: 'languageHint' + property :commandlines_file_name, as: 'commandlinesFileName' + property :base_task_dir, as: 'baseTaskDir' + property :temp_storage_prefix, as: 'tempStoragePrefix' + property :base_url, as: 'baseUrl' + property :log_to_serialconsole, as: 'logToSerialconsole' + property :continue_on_exception, as: 'continueOnException' + property :parallel_worker_settings, as: 'parallelWorkerSettings', class: Google::Apis::DataflowV1b3::WorkerSettings, decorator: Google::Apis::DataflowV1b3::WorkerSettings::Representation + + property :task_user, as: 'taskUser' + property :vm_id, as: 'vmId' + property :alsologtostderr, as: 'alsologtostderr' + property :task_group, as: 'taskGroup' + property :harness_command, as: 'harnessCommand' + property :log_dir, as: 'logDir' + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :record_index, as: 'recordIndex' + property :shuffle_position, as: 'shufflePosition' + property :concat_position, as: 'concatPosition', class: Google::Apis::DataflowV1b3::ConcatPosition, decorator: Google::Apis::DataflowV1b3::ConcatPosition::Representation + + property :byte_offset, as: 'byteOffset' + property :end, as: 'end' + property :key, as: 'key' + end + end + end + end +end diff --git a/generated/google/apis/dataflow_v1b3/service.rb b/generated/google/apis/dataflow_v1b3/service.rb new file mode 100644 index 000000000..2202fd58f --- /dev/null +++ b/generated/google/apis/dataflow_v1b3/service.rb @@ -0,0 +1,957 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DataflowV1b3 + # Google Dataflow API + # + # Manages Google Cloud Dataflow projects on Google Cloud Platform. + # + # @example + # require 'google/apis/dataflow_v1b3' + # + # Dataflow = Google::Apis::DataflowV1b3 # Alias the module + # service = Dataflow::DataflowService.new + # + # @see https://cloud.google.com/dataflow + class DataflowService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://dataflow.googleapis.com/', '') + end + + # Send a worker_message to the service. + # @param [String] project_id + # The project to send the WorkerMessages to. + # @param [Google::Apis::DataflowV1b3::SendWorkerMessagesRequest] send_worker_messages_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::SendWorkerMessagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def worker_project_messages(project_id, send_worker_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/WorkerMessages', options) + command.request_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesRequest::Representation + command.request_object = send_worker_messages_request_object + command.response_representation = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::SendWorkerMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the state of the specified Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] location + # The location that contains this job. + # @param [String] job_id + # The job ID. + # @param [String] view + # The level of information requested in response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_job(project_id, location, job_id, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List the jobs of a project. + # @param [String] project_id + # The project which owns the jobs. + # @param [String] location + # The location that contains this job. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response + # to request additional results in a long list. + # @param [Fixnum] page_size + # 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. + # @param [String] view + # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @param [String] filter + # The kind of filter to use. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_jobs(project_id, location, page_token: nil, page_size: nil, view: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['view'] = view unless view.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the state of an existing Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] location + # The location that contains this job. + # @param [String] job_id + # The job ID. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_location_job(project_id, location, job_id, job_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] location + # The location that contains this job. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. + # @param [String] view + # The level of information requested in response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_job(project_id, location, job_object = nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages for. + # @param [String] start_time + # Return only metric data that has changed since this time. + # Default is to return all information about all metrics for the job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_job_metrics(project_id, location, job_id, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Leases a dataflow WorkItem to run. + # @param [String] project_id + # Identifies the project this worker belongs to. + # @param [String] location + # The location which contains the WorkItem's job. + # @param [String] job_id + # Identifies the workflow job this worker belongs to. + # @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def lease_project_location_work_item(project_id, location, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease', options) + command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation + command.request_object = lease_work_item_request_object + command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Reports the status of dataflow WorkItems leased by a worker. + # @param [String] project_id + # The project which owns the WorkItem's job. + # @param [String] location + # The location which contains the WorkItem's job. + # @param [String] job_id + # The job which the WorkItem is part of. + # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def report_project_location_job_work_item_status(project_id, location, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus', options) + command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation + command.request_object = report_work_item_status_request_object + command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] job_id + # The job to get messages about. + # @param [String] end_time + # Return only messages with timestamps < end_time. The default is now + # (i.e. return up to the latest messages available). + # @param [String] start_time + # If specified, return only messages with timestamps >= start_time. + # The default is the job creation time (i.e. beginning of messages). + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] minimum_importance + # Filter to only get messages with importance >= level + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ListJobMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_job_messages(project_id, location, job_id, end_time: nil, start_time: nil, page_token: nil, page_size: nil, minimum_importance: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['location'] = location unless location.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Launch a template. + # @param [String] project_id + # Required. The ID of the Cloud Platform project that the job belongs to. + # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to create + # the job. + # Must be valid Cloud Storage URL, beginning with 'gs://'. + # @param [Boolean] dry_run + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::LaunchTemplateResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LaunchTemplateResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def launch_project_template(project_id, launch_template_parameters_object = nil, gcs_path: nil, dry_run: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates:launch', options) + command.request_representation = Google::Apis::DataflowV1b3::LaunchTemplateParameters::Representation + command.request_object = launch_template_parameters_object + command.response_representation = Google::Apis::DataflowV1b3::LaunchTemplateResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LaunchTemplateResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? + command.query['dryRun'] = dry_run unless dry_run.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get the template associated with a template. + # @param [String] project_id + # Required. The ID of the Cloud Platform project that the job belongs to. + # @param [String] view + # The view to retrieve. Defaults to METADATA_ONLY. + # @param [String] gcs_path + # Required. A Cloud Storage path to the template from which to + # create the job. + # Must be a valid Cloud Storage URL, beginning with `gs://`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::GetTemplateResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::GetTemplateResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_template(project_id, view: nil, gcs_path: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/templates:get', options) + command.response_representation = Google::Apis::DataflowV1b3::GetTemplateResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::GetTemplateResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['view'] = view unless view.nil? + command.query['gcsPath'] = gcs_path unless gcs_path.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Cloud Dataflow job from a template. + # @param [String] project_id + # Required. The ID of the Cloud Platform project that the job belongs to. + # @param [Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest] create_job_from_template_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_job_from_template(project_id, create_job_from_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/templates', options) + command.request_representation = Google::Apis::DataflowV1b3::CreateJobFromTemplateRequest::Representation + command.request_object = create_job_from_template_request_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] job_id + # The job to get messages for. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] start_time + # Return only metric data that has changed since this time. + # Default is to return all information about all metrics for the job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::JobMetrics] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::JobMetrics] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_job_metrics(project_id, job_id, location: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/metrics', options) + command.response_representation = Google::Apis::DataflowV1b3::JobMetrics::Representation + command.response_class = Google::Apis::DataflowV1b3::JobMetrics + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the state of the specified Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] job_id + # The job ID. + # @param [String] view + # The level of information requested in response. + # @param [String] location + # The location that contains this job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_job(project_id, job_id, view: nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['view'] = view unless view.nil? + command.query['location'] = location unless location.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # List the jobs of a project. + # @param [String] project_id + # The project which owns the jobs. + # @param [String] filter + # The kind of filter to use. + # @param [String] location + # The location that contains this job. + # @param [String] page_token + # Set this to the 'next_page_token' field of a previous response + # to request additional results in a long list. + # @param [Fixnum] page_size + # 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. + # @param [String] view + # Level of information requested in response. Default is `JOB_VIEW_SUMMARY`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ListJobsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_jobs(project_id, filter: nil, location: nil, page_token: nil, page_size: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobsResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['filter'] = filter unless filter.nil? + command.query['location'] = location unless location.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the state of an existing Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [String] job_id + # The job ID. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_job(project_id, job_id, job_object = nil, location: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1b3/projects/{projectId}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a Cloud Dataflow job. + # @param [String] project_id + # The ID of the Cloud Platform project that the job belongs to. + # @param [Google::Apis::DataflowV1b3::Job] job_object + # @param [String] location + # The location that contains this job. + # @param [String] replace_job_id + # Deprecated. This field is now in the Job message. + # @param [String] view + # The level of information requested in response. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_job(project_id, job_object = nil, location: nil, replace_job_id: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs', options) + command.request_representation = Google::Apis::DataflowV1b3::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataflowV1b3::Job::Representation + command.response_class = Google::Apis::DataflowV1b3::Job + command.params['projectId'] = project_id unless project_id.nil? + command.query['location'] = location unless location.nil? + command.query['replaceJobId'] = replace_job_id unless replace_job_id.nil? + command.query['view'] = view unless view.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get encoded debug configuration for component. Not cacheable. + # @param [String] project_id + # The project id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::GetDebugConfigRequest] get_debug_config_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::GetDebugConfigResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::GetDebugConfigResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_job_debug_config(project_id, job_id, get_debug_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig', options) + command.request_representation = Google::Apis::DataflowV1b3::GetDebugConfigRequest::Representation + command.request_object = get_debug_config_request_object + command.response_representation = Google::Apis::DataflowV1b3::GetDebugConfigResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::GetDebugConfigResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Send encoded debug capture data for component. + # @param [String] project_id + # The project id. + # @param [String] job_id + # The job id. + # @param [Google::Apis::DataflowV1b3::SendDebugCaptureRequest] send_debug_capture_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::SendDebugCaptureResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def send_project_job_debug_capture(project_id, job_id, send_debug_capture_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture', options) + command.request_representation = Google::Apis::DataflowV1b3::SendDebugCaptureRequest::Representation + command.request_object = send_debug_capture_request_object + command.response_representation = Google::Apis::DataflowV1b3::SendDebugCaptureResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::SendDebugCaptureResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Leases a dataflow WorkItem to run. + # @param [String] project_id + # Identifies the project this worker belongs to. + # @param [String] job_id + # Identifies the workflow job this worker belongs to. + # @param [Google::Apis::DataflowV1b3::LeaseWorkItemRequest] lease_work_item_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::LeaseWorkItemResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def lease_project_work_item(project_id, job_id, lease_work_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease', options) + command.request_representation = Google::Apis::DataflowV1b3::LeaseWorkItemRequest::Representation + command.request_object = lease_work_item_request_object + command.response_representation = Google::Apis::DataflowV1b3::LeaseWorkItemResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::LeaseWorkItemResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Reports the status of dataflow WorkItems leased by a worker. + # @param [String] project_id + # The project which owns the WorkItem's job. + # @param [String] job_id + # The job which the WorkItem is part of. + # @param [Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest] report_work_item_status_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def report_project_job_work_item_status(project_id, job_id, report_work_item_status_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus', options) + command.request_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusRequest::Representation + command.request_object = report_work_item_status_request_object + command.response_representation = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ReportWorkItemStatusResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Request the job status. + # @param [String] project_id + # A project id. + # @param [String] job_id + # The job to get messages about. + # @param [String] location + # The location which contains the job specified by job_id. + # @param [String] end_time + # Return only messages with timestamps < end_time. The default is now + # (i.e. return up to the latest messages available). + # @param [String] page_token + # 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. + # @param [String] start_time + # If specified, return only messages with timestamps >= start_time. + # The default is the job creation time (i.e. beginning of messages). + # @param [Fixnum] page_size + # 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. + # @param [String] minimum_importance + # Filter to only get messages with importance >= level + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataflowV1b3::ListJobMessagesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataflowV1b3::ListJobMessagesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_job_messages(project_id, job_id, location: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, minimum_importance: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1b3/projects/{projectId}/jobs/{jobId}/messages', options) + command.response_representation = Google::Apis::DataflowV1b3::ListJobMessagesResponse::Representation + command.response_class = Google::Apis::DataflowV1b3::ListJobMessagesResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['location'] = location unless location.nil? + command.query['endTime'] = end_time unless end_time.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['startTime'] = start_time unless start_time.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['minimumImportance'] = minimum_importance unless minimum_importance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/dataproc_v1.rb b/generated/google/apis/dataproc_v1.rb index cca6550be..a80e0e077 100644 --- a/generated/google/apis/dataproc_v1.rb +++ b/generated/google/apis/dataproc_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/dataproc/ module DataprocV1 VERSION = 'V1' - REVISION = '20160503' + REVISION = '20170321' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dataproc_v1/classes.rb b/generated/google/apis/dataproc_v1/classes.rb index d931dac6b..78d27d8ad 100644 --- a/generated/google/apis/dataproc_v1/classes.rb +++ b/generated/google/apis/dataproc_v1/classes.rb @@ -22,307 +22,94 @@ module Google module Apis module DataprocV1 - # Describes the identifying information, config, and status of a cluster of - # Google Compute Engine instances. - class Cluster + # Metadata describing the operation. + class OperationMetadata include Google::Apis::Core::Hashable - # [Required] The Google Cloud Platform project ID that the cluster belongs to. - # Corresponds to the JSON property `projectId` + # Output-only Short description of operation. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :project_id + attr_accessor :description - # [Required] The cluster name. Cluster names within a project must be unique. - # Names of deleted clusters can be reused. + # The status of the operation. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::OperationStatus] + attr_accessor :status + + # A message containing any operation metadata details. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # A message containing the operation state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Name of the cluster for the operation. # Corresponds to the JSON property `clusterName` # @return [String] attr_accessor :cluster_name - # The cluster config. - # Corresponds to the JSON property `config` - # @return [Google::Apis::DataprocV1::ClusterConfig] - attr_accessor :config - - # The status of a cluster and its instances. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::ClusterStatus] - attr_accessor :status - - # [Output-only] The previous cluster status. - # Corresponds to the JSON property `statusHistory` - # @return [Array] - attr_accessor :status_history - - # [Output-only] A cluster UUID (Unique Universal Identifier). Cloud Dataproc - # generates this value when it creates the cluster. + # Cluster UUId for the operation. # Corresponds to the JSON property `clusterUuid` # @return [String] attr_accessor :cluster_uuid + # A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # The time that the operation completed. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The time that the operation was started by the server. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Output-only Errors encountered during operation execution. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + # The time that the operation was requested. + # Corresponds to the JSON property `insertTime` + # @return [String] + attr_accessor :insert_time + + # Output-only Previous operation status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # Output-only The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @config = args[:config] if args.key?(:config) + @description = args[:description] if args.key?(:description) @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) + @details = args[:details] if args.key?(:details) + @state = args[:state] if args.key?(:state) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - end - end - - # The cluster config. - class ClusterConfig - include Google::Apis::Core::Hashable - - # [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. - # Corresponds to the JSON property `configBucket` - # @return [String] - attr_accessor :config_bucket - - # Common config settings for resources of Google Compute Engine cluster - # instances, applicable to all instances in the cluster. - # Corresponds to the JSON property `gceClusterConfig` - # @return [Google::Apis::DataprocV1::GceClusterConfig] - attr_accessor :gce_cluster_config - - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. - # Corresponds to the JSON property `masterConfig` - # @return [Google::Apis::DataprocV1::InstanceGroupConfig] - attr_accessor :master_config - - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. - # Corresponds to the JSON property `workerConfig` - # @return [Google::Apis::DataprocV1::InstanceGroupConfig] - attr_accessor :worker_config - - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. - # Corresponds to the JSON property `secondaryWorkerConfig` - # @return [Google::Apis::DataprocV1::InstanceGroupConfig] - attr_accessor :secondary_worker_config - - # Specifies the selection and config of software inside the cluster. - # Corresponds to the JSON property `softwareConfig` - # @return [Google::Apis::DataprocV1::SoftwareConfig] - attr_accessor :software_config - - # [Optional] Commands to execute on each node after config is completed. By - # default, executables are run on master and all worker nodes. You can test a - # node's role metadata to run an executable on a master or worker node, as shown - # below: ROLE=$(/usr/share/google/get_metadata_value attributes/role) if [[ "$` - # ROLE`" == 'Master' ]]; then ... master specific actions ... else ... worker - # specific actions ... fi - # Corresponds to the JSON property `initializationActions` - # @return [Array] - attr_accessor :initialization_actions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @config_bucket = args[:config_bucket] if args.key?(:config_bucket) - @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) - @master_config = args[:master_config] if args.key?(:master_config) - @worker_config = args[:worker_config] if args.key?(:worker_config) - @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) - @software_config = args[:software_config] if args.key?(:software_config) - @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) - end - end - - # Common config settings for resources of Google Compute Engine cluster - # instances, applicable to all instances in the cluster. - class GceClusterConfig - include Google::Apis::Core::Hashable - - # [Required] The zone where the Google Compute Engine cluster will be located. - # Example: `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[ - # zone]`. - # Corresponds to the JSON property `zoneUri` - # @return [String] - attr_accessor :zone_uri - - # 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 https://cloud.google.com/ - # compute/docs/subnetworks for more information). Example: `https://www. - # googleapis.com/compute/v1/projects/[project_id]/regions/global/default`. - # Corresponds to the JSON property `networkUri` - # @return [String] - attr_accessor :network_uri - - # 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`. - # Corresponds to the JSON property `subnetworkUri` - # @return [String] - attr_accessor :subnetwork_uri - - # The URIs of service account scopes to be included in Google Compute Engine - # instances. The following base set of scopes is always included: * https://www. - # googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/ - # auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If - # no scopes are specfied, the following defaults are also provided: * https:// - # www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable. - # admin.table * https://www.googleapis.com/auth/bigtable.data * https://www. - # googleapis.com/auth/devstorage.full_control - # Corresponds to the JSON property `serviceAccountScopes` - # @return [Array] - attr_accessor :service_account_scopes - - # The Google Compute Engine tags to add to all instances. - # Corresponds to the JSON property `tags` - # @return [Array] - attr_accessor :tags - - # The Google Compute Engine metadata entries to add to all instances. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @zone_uri = args[:zone_uri] if args.key?(:zone_uri) - @network_uri = args[:network_uri] if args.key?(:network_uri) - @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) - @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) - @tags = args[:tags] if args.key?(:tags) - @metadata = args[:metadata] if args.key?(:metadata) - end - end - - # The config settings for Google Compute Engine resources in an instance group, - # such as a master or worker group. - class InstanceGroupConfig - include Google::Apis::Core::Hashable - - # The number of VM instances in the instance group. For master instance groups, - # must be set to 1. - # Corresponds to the JSON property `numInstances` - # @return [Fixnum] - attr_accessor :num_instances - - # 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). - # Corresponds to the JSON property `instanceNames` - # @return [Array] - attr_accessor :instance_names - - # [Output-only] The Google Compute Engine image resource used for cluster - # instances. Inferred from `SoftwareConfig.image_version`. - # Corresponds to the JSON property `imageUri` - # @return [String] - attr_accessor :image_uri - - # 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`. - # Corresponds to the JSON property `machineTypeUri` - # @return [String] - attr_accessor :machine_type_uri - - # Specifies the config of disk options for a group of VM instances. - # Corresponds to the JSON property `diskConfig` - # @return [Google::Apis::DataprocV1::DiskConfig] - attr_accessor :disk_config - - # Specifies that this instance group contains Preemptible Instances. - # Corresponds to the JSON property `isPreemptible` - # @return [Boolean] - attr_accessor :is_preemptible - alias_method :is_preemptible?, :is_preemptible - - # Specifies the resources used to actively manage an instance group. - # Corresponds to the JSON property `managedGroupConfig` - # @return [Google::Apis::DataprocV1::ManagedGroupConfig] - attr_accessor :managed_group_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @num_instances = args[:num_instances] if args.key?(:num_instances) - @instance_names = args[:instance_names] if args.key?(:instance_names) - @image_uri = args[:image_uri] if args.key?(:image_uri) - @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) - @disk_config = args[:disk_config] if args.key?(:disk_config) - @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) - @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) - end - end - - # Specifies the config of disk options for a group of VM instances. - class DiskConfig - include Google::Apis::Core::Hashable - - # [Optional] Size in GB of the boot disk (default is 500GB). - # Corresponds to the JSON property `bootDiskSizeGb` - # @return [Fixnum] - attr_accessor :boot_disk_size_gb - - # [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 config and installed binaries. - # Corresponds to the JSON property `numLocalSsds` - # @return [Fixnum] - attr_accessor :num_local_ssds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) - @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) - end - end - - # Specifies the resources used to actively manage an instance group. - class ManagedGroupConfig - include Google::Apis::Core::Hashable - - # [Output-only] The name of the Instance Template used for the Managed Instance - # Group. - # Corresponds to the JSON property `instanceTemplateName` - # @return [String] - attr_accessor :instance_template_name - - # [Output-only] The name of the Instance Group Manager for this group. - # Corresponds to the JSON property `instanceGroupManagerName` - # @return [String] - attr_accessor :instance_group_manager_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) - @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @warnings = args[:warnings] if args.key?(:warnings) + @insert_time = args[:insert_time] if args.key?(:insert_time) + @status_history = args[:status_history] if args.key?(:status_history) + @operation_type = args[:operation_type] if args.key?(:operation_type) end end @@ -330,18 +117,23 @@ module Google class SoftwareConfig include Google::Apis::Core::Hashable - # [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](/dataproc/versioning)). + # 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). # Corresponds to the JSON property `imageVersion` # @return [String] attr_accessor :image_version - # [Optional] The properties to set on daemon config 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` + # Optional The properties to set on daemon config 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 # Corresponds to the JSON property `properties` # @return [Hash] attr_accessor :properties @@ -357,23 +149,20 @@ module Google end end - # Specifies an executable to run on a fully configured node and a timeout period - # for executable completion. - class NodeInitializationAction + # Cloud Dataproc job config. + class JobPlacement include Google::Apis::Core::Hashable - # [Required] Google Cloud Storage URI of executable file. - # Corresponds to the JSON property `executableFile` + # Required The name of the cluster where the job will be submitted. + # Corresponds to the JSON property `clusterName` # @return [String] - attr_accessor :executable_file + attr_accessor :cluster_name - # [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. - # Corresponds to the JSON property `executionTimeout` + # Output-only A cluster UUID generated by the Cloud Dataproc service when the + # job is submitted. + # Corresponds to the JSON property `clusterUuid` # @return [String] - attr_accessor :execution_timeout + attr_accessor :cluster_uuid def initialize(**args) update!(**args) @@ -381,8 +170,72 @@ module Google # Update properties of this object def update!(**args) - @executable_file = args[:executable_file] if args.key?(:executable_file) - @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + end + end + + # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries + # on YARN. + class PigJob + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `continueOnFailure` + # @return [Boolean] + attr_accessor :continue_on_failure + alias_method :continue_on_failure?, :continue_on_failure + + # The HCFS URI of the script that contains the Pig queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + # Optional HCFS URIs of jar files to add to the CLASSPATH of the Pig Client and + # Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # Optional Mapping of query variable names to values (equivalent to the Pig + # command: name=[value]). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) end end @@ -390,21 +243,286 @@ module Google class ClusterStatus include Google::Apis::Core::Hashable - # The cluster's state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # Optional details of cluster's state. + # Output-only Optional details of cluster's state. # Corresponds to the JSON property `detail` # @return [String] attr_accessor :detail - # Time when this state was entered. + # Output-only The cluster's state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only Time when this state was entered. # Corresponds to the JSON property `stateStartTime` # @return [String] attr_accessor :state_start_time + # Output-only Additional state information that includes status reported by the + # agent. + # Corresponds to the JSON property `substate` + # @return [String] + attr_accessor :substate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detail = args[:detail] if args.key?(:detail) + @state = args[:state] if args.key?(:state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @substate = args[:substate] if args.key?(:substate) + end + end + + # The list of all clusters in a project. + class ListClustersResponse + include Google::Apis::Core::Hashable + + # Output-only The clusters in the project. + # Corresponds to the JSON property `clusters` + # @return [Array] + attr_accessor :clusters + + # Output-only 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 ListClustersRequest. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @clusters = args[:clusters] if args.key?(:clusters) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A Cloud Dataproc job resource. + class Job + include Google::Apis::Core::Hashable + + # Cloud Dataproc job status. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::JobStatus] + attr_accessor :status + + # Cloud Dataproc job config. + # Corresponds to the JSON property `placement` + # @return [Google::Apis::DataprocV1::JobPlacement] + attr_accessor :placement + + # 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. + # Corresponds to the JSON property `driverControlFilesUri` + # @return [String] + attr_accessor :driver_control_files_uri + + # Job scheduling options.Beta Feature: These options are available for testing + # purposes only. They may be changed before final release. + # Corresponds to the JSON property `scheduling` + # @return [Google::Apis::DataprocV1::JobScheduling] + attr_accessor :scheduling + + # A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries + # on YARN. + # Corresponds to the JSON property `pigJob` + # @return [Google::Apis::DataprocV1::PigJob] + attr_accessor :pig_job + + # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) + # queries on YARN. + # Corresponds to the JSON property `hiveJob` + # @return [Google::Apis::DataprocV1::HiveJob] + attr_accessor :hive_job + + # Optional The labels to associate with this job. 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 job. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Output-only A URI pointing to the location of the stdout of the job's driver + # program. + # Corresponds to the JSON property `driverOutputResourceUri` + # @return [String] + attr_accessor :driver_output_resource_uri + + # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) + # applications on YARN. + # Corresponds to the JSON property `sparkJob` + # @return [Google::Apis::DataprocV1::SparkJob] + attr_accessor :spark_job + + # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ + # ) queries. + # Corresponds to the JSON property `sparkSqlJob` + # @return [Google::Apis::DataprocV1::SparkSqlJob] + attr_accessor :spark_sql_job + + # Output-only The previous job status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # 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. + # Corresponds to the JSON property `yarnApplications` + # @return [Array] + attr_accessor :yarn_applications + + # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ + # 0.9.0/python-programming-guide.html) applications on YARN. + # Corresponds to the JSON property `pysparkJob` + # @return [Google::Apis::DataprocV1::PySparkJob] + attr_accessor :pyspark_job + + # Encapsulates the full scoping used to reference a job. + # Corresponds to the JSON property `reference` + # @return [Google::Apis::DataprocV1::JobReference] + attr_accessor :reference + + # 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). + # Corresponds to the JSON property `hadoopJob` + # @return [Google::Apis::DataprocV1::HadoopJob] + attr_accessor :hadoop_job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @status = args[:status] if args.key?(:status) + @placement = args[:placement] if args.key?(:placement) + @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) + @scheduling = args[:scheduling] if args.key?(:scheduling) + @pig_job = args[:pig_job] if args.key?(:pig_job) + @hive_job = args[:hive_job] if args.key?(:hive_job) + @labels = args[:labels] if args.key?(:labels) + @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) + @spark_job = args[:spark_job] if args.key?(:spark_job) + @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) + @status_history = args[:status_history] if args.key?(:status_history) + @yarn_applications = args[:yarn_applications] if args.key?(:yarn_applications) + @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) + @reference = args[:reference] if args.key?(:reference) + @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) + end + end + + # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/) + # applications on YARN. + class SparkJob + include Google::Apis::Core::Hashable + + # Optional HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver + # and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # 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. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Optional HCFS URIs of files to be copied to the working directory of Spark + # drivers and distributed tasks. Useful for naively parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # 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. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # 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. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # The HCFS URI of the jar file that contains the main class. + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @main_class = args[:main_class] if args.key?(:main_class) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + end + end + + # Cloud Dataproc job status. + class JobStatus + include Google::Apis::Core::Hashable + + # Output-only A state message specifying the overall job state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-only Optional job state details, such as an error description if the + # state is ERROR. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + # Output-only The time when this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + # Output-only Additional state information, which includes status reported by + # the agent. + # Corresponds to the JSON property `substate` + # @return [String] + attr_accessor :substate + def initialize(**args) update!(**args) end @@ -412,8 +530,759 @@ module Google # Update properties of this object def update!(**args) @state = args[:state] if args.key?(:state) - @detail = args[:detail] if args.key?(:detail) + @details = args[:details] if args.key?(:details) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @substate = args[:substate] if args.key?(:substate) + end + end + + # Specifies the resources used to actively manage an instance group. + class ManagedGroupConfig + include Google::Apis::Core::Hashable + + # Output-only The name of the Instance Group Manager for this group. + # Corresponds to the JSON property `instanceGroupManagerName` + # @return [String] + attr_accessor :instance_group_manager_name + + # Output-only The name of the Instance Template used for the Managed Instance + # Group. + # Corresponds to the JSON property `instanceTemplateName` + # @return [String] + attr_accessor :instance_template_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @instance_group_manager_name = args[:instance_group_manager_name] if args.key?(:instance_group_manager_name) + @instance_template_name = args[:instance_template_name] if args.key?(:instance_template_name) + end + end + + # The status of the operation. + class ClusterOperationStatus + include Google::Apis::Core::Hashable + + # Output-only A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # Output-only The time this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + # Output-only A message containing the operation state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output-onlyA message containing any operation metadata details. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @state = args[:state] if args.key?(:state) + @details = args[:details] if args.key?(:details) + end + end + + # 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). + class HadoopJob + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `mainClass` + # @return [String] + attr_accessor :main_class + + # 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. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + # 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' + # Corresponds to the JSON property `mainJarFileUri` + # @return [String] + attr_accessor :main_jar_file_uri + + # Optional Jar file URIs to add to the CLASSPATHs of the Hadoop driver and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # 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. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Optional HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to the + # working directory of Hadoop drivers and distributed tasks. Useful for naively + # parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @main_class = args[:main_class] if args.key?(:main_class) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + end + end + + # A list of queries to run on a cluster. + class QueryList + include Google::Apis::Core::Hashable + + # 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: + # "hiveJob": ` + # "queryList": ` + # "queries": [ + # "query1", + # "query2", + # "query3;query4", + # ] + # ` + # ` + # Corresponds to the JSON property `queries` + # @return [Array] + attr_accessor :queries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @queries = args[:queries] if args.key?(:queries) + end + end + + # A YARN application created by a job. Application information is a subset of < + # code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. + # Beta Feature: This report is available for testing purposes only. It may be + # changed before final release. + class YarnApplication + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `trackingUrl` + # @return [String] + attr_accessor :tracking_url + + # Required The numerical progress of the application, from 1 to 100. + # Corresponds to the JSON property `progress` + # @return [Float] + attr_accessor :progress + + # Required The application state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Required The application name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tracking_url = args[:tracking_url] if args.key?(:tracking_url) + @progress = args[:progress] if args.key?(:progress) + @state = args[:state] if args.key?(:state) + @name = args[:name] if args.key?(:name) + end + end + + # A request to collect cluster diagnostic information. + class DiagnoseClusterRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Specifies the config of disk options for a group of VM instances. + class DiskConfig + include Google::Apis::Core::Hashable + + # Optional Size in GB of the boot disk (default is 500GB). + # Corresponds to the JSON property `bootDiskSizeGb` + # @return [Fixnum] + attr_accessor :boot_disk_size_gb + + # 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. + # Corresponds to the JSON property `numLocalSsds` + # @return [Fixnum] + attr_accessor :num_local_ssds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb) + @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds) + end + end + + # Metadata describing the operation. + class ClusterOperationMetadata + include Google::Apis::Core::Hashable + + # Output-only The operation type. + # Corresponds to the JSON property `operationType` + # @return [String] + attr_accessor :operation_type + + # Output-only Short description of operation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Output-only Errors encountered during operation execution. + # Corresponds to the JSON property `warnings` + # @return [Array] + attr_accessor :warnings + + # Output-only Labels associated with the operation + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The status of the operation. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::ClusterOperationStatus] + attr_accessor :status + + # Output-only The previous operation status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # Output-only Cluster UUID for the operation. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + # Output-only Name of the cluster for the operation. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_type = args[:operation_type] if args.key?(:operation_type) + @description = args[:description] if args.key?(:description) + @warnings = args[:warnings] if args.key?(:warnings) + @labels = args[:labels] if args.key?(:labels) + @status = args[:status] if args.key?(:status) + @status_history = args[:status_history] if args.key?(:status_history) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A Cloud Dataproc job for running Apache Hive (https://hive.apache.org/) + # queries on YARN. + class HiveJob + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # Optional Mapping of query variable names to values (equivalent to the Hive + # command: SET name="value";). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # 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. + # Corresponds to the JSON property `continueOnFailure` + # @return [Boolean] + attr_accessor :continue_on_failure + alias_method :continue_on_failure?, :continue_on_failure + + # The HCFS URI of the script that contains Hive queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @properties = args[:properties] if args.key?(:properties) + @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + end + end + + # The location of diagnostic output. + class DiagnoseClusterResults + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_uri = args[:output_uri] if args.key?(:output_uri) + end + end + + # The cluster config. + class ClusterConfig + include Google::Apis::Core::Hashable + + # Optional The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. + # Corresponds to the JSON property `masterConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :master_config + + # Optional The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. + # Corresponds to the JSON property `secondaryWorkerConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :secondary_worker_config + + # Optional Commands to execute on each node after config is completed. By + # default, executables are run on master and all worker nodes. You can test a + # node's role metadata to run an executable on a master or worker + # node, as shown below using curl (you can also use wget): + # ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/ + # instance/attributes/dataproc-role) + # if [[ "$`ROLE`" == 'Master' ]]; then + # ... master specific actions ... + # else + # ... worker specific actions ... + # fi + # Corresponds to the JSON property `initializationActions` + # @return [Array] + attr_accessor :initialization_actions + + # 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. + # Corresponds to the JSON property `configBucket` + # @return [String] + attr_accessor :config_bucket + + # Optional The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. + # Corresponds to the JSON property `workerConfig` + # @return [Google::Apis::DataprocV1::InstanceGroupConfig] + attr_accessor :worker_config + + # Common config settings for resources of Google Compute Engine cluster + # instances, applicable to all instances in the cluster. + # Corresponds to the JSON property `gceClusterConfig` + # @return [Google::Apis::DataprocV1::GceClusterConfig] + attr_accessor :gce_cluster_config + + # Specifies the selection and config of software inside the cluster. + # Corresponds to the JSON property `softwareConfig` + # @return [Google::Apis::DataprocV1::SoftwareConfig] + attr_accessor :software_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @master_config = args[:master_config] if args.key?(:master_config) + @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config) + @initialization_actions = args[:initialization_actions] if args.key?(:initialization_actions) + @config_bucket = args[:config_bucket] if args.key?(:config_bucket) + @worker_config = args[:worker_config] if args.key?(:worker_config) + @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config) + @software_config = args[:software_config] if args.key?(:software_config) + end + end + + # A Cloud Dataproc job for running Apache PySpark (https://spark.apache.org/docs/ + # 0.9.0/python-programming-guide.html) applications on YARN. + class PySparkJob + include Google::Apis::Core::Hashable + + # Optional HCFS URIs of jar files to add to the CLASSPATHs of the Python driver + # and tasks. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # 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. + # Corresponds to the JSON property `args` + # @return [Array] + attr_accessor :args + + # Optional HCFS URIs of files to be copied to the working directory of Python + # drivers and distributed tasks. Useful for naively parallel tasks. + # Corresponds to the JSON property `fileUris` + # @return [Array] + attr_accessor :file_uris + + # Optional HCFS file URIs of Python files to pass to the PySpark framework. + # Supported file types: .py, .egg, and .zip. + # Corresponds to the JSON property `pythonFileUris` + # @return [Array] + attr_accessor :python_file_uris + + # Required The HCFS URI of the main Python file to use as the driver. Must be a . + # py file. + # Corresponds to the JSON property `mainPythonFileUri` + # @return [String] + attr_accessor :main_python_file_uri + + # Optional HCFS URIs of archives to be extracted in the working directory of . + # jar, .tar, .tar.gz, .tgz, and .zip. + # Corresponds to the JSON property `archiveUris` + # @return [Array] + attr_accessor :archive_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @args = args[:args] if args.key?(:args) + @file_uris = args[:file_uris] if args.key?(:file_uris) + @python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris) + @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) + @archive_uris = args[:archive_uris] if args.key?(:archive_uris) + end + end + + # Common config settings for resources of Google Compute Engine cluster + # instances, applicable to all instances in the cluster. + class GceClusterConfig + include Google::Apis::Core::Hashable + + # 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)). + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # 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. + # Corresponds to the JSON property `internalIpOnly` + # @return [Boolean] + attr_accessor :internal_ip_only + alias_method :internal_ip_only?, :internal_ip_only + + # Optional The URIs of service account scopes to be included in Google Compute + # Engine instances. The following base set of scopes is always included: + # https://www.googleapis.com/auth/cloud.useraccounts.readonly + # https://www.googleapis.com/auth/devstorage.read_write + # https://www.googleapis.com/auth/logging.writeIf no scopes are specified, the + # following defaults are also provided: + # https://www.googleapis.com/auth/bigquery + # https://www.googleapis.com/auth/bigtable.admin.table + # https://www.googleapis.com/auth/bigtable.data + # https://www.googleapis.com/auth/devstorage.full_control + # Corresponds to the JSON property `serviceAccountScopes` + # @return [Array] + attr_accessor :service_account_scopes + + # The Google Compute Engine tags to add to all instances (see Tagging instances). + # Corresponds to the JSON property `tags` + # @return [Array] + attr_accessor :tags + + # Optional The service account of the instances. Defaults to the default Google + # Compute Engine service account. Custom service accounts need permissions + # equivalent to the folloing IAM roles: + # roles/logging.logWriter + # roles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/ + # service-accounts#custom_service_accounts for more information). Example: [ + # account_id]@[project_id].iam.gserviceaccount.com + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + # 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. + # Corresponds to the JSON property `subnetworkUri` + # @return [String] + attr_accessor :subnetwork_uri + + # 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. + # Corresponds to the JSON property `networkUri` + # @return [String] + attr_accessor :network_uri + + # Required The zone where the Google Compute Engine cluster will be located. + # Example: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[ + # zone]. + # Corresponds to the JSON property `zoneUri` + # @return [String] + attr_accessor :zone_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @internal_ip_only = args[:internal_ip_only] if args.key?(:internal_ip_only) + @service_account_scopes = args[:service_account_scopes] if args.key?(:service_account_scopes) + @tags = args[:tags] if args.key?(:tags) + @service_account = args[:service_account] if args.key?(:service_account) + @subnetwork_uri = args[:subnetwork_uri] if args.key?(:subnetwork_uri) + @network_uri = args[:network_uri] if args.key?(:network_uri) + @zone_uri = args[:zone_uri] if args.key?(:zone_uri) + end + end + + # Specifies the type and number of accelerator cards attached to the instances + # of an instance group (see GPUs on Compute Engine). + class AcceleratorConfig + include Google::Apis::Core::Hashable + + # The number of the accelerator cards of this type exposed to this instance. + # Corresponds to the JSON property `acceleratorCount` + # @return [Fixnum] + attr_accessor :accelerator_count + + # Full or partial URI of the accelerator type resource to expose to this + # instance. See Google Compute Engine AcceleratorTypes( /compute/docs/reference/ + # beta/acceleratorTypes) + # Corresponds to the JSON property `acceleratorTypeUri` + # @return [String] + attr_accessor :accelerator_type_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count) + @accelerator_type_uri = args[:accelerator_type_uri] if args.key?(:accelerator_type_uri) + end + end + + # 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. + class ClusterMetrics + include Google::Apis::Core::Hashable + + # The YARN metrics. + # Corresponds to the JSON property `yarnMetrics` + # @return [Hash] + attr_accessor :yarn_metrics + + # The HDFS metrics. + # Corresponds to the JSON property `hdfsMetrics` + # @return [Hash] + attr_accessor :hdfs_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @yarn_metrics = args[:yarn_metrics] if args.key?(:yarn_metrics) + @hdfs_metrics = args[:hdfs_metrics] if args.key?(:hdfs_metrics) + end + end + + # The runtime logging config of the job. + class LoggingConfig + include Google::Apis::Core::Hashable + + # 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' + # Corresponds to the JSON property `driverLogLevels` + # @return [Hash] + attr_accessor :driver_log_levels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @driver_log_levels = args[:driver_log_levels] if args.key?(:driver_log_levels) + end + end + + # The location where output from diagnostic command can be found. + class DiagnoseClusterOutputLocation + include Google::Apis::Core::Hashable + + # Output-only The Google Cloud Storage URI of the diagnostic output. This will + # be a plain text file with summary of collected diagnostics. + # Corresponds to the JSON property `outputUri` + # @return [String] + attr_accessor :output_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @output_uri = args[:output_uri] if args.key?(:output_uri) end end @@ -422,12 +1291,43 @@ module Google class Operation include Google::Apis::Core::Hashable - # 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`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::DataprocV1::Status] + attr_accessor :error # Service-specific metadata associated with the operation. It typically contains # progress information and common metadata such as create time. Some services @@ -437,106 +1337,164 @@ module Google # @return [Hash] attr_accessor :metadata - # 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. + # 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. # Corresponds to the JSON property `done` # @return [Boolean] attr_accessor :done alias_method :done?, :done - # 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. - # Corresponds to the JSON property `error` - # @return [Google::Apis::DataprocV1::Status] - attr_accessor :error - # 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`. + # 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. # Corresponds to the JSON property `response` # @return [Hash] attr_accessor :response + # 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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) @metadata = args[:metadata] if args.key?(:metadata) @done = args[:done] if args.key?(:done) - @error = args[:error] if args.key?(:error) @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) end end - # 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: - + # The status of the operation. + class OperationStatus + include Google::Apis::Core::Hashable + + # A message containing the detailed operation state. + # Corresponds to the JSON property `innerState` + # @return [String] + attr_accessor :inner_state + + # The time this state was entered. + # Corresponds to the JSON property `stateStartTime` + # @return [String] + attr_accessor :state_start_time + + # A message containing the operation state. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # A message containing any operation metadata details. + # Corresponds to the JSON property `details` + # @return [String] + attr_accessor :details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inner_state = args[:inner_state] if args.key?(:inner_state) + @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @state = args[:state] if args.key?(:state) + @details = args[:details] if args.key?(:details) + end + end + + # Encapsulates the full scoping used to reference a job. + class JobReference + include Google::Apis::Core::Hashable + + # Required The ID of the Google Cloud Platform project that the job belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # 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. + # Corresponds to the JSON property `jobId` + # @return [String] + attr_accessor :job_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @job_id = args[:job_id] if args.key?(:job_id) + end + end + + # A request to submit a job. + class SubmitJobRequest + include Google::Apis::Core::Hashable + + # A Cloud Dataproc job resource. + # Corresponds to the JSON property `job` + # @return [Google::Apis::DataprocV1::Job] + attr_accessor :job + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @job = args[:job] if args.key?(:job) + end + end + + # 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. - + # 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. + # 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 include Google::Apis::Core::Hashable @@ -570,487 +1528,59 @@ module Google end end - # The list of all clusters in a project. - class ListClustersResponse + # Optional The config settings for Google Compute Engine resources in an + # instance group, such as a master or worker group. + class InstanceGroupConfig include Google::Apis::Core::Hashable - # [Output-only] The clusters in the project. - # Corresponds to the JSON property `clusters` - # @return [Array] - attr_accessor :clusters + # Specifies the resources used to actively manage an instance group. + # Corresponds to the JSON property `managedGroupConfig` + # @return [Google::Apis::DataprocV1::ManagedGroupConfig] + attr_accessor :managed_group_config - # [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 ListClustersRequest. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @clusters = args[:clusters] if args.key?(:clusters) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A request to collect cluster diagnostic information. - class DiagnoseClusterRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # A request to submit a job. - class SubmitJobRequest - include Google::Apis::Core::Hashable - - # A Cloud Dataproc job resource. - # Corresponds to the JSON property `job` - # @return [Google::Apis::DataprocV1::Job] - attr_accessor :job - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @job = args[:job] if args.key?(:job) - end - end - - # A Cloud Dataproc job resource. - class Job - include Google::Apis::Core::Hashable - - # Encapsulates the full scoping used to reference a job. - # Corresponds to the JSON property `reference` - # @return [Google::Apis::DataprocV1::JobReference] - attr_accessor :reference - - # Cloud Dataproc job config. - # Corresponds to the JSON property `placement` - # @return [Google::Apis::DataprocV1::JobPlacement] - attr_accessor :placement - - # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. - # Corresponds to the JSON property `hadoopJob` - # @return [Google::Apis::DataprocV1::HadoopJob] - attr_accessor :hadoop_job - - # A Cloud Dataproc job for running Spark applications on YARN. - # Corresponds to the JSON property `sparkJob` - # @return [Google::Apis::DataprocV1::SparkJob] - attr_accessor :spark_job - - # A Cloud Dataproc job for running PySpark applications on YARN. - # Corresponds to the JSON property `pysparkJob` - # @return [Google::Apis::DataprocV1::PySparkJob] - attr_accessor :pyspark_job - - # A Cloud Dataproc job for running Hive queries on YARN. - # Corresponds to the JSON property `hiveJob` - # @return [Google::Apis::DataprocV1::HiveJob] - attr_accessor :hive_job - - # A Cloud Dataproc job for running Pig queries on YARN. - # Corresponds to the JSON property `pigJob` - # @return [Google::Apis::DataprocV1::PigJob] - attr_accessor :pig_job - - # A Cloud Dataproc job for running Spark SQL queries. - # Corresponds to the JSON property `sparkSqlJob` - # @return [Google::Apis::DataprocV1::SparkSqlJob] - attr_accessor :spark_sql_job - - # Cloud Dataproc job status. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::JobStatus] - attr_accessor :status - - # [Output-only] The previous job status. - # Corresponds to the JSON property `statusHistory` - # @return [Array] - attr_accessor :status_history - - # [Output-only] A URI pointing to the location of the stdout of the job's driver - # program. - # Corresponds to the JSON property `driverOutputResourceUri` - # @return [String] - attr_accessor :driver_output_resource_uri - - # [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`. - # Corresponds to the JSON property `driverControlFilesUri` - # @return [String] - attr_accessor :driver_control_files_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference = args[:reference] if args.key?(:reference) - @placement = args[:placement] if args.key?(:placement) - @hadoop_job = args[:hadoop_job] if args.key?(:hadoop_job) - @spark_job = args[:spark_job] if args.key?(:spark_job) - @pyspark_job = args[:pyspark_job] if args.key?(:pyspark_job) - @hive_job = args[:hive_job] if args.key?(:hive_job) - @pig_job = args[:pig_job] if args.key?(:pig_job) - @spark_sql_job = args[:spark_sql_job] if args.key?(:spark_sql_job) - @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) - @driver_output_resource_uri = args[:driver_output_resource_uri] if args.key?(:driver_output_resource_uri) - @driver_control_files_uri = args[:driver_control_files_uri] if args.key?(:driver_control_files_uri) - end - end - - # Encapsulates the full scoping used to reference a job. - class JobReference - include Google::Apis::Core::Hashable - - # [Required] The ID of the Google Cloud Platform project that the job belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # [Required] 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 512 characters. - # Corresponds to the JSON property `jobId` - # @return [String] - attr_accessor :job_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @job_id = args[:job_id] if args.key?(:job_id) - end - end - - # Cloud Dataproc job config. - class JobPlacement - include Google::Apis::Core::Hashable - - # [Required] The name of the cluster where the job will be submitted. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - # [Output-only] A cluster UUID generated by the Cloud Dataproc service when the - # job is submitted. - # Corresponds to the JSON property `clusterUuid` - # @return [String] - attr_accessor :cluster_uuid - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - end - end - - # A Cloud Dataproc job for running Hadoop MapReduce jobs on YARN. - class HadoopJob - include Google::Apis::Core::Hashable - - # 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' - # Corresponds to the JSON property `mainJarFileUri` - # @return [String] - attr_accessor :main_jar_file_uri - - # 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`. - # Corresponds to the JSON property `mainClass` - # @return [String] - attr_accessor :main_class - - # [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. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # [Optional] Jar file URIs to add to the CLASSPATHs of the Hadoop driver and - # tasks. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # [Optional] HCFS (Hadoop Compatible Filesystem) URIs of files to be copied to - # the working directory of Hadoop drivers and distributed tasks. Useful for - # naively parallel tasks. - # Corresponds to the JSON property `fileUris` - # @return [Array] - attr_accessor :file_uris - - # [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. - # Corresponds to the JSON property `archiveUris` - # @return [Array] - attr_accessor :archive_uris - - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) - @main_class = args[:main_class] if args.key?(:main_class) - @args = args[:args] if args.key?(:args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @properties = args[:properties] if args.key?(:properties) - @logging_config = args[:logging_config] if args.key?(:logging_config) - end - end - - # The runtime logging config of the job. - class LoggingConfig - include Google::Apis::Core::Hashable - - # 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' - # Corresponds to the JSON property `driverLogLevels` - # @return [Hash] - attr_accessor :driver_log_levels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @driver_log_levels = args[:driver_log_levels] if args.key?(:driver_log_levels) - end - end - - # A Cloud Dataproc job for running Spark applications on YARN. - class SparkJob - include Google::Apis::Core::Hashable - - # The HCFS URI of the jar file that contains the main class. - # Corresponds to the JSON property `mainJarFileUri` - # @return [String] - attr_accessor :main_jar_file_uri - - # 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`. - # Corresponds to the JSON property `mainClass` - # @return [String] - attr_accessor :main_class - - # [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. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # [Optional] HCFS URIs of jar files to add to the CLASSPATHs of the Spark driver - # and tasks. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # [Optional] HCFS URIs of files to be copied to the working directory of Spark - # drivers and distributed tasks. Useful for naively parallel tasks. - # Corresponds to the JSON property `fileUris` - # @return [Array] - attr_accessor :file_uris - - # [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. - # Corresponds to the JSON property `archiveUris` - # @return [Array] - attr_accessor :archive_uris - - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @main_jar_file_uri = args[:main_jar_file_uri] if args.key?(:main_jar_file_uri) - @main_class = args[:main_class] if args.key?(:main_class) - @args = args[:args] if args.key?(:args) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @properties = args[:properties] if args.key?(:properties) - @logging_config = args[:logging_config] if args.key?(:logging_config) - end - end - - # A Cloud Dataproc job for running PySpark applications on YARN. - class PySparkJob - include Google::Apis::Core::Hashable - - # [Required] The HCFS URI of the main Python file to use as the driver. Must be - # a .py file. - # Corresponds to the JSON property `mainPythonFileUri` - # @return [String] - attr_accessor :main_python_file_uri - - # [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. - # Corresponds to the JSON property `args` - # @return [Array] - attr_accessor :args - - # [Optional] HCFS file URIs of Python files to pass to the PySpark framework. - # Supported file types: .py, .egg, and .zip. - # Corresponds to the JSON property `pythonFileUris` - # @return [Array] - attr_accessor :python_file_uris - - # [Optional] HCFS URIs of jar files to add to the CLASSPATHs of the Python - # driver and tasks. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # [Optional] HCFS URIs of files to be copied to the working directory of Python - # drivers and distributed tasks. Useful for naively parallel tasks. - # Corresponds to the JSON property `fileUris` - # @return [Array] - attr_accessor :file_uris - - # [Optional] HCFS URIs of archives to be extracted in the working directory of . - # jar, .tar, .tar.gz, .tgz, and .zip. - # Corresponds to the JSON property `archiveUris` - # @return [Array] - attr_accessor :archive_uris - - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @main_python_file_uri = args[:main_python_file_uri] if args.key?(:main_python_file_uri) - @args = args[:args] if args.key?(:args) - @python_file_uris = args[:python_file_uris] if args.key?(:python_file_uris) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @file_uris = args[:file_uris] if args.key?(:file_uris) - @archive_uris = args[:archive_uris] if args.key?(:archive_uris) - @properties = args[:properties] if args.key?(:properties) - @logging_config = args[:logging_config] if args.key?(:logging_config) - end - end - - # A Cloud Dataproc job for running Hive queries on YARN. - class HiveJob - include Google::Apis::Core::Hashable - - # The HCFS URI of the script that contains Hive queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # [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. - # Corresponds to the JSON property `continueOnFailure` + # Optional Specifies that this instance group contains preemptible instances. + # Corresponds to the JSON property `isPreemptible` # @return [Boolean] - attr_accessor :continue_on_failure - alias_method :continue_on_failure?, :continue_on_failure + attr_accessor :is_preemptible + alias_method :is_preemptible?, :is_preemptible - # [Optional] Mapping of query variable names to values (equivalent to the Hive - # command: `SET name="value";`). - # Corresponds to the JSON property `scriptVariables` - # @return [Hash] - attr_accessor :script_variables + # Output-only The Google Compute Engine image resource used for cluster + # instances. Inferred from SoftwareConfig.image_version. + # Corresponds to the JSON property `imageUri` + # @return [String] + attr_accessor :image_uri - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties + # 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. + # Corresponds to the JSON property `machineTypeUri` + # @return [String] + attr_accessor :machine_type_uri - # [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. - # Corresponds to the JSON property `jarFileUris` + # 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). + # Corresponds to the JSON property `instanceNames` # @return [Array] - attr_accessor :jar_file_uris + attr_accessor :instance_names + + # 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. + # Corresponds to the JSON property `accelerators` + # @return [Array] + attr_accessor :accelerators + + # Required The number of VM instances in the instance group. For master instance + # groups, must be set to 1. + # Corresponds to the JSON property `numInstances` + # @return [Fixnum] + attr_accessor :num_instances + + # Specifies the config of disk options for a group of VM instances. + # Corresponds to the JSON property `diskConfig` + # @return [Google::Apis::DataprocV1::DiskConfig] + attr_accessor :disk_config def initialize(**args) update!(**args) @@ -1058,27 +1588,29 @@ module Google # Update properties of this object def update!(**args) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) - @query_list = args[:query_list] if args.key?(:query_list) - @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @script_variables = args[:script_variables] if args.key?(:script_variables) - @properties = args[:properties] if args.key?(:properties) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @managed_group_config = args[:managed_group_config] if args.key?(:managed_group_config) + @is_preemptible = args[:is_preemptible] if args.key?(:is_preemptible) + @image_uri = args[:image_uri] if args.key?(:image_uri) + @machine_type_uri = args[:machine_type_uri] if args.key?(:machine_type_uri) + @instance_names = args[:instance_names] if args.key?(:instance_names) + @accelerators = args[:accelerators] if args.key?(:accelerators) + @num_instances = args[:num_instances] if args.key?(:num_instances) + @disk_config = args[:disk_config] if args.key?(:disk_config) end end - # A list of queries to run on a cluster. - class QueryList + # Job scheduling options.Beta Feature: These options are available for testing + # purposes only. They may be changed before final release. + class JobScheduling include Google::Apis::Core::Hashable - # [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: "hiveJob": ` "queryList": ` "queries": [ - # "query1", "query2", "query3;query4", ] ` ` - # Corresponds to the JSON property `queries` - # @return [Array] - attr_accessor :queries + # 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. + # Corresponds to the JSON property `maxFailuresPerHour` + # @return [Fixnum] + attr_accessor :max_failures_per_hour def initialize(**args) update!(**args) @@ -1086,154 +1618,7 @@ module Google # Update properties of this object def update!(**args) - @queries = args[:queries] if args.key?(:queries) - end - end - - # A Cloud Dataproc job for running Pig queries on YARN. - class PigJob - include Google::Apis::Core::Hashable - - # The HCFS URI of the script that contains the Pig queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # [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. - # Corresponds to the JSON property `continueOnFailure` - # @return [Boolean] - attr_accessor :continue_on_failure - alias_method :continue_on_failure?, :continue_on_failure - - # [Optional] Mapping of query variable names to values (equivalent to the Pig - # command: `name=[value]`). - # Corresponds to the JSON property `scriptVariables` - # @return [Hash] - attr_accessor :script_variables - - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # [Optional] HCFS URIs of jar files to add to the CLASSPATH of the Pig Client - # and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) - @query_list = args[:query_list] if args.key?(:query_list) - @continue_on_failure = args[:continue_on_failure] if args.key?(:continue_on_failure) - @script_variables = args[:script_variables] if args.key?(:script_variables) - @properties = args[:properties] if args.key?(:properties) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - end - end - - # A Cloud Dataproc job for running Spark SQL queries. - class SparkSqlJob - include Google::Apis::Core::Hashable - - # The HCFS URI of the script that contains SQL queries. - # Corresponds to the JSON property `queryFileUri` - # @return [String] - attr_accessor :query_file_uri - - # A list of queries to run on a cluster. - # Corresponds to the JSON property `queryList` - # @return [Google::Apis::DataprocV1::QueryList] - attr_accessor :query_list - - # [Optional] Mapping of query variable names to values (equivalent to the Spark - # SQL command: SET `name="value";`). - # Corresponds to the JSON property `scriptVariables` - # @return [Hash] - attr_accessor :script_variables - - # [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. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # [Optional] HCFS URIs of jar files to be added to the Spark CLASSPATH. - # Corresponds to the JSON property `jarFileUris` - # @return [Array] - attr_accessor :jar_file_uris - - # The runtime logging config of the job. - # Corresponds to the JSON property `loggingConfig` - # @return [Google::Apis::DataprocV1::LoggingConfig] - attr_accessor :logging_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) - @query_list = args[:query_list] if args.key?(:query_list) - @script_variables = args[:script_variables] if args.key?(:script_variables) - @properties = args[:properties] if args.key?(:properties) - @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) - @logging_config = args[:logging_config] if args.key?(:logging_config) - end - end - - # Cloud Dataproc job status. - class JobStatus - include Google::Apis::Core::Hashable - - # [Required] A state message specifying the overall job state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # [Optional] Job state details, such as an error description if the state is - # ERROR. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - # [Output-only] The time when this state was entered. - # Corresponds to the JSON property `stateStartTime` - # @return [String] - attr_accessor :state_start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @details = args[:details] if args.key?(:details) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @max_failures_per_hour = args[:max_failures_per_hour] if args.key?(:max_failures_per_hour) end end @@ -1241,14 +1626,14 @@ module Google class ListJobsResponse include Google::Apis::Core::Hashable - # [Output-only] Jobs list. + # Output-only Jobs list. # Corresponds to the JSON property `jobs` # @return [Array] attr_accessor :jobs - # [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 ListJobsRequest. + # 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 ListJobsRequest. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1264,6 +1649,35 @@ module Google end end + # Specifies an executable to run on a fully configured node and a timeout period + # for executable completion. + class NodeInitializationAction + include Google::Apis::Core::Hashable + + # Required Google Cloud Storage URI of executable file. + # Corresponds to the JSON property `executableFile` + # @return [String] + attr_accessor :executable_file + + # 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. + # Corresponds to the JSON property `executionTimeout` + # @return [String] + attr_accessor :execution_timeout + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @executable_file = args[:executable_file] if args.key?(:executable_file) + @execution_timeout = args[:execution_timeout] if args.key?(:execution_timeout) + end + end + # A request to cancel a job. class CancelJobRequest include Google::Apis::Core::Hashable @@ -1277,20 +1691,126 @@ module Google end end - # 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 + # A Cloud Dataproc job for running Apache Spark SQL (http://spark.apache.org/sql/ + # ) queries. + class SparkSqlJob include Google::Apis::Core::Hashable + # Optional Mapping of query variable names to values (equivalent to the Spark + # SQL command: SET name="value";). + # Corresponds to the JSON property `scriptVariables` + # @return [Hash] + attr_accessor :script_variables + + # Optional HCFS URIs of jar files to be added to the Spark CLASSPATH. + # Corresponds to the JSON property `jarFileUris` + # @return [Array] + attr_accessor :jar_file_uris + + # The runtime logging config of the job. + # Corresponds to the JSON property `loggingConfig` + # @return [Google::Apis::DataprocV1::LoggingConfig] + attr_accessor :logging_config + + # 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. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # The HCFS URI of the script that contains SQL queries. + # Corresponds to the JSON property `queryFileUri` + # @return [String] + attr_accessor :query_file_uri + + # A list of queries to run on a cluster. + # Corresponds to the JSON property `queryList` + # @return [Google::Apis::DataprocV1::QueryList] + attr_accessor :query_list + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @script_variables = args[:script_variables] if args.key?(:script_variables) + @jar_file_uris = args[:jar_file_uris] if args.key?(:jar_file_uris) + @logging_config = args[:logging_config] if args.key?(:logging_config) + @properties = args[:properties] if args.key?(:properties) + @query_file_uri = args[:query_file_uri] if args.key?(:query_file_uri) + @query_list = args[:query_list] if args.key?(:query_list) + end + end + + # Describes the identifying information, config, and status of a cluster of + # Google Compute Engine instances. + class Cluster + include Google::Apis::Core::Hashable + + # Required The Google Cloud Platform project ID that the cluster belongs to. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # 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. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The status of a cluster and its instances. + # Corresponds to the JSON property `status` + # @return [Google::Apis::DataprocV1::ClusterStatus] + attr_accessor :status + + # 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. + # Corresponds to the JSON property `metrics` + # @return [Google::Apis::DataprocV1::ClusterMetrics] + attr_accessor :metrics + + # Output-only The previous cluster status. + # Corresponds to the JSON property `statusHistory` + # @return [Array] + attr_accessor :status_history + + # The cluster config. + # Corresponds to the JSON property `config` + # @return [Google::Apis::DataprocV1::ClusterConfig] + attr_accessor :config + + # Output-only A cluster UUID (Unique Universal Identifier). Cloud Dataproc + # generates this value when it creates the cluster. + # Corresponds to the JSON property `clusterUuid` + # @return [String] + attr_accessor :cluster_uuid + + # Required The cluster name. Cluster names within a project must be unique. + # Names of deleted clusters can be reused. + # Corresponds to the JSON property `clusterName` + # @return [String] + attr_accessor :cluster_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @project_id = args[:project_id] if args.key?(:project_id) + @labels = args[:labels] if args.key?(:labels) + @status = args[:status] if args.key?(:status) + @metrics = args[:metrics] if args.key?(:metrics) + @status_history = args[:status_history] if args.key?(:status_history) + @config = args[:config] if args.key?(:config) + @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) + @cluster_name = args[:cluster_name] if args.key?(:cluster_name) end end @@ -1298,272 +1818,24 @@ module Google class ListOperationsResponse include Google::Apis::Core::Hashable - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - # The standard List next-page token. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @operations = args[:operations] if args.key?(:operations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The location of diagnostic output. - class DiagnoseClusterResults - include Google::Apis::Core::Hashable - - # [Output-only] The Google Cloud Storage URI of the diagnostic output. This is a - # plain text file with a summary of collected diagnostics. - # Corresponds to the JSON property `outputUri` - # @return [String] - attr_accessor :output_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @output_uri = args[:output_uri] if args.key?(:output_uri) - end - end - - # Metadata describing the operation. - class ClusterOperationMetadata - include Google::Apis::Core::Hashable - - # Name of the cluster for the operation. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - # Cluster UUId for the operation. - # Corresponds to the JSON property `clusterUuid` - # @return [String] - attr_accessor :cluster_uuid - - # The status of the operation. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::ClusterOperationStatus] - attr_accessor :status - - # [Output-only] The previous operation status. - # Corresponds to the JSON property `statusHistory` - # @return [Array] - attr_accessor :status_history - - # [Output-only] The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # [Output-only] Short description of operation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @description = args[:description] if args.key?(:description) - end - end - - # The status of the operation. - class ClusterOperationStatus - include Google::Apis::Core::Hashable - - # A message containing the operation state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message containing the detailed operation state. - # Corresponds to the JSON property `innerState` - # @return [String] - attr_accessor :inner_state - - # A message containing any operation metadata details. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - # The time this state was entered. - # Corresponds to the JSON property `stateStartTime` - # @return [String] - attr_accessor :state_start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @inner_state = args[:inner_state] if args.key?(:inner_state) - @details = args[:details] if args.key?(:details) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) - end - end - - # The location where output from diagnostic command can be found. - class DiagnoseClusterOutputLocation - include Google::Apis::Core::Hashable - - # [Output-only] The Google Cloud Storage URI of the diagnostic output. This will - # be a plain text file with summary of collected diagnostics. - # Corresponds to the JSON property `outputUri` - # @return [String] - attr_accessor :output_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @output_uri = args[:output_uri] if args.key?(:output_uri) - end - end - - # Metadata describing the operation. - class OperationMetadata - include Google::Apis::Core::Hashable - - # A message containing the operation state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message containing the detailed operation state. - # Corresponds to the JSON property `innerState` - # @return [String] - attr_accessor :inner_state - - # A message containing any operation metadata details. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - # The time that the operation was requested. - # Corresponds to the JSON property `insertTime` - # @return [String] - attr_accessor :insert_time - - # The time that the operation was started by the server. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The time that the operation completed. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Name of the cluster for the operation. - # Corresponds to the JSON property `clusterName` - # @return [String] - attr_accessor :cluster_name - - # Cluster UUId for the operation. - # Corresponds to the JSON property `clusterUuid` - # @return [String] - attr_accessor :cluster_uuid - - # The status of the operation. - # Corresponds to the JSON property `status` - # @return [Google::Apis::DataprocV1::OperationStatus] - attr_accessor :status - - # [Output-only] Previous operation status. - # Corresponds to the JSON property `statusHistory` - # @return [Array] - attr_accessor :status_history - - # [Output-only] The operation type. - # Corresponds to the JSON property `operationType` - # @return [String] - attr_accessor :operation_type - - # [Output-only] Short description of operation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @inner_state = args[:inner_state] if args.key?(:inner_state) - @details = args[:details] if args.key?(:details) - @insert_time = args[:insert_time] if args.key?(:insert_time) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - @cluster_name = args[:cluster_name] if args.key?(:cluster_name) - @cluster_uuid = args[:cluster_uuid] if args.key?(:cluster_uuid) - @status = args[:status] if args.key?(:status) - @status_history = args[:status_history] if args.key?(:status_history) - @operation_type = args[:operation_type] if args.key?(:operation_type) - @description = args[:description] if args.key?(:description) - end - end - - # The status of the operation. - class OperationStatus - include Google::Apis::Core::Hashable - - # A message containing the operation state. - # Corresponds to the JSON property `state` - # @return [String] - attr_accessor :state - - # A message containing the detailed operation state. - # Corresponds to the JSON property `innerState` - # @return [String] - attr_accessor :inner_state - - # A message containing any operation metadata details. - # Corresponds to the JSON property `details` - # @return [String] - attr_accessor :details - - # The time this state was entered. - # Corresponds to the JSON property `stateStartTime` - # @return [String] - attr_accessor :state_start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @state = args[:state] if args.key?(:state) - @inner_state = args[:inner_state] if args.key?(:inner_state) - @details = args[:details] if args.key?(:details) - @state_start_time = args[:state_start_time] if args.key?(:state_start_time) + @operations = args[:operations] if args.key?(:operations) end end end diff --git a/generated/google/apis/dataproc_v1/representations.rb b/generated/google/apis/dataproc_v1/representations.rb index c519ae6bd..2017ca661 100644 --- a/generated/google/apis/dataproc_v1/representations.rb +++ b/generated/google/apis/dataproc_v1/representations.rb @@ -22,37 +22,7 @@ module Google module Apis module DataprocV1 - class Cluster - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClusterConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GceClusterConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InstanceGroupConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DiskConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ManagedGroupConfig + class OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,73 +34,31 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class NodeInitializationAction - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClusterStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListClustersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DiagnoseClusterRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SubmitJobRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Job - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class JobReference - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class JobPlacement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class HadoopJob + class PigJob class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LoggingConfig + class ClusterStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListClustersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Job class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -142,73 +70,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class PySparkJob - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HiveJob - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class QueryList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PigJob - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SparkSqlJob - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class JobStatus class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListJobsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelJobRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DiagnoseClusterResults - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClusterOperationMetadata + class ManagedGroupConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -220,13 +88,103 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HadoopJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class YarnApplication + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiagnoseClusterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiskConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterOperationMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HiveJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DiagnoseClusterResults + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PySparkJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GceClusterConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AcceleratorConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClusterMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LoggingConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DiagnoseClusterOutputLocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class OperationMetadata + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -238,80 +196,90 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Cluster - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :cluster_name, as: 'clusterName' - property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + class JobReference + class Representation < Google::Apis::Core::JsonRepresentation; end - property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation - - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation - - property :cluster_uuid, as: 'clusterUuid' - end + include Google::Apis::Core::JsonObjectSupport end - class ClusterConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :config_bucket, as: 'configBucket' - property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation + class SubmitJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - - property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - - property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - - property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation - - collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class GceClusterConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :zone_uri, as: 'zoneUri' - property :network_uri, as: 'networkUri' - property :subnetwork_uri, as: 'subnetworkUri' - collection :service_account_scopes, as: 'serviceAccountScopes' - collection :tags, as: 'tags' - hash :metadata, as: 'metadata' - end + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class InstanceGroupConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_instances, as: 'numInstances' - collection :instance_names, as: 'instanceNames' - property :image_uri, as: 'imageUri' - property :machine_type_uri, as: 'machineTypeUri' - property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :is_preemptible, as: 'isPreemptible' - property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation - - end + include Google::Apis::Core::JsonObjectSupport end - class DiskConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :boot_disk_size_gb, as: 'bootDiskSizeGb' - property :num_local_ssds, as: 'numLocalSsds' - end + class JobScheduling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class ManagedGroupConfig + class ListJobsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NodeInitializationAction + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelJobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SparkSqlJob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Cluster + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :instance_template_name, as: 'instanceTemplateName' - property :instance_group_manager_name, as: 'instanceGroupManagerName' + property :description, as: 'description' + property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation + + property :details, as: 'details' + property :state, as: 'state' + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + property :inner_state, as: 'innerState' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + collection :warnings, as: 'warnings' + property :insert_time, as: 'insertTime' + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation + + property :operation_type, as: 'operationType' end end @@ -323,41 +291,36 @@ module Google end end - class NodeInitializationAction + class JobPlacement # @private class Representation < Google::Apis::Core::JsonRepresentation - property :executable_file, as: 'executableFile' - property :execution_timeout, as: 'executionTimeout' + property :cluster_name, as: 'clusterName' + property :cluster_uuid, as: 'clusterUuid' + end + end + + class PigJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :continue_on_failure, as: 'continueOnFailure' + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + collection :jar_file_uris, as: 'jarFileUris' + hash :script_variables, as: 'scriptVariables' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' end end class ClusterStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' property :detail, as: 'detail' + property :state, as: 'state' property :state_start_time, as: 'stateStartTime' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :metadata, as: 'metadata' - property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation - - hash :response, as: 'response' - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' + property :substate, as: 'substate' end end @@ -370,45 +333,267 @@ module Google end end + class Job + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + + property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation + + property :driver_control_files_uri, as: 'driverControlFilesUri' + property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation + + property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation + + property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation + + hash :labels, as: 'labels' + property :driver_output_resource_uri, as: 'driverOutputResourceUri' + property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation + + property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + + collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation + + property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation + + property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation + + property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation + + end + end + + class SparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + property :main_class, as: 'mainClass' + collection :archive_uris, as: 'archiveUris' + property :main_jar_file_uri, as: 'mainJarFileUri' + end + end + + class JobStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :state, as: 'state' + property :details, as: 'details' + property :state_start_time, as: 'stateStartTime' + property :substate, as: 'substate' + end + end + + class ManagedGroupConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :instance_group_manager_name, as: 'instanceGroupManagerName' + property :instance_template_name, as: 'instanceTemplateName' + end + end + + class ClusterOperationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inner_state, as: 'innerState' + property :state_start_time, as: 'stateStartTime' + property :state, as: 'state' + property :details, as: 'details' + end + end + + class HadoopJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :main_class, as: 'mainClass' + collection :archive_uris, as: 'archiveUris' + property :main_jar_file_uri, as: 'mainJarFileUri' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + end + end + + class QueryList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :queries, as: 'queries' + end + end + + class YarnApplication + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tracking_url, as: 'trackingUrl' + property :progress, as: 'progress' + property :state, as: 'state' + property :name, as: 'name' + end + end + class DiagnoseClusterRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class SubmitJobRequest + class DiskConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation + property :boot_disk_size_gb, as: 'bootDiskSizeGb' + property :num_local_ssds, as: 'numLocalSsds' + end + end + + class ClusterOperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_type, as: 'operationType' + property :description, as: 'description' + collection :warnings, as: 'warnings' + hash :labels, as: 'labels' + property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation + + property :cluster_uuid, as: 'clusterUuid' + property :cluster_name, as: 'clusterName' + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class HiveJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jar_file_uris, as: 'jarFileUris' + hash :script_variables, as: 'scriptVariables' + hash :properties, as: 'properties' + property :continue_on_failure, as: 'continueOnFailure' + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation end end - class Job + class DiagnoseClusterResults # @private class Representation < Google::Apis::Core::JsonRepresentation - property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation + property :output_uri, as: 'outputUri' + end + end - property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation + class ClusterConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation + property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation + collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation - property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation + property :config_bucket, as: 'configBucket' + property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation - property :hive_job, as: 'hiveJob', class: Google::Apis::DataprocV1::HiveJob, decorator: Google::Apis::DataprocV1::HiveJob::Representation + property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation - property :pig_job, as: 'pigJob', class: Google::Apis::DataprocV1::PigJob, decorator: Google::Apis::DataprocV1::PigJob::Representation + property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation - property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation + end + end - property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + class PySparkJob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation + hash :properties, as: 'properties' + collection :args, as: 'args' + collection :file_uris, as: 'fileUris' + collection :python_file_uris, as: 'pythonFileUris' + property :main_python_file_uri, as: 'mainPythonFileUri' + collection :archive_uris, as: 'archiveUris' + end + end - property :driver_output_resource_uri, as: 'driverOutputResourceUri' - property :driver_control_files_uri, as: 'driverControlFilesUri' + class GceClusterConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :metadata, as: 'metadata' + property :internal_ip_only, as: 'internalIpOnly' + collection :service_account_scopes, as: 'serviceAccountScopes' + collection :tags, as: 'tags' + property :service_account, as: 'serviceAccount' + property :subnetwork_uri, as: 'subnetworkUri' + property :network_uri, as: 'networkUri' + property :zone_uri, as: 'zoneUri' + end + end + + class AcceleratorConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accelerator_count, as: 'acceleratorCount' + property :accelerator_type_uri, as: 'acceleratorTypeUri' + end + end + + class ClusterMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :yarn_metrics, as: 'yarnMetrics' + hash :hdfs_metrics, as: 'hdfsMetrics' + end + end + + class LoggingConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :driver_log_levels, as: 'driverLogLevels' + end + end + + class DiagnoseClusterOutputLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :output_uri, as: 'outputUri' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::DataprocV1::Status, decorator: Google::Apis::DataprocV1::Status::Representation + + hash :metadata, as: 'metadata' + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + end + end + + class OperationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inner_state, as: 'innerState' + property :state_start_time, as: 'stateStartTime' + property :state, as: 'state' + property :details, as: 'details' end end @@ -420,121 +605,44 @@ module Google end end - class JobPlacement + class SubmitJobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :cluster_name, as: 'clusterName' - property :cluster_uuid, as: 'clusterUuid' - end - end - - class HadoopJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :main_jar_file_uri, as: 'mainJarFileUri' - property :main_class, as: 'mainClass' - collection :args, as: 'args' - collection :jar_file_uris, as: 'jarFileUris' - collection :file_uris, as: 'fileUris' - collection :archive_uris, as: 'archiveUris' - hash :properties, as: 'properties' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + property :job, as: 'job', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation end end - class LoggingConfig + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :driver_log_levels, as: 'driverLogLevels' + property :code, as: 'code' + property :message, as: 'message' + collection :details, as: 'details' end end - class SparkJob + class InstanceGroupConfig # @private class Representation < Google::Apis::Core::JsonRepresentation - property :main_jar_file_uri, as: 'mainJarFileUri' - property :main_class, as: 'mainClass' - collection :args, as: 'args' - collection :jar_file_uris, as: 'jarFileUris' - collection :file_uris, as: 'fileUris' - collection :archive_uris, as: 'archiveUris' - hash :properties, as: 'properties' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation + + property :is_preemptible, as: 'isPreemptible' + property :image_uri, as: 'imageUri' + property :machine_type_uri, as: 'machineTypeUri' + collection :instance_names, as: 'instanceNames' + collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation + + property :num_instances, as: 'numInstances' + property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation end end - class PySparkJob + class JobScheduling # @private class Representation < Google::Apis::Core::JsonRepresentation - property :main_python_file_uri, as: 'mainPythonFileUri' - collection :args, as: 'args' - collection :python_file_uris, as: 'pythonFileUris' - collection :jar_file_uris, as: 'jarFileUris' - collection :file_uris, as: 'fileUris' - collection :archive_uris, as: 'archiveUris' - hash :properties, as: 'properties' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - end - end - - class HiveJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :query_file_uri, as: 'queryFileUri' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - property :continue_on_failure, as: 'continueOnFailure' - hash :script_variables, as: 'scriptVariables' - hash :properties, as: 'properties' - collection :jar_file_uris, as: 'jarFileUris' - end - end - - class QueryList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :queries, as: 'queries' - end - end - - class PigJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :query_file_uri, as: 'queryFileUri' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - property :continue_on_failure, as: 'continueOnFailure' - hash :script_variables, as: 'scriptVariables' - hash :properties, as: 'properties' - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - end - end - - class SparkSqlJob - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :query_file_uri, as: 'queryFileUri' - property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation - - hash :script_variables, as: 'scriptVariables' - hash :properties, as: 'properties' - collection :jar_file_uris, as: 'jarFileUris' - property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation - - end - end - - class JobStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :details, as: 'details' - property :state_start_time, as: 'stateStartTime' + property :max_failures_per_hour, as: 'maxFailuresPerHour' end end @@ -547,92 +655,58 @@ module Google end end + class NodeInitializationAction + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :executable_file, as: 'executableFile' + property :execution_timeout, as: 'executionTimeout' + end + end + class CancelJobRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end - class Empty + class SparkSqlJob # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :script_variables, as: 'scriptVariables' + collection :jar_file_uris, as: 'jarFileUris' + property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation + + hash :properties, as: 'properties' + property :query_file_uri, as: 'queryFileUri' + property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation + + end + end + + class Cluster + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :project_id, as: 'projectId' + hash :labels, as: 'labels' + property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation + + property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation + + collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation + + property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation + + property :cluster_uuid, as: 'clusterUuid' + property :cluster_name, as: 'clusterName' end end class ListOperationsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class DiagnoseClusterResults - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :output_uri, as: 'outputUri' - end - end - - class ClusterOperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cluster_name, as: 'clusterName' - property :cluster_uuid, as: 'clusterUuid' - property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation - - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation - - property :operation_type, as: 'operationType' - property :description, as: 'description' - end - end - - class ClusterOperationStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :inner_state, as: 'innerState' - property :details, as: 'details' - property :state_start_time, as: 'stateStartTime' - end - end - - class DiagnoseClusterOutputLocation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :output_uri, as: 'outputUri' - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :inner_state, as: 'innerState' - property :details, as: 'details' - property :insert_time, as: 'insertTime' - property :start_time, as: 'startTime' - property :end_time, as: 'endTime' - property :cluster_name, as: 'clusterName' - property :cluster_uuid, as: 'clusterUuid' - property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation - - collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation - - property :operation_type, as: 'operationType' - property :description, as: 'description' - end - end - - class OperationStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :state, as: 'state' - property :inner_state, as: 'innerState' - property :details, as: 'details' - property :state_start_time, as: 'stateStartTime' end end end diff --git a/generated/google/apis/dataproc_v1/service.rb b/generated/google/apis/dataproc_v1/service.rb index 775290b4b..fe833f1a5 100644 --- a/generated/google/apis/dataproc_v1/service.rb +++ b/generated/google/apis/dataproc_v1/service.rb @@ -46,13 +46,14 @@ module Google super('https://dataproc.googleapis.com/', '') end - # Creates a cluster in a project. + # Gets the resource representation for a cluster in a project. # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the cluster - # belongs to. + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [Google::Apis::DataprocV1::Cluster] cluster_object + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] cluster_name + # Required The cluster name. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -62,22 +63,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Cluster] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Operation] + # @return [Google::Apis::DataprocV1::Cluster] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options) - command.request_representation = Google::Apis::DataprocV1::Cluster::Representation - command.request_object = cluster_object - command.response_representation = Google::Apis::DataprocV1::Operation::Representation - command.response_class = Google::Apis::DataprocV1::Operation + def get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.response_representation = Google::Apis::DataprocV1::Cluster::Representation + command.response_class = Google::Apis::DataprocV1::Cluster command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -85,24 +85,39 @@ module Google # Updates a cluster in a project. # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project the cluster belongs to. + # Required The ID of the Google Cloud Platform project the cluster belongs to. # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. + # Required The Cloud Dataproc region in which to handle the request. # @param [String] cluster_name - # [Required] The cluster name. + # Required The cluster name. # @param [Google::Apis::DataprocV1::Cluster] cluster_object # @param [String] update_mask - # [Required] Specifies the path, relative to Cluster, of the field to update. - # For example, to change the number of workers in a cluster to 5, the - # update_mask parameter would be specified as config.worker_config.num_instances, - # and the `PATCH` request body would specify the new value, as follows: ` " - # config":` "workerConfig":` "numInstances":"5" ` ` ` Similarly, to change the - # number of preemptible workers in a cluster to 5, the update_mask parameter - # would be config.secondary_worker_config.num_instances, and the `PATCH` request - # body would be set as follows: ` "config":` "secondaryWorkerConfig":` " - # numInstances":"5" ` ` ` Note: Currently, config.worker_config.num_instances - # and config.secondary_worker_config.num_instances are the only fields that can - # be updated. + # Required Specifies the path, relative to Cluster, of the field to + # update. For example, to change the number of workers in a cluster to 5, the < + # code>update_mask parameter would be specified as config. + # worker_config.num_instances, and the PATCH request body would specify + # the new value, as follows: + # ` + # "config":` + # "workerConfig":` + # "numInstances":"5" + # ` + # ` + # ` + # Similarly, to change the number of preemptible workers in a cluster to 5, the < + # code>update_mask parameter would be config. + # secondary_worker_config.num_instances, and the PATCH request body would + # be set as follows: + # ` + # "config":` + # "secondaryWorkerConfig":` + # "numInstances":"5" + # ` + # ` + # ` + # Note: Currently, config.worker_config.num_instances and config.secondary_worker_config.num_instances are the + # only fields that can be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -135,129 +150,15 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a cluster in a project. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the cluster - # belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [String] cluster_name - # [Required] The cluster name. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) - command.response_representation = Google::Apis::DataprocV1::Operation::Representation - command.response_class = Google::Apis::DataprocV1::Operation - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['clusterName'] = cluster_name unless cluster_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the resource representation for a cluster in a project. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the cluster - # belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [String] cluster_name - # [Required] The cluster name. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Cluster] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Cluster] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) - command.response_representation = Google::Apis::DataprocV1::Cluster::Representation - command.response_class = Google::Apis::DataprocV1::Cluster - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['clusterName'] = cluster_name unless cluster_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists all regions/`region`/clusters in a project. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the cluster - # belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [Fixnum] page_size - # The standard List page size. - # @param [String] page_token - # The standard List page token. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListClustersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::ListClustersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_clusters(project_id, region, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options) - command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation - command.response_class = Google::Apis::DataprocV1::ListClustersResponse - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Gets cluster diagnostic information. After the operation completes, the - # Operation.response field contains `DiagnoseClusterOutputLocation`. + # Operation.response field contains DiagnoseClusterOutputLocation. # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the cluster - # belongs to. + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. + # Required The Cloud Dataproc region in which to handle the request. # @param [String] cluster_name - # [Required] The cluster name. + # Required The cluster name. # @param [Google::Apis::DataprocV1::DiagnoseClusterRequest] diagnose_cluster_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -290,93 +191,14 @@ module Google execute_or_queue_command(command, &block) end - # Submits a job to a cluster. + # Deletes a cluster in a project. # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options) - command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation - command.request_object = submit_job_request_object - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the resource representation for a job in a project. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # [Required] The job ID. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Job] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists regions/`region`/jobs in a project. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [Fixnum] page_size - # [Optional] The number of results to return in each response. - # @param [String] page_token - # [Optional] The page token, returned by a previous call, to request the next - # page of results. + # Required The Cloud Dataproc region in which to handle the request. # @param [String] cluster_name - # [Optional] If set, the returned jobs list includes only jobs that were - # submitted to the named cluster. - # @param [String] job_state_matcher - # [Optional] Specifies enumerated categories of jobs to list. + # Required The cluster name. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -386,40 +208,86 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::ListJobsResponse] + # @return [Google::Apis::DataprocV1::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_jobs(project_id, region, page_size: nil, page_token: nil, cluster_name: nil, job_state_matcher: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) - command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation - command.response_class = Google::Apis::DataprocV1::ListJobsResponse + def delete_cluster(project_id, region, cluster_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/clusters/{clusterName}', options) + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['clusterName'] = cluster_name unless cluster_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists all regions/`region`/clusters in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [Fixnum] page_size + # Optional The standard List page size. + # @param [String] 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], 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 = * + # @param [String] page_token + # Optional The standard List page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::ListClustersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListClustersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_clusters(project_id, region, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/clusters', options) + command.response_representation = Google::Apis::DataprocV1::ListClustersResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListClustersResponse command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['clusterName'] = cluster_name unless cluster_name.nil? - command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Starts a job cancellation request. To access the job resource after - # cancellation, call [regions/`region`/jobs.list](/dataproc/reference/rest/v1/ - # projects.regions.jobs/list) or [regions/`region`/jobs.get](/dataproc/reference/ - # rest/v1/projects.regions.jobs/get). + # Creates a cluster in a project. # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the job belongs to. + # Required The ID of the Google Cloud Platform project that the cluster belongs + # to. # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # [Required] The job ID. - # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object + # Required The Cloud Dataproc region in which to handle the request. + # @param [Google::Apis::DataprocV1::Cluster] cluster_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -429,36 +297,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::Operation] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::Job] + # @return [Google::Apis::DataprocV1::Operation] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options) - command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation - command.request_object = cancel_job_request_object - command.response_representation = Google::Apis::DataprocV1::Job::Representation - command.response_class = Google::Apis::DataprocV1::Job + def create_cluster(project_id, region, cluster_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/clusters', options) + command.request_representation = Google::Apis::DataprocV1::Cluster::Representation + command.request_object = cluster_object + command.response_representation = Google::Apis::DataprocV1::Operation::Representation + command.response_class = Google::Apis::DataprocV1::Operation command.params['projectId'] = project_id unless project_id.nil? command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes the job from the project. If the job is active, the delete fails, and - # the response returns `FAILED_PRECONDITION`. - # @param [String] project_id - # [Required] The ID of the Google Cloud Platform project that the job belongs to. - # @param [String] region - # [Required] The Cloud Dataproc region in which to handle the request. - # @param [String] job_id - # [Required] The job ID. + # 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. + # @param [String] name + # The name of the operation resource to be cancelled. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -476,13 +345,86 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) command.response_representation = Google::Apis::DataprocV1::Empty::Representation command.response_class = Google::Apis::DataprocV1::Empty - command.params['projectId'] = project_id unless project_id.nil? - command.params['region'] = region unless region.nil? - command.params['jobId'] = job_id unless job_id.nil? + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] name + # The name of the operation collection. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] filter + # The standard list filter. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -519,18 +461,225 @@ module Google execute_or_queue_command(command, &block) end - # 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`. - # @param [String] name - # The name of the operation collection. + # Starts a job cancellation request. To access the job resource after + # cancellation, call regions/`region`/jobs.list or regions/`region`/jobs.get. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [Google::Apis::DataprocV1::CancelJobRequest] cancel_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_job(project_id, region, job_id, cancel_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel', options) + command.request_representation = Google::Apis::DataprocV1::CancelJobRequest::Representation + command.request_object = cancel_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a job in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [Google::Apis::DataprocV1::Job] job_object + # @param [String] update_mask + # Required Specifies the path, relative to Job, of the field to + # update. For example, to update the labels of a Job the update_mask + # parameter would be specified as labels, and the PATCH request + # body would specify the new value. Note: Currently, + # labels is the only field that can be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_region_job(project_id, region, job_id, job_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.request_representation = Google::Apis::DataprocV1::Job::Representation + command.request_object = job_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the resource representation for a job in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Submits a job to a cluster. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [Google::Apis::DataprocV1::SubmitJobRequest] submit_job_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Job] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Job] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def submit_job(project_id, region, submit_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}/regions/{region}/jobs:submit', options) + command.request_representation = Google::Apis::DataprocV1::SubmitJobRequest::Representation + command.request_object = submit_job_request_object + command.response_representation = Google::Apis::DataprocV1::Job::Representation + command.response_class = Google::Apis::DataprocV1::Job + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the job from the project. If the job is active, the delete fails, and + # the response returns FAILED_PRECONDITION. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. + # @param [String] job_id + # Required The job ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DataprocV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_job(project_id, region, job_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/projects/{projectId}/regions/{region}/jobs/{jobId}', options) + command.response_representation = Google::Apis::DataprocV1::Empty::Representation + command.response_class = Google::Apis::DataprocV1::Empty + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? + command.params['jobId'] = job_id unless job_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists regions/`region`/jobs in a project. + # @param [String] project_id + # Required The ID of the Google Cloud Platform project that the job belongs to. + # @param [String] region + # Required The Cloud Dataproc region in which to handle the request. # @param [String] filter - # The standard list filter. - # @param [Fixnum] page_size - # The standard list page size. + # Optional A filter constraining the jobs to list. Filters are case-sensitive + # and have the following syntax:field = value AND field = value ...where field + # is status.state or labels.[KEY], and [KEY] is a label key. value can be * to + # match all values. status.state can be either ACTIVE or INACTIVE. Only the + # logical AND operator is supported; space-separated items are treated as having + # an implicit AND operator.Example filter:status.state = ACTIVE AND labels.env = + # staging AND labels.starred = * + # @param [String] job_state_matcher + # Optional Specifies enumerated categories of jobs to list (default = match ALL + # jobs). # @param [String] page_token - # The standard list page token. + # Optional The page token, returned by a previous call, to request the next page + # of results. + # @param [Fixnum] page_size + # Optional The number of results to return in each response. + # @param [String] cluster_name + # Optional If set, the returned jobs list includes only jobs that were submitted + # to the named cluster. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -540,89 +689,25 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::ListOperationsResponse] parsed result object + # @yieldparam result [Google::Apis::DataprocV1::ListJobsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::DataprocV1::ListOperationsResponse] + # @return [Google::Apis::DataprocV1::ListJobsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::DataprocV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::DataprocV1::ListOperationsResponse - command.params['name'] = name unless name.nil? + def list_jobs(project_id, region, filter: nil, job_state_matcher: nil, page_token: nil, page_size: nil, cluster_name: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/projects/{projectId}/regions/{region}/jobs', options) + command.response_representation = Google::Apis::DataprocV1::ListJobsResponse::Representation + command.response_class = Google::Apis::DataprocV1::ListJobsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.params['region'] = region unless region.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageSize'] = page_size unless page_size.nil? + command.query['jobStateMatcher'] = job_state_matcher unless job_state_matcher.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] name - # The name of the operation resource to be cancelled. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def cancel_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:cancel', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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`. - # @param [String] name - # The name of the operation resource to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::DataprocV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::DataprocV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::DataprocV1::Empty::Representation - command.response_class = Google::Apis::DataprocV1::Empty - command.params['name'] = name unless name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['clusterName'] = cluster_name unless cluster_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/datastore_v1.rb b/generated/google/apis/datastore_v1.rb new file mode 100644 index 000000000..12f6563a0 --- /dev/null +++ b/generated/google/apis/datastore_v1.rb @@ -0,0 +1,38 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/datastore_v1/service.rb' +require 'google/apis/datastore_v1/classes.rb' +require 'google/apis/datastore_v1/representations.rb' + +module Google + module Apis + # Google Cloud Datastore API + # + # Accesses the schemaless NoSQL database to provide fully managed, robust, + # scalable storage for your application. + # + # @see https://cloud.google.com/datastore/ + module DatastoreV1 + VERSION = 'V1' + REVISION = '20170123' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View and manage your Google Cloud Datastore data + AUTH_DATASTORE = 'https://www.googleapis.com/auth/datastore' + end + end +end diff --git a/generated/google/apis/datastore_v1/classes.rb b/generated/google/apis/datastore_v1/classes.rb new file mode 100644 index 000000000..60f7a891b --- /dev/null +++ b/generated/google/apis/datastore_v1/classes.rb @@ -0,0 +1,1289 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatastoreV1 + + # A message that can hold any of the supported value types and associated + # metadata. + class Value + include Google::Apis::Core::Hashable + + # A UTF-8 encoded string value. + # When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 + # bytes. + # Otherwise, may be set to at least 1,000,000 bytes. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # An array value. + # Corresponds to the JSON property `arrayValue` + # @return [Google::Apis::DatastoreV1::ArrayValue] + attr_accessor :array_value + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `entityValue` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :entity_value + + # The `meaning` field should only be populated for backwards compatibility. + # Corresponds to the JSON property `meaning` + # @return [Fixnum] + attr_accessor :meaning + + # An integer value. + # Corresponds to the JSON property `integerValue` + # @return [String] + attr_accessor :integer_value + + # A double value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # A blob value. + # May have at most 1,000,000 bytes. + # When `exclude_from_indexes` is false, may have at most 1500 bytes. + # In JSON requests, must be base64-encoded. + # Corresponds to the JSON property `blobValue` + # @return [String] + attr_accessor :blob_value + + # 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 <= 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. + # Corresponds to the JSON property `geoPointValue` + # @return [Google::Apis::DatastoreV1::LatLng] + attr_accessor :geo_point_value + + # A null value. + # Corresponds to the JSON property `nullValue` + # @return [String] + attr_accessor :null_value + + # A boolean value. + # Corresponds to the JSON property `booleanValue` + # @return [Boolean] + attr_accessor :boolean_value + alias_method :boolean_value?, :boolean_value + + # A unique identifier for an 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. + # Corresponds to the JSON property `keyValue` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key_value + + # If the value should be excluded from all indexes including those defined + # explicitly. + # Corresponds to the JSON property `excludeFromIndexes` + # @return [Boolean] + attr_accessor :exclude_from_indexes + alias_method :exclude_from_indexes?, :exclude_from_indexes + + # A timestamp value. + # When stored in the Datastore, precise only to microseconds; + # any additional precision is rounded down. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @string_value = args[:string_value] if args.key?(:string_value) + @array_value = args[:array_value] if args.key?(:array_value) + @entity_value = args[:entity_value] if args.key?(:entity_value) + @meaning = args[:meaning] if args.key?(:meaning) + @integer_value = args[:integer_value] if args.key?(:integer_value) + @double_value = args[:double_value] if args.key?(:double_value) + @blob_value = args[:blob_value] if args.key?(:blob_value) + @geo_point_value = args[:geo_point_value] if args.key?(:geo_point_value) + @null_value = args[:null_value] if args.key?(:null_value) + @boolean_value = args[:boolean_value] if args.key?(:boolean_value) + @key_value = args[:key_value] if args.key?(:key_value) + @exclude_from_indexes = args[:exclude_from_indexes] if args.key?(:exclude_from_indexes) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + end + end + + # The options shared by read requests. + class ReadOptions + include Google::Apis::Core::Hashable + + # The identifier of the transaction in which to read. A + # transaction identifier is returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # @return [String] + attr_accessor :transaction + + # The non-transactional read consistency to use. + # Cannot be set to `STRONG` for global queries. + # Corresponds to the JSON property `readConsistency` + # @return [String] + attr_accessor :read_consistency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + @read_consistency = args[:read_consistency] if args.key?(:read_consistency) + end + end + + # The desired order for a specific property. + class PropertyOrder + include Google::Apis::Core::Hashable + + # The direction to order by. Defaults to `ASCENDING`. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @direction = args[:direction] if args.key?(:direction) + @property = args[:property] if args.key?(:property) + end + end + + # The request for Datastore.Commit. + class CommitRequest + include Google::Apis::Core::Hashable + + # The identifier of the transaction associated with the commit. A + # transaction identifier is returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # @return [String] + attr_accessor :transaction + + # The type of commit to perform. Defaults to `TRANSACTIONAL`. + # Corresponds to the JSON property `mode` + # @return [String] + attr_accessor :mode + + # The mutations to perform. + # When mode is `TRANSACTIONAL`, mutations affecting a single entity are + # applied in order. The following sequences of mutations affecting a single + # entity are not permitted in a single `Commit` request: + # - `insert` followed by `insert` + # - `update` followed by `insert` + # - `upsert` followed by `insert` + # - `delete` followed by `update` + # When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single + # entity. + # Corresponds to the JSON property `mutations` + # @return [Array] + attr_accessor :mutations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + @mode = args[:mode] if args.key?(:mode) + @mutations = args[:mutations] if args.key?(:mutations) + end + end + + # A query for entities. + class Query + include Google::Apis::Core::Hashable + + # The maximum number of results to return. Applies after all other + # constraints. Optional. + # Unspecified is interpreted as no limit. + # Must be >= 0 if specified. + # Corresponds to the JSON property `limit` + # @return [Fixnum] + attr_accessor :limit + + # A holder for any type of filter. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::DatastoreV1::Filter] + attr_accessor :filter + + # An ending point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to limit the same query](https://cloud.google.com/datastore/ + # docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `endCursor` + # @return [String] + attr_accessor :end_cursor + + # The properties to make distinct. The query results will contain the first + # result for each distinct combination of values for the given properties + # (if empty, all results are returned). + # Corresponds to the JSON property `distinctOn` + # @return [Array] + attr_accessor :distinct_on + + # The number of results to skip. Applies before limit, but after all other + # constraints. Optional. Must be >= 0 if specified. + # Corresponds to the JSON property `offset` + # @return [Fixnum] + attr_accessor :offset + + # The projection to return. Defaults to returning all properties. + # Corresponds to the JSON property `projection` + # @return [Array] + attr_accessor :projection + + # The order to apply to the query results (if empty, order is unspecified). + # Corresponds to the JSON property `order` + # @return [Array] + attr_accessor :order + + # A starting point for the query results. Query cursors are + # returned in query result batches and + # [can only be used to continue the same query](https://cloud.google.com/ + # datastore/docs/concepts/queries#cursors_limits_and_offsets). + # Corresponds to the JSON property `startCursor` + # @return [String] + attr_accessor :start_cursor + + # The kinds to query (if empty, returns entities of all kinds). + # Currently at most 1 kind may be specified. + # Corresponds to the JSON property `kind` + # @return [Array] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @limit = args[:limit] if args.key?(:limit) + @filter = args[:filter] if args.key?(:filter) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @distinct_on = args[:distinct_on] if args.key?(:distinct_on) + @offset = args[:offset] if args.key?(:offset) + @projection = args[:projection] if args.key?(:projection) + @order = args[:order] if args.key?(:order) + @start_cursor = args[:start_cursor] if args.key?(:start_cursor) + @kind = args[:kind] if args.key?(:kind) + end + end + + # The request for Datastore.Rollback. + class RollbackRequest + include Google::Apis::Core::Hashable + + # The transaction identifier, returned by a call to + # Datastore.BeginTransaction. + # Corresponds to the JSON property `transaction` + # @return [String] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # The result of fetching an entity from Datastore. + class EntityResult + include Google::Apis::Core::Hashable + + # A cursor that points to the position after the result entity. + # Set only when the `EntityResult` is part of a `QueryResultBatch` message. + # Corresponds to the JSON property `cursor` + # @return [String] + attr_accessor :cursor + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `entity` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :entity + + # The version of the entity, a strictly positive number that monotonically + # increases with changes to the entity. + # This field is set for `FULL` entity + # results. + # For missing entities in `LookupResponse`, this + # is the version of the snapshot that was used to look up the entity, and it + # is always set except for eventually consistent reads. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cursor = args[:cursor] if args.key?(:cursor) + @entity = args[:entity] if args.key?(:entity) + @version = args[:version] if args.key?(:version) + end + end + + # A binding parameter for a GQL query. + class GqlQueryParameter + include Google::Apis::Core::Hashable + + # A message that can hold any of the supported value types and associated + # metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DatastoreV1::Value] + attr_accessor :value + + # A query cursor. Query cursors are returned in query + # result batches. + # Corresponds to the JSON property `cursor` + # @return [String] + attr_accessor :cursor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @cursor = args[:cursor] if args.key?(:cursor) + end + end + + # An array value. + class ArrayValue + include Google::Apis::Core::Hashable + + # Values in the array. + # The order of this array may not be preserved if it contains a mix of + # indexed and unindexed values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + + # A holder for any type of filter. + class Filter + include Google::Apis::Core::Hashable + + # A filter on a specific property. + # Corresponds to the JSON property `propertyFilter` + # @return [Google::Apis::DatastoreV1::PropertyFilter] + attr_accessor :property_filter + + # A filter that merges multiple other filters using the given operator. + # Corresponds to the JSON property `compositeFilter` + # @return [Google::Apis::DatastoreV1::CompositeFilter] + attr_accessor :composite_filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_filter = args[:property_filter] if args.key?(:property_filter) + @composite_filter = args[:composite_filter] if args.key?(:composite_filter) + end + end + + # The response for Datastore.BeginTransaction. + class BeginTransactionResponse + include Google::Apis::Core::Hashable + + # The transaction identifier (always present). + # Corresponds to the JSON property `transaction` + # @return [String] + attr_accessor :transaction + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @transaction = args[:transaction] if args.key?(:transaction) + end + end + + # 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. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + class PartitionId + include Google::Apis::Core::Hashable + + # If not empty, the ID of the namespace to which the entities belong. + # Corresponds to the JSON property `namespaceId` + # @return [String] + attr_accessor :namespace_id + + # The ID of the project to which the entities belong. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_id = args[:namespace_id] if args.key?(:namespace_id) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # A batch of results produced by a query. + class QueryResultBatch + include Google::Apis::Core::Hashable + + # The version number of the snapshot this batch was returned from. + # This applies to the range of results from the query's `start_cursor` (or + # the beginning of the query if no cursor was given) to this batch's + # `end_cursor` (not the query's `end_cursor`). + # In a single transaction, subsequent query result batches for the same query + # can have a greater snapshot version number. Each batch's snapshot version + # is valid for all preceding batches. + # The value will be zero for eventually consistent queries. + # Corresponds to the JSON property `snapshotVersion` + # @return [String] + attr_accessor :snapshot_version + + # A cursor that points to the position after the last result in the batch. + # Corresponds to the JSON property `endCursor` + # @return [String] + attr_accessor :end_cursor + + # A cursor that points to the position after the last skipped result. + # Will be set when `skipped_results` != 0. + # Corresponds to the JSON property `skippedCursor` + # @return [String] + attr_accessor :skipped_cursor + + # The result type for every entity in `entity_results`. + # Corresponds to the JSON property `entityResultType` + # @return [String] + attr_accessor :entity_result_type + + # The state of the query after the current batch. + # Corresponds to the JSON property `moreResults` + # @return [String] + attr_accessor :more_results + + # The results for this batch. + # Corresponds to the JSON property `entityResults` + # @return [Array] + attr_accessor :entity_results + + # The number of results skipped, typically because of an offset. + # Corresponds to the JSON property `skippedResults` + # @return [Fixnum] + attr_accessor :skipped_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @snapshot_version = args[:snapshot_version] if args.key?(:snapshot_version) + @end_cursor = args[:end_cursor] if args.key?(:end_cursor) + @skipped_cursor = args[:skipped_cursor] if args.key?(:skipped_cursor) + @entity_result_type = args[:entity_result_type] if args.key?(:entity_result_type) + @more_results = args[:more_results] if args.key?(:more_results) + @entity_results = args[:entity_results] if args.key?(:entity_results) + @skipped_results = args[:skipped_results] if args.key?(:skipped_results) + end + end + + # The request for Datastore.AllocateIds. + class AllocateIdsRequest + include Google::Apis::Core::Hashable + + # A list of keys with incomplete key paths for which to allocate IDs. + # No key may be reserved/read-only. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + end + end + + # A representation of a kind. + class KindExpression + include Google::Apis::Core::Hashable + + # The name of the kind. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # A filter on a specific property. + class PropertyFilter + include Google::Apis::Core::Hashable + + # A message that can hold any of the supported value types and associated + # metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::DatastoreV1::Value] + attr_accessor :value + + # The operator to filter by. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @op = args[:op] if args.key?(:op) + @property = args[:property] if args.key?(:property) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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 `""`. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # 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. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # 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 `""`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + end + end + + # The response for Datastore.Rollback. + # (an empty message). + class RollbackResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A reference to a property relative to the kind expressions. + class PropertyReference + include Google::Apis::Core::Hashable + + # The name of the property. + # If name includes "."s, it may be interpreted as a property name path. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # A representation of a property in a projection. + class Projection + include Google::Apis::Core::Hashable + + # A reference to a property relative to the kind expressions. + # Corresponds to the JSON property `property` + # @return [Google::Apis::DatastoreV1::PropertyReference] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + end + end + + # The result of applying a mutation. + class MutationResult + include Google::Apis::Core::Hashable + + # Whether a conflict was detected for this mutation. Always false when a + # conflict detection strategy field is not set in the mutation. + # Corresponds to the JSON property `conflictDetected` + # @return [Boolean] + attr_accessor :conflict_detected + alias_method :conflict_detected?, :conflict_detected + + # A unique identifier for an 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. + # Corresponds to the JSON property `key` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key + + # The version of the entity on the server after processing the mutation. If + # the mutation doesn't change anything on the server, then the version will + # be the version of the current entity or, if no entity is present, a version + # that is strictly greater than the version of any previous entity and less + # than the version of any possible future entity. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conflict_detected = args[:conflict_detected] if args.key?(:conflict_detected) + @key = args[:key] if args.key?(:key) + @version = args[:version] if args.key?(:version) + end + end + + # The response for Datastore.AllocateIds. + class AllocateIdsResponse + include Google::Apis::Core::Hashable + + # The keys specified in the request (in the same order), each with + # its key path completed with a newly allocated ID. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @keys = args[:keys] if args.key?(:keys) + end + end + + # The response for Datastore.Lookup. + class LookupResponse + include Google::Apis::Core::Hashable + + # Entities found as `ResultType.FULL` entities. The order of results in this + # field is undefined and has no relation to the order of the keys in the + # input. + # Corresponds to the JSON property `found` + # @return [Array] + attr_accessor :found + + # Entities not found as `ResultType.KEY_ONLY` entities. The order of results + # in this field is undefined and has no relation to the order of the keys + # in the input. + # Corresponds to the JSON property `missing` + # @return [Array] + attr_accessor :missing + + # A list of keys that were not looked up due to resource constraints. The + # order of results in this field is undefined and has no relation to the + # order of the keys in the input. + # Corresponds to the JSON property `deferred` + # @return [Array] + attr_accessor :deferred + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @found = args[:found] if args.key?(:found) + @missing = args[:missing] if args.key?(:missing) + @deferred = args[:deferred] if args.key?(:deferred) + end + end + + # The request for Datastore.BeginTransaction. + class BeginTransactionRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A unique identifier for an 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 + include Google::Apis::Core::Hashable + + # 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. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DatastoreV1::PartitionId] + attr_accessor :partition_id + + # 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_. + # An entity path is always fully complete: *all* of the entity's ancestors + # are required to be in the path along with the entity identifier itself. + # The only exception is that in some documented cases, the identifier in the + # last path element (for the entity) itself may be omitted. For example, + # the last path element of the key of `Mutation.insert` may have no + # identifier. + # A path can never be empty, and a path can have at most 100 elements. + # Corresponds to the JSON property `path` + # @return [Array] + attr_accessor :path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @path = args[:path] if args.key?(:path) + end + end + + # The response for Datastore.RunQuery. + class RunQueryResponse + include Google::Apis::Core::Hashable + + # A batch of results produced by a query. + # Corresponds to the JSON property `batch` + # @return [Google::Apis::DatastoreV1::QueryResultBatch] + attr_accessor :batch + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @batch = args[:batch] if args.key?(:batch) + @query = args[:query] if args.key?(:query) + end + end + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + class Entity + include Google::Apis::Core::Hashable + + # The entity's properties. + # The map's keys are property names. + # A property name matching regex `__.*__` is reserved. + # A reserved property name is forbidden in certain documented contexts. + # The name must not contain more than 500 characters. + # The name cannot be `""`. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # A unique identifier for an 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. + # Corresponds to the JSON property `key` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :key + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + @key = args[:key] if args.key?(:key) + end + end + + # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + class GqlQuery + include Google::Apis::Core::Hashable + + # A string of the format described + # [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `queryString` + # @return [String] + attr_accessor :query_string + + # For each non-reserved named binding site in the query string, there must be + # a named parameter with that name, but not necessarily the inverse. + # Key must match regex `A-Za-z_$*`, must not match regex + # `__.*__`, and must not be `""`. + # Corresponds to the JSON property `namedBindings` + # @return [Hash] + attr_accessor :named_bindings + + # When false, the query string must not contain any literals and instead must + # bind all values. For example, + # `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while + # `SELECT * FROM Kind WHERE a = @value` is. + # Corresponds to the JSON property `allowLiterals` + # @return [Boolean] + attr_accessor :allow_literals + alias_method :allow_literals?, :allow_literals + + # Numbered binding site @1 references the first numbered parameter, + # effectively using 1-based indexing, rather than the usual 0. + # For each binding site numbered i in `query_string`, there must be an i-th + # numbered parameter. The inverse must also be true. + # Corresponds to the JSON property `positionalBindings` + # @return [Array] + attr_accessor :positional_bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query_string = args[:query_string] if args.key?(:query_string) + @named_bindings = args[:named_bindings] if args.key?(:named_bindings) + @allow_literals = args[:allow_literals] if args.key?(:allow_literals) + @positional_bindings = args[:positional_bindings] if args.key?(:positional_bindings) + end + end + + # A mutation to apply to an entity. + class Mutation + include Google::Apis::Core::Hashable + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `insert` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :insert + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `update` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :update + + # The version of the entity that this mutation is being applied to. If this + # does not match the current version on the server, the mutation conflicts. + # Corresponds to the JSON property `baseVersion` + # @return [String] + attr_accessor :base_version + + # A Datastore data object. + # An entity is limited to 1 megabyte when stored. That _roughly_ + # corresponds to a limit of 1 megabyte for the serialized form of this + # message. + # Corresponds to the JSON property `upsert` + # @return [Google::Apis::DatastoreV1::Entity] + attr_accessor :upsert + + # A unique identifier for an 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. + # Corresponds to the JSON property `delete` + # @return [Google::Apis::DatastoreV1::Key] + attr_accessor :delete + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert = args[:insert] if args.key?(:insert) + @update = args[:update] if args.key?(:update) + @base_version = args[:base_version] if args.key?(:base_version) + @upsert = args[:upsert] if args.key?(:upsert) + @delete = args[:delete] if args.key?(:delete) + end + end + + # The response for Datastore.Commit. + class CommitResponse + include Google::Apis::Core::Hashable + + # The result of performing the mutations. + # The i-th mutation result corresponds to the i-th mutation in the request. + # Corresponds to the JSON property `mutationResults` + # @return [Array] + attr_accessor :mutation_results + + # The number of index entries updated during the commit, or zero if none were + # updated. + # Corresponds to the JSON property `indexUpdates` + # @return [Fixnum] + attr_accessor :index_updates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mutation_results = args[:mutation_results] if args.key?(:mutation_results) + @index_updates = args[:index_updates] if args.key?(:index_updates) + end + end + + # The request for Datastore.RunQuery. + class RunQueryRequest + include Google::Apis::Core::Hashable + + # 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. + # Partition dimensions: + # - May be `""`. + # - Must be valid UTF-8 bytes. + # - Must have values that match regex `[A-Za-z\d\.\-_]`1,100`` + # If the value of any dimension matches regex `__.*__`, the partition is + # reserved/read-only. + # A reserved/read-only partition ID is forbidden in certain documented + # contexts. + # Foreign partition IDs (in which the project ID does + # not match the context project ID ) are discouraged. + # Reads and writes of foreign partition IDs may fail if the project is not in an + # active state. + # Corresponds to the JSON property `partitionId` + # @return [Google::Apis::DatastoreV1::PartitionId] + attr_accessor :partition_id + + # A [GQL query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). + # Corresponds to the JSON property `gqlQuery` + # @return [Google::Apis::DatastoreV1::GqlQuery] + attr_accessor :gql_query + + # The options shared by read requests. + # Corresponds to the JSON property `readOptions` + # @return [Google::Apis::DatastoreV1::ReadOptions] + attr_accessor :read_options + + # A query for entities. + # Corresponds to the JSON property `query` + # @return [Google::Apis::DatastoreV1::Query] + attr_accessor :query + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @partition_id = args[:partition_id] if args.key?(:partition_id) + @gql_query = args[:gql_query] if args.key?(:gql_query) + @read_options = args[:read_options] if args.key?(:read_options) + @query = args[:query] if args.key?(:query) + end + end + + # The request for Datastore.Lookup. + class LookupRequest + include Google::Apis::Core::Hashable + + # The options shared by read requests. + # Corresponds to the JSON property `readOptions` + # @return [Google::Apis::DatastoreV1::ReadOptions] + attr_accessor :read_options + + # Keys of entities to look up. + # Corresponds to the JSON property `keys` + # @return [Array] + attr_accessor :keys + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_options = args[:read_options] if args.key?(:read_options) + @keys = args[:keys] if args.key?(:keys) + end + end + + # 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 <= 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 + include Google::Apis::Core::Hashable + + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + # The longitude in degrees. It must be in the range [-180.0, +180.0]. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) + end + end + + # A filter that merges multiple other filters using the given operator. + class CompositeFilter + include Google::Apis::Core::Hashable + + # The operator for combining multiple filters. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # The list of filters to combine. + # Must contain at least one filter. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @op = args[:op] if args.key?(:op) + @filters = args[:filters] if args.key?(:filters) + end + end + end + end +end diff --git a/generated/google/apis/datastore_v1/representations.rb b/generated/google/apis/datastore_v1/representations.rb new file mode 100644 index 000000000..bd62ceea7 --- /dev/null +++ b/generated/google/apis/datastore_v1/representations.rb @@ -0,0 +1,572 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatastoreV1 + + class Value + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReadOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PropertyOrder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CommitRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Query + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RollbackRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EntityResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GqlQueryParameter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ArrayValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Filter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BeginTransactionResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PartitionId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryResultBatch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AllocateIdsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KindExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PropertyFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RollbackResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PropertyReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Projection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MutationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AllocateIdsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LookupResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BeginTransactionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Key + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RunQueryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Entity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GqlQuery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Mutation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CommitResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RunQueryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LookupRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompositeFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Value + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :string_value, as: 'stringValue' + property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation + + property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :meaning, as: 'meaning' + property :integer_value, as: 'integerValue' + property :double_value, as: 'doubleValue' + property :blob_value, :base64 => true, as: 'blobValue' + property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation + + property :null_value, as: 'nullValue' + property :boolean_value, as: 'booleanValue' + property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :exclude_from_indexes, as: 'excludeFromIndexes' + property :timestamp_value, as: 'timestampValue' + end + end + + class ReadOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + property :read_consistency, as: 'readConsistency' + end + end + + class PropertyOrder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :direction, as: 'direction' + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + end + end + + class CommitRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + property :mode, as: 'mode' + collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation + + end + end + + class Query + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :limit, as: 'limit' + property :filter, as: 'filter', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation + + property :end_cursor, :base64 => true, as: 'endCursor' + collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + property :offset, as: 'offset' + collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation + + collection :order, as: 'order', class: Google::Apis::DatastoreV1::PropertyOrder, decorator: Google::Apis::DatastoreV1::PropertyOrder::Representation + + property :start_cursor, :base64 => true, as: 'startCursor' + collection :kind, as: 'kind', class: Google::Apis::DatastoreV1::KindExpression, decorator: Google::Apis::DatastoreV1::KindExpression::Representation + + end + end + + class RollbackRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + end + end + + class EntityResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cursor, :base64 => true, as: 'cursor' + property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :version, as: 'version' + end + end + + class GqlQueryParameter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + property :cursor, :base64 => true, as: 'cursor' + end + end + + class ArrayValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + end + end + + class Filter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation + + property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation + + end + end + + class BeginTransactionResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :transaction, :base64 => true, as: 'transaction' + end + end + + class PartitionId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_id, as: 'namespaceId' + property :project_id, as: 'projectId' + end + end + + class QueryResultBatch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :snapshot_version, as: 'snapshotVersion' + property :end_cursor, :base64 => true, as: 'endCursor' + property :skipped_cursor, :base64 => true, as: 'skippedCursor' + property :entity_result_type, as: 'entityResultType' + property :more_results, as: 'moreResults' + collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + property :skipped_results, as: 'skippedResults' + end + end + + class AllocateIdsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class KindExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class PropertyFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + property :op, as: 'op' + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + end + end + + class PathElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :id, as: 'id' + property :name, as: 'name' + end + end + + class RollbackResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class PropertyReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class Projection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation + + end + end + + class MutationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conflict_detected, as: 'conflictDetected' + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + property :version, as: 'version' + end + end + + class AllocateIdsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class LookupResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation + + collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class BeginTransactionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Key + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation + + collection :path, as: 'path', class: Google::Apis::DatastoreV1::PathElement, decorator: Google::Apis::DatastoreV1::PathElement::Representation + + end + end + + class RunQueryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation + + property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation + + end + end + + class Entity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation + + property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class GqlQuery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query_string, as: 'queryString' + hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + property :allow_literals, as: 'allowLiterals' + collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation + + end + end + + class Mutation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :base_version, as: 'baseVersion' + property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation + + property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class CommitResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation + + property :index_updates, as: 'indexUpdates' + end + end + + class RunQueryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation + + property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation + + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + + property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation + + end + end + + class LookupRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation + + collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation + + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class CompositeFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :op, as: 'op' + collection :filters, as: 'filters', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation + + end + end + end + end +end diff --git a/generated/google/apis/datastore_v1/service.rb b/generated/google/apis/datastore_v1/service.rb new file mode 100644 index 000000000..9d8a295a7 --- /dev/null +++ b/generated/google/apis/datastore_v1/service.rb @@ -0,0 +1,259 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DatastoreV1 + # Google Cloud Datastore API + # + # Accesses the schemaless NoSQL database to provide fully managed, robust, + # scalable storage for your application. + # + # @example + # require 'google/apis/datastore_v1' + # + # Datastore = Google::Apis::DatastoreV1 # Alias the module + # service = Datastore::DatastoreService.new + # + # @see https://cloud.google.com/datastore/ + class DatastoreService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://datastore.googleapis.com/', '') + end + + # Queries for entities. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::RunQueryRequest] run_query_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::RunQueryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::RunQueryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def run_project_query(project_id, run_query_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:runQuery', options) + command.request_representation = Google::Apis::DatastoreV1::RunQueryRequest::Representation + command.request_object = run_query_request_object + command.response_representation = Google::Apis::DatastoreV1::RunQueryResponse::Representation + command.response_class = Google::Apis::DatastoreV1::RunQueryResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Begins a new transaction. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::BeginTransactionRequest] begin_transaction_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::BeginTransactionResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::BeginTransactionResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def begin_project_transaction(project_id, begin_transaction_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:beginTransaction', options) + command.request_representation = Google::Apis::DatastoreV1::BeginTransactionRequest::Representation + command.request_object = begin_transaction_request_object + command.response_representation = Google::Apis::DatastoreV1::BeginTransactionResponse::Representation + command.response_class = Google::Apis::DatastoreV1::BeginTransactionResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Allocates IDs for the given keys, which is useful for referencing an entity + # before it is inserted. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::AllocateIdsRequest] allocate_ids_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::AllocateIdsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::AllocateIdsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def allocate_project_ids(project_id, allocate_ids_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:allocateIds', options) + command.request_representation = Google::Apis::DatastoreV1::AllocateIdsRequest::Representation + command.request_object = allocate_ids_request_object + command.response_representation = Google::Apis::DatastoreV1::AllocateIdsResponse::Representation + command.response_class = Google::Apis::DatastoreV1::AllocateIdsResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Looks up entities by key. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::LookupRequest] lookup_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::LookupResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::LookupResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def lookup_project(project_id, lookup_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:lookup', options) + command.request_representation = Google::Apis::DatastoreV1::LookupRequest::Representation + command.request_object = lookup_request_object + command.response_representation = Google::Apis::DatastoreV1::LookupResponse::Representation + command.response_class = Google::Apis::DatastoreV1::LookupResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Commits a transaction, optionally creating, deleting or modifying some + # entities. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::CommitRequest] commit_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::CommitResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::CommitResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def commit_project(project_id, commit_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:commit', options) + command.request_representation = Google::Apis::DatastoreV1::CommitRequest::Representation + command.request_object = commit_request_object + command.response_representation = Google::Apis::DatastoreV1::CommitResponse::Representation + command.response_class = Google::Apis::DatastoreV1::CommitResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Rolls back a transaction. + # @param [String] project_id + # The ID of the project against which to make the request. + # @param [Google::Apis::DatastoreV1::RollbackRequest] rollback_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DatastoreV1::RollbackResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DatastoreV1::RollbackResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def rollback_project(project_id, rollback_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/projects/{projectId}:rollback', options) + command.request_representation = Google::Apis::DatastoreV1::RollbackRequest::Representation + command.request_object = rollback_request_object + command.response_representation = Google::Apis::DatastoreV1::RollbackResponse::Representation + command.response_class = Google::Apis::DatastoreV1::RollbackResponse + command.params['projectId'] = project_id unless project_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/datastore_v1beta3.rb b/generated/google/apis/datastore_v1beta3.rb index ce56ab718..a7b2ca9be 100644 --- a/generated/google/apis/datastore_v1beta3.rb +++ b/generated/google/apis/datastore_v1beta3.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/datastore/ module DatastoreV1beta3 VERSION = 'V1beta3' - REVISION = '20160802' + REVISION = '20160823' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/datastore_v1beta3/classes.rb b/generated/google/apis/datastore_v1beta3/classes.rb index 0985dfc09..e5c9e397a 100644 --- a/generated/google/apis/datastore_v1beta3/classes.rb +++ b/generated/google/apis/datastore_v1beta3/classes.rb @@ -171,7 +171,7 @@ module Google # The identifier of the transaction in which to read. A # transaction identifier is returned by a call to - # BeginTransaction. + # Datastore.BeginTransaction. # Corresponds to the JSON property `transaction` # @return [String] attr_accessor :transaction @@ -218,13 +218,13 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.Commit. + # The request for Datastore.Commit. class CommitRequest include Google::Apis::Core::Hashable # The identifier of the transaction associated with the commit. A # transaction identifier is returned by a call to - # BeginTransaction. + # Datastore.BeginTransaction. # Corresponds to the JSON property `transaction` # @return [String] attr_accessor :transaction @@ -340,12 +340,12 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.Rollback. + # The request for Datastore.Rollback. class RollbackRequest include Google::Apis::Core::Hashable # The transaction identifier, returned by a call to - # google.datastore.v1beta3.Datastore.BeginTransaction. + # Datastore.BeginTransaction. # Corresponds to the JSON property `transaction` # @return [String] attr_accessor :transaction @@ -380,10 +380,11 @@ module Google # The version of the entity, a strictly positive number that monotonically # increases with changes to the entity. - # This field is set for `FULL` entity results. - # For missing entities in - # `LookupResponse`, this is the version of the snapshot that was used to look - # up the entity, and it is always set except for eventually consistent reads. + # This field is set for `FULL` entity + # results. + # For missing entities in `LookupResponse`, this + # is the version of the snapshot that was used to look up the entity, and it + # is always set except for eventually consistent reads. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version @@ -473,7 +474,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.BeginTransaction. + # The response for Datastore.BeginTransaction. class BeginTransactionResponse include Google::Apis::Core::Hashable @@ -594,7 +595,7 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.AllocateIds. + # The request for Datastore.AllocateIds. class AllocateIdsRequest include Google::Apis::Core::Hashable @@ -706,7 +707,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.Rollback + # The response for Datastore.Rollback. # (an empty message). class RollbackResponse include Google::Apis::Core::Hashable @@ -799,7 +800,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.AllocateIds. + # The response for Datastore.AllocateIds. class AllocateIdsResponse include Google::Apis::Core::Hashable @@ -819,7 +820,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.Lookup. + # The response for Datastore.Lookup. class LookupResponse include Google::Apis::Core::Hashable @@ -856,7 +857,7 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.BeginTransaction. + # The request for Datastore.BeginTransaction. class BeginTransactionRequest include Google::Apis::Core::Hashable @@ -925,7 +926,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.RunQuery. + # The response for Datastore.RunQuery. class RunQueryResponse include Google::Apis::Core::Hashable @@ -996,17 +997,16 @@ module Google # @return [String] attr_accessor :query_string - # For each non-reserved named binding site in the query string, - # there must be a named parameter with that name, - # but not necessarily the inverse. + # For each non-reserved named binding site in the query string, there must be + # a named parameter with that name, but not necessarily the inverse. # Key must match regex `A-Za-z_$*`, must not match regex # `__.*__`, and must not be `""`. # Corresponds to the JSON property `namedBindings` # @return [Hash] attr_accessor :named_bindings - # When false, the query string must not contain any literals and instead - # must bind all values. For example, + # When false, the query string must not contain any literals and instead must + # bind all values. For example, # `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while # `SELECT * FROM Kind WHERE a = @value` is. # Corresponds to the JSON property `allowLiterals` @@ -1016,9 +1016,8 @@ module Google # Numbered binding site @1 references the first numbered parameter, # effectively using 1-based indexing, rather than the usual 0. - # For each binding site numbered i in `query_string`, - # there must be an i-th numbered parameter. - # The inverse must also be true. + # For each binding site numbered i in `query_string`, there must be an i-th + # numbered parameter. The inverse must also be true. # Corresponds to the JSON property `positionalBindings` # @return [Array] attr_accessor :positional_bindings @@ -1092,7 +1091,7 @@ module Google end end - # The response for google.datastore.v1beta3.Datastore.Commit. + # The response for Datastore.Commit. class CommitResponse include Google::Apis::Core::Hashable @@ -1119,7 +1118,7 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.RunQuery. + # The request for Datastore.RunQuery. class RunQueryRequest include Google::Apis::Core::Hashable @@ -1171,7 +1170,7 @@ module Google end end - # The request for google.datastore.v1beta3.Datastore.Lookup. + # The request for Datastore.Lookup. class LookupRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/deploymentmanager_v2.rb b/generated/google/apis/deploymentmanager_v2.rb index 17d7d1a71..16d08d3ea 100644 --- a/generated/google/apis/deploymentmanager_v2.rb +++ b/generated/google/apis/deploymentmanager_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/deployment-manager/ module DeploymentmanagerV2 VERSION = 'V2' - REVISION = '20160731' + REVISION = '20170315' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/deploymentmanager_v2/classes.rb b/generated/google/apis/deploymentmanager_v2/classes.rb index d6741f2d5..901161bfc 100644 --- a/generated/google/apis/deploymentmanager_v2/classes.rb +++ b/generated/google/apis/deploymentmanager_v2/classes.rb @@ -22,6 +22,172 @@ module Google module Apis module DeploymentmanagerV2 + # 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 + include Google::Apis::Core::Hashable + + # The configuration for logging of each type of permission. + # Corresponds to the JSON property `auditLogConfigs` + # @return [Array] + attr_accessor :audit_log_configs + + # + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # 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. + # Corresponds to the JSON property `service` + # @return [String] + attr_accessor :service + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @service = args[:service] if args.key?(:service) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Specifies the identities that do not cause logging for this type of permission. + # Follows the same format of [Binding.members][]. + # Corresponds to the JSON property `exemptedMembers` + # @return [Array] + attr_accessor :exempted_members + + # The log type that this config enables. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exempted_members = args[:exempted_members] if args.key?(:exempted_members) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. ` + # members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is on the + # internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone who is + # authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google account. + # For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. For + # example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the users + # of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` + # , or `roles/owner`. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # A condition to be met. + class Condition + include Google::Apis::Core::Hashable + + # Trusted attributes supplied by the IAM system. + # Corresponds to the JSON property `iam` + # @return [String] + attr_accessor :iam + + # An operator to apply the subject with. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Trusted attributes discharged by the service. + # Corresponds to the JSON property `svc` + # @return [String] + attr_accessor :svc + + # Trusted attributes supplied by any service that owns resources and uses the + # IAM system for access control. + # Corresponds to the JSON property `sys` + # @return [String] + attr_accessor :sys + + # DEPRECATED. Use 'values' instead. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The objects of the condition. This is mutually exclusive with 'value'. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @iam = args[:iam] if args.key?(:iam) + @op = args[:op] if args.key?(:op) + @svc = args[:svc] if args.key?(:svc) + @sys = args[:sys] if args.key?(:sys) + @value = args[:value] if args.key?(:value) + @values = args[:values] if args.key?(:values) + end + end + # class ConfigFile include Google::Apis::Core::Hashable @@ -167,6 +333,12 @@ module Google class DeploymentUpdate include Google::Apis::Core::Hashable + # [Output Only] An optional user-provided description of the deployment after + # the current update has been applied. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # [Output Only] Map of labels; provided by the client when the resource is # created or updated. Specifically: Label keys must be between 1 and 63 # characters long and must conform to the following regular expression: [a-z]([- @@ -188,6 +360,7 @@ module Google # Update properties of this object def update!(**args) + @description = args[:description] if args.key?(:description) @labels = args[:labels] if args.key?(:labels) @manifest = args[:manifest] if args.key?(:manifest) end @@ -323,6 +496,50 @@ module Google end end + # Specifies what kind of log the caller must write + class LogConfig + include Google::Apis::Core::Hashable + + # Options for counters + # Corresponds to the JSON property `counter` + # @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions] + attr_accessor :counter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @counter = args[:counter] if args.key?(:counter) + end + end + + # Options for counters + class LogConfigCounterOptions + include Google::Apis::Core::Hashable + + # The field value to attribute. + # Corresponds to the JSON property `field` + # @return [String] + attr_accessor :field + + # The metric to update. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @field = args[:field] if args.key?(:field) + @metric = args[:metric] if args.key?(:metric) + end + end + # class Manifest include Google::Apis::Core::Hashable @@ -420,7 +637,7 @@ module Google # @return [String] attr_accessor :client_operation_id - # [Output Only] Creation timestamp in RFC3339 text format. + # [Deprecated] This field is deprecated. # Corresponds to the JSON property `creationTimestamp` # @return [String] attr_accessor :creation_timestamp @@ -528,7 +745,9 @@ module Google # @return [String] attr_accessor :target_id - # [Output Only] The URL of the resource that the operation modifies. + # [Output Only] The URL of the resource that the operation modifies. For + # operations related to creating a snapshot, this points to the persistent disk + # that the snapshot was created from. # Corresponds to the JSON property `targetLink` # @return [String] attr_accessor :target_link @@ -724,10 +943,93 @@ module Google end end + # Defines an Identity and Access Management (IAM) policy. It is used to specify + # access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of ` + # members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", + # "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ + # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: + # sean@example.com"] ` ] ` + # For a description of IAM and its features, see the [IAM developer's guide]( + # https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Specifies cloud audit logging configuration for this policy. + # Corresponds to the JSON property `auditConfigs` + # @return [Array] + attr_accessor :audit_configs + + # Associates a list of `members` to a `role`. Multiple `bindings` must not be + # specified for the same `role`. `bindings` with no members will result in an + # error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help prevent + # simultaneous updates of a policy from overwriting each other. It is strongly + # suggested that systems make use of the `etag` in the read-modify-write cycle + # to perform policy updates in order to avoid race conditions: An `etag` is + # returned in the response to `getIamPolicy`, and systems are expected to put + # that etag in the request to `setIamPolicy` to ensure that their change will be + # applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # + # Corresponds to the JSON property `iamOwned` + # @return [Boolean] + attr_accessor :iam_owned + alias_method :iam_owned?, :iam_owned + + # If more than one rule is specified, the rules are applied in the following + # manner: - All matching LOG rules are always applied. - If any DENY/ + # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if any ALLOW/ + # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if + # one or more matching rule requires logging. - Otherwise, if no rule applies, + # permission is denied. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audit_configs = args[:audit_configs] if args.key?(:audit_configs) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @iam_owned = args[:iam_owned] if args.key?(:iam_owned) + @rules = args[:rules] if args.key?(:rules) + @version = args[:version] if args.key?(:version) + end + end + # class Resource include Google::Apis::Core::Hashable + # The access controls set on the resource. + # Corresponds to the JSON property `accessControl` + # @return [Google::Apis::DeploymentmanagerV2::ResourceAccessControl] + attr_accessor :access_control + # [Output Only] The evaluated properties of the resource with references # expanded. Returned as serialized YAML. # Corresponds to the JSON property `finalProperties` @@ -763,7 +1065,7 @@ module Google attr_accessor :properties # [Output Only] The type of the resource, for example compute.v1.instance, or - # replicaPools.v1beta2.instanceGroupManager. + # cloudfunctions.v1beta1.function. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -795,6 +1097,7 @@ module Google # Update properties of this object def update!(**args) + @access_control = args[:access_control] if args.key?(:access_control) @final_properties = args[:final_properties] if args.key?(:final_properties) @id = args[:id] if args.key?(:id) @insert_time = args[:insert_time] if args.key?(:insert_time) @@ -873,10 +1176,34 @@ module Google end end + # The access controls set on the resource. + class ResourceAccessControl + include Google::Apis::Core::Hashable + + # The GCP IAM Policy to set on the resource. + # Corresponds to the JSON property `gcpIamPolicy` + # @return [String] + attr_accessor :gcp_iam_policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcp_iam_policy = args[:gcp_iam_policy] if args.key?(:gcp_iam_policy) + end + end + # class ResourceUpdate include Google::Apis::Core::Hashable + # The access controls set on the resource. + # Corresponds to the JSON property `accessControl` + # @return [Google::Apis::DeploymentmanagerV2::ResourceAccessControl] + attr_accessor :access_control + # [Output Only] If errors are generated during update of the resource, this # field will be populated. # Corresponds to the JSON property `error` @@ -923,6 +1250,7 @@ module Google # Update properties of this object def update!(**args) + @access_control = args[:access_control] if args.key?(:access_control) @error = args[:error] if args.key?(:error) @final_properties = args[:final_properties] if args.key?(:final_properties) @intent = args[:intent] if args.key?(:intent) @@ -1075,6 +1403,66 @@ module Google end end + # A rule to be applied in a Policy. + class Rule + include Google::Apis::Core::Hashable + + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Additional restrictions that must be met + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions + + # Human-readable description of the rule. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/ + # AUTHORITY_SELECTOR is in at least one of these entries. + # Corresponds to the JSON property `ins` + # @return [Array] + attr_accessor :ins + + # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries + # that match the LOG action. + # Corresponds to the JSON property `logConfigs` + # @return [Array] + attr_accessor :log_configs + + # If one or more 'not_in' clauses are specified, the rule matches if the + # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries. + # Corresponds to the JSON property `notIns` + # @return [Array] + attr_accessor :not_ins + + # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value + # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets. + # *') matches all verbs. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action = args[:action] if args.key?(:action) + @conditions = args[:conditions] if args.key?(:conditions) + @description = args[:description] if args.key?(:description) + @ins = args[:ins] if args.key?(:ins) + @log_configs = args[:log_configs] if args.key?(:log_configs) + @not_ins = args[:not_ins] if args.key?(:not_ins) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # class TargetConfiguration include Google::Apis::Core::Hashable @@ -1102,6 +1490,45 @@ module Google end end + # + class TestPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the 'resource'. Permissions with wildcards + # (such as '*' or 'storage.*') are not allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # + class TestPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # A resource type supported by Deployment Manager. class Type include Google::Apis::Core::Hashable diff --git a/generated/google/apis/deploymentmanager_v2/representations.rb b/generated/google/apis/deploymentmanager_v2/representations.rb index 76b3c76f3..0796cbd0d 100644 --- a/generated/google/apis/deploymentmanager_v2/representations.rb +++ b/generated/google/apis/deploymentmanager_v2/representations.rb @@ -22,6 +22,30 @@ module Google module Apis module DeploymentmanagerV2 + class AuditConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AuditLogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Condition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConfigFile class Representation < Google::Apis::Core::JsonRepresentation; end @@ -76,6 +100,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogConfigCounterOptions + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Manifest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -124,6 +160,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Resource class Representation < Google::Apis::Core::JsonRepresentation; end @@ -142,6 +184,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResourceAccessControl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ResourceUpdate class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,12 +226,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TestPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Type class Representation < Google::Apis::Core::JsonRepresentation; end @@ -196,6 +262,44 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AuditConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::DeploymentmanagerV2::AuditLogConfig, decorator: Google::Apis::DeploymentmanagerV2::AuditLogConfig::Representation + + collection :exempted_members, as: 'exemptedMembers' + property :service, as: 'service' + end + end + + class AuditLogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exempted_members, as: 'exemptedMembers' + property :log_type, as: 'logType' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class Condition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :iam, as: 'iam' + property :op, as: 'op' + property :svc, as: 'svc' + property :sys, as: 'sys' + property :value, as: 'value' + collection :values, as: 'values' + end + end + class ConfigFile # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -235,6 +339,7 @@ module Google class DeploymentUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' collection :labels, as: 'labels', class: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry, decorator: Google::Apis::DeploymentmanagerV2::DeploymentUpdateLabelEntry::Representation property :manifest, as: 'manifest' @@ -280,6 +385,22 @@ module Google end end + class LogConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :counter, as: 'counter', class: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions, decorator: Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions::Representation + + end + end + + class LogConfigCounterOptions + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :field, as: 'field' + property :metric, as: 'metric' + end + end + class Manifest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -380,9 +501,26 @@ module Google end end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audit_configs, as: 'auditConfigs', class: Google::Apis::DeploymentmanagerV2::AuditConfig, decorator: Google::Apis::DeploymentmanagerV2::AuditConfig::Representation + + collection :bindings, as: 'bindings', class: Google::Apis::DeploymentmanagerV2::Binding, decorator: Google::Apis::DeploymentmanagerV2::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :iam_owned, as: 'iamOwned' + collection :rules, as: 'rules', class: Google::Apis::DeploymentmanagerV2::Rule, decorator: Google::Apis::DeploymentmanagerV2::Rule::Representation + + property :version, as: 'version' + end + end + class Resource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :access_control, as: 'accessControl', class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl, decorator: Google::Apis::DeploymentmanagerV2::ResourceAccessControl::Representation + property :final_properties, as: 'finalProperties' property :id, as: 'id' property :insert_time, as: 'insertTime' @@ -417,9 +555,18 @@ module Google end end + class ResourceAccessControl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :gcp_iam_policy, as: 'gcpIamPolicy' + end + end + class ResourceUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation + property :access_control, as: 'accessControl', class: Google::Apis::DeploymentmanagerV2::ResourceAccessControl, decorator: Google::Apis::DeploymentmanagerV2::ResourceAccessControl::Representation + property :error, as: 'error', class: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error, decorator: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error::Representation property :final_properties, as: 'finalProperties' @@ -476,6 +623,21 @@ module Google end end + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action, as: 'action' + collection :conditions, as: 'conditions', class: Google::Apis::DeploymentmanagerV2::Condition, decorator: Google::Apis::DeploymentmanagerV2::Condition::Representation + + property :description, as: 'description' + collection :ins, as: 'ins' + collection :log_configs, as: 'logConfigs', class: Google::Apis::DeploymentmanagerV2::LogConfig, decorator: Google::Apis::DeploymentmanagerV2::LogConfig::Representation + + collection :not_ins, as: 'notIns' + collection :permissions, as: 'permissions' + end + end + class TargetConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -486,6 +648,20 @@ module Google end end + class TestPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class TestPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + class Type # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/deploymentmanager_v2/service.rb b/generated/google/apis/deploymentmanager_v2/service.rb index f5993eb29..51bd51e8b 100644 --- a/generated/google/apis/deploymentmanager_v2/service.rb +++ b/generated/google/apis/deploymentmanager_v2/service.rb @@ -98,6 +98,8 @@ module Google # The project ID for this request. # @param [String] deployment # The name of the deployment for this request. + # @param [String] delete_policy + # Sets the policy to use for deleting resources. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -119,12 +121,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_deployment(project, deployment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, '{project}/global/deployments/{deployment}', options) command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation command.response_class = Google::Apis::DeploymentmanagerV2::Operation command.params['project'] = project unless project.nil? command.params['deployment'] = deployment unless deployment.nil? + command.query['deletePolicy'] = delete_policy unless delete_policy.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -169,6 +172,45 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DeploymentmanagerV2::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DeploymentmanagerV2::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_deployment_iam_policy(project, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/global/deployments/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation + command.response_class = Google::Apis::DeploymentmanagerV2::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a deployment and all of the resources described by the deployment # manifest. # @param [String] project @@ -245,7 +287,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -270,13 +321,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_deployments(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_deployments(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListDeploymentsResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -343,6 +395,48 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::DeploymentmanagerV2::Policy] policy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DeploymentmanagerV2::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DeploymentmanagerV2::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_deployment_iam_policy(project, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/deployments/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation + command.response_class = Google::Apis::DeploymentmanagerV2::Policy + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Stops an ongoing operation. This does not roll back any work that has already # been completed, but prevents any new work from being started. # @param [String] project @@ -385,6 +479,47 @@ module Google execute_or_queue_command(command, &block) end + # Returns permissions that a caller has on the specified resource. + # @param [String] project + # Project ID for this request. + # @param [String] resource + # Name of the resource for this request. + # @param [Google::Apis::DeploymentmanagerV2::TestPermissionsRequest] test_permissions_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DeploymentmanagerV2::TestPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DeploymentmanagerV2::TestPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/global/deployments/{resource}/testIamPermissions', options) + command.request_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsRequest::Representation + command.request_object = test_permissions_request_object + command.response_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse::Representation + command.response_class = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse + command.params['project'] = project unless project.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates a deployment and all of the resources described by the deployment # manifest. # @param [String] project @@ -515,7 +650,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -540,7 +684,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_manifests(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_manifests(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/manifests', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListManifestsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListManifestsResponse @@ -548,6 +692,7 @@ module Google command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -621,7 +766,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -646,13 +800,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/operations', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListOperationsResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListOperationsResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -731,7 +886,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -756,7 +920,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_resources(project, deployment, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_resources(project, deployment, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/deployments/{deployment}/resources', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListResourcesResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListResourcesResponse @@ -764,6 +928,7 @@ module Google command.params['deployment'] = deployment unless deployment.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -799,7 +964,16 @@ module Google # 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. + # list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + # @param [String] order_by + # 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. # @param [String] page_token # Specifies a page token to use. Set pageToken to the nextPageToken returned by # a previous list request to get the next page of results. @@ -824,13 +998,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_types(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_types(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{project}/global/types', options) command.response_representation = Google::Apis::DeploymentmanagerV2::ListTypesResponse::Representation command.response_class = Google::Apis::DeploymentmanagerV2::ListTypesResponse command.params['project'] = project unless project.nil? command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? diff --git a/generated/google/apis/dfareporting_v2_6.rb b/generated/google/apis/dfareporting_v2_6.rb index a72200b28..63baca8cd 100644 --- a/generated/google/apis/dfareporting_v2_6.rb +++ b/generated/google/apis/dfareporting_v2_6.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/doubleclick-advertisers/ module DfareportingV2_6 VERSION = 'V2_6' - REVISION = '20160803' + REVISION = '20161027' # Manage DoubleClick Digital Marketing conversions AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' diff --git a/generated/google/apis/dfareporting_v2_6/classes.rb b/generated/google/apis/dfareporting_v2_6/classes.rb index f7d184722..cf90c96b1 100644 --- a/generated/google/apis/dfareporting_v2_6/classes.rb +++ b/generated/google/apis/dfareporting_v2_6/classes.rb @@ -649,7 +649,7 @@ module Google # @return [String] attr_accessor :account_id - # Whether this ad is active. + # Whether this ad is active. When true, archived must be false. # Corresponds to the JSON property `active` # @return [Boolean] attr_accessor :active @@ -665,7 +665,7 @@ module Google # @return [Google::Apis::DfareportingV2_6::DimensionValue] attr_accessor :advertiser_id_dimension_value - # Whether this ad is archived. + # Whether this ad is archived. When true, active must be false. # Corresponds to the JSON property `archived` # @return [Boolean] attr_accessor :archived @@ -2280,7 +2280,8 @@ module Google # @return [String] attr_accessor :kind - # Whether the user has Limit Ad Tracking set. + # Whether Limit Ad Tracking is enabled. When set to true, the conversion will be + # used for reporting but not targeting. This will prevent remarketing. # Corresponds to the JSON property `limitAdTracking` # @return [Boolean] attr_accessor :limit_ad_tracking diff --git a/generated/google/apis/dfareporting_v2_6/service.rb b/generated/google/apis/dfareporting_v2_6/service.rb index 2c17b0c84..e7f8b47d1 100644 --- a/generated/google/apis/dfareporting_v2_6/service.rb +++ b/generated/google/apis/dfareporting_v2_6/service.rb @@ -312,7 +312,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of account user profiles, possibly filtered. + # Retrieves a list of account user profiles, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -497,7 +498,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves the list of accounts, possibly filtered. + # Retrieves the list of accounts, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -714,7 +715,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of ads, possibly filtered. + # Retrieves a list of ads, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -1024,7 +1025,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of advertiser groups, possibly filtered. + # Retrieves a list of advertiser groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -1238,7 +1240,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of advertisers, possibly filtered. + # Retrieves a list of advertisers, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_group_ids @@ -1473,6 +1476,7 @@ module Google end # Retrieves the list of creative IDs associated with the specified campaign. + # This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] campaign_id @@ -1602,7 +1606,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of campaigns, possibly filtered. + # Retrieves a list of campaigns, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_group_ids @@ -1799,7 +1803,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of change logs. + # Retrieves a list of change logs. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] action @@ -2107,7 +2111,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of content categories, possibly filtered. + # Retrieves a list of content categories, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -2528,7 +2533,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative field values, possibly filtered. + # Retrieves a list of creative field values, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] creative_field_id @@ -2782,7 +2788,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative fields, possibly filtered. + # Retrieves a list of creative fields, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -2999,7 +3006,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creative groups, possibly filtered. + # Retrieves a list of creative groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -3219,7 +3227,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of creatives, possibly filtered. + # Retrieves a list of creatives, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] active @@ -3470,7 +3478,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of directory site contacts, possibly filtered. + # Retrieves a list of directory site contacts, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] directory_site_ids @@ -3610,7 +3619,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of directory sites, possibly filtered. + # Retrieves a list of directory sites, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements @@ -4345,7 +4355,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of floodlight activities, possibly filtered. + # Retrieves a list of floodlight activities, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -4589,7 +4600,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of floodlight activity groups, possibly filtered. + # Retrieves a list of floodlight activity groups, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -4942,7 +4954,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of inventory items, possibly filtered. + # Retrieves a list of inventory items, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5582,7 +5595,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of order documents, possibly filtered. + # Retrieves a list of order documents, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5694,7 +5708,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of orders, possibly filtered. + # Retrieves a list of orders, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] project_id @@ -5834,7 +5848,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placement groups, possibly filtered. + # Retrieves a list of placement groups, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -6134,7 +6149,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placement strategies, possibly filtered. + # Retrieves a list of placement strategies, possibly filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -6392,7 +6408,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of placements, possibly filtered. + # Retrieves a list of placements, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -6770,7 +6786,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of projects, possibly filtered. + # Retrieves a list of projects, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] advertiser_ids @@ -7060,7 +7076,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of remarketing lists, possibly filtered. + # Retrieves a list of remarketing lists, possibly filtered. This method supports + # paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -7703,7 +7720,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of sites, possibly filtered. + # Retrieves a list of sites, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] accepts_in_stream_video_placements @@ -8068,7 +8085,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets a list of subaccounts, possibly filtered. + # Gets a list of subaccounts, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Array, String] ids @@ -8243,7 +8260,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of targetable remarketing lists, possibly filtered. + # Retrieves a list of targetable remarketing lists, possibly filtered. This + # method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -8381,7 +8399,8 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of targeting templates, optionally filtered. + # Retrieves a list of targeting templates, optionally filtered. This method + # supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [String] advertiser_id @@ -8849,7 +8868,7 @@ module Google execute_or_queue_command(command, &block) end - # Retrieves a list of user roles, possibly filtered. + # Retrieves a list of user roles, possibly filtered. This method supports paging. # @param [String] profile_id # User profile ID associated with this request. # @param [Boolean] account_user_role_only diff --git a/generated/google/apis/dfareporting_v2_7.rb b/generated/google/apis/dfareporting_v2_7.rb new file mode 100644 index 000000000..83051d86f --- /dev/null +++ b/generated/google/apis/dfareporting_v2_7.rb @@ -0,0 +1,40 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/dfareporting_v2_7/service.rb' +require 'google/apis/dfareporting_v2_7/classes.rb' +require 'google/apis/dfareporting_v2_7/representations.rb' + +module Google + module Apis + # DCM/DFA Reporting And Trafficking API + # + # Manages your DoubleClick Campaign Manager ad campaigns and reports. + # + # @see https://developers.google.com/doubleclick-advertisers/ + module DfareportingV2_7 + VERSION = 'V2_7' + REVISION = '20161027' + + # Manage DoubleClick Digital Marketing conversions + AUTH_DDMCONVERSIONS = 'https://www.googleapis.com/auth/ddmconversions' + + # View and manage DoubleClick for Advertisers reports + AUTH_DFAREPORTING = 'https://www.googleapis.com/auth/dfareporting' + + # View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns + AUTH_DFATRAFFICKING = 'https://www.googleapis.com/auth/dfatrafficking' + end + end +end diff --git a/generated/google/apis/dfareporting_v2_7/classes.rb b/generated/google/apis/dfareporting_v2_7/classes.rb new file mode 100644 index 000000000..9adcbbfe6 --- /dev/null +++ b/generated/google/apis/dfareporting_v2_7/classes.rb @@ -0,0 +1,11876 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DfareportingV2_7 + + # Contains properties of a DCM account. + class Account + include Google::Apis::Core::Hashable + + # Account permissions assigned to this account. + # Corresponds to the JSON property `accountPermissionIds` + # @return [Array] + attr_accessor :account_permission_ids + + # Profile for this account. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountProfile` + # @return [String] + attr_accessor :account_profile + + # Whether this account is active. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Maximum number of active ads allowed for this account. + # Corresponds to the JSON property `activeAdsLimitTier` + # @return [String] + attr_accessor :active_ads_limit_tier + + # Whether to serve creatives with Active View tags. If disabled, viewability + # data will not be available for any impressions. + # Corresponds to the JSON property `activeViewOptOut` + # @return [Boolean] + attr_accessor :active_view_opt_out + alias_method :active_view_opt_out?, :active_view_opt_out + + # User role permissions available to the user roles of this account. + # Corresponds to the JSON property `availablePermissionIds` + # @return [Array] + attr_accessor :available_permission_ids + + # ID of the country associated with this account. + # Corresponds to the JSON property `countryId` + # @return [String] + attr_accessor :country_id + + # ID of currency associated with this account. This is a required field. + # Acceptable values are: + # - "1" for USD + # - "2" for GBP + # - "3" for ESP + # - "4" for SEK + # - "5" for CAD + # - "6" for JPY + # - "7" for DEM + # - "8" for AUD + # - "9" for FRF + # - "10" for ITL + # - "11" for DKK + # - "12" for NOK + # - "13" for FIM + # - "14" for ZAR + # - "15" for IEP + # - "16" for NLG + # - "17" for EUR + # - "18" for KRW + # - "19" for TWD + # - "20" for SGD + # - "21" for CNY + # - "22" for HKD + # - "23" for NZD + # - "24" for MYR + # - "25" for BRL + # - "26" for PTE + # - "27" for MXP + # - "28" for CLP + # - "29" for TRY + # - "30" for ARS + # - "31" for PEN + # - "32" for ILS + # - "33" for CHF + # - "34" for VEF + # - "35" for COP + # - "36" for GTQ + # - "37" for PLN + # - "39" for INR + # - "40" for THB + # - "41" for IDR + # - "42" for CZK + # - "43" for RON + # - "44" for HUF + # - "45" for RUB + # - "46" for AED + # - "47" for BGN + # - "48" for HRK + # Corresponds to the JSON property `currencyId` + # @return [String] + attr_accessor :currency_id + + # Default placement dimensions for this account. + # Corresponds to the JSON property `defaultCreativeSizeId` + # @return [String] + attr_accessor :default_creative_size_id + + # Description of this account. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # ID of this account. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#account". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Locale of this account. + # Acceptable values are: + # - "cs" (Czech) + # - "de" (German) + # - "en" (English) + # - "en-GB" (English United Kingdom) + # - "es" (Spanish) + # - "fr" (French) + # - "it" (Italian) + # - "ja" (Japanese) + # - "ko" (Korean) + # - "pl" (Polish) + # - "pt-BR" (Portuguese Brazil) + # - "ru" (Russian) + # - "sv" (Swedish) + # - "tr" (Turkish) + # - "zh-CN" (Chinese Simplified) + # - "zh-TW" (Chinese Traditional) + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # Maximum image size allowed for this account. + # Corresponds to the JSON property `maximumImageSize` + # @return [String] + attr_accessor :maximum_image_size + + # Name of this account. This is a required field, and must be less than 128 + # characters long and be globally unique. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether campaigns created in this account will be enabled for Nielsen OCR + # reach ratings by default. + # Corresponds to the JSON property `nielsenOcrEnabled` + # @return [Boolean] + attr_accessor :nielsen_ocr_enabled + alias_method :nielsen_ocr_enabled?, :nielsen_ocr_enabled + + # Reporting Configuration + # Corresponds to the JSON property `reportsConfiguration` + # @return [Google::Apis::DfareportingV2_7::ReportsConfiguration] + attr_accessor :reports_configuration + + # Share Path to Conversion reports with Twitter. + # Corresponds to the JSON property `shareReportsWithTwitter` + # @return [Boolean] + attr_accessor :share_reports_with_twitter + alias_method :share_reports_with_twitter?, :share_reports_with_twitter + + # File size limit in kilobytes of Rich Media teaser creatives. Must be between 1 + # and 10240. + # Corresponds to the JSON property `teaserSizeLimit` + # @return [String] + attr_accessor :teaser_size_limit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_permission_ids = args[:account_permission_ids] if args.key?(:account_permission_ids) + @account_profile = args[:account_profile] if args.key?(:account_profile) + @active = args[:active] if args.key?(:active) + @active_ads_limit_tier = args[:active_ads_limit_tier] if args.key?(:active_ads_limit_tier) + @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out) + @available_permission_ids = args[:available_permission_ids] if args.key?(:available_permission_ids) + @country_id = args[:country_id] if args.key?(:country_id) + @currency_id = args[:currency_id] if args.key?(:currency_id) + @default_creative_size_id = args[:default_creative_size_id] if args.key?(:default_creative_size_id) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @locale = args[:locale] if args.key?(:locale) + @maximum_image_size = args[:maximum_image_size] if args.key?(:maximum_image_size) + @name = args[:name] if args.key?(:name) + @nielsen_ocr_enabled = args[:nielsen_ocr_enabled] if args.key?(:nielsen_ocr_enabled) + @reports_configuration = args[:reports_configuration] if args.key?(:reports_configuration) + @share_reports_with_twitter = args[:share_reports_with_twitter] if args.key?(:share_reports_with_twitter) + @teaser_size_limit = args[:teaser_size_limit] if args.key?(:teaser_size_limit) + end + end + + # Gets a summary of active ads in an account. + class AccountActiveAdSummary + include Google::Apis::Core::Hashable + + # ID of the account. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Ads that have been activated for the account + # Corresponds to the JSON property `activeAds` + # @return [String] + attr_accessor :active_ads + + # Maximum number of active ads allowed for the account. + # Corresponds to the JSON property `activeAdsLimitTier` + # @return [String] + attr_accessor :active_ads_limit_tier + + # Ads that can be activated for the account. + # Corresponds to the JSON property `availableAds` + # @return [String] + attr_accessor :available_ads + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountActiveAdSummary". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active_ads = args[:active_ads] if args.key?(:active_ads) + @active_ads_limit_tier = args[:active_ads_limit_tier] if args.key?(:active_ads_limit_tier) + @available_ads = args[:available_ads] if args.key?(:available_ads) + @kind = args[:kind] if args.key?(:kind) + end + end + + # AccountPermissions contains information about a particular account permission. + # Some features of DCM require an account permission to be present in the + # account. + class AccountPermission + include Google::Apis::Core::Hashable + + # Account profiles associated with this account permission. + # Possible values are: + # - "ACCOUNT_PROFILE_BASIC" + # - "ACCOUNT_PROFILE_STANDARD" + # Corresponds to the JSON property `accountProfiles` + # @return [Array] + attr_accessor :account_profiles + + # ID of this account permission. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountPermission". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Administrative level required to enable this account permission. + # Corresponds to the JSON property `level` + # @return [String] + attr_accessor :level + + # Name of this account permission. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Permission group of this account permission. + # Corresponds to the JSON property `permissionGroupId` + # @return [String] + attr_accessor :permission_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_profiles = args[:account_profiles] if args.key?(:account_profiles) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @level = args[:level] if args.key?(:level) + @name = args[:name] if args.key?(:name) + @permission_group_id = args[:permission_group_id] if args.key?(:permission_group_id) + end + end + + # AccountPermissionGroups contains a mapping of permission group IDs to names. A + # permission group is a grouping of account permissions. + class AccountPermissionGroup + include Google::Apis::Core::Hashable + + # ID of this account permission group. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountPermissionGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this account permission group. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Account Permission Group List Response + class AccountPermissionGroupsListResponse + include Google::Apis::Core::Hashable + + # Account permission group collection. + # Corresponds to the JSON property `accountPermissionGroups` + # @return [Array] + attr_accessor :account_permission_groups + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountPermissionGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_permission_groups = args[:account_permission_groups] if args.key?(:account_permission_groups) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Account Permission List Response + class AccountPermissionsListResponse + include Google::Apis::Core::Hashable + + # Account permission collection. + # Corresponds to the JSON property `accountPermissions` + # @return [Array] + attr_accessor :account_permissions + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountPermissionsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_permissions = args[:account_permissions] if args.key?(:account_permissions) + @kind = args[:kind] if args.key?(:kind) + end + end + + # AccountUserProfiles contains properties of a DCM user profile. This resource + # is specifically for managing user profiles, whereas UserProfiles is for + # accessing the API. + class AccountUserProfile + include Google::Apis::Core::Hashable + + # Account ID of the user profile. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this user profile is active. This defaults to false, and must be set + # true on insert for the user profile to be usable. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Object Filter. + # Corresponds to the JSON property `advertiserFilter` + # @return [Google::Apis::DfareportingV2_7::ObjectFilter] + attr_accessor :advertiser_filter + + # Object Filter. + # Corresponds to the JSON property `campaignFilter` + # @return [Google::Apis::DfareportingV2_7::ObjectFilter] + attr_accessor :campaign_filter + + # Comments for this user profile. + # Corresponds to the JSON property `comments` + # @return [String] + attr_accessor :comments + + # Email of the user profile. The email addresss must be linked to a Google + # Account. This field is required on insertion and is read-only after insertion. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # ID of the user profile. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountUserProfile". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Locale of the user profile. This is a required field. + # Acceptable values are: + # - "cs" (Czech) + # - "de" (German) + # - "en" (English) + # - "en-GB" (English United Kingdom) + # - "es" (Spanish) + # - "fr" (French) + # - "it" (Italian) + # - "ja" (Japanese) + # - "ko" (Korean) + # - "pl" (Polish) + # - "pt-BR" (Portuguese Brazil) + # - "ru" (Russian) + # - "sv" (Swedish) + # - "tr" (Turkish) + # - "zh-CN" (Chinese Simplified) + # - "zh-TW" (Chinese Traditional) + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # Name of the user profile. This is a required field. Must be less than 64 + # characters long, must be globally unique, and cannot contain whitespace or any + # of the following characters: "&;"#%,". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Object Filter. + # Corresponds to the JSON property `siteFilter` + # @return [Google::Apis::DfareportingV2_7::ObjectFilter] + attr_accessor :site_filter + + # Subaccount ID of the user profile. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Trafficker type of this user profile. + # Corresponds to the JSON property `traffickerType` + # @return [String] + attr_accessor :trafficker_type + + # User type of the user profile. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `userAccessType` + # @return [String] + attr_accessor :user_access_type + + # Object Filter. + # Corresponds to the JSON property `userRoleFilter` + # @return [Google::Apis::DfareportingV2_7::ObjectFilter] + attr_accessor :user_role_filter + + # User role ID of the user profile. This is a required field. + # Corresponds to the JSON property `userRoleId` + # @return [String] + attr_accessor :user_role_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active = args[:active] if args.key?(:active) + @advertiser_filter = args[:advertiser_filter] if args.key?(:advertiser_filter) + @campaign_filter = args[:campaign_filter] if args.key?(:campaign_filter) + @comments = args[:comments] if args.key?(:comments) + @email = args[:email] if args.key?(:email) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @locale = args[:locale] if args.key?(:locale) + @name = args[:name] if args.key?(:name) + @site_filter = args[:site_filter] if args.key?(:site_filter) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @trafficker_type = args[:trafficker_type] if args.key?(:trafficker_type) + @user_access_type = args[:user_access_type] if args.key?(:user_access_type) + @user_role_filter = args[:user_role_filter] if args.key?(:user_role_filter) + @user_role_id = args[:user_role_id] if args.key?(:user_role_id) + end + end + + # Account User Profile List Response + class AccountUserProfilesListResponse + include Google::Apis::Core::Hashable + + # Account user profile collection. + # Corresponds to the JSON property `accountUserProfiles` + # @return [Array] + attr_accessor :account_user_profiles + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountUserProfilesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_user_profiles = args[:account_user_profiles] if args.key?(:account_user_profiles) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Account List Response + class AccountsListResponse + include Google::Apis::Core::Hashable + + # Account collection. + # Corresponds to the JSON property `accounts` + # @return [Array] + attr_accessor :accounts + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#accountsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accounts = args[:accounts] if args.key?(:accounts) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Represents an activity group. + class Activities + include Google::Apis::Core::Hashable + + # List of activity filters. The dimension values need to be all either of type " + # dfa:activity" or "dfa:activityGroup". + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The kind of resource this is, in this case dfareporting#activities. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # List of names of floodlight activity metrics. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filters = args[:filters] if args.key?(:filters) + @kind = args[:kind] if args.key?(:kind) + @metric_names = args[:metric_names] if args.key?(:metric_names) + end + end + + # Contains properties of a DCM ad. + class Ad + include Google::Apis::Core::Hashable + + # Account ID of this ad. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this ad is active. When true, archived must be false. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Advertiser ID of this ad. This is a required field on insertion. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Whether this ad is archived. When true, active must be false. + # Corresponds to the JSON property `archived` + # @return [Boolean] + attr_accessor :archived + alias_method :archived?, :archived + + # Audience segment ID that is being targeted for this ad. Applicable when type + # is AD_SERVING_STANDARD_AD. + # Corresponds to the JSON property `audienceSegmentId` + # @return [String] + attr_accessor :audience_segment_id + + # Campaign ID of this ad. This is a required field on insertion. + # Corresponds to the JSON property `campaignId` + # @return [String] + attr_accessor :campaign_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `campaignIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :campaign_id_dimension_value + + # Click-through URL + # Corresponds to the JSON property `clickThroughUrl` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrl] + attr_accessor :click_through_url + + # Click Through URL Suffix settings. + # Corresponds to the JSON property `clickThroughUrlSuffixProperties` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties] + attr_accessor :click_through_url_suffix_properties + + # Comments for this ad. + # Corresponds to the JSON property `comments` + # @return [String] + attr_accessor :comments + + # Compatibility of this ad. Applicable when type is AD_SERVING_DEFAULT_AD. + # DISPLAY and DISPLAY_INTERSTITIAL refer to either rendering on desktop or on + # mobile devices or in mobile apps for regular or interstitial ads, respectively. + # APP and APP_INTERSTITIAL are only used for existing default ads. New mobile + # placements must be assigned DISPLAY or DISPLAY_INTERSTITIAL and default ads + # created for those placements will be limited to those compatibility types. + # IN_STREAM_VIDEO refers to rendering in-stream video ads developed with the + # VAST standard. + # Corresponds to the JSON property `compatibility` + # @return [String] + attr_accessor :compatibility + + # Modification timestamp. + # Corresponds to the JSON property `createInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :create_info + + # Creative group assignments for this ad. Applicable when type is + # AD_SERVING_CLICK_TRACKER. Only one assignment per creative group number is + # allowed for a maximum of two assignments. + # Corresponds to the JSON property `creativeGroupAssignments` + # @return [Array] + attr_accessor :creative_group_assignments + + # Creative Rotation. + # Corresponds to the JSON property `creativeRotation` + # @return [Google::Apis::DfareportingV2_7::CreativeRotation] + attr_accessor :creative_rotation + + # Day Part Targeting. + # Corresponds to the JSON property `dayPartTargeting` + # @return [Google::Apis::DfareportingV2_7::DayPartTargeting] + attr_accessor :day_part_targeting + + # Properties of inheriting and overriding the default click-through event tag. A + # campaign may override the event tag defined at the advertiser level, and an ad + # may also override the campaign's setting further. + # Corresponds to the JSON property `defaultClickThroughEventTagProperties` + # @return [Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties] + attr_accessor :default_click_through_event_tag_properties + + # Delivery Schedule. + # Corresponds to the JSON property `deliverySchedule` + # @return [Google::Apis::DfareportingV2_7::DeliverySchedule] + attr_accessor :delivery_schedule + + # Whether this ad is a dynamic click tracker. Applicable when type is + # AD_SERVING_CLICK_TRACKER. This is a required field on insert, and is read-only + # after insert. + # Corresponds to the JSON property `dynamicClickTracker` + # @return [Boolean] + attr_accessor :dynamic_click_tracker + alias_method :dynamic_click_tracker?, :dynamic_click_tracker + + # Date and time that this ad should stop serving. Must be later than the start + # time. This is a required field on insertion. + # Corresponds to the JSON property `endTime` + # @return [DateTime] + attr_accessor :end_time + + # Event tag overrides for this ad. + # Corresponds to the JSON property `eventTagOverrides` + # @return [Array] + attr_accessor :event_tag_overrides + + # Geographical Targeting. + # Corresponds to the JSON property `geoTargeting` + # @return [Google::Apis::DfareportingV2_7::GeoTargeting] + attr_accessor :geo_targeting + + # ID of this ad. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Key Value Targeting Expression. + # Corresponds to the JSON property `keyValueTargetingExpression` + # @return [Google::Apis::DfareportingV2_7::KeyValueTargetingExpression] + attr_accessor :key_value_targeting_expression + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#ad". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Language Targeting. + # Corresponds to the JSON property `languageTargeting` + # @return [Google::Apis::DfareportingV2_7::LanguageTargeting] + attr_accessor :language_targeting + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Name of this ad. This is a required field and must be less than 256 characters + # long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Placement assignments for this ad. + # Corresponds to the JSON property `placementAssignments` + # @return [Array] + attr_accessor :placement_assignments + + # Remarketing List Targeting Expression. + # Corresponds to the JSON property `remarketingListExpression` + # @return [Google::Apis::DfareportingV2_7::ListTargetingExpression] + attr_accessor :remarketing_list_expression + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `size` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :size + + # Whether this ad is ssl compliant. This is a read-only field that is auto- + # generated when the ad is inserted or updated. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Whether this ad requires ssl. This is a read-only field that is auto-generated + # when the ad is inserted or updated. + # Corresponds to the JSON property `sslRequired` + # @return [Boolean] + attr_accessor :ssl_required + alias_method :ssl_required?, :ssl_required + + # Date and time that this ad should start serving. If creating an ad, this field + # must be a time in the future. This is a required field on insertion. + # Corresponds to the JSON property `startTime` + # @return [DateTime] + attr_accessor :start_time + + # Subaccount ID of this ad. This is a read-only field that can be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Targeting template ID, used to apply preconfigured targeting information to + # this ad. This cannot be set while any of dayPartTargeting, geoTargeting, + # keyValueTargetingExpression, languageTargeting, remarketingListExpression, or + # technologyTargeting are set. Applicable when type is AD_SERVING_STANDARD_AD. + # Corresponds to the JSON property `targetingTemplateId` + # @return [String] + attr_accessor :targeting_template_id + + # Technology Targeting. + # Corresponds to the JSON property `technologyTargeting` + # @return [Google::Apis::DfareportingV2_7::TechnologyTargeting] + attr_accessor :technology_targeting + + # Type of ad. This is a required field on insertion. Note that default ads ( + # AD_SERVING_DEFAULT_AD) cannot be created directly (see Creative resource). + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active = args[:active] if args.key?(:active) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @archived = args[:archived] if args.key?(:archived) + @audience_segment_id = args[:audience_segment_id] if args.key?(:audience_segment_id) + @campaign_id = args[:campaign_id] if args.key?(:campaign_id) + @campaign_id_dimension_value = args[:campaign_id_dimension_value] if args.key?(:campaign_id_dimension_value) + @click_through_url = args[:click_through_url] if args.key?(:click_through_url) + @click_through_url_suffix_properties = args[:click_through_url_suffix_properties] if args.key?(:click_through_url_suffix_properties) + @comments = args[:comments] if args.key?(:comments) + @compatibility = args[:compatibility] if args.key?(:compatibility) + @create_info = args[:create_info] if args.key?(:create_info) + @creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments) + @creative_rotation = args[:creative_rotation] if args.key?(:creative_rotation) + @day_part_targeting = args[:day_part_targeting] if args.key?(:day_part_targeting) + @default_click_through_event_tag_properties = args[:default_click_through_event_tag_properties] if args.key?(:default_click_through_event_tag_properties) + @delivery_schedule = args[:delivery_schedule] if args.key?(:delivery_schedule) + @dynamic_click_tracker = args[:dynamic_click_tracker] if args.key?(:dynamic_click_tracker) + @end_time = args[:end_time] if args.key?(:end_time) + @event_tag_overrides = args[:event_tag_overrides] if args.key?(:event_tag_overrides) + @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @key_value_targeting_expression = args[:key_value_targeting_expression] if args.key?(:key_value_targeting_expression) + @kind = args[:kind] if args.key?(:kind) + @language_targeting = args[:language_targeting] if args.key?(:language_targeting) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @name = args[:name] if args.key?(:name) + @placement_assignments = args[:placement_assignments] if args.key?(:placement_assignments) + @remarketing_list_expression = args[:remarketing_list_expression] if args.key?(:remarketing_list_expression) + @size = args[:size] if args.key?(:size) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @ssl_required = args[:ssl_required] if args.key?(:ssl_required) + @start_time = args[:start_time] if args.key?(:start_time) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @targeting_template_id = args[:targeting_template_id] if args.key?(:targeting_template_id) + @technology_targeting = args[:technology_targeting] if args.key?(:technology_targeting) + @type = args[:type] if args.key?(:type) + end + end + + # Ad Slot + class AdSlot + include Google::Apis::Core::Hashable + + # Comment for this ad slot. + # Corresponds to the JSON property `comment` + # @return [String] + attr_accessor :comment + + # Ad slot compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering + # either on desktop, mobile devices or in mobile apps for regular or + # interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in + # mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads + # developed with the VAST standard. + # Corresponds to the JSON property `compatibility` + # @return [String] + attr_accessor :compatibility + + # Height of this ad slot. + # Corresponds to the JSON property `height` + # @return [String] + attr_accessor :height + + # ID of the placement from an external platform that is linked to this ad slot. + # Corresponds to the JSON property `linkedPlacementId` + # @return [String] + attr_accessor :linked_placement_id + + # Name of this ad slot. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Payment source type of this ad slot. + # Corresponds to the JSON property `paymentSourceType` + # @return [String] + attr_accessor :payment_source_type + + # Primary ad slot of a roadblock inventory item. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + # Width of this ad slot. + # Corresponds to the JSON property `width` + # @return [String] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @comment = args[:comment] if args.key?(:comment) + @compatibility = args[:compatibility] if args.key?(:compatibility) + @height = args[:height] if args.key?(:height) + @linked_placement_id = args[:linked_placement_id] if args.key?(:linked_placement_id) + @name = args[:name] if args.key?(:name) + @payment_source_type = args[:payment_source_type] if args.key?(:payment_source_type) + @primary = args[:primary] if args.key?(:primary) + @width = args[:width] if args.key?(:width) + end + end + + # Ad List Response + class AdsListResponse + include Google::Apis::Core::Hashable + + # Ad collection. + # Corresponds to the JSON property `ads` + # @return [Array] + attr_accessor :ads + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#adsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ads = args[:ads] if args.key?(:ads) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Contains properties of a DCM advertiser. + class Advertiser + include Google::Apis::Core::Hashable + + # Account ID of this advertiser.This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # ID of the advertiser group this advertiser belongs to. You can group + # advertisers for reporting purposes, allowing you to see aggregated information + # for all advertisers in each group. + # Corresponds to the JSON property `advertiserGroupId` + # @return [String] + attr_accessor :advertiser_group_id + + # Suffix added to click-through URL of ad creative associations under this + # advertiser. Must be less than 129 characters long. + # Corresponds to the JSON property `clickThroughUrlSuffix` + # @return [String] + attr_accessor :click_through_url_suffix + + # ID of the click-through event tag to apply by default to the landing pages of + # this advertiser's campaigns. + # Corresponds to the JSON property `defaultClickThroughEventTagId` + # @return [String] + attr_accessor :default_click_through_event_tag_id + + # Default email address used in sender field for tag emails. + # Corresponds to the JSON property `defaultEmail` + # @return [String] + attr_accessor :default_email + + # Floodlight configuration ID of this advertiser. The floodlight configuration + # ID will be created automatically, so on insert this field should be left blank. + # This field can be set to another advertiser's floodlight configuration ID in + # order to share that advertiser's floodlight configuration with this advertiser, + # so long as: + # - This advertiser's original floodlight configuration is not already + # associated with floodlight activities or floodlight activity groups. + # - This advertiser's original floodlight configuration is not already shared + # with another advertiser. + # Corresponds to the JSON property `floodlightConfigurationId` + # @return [String] + attr_accessor :floodlight_configuration_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigurationIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_configuration_id_dimension_value + + # ID of this advertiser. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#advertiser". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this advertiser. This is a required field and must be less than 256 + # characters long and unique among advertisers of the same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Original floodlight configuration before any sharing occurred. Set the + # floodlightConfigurationId of this advertiser to + # originalFloodlightConfigurationId to unshare the advertiser's current + # floodlight configuration. You cannot unshare an advertiser's floodlight + # configuration if the shared configuration has activities associated with any + # campaign or placement. + # Corresponds to the JSON property `originalFloodlightConfigurationId` + # @return [String] + attr_accessor :original_floodlight_configuration_id + + # Status of this advertiser. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Subaccount ID of this advertiser.This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Suspension status of this advertiser. + # Corresponds to the JSON property `suspended` + # @return [Boolean] + attr_accessor :suspended + alias_method :suspended?, :suspended + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_group_id = args[:advertiser_group_id] if args.key?(:advertiser_group_id) + @click_through_url_suffix = args[:click_through_url_suffix] if args.key?(:click_through_url_suffix) + @default_click_through_event_tag_id = args[:default_click_through_event_tag_id] if args.key?(:default_click_through_event_tag_id) + @default_email = args[:default_email] if args.key?(:default_email) + @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) + @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] if args.key?(:floodlight_configuration_id_dimension_value) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @original_floodlight_configuration_id = args[:original_floodlight_configuration_id] if args.key?(:original_floodlight_configuration_id) + @status = args[:status] if args.key?(:status) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @suspended = args[:suspended] if args.key?(:suspended) + end + end + + # Groups advertisers together so that reports can be generated for the entire + # group at once. + class AdvertiserGroup + include Google::Apis::Core::Hashable + + # Account ID of this advertiser group. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # ID of this advertiser group. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#advertiserGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this advertiser group. This is a required field and must be less than + # 256 characters long and unique among advertiser groups of the same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Advertiser Group List Response + class AdvertiserGroupsListResponse + include Google::Apis::Core::Hashable + + # Advertiser group collection. + # Corresponds to the JSON property `advertiserGroups` + # @return [Array] + attr_accessor :advertiser_groups + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#advertiserGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertiser_groups = args[:advertiser_groups] if args.key?(:advertiser_groups) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Advertiser List Response + class AdvertisersListResponse + include Google::Apis::Core::Hashable + + # Advertiser collection. + # Corresponds to the JSON property `advertisers` + # @return [Array] + attr_accessor :advertisers + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#advertisersListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertisers = args[:advertisers] if args.key?(:advertisers) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Audience Segment. + class AudienceSegment + include Google::Apis::Core::Hashable + + # Weight allocated to this segment. Must be between 1 and 1000. The weight + # assigned will be understood in proportion to the weights assigned to other + # segments in the same segment group. + # Corresponds to the JSON property `allocation` + # @return [Fixnum] + attr_accessor :allocation + + # ID of this audience segment. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of this audience segment. This is a required field and must be less than + # 65 characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @allocation = args[:allocation] if args.key?(:allocation) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + end + end + + # Audience Segment Group. + class AudienceSegmentGroup + include Google::Apis::Core::Hashable + + # Audience segments assigned to this group. The number of segments must be + # between 2 and 100. + # Corresponds to the JSON property `audienceSegments` + # @return [Array] + attr_accessor :audience_segments + + # ID of this audience segment group. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of this audience segment group. This is a required field and must be less + # than 65 characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @audience_segments = args[:audience_segments] if args.key?(:audience_segments) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + end + end + + # Contains information about a browser that can be targeted by ads. + class Browser + include Google::Apis::Core::Hashable + + # ID referring to this grouping of browser and version numbers. This is the ID + # used for targeting. + # Corresponds to the JSON property `browserVersionId` + # @return [String] + attr_accessor :browser_version_id + + # DART ID of this browser. This is the ID used when generating reports. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#browser". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Major version number (leftmost number) of this browser. For example, for + # Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk (*) may be + # used to target any version number, and a question mark (?) may be used to + # target cases where the version number cannot be identified. For example, + # Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3.* + # targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad + # server knows the browser is Firefox but can't tell which version it is. + # Corresponds to the JSON property `majorVersion` + # @return [String] + attr_accessor :major_version + + # Minor version number (number after first dot on left) of this browser. For + # example, for Chrome 5.0.375.86 beta, this field should be set to 0. An + # asterisk (*) may be used to target any version number, and a question mark (?) + # may be used to target cases where the version number cannot be identified. For + # example, Chrome *.* targets any version of Chrome: 1.2, 2.5, 3.5, and so on. + # Chrome 3.* targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases + # where the ad server knows the browser is Firefox but can't tell which version + # it is. + # Corresponds to the JSON property `minorVersion` + # @return [String] + attr_accessor :minor_version + + # Name of this browser. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @browser_version_id = args[:browser_version_id] if args.key?(:browser_version_id) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @kind = args[:kind] if args.key?(:kind) + @major_version = args[:major_version] if args.key?(:major_version) + @minor_version = args[:minor_version] if args.key?(:minor_version) + @name = args[:name] if args.key?(:name) + end + end + + # Browser List Response + class BrowsersListResponse + include Google::Apis::Core::Hashable + + # Browser collection. + # Corresponds to the JSON property `browsers` + # @return [Array] + attr_accessor :browsers + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#browsersListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @browsers = args[:browsers] if args.key?(:browsers) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains properties of a DCM campaign. + class Campaign + include Google::Apis::Core::Hashable + + # Account ID of this campaign. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Additional creative optimization configurations for the campaign. + # Corresponds to the JSON property `additionalCreativeOptimizationConfigurations` + # @return [Array] + attr_accessor :additional_creative_optimization_configurations + + # Advertiser group ID of the associated advertiser. + # Corresponds to the JSON property `advertiserGroupId` + # @return [String] + attr_accessor :advertiser_group_id + + # Advertiser ID of this campaign. This is a required field. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Whether this campaign has been archived. + # Corresponds to the JSON property `archived` + # @return [Boolean] + attr_accessor :archived + alias_method :archived?, :archived + + # Audience segment groups assigned to this campaign. Cannot have more than 300 + # segment groups. + # Corresponds to the JSON property `audienceSegmentGroups` + # @return [Array] + attr_accessor :audience_segment_groups + + # Billing invoice code included in the DCM client billing invoices associated + # with the campaign. + # Corresponds to the JSON property `billingInvoiceCode` + # @return [String] + attr_accessor :billing_invoice_code + + # Click Through URL Suffix settings. + # Corresponds to the JSON property `clickThroughUrlSuffixProperties` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties] + attr_accessor :click_through_url_suffix_properties + + # Arbitrary comments about this campaign. Must be less than 256 characters long. + # Corresponds to the JSON property `comment` + # @return [String] + attr_accessor :comment + + # Modification timestamp. + # Corresponds to the JSON property `createInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :create_info + + # List of creative group IDs that are assigned to the campaign. + # Corresponds to the JSON property `creativeGroupIds` + # @return [Array] + attr_accessor :creative_group_ids + + # Creative optimization settings. + # Corresponds to the JSON property `creativeOptimizationConfiguration` + # @return [Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration] + attr_accessor :creative_optimization_configuration + + # Properties of inheriting and overriding the default click-through event tag. A + # campaign may override the event tag defined at the advertiser level, and an ad + # may also override the campaign's setting further. + # Corresponds to the JSON property `defaultClickThroughEventTagProperties` + # @return [Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties] + attr_accessor :default_click_through_event_tag_properties + + # Date on which the campaign will stop running. On insert, the end date must be + # today or a future date. The end date must be later than or be the same as the + # start date. If, for example, you set 6/25/2015 as both the start and end dates, + # the effective campaign run date is just that day only, 6/25/2015. The hours, + # minutes, and seconds of the end date should not be set, as doing so will + # result in an error. This is a required field. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # Overrides that can be used to activate or deactivate advertiser event tags. + # Corresponds to the JSON property `eventTagOverrides` + # @return [Array] + attr_accessor :event_tag_overrides + + # External ID for this campaign. + # Corresponds to the JSON property `externalId` + # @return [String] + attr_accessor :external_id + + # ID of this campaign. This is a read-only auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#campaign". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Lookback configuration settings. + # Corresponds to the JSON property `lookbackConfiguration` + # @return [Google::Apis::DfareportingV2_7::LookbackConfiguration] + attr_accessor :lookback_configuration + + # Name of this campaign. This is a required field and must be less than 256 + # characters long and unique among campaigns of the same advertiser. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether Nielsen reports are enabled for this campaign. + # Corresponds to the JSON property `nielsenOcrEnabled` + # @return [Boolean] + attr_accessor :nielsen_ocr_enabled + alias_method :nielsen_ocr_enabled?, :nielsen_ocr_enabled + + # Date on which the campaign starts running. The start date can be any date. The + # hours, minutes, and seconds of the start date should not be set, as doing so + # will result in an error. This is a required field. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + # Subaccount ID of this campaign. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Campaign trafficker contact emails. + # Corresponds to the JSON property `traffickerEmails` + # @return [Array] + attr_accessor :trafficker_emails + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @additional_creative_optimization_configurations = args[:additional_creative_optimization_configurations] if args.key?(:additional_creative_optimization_configurations) + @advertiser_group_id = args[:advertiser_group_id] if args.key?(:advertiser_group_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @archived = args[:archived] if args.key?(:archived) + @audience_segment_groups = args[:audience_segment_groups] if args.key?(:audience_segment_groups) + @billing_invoice_code = args[:billing_invoice_code] if args.key?(:billing_invoice_code) + @click_through_url_suffix_properties = args[:click_through_url_suffix_properties] if args.key?(:click_through_url_suffix_properties) + @comment = args[:comment] if args.key?(:comment) + @create_info = args[:create_info] if args.key?(:create_info) + @creative_group_ids = args[:creative_group_ids] if args.key?(:creative_group_ids) + @creative_optimization_configuration = args[:creative_optimization_configuration] if args.key?(:creative_optimization_configuration) + @default_click_through_event_tag_properties = args[:default_click_through_event_tag_properties] if args.key?(:default_click_through_event_tag_properties) + @end_date = args[:end_date] if args.key?(:end_date) + @event_tag_overrides = args[:event_tag_overrides] if args.key?(:event_tag_overrides) + @external_id = args[:external_id] if args.key?(:external_id) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration) + @name = args[:name] if args.key?(:name) + @nielsen_ocr_enabled = args[:nielsen_ocr_enabled] if args.key?(:nielsen_ocr_enabled) + @start_date = args[:start_date] if args.key?(:start_date) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @trafficker_emails = args[:trafficker_emails] if args.key?(:trafficker_emails) + end + end + + # Identifies a creative which has been associated with a given campaign. + class CampaignCreativeAssociation + include Google::Apis::Core::Hashable + + # ID of the creative associated with the campaign. This is a required field. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#campaignCreativeAssociation". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Campaign Creative Association List Response + class CampaignCreativeAssociationsListResponse + include Google::Apis::Core::Hashable + + # Campaign creative association collection + # Corresponds to the JSON property `campaignCreativeAssociations` + # @return [Array] + attr_accessor :campaign_creative_associations + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#campaignCreativeAssociationsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @campaign_creative_associations = args[:campaign_creative_associations] if args.key?(:campaign_creative_associations) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Campaign List Response + class CampaignsListResponse + include Google::Apis::Core::Hashable + + # Campaign collection. + # Corresponds to the JSON property `campaigns` + # @return [Array] + attr_accessor :campaigns + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#campaignsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @campaigns = args[:campaigns] if args.key?(:campaigns) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Describes a change that a user has made to a resource. + class ChangeLog + include Google::Apis::Core::Hashable + + # Account ID of the modified object. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Action which caused the change. + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # Time when the object was modified. + # Corresponds to the JSON property `changeTime` + # @return [DateTime] + attr_accessor :change_time + + # Field name of the object which changed. + # Corresponds to the JSON property `fieldName` + # @return [String] + attr_accessor :field_name + + # ID of this change log. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#changeLog". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # New value of the object field. + # Corresponds to the JSON property `newValue` + # @return [String] + attr_accessor :new_value + + # ID of the object of this change log. The object could be a campaign, placement, + # ad, or other type. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Object type of the change log. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + # Old value of the object field. + # Corresponds to the JSON property `oldValue` + # @return [String] + attr_accessor :old_value + + # Subaccount ID of the modified object. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Transaction ID of this change log. When a single API call results in many + # changes, each change will have a separate ID in the change log but will share + # the same transactionId. + # Corresponds to the JSON property `transactionId` + # @return [String] + attr_accessor :transaction_id + + # ID of the user who modified the object. + # Corresponds to the JSON property `userProfileId` + # @return [String] + attr_accessor :user_profile_id + + # User profile name of the user who modified the object. + # Corresponds to the JSON property `userProfileName` + # @return [String] + attr_accessor :user_profile_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @action = args[:action] if args.key?(:action) + @change_time = args[:change_time] if args.key?(:change_time) + @field_name = args[:field_name] if args.key?(:field_name) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @new_value = args[:new_value] if args.key?(:new_value) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @object_type = args[:object_type] if args.key?(:object_type) + @old_value = args[:old_value] if args.key?(:old_value) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @transaction_id = args[:transaction_id] if args.key?(:transaction_id) + @user_profile_id = args[:user_profile_id] if args.key?(:user_profile_id) + @user_profile_name = args[:user_profile_name] if args.key?(:user_profile_name) + end + end + + # Change Log List Response + class ChangeLogsListResponse + include Google::Apis::Core::Hashable + + # Change log collection. + # Corresponds to the JSON property `changeLogs` + # @return [Array] + attr_accessor :change_logs + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#changeLogsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @change_logs = args[:change_logs] if args.key?(:change_logs) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # City List Response + class CitiesListResponse + include Google::Apis::Core::Hashable + + # City collection. + # Corresponds to the JSON property `cities` + # @return [Array] + attr_accessor :cities + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#citiesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cities = args[:cities] if args.key?(:cities) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains information about a city that can be targeted by ads. + class City + include Google::Apis::Core::Hashable + + # Country code of the country to which this city belongs. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of the country to which this city belongs. + # Corresponds to the JSON property `countryDartId` + # @return [String] + attr_accessor :country_dart_id + + # DART ID of this city. This is the ID used for targeting and generating reports. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#city". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metro region code of the metro region (DMA) to which this city belongs. + # Corresponds to the JSON property `metroCode` + # @return [String] + attr_accessor :metro_code + + # ID of the metro region (DMA) to which this city belongs. + # Corresponds to the JSON property `metroDmaId` + # @return [String] + attr_accessor :metro_dma_id + + # Name of this city. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Region code of the region to which this city belongs. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + # DART ID of the region to which this city belongs. + # Corresponds to the JSON property `regionDartId` + # @return [String] + attr_accessor :region_dart_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @kind = args[:kind] if args.key?(:kind) + @metro_code = args[:metro_code] if args.key?(:metro_code) + @metro_dma_id = args[:metro_dma_id] if args.key?(:metro_dma_id) + @name = args[:name] if args.key?(:name) + @region_code = args[:region_code] if args.key?(:region_code) + @region_dart_id = args[:region_dart_id] if args.key?(:region_dart_id) + end + end + + # Creative Click Tag. + class ClickTag + include Google::Apis::Core::Hashable + + # Advertiser event name associated with the click tag. This field is used by + # DISPLAY_IMAGE_GALLERY and HTML5_BANNER creatives. Applicable to DISPLAY when + # the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `eventName` + # @return [String] + attr_accessor :event_name + + # Parameter name for the specified click tag. For DISPLAY_IMAGE_GALLERY creative + # assets, this field must match the value of the creative asset's + # creativeAssetId.name field. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Parameter value for the specified click tag. This field contains a click- + # through url. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_name = args[:event_name] if args.key?(:event_name) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # Click-through URL + class ClickThroughUrl + include Google::Apis::Core::Hashable + + # Read-only convenience field representing the actual URL that will be used for + # this click-through. The URL is computed as follows: + # - If defaultLandingPage is enabled then the campaign's default landing page + # URL is assigned to this field. + # - If defaultLandingPage is not enabled and a landingPageId is specified then + # that landing page's URL is assigned to this field. + # - If neither of the above cases apply, then the customClickThroughUrl is + # assigned to this field. + # Corresponds to the JSON property `computedClickThroughUrl` + # @return [String] + attr_accessor :computed_click_through_url + + # Custom click-through URL. Applicable if the defaultLandingPage field is set to + # false and the landingPageId field is left unset. + # Corresponds to the JSON property `customClickThroughUrl` + # @return [String] + attr_accessor :custom_click_through_url + + # Whether the campaign default landing page is used. + # Corresponds to the JSON property `defaultLandingPage` + # @return [Boolean] + attr_accessor :default_landing_page + alias_method :default_landing_page?, :default_landing_page + + # ID of the landing page for the click-through URL. Applicable if the + # defaultLandingPage field is set to false. + # Corresponds to the JSON property `landingPageId` + # @return [String] + attr_accessor :landing_page_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @computed_click_through_url = args[:computed_click_through_url] if args.key?(:computed_click_through_url) + @custom_click_through_url = args[:custom_click_through_url] if args.key?(:custom_click_through_url) + @default_landing_page = args[:default_landing_page] if args.key?(:default_landing_page) + @landing_page_id = args[:landing_page_id] if args.key?(:landing_page_id) + end + end + + # Click Through URL Suffix settings. + class ClickThroughUrlSuffixProperties + include Google::Apis::Core::Hashable + + # Click-through URL suffix to apply to all ads in this entity's scope. Must be + # less than 128 characters long. + # Corresponds to the JSON property `clickThroughUrlSuffix` + # @return [String] + attr_accessor :click_through_url_suffix + + # Whether this entity should override the inherited click-through URL suffix + # with its own defined value. + # Corresponds to the JSON property `overrideInheritedSuffix` + # @return [Boolean] + attr_accessor :override_inherited_suffix + alias_method :override_inherited_suffix?, :override_inherited_suffix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_through_url_suffix = args[:click_through_url_suffix] if args.key?(:click_through_url_suffix) + @override_inherited_suffix = args[:override_inherited_suffix] if args.key?(:override_inherited_suffix) + end + end + + # Companion Click-through override. + class CompanionClickThroughOverride + include Google::Apis::Core::Hashable + + # Click-through URL + # Corresponds to the JSON property `clickThroughUrl` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrl] + attr_accessor :click_through_url + + # ID of the creative for this companion click-through override. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_through_url = args[:click_through_url] if args.key?(:click_through_url) + @creative_id = args[:creative_id] if args.key?(:creative_id) + end + end + + # Companion Settings + class CompanionSetting + include Google::Apis::Core::Hashable + + # Whether companions are disabled for this placement. + # Corresponds to the JSON property `companionsDisabled` + # @return [Boolean] + attr_accessor :companions_disabled + alias_method :companions_disabled?, :companions_disabled + + # Whitelist of companion sizes to be served to this placement. Set this list to + # null or empty to serve all companion sizes. + # Corresponds to the JSON property `enabledSizes` + # @return [Array] + attr_accessor :enabled_sizes + + # Whether to serve only static images as companions. + # Corresponds to the JSON property `imageOnly` + # @return [Boolean] + attr_accessor :image_only + alias_method :image_only?, :image_only + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#companionSetting". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @companions_disabled = args[:companions_disabled] if args.key?(:companions_disabled) + @enabled_sizes = args[:enabled_sizes] if args.key?(:enabled_sizes) + @image_only = args[:image_only] if args.key?(:image_only) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Represents a response to the queryCompatibleFields method. + class CompatibleFields + include Google::Apis::Core::Hashable + + # Represents fields that are compatible to be selected for a report of type " + # CROSS_DIMENSION_REACH". + # Corresponds to the JSON property `crossDimensionReachReportCompatibleFields` + # @return [Google::Apis::DfareportingV2_7::CrossDimensionReachReportCompatibleFields] + attr_accessor :cross_dimension_reach_report_compatible_fields + + # Represents fields that are compatible to be selected for a report of type " + # FlOODLIGHT". + # Corresponds to the JSON property `floodlightReportCompatibleFields` + # @return [Google::Apis::DfareportingV2_7::FloodlightReportCompatibleFields] + attr_accessor :floodlight_report_compatible_fields + + # The kind of resource this is, in this case dfareporting#compatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Represents fields that are compatible to be selected for a report of type " + # PATH_TO_CONVERSION". + # Corresponds to the JSON property `pathToConversionReportCompatibleFields` + # @return [Google::Apis::DfareportingV2_7::PathToConversionReportCompatibleFields] + attr_accessor :path_to_conversion_report_compatible_fields + + # Represents fields that are compatible to be selected for a report of type " + # REACH". + # Corresponds to the JSON property `reachReportCompatibleFields` + # @return [Google::Apis::DfareportingV2_7::ReachReportCompatibleFields] + attr_accessor :reach_report_compatible_fields + + # Represents fields that are compatible to be selected for a report of type " + # STANDARD". + # Corresponds to the JSON property `reportCompatibleFields` + # @return [Google::Apis::DfareportingV2_7::ReportCompatibleFields] + attr_accessor :report_compatible_fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cross_dimension_reach_report_compatible_fields = args[:cross_dimension_reach_report_compatible_fields] if args.key?(:cross_dimension_reach_report_compatible_fields) + @floodlight_report_compatible_fields = args[:floodlight_report_compatible_fields] if args.key?(:floodlight_report_compatible_fields) + @kind = args[:kind] if args.key?(:kind) + @path_to_conversion_report_compatible_fields = args[:path_to_conversion_report_compatible_fields] if args.key?(:path_to_conversion_report_compatible_fields) + @reach_report_compatible_fields = args[:reach_report_compatible_fields] if args.key?(:reach_report_compatible_fields) + @report_compatible_fields = args[:report_compatible_fields] if args.key?(:report_compatible_fields) + end + end + + # Contains information about an internet connection type that can be targeted by + # ads. Clients can use the connection type to target mobile vs. broadband users. + class ConnectionType + include Google::Apis::Core::Hashable + + # ID of this connection type. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#connectionType". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this connection type. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Connection Type List Response + class ConnectionTypesListResponse + include Google::Apis::Core::Hashable + + # Collection of connection types such as broadband and mobile. + # Corresponds to the JSON property `connectionTypes` + # @return [Array] + attr_accessor :connection_types + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#connectionTypesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @connection_types = args[:connection_types] if args.key?(:connection_types) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Content Category List Response + class ContentCategoriesListResponse + include Google::Apis::Core::Hashable + + # Content category collection. + # Corresponds to the JSON property `contentCategories` + # @return [Array] + attr_accessor :content_categories + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#contentCategoriesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_categories = args[:content_categories] if args.key?(:content_categories) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Organizes placements according to the contents of their associated webpages. + class ContentCategory + include Google::Apis::Core::Hashable + + # Account ID of this content category. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # ID of this content category. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#contentCategory". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this content category. This is a required field and must be less than + # 256 characters long and unique among content categories of the same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # A Conversion represents when a user successfully performs a desired action + # after seeing an ad. + class Conversion + include Google::Apis::Core::Hashable + + # Whether the conversion was directed toward children. + # Corresponds to the JSON property `childDirectedTreatment` + # @return [Boolean] + attr_accessor :child_directed_treatment + alias_method :child_directed_treatment?, :child_directed_treatment + + # Custom floodlight variables. + # Corresponds to the JSON property `customVariables` + # @return [Array] + attr_accessor :custom_variables + + # The alphanumeric encrypted user ID. When set, encryptionInfo should also be + # specified. This field is mutually exclusive with encryptedUserIdCandidates[] + # and mobileDeviceId. This or encryptedUserIdCandidates[] or mobileDeviceId is a + # required field. + # Corresponds to the JSON property `encryptedUserId` + # @return [String] + attr_accessor :encrypted_user_id + + # A list of the alphanumeric encrypted user IDs. Any user ID with exposure prior + # to the conversion timestamp will be used in the inserted conversion. If no + # such user ID is found then the conversion will be rejected with + # NO_COOKIE_MATCH_FOUND error. When set, encryptionInfo should also be specified. + # This field should only be used when calling conversions.batchinsert. This + # field is mutually exclusive with encryptedUserId and mobileDeviceId. This or + # encryptedUserId or mobileDeviceId is a required field. + # Corresponds to the JSON property `encryptedUserIdCandidates` + # @return [Array] + attr_accessor :encrypted_user_id_candidates + + # Floodlight Activity ID of this conversion. This is a required field. + # Corresponds to the JSON property `floodlightActivityId` + # @return [String] + attr_accessor :floodlight_activity_id + + # Floodlight Configuration ID of this conversion. This is a required field. + # Corresponds to the JSON property `floodlightConfigurationId` + # @return [String] + attr_accessor :floodlight_configuration_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#conversion". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Whether Limit Ad Tracking is enabled. When set to true, the conversion will be + # used for reporting but not targeting. This will prevent remarketing. + # Corresponds to the JSON property `limitAdTracking` + # @return [Boolean] + attr_accessor :limit_ad_tracking + alias_method :limit_ad_tracking?, :limit_ad_tracking + + # The mobile device ID. This field is mutually exclusive with encryptedUserId + # and encryptedUserIdCandidates[]. This or encryptedUserId or + # encryptedUserIdCandidates[] is a required field. + # Corresponds to the JSON property `mobileDeviceId` + # @return [String] + attr_accessor :mobile_device_id + + # The ordinal of the conversion. Use this field to control how conversions of + # the same user and day are de-duplicated. This is a required field. + # Corresponds to the JSON property `ordinal` + # @return [String] + attr_accessor :ordinal + + # The quantity of the conversion. + # Corresponds to the JSON property `quantity` + # @return [String] + attr_accessor :quantity + + # The timestamp of conversion, in Unix epoch micros. This is a required field. + # Corresponds to the JSON property `timestampMicros` + # @return [String] + attr_accessor :timestamp_micros + + # The value of the conversion. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @child_directed_treatment = args[:child_directed_treatment] if args.key?(:child_directed_treatment) + @custom_variables = args[:custom_variables] if args.key?(:custom_variables) + @encrypted_user_id = args[:encrypted_user_id] if args.key?(:encrypted_user_id) + @encrypted_user_id_candidates = args[:encrypted_user_id_candidates] if args.key?(:encrypted_user_id_candidates) + @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id) + @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) + @kind = args[:kind] if args.key?(:kind) + @limit_ad_tracking = args[:limit_ad_tracking] if args.key?(:limit_ad_tracking) + @mobile_device_id = args[:mobile_device_id] if args.key?(:mobile_device_id) + @ordinal = args[:ordinal] if args.key?(:ordinal) + @quantity = args[:quantity] if args.key?(:quantity) + @timestamp_micros = args[:timestamp_micros] if args.key?(:timestamp_micros) + @value = args[:value] if args.key?(:value) + end + end + + # The error code and description for a conversion that failed to insert or + # update. + class ConversionError + include Google::Apis::Core::Hashable + + # The error code. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#conversionError". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # A description of the error. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @kind = args[:kind] if args.key?(:kind) + @message = args[:message] if args.key?(:message) + end + end + + # The original conversion that was inserted or updated and whether there were + # any errors. + class ConversionStatus + include Google::Apis::Core::Hashable + + # A Conversion represents when a user successfully performs a desired action + # after seeing an ad. + # Corresponds to the JSON property `conversion` + # @return [Google::Apis::DfareportingV2_7::Conversion] + attr_accessor :conversion + + # A list of errors related to this conversion. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#conversionStatus". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversion = args[:conversion] if args.key?(:conversion) + @errors = args[:errors] if args.key?(:errors) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Insert Conversions Request. + class ConversionsBatchInsertRequest + include Google::Apis::Core::Hashable + + # The set of conversions to insert. + # Corresponds to the JSON property `conversions` + # @return [Array] + attr_accessor :conversions + + # A description of how user IDs are encrypted. + # Corresponds to the JSON property `encryptionInfo` + # @return [Google::Apis::DfareportingV2_7::EncryptionInfo] + attr_accessor :encryption_info + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#conversionsBatchInsertRequest". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversions = args[:conversions] if args.key?(:conversions) + @encryption_info = args[:encryption_info] if args.key?(:encryption_info) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Insert Conversions Response. + class ConversionsBatchInsertResponse + include Google::Apis::Core::Hashable + + # Indicates that some or all conversions failed to insert. + # Corresponds to the JSON property `hasFailures` + # @return [Boolean] + attr_accessor :has_failures + alias_method :has_failures?, :has_failures + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#conversionsBatchInsertResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The status of each conversion's insertion status. The status is returned in + # the same order that conversions are inserted. + # Corresponds to the JSON property `status` + # @return [Array] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @has_failures = args[:has_failures] if args.key?(:has_failures) + @kind = args[:kind] if args.key?(:kind) + @status = args[:status] if args.key?(:status) + end + end + + # Country List Response + class CountriesListResponse + include Google::Apis::Core::Hashable + + # Country collection. + # Corresponds to the JSON property `countries` + # @return [Array] + attr_accessor :countries + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#countriesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @countries = args[:countries] if args.key?(:countries) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains information about a country that can be targeted by ads. + class Country + include Google::Apis::Core::Hashable + + # Country code. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of this country. This is the ID used for targeting and generating + # reports. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#country". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this country. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether ad serving supports secure servers in this country. + # Corresponds to the JSON property `sslEnabled` + # @return [Boolean] + attr_accessor :ssl_enabled + alias_method :ssl_enabled?, :ssl_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @ssl_enabled = args[:ssl_enabled] if args.key?(:ssl_enabled) + end + end + + # Contains properties of a Creative. + class Creative + include Google::Apis::Core::Hashable + + # Account ID of this creative. This field, if left unset, will be auto-generated + # for both insert and update operations. Applicable to all creative types. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether the creative is active. Applicable to all creative types. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Ad parameters user for VPAID creative. This is a read-only field. Applicable + # to the following creative types: all VPAID. + # Corresponds to the JSON property `adParameters` + # @return [String] + attr_accessor :ad_parameters + + # Keywords for a Rich Media creative. Keywords let you customize the creative + # settings of a Rich Media ad running on your site without having to contact the + # advertiser. You can use keywords to dynamically change the look or + # functionality of a creative. Applicable to the following creative types: all + # RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `adTagKeys` + # @return [Array] + attr_accessor :ad_tag_keys + + # Advertiser ID of this creative. This is a required field. Applicable to all + # creative types. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Whether script access is allowed for this creative. This is a read-only and + # deprecated field which will automatically be set to true on update. Applicable + # to the following creative types: FLASH_INPAGE. + # Corresponds to the JSON property `allowScriptAccess` + # @return [Boolean] + attr_accessor :allow_script_access + alias_method :allow_script_access?, :allow_script_access + + # Whether the creative is archived. Applicable to all creative types. + # Corresponds to the JSON property `archived` + # @return [Boolean] + attr_accessor :archived + alias_method :archived?, :archived + + # Type of artwork used for the creative. This is a read-only field. Applicable + # to the following creative types: all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `artworkType` + # @return [String] + attr_accessor :artwork_type + + # Source application where creative was authored. Presently, only DBM authored + # creatives will have this field set. Applicable to all creative types. + # Corresponds to the JSON property `authoringSource` + # @return [String] + attr_accessor :authoring_source + + # Authoring tool for HTML5 banner creatives. This is a read-only field. + # Applicable to the following creative types: HTML5_BANNER. + # Corresponds to the JSON property `authoringTool` + # @return [String] + attr_accessor :authoring_tool + + # Whether images are automatically advanced for image gallery creatives. + # Applicable to the following creative types: DISPLAY_IMAGE_GALLERY. + # Corresponds to the JSON property `auto_advance_images` + # @return [Boolean] + attr_accessor :auto_advance_images + alias_method :auto_advance_images?, :auto_advance_images + + # The 6-character HTML color code, beginning with #, for the background of the + # window area where the Flash file is displayed. Default is white. Applicable to + # the following creative types: FLASH_INPAGE. + # Corresponds to the JSON property `backgroundColor` + # @return [String] + attr_accessor :background_color + + # Click-through URL for backup image. Applicable to the following creative types: + # FLASH_INPAGE and HTML5_BANNER. Applicable to DISPLAY when the primary asset + # type is not HTML_IMAGE. + # Corresponds to the JSON property `backupImageClickThroughUrl` + # @return [String] + attr_accessor :backup_image_click_through_url + + # List of feature dependencies that will cause a backup image to be served if + # the browser that serves the ad does not support them. Feature dependencies are + # features that a browser must be able to support in order to render your HTML5 + # creative asset correctly. This field is initially auto-generated to contain + # all features detected by DCM for all the assets of this creative and can then + # be modified by the client. To reset this field, copy over all the + # creativeAssets' detected features. Applicable to the following creative types: + # HTML5_BANNER. Applicable to DISPLAY when the primary asset type is not + # HTML_IMAGE. + # Corresponds to the JSON property `backupImageFeatures` + # @return [Array] + attr_accessor :backup_image_features + + # Reporting label used for HTML5 banner backup image. Applicable to the + # following creative types: DISPLAY when the primary asset type is not + # HTML_IMAGE. + # Corresponds to the JSON property `backupImageReportingLabel` + # @return [String] + attr_accessor :backup_image_reporting_label + + # Target Window. + # Corresponds to the JSON property `backupImageTargetWindow` + # @return [Google::Apis::DfareportingV2_7::TargetWindow] + attr_accessor :backup_image_target_window + + # Click tags of the creative. For DISPLAY, FLASH_INPAGE, and HTML5_BANNER + # creatives, this is a subset of detected click tags for the assets associated + # with this creative. After creating a flash asset, detected click tags will be + # returned in the creativeAssetMetadata. When inserting the creative, populate + # the creative clickTags field using the creativeAssetMetadata.clickTags field. + # For DISPLAY_IMAGE_GALLERY creatives, there should be exactly one entry in this + # list for each image creative asset. A click tag is matched with a + # corresponding creative asset by matching the clickTag.name field with the + # creativeAsset.assetIdentifier.name field. Applicable to the following creative + # types: DISPLAY_IMAGE_GALLERY, FLASH_INPAGE, HTML5_BANNER. Applicable to + # DISPLAY when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `clickTags` + # @return [Array] + attr_accessor :click_tags + + # Industry standard ID assigned to creative for reach and frequency. Applicable + # to the following creative types: all INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `commercialId` + # @return [String] + attr_accessor :commercial_id + + # List of companion creatives assigned to an in-Stream videocreative. Acceptable + # values include IDs of existing flash and image creatives. Applicable to the + # following creative types: all VPAID and all INSTREAM_VIDEO with + # dynamicAssetSelection set to false. + # Corresponds to the JSON property `companionCreatives` + # @return [Array] + attr_accessor :companion_creatives + + # Compatibilities associated with this creative. This is a read-only field. + # DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on + # mobile devices or in mobile apps for regular or interstitial ads, respectively. + # APP and APP_INTERSTITIAL are for rendering in mobile apps. Only pre-existing + # creatives may have these compatibilities since new creatives will either be + # assigned DISPLAY or DISPLAY_INTERSTITIAL instead. IN_STREAM_VIDEO refers to + # rendering in in-stream video ads developed with the VAST standard. Applicable + # to all creative types. + # Acceptable values are: + # - "APP" + # - "APP_INTERSTITIAL" + # - "IN_STREAM_VIDEO" + # - "DISPLAY" + # - "DISPLAY_INTERSTITIAL" + # Corresponds to the JSON property `compatibility` + # @return [Array] + attr_accessor :compatibility + + # Whether Flash assets associated with the creative need to be automatically + # converted to HTML5. This flag is enabled by default and users can choose to + # disable it if they don't want the system to generate and use HTML5 asset for + # this creative. Applicable to the following creative type: FLASH_INPAGE. + # Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `convertFlashToHtml5` + # @return [Boolean] + attr_accessor :convert_flash_to_html5 + alias_method :convert_flash_to_html5?, :convert_flash_to_html5 + + # List of counter events configured for the creative. For DISPLAY_IMAGE_GALLERY + # creatives, these are read-only and auto-generated from clickTags. Applicable + # to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and + # all VPAID. + # Corresponds to the JSON property `counterCustomEvents` + # @return [Array] + attr_accessor :counter_custom_events + + # Encapsulates the list of rules for asset selection and a default asset in case + # none of the rules match. Applicable to INSTREAM_VIDEO creatives. + # Corresponds to the JSON property `creativeAssetSelection` + # @return [Google::Apis::DfareportingV2_7::CreativeAssetSelection] + attr_accessor :creative_asset_selection + + # Assets associated with a creative. Applicable to all but the following + # creative types: INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and + # REDIRECT + # Corresponds to the JSON property `creativeAssets` + # @return [Array] + attr_accessor :creative_assets + + # Creative field assignments for this creative. Applicable to all creative types. + # Corresponds to the JSON property `creativeFieldAssignments` + # @return [Array] + attr_accessor :creative_field_assignments + + # Custom key-values for a Rich Media creative. Key-values let you customize the + # creative settings of a Rich Media ad running on your site without having to + # contact the advertiser. You can use key-values to dynamically change the look + # or functionality of a creative. Applicable to the following creative types: + # all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `customKeyValues` + # @return [Array] + attr_accessor :custom_key_values + + # Set this to true to enable the use of rules to target individual assets in + # this creative. When set to true creativeAssetSelection must be set. This also + # controls asset-level companions. When this is true, companion creatives should + # be assigned to creative assets. Learn more. Applicable to INSTREAM_VIDEO + # creatives. + # Corresponds to the JSON property `dynamicAssetSelection` + # @return [Boolean] + attr_accessor :dynamic_asset_selection + alias_method :dynamic_asset_selection?, :dynamic_asset_selection + + # List of exit events configured for the creative. For DISPLAY and + # DISPLAY_IMAGE_GALLERY creatives, these are read-only and auto-generated from + # clickTags, For DISPLAY, an event is also created from the + # backupImageReportingLabel. Applicable to the following creative types: + # DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and all VPAID. Applicable to DISPLAY + # when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `exitCustomEvents` + # @return [Array] + attr_accessor :exit_custom_events + + # FsCommand. + # Corresponds to the JSON property `fsCommand` + # @return [Google::Apis::DfareportingV2_7::FsCommand] + attr_accessor :fs_command + + # HTML code for the creative. This is a required field when applicable. This + # field is ignored if htmlCodeLocked is false. Applicable to the following + # creative types: all CUSTOM, FLASH_INPAGE, and HTML5_BANNER, and all RICH_MEDIA. + # Corresponds to the JSON property `htmlCode` + # @return [String] + attr_accessor :html_code + + # Whether HTML code is DCM-generated or manually entered. Set to true to ignore + # changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE + # and HTML5_BANNER. + # Corresponds to the JSON property `htmlCodeLocked` + # @return [Boolean] + attr_accessor :html_code_locked + alias_method :html_code_locked?, :html_code_locked + + # ID of this creative. This is a read-only, auto-generated field. Applicable to + # all creative types. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creative". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Latest Studio trafficked creative ID associated with rich media and VPAID + # creatives. This is a read-only field. Applicable to the following creative + # types: all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `latestTraffickedCreativeId` + # @return [String] + attr_accessor :latest_trafficked_creative_id + + # Name of the creative. This is a required field and must be less than 256 + # characters long. Applicable to all creative types. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Override CSS value for rich media creatives. Applicable to the following + # creative types: all RICH_MEDIA. + # Corresponds to the JSON property `overrideCss` + # @return [String] + attr_accessor :override_css + + # Video Offset + # Corresponds to the JSON property `progressOffset` + # @return [Google::Apis::DfareportingV2_7::VideoOffset] + attr_accessor :progress_offset + + # URL of hosted image or hosted video or another ad tag. For + # INSTREAM_VIDEO_REDIRECT creatives this is the in-stream video redirect URL. + # The standard for a VAST (Video Ad Serving Template) ad response allows for a + # redirect link to another VAST 2.0 or 3.0 call. This is a required field when + # applicable. Applicable to the following creative types: DISPLAY_REDIRECT, + # INTERNAL_REDIRECT, INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO_REDIRECT + # Corresponds to the JSON property `redirectUrl` + # @return [String] + attr_accessor :redirect_url + + # ID of current rendering version. This is a read-only field. Applicable to all + # creative types. + # Corresponds to the JSON property `renderingId` + # @return [String] + attr_accessor :rendering_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `renderingIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :rendering_id_dimension_value + + # The minimum required Flash plugin version for this creative. For example, 11.2. + # 202.235. This is a read-only field. Applicable to the following creative types: + # all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `requiredFlashPluginVersion` + # @return [String] + attr_accessor :required_flash_plugin_version + + # The internal Flash version for this creative as calculated by DoubleClick + # Studio. This is a read-only field. Applicable to the following creative types: + # FLASH_INPAGE all RICH_MEDIA, and all VPAID. Applicable to DISPLAY when the + # primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `requiredFlashVersion` + # @return [Fixnum] + attr_accessor :required_flash_version + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `size` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :size + + # Video Offset + # Corresponds to the JSON property `skipOffset` + # @return [Google::Apis::DfareportingV2_7::VideoOffset] + attr_accessor :skip_offset + + # Whether the user can choose to skip the creative. Applicable to the following + # creative types: all INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `skippable` + # @return [Boolean] + attr_accessor :skippable + alias_method :skippable?, :skippable + + # Whether the creative is SSL-compliant. This is a read-only field. Applicable + # to all creative types. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Whether creative should be treated as SSL compliant even if the system scan + # shows it's not. Applicable to all creative types. + # Corresponds to the JSON property `sslOverride` + # @return [Boolean] + attr_accessor :ssl_override + alias_method :ssl_override?, :ssl_override + + # Studio advertiser ID associated with rich media and VPAID creatives. This is a + # read-only field. Applicable to the following creative types: all RICH_MEDIA, + # and all VPAID. + # Corresponds to the JSON property `studioAdvertiserId` + # @return [String] + attr_accessor :studio_advertiser_id + + # Studio creative ID associated with rich media and VPAID creatives. This is a + # read-only field. Applicable to the following creative types: all RICH_MEDIA, + # and all VPAID. + # Corresponds to the JSON property `studioCreativeId` + # @return [String] + attr_accessor :studio_creative_id + + # Studio trafficked creative ID associated with rich media and VPAID creatives. + # This is a read-only field. Applicable to the following creative types: all + # RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `studioTraffickedCreativeId` + # @return [String] + attr_accessor :studio_trafficked_creative_id + + # Subaccount ID of this creative. This field, if left unset, will be auto- + # generated for both insert and update operations. Applicable to all creative + # types. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Third-party URL used to record backup image impressions. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `thirdPartyBackupImageImpressionsUrl` + # @return [String] + attr_accessor :third_party_backup_image_impressions_url + + # Third-party URL used to record rich media impressions. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `thirdPartyRichMediaImpressionsUrl` + # @return [String] + attr_accessor :third_party_rich_media_impressions_url + + # Third-party URLs for tracking in-stream video creative events. Applicable to + # the following creative types: all INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `thirdPartyUrls` + # @return [Array] + attr_accessor :third_party_urls + + # List of timer events configured for the creative. For DISPLAY_IMAGE_GALLERY + # creatives, these are read-only and auto-generated from clickTags. Applicable + # to the following creative types: DISPLAY_IMAGE_GALLERY, all RICH_MEDIA, and + # all VPAID. Applicable to DISPLAY when the primary asset is not HTML_IMAGE. + # Corresponds to the JSON property `timerCustomEvents` + # @return [Array] + attr_accessor :timer_custom_events + + # Combined size of all creative assets. This is a read-only field. Applicable to + # the following creative types: all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `totalFileSize` + # @return [String] + attr_accessor :total_file_size + + # Type of this creative. This is a required field. Applicable to all creative + # types. + # Note: FLASH_INPAGE, HTML5_BANNER, and IMAGE are only used for existing + # creatives. New creatives should use DISPLAY as a replacement for these types. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The version number helps you keep track of multiple versions of your creative + # in your reports. The version number will always be auto-generated during + # insert operations to start at 1. For tracking creatives the version cannot be + # incremented and will always remain at 1. For all other creative types the + # version can be incremented only by 1 during update operations. In addition, + # the version will be automatically incremented by 1 when undergoing Rich Media + # creative merging. Applicable to all creative types. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Description of the video ad. Applicable to the following creative types: all + # INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `videoDescription` + # @return [String] + attr_accessor :video_description + + # Creative video duration in seconds. This is a read-only field. Applicable to + # the following creative types: INSTREAM_VIDEO, all RICH_MEDIA, and all VPAID. + # Corresponds to the JSON property `videoDuration` + # @return [Float] + attr_accessor :video_duration + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active = args[:active] if args.key?(:active) + @ad_parameters = args[:ad_parameters] if args.key?(:ad_parameters) + @ad_tag_keys = args[:ad_tag_keys] if args.key?(:ad_tag_keys) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @allow_script_access = args[:allow_script_access] if args.key?(:allow_script_access) + @archived = args[:archived] if args.key?(:archived) + @artwork_type = args[:artwork_type] if args.key?(:artwork_type) + @authoring_source = args[:authoring_source] if args.key?(:authoring_source) + @authoring_tool = args[:authoring_tool] if args.key?(:authoring_tool) + @auto_advance_images = args[:auto_advance_images] if args.key?(:auto_advance_images) + @background_color = args[:background_color] if args.key?(:background_color) + @backup_image_click_through_url = args[:backup_image_click_through_url] if args.key?(:backup_image_click_through_url) + @backup_image_features = args[:backup_image_features] if args.key?(:backup_image_features) + @backup_image_reporting_label = args[:backup_image_reporting_label] if args.key?(:backup_image_reporting_label) + @backup_image_target_window = args[:backup_image_target_window] if args.key?(:backup_image_target_window) + @click_tags = args[:click_tags] if args.key?(:click_tags) + @commercial_id = args[:commercial_id] if args.key?(:commercial_id) + @companion_creatives = args[:companion_creatives] if args.key?(:companion_creatives) + @compatibility = args[:compatibility] if args.key?(:compatibility) + @convert_flash_to_html5 = args[:convert_flash_to_html5] if args.key?(:convert_flash_to_html5) + @counter_custom_events = args[:counter_custom_events] if args.key?(:counter_custom_events) + @creative_asset_selection = args[:creative_asset_selection] if args.key?(:creative_asset_selection) + @creative_assets = args[:creative_assets] if args.key?(:creative_assets) + @creative_field_assignments = args[:creative_field_assignments] if args.key?(:creative_field_assignments) + @custom_key_values = args[:custom_key_values] if args.key?(:custom_key_values) + @dynamic_asset_selection = args[:dynamic_asset_selection] if args.key?(:dynamic_asset_selection) + @exit_custom_events = args[:exit_custom_events] if args.key?(:exit_custom_events) + @fs_command = args[:fs_command] if args.key?(:fs_command) + @html_code = args[:html_code] if args.key?(:html_code) + @html_code_locked = args[:html_code_locked] if args.key?(:html_code_locked) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @latest_trafficked_creative_id = args[:latest_trafficked_creative_id] if args.key?(:latest_trafficked_creative_id) + @name = args[:name] if args.key?(:name) + @override_css = args[:override_css] if args.key?(:override_css) + @progress_offset = args[:progress_offset] if args.key?(:progress_offset) + @redirect_url = args[:redirect_url] if args.key?(:redirect_url) + @rendering_id = args[:rendering_id] if args.key?(:rendering_id) + @rendering_id_dimension_value = args[:rendering_id_dimension_value] if args.key?(:rendering_id_dimension_value) + @required_flash_plugin_version = args[:required_flash_plugin_version] if args.key?(:required_flash_plugin_version) + @required_flash_version = args[:required_flash_version] if args.key?(:required_flash_version) + @size = args[:size] if args.key?(:size) + @skip_offset = args[:skip_offset] if args.key?(:skip_offset) + @skippable = args[:skippable] if args.key?(:skippable) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @ssl_override = args[:ssl_override] if args.key?(:ssl_override) + @studio_advertiser_id = args[:studio_advertiser_id] if args.key?(:studio_advertiser_id) + @studio_creative_id = args[:studio_creative_id] if args.key?(:studio_creative_id) + @studio_trafficked_creative_id = args[:studio_trafficked_creative_id] if args.key?(:studio_trafficked_creative_id) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @third_party_backup_image_impressions_url = args[:third_party_backup_image_impressions_url] if args.key?(:third_party_backup_image_impressions_url) + @third_party_rich_media_impressions_url = args[:third_party_rich_media_impressions_url] if args.key?(:third_party_rich_media_impressions_url) + @third_party_urls = args[:third_party_urls] if args.key?(:third_party_urls) + @timer_custom_events = args[:timer_custom_events] if args.key?(:timer_custom_events) + @total_file_size = args[:total_file_size] if args.key?(:total_file_size) + @type = args[:type] if args.key?(:type) + @version = args[:version] if args.key?(:version) + @video_description = args[:video_description] if args.key?(:video_description) + @video_duration = args[:video_duration] if args.key?(:video_duration) + end + end + + # Creative Asset. + class CreativeAsset + include Google::Apis::Core::Hashable + + # Whether ActionScript3 is enabled for the flash asset. This is a read-only + # field. Applicable to the following creative type: FLASH_INPAGE. Applicable to + # DISPLAY when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `actionScript3` + # @return [Boolean] + attr_accessor :action_script3 + alias_method :action_script3?, :action_script3 + + # Whether the video asset is active. This is a read-only field for + # VPAID_NON_LINEAR_VIDEO assets. Applicable to the following creative types: + # INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Possible alignments for an asset. This is a read-only field. Applicable to the + # following creative types: RICH_MEDIA_DISPLAY_MULTI_FLOATING_INTERSTITIAL. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # Artwork type of rich media creative. This is a read-only field. Applicable to + # the following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `artworkType` + # @return [String] + attr_accessor :artwork_type + + # Creative Asset ID. + # Corresponds to the JSON property `assetIdentifier` + # @return [Google::Apis::DfareportingV2_7::CreativeAssetId] + attr_accessor :asset_identifier + + # Creative Custom Event. + # Corresponds to the JSON property `backupImageExit` + # @return [Google::Apis::DfareportingV2_7::CreativeCustomEvent] + attr_accessor :backup_image_exit + + # Detected bit-rate for video asset. This is a read-only field. Applicable to + # the following creative types: INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `bitRate` + # @return [Fixnum] + attr_accessor :bit_rate + + # Rich media child asset type. This is a read-only field. Applicable to the + # following creative types: all VPAID. + # Corresponds to the JSON property `childAssetType` + # @return [String] + attr_accessor :child_asset_type + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `collapsedSize` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :collapsed_size + + # List of companion creatives assigned to an in-stream video creative asset. + # Acceptable values include IDs of existing flash and image creatives. + # Applicable to INSTREAM_VIDEO creative type with dynamicAssetSelection set to + # true. + # Corresponds to the JSON property `companionCreativeIds` + # @return [Array] + attr_accessor :companion_creative_ids + + # Custom start time in seconds for making the asset visible. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `customStartTimeValue` + # @return [Fixnum] + attr_accessor :custom_start_time_value + + # List of feature dependencies for the creative asset that are detected by DCM. + # Feature dependencies are features that a browser must be able to support in + # order to render your HTML5 creative correctly. This is a read-only, auto- + # generated field. Applicable to the following creative types: HTML5_BANNER. + # Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `detectedFeatures` + # @return [Array] + attr_accessor :detected_features + + # Type of rich media asset. This is a read-only field. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `displayType` + # @return [String] + attr_accessor :display_type + + # Duration in seconds for which an asset will be displayed. Applicable to the + # following creative types: INSTREAM_VIDEO and VPAID_LINEAR_VIDEO. + # Corresponds to the JSON property `duration` + # @return [Fixnum] + attr_accessor :duration + + # Duration type for which an asset will be displayed. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `durationType` + # @return [String] + attr_accessor :duration_type + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `expandedDimension` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :expanded_dimension + + # File size associated with this creative asset. This is a read-only field. + # Applicable to all but the following creative types: all REDIRECT and + # TRACKING_TEXT. + # Corresponds to the JSON property `fileSize` + # @return [String] + attr_accessor :file_size + + # Flash version of the asset. This is a read-only field. Applicable to the + # following creative types: FLASH_INPAGE, all RICH_MEDIA, and all VPAID. + # Applicable to DISPLAY when the primary asset type is not HTML_IMAGE. + # Corresponds to the JSON property `flashVersion` + # @return [Fixnum] + attr_accessor :flash_version + + # Whether to hide Flash objects flag for an asset. Applicable to the following + # creative types: all RICH_MEDIA. + # Corresponds to the JSON property `hideFlashObjects` + # @return [Boolean] + attr_accessor :hide_flash_objects + alias_method :hide_flash_objects?, :hide_flash_objects + + # Whether to hide selection boxes flag for an asset. Applicable to the following + # creative types: all RICH_MEDIA. + # Corresponds to the JSON property `hideSelectionBoxes` + # @return [Boolean] + attr_accessor :hide_selection_boxes + alias_method :hide_selection_boxes?, :hide_selection_boxes + + # Whether the asset is horizontally locked. This is a read-only field. + # Applicable to the following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `horizontallyLocked` + # @return [Boolean] + attr_accessor :horizontally_locked + alias_method :horizontally_locked?, :horizontally_locked + + # Numeric ID of this creative asset. This is a required field and should not be + # modified. Applicable to all but the following creative types: all REDIRECT and + # TRACKING_TEXT. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Detected MIME type for video asset. This is a read-only field. Applicable to + # the following creative types: INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + # Offset Position. + # Corresponds to the JSON property `offset` + # @return [Google::Apis::DfareportingV2_7::OffsetPosition] + attr_accessor :offset + + # Whether the backup asset is original or changed by the user in DCM. Applicable + # to the following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `originalBackup` + # @return [Boolean] + attr_accessor :original_backup + alias_method :original_backup?, :original_backup + + # Offset Position. + # Corresponds to the JSON property `position` + # @return [Google::Apis::DfareportingV2_7::OffsetPosition] + attr_accessor :position + + # Offset left unit for an asset. This is a read-only field. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `positionLeftUnit` + # @return [String] + attr_accessor :position_left_unit + + # Offset top unit for an asset. This is a read-only field if the asset + # displayType is ASSET_DISPLAY_TYPE_OVERLAY. Applicable to the following + # creative types: all RICH_MEDIA. + # Corresponds to the JSON property `positionTopUnit` + # @return [String] + attr_accessor :position_top_unit + + # Progressive URL for video asset. This is a read-only field. Applicable to the + # following creative types: INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `progressiveServingUrl` + # @return [String] + attr_accessor :progressive_serving_url + + # Whether the asset pushes down other content. Applicable to the following + # creative types: all RICH_MEDIA. Additionally, only applicable when the asset + # offsets are 0, the collapsedSize.width matches size.width, and the + # collapsedSize.height is less than size.height. + # Corresponds to the JSON property `pushdown` + # @return [Boolean] + attr_accessor :pushdown + alias_method :pushdown?, :pushdown + + # Pushdown duration in seconds for an asset. Must be between 0 and 9.99. + # Applicable to the following creative types: all RICH_MEDIA.Additionally, only + # applicable when the asset pushdown field is true, the offsets are 0, the + # collapsedSize.width matches size.width, and the collapsedSize.height is less + # than size.height. + # Corresponds to the JSON property `pushdownDuration` + # @return [Float] + attr_accessor :pushdown_duration + + # Role of the asset in relation to creative. Applicable to all but the following + # creative types: all REDIRECT and TRACKING_TEXT. This is a required field. + # PRIMARY applies to DISPLAY, FLASH_INPAGE, HTML5_BANNER, IMAGE, + # DISPLAY_IMAGE_GALLERY, all RICH_MEDIA (which may contain multiple primary + # assets), and all VPAID creatives. + # BACKUP_IMAGE applies to FLASH_INPAGE, HTML5_BANNER, all RICH_MEDIA, and all + # VPAID creatives. Applicable to DISPLAY when the primary asset type is not + # HTML_IMAGE. + # ADDITIONAL_IMAGE and ADDITIONAL_FLASH apply to FLASH_INPAGE creatives. + # OTHER refers to assets from sources other than DCM, such as Studio uploaded + # assets, applicable to all RICH_MEDIA and all VPAID creatives. + # PARENT_VIDEO refers to videos uploaded by the user in DCM and is applicable to + # INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. + # TRANSCODED_VIDEO refers to videos transcoded by DCM from PARENT_VIDEO assets + # and is applicable to INSTREAM_VIDEO and VPAID_LINEAR_VIDEO creatives. + # ALTERNATE_VIDEO refers to the DCM representation of child asset videos from + # Studio, and is applicable to VPAID_LINEAR_VIDEO creatives. These cannot be + # added or removed within DCM. + # For VPAID_LINEAR_VIDEO creatives, PARENT_VIDEO, TRANSCODED_VIDEO and + # ALTERNATE_VIDEO assets that are marked active serve as backup in case the + # VPAID creative cannot be served. Only PARENT_VIDEO assets can be added or + # removed for an INSTREAM_VIDEO or VPAID_LINEAR_VIDEO creative. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `size` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :size + + # Whether the asset is SSL-compliant. This is a read-only field. Applicable to + # all but the following creative types: all REDIRECT and TRACKING_TEXT. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Initial wait time type before making the asset visible. Applicable to the + # following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `startTimeType` + # @return [String] + attr_accessor :start_time_type + + # Streaming URL for video asset. This is a read-only field. Applicable to the + # following creative types: INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `streamingServingUrl` + # @return [String] + attr_accessor :streaming_serving_url + + # Whether the asset is transparent. Applicable to the following creative types: + # all RICH_MEDIA. Additionally, only applicable to HTML5 assets. + # Corresponds to the JSON property `transparency` + # @return [Boolean] + attr_accessor :transparency + alias_method :transparency?, :transparency + + # Whether the asset is vertically locked. This is a read-only field. Applicable + # to the following creative types: all RICH_MEDIA. + # Corresponds to the JSON property `verticallyLocked` + # @return [Boolean] + attr_accessor :vertically_locked + alias_method :vertically_locked?, :vertically_locked + + # Detected video duration for video asset. This is a read-only field. Applicable + # to the following creative types: INSTREAM_VIDEO and all VPAID. + # Corresponds to the JSON property `videoDuration` + # @return [Float] + attr_accessor :video_duration + + # Window mode options for flash assets. Applicable to the following creative + # types: FLASH_INPAGE, RICH_MEDIA_DISPLAY_EXPANDING, RICH_MEDIA_IM_EXPAND, + # RICH_MEDIA_DISPLAY_BANNER, and RICH_MEDIA_INPAGE_FLOATING. + # Corresponds to the JSON property `windowMode` + # @return [String] + attr_accessor :window_mode + + # zIndex value of an asset. This is a read-only field. Applicable to the + # following creative types: all RICH_MEDIA.Additionally, only applicable to + # assets whose displayType is NOT one of the following types: + # ASSET_DISPLAY_TYPE_INPAGE or ASSET_DISPLAY_TYPE_OVERLAY. + # Corresponds to the JSON property `zIndex` + # @return [Fixnum] + attr_accessor :z_index + + # File name of zip file. This is a read-only field. Applicable to the following + # creative types: HTML5_BANNER. + # Corresponds to the JSON property `zipFilename` + # @return [String] + attr_accessor :zip_filename + + # Size of zip file. This is a read-only field. Applicable to the following + # creative types: HTML5_BANNER. + # Corresponds to the JSON property `zipFilesize` + # @return [String] + attr_accessor :zip_filesize + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @action_script3 = args[:action_script3] if args.key?(:action_script3) + @active = args[:active] if args.key?(:active) + @alignment = args[:alignment] if args.key?(:alignment) + @artwork_type = args[:artwork_type] if args.key?(:artwork_type) + @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier) + @backup_image_exit = args[:backup_image_exit] if args.key?(:backup_image_exit) + @bit_rate = args[:bit_rate] if args.key?(:bit_rate) + @child_asset_type = args[:child_asset_type] if args.key?(:child_asset_type) + @collapsed_size = args[:collapsed_size] if args.key?(:collapsed_size) + @companion_creative_ids = args[:companion_creative_ids] if args.key?(:companion_creative_ids) + @custom_start_time_value = args[:custom_start_time_value] if args.key?(:custom_start_time_value) + @detected_features = args[:detected_features] if args.key?(:detected_features) + @display_type = args[:display_type] if args.key?(:display_type) + @duration = args[:duration] if args.key?(:duration) + @duration_type = args[:duration_type] if args.key?(:duration_type) + @expanded_dimension = args[:expanded_dimension] if args.key?(:expanded_dimension) + @file_size = args[:file_size] if args.key?(:file_size) + @flash_version = args[:flash_version] if args.key?(:flash_version) + @hide_flash_objects = args[:hide_flash_objects] if args.key?(:hide_flash_objects) + @hide_selection_boxes = args[:hide_selection_boxes] if args.key?(:hide_selection_boxes) + @horizontally_locked = args[:horizontally_locked] if args.key?(:horizontally_locked) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @mime_type = args[:mime_type] if args.key?(:mime_type) + @offset = args[:offset] if args.key?(:offset) + @original_backup = args[:original_backup] if args.key?(:original_backup) + @position = args[:position] if args.key?(:position) + @position_left_unit = args[:position_left_unit] if args.key?(:position_left_unit) + @position_top_unit = args[:position_top_unit] if args.key?(:position_top_unit) + @progressive_serving_url = args[:progressive_serving_url] if args.key?(:progressive_serving_url) + @pushdown = args[:pushdown] if args.key?(:pushdown) + @pushdown_duration = args[:pushdown_duration] if args.key?(:pushdown_duration) + @role = args[:role] if args.key?(:role) + @size = args[:size] if args.key?(:size) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @start_time_type = args[:start_time_type] if args.key?(:start_time_type) + @streaming_serving_url = args[:streaming_serving_url] if args.key?(:streaming_serving_url) + @transparency = args[:transparency] if args.key?(:transparency) + @vertically_locked = args[:vertically_locked] if args.key?(:vertically_locked) + @video_duration = args[:video_duration] if args.key?(:video_duration) + @window_mode = args[:window_mode] if args.key?(:window_mode) + @z_index = args[:z_index] if args.key?(:z_index) + @zip_filename = args[:zip_filename] if args.key?(:zip_filename) + @zip_filesize = args[:zip_filesize] if args.key?(:zip_filesize) + end + end + + # Creative Asset ID. + class CreativeAssetId + include Google::Apis::Core::Hashable + + # Name of the creative asset. This is a required field while inserting an asset. + # After insertion, this assetIdentifier is used to identify the uploaded asset. + # Characters in the name must be alphanumeric or one of the following: ".-_ ". + # Spaces are allowed. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Type of asset to upload. This is a required field. FLASH and IMAGE are no + # longer supported for new uploads. All image assets should use HTML_IMAGE. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + end + end + + # CreativeAssets contains properties of a creative asset file which will be + # uploaded or has already been uploaded. Refer to the creative sample code for + # how to upload assets and insert a creative. + class CreativeAssetMetadata + include Google::Apis::Core::Hashable + + # Creative Asset ID. + # Corresponds to the JSON property `assetIdentifier` + # @return [Google::Apis::DfareportingV2_7::CreativeAssetId] + attr_accessor :asset_identifier + + # List of detected click tags for assets. This is a read-only auto-generated + # field. + # Corresponds to the JSON property `clickTags` + # @return [Array] + attr_accessor :click_tags + + # List of feature dependencies for the creative asset that are detected by DCM. + # Feature dependencies are features that a browser must be able to support in + # order to render your HTML5 creative correctly. This is a read-only, auto- + # generated field. + # Corresponds to the JSON property `detectedFeatures` + # @return [Array] + attr_accessor :detected_features + + # Numeric ID of the asset. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeAssetMetadata". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Rules validated during code generation that generated a warning. This is a + # read-only, auto-generated field. + # Possible values are: + # - "ADMOB_REFERENCED" + # - "ASSET_FORMAT_UNSUPPORTED_DCM" + # - "ASSET_INVALID" + # - "CLICK_TAG_HARD_CODED" + # - "CLICK_TAG_INVALID" + # - "CLICK_TAG_IN_GWD" + # - "CLICK_TAG_MISSING" + # - "CLICK_TAG_MORE_THAN_ONE" + # - "CLICK_TAG_NON_TOP_LEVEL" + # - "COMPONENT_UNSUPPORTED_DCM" + # - "ENABLER_UNSUPPORTED_METHOD_DCM" + # - "EXTERNAL_FILE_REFERENCED" + # - "FILE_DETAIL_EMPTY" + # - "FILE_TYPE_INVALID" + # - "GWD_PROPERTIES_INVALID" + # - "HTML5_FEATURE_UNSUPPORTED" + # - "LINKED_FILE_NOT_FOUND" + # - "MAX_FLASH_VERSION_11" + # - "MRAID_REFERENCED" + # - "NOT_SSL_COMPLIANT" + # - "ORPHANED_ASSET" + # - "PRIMARY_HTML_MISSING" + # - "SVG_INVALID" + # - "ZIP_INVALID" + # Corresponds to the JSON property `warnedValidationRules` + # @return [Array] + attr_accessor :warned_validation_rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @asset_identifier = args[:asset_identifier] if args.key?(:asset_identifier) + @click_tags = args[:click_tags] if args.key?(:click_tags) + @detected_features = args[:detected_features] if args.key?(:detected_features) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @warned_validation_rules = args[:warned_validation_rules] if args.key?(:warned_validation_rules) + end + end + + # Encapsulates the list of rules for asset selection and a default asset in case + # none of the rules match. Applicable to INSTREAM_VIDEO creatives. + class CreativeAssetSelection + include Google::Apis::Core::Hashable + + # A creativeAssets[].id. This should refer to one of the parent assets in this + # creative, and will be served if none of the rules match. This is a required + # field. + # Corresponds to the JSON property `defaultAssetId` + # @return [String] + attr_accessor :default_asset_id + + # Rules determine which asset will be served to a viewer. Rules will be + # evaluated in the order in which they are stored in this list. This list must + # contain at least one rule. Applicable to INSTREAM_VIDEO creatives. + # Corresponds to the JSON property `rules` + # @return [Array] + attr_accessor :rules + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_asset_id = args[:default_asset_id] if args.key?(:default_asset_id) + @rules = args[:rules] if args.key?(:rules) + end + end + + # Creative Assignment. + class CreativeAssignment + include Google::Apis::Core::Hashable + + # Whether this creative assignment is active. When true, the creative will be + # included in the ad's rotation. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Whether applicable event tags should fire when this creative assignment is + # rendered. If this value is unset when the ad is inserted or updated, it will + # default to true for all creative types EXCEPT for INTERNAL_REDIRECT, + # INTERSTITIAL_INTERNAL_REDIRECT, and INSTREAM_VIDEO. + # Corresponds to the JSON property `applyEventTags` + # @return [Boolean] + attr_accessor :apply_event_tags + alias_method :apply_event_tags?, :apply_event_tags + + # Click-through URL + # Corresponds to the JSON property `clickThroughUrl` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrl] + attr_accessor :click_through_url + + # Companion creative overrides for this creative assignment. Applicable to video + # ads. + # Corresponds to the JSON property `companionCreativeOverrides` + # @return [Array] + attr_accessor :companion_creative_overrides + + # Creative group assignments for this creative assignment. Only one assignment + # per creative group number is allowed for a maximum of two assignments. + # Corresponds to the JSON property `creativeGroupAssignments` + # @return [Array] + attr_accessor :creative_group_assignments + + # ID of the creative to be assigned. This is a required field. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `creativeIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :creative_id_dimension_value + + # Date and time that the assigned creative should stop serving. Must be later + # than the start time. + # Corresponds to the JSON property `endTime` + # @return [DateTime] + attr_accessor :end_time + + # Rich media exit overrides for this creative assignment. + # Applicable when the creative type is any of the following: + # - RICH_MEDIA_INPAGE + # - RICH_MEDIA_INPAGE_FLOATING + # - RICH_MEDIA_IM_EXPAND + # - RICH_MEDIA_EXPANDING + # - RICH_MEDIA_INTERSTITIAL_FLOAT + # - RICH_MEDIA_MOBILE_IN_APP + # - RICH_MEDIA_MULTI_FLOATING + # - RICH_MEDIA_PEEL_DOWN + # - ADVANCED_BANNER + # - VPAID_LINEAR + # - VPAID_NON_LINEAR + # Corresponds to the JSON property `richMediaExitOverrides` + # @return [Array] + attr_accessor :rich_media_exit_overrides + + # Sequence number of the creative assignment, applicable when the rotation type + # is CREATIVE_ROTATION_TYPE_SEQUENTIAL. + # Corresponds to the JSON property `sequence` + # @return [Fixnum] + attr_accessor :sequence + + # Whether the creative to be assigned is SSL-compliant. This is a read-only + # field that is auto-generated when the ad is inserted or updated. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Date and time that the assigned creative should start serving. + # Corresponds to the JSON property `startTime` + # @return [DateTime] + attr_accessor :start_time + + # Weight of the creative assignment, applicable when the rotation type is + # CREATIVE_ROTATION_TYPE_RANDOM. + # Corresponds to the JSON property `weight` + # @return [Fixnum] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active = args[:active] if args.key?(:active) + @apply_event_tags = args[:apply_event_tags] if args.key?(:apply_event_tags) + @click_through_url = args[:click_through_url] if args.key?(:click_through_url) + @companion_creative_overrides = args[:companion_creative_overrides] if args.key?(:companion_creative_overrides) + @creative_group_assignments = args[:creative_group_assignments] if args.key?(:creative_group_assignments) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @creative_id_dimension_value = args[:creative_id_dimension_value] if args.key?(:creative_id_dimension_value) + @end_time = args[:end_time] if args.key?(:end_time) + @rich_media_exit_overrides = args[:rich_media_exit_overrides] if args.key?(:rich_media_exit_overrides) + @sequence = args[:sequence] if args.key?(:sequence) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @start_time = args[:start_time] if args.key?(:start_time) + @weight = args[:weight] if args.key?(:weight) + end + end + + # Creative Custom Event. + class CreativeCustomEvent + include Google::Apis::Core::Hashable + + # Unique ID of this event used by DDM Reporting and Data Transfer. This is a + # read-only field. + # Corresponds to the JSON property `advertiserCustomEventId` + # @return [String] + attr_accessor :advertiser_custom_event_id + + # User-entered name for the event. + # Corresponds to the JSON property `advertiserCustomEventName` + # @return [String] + attr_accessor :advertiser_custom_event_name + + # Type of the event. This is a read-only field. + # Corresponds to the JSON property `advertiserCustomEventType` + # @return [String] + attr_accessor :advertiser_custom_event_type + + # Artwork label column, used to link events in DCM back to events in Studio. + # This is a required field and should not be modified after insertion. + # Corresponds to the JSON property `artworkLabel` + # @return [String] + attr_accessor :artwork_label + + # Artwork type used by the creative.This is a read-only field. + # Corresponds to the JSON property `artworkType` + # @return [String] + attr_accessor :artwork_type + + # Exit URL of the event. This field is used only for exit events. + # Corresponds to the JSON property `exitUrl` + # @return [String] + attr_accessor :exit_url + + # ID of this event. This is a required field and should not be modified after + # insertion. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Popup Window Properties. + # Corresponds to the JSON property `popupWindowProperties` + # @return [Google::Apis::DfareportingV2_7::PopupWindowProperties] + attr_accessor :popup_window_properties + + # Target type used by the event. + # Corresponds to the JSON property `targetType` + # @return [String] + attr_accessor :target_type + + # Video reporting ID, used to differentiate multiple videos in a single creative. + # This is a read-only field. + # Corresponds to the JSON property `videoReportingId` + # @return [String] + attr_accessor :video_reporting_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertiser_custom_event_id = args[:advertiser_custom_event_id] if args.key?(:advertiser_custom_event_id) + @advertiser_custom_event_name = args[:advertiser_custom_event_name] if args.key?(:advertiser_custom_event_name) + @advertiser_custom_event_type = args[:advertiser_custom_event_type] if args.key?(:advertiser_custom_event_type) + @artwork_label = args[:artwork_label] if args.key?(:artwork_label) + @artwork_type = args[:artwork_type] if args.key?(:artwork_type) + @exit_url = args[:exit_url] if args.key?(:exit_url) + @id = args[:id] if args.key?(:id) + @popup_window_properties = args[:popup_window_properties] if args.key?(:popup_window_properties) + @target_type = args[:target_type] if args.key?(:target_type) + @video_reporting_id = args[:video_reporting_id] if args.key?(:video_reporting_id) + end + end + + # Contains properties of a creative field. + class CreativeField + include Google::Apis::Core::Hashable + + # Account ID of this creative field. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this creative field. This is a required field on insertion. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # ID of this creative field. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeField". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this creative field. This is a required field and must be less than + # 256 characters long and unique among creative fields of the same advertiser. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this creative field. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Creative Field Assignment. + class CreativeFieldAssignment + include Google::Apis::Core::Hashable + + # ID of the creative field. + # Corresponds to the JSON property `creativeFieldId` + # @return [String] + attr_accessor :creative_field_id + + # ID of the creative field value. + # Corresponds to the JSON property `creativeFieldValueId` + # @return [String] + attr_accessor :creative_field_value_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_field_id = args[:creative_field_id] if args.key?(:creative_field_id) + @creative_field_value_id = args[:creative_field_value_id] if args.key?(:creative_field_value_id) + end + end + + # Contains properties of a creative field value. + class CreativeFieldValue + include Google::Apis::Core::Hashable + + # ID of this creative field value. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeFieldValue". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Value of this creative field value. It needs to be less than 256 characters in + # length and unique per creative field. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @value = args[:value] if args.key?(:value) + end + end + + # Creative Field Value List Response + class CreativeFieldValuesListResponse + include Google::Apis::Core::Hashable + + # Creative field value collection. + # Corresponds to the JSON property `creativeFieldValues` + # @return [Array] + attr_accessor :creative_field_values + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeFieldValuesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_field_values = args[:creative_field_values] if args.key?(:creative_field_values) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Creative Field List Response + class CreativeFieldsListResponse + include Google::Apis::Core::Hashable + + # Creative field collection. + # Corresponds to the JSON property `creativeFields` + # @return [Array] + attr_accessor :creative_fields + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeFieldsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_fields = args[:creative_fields] if args.key?(:creative_fields) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Contains properties of a creative group. + class CreativeGroup + include Google::Apis::Core::Hashable + + # Account ID of this creative group. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this creative group. This is a required field on insertion. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Subgroup of the creative group. Assign your creative groups to one of the + # following subgroups in order to filter or manage them more easily. This field + # is required on insertion and is read-only after insertion. + # Acceptable values are: + # - 1 + # - 2 + # Corresponds to the JSON property `groupNumber` + # @return [Fixnum] + attr_accessor :group_number + + # ID of this creative group. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this creative group. This is a required field and must be less than + # 256 characters long and unique among creative groups of the same advertiser. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this creative group. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @group_number = args[:group_number] if args.key?(:group_number) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Creative Group Assignment. + class CreativeGroupAssignment + include Google::Apis::Core::Hashable + + # ID of the creative group to be assigned. + # Corresponds to the JSON property `creativeGroupId` + # @return [String] + attr_accessor :creative_group_id + + # Creative group number of the creative group assignment. + # Corresponds to the JSON property `creativeGroupNumber` + # @return [String] + attr_accessor :creative_group_number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_group_id = args[:creative_group_id] if args.key?(:creative_group_id) + @creative_group_number = args[:creative_group_number] if args.key?(:creative_group_number) + end + end + + # Creative Group List Response + class CreativeGroupsListResponse + include Google::Apis::Core::Hashable + + # Creative group collection. + # Corresponds to the JSON property `creativeGroups` + # @return [Array] + attr_accessor :creative_groups + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativeGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_groups = args[:creative_groups] if args.key?(:creative_groups) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Creative optimization settings. + class CreativeOptimizationConfiguration + include Google::Apis::Core::Hashable + + # ID of this creative optimization config. This field is auto-generated when the + # campaign is inserted or updated. It can be null for existing campaigns. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of this creative optimization config. This is a required field and must + # be less than 129 characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # List of optimization activities associated with this configuration. + # Corresponds to the JSON property `optimizationActivitys` + # @return [Array] + attr_accessor :optimization_activitys + + # Optimization model for this configuration. + # Corresponds to the JSON property `optimizationModel` + # @return [String] + attr_accessor :optimization_model + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @optimization_activitys = args[:optimization_activitys] if args.key?(:optimization_activitys) + @optimization_model = args[:optimization_model] if args.key?(:optimization_model) + end + end + + # Creative Rotation. + class CreativeRotation + include Google::Apis::Core::Hashable + + # Creative assignments in this creative rotation. + # Corresponds to the JSON property `creativeAssignments` + # @return [Array] + attr_accessor :creative_assignments + + # Creative optimization configuration that is used by this ad. It should refer + # to one of the existing optimization configurations in the ad's campaign. If it + # is unset or set to 0, then the campaign's default optimization configuration + # will be used for this ad. + # Corresponds to the JSON property `creativeOptimizationConfigurationId` + # @return [String] + attr_accessor :creative_optimization_configuration_id + + # Type of creative rotation. Can be used to specify whether to use sequential or + # random rotation. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Strategy for calculating weights. Used with CREATIVE_ROTATION_TYPE_RANDOM. + # Corresponds to the JSON property `weightCalculationStrategy` + # @return [String] + attr_accessor :weight_calculation_strategy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creative_assignments = args[:creative_assignments] if args.key?(:creative_assignments) + @creative_optimization_configuration_id = args[:creative_optimization_configuration_id] if args.key?(:creative_optimization_configuration_id) + @type = args[:type] if args.key?(:type) + @weight_calculation_strategy = args[:weight_calculation_strategy] if args.key?(:weight_calculation_strategy) + end + end + + # Creative Settings + class CreativeSettings + include Google::Apis::Core::Hashable + + # Header text for iFrames for this site. Must be less than or equal to 2000 + # characters long. + # Corresponds to the JSON property `iFrameFooter` + # @return [String] + attr_accessor :i_frame_footer + + # Header text for iFrames for this site. Must be less than or equal to 2000 + # characters long. + # Corresponds to the JSON property `iFrameHeader` + # @return [String] + attr_accessor :i_frame_header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @i_frame_footer = args[:i_frame_footer] if args.key?(:i_frame_footer) + @i_frame_header = args[:i_frame_header] if args.key?(:i_frame_header) + end + end + + # Creative List Response + class CreativesListResponse + include Google::Apis::Core::Hashable + + # Creative collection. + # Corresponds to the JSON property `creatives` + # @return [Array] + attr_accessor :creatives + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#creativesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creatives = args[:creatives] if args.key?(:creatives) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Represents fields that are compatible to be selected for a report of type " + # CROSS_DIMENSION_REACH". + class CrossDimensionReachReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "breakdown" section of + # the report. + # Corresponds to the JSON property `breakdown` + # @return [Array] + attr_accessor :breakdown + + # Dimensions which are compatible to be selected in the "dimensionFilters" + # section of the report. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # The kind of resource this is, in this case dfareporting# + # crossDimensionReachReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Metrics which are compatible to be selected in the "overlapMetricNames" + # section of the report. + # Corresponds to the JSON property `overlapMetrics` + # @return [Array] + attr_accessor :overlap_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakdown = args[:breakdown] if args.key?(:breakdown) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + @overlap_metrics = args[:overlap_metrics] if args.key?(:overlap_metrics) + end + end + + # A custom floodlight variable. + class CustomFloodlightVariable + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#customFloodlightVariable". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The type of custom floodlight variable to supply a value for. These map to the + # "u[1-20]=" in the tags. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The value of the custom floodlight variable. The length of string must not + # exceed 50 characters. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # Represents a Custom Rich Media Events group. + class CustomRichMediaEvents + include Google::Apis::Core::Hashable + + # List of custom rich media event IDs. Dimension values must be all of type dfa: + # richMediaEventTypeIdAndName. + # Corresponds to the JSON property `filteredEventIds` + # @return [Array] + attr_accessor :filtered_event_ids + + # The kind of resource this is, in this case dfareporting#customRichMediaEvents. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filtered_event_ids = args[:filtered_event_ids] if args.key?(:filtered_event_ids) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Represents a date range. + class DateRange + include Google::Apis::Core::Hashable + + # The end date of the date range, inclusive. A string of the format: "yyyy-MM-dd" + # . + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # The kind of resource this is, in this case dfareporting#dateRange. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The date range relative to the date of when the report is run. + # Corresponds to the JSON property `relativeDateRange` + # @return [String] + attr_accessor :relative_date_range + + # The start date of the date range, inclusive. A string of the format: "yyyy-MM- + # dd". + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_date = args[:end_date] if args.key?(:end_date) + @kind = args[:kind] if args.key?(:kind) + @relative_date_range = args[:relative_date_range] if args.key?(:relative_date_range) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + + # Day Part Targeting. + class DayPartTargeting + include Google::Apis::Core::Hashable + + # Days of the week when the ad will serve. + # Acceptable values are: + # - "SUNDAY" + # - "MONDAY" + # - "TUESDAY" + # - "WEDNESDAY" + # - "THURSDAY" + # - "FRIDAY" + # - "SATURDAY" + # Corresponds to the JSON property `daysOfWeek` + # @return [Array] + attr_accessor :days_of_week + + # Hours of the day when the ad will serve. Must be an integer between 0 and 23 ( + # inclusive), where 0 is midnight to 1 AM, and 23 is 11 PM to midnight. Can be + # specified with days of week, in which case the ad would serve during these + # hours on the specified days. For example, if Monday, Wednesday, Friday are the + # days of week specified and 9-10am, 3-5pm (hours 9, 15, and 16) is specified, + # the ad would serve Monday, Wednesdays, and Fridays at 9-10am and 3-5pm. + # Corresponds to the JSON property `hoursOfDay` + # @return [Array] + attr_accessor :hours_of_day + + # Whether or not to use the user's local time. If false, the America/New York + # time zone applies. + # Corresponds to the JSON property `userLocalTime` + # @return [Boolean] + attr_accessor :user_local_time + alias_method :user_local_time?, :user_local_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @days_of_week = args[:days_of_week] if args.key?(:days_of_week) + @hours_of_day = args[:hours_of_day] if args.key?(:hours_of_day) + @user_local_time = args[:user_local_time] if args.key?(:user_local_time) + end + end + + # Properties of inheriting and overriding the default click-through event tag. A + # campaign may override the event tag defined at the advertiser level, and an ad + # may also override the campaign's setting further. + class DefaultClickThroughEventTagProperties + include Google::Apis::Core::Hashable + + # ID of the click-through event tag to apply to all ads in this entity's scope. + # Corresponds to the JSON property `defaultClickThroughEventTagId` + # @return [String] + attr_accessor :default_click_through_event_tag_id + + # Whether this entity should override the inherited default click-through event + # tag with its own defined value. + # Corresponds to the JSON property `overrideInheritedEventTag` + # @return [Boolean] + attr_accessor :override_inherited_event_tag + alias_method :override_inherited_event_tag?, :override_inherited_event_tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_click_through_event_tag_id = args[:default_click_through_event_tag_id] if args.key?(:default_click_through_event_tag_id) + @override_inherited_event_tag = args[:override_inherited_event_tag] if args.key?(:override_inherited_event_tag) + end + end + + # Delivery Schedule. + class DeliverySchedule + include Google::Apis::Core::Hashable + + # Frequency Cap. + # Corresponds to the JSON property `frequencyCap` + # @return [Google::Apis::DfareportingV2_7::FrequencyCap] + attr_accessor :frequency_cap + + # Whether or not hard cutoff is enabled. If true, the ad will not serve after + # the end date and time. Otherwise the ad will continue to be served until it + # has reached its delivery goals. + # Corresponds to the JSON property `hardCutoff` + # @return [Boolean] + attr_accessor :hard_cutoff + alias_method :hard_cutoff?, :hard_cutoff + + # Impression ratio for this ad. This ratio determines how often each ad is + # served relative to the others. For example, if ad A has an impression ratio of + # 1 and ad B has an impression ratio of 3, then DCM will serve ad B three times + # as often as ad A. Must be between 1 and 10. + # Corresponds to the JSON property `impressionRatio` + # @return [String] + attr_accessor :impression_ratio + + # Serving priority of an ad, with respect to other ads. The lower the priority + # number, the greater the priority with which it is served. + # Corresponds to the JSON property `priority` + # @return [String] + attr_accessor :priority + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @frequency_cap = args[:frequency_cap] if args.key?(:frequency_cap) + @hard_cutoff = args[:hard_cutoff] if args.key?(:hard_cutoff) + @impression_ratio = args[:impression_ratio] if args.key?(:impression_ratio) + @priority = args[:priority] if args.key?(:priority) + end + end + + # DFP Settings + class DfpSettings + include Google::Apis::Core::Hashable + + # DFP network code for this directory site. + # Corresponds to the JSON property `dfp_network_code` + # @return [String] + attr_accessor :dfp_network_code + + # DFP network name for this directory site. + # Corresponds to the JSON property `dfp_network_name` + # @return [String] + attr_accessor :dfp_network_name + + # Whether this directory site accepts programmatic placements. + # Corresponds to the JSON property `programmaticPlacementAccepted` + # @return [Boolean] + attr_accessor :programmatic_placement_accepted + alias_method :programmatic_placement_accepted?, :programmatic_placement_accepted + + # Whether this directory site accepts publisher-paid tags. + # Corresponds to the JSON property `pubPaidPlacementAccepted` + # @return [Boolean] + attr_accessor :pub_paid_placement_accepted + alias_method :pub_paid_placement_accepted?, :pub_paid_placement_accepted + + # Whether this directory site is available only via DoubleClick Publisher Portal. + # Corresponds to the JSON property `publisherPortalOnly` + # @return [Boolean] + attr_accessor :publisher_portal_only + alias_method :publisher_portal_only?, :publisher_portal_only + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dfp_network_code = args[:dfp_network_code] if args.key?(:dfp_network_code) + @dfp_network_name = args[:dfp_network_name] if args.key?(:dfp_network_name) + @programmatic_placement_accepted = args[:programmatic_placement_accepted] if args.key?(:programmatic_placement_accepted) + @pub_paid_placement_accepted = args[:pub_paid_placement_accepted] if args.key?(:pub_paid_placement_accepted) + @publisher_portal_only = args[:publisher_portal_only] if args.key?(:publisher_portal_only) + end + end + + # Represents a dimension. + class Dimension + include Google::Apis::Core::Hashable + + # The kind of resource this is, in this case dfareporting#dimension. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The dimension name, e.g. dfa:advertiser + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Represents a dimension filter. + class DimensionFilter + include Google::Apis::Core::Hashable + + # The name of the dimension to filter. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The kind of resource this is, in this case dfareporting#dimensionFilter. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The value of the dimension to filter. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @kind = args[:kind] if args.key?(:kind) + @value = args[:value] if args.key?(:value) + end + end + + # Represents a DimensionValue resource. + class DimensionValue + include Google::Apis::Core::Hashable + + # The name of the dimension. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The ID associated with the value if available. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The kind of resource this is, in this case dfareporting#dimensionValue. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Determines how the 'value' field is matched when filtering. If not specified, + # defaults to EXACT. If set to WILDCARD_EXPRESSION, '*' is allowed as a + # placeholder for variable length character sequences, and it can be escaped + # with a backslash. Note, only paid search dimensions ('dfa:paidSearch*') allow + # a matchType other than EXACT. + # Corresponds to the JSON property `matchType` + # @return [String] + attr_accessor :match_type + + # The value of the dimension. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @etag = args[:etag] if args.key?(:etag) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @match_type = args[:match_type] if args.key?(:match_type) + @value = args[:value] if args.key?(:value) + end + end + + # Represents the list of DimensionValue resources. + class DimensionValueList + include Google::Apis::Core::Hashable + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The dimension values returned in this response. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The kind of list this is, in this case dfareporting#dimensionValueList. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Continuation token used to page through dimension values. To retrieve the next + # page of results, set the next request's "pageToken" to the value of this field. + # The page token is only valid for a limited amount of time and should not be + # persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Represents a DimensionValuesRequest. + class DimensionValueRequest + include Google::Apis::Core::Hashable + + # The name of the dimension for which values should be requested. + # Corresponds to the JSON property `dimensionName` + # @return [String] + attr_accessor :dimension_name + + # The end date of the date range for which to retrieve dimension values. A + # string of the format "yyyy-MM-dd". + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # The list of filters by which to filter values. The filters are ANDed. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + # The kind of request this is, in this case dfareporting#dimensionValueRequest. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The start date of the date range for which to retrieve dimension values. A + # string of the format "yyyy-MM-dd". + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_name = args[:dimension_name] if args.key?(:dimension_name) + @end_date = args[:end_date] if args.key?(:end_date) + @filters = args[:filters] if args.key?(:filters) + @kind = args[:kind] if args.key?(:kind) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + + # DirectorySites contains properties of a website from the Site Directory. Sites + # need to be added to an account via the Sites resource before they can be + # assigned to a placement. + class DirectorySite + include Google::Apis::Core::Hashable + + # Whether this directory site is active. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Directory site contacts. + # Corresponds to the JSON property `contactAssignments` + # @return [Array] + attr_accessor :contact_assignments + + # Country ID of this directory site. + # Corresponds to the JSON property `countryId` + # @return [String] + attr_accessor :country_id + + # Currency ID of this directory site. + # Possible values are: + # - "1" for USD + # - "2" for GBP + # - "3" for ESP + # - "4" for SEK + # - "5" for CAD + # - "6" for JPY + # - "7" for DEM + # - "8" for AUD + # - "9" for FRF + # - "10" for ITL + # - "11" for DKK + # - "12" for NOK + # - "13" for FIM + # - "14" for ZAR + # - "15" for IEP + # - "16" for NLG + # - "17" for EUR + # - "18" for KRW + # - "19" for TWD + # - "20" for SGD + # - "21" for CNY + # - "22" for HKD + # - "23" for NZD + # - "24" for MYR + # - "25" for BRL + # - "26" for PTE + # - "27" for MXP + # - "28" for CLP + # - "29" for TRY + # - "30" for ARS + # - "31" for PEN + # - "32" for ILS + # - "33" for CHF + # - "34" for VEF + # - "35" for COP + # - "36" for GTQ + # - "37" for PLN + # - "39" for INR + # - "40" for THB + # - "41" for IDR + # - "42" for CZK + # - "43" for RON + # - "44" for HUF + # - "45" for RUB + # - "46" for AED + # - "47" for BGN + # - "48" for HRK + # Corresponds to the JSON property `currencyId` + # @return [String] + attr_accessor :currency_id + + # Description of this directory site. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # ID of this directory site. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Tag types for regular placements. + # Acceptable values are: + # - "STANDARD" + # - "IFRAME_JAVASCRIPT_INPAGE" + # - "INTERNAL_REDIRECT_INPAGE" + # - "JAVASCRIPT_INPAGE" + # Corresponds to the JSON property `inpageTagFormats` + # @return [Array] + attr_accessor :inpage_tag_formats + + # Tag types for interstitial placements. + # Acceptable values are: + # - "IFRAME_JAVASCRIPT_INTERSTITIAL" + # - "INTERNAL_REDIRECT_INTERSTITIAL" + # - "JAVASCRIPT_INTERSTITIAL" + # Corresponds to the JSON property `interstitialTagFormats` + # @return [Array] + attr_accessor :interstitial_tag_formats + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#directorySite". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this directory site. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Parent directory site ID. + # Corresponds to the JSON property `parentId` + # @return [String] + attr_accessor :parent_id + + # Directory Site Settings + # Corresponds to the JSON property `settings` + # @return [Google::Apis::DfareportingV2_7::DirectorySiteSettings] + attr_accessor :settings + + # URL of this directory site. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active = args[:active] if args.key?(:active) + @contact_assignments = args[:contact_assignments] if args.key?(:contact_assignments) + @country_id = args[:country_id] if args.key?(:country_id) + @currency_id = args[:currency_id] if args.key?(:currency_id) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @inpage_tag_formats = args[:inpage_tag_formats] if args.key?(:inpage_tag_formats) + @interstitial_tag_formats = args[:interstitial_tag_formats] if args.key?(:interstitial_tag_formats) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @parent_id = args[:parent_id] if args.key?(:parent_id) + @settings = args[:settings] if args.key?(:settings) + @url = args[:url] if args.key?(:url) + end + end + + # Contains properties of a Site Directory contact. + class DirectorySiteContact + include Google::Apis::Core::Hashable + + # Address of this directory site contact. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Email address of this directory site contact. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # First name of this directory site contact. + # Corresponds to the JSON property `firstName` + # @return [String] + attr_accessor :first_name + + # ID of this directory site contact. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#directorySiteContact". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Last name of this directory site contact. + # Corresponds to the JSON property `lastName` + # @return [String] + attr_accessor :last_name + + # Phone number of this directory site contact. + # Corresponds to the JSON property `phone` + # @return [String] + attr_accessor :phone + + # Directory site contact role. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # Title or designation of this directory site contact. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Directory site contact type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @email = args[:email] if args.key?(:email) + @first_name = args[:first_name] if args.key?(:first_name) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_name = args[:last_name] if args.key?(:last_name) + @phone = args[:phone] if args.key?(:phone) + @role = args[:role] if args.key?(:role) + @title = args[:title] if args.key?(:title) + @type = args[:type] if args.key?(:type) + end + end + + # Directory Site Contact Assignment + class DirectorySiteContactAssignment + include Google::Apis::Core::Hashable + + # ID of this directory site contact. This is a read-only, auto-generated field. + # Corresponds to the JSON property `contactId` + # @return [String] + attr_accessor :contact_id + + # Visibility of this directory site contact assignment. When set to PUBLIC this + # contact assignment is visible to all account and agency users; when set to + # PRIVATE it is visible only to the site. + # Corresponds to the JSON property `visibility` + # @return [String] + attr_accessor :visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_id = args[:contact_id] if args.key?(:contact_id) + @visibility = args[:visibility] if args.key?(:visibility) + end + end + + # Directory Site Contact List Response + class DirectorySiteContactsListResponse + include Google::Apis::Core::Hashable + + # Directory site contact collection + # Corresponds to the JSON property `directorySiteContacts` + # @return [Array] + attr_accessor :directory_site_contacts + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#directorySiteContactsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @directory_site_contacts = args[:directory_site_contacts] if args.key?(:directory_site_contacts) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Directory Site Settings + class DirectorySiteSettings + include Google::Apis::Core::Hashable + + # Whether this directory site has disabled active view creatives. + # Corresponds to the JSON property `activeViewOptOut` + # @return [Boolean] + attr_accessor :active_view_opt_out + alias_method :active_view_opt_out?, :active_view_opt_out + + # DFP Settings + # Corresponds to the JSON property `dfp_settings` + # @return [Google::Apis::DfareportingV2_7::DfpSettings] + attr_accessor :dfp_settings + + # Whether this site accepts in-stream video ads. + # Corresponds to the JSON property `instream_video_placement_accepted` + # @return [Boolean] + attr_accessor :instream_video_placement_accepted + alias_method :instream_video_placement_accepted?, :instream_video_placement_accepted + + # Whether this site accepts interstitial ads. + # Corresponds to the JSON property `interstitialPlacementAccepted` + # @return [Boolean] + attr_accessor :interstitial_placement_accepted + alias_method :interstitial_placement_accepted?, :interstitial_placement_accepted + + # Whether this directory site has disabled Nielsen OCR reach ratings. + # Corresponds to the JSON property `nielsenOcrOptOut` + # @return [Boolean] + attr_accessor :nielsen_ocr_opt_out + alias_method :nielsen_ocr_opt_out?, :nielsen_ocr_opt_out + + # Whether this directory site has disabled generation of Verification ins tags. + # Corresponds to the JSON property `verificationTagOptOut` + # @return [Boolean] + attr_accessor :verification_tag_opt_out + alias_method :verification_tag_opt_out?, :verification_tag_opt_out + + # Whether this directory site has disabled active view for in-stream video + # creatives. + # Corresponds to the JSON property `videoActiveViewOptOut` + # @return [Boolean] + attr_accessor :video_active_view_opt_out + alias_method :video_active_view_opt_out?, :video_active_view_opt_out + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out) + @dfp_settings = args[:dfp_settings] if args.key?(:dfp_settings) + @instream_video_placement_accepted = args[:instream_video_placement_accepted] if args.key?(:instream_video_placement_accepted) + @interstitial_placement_accepted = args[:interstitial_placement_accepted] if args.key?(:interstitial_placement_accepted) + @nielsen_ocr_opt_out = args[:nielsen_ocr_opt_out] if args.key?(:nielsen_ocr_opt_out) + @verification_tag_opt_out = args[:verification_tag_opt_out] if args.key?(:verification_tag_opt_out) + @video_active_view_opt_out = args[:video_active_view_opt_out] if args.key?(:video_active_view_opt_out) + end + end + + # Directory Site List Response + class DirectorySitesListResponse + include Google::Apis::Core::Hashable + + # Directory site collection. + # Corresponds to the JSON property `directorySites` + # @return [Array] + attr_accessor :directory_sites + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#directorySitesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @directory_sites = args[:directory_sites] if args.key?(:directory_sites) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Contains properties of a dynamic targeting key. Dynamic targeting keys are + # unique, user-friendly labels, created at the advertiser level in DCM, that can + # be assigned to ads, creatives, and placements and used for targeting with + # DoubleClick Studio dynamic creatives. Use these labels instead of numeric DCM + # IDs (such as placement IDs) to save time and avoid errors in your dynamic + # feeds. + class DynamicTargetingKey + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#dynamicTargetingKey". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this dynamic targeting key. This is a required field. Must be less + # than 256 characters long and cannot contain commas. All characters are + # converted to lowercase. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID of the object of this dynamic targeting key. This is a required field. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Type of the object of this dynamic targeting key. This is a required field. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @object_type = args[:object_type] if args.key?(:object_type) + end + end + + # Dynamic Targeting Key List Response + class DynamicTargetingKeysListResponse + include Google::Apis::Core::Hashable + + # Dynamic targeting key collection. + # Corresponds to the JSON property `dynamicTargetingKeys` + # @return [Array] + attr_accessor :dynamic_targeting_keys + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#dynamicTargetingKeysListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dynamic_targeting_keys = args[:dynamic_targeting_keys] if args.key?(:dynamic_targeting_keys) + @kind = args[:kind] if args.key?(:kind) + end + end + + # A description of how user IDs are encrypted. + class EncryptionInfo + include Google::Apis::Core::Hashable + + # The encryption entity ID. This should match the encryption configuration for + # ad serving or Data Transfer. + # Corresponds to the JSON property `encryptionEntityId` + # @return [String] + attr_accessor :encryption_entity_id + + # The encryption entity type. This should match the encryption configuration for + # ad serving or Data Transfer. + # Corresponds to the JSON property `encryptionEntityType` + # @return [String] + attr_accessor :encryption_entity_type + + # Describes whether the encrypted cookie was received from ad serving (the %m + # macro) or from Data Transfer. + # Corresponds to the JSON property `encryptionSource` + # @return [String] + attr_accessor :encryption_source + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#encryptionInfo". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encryption_entity_id = args[:encryption_entity_id] if args.key?(:encryption_entity_id) + @encryption_entity_type = args[:encryption_entity_type] if args.key?(:encryption_entity_type) + @encryption_source = args[:encryption_source] if args.key?(:encryption_source) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains properties of an event tag. + class EventTag + include Google::Apis::Core::Hashable + + # Account ID of this event tag. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this event tag. This field or the campaignId field is + # required on insertion. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Campaign ID of this event tag. This field or the advertiserId field is + # required on insertion. + # Corresponds to the JSON property `campaignId` + # @return [String] + attr_accessor :campaign_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `campaignIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :campaign_id_dimension_value + + # Whether this event tag should be automatically enabled for all of the + # advertiser's campaigns and ads. + # Corresponds to the JSON property `enabledByDefault` + # @return [Boolean] + attr_accessor :enabled_by_default + alias_method :enabled_by_default?, :enabled_by_default + + # Whether to remove this event tag from ads that are trafficked through + # DoubleClick Bid Manager to Ad Exchange. This may be useful if the event tag + # uses a pixel that is unapproved for Ad Exchange bids on one or more networks, + # such as the Google Display Network. + # Corresponds to the JSON property `excludeFromAdxRequests` + # @return [Boolean] + attr_accessor :exclude_from_adx_requests + alias_method :exclude_from_adx_requests?, :exclude_from_adx_requests + + # ID of this event tag. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#eventTag". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this event tag. This is a required field and must be less than 256 + # characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Site filter type for this event tag. If no type is specified then the event + # tag will be applied to all sites. + # Corresponds to the JSON property `siteFilterType` + # @return [String] + attr_accessor :site_filter_type + + # Filter list of site IDs associated with this event tag. The siteFilterType + # determines whether this is a whitelist or blacklist filter. + # Corresponds to the JSON property `siteIds` + # @return [Array] + attr_accessor :site_ids + + # Whether this tag is SSL-compliant or not. This is a read-only field. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Status of this event tag. Must be ENABLED for this event tag to fire. This is + # a required field. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Subaccount ID of this event tag. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Event tag type. Can be used to specify whether to use a third-party pixel, a + # third-party JavaScript URL, or a third-party click-through URL for either + # impression or click tracking. This is a required field. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Payload URL for this event tag. The URL on a click-through event tag should + # have a landing page URL appended to the end of it. This field is required on + # insertion. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Number of times the landing page URL should be URL-escaped before being + # appended to the click-through event tag URL. Only applies to click-through + # event tags as specified by the event tag type. + # Corresponds to the JSON property `urlEscapeLevels` + # @return [Fixnum] + attr_accessor :url_escape_levels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @campaign_id = args[:campaign_id] if args.key?(:campaign_id) + @campaign_id_dimension_value = args[:campaign_id_dimension_value] if args.key?(:campaign_id_dimension_value) + @enabled_by_default = args[:enabled_by_default] if args.key?(:enabled_by_default) + @exclude_from_adx_requests = args[:exclude_from_adx_requests] if args.key?(:exclude_from_adx_requests) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @site_filter_type = args[:site_filter_type] if args.key?(:site_filter_type) + @site_ids = args[:site_ids] if args.key?(:site_ids) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @status = args[:status] if args.key?(:status) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @type = args[:type] if args.key?(:type) + @url = args[:url] if args.key?(:url) + @url_escape_levels = args[:url_escape_levels] if args.key?(:url_escape_levels) + end + end + + # Event tag override information. + class EventTagOverride + include Google::Apis::Core::Hashable + + # Whether this override is enabled. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # ID of this event tag override. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + @id = args[:id] if args.key?(:id) + end + end + + # Event Tag List Response + class EventTagsListResponse + include Google::Apis::Core::Hashable + + # Event tag collection. + # Corresponds to the JSON property `eventTags` + # @return [Array] + attr_accessor :event_tags + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#eventTagsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_tags = args[:event_tags] if args.key?(:event_tags) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Represents a File resource. A file contains the metadata for a report run. It + # shows the status of the run and holds the URLs to the generated report data if + # the run is finished and the status is "REPORT_AVAILABLE". + class File + include Google::Apis::Core::Hashable + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The filename of the file. + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name + + # The output format of the report. Only available once the file is available. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The unique ID of this report file. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The kind of resource this is, in this case dfareporting#file. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The timestamp in milliseconds since epoch when this file was last modified. + # Corresponds to the JSON property `lastModifiedTime` + # @return [String] + attr_accessor :last_modified_time + + # The ID of the report this file was generated from. + # Corresponds to the JSON property `reportId` + # @return [String] + attr_accessor :report_id + + # The status of the report file. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # The URLs where the completed report file can be downloaded. + # Corresponds to the JSON property `urls` + # @return [Google::Apis::DfareportingV2_7::File::Urls] + attr_accessor :urls + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @date_range = args[:date_range] if args.key?(:date_range) + @etag = args[:etag] if args.key?(:etag) + @file_name = args[:file_name] if args.key?(:file_name) + @format = args[:format] if args.key?(:format) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) + @report_id = args[:report_id] if args.key?(:report_id) + @status = args[:status] if args.key?(:status) + @urls = args[:urls] if args.key?(:urls) + end + + # The URLs where the completed report file can be downloaded. + class Urls + include Google::Apis::Core::Hashable + + # The URL for downloading the report data through the API. + # Corresponds to the JSON property `apiUrl` + # @return [String] + attr_accessor :api_url + + # The URL for downloading the report data through a browser. + # Corresponds to the JSON property `browserUrl` + # @return [String] + attr_accessor :browser_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_url = args[:api_url] if args.key?(:api_url) + @browser_url = args[:browser_url] if args.key?(:browser_url) + end + end + end + + # Represents the list of File resources. + class FileList + include Google::Apis::Core::Hashable + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The files returned in this response. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The kind of list this is, in this case dfareporting#fileList. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Continuation token used to page through files. To retrieve the next page of + # results, set the next request's "pageToken" to the value of this field. The + # page token is only valid for a limited amount of time and should not be + # persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Flight + class Flight + include Google::Apis::Core::Hashable + + # Inventory item flight end date. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # Rate or cost of this flight. + # Corresponds to the JSON property `rateOrCost` + # @return [String] + attr_accessor :rate_or_cost + + # Inventory item flight start date. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + # Units of this flight. + # Corresponds to the JSON property `units` + # @return [String] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_date = args[:end_date] if args.key?(:end_date) + @rate_or_cost = args[:rate_or_cost] if args.key?(:rate_or_cost) + @start_date = args[:start_date] if args.key?(:start_date) + @units = args[:units] if args.key?(:units) + end + end + + # Floodlight Activity GenerateTag Response + class FloodlightActivitiesGenerateTagResponse + include Google::Apis::Core::Hashable + + # Generated tag for this floodlight activity. + # Corresponds to the JSON property `floodlightActivityTag` + # @return [String] + attr_accessor :floodlight_activity_tag + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightActivitiesGenerateTagResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_activity_tag = args[:floodlight_activity_tag] if args.key?(:floodlight_activity_tag) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Floodlight Activity List Response + class FloodlightActivitiesListResponse + include Google::Apis::Core::Hashable + + # Floodlight activity collection. + # Corresponds to the JSON property `floodlightActivities` + # @return [Array] + attr_accessor :floodlight_activities + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightActivitiesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_activities = args[:floodlight_activities] if args.key?(:floodlight_activities) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Contains properties of a Floodlight activity. + class FloodlightActivity + include Google::Apis::Core::Hashable + + # Account ID of this floodlight activity. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this floodlight activity. If this field is left blank, the + # value will be copied over either from the activity group's advertiser or the + # existing activity's advertiser. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Code type used for cache busting in the generated tag. + # Corresponds to the JSON property `cacheBustingType` + # @return [String] + attr_accessor :cache_busting_type + + # Counting method for conversions for this floodlight activity. This is a + # required field. + # Corresponds to the JSON property `countingMethod` + # @return [String] + attr_accessor :counting_method + + # Dynamic floodlight tags. + # Corresponds to the JSON property `defaultTags` + # @return [Array] + attr_accessor :default_tags + + # URL where this tag will be deployed. If specified, must be less than 256 + # characters long. + # Corresponds to the JSON property `expectedUrl` + # @return [String] + attr_accessor :expected_url + + # Floodlight activity group ID of this floodlight activity. This is a required + # field. + # Corresponds to the JSON property `floodlightActivityGroupId` + # @return [String] + attr_accessor :floodlight_activity_group_id + + # Name of the associated floodlight activity group. This is a read-only field. + # Corresponds to the JSON property `floodlightActivityGroupName` + # @return [String] + attr_accessor :floodlight_activity_group_name + + # Tag string of the associated floodlight activity group. This is a read-only + # field. + # Corresponds to the JSON property `floodlightActivityGroupTagString` + # @return [String] + attr_accessor :floodlight_activity_group_tag_string + + # Type of the associated floodlight activity group. This is a read-only field. + # Corresponds to the JSON property `floodlightActivityGroupType` + # @return [String] + attr_accessor :floodlight_activity_group_type + + # Floodlight configuration ID of this floodlight activity. If this field is left + # blank, the value will be copied over either from the activity group's + # floodlight configuration or from the existing activity's floodlight + # configuration. + # Corresponds to the JSON property `floodlightConfigurationId` + # @return [String] + attr_accessor :floodlight_configuration_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigurationIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_configuration_id_dimension_value + + # Whether this activity is archived. + # Corresponds to the JSON property `hidden` + # @return [Boolean] + attr_accessor :hidden + alias_method :hidden?, :hidden + + # ID of this floodlight activity. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Whether the image tag is enabled for this activity. + # Corresponds to the JSON property `imageTagEnabled` + # @return [Boolean] + attr_accessor :image_tag_enabled + alias_method :image_tag_enabled?, :image_tag_enabled + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightActivity". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this floodlight activity. This is a required field. Must be less than + # 129 characters long and cannot contain quotes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # General notes or implementation instructions for the tag. + # Corresponds to the JSON property `notes` + # @return [String] + attr_accessor :notes + + # Publisher dynamic floodlight tags. + # Corresponds to the JSON property `publisherTags` + # @return [Array] + attr_accessor :publisher_tags + + # Whether this tag should use SSL. + # Corresponds to the JSON property `secure` + # @return [Boolean] + attr_accessor :secure + alias_method :secure?, :secure + + # Whether the floodlight activity is SSL-compliant. This is a read-only field, + # its value detected by the system from the floodlight tags. + # Corresponds to the JSON property `sslCompliant` + # @return [Boolean] + attr_accessor :ssl_compliant + alias_method :ssl_compliant?, :ssl_compliant + + # Whether this floodlight activity must be SSL-compliant. + # Corresponds to the JSON property `sslRequired` + # @return [Boolean] + attr_accessor :ssl_required + alias_method :ssl_required?, :ssl_required + + # Subaccount ID of this floodlight activity. This is a read-only field that can + # be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Tag format type for the floodlight activity. If left blank, the tag format + # will default to HTML. + # Corresponds to the JSON property `tagFormat` + # @return [String] + attr_accessor :tag_format + + # Value of the cat= paramter in the floodlight tag, which the ad servers use to + # identify the activity. This is optional: if empty, a new tag string will be + # generated for you. This string must be 1 to 8 characters long, with valid + # characters being [a-z][A-Z][0-9][-][ _ ]. This tag string must also be unique + # among activities of the same activity group. This field is read-only after + # insertion. + # Corresponds to the JSON property `tagString` + # @return [String] + attr_accessor :tag_string + + # List of the user-defined variables used by this conversion tag. These map to + # the "u[1-20]=" in the tags. Each of these can have a user defined type. + # Acceptable values are: + # - "U1" + # - "U2" + # - "U3" + # - "U4" + # - "U5" + # - "U6" + # - "U7" + # - "U8" + # - "U9" + # - "U10" + # - "U11" + # - "U12" + # - "U13" + # - "U14" + # - "U15" + # - "U16" + # - "U17" + # - "U18" + # - "U19" + # - "U20" + # Corresponds to the JSON property `userDefinedVariableTypes` + # @return [Array] + attr_accessor :user_defined_variable_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @cache_busting_type = args[:cache_busting_type] if args.key?(:cache_busting_type) + @counting_method = args[:counting_method] if args.key?(:counting_method) + @default_tags = args[:default_tags] if args.key?(:default_tags) + @expected_url = args[:expected_url] if args.key?(:expected_url) + @floodlight_activity_group_id = args[:floodlight_activity_group_id] if args.key?(:floodlight_activity_group_id) + @floodlight_activity_group_name = args[:floodlight_activity_group_name] if args.key?(:floodlight_activity_group_name) + @floodlight_activity_group_tag_string = args[:floodlight_activity_group_tag_string] if args.key?(:floodlight_activity_group_tag_string) + @floodlight_activity_group_type = args[:floodlight_activity_group_type] if args.key?(:floodlight_activity_group_type) + @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) + @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] if args.key?(:floodlight_configuration_id_dimension_value) + @hidden = args[:hidden] if args.key?(:hidden) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @image_tag_enabled = args[:image_tag_enabled] if args.key?(:image_tag_enabled) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @notes = args[:notes] if args.key?(:notes) + @publisher_tags = args[:publisher_tags] if args.key?(:publisher_tags) + @secure = args[:secure] if args.key?(:secure) + @ssl_compliant = args[:ssl_compliant] if args.key?(:ssl_compliant) + @ssl_required = args[:ssl_required] if args.key?(:ssl_required) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @tag_format = args[:tag_format] if args.key?(:tag_format) + @tag_string = args[:tag_string] if args.key?(:tag_string) + @user_defined_variable_types = args[:user_defined_variable_types] if args.key?(:user_defined_variable_types) + end + end + + # Dynamic Tag + class FloodlightActivityDynamicTag + include Google::Apis::Core::Hashable + + # ID of this dynamic tag. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of this tag. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Tag code. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @name = args[:name] if args.key?(:name) + @tag = args[:tag] if args.key?(:tag) + end + end + + # Contains properties of a Floodlight activity group. + class FloodlightActivityGroup + include Google::Apis::Core::Hashable + + # Account ID of this floodlight activity group. This is a read-only field that + # can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this floodlight activity group. If this field is left blank, + # the value will be copied over either from the floodlight configuration's + # advertiser or from the existing activity group's advertiser. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Floodlight configuration ID of this floodlight activity group. This is a + # required field. + # Corresponds to the JSON property `floodlightConfigurationId` + # @return [String] + attr_accessor :floodlight_configuration_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigurationIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_configuration_id_dimension_value + + # ID of this floodlight activity group. This is a read-only, auto-generated + # field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightActivityGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this floodlight activity group. This is a required field. Must be less + # than 65 characters long and cannot contain quotes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this floodlight activity group. This is a read-only field + # that can be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Value of the type= parameter in the floodlight tag, which the ad servers use + # to identify the activity group that the activity belongs to. This is optional: + # if empty, a new tag string will be generated for you. This string must be 1 to + # 8 characters long, with valid characters being [a-z][A-Z][0-9][-][ _ ]. This + # tag string must also be unique among activity groups of the same floodlight + # configuration. This field is read-only after insertion. + # Corresponds to the JSON property `tagString` + # @return [String] + attr_accessor :tag_string + + # Type of the floodlight activity group. This is a required field that is read- + # only after insertion. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @floodlight_configuration_id = args[:floodlight_configuration_id] if args.key?(:floodlight_configuration_id) + @floodlight_configuration_id_dimension_value = args[:floodlight_configuration_id_dimension_value] if args.key?(:floodlight_configuration_id_dimension_value) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @tag_string = args[:tag_string] if args.key?(:tag_string) + @type = args[:type] if args.key?(:type) + end + end + + # Floodlight Activity Group List Response + class FloodlightActivityGroupsListResponse + include Google::Apis::Core::Hashable + + # Floodlight activity group collection. + # Corresponds to the JSON property `floodlightActivityGroups` + # @return [Array] + attr_accessor :floodlight_activity_groups + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightActivityGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_activity_groups = args[:floodlight_activity_groups] if args.key?(:floodlight_activity_groups) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Publisher Dynamic Tag + class FloodlightActivityPublisherDynamicTag + include Google::Apis::Core::Hashable + + # Whether this tag is applicable only for click-throughs. + # Corresponds to the JSON property `clickThrough` + # @return [Boolean] + attr_accessor :click_through + alias_method :click_through?, :click_through + + # Directory site ID of this dynamic tag. This is a write-only field that can be + # used as an alternative to the siteId field. When this resource is retrieved, + # only the siteId field will be populated. + # Corresponds to the JSON property `directorySiteId` + # @return [String] + attr_accessor :directory_site_id + + # Dynamic Tag + # Corresponds to the JSON property `dynamicTag` + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag] + attr_accessor :dynamic_tag + + # Site ID of this dynamic tag. + # Corresponds to the JSON property `siteId` + # @return [String] + attr_accessor :site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `siteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :site_id_dimension_value + + # Whether this tag is applicable only for view-throughs. + # Corresponds to the JSON property `viewThrough` + # @return [Boolean] + attr_accessor :view_through + alias_method :view_through?, :view_through + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_through = args[:click_through] if args.key?(:click_through) + @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id) + @dynamic_tag = args[:dynamic_tag] if args.key?(:dynamic_tag) + @site_id = args[:site_id] if args.key?(:site_id) + @site_id_dimension_value = args[:site_id_dimension_value] if args.key?(:site_id_dimension_value) + @view_through = args[:view_through] if args.key?(:view_through) + end + end + + # Contains properties of a Floodlight configuration. + class FloodlightConfiguration + include Google::Apis::Core::Hashable + + # Account ID of this floodlight configuration. This is a read-only field that + # can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of the parent advertiser of this floodlight configuration. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Whether advertiser data is shared with Google Analytics. + # Corresponds to the JSON property `analyticsDataSharingEnabled` + # @return [Boolean] + attr_accessor :analytics_data_sharing_enabled + alias_method :analytics_data_sharing_enabled?, :analytics_data_sharing_enabled + + # Whether the exposure-to-conversion report is enabled. This report shows + # detailed pathway information on up to 10 of the most recent ad exposures seen + # by a user before converting. + # Corresponds to the JSON property `exposureToConversionEnabled` + # @return [Boolean] + attr_accessor :exposure_to_conversion_enabled + alias_method :exposure_to_conversion_enabled?, :exposure_to_conversion_enabled + + # Day that will be counted as the first day of the week in reports. This is a + # required field. + # Corresponds to the JSON property `firstDayOfWeek` + # @return [String] + attr_accessor :first_day_of_week + + # ID of this floodlight configuration. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Whether in-app attribution tracking is enabled. + # Corresponds to the JSON property `inAppAttributionTrackingEnabled` + # @return [Boolean] + attr_accessor :in_app_attribution_tracking_enabled + alias_method :in_app_attribution_tracking_enabled?, :in_app_attribution_tracking_enabled + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightConfiguration". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Lookback configuration settings. + # Corresponds to the JSON property `lookbackConfiguration` + # @return [Google::Apis::DfareportingV2_7::LookbackConfiguration] + attr_accessor :lookback_configuration + + # Types of attribution options for natural search conversions. + # Corresponds to the JSON property `naturalSearchConversionAttributionOption` + # @return [String] + attr_accessor :natural_search_conversion_attribution_option + + # Omniture Integration Settings. + # Corresponds to the JSON property `omnitureSettings` + # @return [Google::Apis::DfareportingV2_7::OmnitureSettings] + attr_accessor :omniture_settings + + # List of standard variables enabled for this configuration. + # Acceptable values are: + # - "ORD" + # - "NUM" + # Corresponds to the JSON property `standardVariableTypes` + # @return [Array] + attr_accessor :standard_variable_types + + # Subaccount ID of this floodlight configuration. This is a read-only field that + # can be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Dynamic and Image Tag Settings. + # Corresponds to the JSON property `tagSettings` + # @return [Google::Apis::DfareportingV2_7::TagSettings] + attr_accessor :tag_settings + + # List of third-party authentication tokens enabled for this configuration. + # Corresponds to the JSON property `thirdPartyAuthenticationTokens` + # @return [Array] + attr_accessor :third_party_authentication_tokens + + # List of user defined variables enabled for this configuration. + # Corresponds to the JSON property `userDefinedVariableConfigurations` + # @return [Array] + attr_accessor :user_defined_variable_configurations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @analytics_data_sharing_enabled = args[:analytics_data_sharing_enabled] if args.key?(:analytics_data_sharing_enabled) + @exposure_to_conversion_enabled = args[:exposure_to_conversion_enabled] if args.key?(:exposure_to_conversion_enabled) + @first_day_of_week = args[:first_day_of_week] if args.key?(:first_day_of_week) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @in_app_attribution_tracking_enabled = args[:in_app_attribution_tracking_enabled] if args.key?(:in_app_attribution_tracking_enabled) + @kind = args[:kind] if args.key?(:kind) + @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration) + @natural_search_conversion_attribution_option = args[:natural_search_conversion_attribution_option] if args.key?(:natural_search_conversion_attribution_option) + @omniture_settings = args[:omniture_settings] if args.key?(:omniture_settings) + @standard_variable_types = args[:standard_variable_types] if args.key?(:standard_variable_types) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @tag_settings = args[:tag_settings] if args.key?(:tag_settings) + @third_party_authentication_tokens = args[:third_party_authentication_tokens] if args.key?(:third_party_authentication_tokens) + @user_defined_variable_configurations = args[:user_defined_variable_configurations] if args.key?(:user_defined_variable_configurations) + end + end + + # Floodlight Configuration List Response + class FloodlightConfigurationsListResponse + include Google::Apis::Core::Hashable + + # Floodlight configuration collection. + # Corresponds to the JSON property `floodlightConfigurations` + # @return [Array] + attr_accessor :floodlight_configurations + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#floodlightConfigurationsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_configurations = args[:floodlight_configurations] if args.key?(:floodlight_configurations) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Represents fields that are compatible to be selected for a report of type " + # FlOODLIGHT". + class FloodlightReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "dimensionFilters" + # section of the report. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # Dimensions which are compatible to be selected in the "dimensions" section of + # the report. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The kind of resource this is, in this case dfareporting# + # floodlightReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + + # Frequency Cap. + class FrequencyCap + include Google::Apis::Core::Hashable + + # Duration of time, in seconds, for this frequency cap. The maximum duration is + # 90 days in seconds, or 7,776,000. + # Corresponds to the JSON property `duration` + # @return [String] + attr_accessor :duration + + # Number of times an individual user can be served the ad within the specified + # duration. The maximum allowed is 15. + # Corresponds to the JSON property `impressions` + # @return [String] + attr_accessor :impressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @duration = args[:duration] if args.key?(:duration) + @impressions = args[:impressions] if args.key?(:impressions) + end + end + + # FsCommand. + class FsCommand + include Google::Apis::Core::Hashable + + # Distance from the left of the browser.Applicable when positionOption is + # DISTANCE_FROM_TOP_LEFT_CORNER. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + # Position in the browser where the window will open. + # Corresponds to the JSON property `positionOption` + # @return [String] + attr_accessor :position_option + + # Distance from the top of the browser. Applicable when positionOption is + # DISTANCE_FROM_TOP_LEFT_CORNER. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + # Height of the window. + # Corresponds to the JSON property `windowHeight` + # @return [Fixnum] + attr_accessor :window_height + + # Width of the window. + # Corresponds to the JSON property `windowWidth` + # @return [Fixnum] + attr_accessor :window_width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @left = args[:left] if args.key?(:left) + @position_option = args[:position_option] if args.key?(:position_option) + @top = args[:top] if args.key?(:top) + @window_height = args[:window_height] if args.key?(:window_height) + @window_width = args[:window_width] if args.key?(:window_width) + end + end + + # Geographical Targeting. + class GeoTargeting + include Google::Apis::Core::Hashable + + # Cities to be targeted. For each city only dartId is required. The other fields + # are populated automatically when the ad is inserted or updated. If targeting a + # city, do not target or exclude the country of the city, and do not target the + # metro or region of the city. + # Corresponds to the JSON property `cities` + # @return [Array] + attr_accessor :cities + + # Countries to be targeted or excluded from targeting, depending on the setting + # of the excludeCountries field. For each country only dartId is required. The + # other fields are populated automatically when the ad is inserted or updated. + # If targeting or excluding a country, do not target regions, cities, metros, or + # postal codes in the same country. + # Corresponds to the JSON property `countries` + # @return [Array] + attr_accessor :countries + + # Whether or not to exclude the countries in the countries field from targeting. + # If false, the countries field refers to countries which will be targeted by + # the ad. + # Corresponds to the JSON property `excludeCountries` + # @return [Boolean] + attr_accessor :exclude_countries + alias_method :exclude_countries?, :exclude_countries + + # Metros to be targeted. For each metro only dmaId is required. The other fields + # are populated automatically when the ad is inserted or updated. If targeting a + # metro, do not target or exclude the country of the metro. + # Corresponds to the JSON property `metros` + # @return [Array] + attr_accessor :metros + + # Postal codes to be targeted. For each postal code only id is required. The + # other fields are populated automatically when the ad is inserted or updated. + # If targeting a postal code, do not target or exclude the country of the postal + # code. + # Corresponds to the JSON property `postalCodes` + # @return [Array] + attr_accessor :postal_codes + + # Regions to be targeted. For each region only dartId is required. The other + # fields are populated automatically when the ad is inserted or updated. If + # targeting a region, do not target or exclude the country of the region. + # Corresponds to the JSON property `regions` + # @return [Array] + attr_accessor :regions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cities = args[:cities] if args.key?(:cities) + @countries = args[:countries] if args.key?(:countries) + @exclude_countries = args[:exclude_countries] if args.key?(:exclude_countries) + @metros = args[:metros] if args.key?(:metros) + @postal_codes = args[:postal_codes] if args.key?(:postal_codes) + @regions = args[:regions] if args.key?(:regions) + end + end + + # Represents a buy from the DoubleClick Planning inventory store. + class InventoryItem + include Google::Apis::Core::Hashable + + # Account ID of this inventory item. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Ad slots of this inventory item. If this inventory item represents a + # standalone placement, there will be exactly one ad slot. If this inventory + # item represents a placement group, there will be more than one ad slot, each + # representing one child placement in that placement group. + # Corresponds to the JSON property `adSlots` + # @return [Array] + attr_accessor :ad_slots + + # Advertiser ID of this inventory item. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Content category ID of this inventory item. + # Corresponds to the JSON property `contentCategoryId` + # @return [String] + attr_accessor :content_category_id + + # Estimated click-through rate of this inventory item. + # Corresponds to the JSON property `estimatedClickThroughRate` + # @return [String] + attr_accessor :estimated_click_through_rate + + # Estimated conversion rate of this inventory item. + # Corresponds to the JSON property `estimatedConversionRate` + # @return [String] + attr_accessor :estimated_conversion_rate + + # ID of this inventory item. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Whether this inventory item is in plan. + # Corresponds to the JSON property `inPlan` + # @return [Boolean] + attr_accessor :in_plan + alias_method :in_plan?, :in_plan + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#inventoryItem". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Name of this inventory item. For standalone inventory items, this is the same + # name as that of its only ad slot. For group inventory items, this can differ + # from the name of any of its ad slots. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Negotiation channel ID of this inventory item. + # Corresponds to the JSON property `negotiationChannelId` + # @return [String] + attr_accessor :negotiation_channel_id + + # Order ID of this inventory item. + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + + # Placement strategy ID of this inventory item. + # Corresponds to the JSON property `placementStrategyId` + # @return [String] + attr_accessor :placement_strategy_id + + # Pricing Information + # Corresponds to the JSON property `pricing` + # @return [Google::Apis::DfareportingV2_7::Pricing] + attr_accessor :pricing + + # Project ID of this inventory item. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # RFP ID of this inventory item. + # Corresponds to the JSON property `rfpId` + # @return [String] + attr_accessor :rfp_id + + # ID of the site this inventory item is associated with. + # Corresponds to the JSON property `siteId` + # @return [String] + attr_accessor :site_id + + # Subaccount ID of this inventory item. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Type of inventory item. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @ad_slots = args[:ad_slots] if args.key?(:ad_slots) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @content_category_id = args[:content_category_id] if args.key?(:content_category_id) + @estimated_click_through_rate = args[:estimated_click_through_rate] if args.key?(:estimated_click_through_rate) + @estimated_conversion_rate = args[:estimated_conversion_rate] if args.key?(:estimated_conversion_rate) + @id = args[:id] if args.key?(:id) + @in_plan = args[:in_plan] if args.key?(:in_plan) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @name = args[:name] if args.key?(:name) + @negotiation_channel_id = args[:negotiation_channel_id] if args.key?(:negotiation_channel_id) + @order_id = args[:order_id] if args.key?(:order_id) + @placement_strategy_id = args[:placement_strategy_id] if args.key?(:placement_strategy_id) + @pricing = args[:pricing] if args.key?(:pricing) + @project_id = args[:project_id] if args.key?(:project_id) + @rfp_id = args[:rfp_id] if args.key?(:rfp_id) + @site_id = args[:site_id] if args.key?(:site_id) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @type = args[:type] if args.key?(:type) + end + end + + # Inventory item List Response + class InventoryItemsListResponse + include Google::Apis::Core::Hashable + + # Inventory item collection + # Corresponds to the JSON property `inventoryItems` + # @return [Array] + attr_accessor :inventory_items + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#inventoryItemsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inventory_items = args[:inventory_items] if args.key?(:inventory_items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Key Value Targeting Expression. + class KeyValueTargetingExpression + include Google::Apis::Core::Hashable + + # Keyword expression being targeted by the ad. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expression = args[:expression] if args.key?(:expression) + end + end + + # Contains information about where a user's browser is taken after the user + # clicks an ad. + class LandingPage + include Google::Apis::Core::Hashable + + # Whether or not this landing page will be assigned to any ads or creatives that + # do not have a landing page assigned explicitly. Only one default landing page + # is allowed per campaign. + # Corresponds to the JSON property `default` + # @return [Boolean] + attr_accessor :default + alias_method :default?, :default + + # ID of this landing page. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#landingPage". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this landing page. This is a required field. It must be less than 256 + # characters long, and must be unique among landing pages of the same campaign. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # URL of this landing page. This is a required field. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default = args[:default] if args.key?(:default) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @url = args[:url] if args.key?(:url) + end + end + + # Landing Page List Response + class LandingPagesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#landingPagesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Landing page collection + # Corresponds to the JSON property `landingPages` + # @return [Array] + attr_accessor :landing_pages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @landing_pages = args[:landing_pages] if args.key?(:landing_pages) + end + end + + # Contains information about a language that can be targeted by ads. + class Language + include Google::Apis::Core::Hashable + + # Language ID of this language. This is the ID used for targeting and generating + # reports. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#language". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Format of language code is an ISO 639 two-letter language code optionally + # followed by an underscore followed by an ISO 3166 code. Examples are "en" for + # English or "zh_CN" for Simplified Chinese. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Name of this language. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @language_code = args[:language_code] if args.key?(:language_code) + @name = args[:name] if args.key?(:name) + end + end + + # Language Targeting. + class LanguageTargeting + include Google::Apis::Core::Hashable + + # Languages that this ad targets. For each language only languageId is required. + # The other fields are populated automatically when the ad is inserted or + # updated. + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @languages = args[:languages] if args.key?(:languages) + end + end + + # Language List Response + class LanguagesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#languagesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Language collection. + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @languages = args[:languages] if args.key?(:languages) + end + end + + # Modification timestamp. + class LastModifiedInfo + include Google::Apis::Core::Hashable + + # Timestamp of the last change in milliseconds since epoch. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @time = args[:time] if args.key?(:time) + end + end + + # A group clause made up of list population terms representing constraints + # joined by ORs. + class ListPopulationClause + include Google::Apis::Core::Hashable + + # Terms of this list population clause. Each clause is made up of list + # population terms representing constraints and are joined by ORs. + # Corresponds to the JSON property `terms` + # @return [Array] + attr_accessor :terms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @terms = args[:terms] if args.key?(:terms) + end + end + + # Remarketing List Population Rule. + class ListPopulationRule + include Google::Apis::Core::Hashable + + # Floodlight activity ID associated with this rule. This field can be left blank. + # Corresponds to the JSON property `floodlightActivityId` + # @return [String] + attr_accessor :floodlight_activity_id + + # Name of floodlight activity associated with this rule. This is a read-only, + # auto-generated field. + # Corresponds to the JSON property `floodlightActivityName` + # @return [String] + attr_accessor :floodlight_activity_name + + # Clauses that make up this list population rule. Clauses are joined by ANDs, + # and the clauses themselves are made up of list population terms which are + # joined by ORs. + # Corresponds to the JSON property `listPopulationClauses` + # @return [Array] + attr_accessor :list_population_clauses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id) + @floodlight_activity_name = args[:floodlight_activity_name] if args.key?(:floodlight_activity_name) + @list_population_clauses = args[:list_population_clauses] if args.key?(:list_population_clauses) + end + end + + # Remarketing List Population Rule Term. + class ListPopulationTerm + include Google::Apis::Core::Hashable + + # Will be true if the term should check if the user is in the list and false if + # the term should check if the user is not in the list. This field is only + # relevant when type is set to LIST_MEMBERSHIP_TERM. False by default. + # Corresponds to the JSON property `contains` + # @return [Boolean] + attr_accessor :contains + alias_method :contains?, :contains + + # Whether to negate the comparison result of this term during rule evaluation. + # This field is only relevant when type is left unset or set to + # CUSTOM_VARIABLE_TERM or REFERRER_TERM. + # Corresponds to the JSON property `negation` + # @return [Boolean] + attr_accessor :negation + alias_method :negation?, :negation + + # Comparison operator of this term. This field is only relevant when type is + # left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. + # Corresponds to the JSON property `operator` + # @return [String] + attr_accessor :operator + + # ID of the list in question. This field is only relevant when type is set to + # LIST_MEMBERSHIP_TERM. + # Corresponds to the JSON property `remarketingListId` + # @return [String] + attr_accessor :remarketing_list_id + + # List population term type determines the applicable fields in this object. If + # left unset or set to CUSTOM_VARIABLE_TERM, then variableName, + # variableFriendlyName, operator, value, and negation are applicable. If set to + # LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If + # set to REFERRER_TERM then operator, value, and negation are applicable. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Literal to compare the variable to. This field is only relevant when type is + # left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Friendly name of this term's variable. This is a read-only, auto-generated + # field. This field is only relevant when type is left unset or set to + # CUSTOM_VARIABLE_TERM. + # Corresponds to the JSON property `variableFriendlyName` + # @return [String] + attr_accessor :variable_friendly_name + + # Name of the variable (U1, U2, etc.) being compared in this term. This field is + # only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM. + # Corresponds to the JSON property `variableName` + # @return [String] + attr_accessor :variable_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contains = args[:contains] if args.key?(:contains) + @negation = args[:negation] if args.key?(:negation) + @operator = args[:operator] if args.key?(:operator) + @remarketing_list_id = args[:remarketing_list_id] if args.key?(:remarketing_list_id) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @variable_friendly_name = args[:variable_friendly_name] if args.key?(:variable_friendly_name) + @variable_name = args[:variable_name] if args.key?(:variable_name) + end + end + + # Remarketing List Targeting Expression. + class ListTargetingExpression + include Google::Apis::Core::Hashable + + # Expression describing which lists are being targeted by the ad. + # Corresponds to the JSON property `expression` + # @return [String] + attr_accessor :expression + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @expression = args[:expression] if args.key?(:expression) + end + end + + # Lookback configuration settings. + class LookbackConfiguration + include Google::Apis::Core::Hashable + + # Lookback window, in days, from the last time a given user clicked on one of + # your ads. If you enter 0, clicks will not be considered as triggering events + # for floodlight tracking. If you leave this field blank, the default value for + # your account will be used. + # Corresponds to the JSON property `clickDuration` + # @return [Fixnum] + attr_accessor :click_duration + + # Lookback window, in days, from the last time a given user viewed one of your + # ads. If you enter 0, impressions will not be considered as triggering events + # for floodlight tracking. If you leave this field blank, the default value for + # your account will be used. + # Corresponds to the JSON property `postImpressionActivitiesDuration` + # @return [Fixnum] + attr_accessor :post_impression_activities_duration + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_duration = args[:click_duration] if args.key?(:click_duration) + @post_impression_activities_duration = args[:post_impression_activities_duration] if args.key?(:post_impression_activities_duration) + end + end + + # Represents a metric. + class Metric + include Google::Apis::Core::Hashable + + # The kind of resource this is, in this case dfareporting#metric. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The metric name, e.g. dfa:impressions + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Contains information about a metro region that can be targeted by ads. + class Metro + include Google::Apis::Core::Hashable + + # Country code of the country to which this metro region belongs. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of the country to which this metro region belongs. + # Corresponds to the JSON property `countryDartId` + # @return [String] + attr_accessor :country_dart_id + + # DART ID of this metro region. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # DMA ID of this metro region. This is the ID used for targeting and generating + # reports, and is equivalent to metro_code. + # Corresponds to the JSON property `dmaId` + # @return [String] + attr_accessor :dma_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#metro". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metro code of this metro region. This is equivalent to dma_id. + # Corresponds to the JSON property `metroCode` + # @return [String] + attr_accessor :metro_code + + # Name of this metro region. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @dma_id = args[:dma_id] if args.key?(:dma_id) + @kind = args[:kind] if args.key?(:kind) + @metro_code = args[:metro_code] if args.key?(:metro_code) + @name = args[:name] if args.key?(:name) + end + end + + # Metro List Response + class MetrosListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#metrosListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metro collection. + # Corresponds to the JSON property `metros` + # @return [Array] + attr_accessor :metros + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @metros = args[:metros] if args.key?(:metros) + end + end + + # Contains information about a mobile carrier that can be targeted by ads. + class MobileCarrier + include Google::Apis::Core::Hashable + + # Country code of the country to which this mobile carrier belongs. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of the country to which this mobile carrier belongs. + # Corresponds to the JSON property `countryDartId` + # @return [String] + attr_accessor :country_dart_id + + # ID of this mobile carrier. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#mobileCarrier". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this mobile carrier. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Mobile Carrier List Response + class MobileCarriersListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#mobileCarriersListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Mobile carrier collection. + # Corresponds to the JSON property `mobileCarriers` + # @return [Array] + attr_accessor :mobile_carriers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers) + end + end + + # Object Filter. + class ObjectFilter + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#objectFilter". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Applicable when status is ASSIGNED. The user has access to objects with these + # object IDs. + # Corresponds to the JSON property `objectIds` + # @return [Array] + attr_accessor :object_ids + + # Status of the filter. NONE means the user has access to none of the objects. + # ALL means the user has access to all objects. ASSIGNED means the user has + # access to the objects with IDs in the objectIds list. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @object_ids = args[:object_ids] if args.key?(:object_ids) + @status = args[:status] if args.key?(:status) + end + end + + # Offset Position. + class OffsetPosition + include Google::Apis::Core::Hashable + + # Offset distance from left side of an asset or a window. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + # Offset distance from top side of an asset or a window. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @left = args[:left] if args.key?(:left) + @top = args[:top] if args.key?(:top) + end + end + + # Omniture Integration Settings. + class OmnitureSettings + include Google::Apis::Core::Hashable + + # Whether placement cost data will be sent to Omniture. This property can be + # enabled only if omnitureIntegrationEnabled is true. + # Corresponds to the JSON property `omnitureCostDataEnabled` + # @return [Boolean] + attr_accessor :omniture_cost_data_enabled + alias_method :omniture_cost_data_enabled?, :omniture_cost_data_enabled + + # Whether Omniture integration is enabled. This property can be enabled only + # when the "Advanced Ad Serving" account setting is enabled. + # Corresponds to the JSON property `omnitureIntegrationEnabled` + # @return [Boolean] + attr_accessor :omniture_integration_enabled + alias_method :omniture_integration_enabled?, :omniture_integration_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @omniture_cost_data_enabled = args[:omniture_cost_data_enabled] if args.key?(:omniture_cost_data_enabled) + @omniture_integration_enabled = args[:omniture_integration_enabled] if args.key?(:omniture_integration_enabled) + end + end + + # Contains information about an operating system that can be targeted by ads. + class OperatingSystem + include Google::Apis::Core::Hashable + + # DART ID of this operating system. This is the ID used for targeting. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # Whether this operating system is for desktop. + # Corresponds to the JSON property `desktop` + # @return [Boolean] + attr_accessor :desktop + alias_method :desktop?, :desktop + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#operatingSystem". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Whether this operating system is for mobile. + # Corresponds to the JSON property `mobile` + # @return [Boolean] + attr_accessor :mobile + alias_method :mobile?, :mobile + + # Name of this operating system. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @desktop = args[:desktop] if args.key?(:desktop) + @kind = args[:kind] if args.key?(:kind) + @mobile = args[:mobile] if args.key?(:mobile) + @name = args[:name] if args.key?(:name) + end + end + + # Contains information about a particular version of an operating system that + # can be targeted by ads. + class OperatingSystemVersion + include Google::Apis::Core::Hashable + + # ID of this operating system version. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#operatingSystemVersion". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Major version (leftmost number) of this operating system version. + # Corresponds to the JSON property `majorVersion` + # @return [String] + attr_accessor :major_version + + # Minor version (number after the first dot) of this operating system version. + # Corresponds to the JSON property `minorVersion` + # @return [String] + attr_accessor :minor_version + + # Name of this operating system version. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Contains information about an operating system that can be targeted by ads. + # Corresponds to the JSON property `operatingSystem` + # @return [Google::Apis::DfareportingV2_7::OperatingSystem] + attr_accessor :operating_system + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @major_version = args[:major_version] if args.key?(:major_version) + @minor_version = args[:minor_version] if args.key?(:minor_version) + @name = args[:name] if args.key?(:name) + @operating_system = args[:operating_system] if args.key?(:operating_system) + end + end + + # Operating System Version List Response + class OperatingSystemVersionsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#operatingSystemVersionsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Operating system version collection. + # Corresponds to the JSON property `operatingSystemVersions` + # @return [Array] + attr_accessor :operating_system_versions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @operating_system_versions = args[:operating_system_versions] if args.key?(:operating_system_versions) + end + end + + # Operating System List Response + class OperatingSystemsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#operatingSystemsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Operating system collection. + # Corresponds to the JSON property `operatingSystems` + # @return [Array] + attr_accessor :operating_systems + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @operating_systems = args[:operating_systems] if args.key?(:operating_systems) + end + end + + # Creative optimization activity. + class OptimizationActivity + include Google::Apis::Core::Hashable + + # Floodlight activity ID of this optimization activity. This is a required field. + # Corresponds to the JSON property `floodlightActivityId` + # @return [String] + attr_accessor :floodlight_activity_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightActivityIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_activity_id_dimension_value + + # Weight associated with this optimization. Must be greater than 1. The weight + # assigned will be understood in proportion to the weights assigned to the other + # optimization activities. + # Corresponds to the JSON property `weight` + # @return [Fixnum] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id) + @floodlight_activity_id_dimension_value = args[:floodlight_activity_id_dimension_value] if args.key?(:floodlight_activity_id_dimension_value) + @weight = args[:weight] if args.key?(:weight) + end + end + + # Describes properties of a DoubleClick Planning order. + class Order + include Google::Apis::Core::Hashable + + # Account ID of this order. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this order. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # IDs for users that have to approve documents created for this order. + # Corresponds to the JSON property `approverUserProfileIds` + # @return [Array] + attr_accessor :approver_user_profile_ids + + # Buyer invoice ID associated with this order. + # Corresponds to the JSON property `buyerInvoiceId` + # @return [String] + attr_accessor :buyer_invoice_id + + # Name of the buyer organization. + # Corresponds to the JSON property `buyerOrganizationName` + # @return [String] + attr_accessor :buyer_organization_name + + # Comments in this order. + # Corresponds to the JSON property `comments` + # @return [String] + attr_accessor :comments + + # Contacts for this order. + # Corresponds to the JSON property `contacts` + # @return [Array] + attr_accessor :contacts + + # ID of this order. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#order". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Name of this order. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Notes of this order. + # Corresponds to the JSON property `notes` + # @return [String] + attr_accessor :notes + + # ID of the terms and conditions template used in this order. + # Corresponds to the JSON property `planningTermId` + # @return [String] + attr_accessor :planning_term_id + + # Project ID of this order. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Seller order ID associated with this order. + # Corresponds to the JSON property `sellerOrderId` + # @return [String] + attr_accessor :seller_order_id + + # Name of the seller organization. + # Corresponds to the JSON property `sellerOrganizationName` + # @return [String] + attr_accessor :seller_organization_name + + # Site IDs this order is associated with. + # Corresponds to the JSON property `siteId` + # @return [Array] + attr_accessor :site_id + + # Free-form site names this order is associated with. + # Corresponds to the JSON property `siteNames` + # @return [Array] + attr_accessor :site_names + + # Subaccount ID of this order. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Terms and conditions of this order. + # Corresponds to the JSON property `termsAndConditions` + # @return [String] + attr_accessor :terms_and_conditions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @approver_user_profile_ids = args[:approver_user_profile_ids] if args.key?(:approver_user_profile_ids) + @buyer_invoice_id = args[:buyer_invoice_id] if args.key?(:buyer_invoice_id) + @buyer_organization_name = args[:buyer_organization_name] if args.key?(:buyer_organization_name) + @comments = args[:comments] if args.key?(:comments) + @contacts = args[:contacts] if args.key?(:contacts) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @name = args[:name] if args.key?(:name) + @notes = args[:notes] if args.key?(:notes) + @planning_term_id = args[:planning_term_id] if args.key?(:planning_term_id) + @project_id = args[:project_id] if args.key?(:project_id) + @seller_order_id = args[:seller_order_id] if args.key?(:seller_order_id) + @seller_organization_name = args[:seller_organization_name] if args.key?(:seller_organization_name) + @site_id = args[:site_id] if args.key?(:site_id) + @site_names = args[:site_names] if args.key?(:site_names) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @terms_and_conditions = args[:terms_and_conditions] if args.key?(:terms_and_conditions) + end + end + + # Contact of an order. + class OrderContact + include Google::Apis::Core::Hashable + + # Free-form information about this contact. It could be any information related + # to this contact in addition to type, title, name, and signature user profile + # ID. + # Corresponds to the JSON property `contactInfo` + # @return [String] + attr_accessor :contact_info + + # Name of this contact. + # Corresponds to the JSON property `contactName` + # @return [String] + attr_accessor :contact_name + + # Title of this contact. + # Corresponds to the JSON property `contactTitle` + # @return [String] + attr_accessor :contact_title + + # Type of this contact. + # Corresponds to the JSON property `contactType` + # @return [String] + attr_accessor :contact_type + + # ID of the user profile containing the signature that will be embedded into + # order documents. + # Corresponds to the JSON property `signatureUserProfileId` + # @return [String] + attr_accessor :signature_user_profile_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_info = args[:contact_info] if args.key?(:contact_info) + @contact_name = args[:contact_name] if args.key?(:contact_name) + @contact_title = args[:contact_title] if args.key?(:contact_title) + @contact_type = args[:contact_type] if args.key?(:contact_type) + @signature_user_profile_id = args[:signature_user_profile_id] if args.key?(:signature_user_profile_id) + end + end + + # Contains properties of a DoubleClick Planning order document. + class OrderDocument + include Google::Apis::Core::Hashable + + # Account ID of this order document. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this order document. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # The amended order document ID of this order document. An order document can be + # created by optionally amending another order document so that the change + # history can be preserved. + # Corresponds to the JSON property `amendedOrderDocumentId` + # @return [String] + attr_accessor :amended_order_document_id + + # IDs of users who have approved this order document. + # Corresponds to the JSON property `approvedByUserProfileIds` + # @return [Array] + attr_accessor :approved_by_user_profile_ids + + # Whether this order document is cancelled. + # Corresponds to the JSON property `cancelled` + # @return [Boolean] + attr_accessor :cancelled + alias_method :cancelled?, :cancelled + + # Modification timestamp. + # Corresponds to the JSON property `createdInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :created_info + + # Effective date of this order document. + # Corresponds to the JSON property `effectiveDate` + # @return [Date] + attr_accessor :effective_date + + # ID of this order document. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#orderDocument". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # List of email addresses that received the last sent document. + # Corresponds to the JSON property `lastSentRecipients` + # @return [Array] + attr_accessor :last_sent_recipients + + # Timestamp of the last email sent with this order document. + # Corresponds to the JSON property `lastSentTime` + # @return [DateTime] + attr_accessor :last_sent_time + + # ID of the order from which this order document is created. + # Corresponds to the JSON property `orderId` + # @return [String] + attr_accessor :order_id + + # Project ID of this order document. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # Whether this order document has been signed. + # Corresponds to the JSON property `signed` + # @return [Boolean] + attr_accessor :signed + alias_method :signed?, :signed + + # Subaccount ID of this order document. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Title of this order document. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # Type of this order document + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @amended_order_document_id = args[:amended_order_document_id] if args.key?(:amended_order_document_id) + @approved_by_user_profile_ids = args[:approved_by_user_profile_ids] if args.key?(:approved_by_user_profile_ids) + @cancelled = args[:cancelled] if args.key?(:cancelled) + @created_info = args[:created_info] if args.key?(:created_info) + @effective_date = args[:effective_date] if args.key?(:effective_date) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_sent_recipients = args[:last_sent_recipients] if args.key?(:last_sent_recipients) + @last_sent_time = args[:last_sent_time] if args.key?(:last_sent_time) + @order_id = args[:order_id] if args.key?(:order_id) + @project_id = args[:project_id] if args.key?(:project_id) + @signed = args[:signed] if args.key?(:signed) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @title = args[:title] if args.key?(:title) + @type = args[:type] if args.key?(:type) + end + end + + # Order document List Response + class OrderDocumentsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#orderDocumentsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Order document collection + # Corresponds to the JSON property `orderDocuments` + # @return [Array] + attr_accessor :order_documents + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @order_documents = args[:order_documents] if args.key?(:order_documents) + end + end + + # Order List Response + class OrdersListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#ordersListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Order collection. + # Corresponds to the JSON property `orders` + # @return [Array] + attr_accessor :orders + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @orders = args[:orders] if args.key?(:orders) + end + end + + # Represents fields that are compatible to be selected for a report of type " + # PATH_TO_CONVERSION". + class PathToConversionReportCompatibleFields + include Google::Apis::Core::Hashable + + # Conversion dimensions which are compatible to be selected in the " + # conversionDimensions" section of the report. + # Corresponds to the JSON property `conversionDimensions` + # @return [Array] + attr_accessor :conversion_dimensions + + # Custom floodlight variables which are compatible to be selected in the " + # customFloodlightVariables" section of the report. + # Corresponds to the JSON property `customFloodlightVariables` + # @return [Array] + attr_accessor :custom_floodlight_variables + + # The kind of resource this is, in this case dfareporting# + # pathToConversionReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Per-interaction dimensions which are compatible to be selected in the " + # perInteractionDimensions" section of the report. + # Corresponds to the JSON property `perInteractionDimensions` + # @return [Array] + attr_accessor :per_interaction_dimensions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversion_dimensions = args[:conversion_dimensions] if args.key?(:conversion_dimensions) + @custom_floodlight_variables = args[:custom_floodlight_variables] if args.key?(:custom_floodlight_variables) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + @per_interaction_dimensions = args[:per_interaction_dimensions] if args.key?(:per_interaction_dimensions) + end + end + + # Contains properties of a placement. + class Placement + include Google::Apis::Core::Hashable + + # Account ID of this placement. This field can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this placement. This field can be left blank. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Whether this placement is archived. + # Corresponds to the JSON property `archived` + # @return [Boolean] + attr_accessor :archived + alias_method :archived?, :archived + + # Campaign ID of this placement. This field is a required field on insertion. + # Corresponds to the JSON property `campaignId` + # @return [String] + attr_accessor :campaign_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `campaignIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :campaign_id_dimension_value + + # Comments for this placement. + # Corresponds to the JSON property `comment` + # @return [String] + attr_accessor :comment + + # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering + # on desktop, on mobile devices or in mobile apps for regular or interstitial + # ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new + # placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. + # IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the + # VAST standard. This field is required on insertion. + # Corresponds to the JSON property `compatibility` + # @return [String] + attr_accessor :compatibility + + # ID of the content category assigned to this placement. + # Corresponds to the JSON property `contentCategoryId` + # @return [String] + attr_accessor :content_category_id + + # Modification timestamp. + # Corresponds to the JSON property `createInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :create_info + + # Directory site ID of this placement. On insert, you must set either this field + # or the siteId field to specify the site associated with this placement. This + # is a required field that is read-only after insertion. + # Corresponds to the JSON property `directorySiteId` + # @return [String] + attr_accessor :directory_site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `directorySiteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :directory_site_id_dimension_value + + # External ID for this placement. + # Corresponds to the JSON property `externalId` + # @return [String] + attr_accessor :external_id + + # ID of this placement. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Key name of this placement. This is a read-only, auto-generated field. + # Corresponds to the JSON property `keyName` + # @return [String] + attr_accessor :key_name + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placement". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Lookback configuration settings. + # Corresponds to the JSON property `lookbackConfiguration` + # @return [Google::Apis::DfareportingV2_7::LookbackConfiguration] + attr_accessor :lookback_configuration + + # Name of this placement.This is a required field and must be less than 256 + # characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether payment was approved for this placement. This is a read-only field + # relevant only to publisher-paid placements. + # Corresponds to the JSON property `paymentApproved` + # @return [Boolean] + attr_accessor :payment_approved + alias_method :payment_approved?, :payment_approved + + # Payment source for this placement. This is a required field that is read-only + # after insertion. + # Corresponds to the JSON property `paymentSource` + # @return [String] + attr_accessor :payment_source + + # ID of this placement's group, if applicable. + # Corresponds to the JSON property `placementGroupId` + # @return [String] + attr_accessor :placement_group_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `placementGroupIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :placement_group_id_dimension_value + + # ID of the placement strategy assigned to this placement. + # Corresponds to the JSON property `placementStrategyId` + # @return [String] + attr_accessor :placement_strategy_id + + # Pricing Schedule + # Corresponds to the JSON property `pricingSchedule` + # @return [Google::Apis::DfareportingV2_7::PricingSchedule] + attr_accessor :pricing_schedule + + # Whether this placement is the primary placement of a roadblock (placement + # group). You cannot change this field from true to false. Setting this field to + # true will automatically set the primary field on the original primary + # placement of the roadblock to false, and it will automatically set the + # roadblock's primaryPlacementId field to the ID of this placement. + # Corresponds to the JSON property `primary` + # @return [Boolean] + attr_accessor :primary + alias_method :primary?, :primary + + # Modification timestamp. + # Corresponds to the JSON property `publisherUpdateInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :publisher_update_info + + # Site ID associated with this placement. On insert, you must set either this + # field or the directorySiteId field to specify the site associated with this + # placement. This is a required field that is read-only after insertion. + # Corresponds to the JSON property `siteId` + # @return [String] + attr_accessor :site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `siteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :site_id_dimension_value + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `size` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :size + + # Whether creatives assigned to this placement must be SSL-compliant. + # Corresponds to the JSON property `sslRequired` + # @return [Boolean] + attr_accessor :ssl_required + alias_method :ssl_required?, :ssl_required + + # Third-party placement status. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Subaccount ID of this placement. This field can be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Tag formats to generate for this placement. This field is required on + # insertion. + # Acceptable values are: + # - "PLACEMENT_TAG_STANDARD" + # - "PLACEMENT_TAG_IFRAME_JAVASCRIPT" + # - "PLACEMENT_TAG_IFRAME_ILAYER" + # - "PLACEMENT_TAG_INTERNAL_REDIRECT" + # - "PLACEMENT_TAG_JAVASCRIPT" + # - "PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT" + # - "PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT" + # - "PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT" + # - "PLACEMENT_TAG_CLICK_COMMANDS" + # - "PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH" + # - "PLACEMENT_TAG_TRACKING" + # - "PLACEMENT_TAG_TRACKING_IFRAME" + # - "PLACEMENT_TAG_TRACKING_JAVASCRIPT" + # Corresponds to the JSON property `tagFormats` + # @return [Array] + attr_accessor :tag_formats + + # Tag Settings + # Corresponds to the JSON property `tagSetting` + # @return [Google::Apis::DfareportingV2_7::TagSetting] + attr_accessor :tag_setting + + # Whether Verification and ActiveView are disabled for in-stream video creatives + # for this placement. The same setting videoActiveViewOptOut exists on the site + # level -- the opt out occurs if either of these settings are true. These + # settings are distinct from DirectorySites.settings.activeViewOptOut or Sites. + # siteSettings.activeViewOptOut which only apply to display ads. However, + # Accounts.activeViewOptOut opts out both video traffic, as well as display ads, + # from Verification and ActiveView. + # Corresponds to the JSON property `videoActiveViewOptOut` + # @return [Boolean] + attr_accessor :video_active_view_opt_out + alias_method :video_active_view_opt_out?, :video_active_view_opt_out + + # Video Settings + # Corresponds to the JSON property `videoSettings` + # @return [Google::Apis::DfareportingV2_7::VideoSettings] + attr_accessor :video_settings + + # VPAID adapter setting for this placement. Controls which VPAID format the + # measurement adapter will use for in-stream video creatives assigned to this + # placement. + # Corresponds to the JSON property `vpaidAdapterChoice` + # @return [String] + attr_accessor :vpaid_adapter_choice + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @archived = args[:archived] if args.key?(:archived) + @campaign_id = args[:campaign_id] if args.key?(:campaign_id) + @campaign_id_dimension_value = args[:campaign_id_dimension_value] if args.key?(:campaign_id_dimension_value) + @comment = args[:comment] if args.key?(:comment) + @compatibility = args[:compatibility] if args.key?(:compatibility) + @content_category_id = args[:content_category_id] if args.key?(:content_category_id) + @create_info = args[:create_info] if args.key?(:create_info) + @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id) + @directory_site_id_dimension_value = args[:directory_site_id_dimension_value] if args.key?(:directory_site_id_dimension_value) + @external_id = args[:external_id] if args.key?(:external_id) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @key_name = args[:key_name] if args.key?(:key_name) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration) + @name = args[:name] if args.key?(:name) + @payment_approved = args[:payment_approved] if args.key?(:payment_approved) + @payment_source = args[:payment_source] if args.key?(:payment_source) + @placement_group_id = args[:placement_group_id] if args.key?(:placement_group_id) + @placement_group_id_dimension_value = args[:placement_group_id_dimension_value] if args.key?(:placement_group_id_dimension_value) + @placement_strategy_id = args[:placement_strategy_id] if args.key?(:placement_strategy_id) + @pricing_schedule = args[:pricing_schedule] if args.key?(:pricing_schedule) + @primary = args[:primary] if args.key?(:primary) + @publisher_update_info = args[:publisher_update_info] if args.key?(:publisher_update_info) + @site_id = args[:site_id] if args.key?(:site_id) + @site_id_dimension_value = args[:site_id_dimension_value] if args.key?(:site_id_dimension_value) + @size = args[:size] if args.key?(:size) + @ssl_required = args[:ssl_required] if args.key?(:ssl_required) + @status = args[:status] if args.key?(:status) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @tag_formats = args[:tag_formats] if args.key?(:tag_formats) + @tag_setting = args[:tag_setting] if args.key?(:tag_setting) + @video_active_view_opt_out = args[:video_active_view_opt_out] if args.key?(:video_active_view_opt_out) + @video_settings = args[:video_settings] if args.key?(:video_settings) + @vpaid_adapter_choice = args[:vpaid_adapter_choice] if args.key?(:vpaid_adapter_choice) + end + end + + # Placement Assignment. + class PlacementAssignment + include Google::Apis::Core::Hashable + + # Whether this placement assignment is active. When true, the placement will be + # included in the ad's rotation. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # ID of the placement to be assigned. This is a required field. + # Corresponds to the JSON property `placementId` + # @return [String] + attr_accessor :placement_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `placementIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :placement_id_dimension_value + + # Whether the placement to be assigned requires SSL. This is a read-only field + # that is auto-generated when the ad is inserted or updated. + # Corresponds to the JSON property `sslRequired` + # @return [Boolean] + attr_accessor :ssl_required + alias_method :ssl_required?, :ssl_required + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active = args[:active] if args.key?(:active) + @placement_id = args[:placement_id] if args.key?(:placement_id) + @placement_id_dimension_value = args[:placement_id_dimension_value] if args.key?(:placement_id_dimension_value) + @ssl_required = args[:ssl_required] if args.key?(:ssl_required) + end + end + + # Contains properties of a package or roadblock. + class PlacementGroup + include Google::Apis::Core::Hashable + + # Account ID of this placement group. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this placement group. This is a required field on insertion. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Whether this placement group is archived. + # Corresponds to the JSON property `archived` + # @return [Boolean] + attr_accessor :archived + alias_method :archived?, :archived + + # Campaign ID of this placement group. This field is required on insertion. + # Corresponds to the JSON property `campaignId` + # @return [String] + attr_accessor :campaign_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `campaignIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :campaign_id_dimension_value + + # IDs of placements which are assigned to this placement group. This is a read- + # only, auto-generated field. + # Corresponds to the JSON property `childPlacementIds` + # @return [Array] + attr_accessor :child_placement_ids + + # Comments for this placement group. + # Corresponds to the JSON property `comment` + # @return [String] + attr_accessor :comment + + # ID of the content category assigned to this placement group. + # Corresponds to the JSON property `contentCategoryId` + # @return [String] + attr_accessor :content_category_id + + # Modification timestamp. + # Corresponds to the JSON property `createInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :create_info + + # Directory site ID associated with this placement group. On insert, you must + # set either this field or the site_id field to specify the site associated with + # this placement group. This is a required field that is read-only after + # insertion. + # Corresponds to the JSON property `directorySiteId` + # @return [String] + attr_accessor :directory_site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `directorySiteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :directory_site_id_dimension_value + + # External ID for this placement. + # Corresponds to the JSON property `externalId` + # @return [String] + attr_accessor :external_id + + # ID of this placement group. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Name of this placement group. This is a required field and must be less than + # 256 characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Type of this placement group. A package is a simple group of placements that + # acts as a single pricing point for a group of tags. A roadblock is a group of + # placements that not only acts as a single pricing point, but also assumes that + # all the tags in it will be served at the same time. A roadblock requires one + # of its assigned placements to be marked as primary for reporting. This field + # is required on insertion. + # Corresponds to the JSON property `placementGroupType` + # @return [String] + attr_accessor :placement_group_type + + # ID of the placement strategy assigned to this placement group. + # Corresponds to the JSON property `placementStrategyId` + # @return [String] + attr_accessor :placement_strategy_id + + # Pricing Schedule + # Corresponds to the JSON property `pricingSchedule` + # @return [Google::Apis::DfareportingV2_7::PricingSchedule] + attr_accessor :pricing_schedule + + # ID of the primary placement, used to calculate the media cost of a roadblock ( + # placement group). Modifying this field will automatically modify the primary + # field on all affected roadblock child placements. + # Corresponds to the JSON property `primaryPlacementId` + # @return [String] + attr_accessor :primary_placement_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `primaryPlacementIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :primary_placement_id_dimension_value + + # Site ID associated with this placement group. On insert, you must set either + # this field or the directorySiteId field to specify the site associated with + # this placement group. This is a required field that is read-only after + # insertion. + # Corresponds to the JSON property `siteId` + # @return [String] + attr_accessor :site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `siteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :site_id_dimension_value + + # Subaccount ID of this placement group. This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @archived = args[:archived] if args.key?(:archived) + @campaign_id = args[:campaign_id] if args.key?(:campaign_id) + @campaign_id_dimension_value = args[:campaign_id_dimension_value] if args.key?(:campaign_id_dimension_value) + @child_placement_ids = args[:child_placement_ids] if args.key?(:child_placement_ids) + @comment = args[:comment] if args.key?(:comment) + @content_category_id = args[:content_category_id] if args.key?(:content_category_id) + @create_info = args[:create_info] if args.key?(:create_info) + @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id) + @directory_site_id_dimension_value = args[:directory_site_id_dimension_value] if args.key?(:directory_site_id_dimension_value) + @external_id = args[:external_id] if args.key?(:external_id) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @name = args[:name] if args.key?(:name) + @placement_group_type = args[:placement_group_type] if args.key?(:placement_group_type) + @placement_strategy_id = args[:placement_strategy_id] if args.key?(:placement_strategy_id) + @pricing_schedule = args[:pricing_schedule] if args.key?(:pricing_schedule) + @primary_placement_id = args[:primary_placement_id] if args.key?(:primary_placement_id) + @primary_placement_id_dimension_value = args[:primary_placement_id_dimension_value] if args.key?(:primary_placement_id_dimension_value) + @site_id = args[:site_id] if args.key?(:site_id) + @site_id_dimension_value = args[:site_id_dimension_value] if args.key?(:site_id_dimension_value) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Placement Group List Response + class PlacementGroupsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Placement group collection. + # Corresponds to the JSON property `placementGroups` + # @return [Array] + attr_accessor :placement_groups + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @placement_groups = args[:placement_groups] if args.key?(:placement_groups) + end + end + + # Placement Strategy List Response + class PlacementStrategiesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementStrategiesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Placement strategy collection. + # Corresponds to the JSON property `placementStrategies` + # @return [Array] + attr_accessor :placement_strategies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @placement_strategies = args[:placement_strategies] if args.key?(:placement_strategies) + end + end + + # Contains properties of a placement strategy. + class PlacementStrategy + include Google::Apis::Core::Hashable + + # Account ID of this placement strategy.This is a read-only field that can be + # left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # ID of this placement strategy. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementStrategy". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this placement strategy. This is a required field. It must be less + # than 256 characters long and unique among placement strategies of the same + # account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Placement Tag + class PlacementTag + include Google::Apis::Core::Hashable + + # Placement ID + # Corresponds to the JSON property `placementId` + # @return [String] + attr_accessor :placement_id + + # Tags generated for this placement. + # Corresponds to the JSON property `tagDatas` + # @return [Array] + attr_accessor :tag_datas + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @placement_id = args[:placement_id] if args.key?(:placement_id) + @tag_datas = args[:tag_datas] if args.key?(:tag_datas) + end + end + + # Placement GenerateTags Response + class PlacementsGenerateTagsResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementsGenerateTagsResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Set of generated tags for the specified placements. + # Corresponds to the JSON property `placementTags` + # @return [Array] + attr_accessor :placement_tags + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @placement_tags = args[:placement_tags] if args.key?(:placement_tags) + end + end + + # Placement List Response + class PlacementsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#placementsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Placement collection. + # Corresponds to the JSON property `placements` + # @return [Array] + attr_accessor :placements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @placements = args[:placements] if args.key?(:placements) + end + end + + # Contains information about a platform type that can be targeted by ads. + class PlatformType + include Google::Apis::Core::Hashable + + # ID of this platform type. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#platformType". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this platform type. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Platform Type List Response + class PlatformTypesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#platformTypesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Platform type collection. + # Corresponds to the JSON property `platformTypes` + # @return [Array] + attr_accessor :platform_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @platform_types = args[:platform_types] if args.key?(:platform_types) + end + end + + # Popup Window Properties. + class PopupWindowProperties + include Google::Apis::Core::Hashable + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `dimension` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :dimension + + # Offset Position. + # Corresponds to the JSON property `offset` + # @return [Google::Apis::DfareportingV2_7::OffsetPosition] + attr_accessor :offset + + # Popup window position either centered or at specific coordinate. + # Corresponds to the JSON property `positionType` + # @return [String] + attr_accessor :position_type + + # Whether to display the browser address bar. + # Corresponds to the JSON property `showAddressBar` + # @return [Boolean] + attr_accessor :show_address_bar + alias_method :show_address_bar?, :show_address_bar + + # Whether to display the browser menu bar. + # Corresponds to the JSON property `showMenuBar` + # @return [Boolean] + attr_accessor :show_menu_bar + alias_method :show_menu_bar?, :show_menu_bar + + # Whether to display the browser scroll bar. + # Corresponds to the JSON property `showScrollBar` + # @return [Boolean] + attr_accessor :show_scroll_bar + alias_method :show_scroll_bar?, :show_scroll_bar + + # Whether to display the browser status bar. + # Corresponds to the JSON property `showStatusBar` + # @return [Boolean] + attr_accessor :show_status_bar + alias_method :show_status_bar?, :show_status_bar + + # Whether to display the browser tool bar. + # Corresponds to the JSON property `showToolBar` + # @return [Boolean] + attr_accessor :show_tool_bar + alias_method :show_tool_bar?, :show_tool_bar + + # Title of popup window. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension = args[:dimension] if args.key?(:dimension) + @offset = args[:offset] if args.key?(:offset) + @position_type = args[:position_type] if args.key?(:position_type) + @show_address_bar = args[:show_address_bar] if args.key?(:show_address_bar) + @show_menu_bar = args[:show_menu_bar] if args.key?(:show_menu_bar) + @show_scroll_bar = args[:show_scroll_bar] if args.key?(:show_scroll_bar) + @show_status_bar = args[:show_status_bar] if args.key?(:show_status_bar) + @show_tool_bar = args[:show_tool_bar] if args.key?(:show_tool_bar) + @title = args[:title] if args.key?(:title) + end + end + + # Contains information about a postal code that can be targeted by ads. + class PostalCode + include Google::Apis::Core::Hashable + + # Postal code. This is equivalent to the id field. + # Corresponds to the JSON property `code` + # @return [String] + attr_accessor :code + + # Country code of the country to which this postal code belongs. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of the country to which this postal code belongs. + # Corresponds to the JSON property `countryDartId` + # @return [String] + attr_accessor :country_dart_id + + # ID of this postal code. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#postalCode". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @code = args[:code] if args.key?(:code) + @country_code = args[:country_code] if args.key?(:country_code) + @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Postal Code List Response + class PostalCodesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#postalCodesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Postal code collection. + # Corresponds to the JSON property `postalCodes` + # @return [Array] + attr_accessor :postal_codes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @postal_codes = args[:postal_codes] if args.key?(:postal_codes) + end + end + + # Pricing Information + class Pricing + include Google::Apis::Core::Hashable + + # Cap cost type of this inventory item. + # Corresponds to the JSON property `capCostType` + # @return [String] + attr_accessor :cap_cost_type + + # End date of this inventory item. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # Flights of this inventory item. A flight (a.k.a. pricing period) represents + # the inventory item pricing information for a specific period of time. + # Corresponds to the JSON property `flights` + # @return [Array] + attr_accessor :flights + + # Group type of this inventory item if it represents a placement group. Is null + # otherwise. There are two type of placement groups: + # PLANNING_PLACEMENT_GROUP_TYPE_PACKAGE is a simple group of inventory items + # that acts as a single pricing point for a group of tags. + # PLANNING_PLACEMENT_GROUP_TYPE_ROADBLOCK is a group of inventory items that not + # only acts as a single pricing point, but also assumes that all the tags in it + # will be served at the same time. A roadblock requires one of its assigned + # inventory items to be marked as primary. + # Corresponds to the JSON property `groupType` + # @return [String] + attr_accessor :group_type + + # Pricing type of this inventory item. + # Corresponds to the JSON property `pricingType` + # @return [String] + attr_accessor :pricing_type + + # Start date of this inventory item. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cap_cost_type = args[:cap_cost_type] if args.key?(:cap_cost_type) + @end_date = args[:end_date] if args.key?(:end_date) + @flights = args[:flights] if args.key?(:flights) + @group_type = args[:group_type] if args.key?(:group_type) + @pricing_type = args[:pricing_type] if args.key?(:pricing_type) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + + # Pricing Schedule + class PricingSchedule + include Google::Apis::Core::Hashable + + # Placement cap cost option. + # Corresponds to the JSON property `capCostOption` + # @return [String] + attr_accessor :cap_cost_option + + # Whether cap costs are ignored by ad serving. + # Corresponds to the JSON property `disregardOverdelivery` + # @return [Boolean] + attr_accessor :disregard_overdelivery + alias_method :disregard_overdelivery?, :disregard_overdelivery + + # Placement end date. This date must be later than, or the same day as, the + # placement start date, but not later than the campaign end date. If, for + # example, you set 6/25/2015 as both the start and end dates, the effective + # placement date is just that day only, 6/25/2015. The hours, minutes, and + # seconds of the end date should not be set, as doing so will result in an error. + # This field is required on insertion. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # Whether this placement is flighted. If true, pricing periods will be computed + # automatically. + # Corresponds to the JSON property `flighted` + # @return [Boolean] + attr_accessor :flighted + alias_method :flighted?, :flighted + + # Floodlight activity ID associated with this placement. This field should be + # set when placement pricing type is set to PRICING_TYPE_CPA. + # Corresponds to the JSON property `floodlightActivityId` + # @return [String] + attr_accessor :floodlight_activity_id + + # Pricing periods for this placement. + # Corresponds to the JSON property `pricingPeriods` + # @return [Array] + attr_accessor :pricing_periods + + # Placement pricing type. This field is required on insertion. + # Corresponds to the JSON property `pricingType` + # @return [String] + attr_accessor :pricing_type + + # Placement start date. This date must be later than, or the same day as, the + # campaign start date. The hours, minutes, and seconds of the start date should + # not be set, as doing so will result in an error. This field is required on + # insertion. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + # Testing start date of this placement. The hours, minutes, and seconds of the + # start date should not be set, as doing so will result in an error. + # Corresponds to the JSON property `testingStartDate` + # @return [Date] + attr_accessor :testing_start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cap_cost_option = args[:cap_cost_option] if args.key?(:cap_cost_option) + @disregard_overdelivery = args[:disregard_overdelivery] if args.key?(:disregard_overdelivery) + @end_date = args[:end_date] if args.key?(:end_date) + @flighted = args[:flighted] if args.key?(:flighted) + @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id) + @pricing_periods = args[:pricing_periods] if args.key?(:pricing_periods) + @pricing_type = args[:pricing_type] if args.key?(:pricing_type) + @start_date = args[:start_date] if args.key?(:start_date) + @testing_start_date = args[:testing_start_date] if args.key?(:testing_start_date) + end + end + + # Pricing Period + class PricingSchedulePricingPeriod + include Google::Apis::Core::Hashable + + # Pricing period end date. This date must be later than, or the same day as, the + # pricing period start date, but not later than the placement end date. The + # period end date can be the same date as the period start date. If, for example, + # you set 6/25/2015 as both the start and end dates, the effective pricing + # period date is just that day only, 6/25/2015. The hours, minutes, and seconds + # of the end date should not be set, as doing so will result in an error. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # Comments for this pricing period. + # Corresponds to the JSON property `pricingComment` + # @return [String] + attr_accessor :pricing_comment + + # Rate or cost of this pricing period. + # Corresponds to the JSON property `rateOrCostNanos` + # @return [String] + attr_accessor :rate_or_cost_nanos + + # Pricing period start date. This date must be later than, or the same day as, + # the placement start date. The hours, minutes, and seconds of the start date + # should not be set, as doing so will result in an error. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + # Units of this pricing period. + # Corresponds to the JSON property `units` + # @return [String] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_date = args[:end_date] if args.key?(:end_date) + @pricing_comment = args[:pricing_comment] if args.key?(:pricing_comment) + @rate_or_cost_nanos = args[:rate_or_cost_nanos] if args.key?(:rate_or_cost_nanos) + @start_date = args[:start_date] if args.key?(:start_date) + @units = args[:units] if args.key?(:units) + end + end + + # Contains properties of a DoubleClick Planning project. + class Project + include Google::Apis::Core::Hashable + + # Account ID of this project. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this project. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Audience age group of this project. + # Corresponds to the JSON property `audienceAgeGroup` + # @return [String] + attr_accessor :audience_age_group + + # Audience gender of this project. + # Corresponds to the JSON property `audienceGender` + # @return [String] + attr_accessor :audience_gender + + # Budget of this project in the currency specified by the current account. The + # value stored in this field represents only the non-fractional amount. For + # example, for USD, the smallest value that can be represented by this field is + # 1 US dollar. + # Corresponds to the JSON property `budget` + # @return [String] + attr_accessor :budget + + # Client billing code of this project. + # Corresponds to the JSON property `clientBillingCode` + # @return [String] + attr_accessor :client_billing_code + + # Name of the project client. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # End date of the project. + # Corresponds to the JSON property `endDate` + # @return [Date] + attr_accessor :end_date + + # ID of this project. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#project". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Modification timestamp. + # Corresponds to the JSON property `lastModifiedInfo` + # @return [Google::Apis::DfareportingV2_7::LastModifiedInfo] + attr_accessor :last_modified_info + + # Name of this project. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Overview of this project. + # Corresponds to the JSON property `overview` + # @return [String] + attr_accessor :overview + + # Start date of the project. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + # Subaccount ID of this project. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Number of clicks that the advertiser is targeting. + # Corresponds to the JSON property `targetClicks` + # @return [String] + attr_accessor :target_clicks + + # Number of conversions that the advertiser is targeting. + # Corresponds to the JSON property `targetConversions` + # @return [String] + attr_accessor :target_conversions + + # CPA that the advertiser is targeting. + # Corresponds to the JSON property `targetCpaNanos` + # @return [String] + attr_accessor :target_cpa_nanos + + # CPC that the advertiser is targeting. + # Corresponds to the JSON property `targetCpcNanos` + # @return [String] + attr_accessor :target_cpc_nanos + + # vCPM from Active View that the advertiser is targeting. + # Corresponds to the JSON property `targetCpmActiveViewNanos` + # @return [String] + attr_accessor :target_cpm_active_view_nanos + + # CPM that the advertiser is targeting. + # Corresponds to the JSON property `targetCpmNanos` + # @return [String] + attr_accessor :target_cpm_nanos + + # Number of impressions that the advertiser is targeting. + # Corresponds to the JSON property `targetImpressions` + # @return [String] + attr_accessor :target_impressions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @audience_age_group = args[:audience_age_group] if args.key?(:audience_age_group) + @audience_gender = args[:audience_gender] if args.key?(:audience_gender) + @budget = args[:budget] if args.key?(:budget) + @client_billing_code = args[:client_billing_code] if args.key?(:client_billing_code) + @client_name = args[:client_name] if args.key?(:client_name) + @end_date = args[:end_date] if args.key?(:end_date) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) + @name = args[:name] if args.key?(:name) + @overview = args[:overview] if args.key?(:overview) + @start_date = args[:start_date] if args.key?(:start_date) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @target_clicks = args[:target_clicks] if args.key?(:target_clicks) + @target_conversions = args[:target_conversions] if args.key?(:target_conversions) + @target_cpa_nanos = args[:target_cpa_nanos] if args.key?(:target_cpa_nanos) + @target_cpc_nanos = args[:target_cpc_nanos] if args.key?(:target_cpc_nanos) + @target_cpm_active_view_nanos = args[:target_cpm_active_view_nanos] if args.key?(:target_cpm_active_view_nanos) + @target_cpm_nanos = args[:target_cpm_nanos] if args.key?(:target_cpm_nanos) + @target_impressions = args[:target_impressions] if args.key?(:target_impressions) + end + end + + # Project List Response + class ProjectsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#projectsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Project collection. + # Corresponds to the JSON property `projects` + # @return [Array] + attr_accessor :projects + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @projects = args[:projects] if args.key?(:projects) + end + end + + # Represents fields that are compatible to be selected for a report of type " + # REACH". + class ReachReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "dimensionFilters" + # section of the report. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # Dimensions which are compatible to be selected in the "dimensions" section of + # the report. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The kind of resource this is, in this case dfareporting# + # reachReportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Metrics which are compatible to be selected as activity metrics to pivot on in + # the "activities" section of the report. + # Corresponds to the JSON property `pivotedActivityMetrics` + # @return [Array] + attr_accessor :pivoted_activity_metrics + + # Metrics which are compatible to be selected in the " + # reachByFrequencyMetricNames" section of the report. + # Corresponds to the JSON property `reachByFrequencyMetrics` + # @return [Array] + attr_accessor :reach_by_frequency_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + @pivoted_activity_metrics = args[:pivoted_activity_metrics] if args.key?(:pivoted_activity_metrics) + @reach_by_frequency_metrics = args[:reach_by_frequency_metrics] if args.key?(:reach_by_frequency_metrics) + end + end + + # Represents a recipient. + class Recipient + include Google::Apis::Core::Hashable + + # The delivery type for the recipient. + # Corresponds to the JSON property `deliveryType` + # @return [String] + attr_accessor :delivery_type + + # The email address of the recipient. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The kind of resource this is, in this case dfareporting#recipient. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delivery_type = args[:delivery_type] if args.key?(:delivery_type) + @email = args[:email] if args.key?(:email) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains information about a region that can be targeted by ads. + class Region + include Google::Apis::Core::Hashable + + # Country code of the country to which this region belongs. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # DART ID of the country to which this region belongs. + # Corresponds to the JSON property `countryDartId` + # @return [String] + attr_accessor :country_dart_id + + # DART ID of this region. + # Corresponds to the JSON property `dartId` + # @return [String] + attr_accessor :dart_id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#region". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this region. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Region code. + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) + @dart_id = args[:dart_id] if args.key?(:dart_id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @region_code = args[:region_code] if args.key?(:region_code) + end + end + + # Region List Response + class RegionsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#regionsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Region collection. + # Corresponds to the JSON property `regions` + # @return [Array] + attr_accessor :regions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @regions = args[:regions] if args.key?(:regions) + end + end + + # Contains properties of a remarketing list. Remarketing enables you to create + # lists of users who have performed specific actions on a site, then target ads + # to members of those lists. This resource can be used to manage remarketing + # lists that are owned by your advertisers. To see all remarketing lists that + # are visible to your advertisers, including those that are shared to your + # advertiser or account, use the TargetableRemarketingLists resource. + class RemarketingList + include Google::Apis::Core::Hashable + + # Account ID of this remarketing list. This is a read-only, auto-generated field + # that is only returned in GET requests. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this remarketing list is active. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Dimension value for the advertiser ID that owns this remarketing list. This is + # a required field. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Remarketing list description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Remarketing list ID. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#remarketingList". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Number of days that a user should remain in the remarketing list without an + # impression. + # Corresponds to the JSON property `lifeSpan` + # @return [String] + attr_accessor :life_span + + # Remarketing List Population Rule. + # Corresponds to the JSON property `listPopulationRule` + # @return [Google::Apis::DfareportingV2_7::ListPopulationRule] + attr_accessor :list_population_rule + + # Number of users currently in the list. This is a read-only field. + # Corresponds to the JSON property `listSize` + # @return [String] + attr_accessor :list_size + + # Product from which this remarketing list was originated. + # Corresponds to the JSON property `listSource` + # @return [String] + attr_accessor :list_source + + # Name of the remarketing list. This is a required field. Must be no greater + # than 128 characters long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this remarketing list. This is a read-only, auto-generated + # field that is only returned in GET requests. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active = args[:active] if args.key?(:active) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @life_span = args[:life_span] if args.key?(:life_span) + @list_population_rule = args[:list_population_rule] if args.key?(:list_population_rule) + @list_size = args[:list_size] if args.key?(:list_size) + @list_source = args[:list_source] if args.key?(:list_source) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Contains properties of a remarketing list's sharing information. Sharing + # allows other accounts or advertisers to target to your remarketing lists. This + # resource can be used to manage remarketing list sharing to other accounts and + # advertisers. + class RemarketingListShare + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#remarketingListShare". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Remarketing list ID. This is a read-only, auto-generated field. + # Corresponds to the JSON property `remarketingListId` + # @return [String] + attr_accessor :remarketing_list_id + + # Accounts that the remarketing list is shared with. + # Corresponds to the JSON property `sharedAccountIds` + # @return [Array] + attr_accessor :shared_account_ids + + # Advertisers that the remarketing list is shared with. + # Corresponds to the JSON property `sharedAdvertiserIds` + # @return [Array] + attr_accessor :shared_advertiser_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @remarketing_list_id = args[:remarketing_list_id] if args.key?(:remarketing_list_id) + @shared_account_ids = args[:shared_account_ids] if args.key?(:shared_account_ids) + @shared_advertiser_ids = args[:shared_advertiser_ids] if args.key?(:shared_advertiser_ids) + end + end + + # Remarketing list response + class RemarketingListsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#remarketingListsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Remarketing list collection. + # Corresponds to the JSON property `remarketingLists` + # @return [Array] + attr_accessor :remarketing_lists + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @remarketing_lists = args[:remarketing_lists] if args.key?(:remarketing_lists) + end + end + + # Represents a Report resource. + class Report + include Google::Apis::Core::Hashable + + # The account ID to which this report belongs. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The report criteria for a report of type "STANDARD". + # Corresponds to the JSON property `criteria` + # @return [Google::Apis::DfareportingV2_7::Report::Criteria] + attr_accessor :criteria + + # The report criteria for a report of type "CROSS_DIMENSION_REACH". + # Corresponds to the JSON property `crossDimensionReachCriteria` + # @return [Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria] + attr_accessor :cross_dimension_reach_criteria + + # The report's email delivery settings. + # Corresponds to the JSON property `delivery` + # @return [Google::Apis::DfareportingV2_7::Report::Delivery] + attr_accessor :delivery + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The filename used when generating report files for this report. + # Corresponds to the JSON property `fileName` + # @return [String] + attr_accessor :file_name + + # The report criteria for a report of type "FLOODLIGHT". + # Corresponds to the JSON property `floodlightCriteria` + # @return [Google::Apis::DfareportingV2_7::Report::FloodlightCriteria] + attr_accessor :floodlight_criteria + + # The output format of the report. If not specified, default format is "CSV". + # Note that the actual format in the completed report file might differ if for + # instance the report's size exceeds the format's capabilities. "CSV" will then + # be the fallback format. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The unique ID identifying this report resource. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The kind of resource this is, in this case dfareporting#report. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The timestamp (in milliseconds since epoch) of when this report was last + # modified. + # Corresponds to the JSON property `lastModifiedTime` + # @return [String] + attr_accessor :last_modified_time + + # The name of the report. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The user profile id of the owner of this report. + # Corresponds to the JSON property `ownerProfileId` + # @return [String] + attr_accessor :owner_profile_id + + # The report criteria for a report of type "PATH_TO_CONVERSION". + # Corresponds to the JSON property `pathToConversionCriteria` + # @return [Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria] + attr_accessor :path_to_conversion_criteria + + # The report criteria for a report of type "REACH". + # Corresponds to the JSON property `reachCriteria` + # @return [Google::Apis::DfareportingV2_7::Report::ReachCriteria] + attr_accessor :reach_criteria + + # The report's schedule. Can only be set if the report's 'dateRange' is a + # relative date range and the relative date range is not "TODAY". + # Corresponds to the JSON property `schedule` + # @return [Google::Apis::DfareportingV2_7::Report::Schedule] + attr_accessor :schedule + + # The subaccount ID to which this report belongs if applicable. + # Corresponds to the JSON property `subAccountId` + # @return [String] + attr_accessor :sub_account_id + + # The type of the report. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @criteria = args[:criteria] if args.key?(:criteria) + @cross_dimension_reach_criteria = args[:cross_dimension_reach_criteria] if args.key?(:cross_dimension_reach_criteria) + @delivery = args[:delivery] if args.key?(:delivery) + @etag = args[:etag] if args.key?(:etag) + @file_name = args[:file_name] if args.key?(:file_name) + @floodlight_criteria = args[:floodlight_criteria] if args.key?(:floodlight_criteria) + @format = args[:format] if args.key?(:format) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) + @name = args[:name] if args.key?(:name) + @owner_profile_id = args[:owner_profile_id] if args.key?(:owner_profile_id) + @path_to_conversion_criteria = args[:path_to_conversion_criteria] if args.key?(:path_to_conversion_criteria) + @reach_criteria = args[:reach_criteria] if args.key?(:reach_criteria) + @schedule = args[:schedule] if args.key?(:schedule) + @sub_account_id = args[:sub_account_id] if args.key?(:sub_account_id) + @type = args[:type] if args.key?(:type) + end + + # The report criteria for a report of type "STANDARD". + class Criteria + include Google::Apis::Core::Hashable + + # Represents an activity group. + # Corresponds to the JSON property `activities` + # @return [Google::Apis::DfareportingV2_7::Activities] + attr_accessor :activities + + # Represents a Custom Rich Media Events group. + # Corresponds to the JSON property `customRichMediaEvents` + # @return [Google::Apis::DfareportingV2_7::CustomRichMediaEvents] + attr_accessor :custom_rich_media_events + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # The list of filters on which dimensions are filtered. + # Filters for different dimensions are ANDed, filters for the same dimension are + # grouped together and ORed. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # The list of standard dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activities = args[:activities] if args.key?(:activities) + @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events) + @date_range = args[:date_range] if args.key?(:date_range) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @metric_names = args[:metric_names] if args.key?(:metric_names) + end + end + + # The report criteria for a report of type "CROSS_DIMENSION_REACH". + class CrossDimensionReachCriteria + include Google::Apis::Core::Hashable + + # The list of dimensions the report should include. + # Corresponds to the JSON property `breakdown` + # @return [Array] + attr_accessor :breakdown + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # The dimension option. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension + + # The list of filters on which dimensions are filtered. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # The list of names of overlap metrics the report should include. + # Corresponds to the JSON property `overlapMetricNames` + # @return [Array] + attr_accessor :overlap_metric_names + + # Whether the report is pivoted or not. Defaults to true. + # Corresponds to the JSON property `pivoted` + # @return [Boolean] + attr_accessor :pivoted + alias_method :pivoted?, :pivoted + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @breakdown = args[:breakdown] if args.key?(:breakdown) + @date_range = args[:date_range] if args.key?(:date_range) + @dimension = args[:dimension] if args.key?(:dimension) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @overlap_metric_names = args[:overlap_metric_names] if args.key?(:overlap_metric_names) + @pivoted = args[:pivoted] if args.key?(:pivoted) + end + end + + # The report's email delivery settings. + class Delivery + include Google::Apis::Core::Hashable + + # Whether the report should be emailed to the report owner. + # Corresponds to the JSON property `emailOwner` + # @return [Boolean] + attr_accessor :email_owner + alias_method :email_owner?, :email_owner + + # The type of delivery for the owner to receive, if enabled. + # Corresponds to the JSON property `emailOwnerDeliveryType` + # @return [String] + attr_accessor :email_owner_delivery_type + + # The message to be sent with each email. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # The list of recipients to which to email the report. + # Corresponds to the JSON property `recipients` + # @return [Array] + attr_accessor :recipients + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email_owner = args[:email_owner] if args.key?(:email_owner) + @email_owner_delivery_type = args[:email_owner_delivery_type] if args.key?(:email_owner_delivery_type) + @message = args[:message] if args.key?(:message) + @recipients = args[:recipients] if args.key?(:recipients) + end + end + + # The report criteria for a report of type "FLOODLIGHT". + class FloodlightCriteria + include Google::Apis::Core::Hashable + + # The list of custom rich media events to include. + # Corresponds to the JSON property `customRichMediaEvents` + # @return [Array] + attr_accessor :custom_rich_media_events + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # The list of filters on which dimensions are filtered. + # Filters for different dimensions are ANDed, filters for the same dimension are + # grouped together and ORed. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # The list of dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigId` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_config_id + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # The properties of the report. + # Corresponds to the JSON property `reportProperties` + # @return [Google::Apis::DfareportingV2_7::Report::FloodlightCriteria::ReportProperties] + attr_accessor :report_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events) + @date_range = args[:date_range] if args.key?(:date_range) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @report_properties = args[:report_properties] if args.key?(:report_properties) + end + + # The properties of the report. + class ReportProperties + include Google::Apis::Core::Hashable + + # Include conversions that have no cookie, but do have an exposure path. + # Corresponds to the JSON property `includeAttributedIPConversions` + # @return [Boolean] + attr_accessor :include_attributed_ip_conversions + alias_method :include_attributed_ip_conversions?, :include_attributed_ip_conversions + + # Include conversions of users with a DoubleClick cookie but without an exposure. + # That means the user did not click or see an ad from the advertiser within the + # Floodlight group, or that the interaction happened outside the lookback window. + # Corresponds to the JSON property `includeUnattributedCookieConversions` + # @return [Boolean] + attr_accessor :include_unattributed_cookie_conversions + alias_method :include_unattributed_cookie_conversions?, :include_unattributed_cookie_conversions + + # Include conversions that have no associated cookies and no exposures. It’s + # therefore impossible to know how the user was exposed to your ads during the + # lookback window prior to a conversion. + # Corresponds to the JSON property `includeUnattributedIPConversions` + # @return [Boolean] + attr_accessor :include_unattributed_ip_conversions + alias_method :include_unattributed_ip_conversions?, :include_unattributed_ip_conversions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @include_attributed_ip_conversions = args[:include_attributed_ip_conversions] if args.key?(:include_attributed_ip_conversions) + @include_unattributed_cookie_conversions = args[:include_unattributed_cookie_conversions] if args.key?(:include_unattributed_cookie_conversions) + @include_unattributed_ip_conversions = args[:include_unattributed_ip_conversions] if args.key?(:include_unattributed_ip_conversions) + end + end + end + + # The report criteria for a report of type "PATH_TO_CONVERSION". + class PathToConversionCriteria + include Google::Apis::Core::Hashable + + # The list of 'dfa:activity' values to filter on. + # Corresponds to the JSON property `activityFilters` + # @return [Array] + attr_accessor :activity_filters + + # The list of conversion dimensions the report should include. + # Corresponds to the JSON property `conversionDimensions` + # @return [Array] + attr_accessor :conversion_dimensions + + # The list of custom floodlight variables the report should include. + # Corresponds to the JSON property `customFloodlightVariables` + # @return [Array] + attr_accessor :custom_floodlight_variables + + # The list of custom rich media events to include. + # Corresponds to the JSON property `customRichMediaEvents` + # @return [Array] + attr_accessor :custom_rich_media_events + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `floodlightConfigId` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :floodlight_config_id + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # The list of per interaction dimensions the report should include. + # Corresponds to the JSON property `perInteractionDimensions` + # @return [Array] + attr_accessor :per_interaction_dimensions + + # The properties of the report. + # Corresponds to the JSON property `reportProperties` + # @return [Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria::ReportProperties] + attr_accessor :report_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activity_filters = args[:activity_filters] if args.key?(:activity_filters) + @conversion_dimensions = args[:conversion_dimensions] if args.key?(:conversion_dimensions) + @custom_floodlight_variables = args[:custom_floodlight_variables] if args.key?(:custom_floodlight_variables) + @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events) + @date_range = args[:date_range] if args.key?(:date_range) + @floodlight_config_id = args[:floodlight_config_id] if args.key?(:floodlight_config_id) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @per_interaction_dimensions = args[:per_interaction_dimensions] if args.key?(:per_interaction_dimensions) + @report_properties = args[:report_properties] if args.key?(:report_properties) + end + + # The properties of the report. + class ReportProperties + include Google::Apis::Core::Hashable + + # DFA checks to see if a click interaction occurred within the specified period + # of time before a conversion. By default the value is pulled from Floodlight or + # you can manually enter a custom value. Valid values: 1-90. + # Corresponds to the JSON property `clicksLookbackWindow` + # @return [Fixnum] + attr_accessor :clicks_lookback_window + + # DFA checks to see if an impression interaction occurred within the specified + # period of time before a conversion. By default the value is pulled from + # Floodlight or you can manually enter a custom value. Valid values: 1-90. + # Corresponds to the JSON property `impressionsLookbackWindow` + # @return [Fixnum] + attr_accessor :impressions_lookback_window + + # Deprecated: has no effect. + # Corresponds to the JSON property `includeAttributedIPConversions` + # @return [Boolean] + attr_accessor :include_attributed_ip_conversions + alias_method :include_attributed_ip_conversions?, :include_attributed_ip_conversions + + # Include conversions of users with a DoubleClick cookie but without an exposure. + # That means the user did not click or see an ad from the advertiser within the + # Floodlight group, or that the interaction happened outside the lookback window. + # Corresponds to the JSON property `includeUnattributedCookieConversions` + # @return [Boolean] + attr_accessor :include_unattributed_cookie_conversions + alias_method :include_unattributed_cookie_conversions?, :include_unattributed_cookie_conversions + + # Include conversions that have no associated cookies and no exposures. It’s + # therefore impossible to know how the user was exposed to your ads during the + # lookback window prior to a conversion. + # Corresponds to the JSON property `includeUnattributedIPConversions` + # @return [Boolean] + attr_accessor :include_unattributed_ip_conversions + alias_method :include_unattributed_ip_conversions?, :include_unattributed_ip_conversions + + # The maximum number of click interactions to include in the report. Advertisers + # currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). + # If another advertiser in your network is paying for E2C, you can have up to 5 + # total exposures per report. + # Corresponds to the JSON property `maximumClickInteractions` + # @return [Fixnum] + attr_accessor :maximum_click_interactions + + # The maximum number of click interactions to include in the report. Advertisers + # currently paying for E2C reports get up to 200 (100 clicks, 100 impressions). + # If another advertiser in your network is paying for E2C, you can have up to 5 + # total exposures per report. + # Corresponds to the JSON property `maximumImpressionInteractions` + # @return [Fixnum] + attr_accessor :maximum_impression_interactions + + # The maximum amount of time that can take place between interactions (clicks or + # impressions) by the same user. Valid values: 1-90. + # Corresponds to the JSON property `maximumInteractionGap` + # @return [Fixnum] + attr_accessor :maximum_interaction_gap + + # Enable pivoting on interaction path. + # Corresponds to the JSON property `pivotOnInteractionPath` + # @return [Boolean] + attr_accessor :pivot_on_interaction_path + alias_method :pivot_on_interaction_path?, :pivot_on_interaction_path + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @clicks_lookback_window = args[:clicks_lookback_window] if args.key?(:clicks_lookback_window) + @impressions_lookback_window = args[:impressions_lookback_window] if args.key?(:impressions_lookback_window) + @include_attributed_ip_conversions = args[:include_attributed_ip_conversions] if args.key?(:include_attributed_ip_conversions) + @include_unattributed_cookie_conversions = args[:include_unattributed_cookie_conversions] if args.key?(:include_unattributed_cookie_conversions) + @include_unattributed_ip_conversions = args[:include_unattributed_ip_conversions] if args.key?(:include_unattributed_ip_conversions) + @maximum_click_interactions = args[:maximum_click_interactions] if args.key?(:maximum_click_interactions) + @maximum_impression_interactions = args[:maximum_impression_interactions] if args.key?(:maximum_impression_interactions) + @maximum_interaction_gap = args[:maximum_interaction_gap] if args.key?(:maximum_interaction_gap) + @pivot_on_interaction_path = args[:pivot_on_interaction_path] if args.key?(:pivot_on_interaction_path) + end + end + end + + # The report criteria for a report of type "REACH". + class ReachCriteria + include Google::Apis::Core::Hashable + + # Represents an activity group. + # Corresponds to the JSON property `activities` + # @return [Google::Apis::DfareportingV2_7::Activities] + attr_accessor :activities + + # Represents a Custom Rich Media Events group. + # Corresponds to the JSON property `customRichMediaEvents` + # @return [Google::Apis::DfareportingV2_7::CustomRichMediaEvents] + attr_accessor :custom_rich_media_events + + # Represents a date range. + # Corresponds to the JSON property `dateRange` + # @return [Google::Apis::DfareportingV2_7::DateRange] + attr_accessor :date_range + + # The list of filters on which dimensions are filtered. + # Filters for different dimensions are ANDed, filters for the same dimension are + # grouped together and ORed. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # The list of dimensions the report should include. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # Whether to enable all reach dimension combinations in the report. Defaults to + # false. If enabled, the date range of the report should be within the last + # three months. + # Corresponds to the JSON property `enableAllDimensionCombinations` + # @return [Boolean] + attr_accessor :enable_all_dimension_combinations + alias_method :enable_all_dimension_combinations?, :enable_all_dimension_combinations + + # The list of names of metrics the report should include. + # Corresponds to the JSON property `metricNames` + # @return [Array] + attr_accessor :metric_names + + # The list of names of Reach By Frequency metrics the report should include. + # Corresponds to the JSON property `reachByFrequencyMetricNames` + # @return [Array] + attr_accessor :reach_by_frequency_metric_names + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @activities = args[:activities] if args.key?(:activities) + @custom_rich_media_events = args[:custom_rich_media_events] if args.key?(:custom_rich_media_events) + @date_range = args[:date_range] if args.key?(:date_range) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @enable_all_dimension_combinations = args[:enable_all_dimension_combinations] if args.key?(:enable_all_dimension_combinations) + @metric_names = args[:metric_names] if args.key?(:metric_names) + @reach_by_frequency_metric_names = args[:reach_by_frequency_metric_names] if args.key?(:reach_by_frequency_metric_names) + end + end + + # The report's schedule. Can only be set if the report's 'dateRange' is a + # relative date range and the relative date range is not "TODAY". + class Schedule + include Google::Apis::Core::Hashable + + # Whether the schedule is active or not. Must be set to either true or false. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Defines every how many days, weeks or months the report should be run. Needs + # to be set when "repeats" is either "DAILY", "WEEKLY" or "MONTHLY". + # Corresponds to the JSON property `every` + # @return [Fixnum] + attr_accessor :every + + # The expiration date when the scheduled report stops running. + # Corresponds to the JSON property `expirationDate` + # @return [Date] + attr_accessor :expiration_date + + # The interval for which the report is repeated. Note: + # - "DAILY" also requires field "every" to be set. + # - "WEEKLY" also requires fields "every" and "repeatsOnWeekDays" to be set. + # - "MONTHLY" also requires fields "every" and "runsOnDayOfMonth" to be set. + # Corresponds to the JSON property `repeats` + # @return [String] + attr_accessor :repeats + + # List of week days "WEEKLY" on which scheduled reports should run. + # Corresponds to the JSON property `repeatsOnWeekDays` + # @return [Array] + attr_accessor :repeats_on_week_days + + # Enum to define for "MONTHLY" scheduled reports whether reports should be + # repeated on the same day of the month as "startDate" or the same day of the + # week of the month. + # Example: If 'startDate' is Monday, April 2nd 2012 (2012-04-02), "DAY_OF_MONTH" + # would run subsequent reports on the 2nd of every Month, and "WEEK_OF_MONTH" + # would run subsequent reports on the first Monday of the month. + # Corresponds to the JSON property `runsOnDayOfMonth` + # @return [String] + attr_accessor :runs_on_day_of_month + + # Start date of date range for which scheduled reports should be run. + # Corresponds to the JSON property `startDate` + # @return [Date] + attr_accessor :start_date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active = args[:active] if args.key?(:active) + @every = args[:every] if args.key?(:every) + @expiration_date = args[:expiration_date] if args.key?(:expiration_date) + @repeats = args[:repeats] if args.key?(:repeats) + @repeats_on_week_days = args[:repeats_on_week_days] if args.key?(:repeats_on_week_days) + @runs_on_day_of_month = args[:runs_on_day_of_month] if args.key?(:runs_on_day_of_month) + @start_date = args[:start_date] if args.key?(:start_date) + end + end + end + + # Represents fields that are compatible to be selected for a report of type " + # STANDARD". + class ReportCompatibleFields + include Google::Apis::Core::Hashable + + # Dimensions which are compatible to be selected in the "dimensionFilters" + # section of the report. + # Corresponds to the JSON property `dimensionFilters` + # @return [Array] + attr_accessor :dimension_filters + + # Dimensions which are compatible to be selected in the "dimensions" section of + # the report. + # Corresponds to the JSON property `dimensions` + # @return [Array] + attr_accessor :dimensions + + # The kind of resource this is, in this case dfareporting#reportCompatibleFields. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Metrics which are compatible to be selected in the "metricNames" section of + # the report. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + # Metrics which are compatible to be selected as activity metrics to pivot on in + # the "activities" section of the report. + # Corresponds to the JSON property `pivotedActivityMetrics` + # @return [Array] + attr_accessor :pivoted_activity_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters) + @dimensions = args[:dimensions] if args.key?(:dimensions) + @kind = args[:kind] if args.key?(:kind) + @metrics = args[:metrics] if args.key?(:metrics) + @pivoted_activity_metrics = args[:pivoted_activity_metrics] if args.key?(:pivoted_activity_metrics) + end + end + + # Represents the list of reports. + class ReportList + include Google::Apis::Core::Hashable + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The reports returned in this response. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The kind of list this is, in this case dfareporting#reportList. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Continuation token used to page through reports. To retrieve the next page of + # results, set the next request's "pageToken" to the value of this field. The + # page token is only valid for a limited amount of time and should not be + # persisted. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Reporting Configuration + class ReportsConfiguration + include Google::Apis::Core::Hashable + + # Whether the exposure to conversion report is enabled. This report shows + # detailed pathway information on up to 10 of the most recent ad exposures seen + # by a user before converting. + # Corresponds to the JSON property `exposureToConversionEnabled` + # @return [Boolean] + attr_accessor :exposure_to_conversion_enabled + alias_method :exposure_to_conversion_enabled?, :exposure_to_conversion_enabled + + # Lookback configuration settings. + # Corresponds to the JSON property `lookbackConfiguration` + # @return [Google::Apis::DfareportingV2_7::LookbackConfiguration] + attr_accessor :lookback_configuration + + # Report generation time zone ID of this account. This is a required field that + # can only be changed by a superuser. + # Acceptable values are: + # - "1" for "America/New_York" + # - "2" for "Europe/London" + # - "3" for "Europe/Paris" + # - "4" for "Africa/Johannesburg" + # - "5" for "Asia/Jerusalem" + # - "6" for "Asia/Shanghai" + # - "7" for "Asia/Hong_Kong" + # - "8" for "Asia/Tokyo" + # - "9" for "Australia/Sydney" + # - "10" for "Asia/Dubai" + # - "11" for "America/Los_Angeles" + # - "12" for "Pacific/Auckland" + # - "13" for "America/Sao_Paulo" + # Corresponds to the JSON property `reportGenerationTimeZoneId` + # @return [String] + attr_accessor :report_generation_time_zone_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exposure_to_conversion_enabled = args[:exposure_to_conversion_enabled] if args.key?(:exposure_to_conversion_enabled) + @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration) + @report_generation_time_zone_id = args[:report_generation_time_zone_id] if args.key?(:report_generation_time_zone_id) + end + end + + # Rich Media Exit Override. + class RichMediaExitOverride + include Google::Apis::Core::Hashable + + # Click-through URL + # Corresponds to the JSON property `clickThroughUrl` + # @return [Google::Apis::DfareportingV2_7::ClickThroughUrl] + attr_accessor :click_through_url + + # Whether to use the clickThroughUrl. If false, the creative-level exit will be + # used. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + # ID for the override to refer to a specific exit in the creative. + # Corresponds to the JSON property `exitId` + # @return [String] + attr_accessor :exit_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @click_through_url = args[:click_through_url] if args.key?(:click_through_url) + @enabled = args[:enabled] if args.key?(:enabled) + @exit_id = args[:exit_id] if args.key?(:exit_id) + end + end + + # A rule associates an asset with a targeting template for asset-level targeting. + # Applicable to INSTREAM_VIDEO creatives. + class Rule + include Google::Apis::Core::Hashable + + # A creativeAssets[].id. This should refer to one of the parent assets in this + # creative. This is a required field. + # Corresponds to the JSON property `assetId` + # @return [String] + attr_accessor :asset_id + + # A user-friendly name for this rule. This is a required field. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A targeting template ID. The targeting from the targeting template will be + # used to determine whether this asset should be served. This is a required + # field. + # Corresponds to the JSON property `targetingTemplateId` + # @return [String] + attr_accessor :targeting_template_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @asset_id = args[:asset_id] if args.key?(:asset_id) + @name = args[:name] if args.key?(:name) + @targeting_template_id = args[:targeting_template_id] if args.key?(:targeting_template_id) + end + end + + # Contains properties of a site. + class Site + include Google::Apis::Core::Hashable + + # Account ID of this site. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this site is approved. + # Corresponds to the JSON property `approved` + # @return [Boolean] + attr_accessor :approved + alias_method :approved?, :approved + + # Directory site associated with this site. This is a required field that is + # read-only after insertion. + # Corresponds to the JSON property `directorySiteId` + # @return [String] + attr_accessor :directory_site_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `directorySiteIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :directory_site_id_dimension_value + + # ID of this site. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `idDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :id_dimension_value + + # Key name of this site. This is a read-only, auto-generated field. + # Corresponds to the JSON property `keyName` + # @return [String] + attr_accessor :key_name + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#site". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this site.This is a required field. Must be less than 128 characters + # long. If this site is under a subaccount, the name must be unique among sites + # of the same subaccount. Otherwise, this site is a top-level site, and the name + # must be unique among top-level sites of the same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Site contacts. + # Corresponds to the JSON property `siteContacts` + # @return [Array] + attr_accessor :site_contacts + + # Site Settings + # Corresponds to the JSON property `siteSettings` + # @return [Google::Apis::DfareportingV2_7::SiteSettings] + attr_accessor :site_settings + + # Subaccount ID of this site. This is a read-only field that can be left blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @approved = args[:approved] if args.key?(:approved) + @directory_site_id = args[:directory_site_id] if args.key?(:directory_site_id) + @directory_site_id_dimension_value = args[:directory_site_id_dimension_value] if args.key?(:directory_site_id_dimension_value) + @id = args[:id] if args.key?(:id) + @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value) + @key_name = args[:key_name] if args.key?(:key_name) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @site_contacts = args[:site_contacts] if args.key?(:site_contacts) + @site_settings = args[:site_settings] if args.key?(:site_settings) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Site Contact + class SiteContact + include Google::Apis::Core::Hashable + + # Address of this site contact. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Site contact type. + # Corresponds to the JSON property `contactType` + # @return [String] + attr_accessor :contact_type + + # Email address of this site contact. This is a required field. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # First name of this site contact. + # Corresponds to the JSON property `firstName` + # @return [String] + attr_accessor :first_name + + # ID of this site contact. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Last name of this site contact. + # Corresponds to the JSON property `lastName` + # @return [String] + attr_accessor :last_name + + # Primary phone number of this site contact. + # Corresponds to the JSON property `phone` + # @return [String] + attr_accessor :phone + + # Title or designation of this site contact. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @address = args[:address] if args.key?(:address) + @contact_type = args[:contact_type] if args.key?(:contact_type) + @email = args[:email] if args.key?(:email) + @first_name = args[:first_name] if args.key?(:first_name) + @id = args[:id] if args.key?(:id) + @last_name = args[:last_name] if args.key?(:last_name) + @phone = args[:phone] if args.key?(:phone) + @title = args[:title] if args.key?(:title) + end + end + + # Site Settings + class SiteSettings + include Google::Apis::Core::Hashable + + # Whether active view creatives are disabled for this site. + # Corresponds to the JSON property `activeViewOptOut` + # @return [Boolean] + attr_accessor :active_view_opt_out + alias_method :active_view_opt_out?, :active_view_opt_out + + # Creative Settings + # Corresponds to the JSON property `creativeSettings` + # @return [Google::Apis::DfareportingV2_7::CreativeSettings] + attr_accessor :creative_settings + + # Whether brand safe ads are disabled for this site. + # Corresponds to the JSON property `disableBrandSafeAds` + # @return [Boolean] + attr_accessor :disable_brand_safe_ads + alias_method :disable_brand_safe_ads?, :disable_brand_safe_ads + + # Whether new cookies are disabled for this site. + # Corresponds to the JSON property `disableNewCookie` + # @return [Boolean] + attr_accessor :disable_new_cookie + alias_method :disable_new_cookie?, :disable_new_cookie + + # Lookback configuration settings. + # Corresponds to the JSON property `lookbackConfiguration` + # @return [Google::Apis::DfareportingV2_7::LookbackConfiguration] + attr_accessor :lookback_configuration + + # Tag Settings + # Corresponds to the JSON property `tagSetting` + # @return [Google::Apis::DfareportingV2_7::TagSetting] + attr_accessor :tag_setting + + # Whether Verification and ActiveView for in-stream video creatives are disabled + # by default for new placements created under this site. This value will be used + # to populate the placement.videoActiveViewOptOut field, when no value is + # specified for the new placement. + # Corresponds to the JSON property `videoActiveViewOptOutTemplate` + # @return [Boolean] + attr_accessor :video_active_view_opt_out_template + alias_method :video_active_view_opt_out_template?, :video_active_view_opt_out_template + + # Default VPAID adapter setting for new placements created under this site. This + # value will be used to populate the placements.vpaidAdapterChoice field, when + # no value is specified for the new placement. Controls which VPAID format the + # measurement adapter will use for in-stream video creatives assigned to the + # placement. The publisher's specifications will typically determine this + # setting. For VPAID creatives, the adapter format will match the VPAID format ( + # HTML5 VPAID creatives use the HTML5 adapter, and Flash VPAID creatives use the + # Flash adapter). + # Corresponds to the JSON property `vpaidAdapterChoiceTemplate` + # @return [String] + attr_accessor :vpaid_adapter_choice_template + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out) + @creative_settings = args[:creative_settings] if args.key?(:creative_settings) + @disable_brand_safe_ads = args[:disable_brand_safe_ads] if args.key?(:disable_brand_safe_ads) + @disable_new_cookie = args[:disable_new_cookie] if args.key?(:disable_new_cookie) + @lookback_configuration = args[:lookback_configuration] if args.key?(:lookback_configuration) + @tag_setting = args[:tag_setting] if args.key?(:tag_setting) + @video_active_view_opt_out_template = args[:video_active_view_opt_out_template] if args.key?(:video_active_view_opt_out_template) + @vpaid_adapter_choice_template = args[:vpaid_adapter_choice_template] if args.key?(:vpaid_adapter_choice_template) + end + end + + # Site List Response + class SitesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#sitesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Site collection. + # Corresponds to the JSON property `sites` + # @return [Array] + attr_accessor :sites + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @sites = args[:sites] if args.key?(:sites) + end + end + + # Represents the dimensions of ads, placements, creatives, or creative assets. + class Size + include Google::Apis::Core::Hashable + + # Height of this size. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # IAB standard size. This is a read-only, auto-generated field. + # Corresponds to the JSON property `iab` + # @return [Boolean] + attr_accessor :iab + alias_method :iab?, :iab + + # ID of this size. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#size". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Width of this size. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @iab = args[:iab] if args.key?(:iab) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @width = args[:width] if args.key?(:width) + end + end + + # Size List Response + class SizesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#sizesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Size collection. + # Corresponds to the JSON property `sizes` + # @return [Array] + attr_accessor :sizes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @sizes = args[:sizes] if args.key?(:sizes) + end + end + + # Skippable Settings + class SkippableSetting + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#skippableSetting". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Video Offset + # Corresponds to the JSON property `progressOffset` + # @return [Google::Apis::DfareportingV2_7::VideoOffset] + attr_accessor :progress_offset + + # Video Offset + # Corresponds to the JSON property `skipOffset` + # @return [Google::Apis::DfareportingV2_7::VideoOffset] + attr_accessor :skip_offset + + # Whether the user can skip creatives served to this placement. + # Corresponds to the JSON property `skippable` + # @return [Boolean] + attr_accessor :skippable + alias_method :skippable?, :skippable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @progress_offset = args[:progress_offset] if args.key?(:progress_offset) + @skip_offset = args[:skip_offset] if args.key?(:skip_offset) + @skippable = args[:skippable] if args.key?(:skippable) + end + end + + # Represents a sorted dimension. + class SortedDimension + include Google::Apis::Core::Hashable + + # The kind of resource this is, in this case dfareporting#sortedDimension. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of the dimension. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # An optional sort order for the dimension column. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @sort_order = args[:sort_order] if args.key?(:sort_order) + end + end + + # Contains properties of a DCM subaccount. + class Subaccount + include Google::Apis::Core::Hashable + + # ID of the account that contains this subaccount. This is a read-only field + # that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # IDs of the available user role permissions for this subaccount. + # Corresponds to the JSON property `availablePermissionIds` + # @return [Array] + attr_accessor :available_permission_ids + + # ID of this subaccount. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#subaccount". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this subaccount. This is a required field. Must be less than 128 + # characters long and be unique among subaccounts of the same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @available_permission_ids = args[:available_permission_ids] if args.key?(:available_permission_ids) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # Subaccount List Response + class SubaccountsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#subaccountsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Subaccount collection. + # Corresponds to the JSON property `subaccounts` + # @return [Array] + attr_accessor :subaccounts + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @subaccounts = args[:subaccounts] if args.key?(:subaccounts) + end + end + + # Placement Tag Data + class TagData + include Google::Apis::Core::Hashable + + # Ad associated with this placement tag. + # Corresponds to the JSON property `adId` + # @return [String] + attr_accessor :ad_id + + # Tag string to record a click. + # Corresponds to the JSON property `clickTag` + # @return [String] + attr_accessor :click_tag + + # Creative associated with this placement tag. + # Corresponds to the JSON property `creativeId` + # @return [String] + attr_accessor :creative_id + + # TagData tag format of this tag. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # Tag string for serving an ad. + # Corresponds to the JSON property `impressionTag` + # @return [String] + attr_accessor :impression_tag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ad_id = args[:ad_id] if args.key?(:ad_id) + @click_tag = args[:click_tag] if args.key?(:click_tag) + @creative_id = args[:creative_id] if args.key?(:creative_id) + @format = args[:format] if args.key?(:format) + @impression_tag = args[:impression_tag] if args.key?(:impression_tag) + end + end + + # Tag Settings + class TagSetting + include Google::Apis::Core::Hashable + + # Additional key-values to be included in tags. Each key-value pair must be of + # the form key=value, and pairs must be separated by a semicolon (;). Keys and + # values must not contain commas. For example, id=2;color=red is a valid value + # for this field. + # Corresponds to the JSON property `additionalKeyValues` + # @return [String] + attr_accessor :additional_key_values + + # Whether static landing page URLs should be included in the tags. This setting + # applies only to placements. + # Corresponds to the JSON property `includeClickThroughUrls` + # @return [Boolean] + attr_accessor :include_click_through_urls + alias_method :include_click_through_urls?, :include_click_through_urls + + # Whether click-tracking string should be included in the tags. + # Corresponds to the JSON property `includeClickTracking` + # @return [Boolean] + attr_accessor :include_click_tracking + alias_method :include_click_tracking?, :include_click_tracking + + # Option specifying how keywords are embedded in ad tags. This setting can be + # used to specify whether keyword placeholders are inserted in placement tags + # for this site. Publishers can then add keywords to those placeholders. + # Corresponds to the JSON property `keywordOption` + # @return [String] + attr_accessor :keyword_option + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_key_values = args[:additional_key_values] if args.key?(:additional_key_values) + @include_click_through_urls = args[:include_click_through_urls] if args.key?(:include_click_through_urls) + @include_click_tracking = args[:include_click_tracking] if args.key?(:include_click_tracking) + @keyword_option = args[:keyword_option] if args.key?(:keyword_option) + end + end + + # Dynamic and Image Tag Settings. + class TagSettings + include Google::Apis::Core::Hashable + + # Whether dynamic floodlight tags are enabled. + # Corresponds to the JSON property `dynamicTagEnabled` + # @return [Boolean] + attr_accessor :dynamic_tag_enabled + alias_method :dynamic_tag_enabled?, :dynamic_tag_enabled + + # Whether image tags are enabled. + # Corresponds to the JSON property `imageTagEnabled` + # @return [Boolean] + attr_accessor :image_tag_enabled + alias_method :image_tag_enabled?, :image_tag_enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dynamic_tag_enabled = args[:dynamic_tag_enabled] if args.key?(:dynamic_tag_enabled) + @image_tag_enabled = args[:image_tag_enabled] if args.key?(:image_tag_enabled) + end + end + + # Target Window. + class TargetWindow + include Google::Apis::Core::Hashable + + # User-entered value. + # Corresponds to the JSON property `customHtml` + # @return [String] + attr_accessor :custom_html + + # Type of browser window for which the backup image of the flash creative can be + # displayed. + # Corresponds to the JSON property `targetWindowOption` + # @return [String] + attr_accessor :target_window_option + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @custom_html = args[:custom_html] if args.key?(:custom_html) + @target_window_option = args[:target_window_option] if args.key?(:target_window_option) + end + end + + # Contains properties of a targetable remarketing list. Remarketing enables you + # to create lists of users who have performed specific actions on a site, then + # target ads to members of those lists. This resource is a read-only view of a + # remarketing list to be used to faciliate targeting ads to specific lists. + # Remarketing lists that are owned by your advertisers and those that are shared + # to your advertisers or account are accessible via this resource. To manage + # remarketing lists that are owned by your advertisers, use the RemarketingLists + # resource. + class TargetableRemarketingList + include Google::Apis::Core::Hashable + + # Account ID of this remarketing list. This is a read-only, auto-generated field + # that is only returned in GET requests. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this targetable remarketing list is active. + # Corresponds to the JSON property `active` + # @return [Boolean] + attr_accessor :active + alias_method :active?, :active + + # Dimension value for the advertiser ID that owns this targetable remarketing + # list. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Targetable remarketing list description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Targetable remarketing list ID. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#targetableRemarketingList". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Number of days that a user should remain in the targetable remarketing list + # without an impression. + # Corresponds to the JSON property `lifeSpan` + # @return [String] + attr_accessor :life_span + + # Number of users currently in the list. This is a read-only field. + # Corresponds to the JSON property `listSize` + # @return [String] + attr_accessor :list_size + + # Product from which this targetable remarketing list was originated. + # Corresponds to the JSON property `listSource` + # @return [String] + attr_accessor :list_source + + # Name of the targetable remarketing list. Is no greater than 128 characters + # long. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this remarketing list. This is a read-only, auto-generated + # field that is only returned in GET requests. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @active = args[:active] if args.key?(:active) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @description = args[:description] if args.key?(:description) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @life_span = args[:life_span] if args.key?(:life_span) + @list_size = args[:list_size] if args.key?(:list_size) + @list_source = args[:list_source] if args.key?(:list_source) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Targetable remarketing list response + class TargetableRemarketingListsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#targetableRemarketingListsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Targetable remarketing list collection. + # Corresponds to the JSON property `targetableRemarketingLists` + # @return [Array] + attr_accessor :targetable_remarketing_lists + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @targetable_remarketing_lists = args[:targetable_remarketing_lists] if args.key?(:targetable_remarketing_lists) + end + end + + # Contains properties of a targeting template. A targeting template encapsulates + # targeting information which can be reused across multiple ads. + class TargetingTemplate + include Google::Apis::Core::Hashable + + # Account ID of this targeting template. This field, if left unset, will be auto- + # generated on insert and is read-only after insert. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Advertiser ID of this targeting template. This is a required field on insert + # and is read-only after insert. + # Corresponds to the JSON property `advertiserId` + # @return [String] + attr_accessor :advertiser_id + + # Represents a DimensionValue resource. + # Corresponds to the JSON property `advertiserIdDimensionValue` + # @return [Google::Apis::DfareportingV2_7::DimensionValue] + attr_accessor :advertiser_id_dimension_value + + # Day Part Targeting. + # Corresponds to the JSON property `dayPartTargeting` + # @return [Google::Apis::DfareportingV2_7::DayPartTargeting] + attr_accessor :day_part_targeting + + # Geographical Targeting. + # Corresponds to the JSON property `geoTargeting` + # @return [Google::Apis::DfareportingV2_7::GeoTargeting] + attr_accessor :geo_targeting + + # ID of this targeting template. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Key Value Targeting Expression. + # Corresponds to the JSON property `keyValueTargetingExpression` + # @return [Google::Apis::DfareportingV2_7::KeyValueTargetingExpression] + attr_accessor :key_value_targeting_expression + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#targetingTemplate". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Language Targeting. + # Corresponds to the JSON property `languageTargeting` + # @return [Google::Apis::DfareportingV2_7::LanguageTargeting] + attr_accessor :language_targeting + + # Remarketing List Targeting Expression. + # Corresponds to the JSON property `listTargetingExpression` + # @return [Google::Apis::DfareportingV2_7::ListTargetingExpression] + attr_accessor :list_targeting_expression + + # Name of this targeting template. This field is required. It must be less than + # 256 characters long and unique within an advertiser. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Subaccount ID of this targeting template. This field, if left unset, will be + # auto-generated on insert and is read-only after insert. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + # Technology Targeting. + # Corresponds to the JSON property `technologyTargeting` + # @return [Google::Apis::DfareportingV2_7::TechnologyTargeting] + attr_accessor :technology_targeting + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) + @advertiser_id_dimension_value = args[:advertiser_id_dimension_value] if args.key?(:advertiser_id_dimension_value) + @day_part_targeting = args[:day_part_targeting] if args.key?(:day_part_targeting) + @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting) + @id = args[:id] if args.key?(:id) + @key_value_targeting_expression = args[:key_value_targeting_expression] if args.key?(:key_value_targeting_expression) + @kind = args[:kind] if args.key?(:kind) + @language_targeting = args[:language_targeting] if args.key?(:language_targeting) + @list_targeting_expression = args[:list_targeting_expression] if args.key?(:list_targeting_expression) + @name = args[:name] if args.key?(:name) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + @technology_targeting = args[:technology_targeting] if args.key?(:technology_targeting) + end + end + + # Targeting Template List Response + class TargetingTemplatesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#targetingTemplatesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Targeting template collection. + # Corresponds to the JSON property `targetingTemplates` + # @return [Array] + attr_accessor :targeting_templates + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @targeting_templates = args[:targeting_templates] if args.key?(:targeting_templates) + end + end + + # Technology Targeting. + class TechnologyTargeting + include Google::Apis::Core::Hashable + + # Browsers that this ad targets. For each browser either set browserVersionId or + # dartId along with the version numbers. If both are specified, only + # browserVersionId will be used. The other fields are populated automatically + # when the ad is inserted or updated. + # Corresponds to the JSON property `browsers` + # @return [Array] + attr_accessor :browsers + + # Connection types that this ad targets. For each connection type only id is + # required. The other fields are populated automatically when the ad is inserted + # or updated. + # Corresponds to the JSON property `connectionTypes` + # @return [Array] + attr_accessor :connection_types + + # Mobile carriers that this ad targets. For each mobile carrier only id is + # required, and the other fields are populated automatically when the ad is + # inserted or updated. If targeting a mobile carrier, do not set targeting for + # any zip codes. + # Corresponds to the JSON property `mobileCarriers` + # @return [Array] + attr_accessor :mobile_carriers + + # Operating system versions that this ad targets. To target all versions, use + # operatingSystems. For each operating system version, only id is required. The + # other fields are populated automatically when the ad is inserted or updated. + # If targeting an operating system version, do not set targeting for the + # corresponding operating system in operatingSystems. + # Corresponds to the JSON property `operatingSystemVersions` + # @return [Array] + attr_accessor :operating_system_versions + + # Operating systems that this ad targets. To target specific versions, use + # operatingSystemVersions. For each operating system only dartId is required. + # The other fields are populated automatically when the ad is inserted or + # updated. If targeting an operating system, do not set targeting for operating + # system versions for the same operating system. + # Corresponds to the JSON property `operatingSystems` + # @return [Array] + attr_accessor :operating_systems + + # Platform types that this ad targets. For example, desktop, mobile, or tablet. + # For each platform type, only id is required, and the other fields are + # populated automatically when the ad is inserted or updated. + # Corresponds to the JSON property `platformTypes` + # @return [Array] + attr_accessor :platform_types + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @browsers = args[:browsers] if args.key?(:browsers) + @connection_types = args[:connection_types] if args.key?(:connection_types) + @mobile_carriers = args[:mobile_carriers] if args.key?(:mobile_carriers) + @operating_system_versions = args[:operating_system_versions] if args.key?(:operating_system_versions) + @operating_systems = args[:operating_systems] if args.key?(:operating_systems) + @platform_types = args[:platform_types] if args.key?(:platform_types) + end + end + + # Third Party Authentication Token + class ThirdPartyAuthenticationToken + include Google::Apis::Core::Hashable + + # Name of the third-party authentication token. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Value of the third-party authentication token. This is a read-only, auto- + # generated field. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @value = args[:value] if args.key?(:value) + end + end + + # Third-party Tracking URL. + class ThirdPartyTrackingUrl + include Google::Apis::Core::Hashable + + # Third-party URL type for in-stream video creatives. + # Corresponds to the JSON property `thirdPartyUrlType` + # @return [String] + attr_accessor :third_party_url_type + + # URL for the specified third-party URL type. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @third_party_url_type = args[:third_party_url_type] if args.key?(:third_party_url_type) + @url = args[:url] if args.key?(:url) + end + end + + # Transcode Settings + class TranscodeSetting + include Google::Apis::Core::Hashable + + # Whitelist of video formats to be served to this placement. Set this list to + # null or empty to serve all video formats. + # Corresponds to the JSON property `enabledVideoFormats` + # @return [Array] + attr_accessor :enabled_video_formats + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#transcodeSetting". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled_video_formats = args[:enabled_video_formats] if args.key?(:enabled_video_formats) + @kind = args[:kind] if args.key?(:kind) + end + end + + # User Defined Variable configuration. + class UserDefinedVariableConfiguration + include Google::Apis::Core::Hashable + + # Data type for the variable. This is a required field. + # Corresponds to the JSON property `dataType` + # @return [String] + attr_accessor :data_type + + # User-friendly name for the variable which will appear in reports. This is a + # required field, must be less than 64 characters long, and cannot contain the + # following characters: ""<>". + # Corresponds to the JSON property `reportName` + # @return [String] + attr_accessor :report_name + + # Variable name in the tag. This is a required field. + # Corresponds to the JSON property `variableType` + # @return [String] + attr_accessor :variable_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data_type = args[:data_type] if args.key?(:data_type) + @report_name = args[:report_name] if args.key?(:report_name) + @variable_type = args[:variable_type] if args.key?(:variable_type) + end + end + + # Represents a UserProfile resource. + class UserProfile + include Google::Apis::Core::Hashable + + # The account ID to which this profile belongs. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # The account name this profile belongs to. + # Corresponds to the JSON property `accountName` + # @return [String] + attr_accessor :account_name + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The kind of resource this is, in this case dfareporting#userProfile. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The unique ID of the user profile. + # Corresponds to the JSON property `profileId` + # @return [String] + attr_accessor :profile_id + + # The sub account ID this profile belongs to if applicable. + # Corresponds to the JSON property `subAccountId` + # @return [String] + attr_accessor :sub_account_id + + # The sub account name this profile belongs to if applicable. + # Corresponds to the JSON property `subAccountName` + # @return [String] + attr_accessor :sub_account_name + + # The user name. + # Corresponds to the JSON property `userName` + # @return [String] + attr_accessor :user_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @account_name = args[:account_name] if args.key?(:account_name) + @etag = args[:etag] if args.key?(:etag) + @kind = args[:kind] if args.key?(:kind) + @profile_id = args[:profile_id] if args.key?(:profile_id) + @sub_account_id = args[:sub_account_id] if args.key?(:sub_account_id) + @sub_account_name = args[:sub_account_name] if args.key?(:sub_account_name) + @user_name = args[:user_name] if args.key?(:user_name) + end + end + + # Represents the list of user profiles. + class UserProfileList + include Google::Apis::Core::Hashable + + # The eTag of this response for caching purposes. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The user profiles returned in this response. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The kind of list this is, in this case dfareporting#userProfileList. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + end + end + + # Contains properties of auser role, which is used to manage user access. + class UserRole + include Google::Apis::Core::Hashable + + # Account ID of this user role. This is a read-only field that can be left blank. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + # Whether this is a default user role. Default user roles are created by the + # system for the account/subaccount and cannot be modified or deleted. Each + # default user role comes with a basic set of preassigned permissions. + # Corresponds to the JSON property `defaultUserRole` + # @return [Boolean] + attr_accessor :default_user_role + alias_method :default_user_role?, :default_user_role + + # ID of this user role. This is a read-only, auto-generated field. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRole". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this user role. This is a required field. Must be less than 256 + # characters long. If this user role is under a subaccount, the name must be + # unique among sites of the same subaccount. Otherwise, this user role is a top- + # level user role, and the name must be unique among top-level user roles of the + # same account. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID of the user role that this user role is based on or copied from. This is a + # required field. + # Corresponds to the JSON property `parentUserRoleId` + # @return [String] + attr_accessor :parent_user_role_id + + # List of permissions associated with this user role. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + # Subaccount ID of this user role. This is a read-only field that can be left + # blank. + # Corresponds to the JSON property `subaccountId` + # @return [String] + attr_accessor :subaccount_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_id = args[:account_id] if args.key?(:account_id) + @default_user_role = args[:default_user_role] if args.key?(:default_user_role) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @parent_user_role_id = args[:parent_user_role_id] if args.key?(:parent_user_role_id) + @permissions = args[:permissions] if args.key?(:permissions) + @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) + end + end + + # Contains properties of a user role permission. + class UserRolePermission + include Google::Apis::Core::Hashable + + # Levels of availability for a user role permission. + # Corresponds to the JSON property `availability` + # @return [String] + attr_accessor :availability + + # ID of this user role permission. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRolePermission". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this user role permission. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # ID of the permission group that this user role permission belongs to. + # Corresponds to the JSON property `permissionGroupId` + # @return [String] + attr_accessor :permission_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @availability = args[:availability] if args.key?(:availability) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @permission_group_id = args[:permission_group_id] if args.key?(:permission_group_id) + end + end + + # Represents a grouping of related user role permissions. + class UserRolePermissionGroup + include Google::Apis::Core::Hashable + + # ID of this user role permission. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRolePermissionGroup". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Name of this user role permission group. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + end + + # User Role Permission Group List Response + class UserRolePermissionGroupsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRolePermissionGroupsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # User role permission group collection. + # Corresponds to the JSON property `userRolePermissionGroups` + # @return [Array] + attr_accessor :user_role_permission_groups + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @user_role_permission_groups = args[:user_role_permission_groups] if args.key?(:user_role_permission_groups) + end + end + + # User Role Permission List Response + class UserRolePermissionsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRolePermissionsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # User role permission collection. + # Corresponds to the JSON property `userRolePermissions` + # @return [Array] + attr_accessor :user_role_permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @user_role_permissions = args[:user_role_permissions] if args.key?(:user_role_permissions) + end + end + + # User Role List Response + class UserRolesListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#userRolesListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Pagination token to be used for the next list operation. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # User role collection. + # Corresponds to the JSON property `userRoles` + # @return [Array] + attr_accessor :user_roles + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @user_roles = args[:user_roles] if args.key?(:user_roles) + end + end + + # Contains information about supported video formats. + class VideoFormat + include Google::Apis::Core::Hashable + + # File type of the video format. + # Corresponds to the JSON property `fileType` + # @return [String] + attr_accessor :file_type + + # ID of the video format. + # Corresponds to the JSON property `id` + # @return [Fixnum] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#videoFormat". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Represents the dimensions of ads, placements, creatives, or creative assets. + # Corresponds to the JSON property `resolution` + # @return [Google::Apis::DfareportingV2_7::Size] + attr_accessor :resolution + + # The target bit rate of this video format. + # Corresponds to the JSON property `targetBitRate` + # @return [Fixnum] + attr_accessor :target_bit_rate + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_type = args[:file_type] if args.key?(:file_type) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @resolution = args[:resolution] if args.key?(:resolution) + @target_bit_rate = args[:target_bit_rate] if args.key?(:target_bit_rate) + end + end + + # Video Format List Response + class VideoFormatsListResponse + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#videoFormatsListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Video format collection. + # Corresponds to the JSON property `videoFormats` + # @return [Array] + attr_accessor :video_formats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @video_formats = args[:video_formats] if args.key?(:video_formats) + end + end + + # Video Offset + class VideoOffset + include Google::Apis::Core::Hashable + + # Duration, as a percentage of video duration. Do not set when offsetSeconds is + # set. + # Corresponds to the JSON property `offsetPercentage` + # @return [Fixnum] + attr_accessor :offset_percentage + + # Duration, in seconds. Do not set when offsetPercentage is set. + # Corresponds to the JSON property `offsetSeconds` + # @return [Fixnum] + attr_accessor :offset_seconds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @offset_percentage = args[:offset_percentage] if args.key?(:offset_percentage) + @offset_seconds = args[:offset_seconds] if args.key?(:offset_seconds) + end + end + + # Video Settings + class VideoSettings + include Google::Apis::Core::Hashable + + # Companion Settings + # Corresponds to the JSON property `companionSettings` + # @return [Google::Apis::DfareportingV2_7::CompanionSetting] + attr_accessor :companion_settings + + # Identifies what kind of resource this is. Value: the fixed string " + # dfareporting#videoSettings". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Skippable Settings + # Corresponds to the JSON property `skippableSettings` + # @return [Google::Apis::DfareportingV2_7::SkippableSetting] + attr_accessor :skippable_settings + + # Transcode Settings + # Corresponds to the JSON property `transcodeSettings` + # @return [Google::Apis::DfareportingV2_7::TranscodeSetting] + attr_accessor :transcode_settings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @companion_settings = args[:companion_settings] if args.key?(:companion_settings) + @kind = args[:kind] if args.key?(:kind) + @skippable_settings = args[:skippable_settings] if args.key?(:skippable_settings) + @transcode_settings = args[:transcode_settings] if args.key?(:transcode_settings) + end + end + end + end +end diff --git a/generated/google/apis/dfareporting_v2_7/representations.rb b/generated/google/apis/dfareporting_v2_7/representations.rb new file mode 100644 index 000000000..d1592039a --- /dev/null +++ b/generated/google/apis/dfareporting_v2_7/representations.rb @@ -0,0 +1,4243 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DfareportingV2_7 + + class Account + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountActiveAdSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountPermission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountPermissionGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountPermissionGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountPermissionsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountUserProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountUserProfilesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Activities + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Ad + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdSlot + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Advertiser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdvertiserGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdvertiserGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdvertisersListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AudienceSegment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AudienceSegmentGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Browser + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BrowsersListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Campaign + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CampaignCreativeAssociation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CampaignCreativeAssociationsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CampaignsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChangeLog + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChangeLogsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CitiesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class City + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClickTag + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClickThroughUrl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClickThroughUrlSuffixProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompanionClickThroughOverride + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompanionSetting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConnectionType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConnectionTypesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContentCategoriesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ContentCategory + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Conversion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConversionError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConversionStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConversionsBatchInsertRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConversionsBatchInsertResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CountriesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Country + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Creative + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeAsset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeAssetId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeAssetMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeAssetSelection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeCustomEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeField + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeFieldAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeFieldValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeFieldValuesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeFieldsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeGroupAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeOptimizationConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeRotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativeSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreativesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CrossDimensionReachReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomFloodlightVariable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CustomRichMediaEvents + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DateRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DayPartTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DefaultClickThroughEventTagProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeliverySchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DfpSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionValueList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionValueRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySite + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySiteContact + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySiteContactAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySiteContactsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySiteSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DirectorySitesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicTargetingKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DynamicTargetingKeysListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EncryptionInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EventTag + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EventTagOverride + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EventTagsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class File + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Urls + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class FileList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Flight + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivitiesGenerateTagResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivitiesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivityDynamicTag + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivityGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivityGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightActivityPublisherDynamicTag + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightConfigurationsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FrequencyCap + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FsCommand + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GeoTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InventoryItem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InventoryItemsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class KeyValueTargetingExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LandingPage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LandingPagesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Language + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LanguageTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LanguagesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LastModifiedInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPopulationClause + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPopulationRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListPopulationTerm + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTargetingExpression + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LookbackConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Metric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Metro + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetrosListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MobileCarrier + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MobileCarriersListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ObjectFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OffsetPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OmnitureSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperatingSystem + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperatingSystemVersion + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperatingSystemVersionsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperatingSystemsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptimizationActivity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Order + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderContact + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderDocument + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrderDocumentsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OrdersListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathToConversionReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Placement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementAssignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementStrategiesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementStrategy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementTag + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementsGenerateTagsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlacementsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlatformType + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PlatformTypesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PopupWindowProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PostalCode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PostalCodesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Pricing + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PricingSchedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PricingSchedulePricingPeriod + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Project + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProjectsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReachReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Recipient + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Region + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RegionsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemarketingList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemarketingListShare + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RemarketingListsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Report + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Criteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CrossDimensionReachCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Delivery + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FloodlightCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + class ReportProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class PathToConversionCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + class ReportProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReachCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Schedule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportCompatibleFields + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportsConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RichMediaExitOverride + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Rule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Site + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SiteContact + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SiteSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SitesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Size + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SizesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SkippableSetting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SortedDimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Subaccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubaccountsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TagData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TagSetting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TagSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetWindow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetableRemarketingList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetableRemarketingListsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetingTemplate + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TargetingTemplatesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TechnologyTargeting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThirdPartyAuthenticationToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThirdPartyTrackingUrl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TranscodeSetting + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserDefinedVariableConfiguration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserProfileList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRole + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRolePermission + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRolePermissionGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRolePermissionGroupsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRolePermissionsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserRolesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoFormatsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoOffset + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Account + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_permission_ids, as: 'accountPermissionIds' + property :account_profile, as: 'accountProfile' + property :active, as: 'active' + property :active_ads_limit_tier, as: 'activeAdsLimitTier' + property :active_view_opt_out, as: 'activeViewOptOut' + collection :available_permission_ids, as: 'availablePermissionIds' + property :country_id, as: 'countryId' + property :currency_id, as: 'currencyId' + property :default_creative_size_id, as: 'defaultCreativeSizeId' + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :locale, as: 'locale' + property :maximum_image_size, as: 'maximumImageSize' + property :name, as: 'name' + property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' + property :reports_configuration, as: 'reportsConfiguration', class: Google::Apis::DfareportingV2_7::ReportsConfiguration, decorator: Google::Apis::DfareportingV2_7::ReportsConfiguration::Representation + + property :share_reports_with_twitter, as: 'shareReportsWithTwitter' + property :teaser_size_limit, as: 'teaserSizeLimit' + end + end + + class AccountActiveAdSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active_ads, as: 'activeAds' + property :active_ads_limit_tier, as: 'activeAdsLimitTier' + property :available_ads, as: 'availableAds' + property :kind, as: 'kind' + end + end + + class AccountPermission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_profiles, as: 'accountProfiles' + property :id, as: 'id' + property :kind, as: 'kind' + property :level, as: 'level' + property :name, as: 'name' + property :permission_group_id, as: 'permissionGroupId' + end + end + + class AccountPermissionGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class AccountPermissionGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_permission_groups, as: 'accountPermissionGroups', class: Google::Apis::DfareportingV2_7::AccountPermissionGroup, decorator: Google::Apis::DfareportingV2_7::AccountPermissionGroup::Representation + + property :kind, as: 'kind' + end + end + + class AccountPermissionsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_permissions, as: 'accountPermissions', class: Google::Apis::DfareportingV2_7::AccountPermission, decorator: Google::Apis::DfareportingV2_7::AccountPermission::Representation + + property :kind, as: 'kind' + end + end + + class AccountUserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active, as: 'active' + property :advertiser_filter, as: 'advertiserFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation + + property :campaign_filter, as: 'campaignFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation + + property :comments, as: 'comments' + property :email, as: 'email' + property :id, as: 'id' + property :kind, as: 'kind' + property :locale, as: 'locale' + property :name, as: 'name' + property :site_filter, as: 'siteFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation + + property :subaccount_id, as: 'subaccountId' + property :trafficker_type, as: 'traffickerType' + property :user_access_type, as: 'userAccessType' + property :user_role_filter, as: 'userRoleFilter', class: Google::Apis::DfareportingV2_7::ObjectFilter, decorator: Google::Apis::DfareportingV2_7::ObjectFilter::Representation + + property :user_role_id, as: 'userRoleId' + end + end + + class AccountUserProfilesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_user_profiles, as: 'accountUserProfiles', class: Google::Apis::DfareportingV2_7::AccountUserProfile, decorator: Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class AccountsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accounts, as: 'accounts', class: Google::Apis::DfareportingV2_7::Account, decorator: Google::Apis::DfareportingV2_7::Account::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class Activities + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filters, as: 'filters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + collection :metric_names, as: 'metricNames' + end + end + + class Ad + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active, as: 'active' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :archived, as: 'archived' + property :audience_segment_id, as: 'audienceSegmentId' + property :campaign_id, as: 'campaignId' + property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation + + property :click_through_url_suffix_properties, as: 'clickThroughUrlSuffixProperties', class: Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties::Representation + + property :comments, as: 'comments' + property :compatibility, as: 'compatibility' + property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV2_7::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeGroupAssignment::Representation + + property :creative_rotation, as: 'creativeRotation', class: Google::Apis::DfareportingV2_7::CreativeRotation, decorator: Google::Apis::DfareportingV2_7::CreativeRotation::Representation + + property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV2_7::DayPartTargeting, decorator: Google::Apis::DfareportingV2_7::DayPartTargeting::Representation + + property :default_click_through_event_tag_properties, as: 'defaultClickThroughEventTagProperties', class: Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties, decorator: Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties::Representation + + property :delivery_schedule, as: 'deliverySchedule', class: Google::Apis::DfareportingV2_7::DeliverySchedule, decorator: Google::Apis::DfareportingV2_7::DeliverySchedule::Representation + + property :dynamic_click_tracker, as: 'dynamicClickTracker' + property :end_time, as: 'endTime', type: DateTime + + collection :event_tag_overrides, as: 'eventTagOverrides', class: Google::Apis::DfareportingV2_7::EventTagOverride, decorator: Google::Apis::DfareportingV2_7::EventTagOverride::Representation + + property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_7::GeoTargeting, decorator: Google::Apis::DfareportingV2_7::GeoTargeting::Representation + + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression::Representation + + property :kind, as: 'kind' + property :language_targeting, as: 'languageTargeting', class: Google::Apis::DfareportingV2_7::LanguageTargeting, decorator: Google::Apis::DfareportingV2_7::LanguageTargeting::Representation + + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :name, as: 'name' + collection :placement_assignments, as: 'placementAssignments', class: Google::Apis::DfareportingV2_7::PlacementAssignment, decorator: Google::Apis::DfareportingV2_7::PlacementAssignment::Representation + + property :remarketing_list_expression, as: 'remarketingListExpression', class: Google::Apis::DfareportingV2_7::ListTargetingExpression, decorator: Google::Apis::DfareportingV2_7::ListTargetingExpression::Representation + + property :size, as: 'size', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :ssl_compliant, as: 'sslCompliant' + property :ssl_required, as: 'sslRequired' + property :start_time, as: 'startTime', type: DateTime + + property :subaccount_id, as: 'subaccountId' + property :targeting_template_id, as: 'targetingTemplateId' + property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_7::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_7::TechnologyTargeting::Representation + + property :type, as: 'type' + end + end + + class AdSlot + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :comment, as: 'comment' + property :compatibility, as: 'compatibility' + property :height, as: 'height' + property :linked_placement_id, as: 'linkedPlacementId' + property :name, as: 'name' + property :payment_source_type, as: 'paymentSourceType' + property :primary, as: 'primary' + property :width, as: 'width' + end + end + + class AdsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ads, as: 'ads', class: Google::Apis::DfareportingV2_7::Ad, decorator: Google::Apis::DfareportingV2_7::Ad::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class Advertiser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_group_id, as: 'advertiserGroupId' + property :click_through_url_suffix, as: 'clickThroughUrlSuffix' + property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :default_email, as: 'defaultEmail' + property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :name, as: 'name' + property :original_floodlight_configuration_id, as: 'originalFloodlightConfigurationId' + property :status, as: 'status' + property :subaccount_id, as: 'subaccountId' + property :suspended, as: 'suspended' + end + end + + class AdvertiserGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class AdvertiserGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :advertiser_groups, as: 'advertiserGroups', class: Google::Apis::DfareportingV2_7::AdvertiserGroup, decorator: Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class AdvertisersListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :advertisers, as: 'advertisers', class: Google::Apis::DfareportingV2_7::Advertiser, decorator: Google::Apis::DfareportingV2_7::Advertiser::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class AudienceSegment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :allocation, as: 'allocation' + property :id, as: 'id' + property :name, as: 'name' + end + end + + class AudienceSegmentGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :audience_segments, as: 'audienceSegments', class: Google::Apis::DfareportingV2_7::AudienceSegment, decorator: Google::Apis::DfareportingV2_7::AudienceSegment::Representation + + property :id, as: 'id' + property :name, as: 'name' + end + end + + class Browser + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :browser_version_id, as: 'browserVersionId' + property :dart_id, as: 'dartId' + property :kind, as: 'kind' + property :major_version, as: 'majorVersion' + property :minor_version, as: 'minorVersion' + property :name, as: 'name' + end + end + + class BrowsersListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :browsers, as: 'browsers', class: Google::Apis::DfareportingV2_7::Browser, decorator: Google::Apis::DfareportingV2_7::Browser::Representation + + property :kind, as: 'kind' + end + end + + class Campaign + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + collection :additional_creative_optimization_configurations, as: 'additionalCreativeOptimizationConfigurations', class: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration, decorator: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration::Representation + + property :advertiser_group_id, as: 'advertiserGroupId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :archived, as: 'archived' + collection :audience_segment_groups, as: 'audienceSegmentGroups', class: Google::Apis::DfareportingV2_7::AudienceSegmentGroup, decorator: Google::Apis::DfareportingV2_7::AudienceSegmentGroup::Representation + + property :billing_invoice_code, as: 'billingInvoiceCode' + property :click_through_url_suffix_properties, as: 'clickThroughUrlSuffixProperties', class: Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrlSuffixProperties::Representation + + property :comment, as: 'comment' + property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + collection :creative_group_ids, as: 'creativeGroupIds' + property :creative_optimization_configuration, as: 'creativeOptimizationConfiguration', class: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration, decorator: Google::Apis::DfareportingV2_7::CreativeOptimizationConfiguration::Representation + + property :default_click_through_event_tag_properties, as: 'defaultClickThroughEventTagProperties', class: Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties, decorator: Google::Apis::DfareportingV2_7::DefaultClickThroughEventTagProperties::Representation + + property :end_date, as: 'endDate', type: Date + + collection :event_tag_overrides, as: 'eventTagOverrides', class: Google::Apis::DfareportingV2_7::EventTagOverride, decorator: Google::Apis::DfareportingV2_7::EventTagOverride::Representation + + property :external_id, as: 'externalId' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation + + property :name, as: 'name' + property :nielsen_ocr_enabled, as: 'nielsenOcrEnabled' + property :start_date, as: 'startDate', type: Date + + property :subaccount_id, as: 'subaccountId' + collection :trafficker_emails, as: 'traffickerEmails' + end + end + + class CampaignCreativeAssociation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creative_id, as: 'creativeId' + property :kind, as: 'kind' + end + end + + class CampaignCreativeAssociationsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :campaign_creative_associations, as: 'campaignCreativeAssociations', class: Google::Apis::DfareportingV2_7::CampaignCreativeAssociation, decorator: Google::Apis::DfareportingV2_7::CampaignCreativeAssociation::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CampaignsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :campaigns, as: 'campaigns', class: Google::Apis::DfareportingV2_7::Campaign, decorator: Google::Apis::DfareportingV2_7::Campaign::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class ChangeLog + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :action, as: 'action' + property :change_time, as: 'changeTime', type: DateTime + + property :field_name, as: 'fieldName' + property :id, as: 'id' + property :kind, as: 'kind' + property :new_value, as: 'newValue' + property :object_id_prop, as: 'objectId' + property :object_type, as: 'objectType' + property :old_value, as: 'oldValue' + property :subaccount_id, as: 'subaccountId' + property :transaction_id, as: 'transactionId' + property :user_profile_id, as: 'userProfileId' + property :user_profile_name, as: 'userProfileName' + end + end + + class ChangeLogsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :change_logs, as: 'changeLogs', class: Google::Apis::DfareportingV2_7::ChangeLog, decorator: Google::Apis::DfareportingV2_7::ChangeLog::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CitiesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cities, as: 'cities', class: Google::Apis::DfareportingV2_7::City, decorator: Google::Apis::DfareportingV2_7::City::Representation + + property :kind, as: 'kind' + end + end + + class City + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :country_dart_id, as: 'countryDartId' + property :dart_id, as: 'dartId' + property :kind, as: 'kind' + property :metro_code, as: 'metroCode' + property :metro_dma_id, as: 'metroDmaId' + property :name, as: 'name' + property :region_code, as: 'regionCode' + property :region_dart_id, as: 'regionDartId' + end + end + + class ClickTag + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :event_name, as: 'eventName' + property :name, as: 'name' + property :value, as: 'value' + end + end + + class ClickThroughUrl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :computed_click_through_url, as: 'computedClickThroughUrl' + property :custom_click_through_url, as: 'customClickThroughUrl' + property :default_landing_page, as: 'defaultLandingPage' + property :landing_page_id, as: 'landingPageId' + end + end + + class ClickThroughUrlSuffixProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :click_through_url_suffix, as: 'clickThroughUrlSuffix' + property :override_inherited_suffix, as: 'overrideInheritedSuffix' + end + end + + class CompanionClickThroughOverride + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation + + property :creative_id, as: 'creativeId' + end + end + + class CompanionSetting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :companions_disabled, as: 'companionsDisabled' + collection :enabled_sizes, as: 'enabledSizes', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :image_only, as: 'imageOnly' + property :kind, as: 'kind' + end + end + + class CompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cross_dimension_reach_report_compatible_fields, as: 'crossDimensionReachReportCompatibleFields', class: Google::Apis::DfareportingV2_7::CrossDimensionReachReportCompatibleFields, decorator: Google::Apis::DfareportingV2_7::CrossDimensionReachReportCompatibleFields::Representation + + property :floodlight_report_compatible_fields, as: 'floodlightReportCompatibleFields', class: Google::Apis::DfareportingV2_7::FloodlightReportCompatibleFields, decorator: Google::Apis::DfareportingV2_7::FloodlightReportCompatibleFields::Representation + + property :kind, as: 'kind' + property :path_to_conversion_report_compatible_fields, as: 'pathToConversionReportCompatibleFields', class: Google::Apis::DfareportingV2_7::PathToConversionReportCompatibleFields, decorator: Google::Apis::DfareportingV2_7::PathToConversionReportCompatibleFields::Representation + + property :reach_report_compatible_fields, as: 'reachReportCompatibleFields', class: Google::Apis::DfareportingV2_7::ReachReportCompatibleFields, decorator: Google::Apis::DfareportingV2_7::ReachReportCompatibleFields::Representation + + property :report_compatible_fields, as: 'reportCompatibleFields', class: Google::Apis::DfareportingV2_7::ReportCompatibleFields, decorator: Google::Apis::DfareportingV2_7::ReportCompatibleFields::Representation + + end + end + + class ConnectionType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class ConnectionTypesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :connection_types, as: 'connectionTypes', class: Google::Apis::DfareportingV2_7::ConnectionType, decorator: Google::Apis::DfareportingV2_7::ConnectionType::Representation + + property :kind, as: 'kind' + end + end + + class ContentCategoriesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :content_categories, as: 'contentCategories', class: Google::Apis::DfareportingV2_7::ContentCategory, decorator: Google::Apis::DfareportingV2_7::ContentCategory::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class ContentCategory + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class Conversion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :child_directed_treatment, as: 'childDirectedTreatment' + collection :custom_variables, as: 'customVariables', class: Google::Apis::DfareportingV2_7::CustomFloodlightVariable, decorator: Google::Apis::DfareportingV2_7::CustomFloodlightVariable::Representation + + property :encrypted_user_id, as: 'encryptedUserId' + collection :encrypted_user_id_candidates, as: 'encryptedUserIdCandidates' + property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :kind, as: 'kind' + property :limit_ad_tracking, as: 'limitAdTracking' + property :mobile_device_id, as: 'mobileDeviceId' + property :ordinal, as: 'ordinal' + property :quantity, as: 'quantity' + property :timestamp_micros, as: 'timestampMicros' + property :value, as: 'value' + end + end + + class ConversionError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :kind, as: 'kind' + property :message, as: 'message' + end + end + + class ConversionStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :conversion, as: 'conversion', class: Google::Apis::DfareportingV2_7::Conversion, decorator: Google::Apis::DfareportingV2_7::Conversion::Representation + + collection :errors, as: 'errors', class: Google::Apis::DfareportingV2_7::ConversionError, decorator: Google::Apis::DfareportingV2_7::ConversionError::Representation + + property :kind, as: 'kind' + end + end + + class ConversionsBatchInsertRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversions, as: 'conversions', class: Google::Apis::DfareportingV2_7::Conversion, decorator: Google::Apis::DfareportingV2_7::Conversion::Representation + + property :encryption_info, as: 'encryptionInfo', class: Google::Apis::DfareportingV2_7::EncryptionInfo, decorator: Google::Apis::DfareportingV2_7::EncryptionInfo::Representation + + property :kind, as: 'kind' + end + end + + class ConversionsBatchInsertResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :has_failures, as: 'hasFailures' + property :kind, as: 'kind' + collection :status, as: 'status', class: Google::Apis::DfareportingV2_7::ConversionStatus, decorator: Google::Apis::DfareportingV2_7::ConversionStatus::Representation + + end + end + + class CountriesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :countries, as: 'countries', class: Google::Apis::DfareportingV2_7::Country, decorator: Google::Apis::DfareportingV2_7::Country::Representation + + property :kind, as: 'kind' + end + end + + class Country + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :dart_id, as: 'dartId' + property :kind, as: 'kind' + property :name, as: 'name' + property :ssl_enabled, as: 'sslEnabled' + end + end + + class Creative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active, as: 'active' + property :ad_parameters, as: 'adParameters' + collection :ad_tag_keys, as: 'adTagKeys' + property :advertiser_id, as: 'advertiserId' + property :allow_script_access, as: 'allowScriptAccess' + property :archived, as: 'archived' + property :artwork_type, as: 'artworkType' + property :authoring_source, as: 'authoringSource' + property :authoring_tool, as: 'authoringTool' + property :auto_advance_images, as: 'auto_advance_images' + property :background_color, as: 'backgroundColor' + property :backup_image_click_through_url, as: 'backupImageClickThroughUrl' + collection :backup_image_features, as: 'backupImageFeatures' + property :backup_image_reporting_label, as: 'backupImageReportingLabel' + property :backup_image_target_window, as: 'backupImageTargetWindow', class: Google::Apis::DfareportingV2_7::TargetWindow, decorator: Google::Apis::DfareportingV2_7::TargetWindow::Representation + + collection :click_tags, as: 'clickTags', class: Google::Apis::DfareportingV2_7::ClickTag, decorator: Google::Apis::DfareportingV2_7::ClickTag::Representation + + property :commercial_id, as: 'commercialId' + collection :companion_creatives, as: 'companionCreatives' + collection :compatibility, as: 'compatibility' + property :convert_flash_to_html5, as: 'convertFlashToHtml5' + collection :counter_custom_events, as: 'counterCustomEvents', class: Google::Apis::DfareportingV2_7::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_7::CreativeCustomEvent::Representation + + property :creative_asset_selection, as: 'creativeAssetSelection', class: Google::Apis::DfareportingV2_7::CreativeAssetSelection, decorator: Google::Apis::DfareportingV2_7::CreativeAssetSelection::Representation + + collection :creative_assets, as: 'creativeAssets', class: Google::Apis::DfareportingV2_7::CreativeAsset, decorator: Google::Apis::DfareportingV2_7::CreativeAsset::Representation + + collection :creative_field_assignments, as: 'creativeFieldAssignments', class: Google::Apis::DfareportingV2_7::CreativeFieldAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeFieldAssignment::Representation + + collection :custom_key_values, as: 'customKeyValues' + property :dynamic_asset_selection, as: 'dynamicAssetSelection' + collection :exit_custom_events, as: 'exitCustomEvents', class: Google::Apis::DfareportingV2_7::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_7::CreativeCustomEvent::Representation + + property :fs_command, as: 'fsCommand', class: Google::Apis::DfareportingV2_7::FsCommand, decorator: Google::Apis::DfareportingV2_7::FsCommand::Representation + + property :html_code, as: 'htmlCode' + property :html_code_locked, as: 'htmlCodeLocked' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :latest_trafficked_creative_id, as: 'latestTraffickedCreativeId' + property :name, as: 'name' + property :override_css, as: 'overrideCss' + property :progress_offset, as: 'progressOffset', class: Google::Apis::DfareportingV2_7::VideoOffset, decorator: Google::Apis::DfareportingV2_7::VideoOffset::Representation + + property :redirect_url, as: 'redirectUrl' + property :rendering_id, as: 'renderingId' + property :rendering_id_dimension_value, as: 'renderingIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :required_flash_plugin_version, as: 'requiredFlashPluginVersion' + property :required_flash_version, as: 'requiredFlashVersion' + property :size, as: 'size', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :skip_offset, as: 'skipOffset', class: Google::Apis::DfareportingV2_7::VideoOffset, decorator: Google::Apis::DfareportingV2_7::VideoOffset::Representation + + property :skippable, as: 'skippable' + property :ssl_compliant, as: 'sslCompliant' + property :ssl_override, as: 'sslOverride' + property :studio_advertiser_id, as: 'studioAdvertiserId' + property :studio_creative_id, as: 'studioCreativeId' + property :studio_trafficked_creative_id, as: 'studioTraffickedCreativeId' + property :subaccount_id, as: 'subaccountId' + property :third_party_backup_image_impressions_url, as: 'thirdPartyBackupImageImpressionsUrl' + property :third_party_rich_media_impressions_url, as: 'thirdPartyRichMediaImpressionsUrl' + collection :third_party_urls, as: 'thirdPartyUrls', class: Google::Apis::DfareportingV2_7::ThirdPartyTrackingUrl, decorator: Google::Apis::DfareportingV2_7::ThirdPartyTrackingUrl::Representation + + collection :timer_custom_events, as: 'timerCustomEvents', class: Google::Apis::DfareportingV2_7::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_7::CreativeCustomEvent::Representation + + property :total_file_size, as: 'totalFileSize' + property :type, as: 'type' + property :version, as: 'version' + property :video_description, as: 'videoDescription' + property :video_duration, as: 'videoDuration' + end + end + + class CreativeAsset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :action_script3, as: 'actionScript3' + property :active, as: 'active' + property :alignment, as: 'alignment' + property :artwork_type, as: 'artworkType' + property :asset_identifier, as: 'assetIdentifier', class: Google::Apis::DfareportingV2_7::CreativeAssetId, decorator: Google::Apis::DfareportingV2_7::CreativeAssetId::Representation + + property :backup_image_exit, as: 'backupImageExit', class: Google::Apis::DfareportingV2_7::CreativeCustomEvent, decorator: Google::Apis::DfareportingV2_7::CreativeCustomEvent::Representation + + property :bit_rate, as: 'bitRate' + property :child_asset_type, as: 'childAssetType' + property :collapsed_size, as: 'collapsedSize', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + collection :companion_creative_ids, as: 'companionCreativeIds' + property :custom_start_time_value, as: 'customStartTimeValue' + collection :detected_features, as: 'detectedFeatures' + property :display_type, as: 'displayType' + property :duration, as: 'duration' + property :duration_type, as: 'durationType' + property :expanded_dimension, as: 'expandedDimension', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :file_size, as: 'fileSize' + property :flash_version, as: 'flashVersion' + property :hide_flash_objects, as: 'hideFlashObjects' + property :hide_selection_boxes, as: 'hideSelectionBoxes' + property :horizontally_locked, as: 'horizontallyLocked' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :mime_type, as: 'mimeType' + property :offset, as: 'offset', class: Google::Apis::DfareportingV2_7::OffsetPosition, decorator: Google::Apis::DfareportingV2_7::OffsetPosition::Representation + + property :original_backup, as: 'originalBackup' + property :position, as: 'position', class: Google::Apis::DfareportingV2_7::OffsetPosition, decorator: Google::Apis::DfareportingV2_7::OffsetPosition::Representation + + property :position_left_unit, as: 'positionLeftUnit' + property :position_top_unit, as: 'positionTopUnit' + property :progressive_serving_url, as: 'progressiveServingUrl' + property :pushdown, as: 'pushdown' + property :pushdown_duration, as: 'pushdownDuration' + property :role, as: 'role' + property :size, as: 'size', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :ssl_compliant, as: 'sslCompliant' + property :start_time_type, as: 'startTimeType' + property :streaming_serving_url, as: 'streamingServingUrl' + property :transparency, as: 'transparency' + property :vertically_locked, as: 'verticallyLocked' + property :video_duration, as: 'videoDuration' + property :window_mode, as: 'windowMode' + property :z_index, as: 'zIndex' + property :zip_filename, as: 'zipFilename' + property :zip_filesize, as: 'zipFilesize' + end + end + + class CreativeAssetId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :type, as: 'type' + end + end + + class CreativeAssetMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :asset_identifier, as: 'assetIdentifier', class: Google::Apis::DfareportingV2_7::CreativeAssetId, decorator: Google::Apis::DfareportingV2_7::CreativeAssetId::Representation + + collection :click_tags, as: 'clickTags', class: Google::Apis::DfareportingV2_7::ClickTag, decorator: Google::Apis::DfareportingV2_7::ClickTag::Representation + + collection :detected_features, as: 'detectedFeatures' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + collection :warned_validation_rules, as: 'warnedValidationRules' + end + end + + class CreativeAssetSelection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_asset_id, as: 'defaultAssetId' + collection :rules, as: 'rules', class: Google::Apis::DfareportingV2_7::Rule, decorator: Google::Apis::DfareportingV2_7::Rule::Representation + + end + end + + class CreativeAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active, as: 'active' + property :apply_event_tags, as: 'applyEventTags' + property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation + + collection :companion_creative_overrides, as: 'companionCreativeOverrides', class: Google::Apis::DfareportingV2_7::CompanionClickThroughOverride, decorator: Google::Apis::DfareportingV2_7::CompanionClickThroughOverride::Representation + + collection :creative_group_assignments, as: 'creativeGroupAssignments', class: Google::Apis::DfareportingV2_7::CreativeGroupAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeGroupAssignment::Representation + + property :creative_id, as: 'creativeId' + property :creative_id_dimension_value, as: 'creativeIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :end_time, as: 'endTime', type: DateTime + + collection :rich_media_exit_overrides, as: 'richMediaExitOverrides', class: Google::Apis::DfareportingV2_7::RichMediaExitOverride, decorator: Google::Apis::DfareportingV2_7::RichMediaExitOverride::Representation + + property :sequence, as: 'sequence' + property :ssl_compliant, as: 'sslCompliant' + property :start_time, as: 'startTime', type: DateTime + + property :weight, as: 'weight' + end + end + + class CreativeCustomEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :advertiser_custom_event_id, as: 'advertiserCustomEventId' + property :advertiser_custom_event_name, as: 'advertiserCustomEventName' + property :advertiser_custom_event_type, as: 'advertiserCustomEventType' + property :artwork_label, as: 'artworkLabel' + property :artwork_type, as: 'artworkType' + property :exit_url, as: 'exitUrl' + property :id, as: 'id' + property :popup_window_properties, as: 'popupWindowProperties', class: Google::Apis::DfareportingV2_7::PopupWindowProperties, decorator: Google::Apis::DfareportingV2_7::PopupWindowProperties::Representation + + property :target_type, as: 'targetType' + property :video_reporting_id, as: 'videoReportingId' + end + end + + class CreativeField + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + end + end + + class CreativeFieldAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creative_field_id, as: 'creativeFieldId' + property :creative_field_value_id, as: 'creativeFieldValueId' + end + end + + class CreativeFieldValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :value, as: 'value' + end + end + + class CreativeFieldValuesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creative_field_values, as: 'creativeFieldValues', class: Google::Apis::DfareportingV2_7::CreativeFieldValue, decorator: Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CreativeFieldsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creative_fields, as: 'creativeFields', class: Google::Apis::DfareportingV2_7::CreativeField, decorator: Google::Apis::DfareportingV2_7::CreativeField::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CreativeGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :group_number, as: 'groupNumber' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + end + end + + class CreativeGroupAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creative_group_id, as: 'creativeGroupId' + property :creative_group_number, as: 'creativeGroupNumber' + end + end + + class CreativeGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creative_groups, as: 'creativeGroups', class: Google::Apis::DfareportingV2_7::CreativeGroup, decorator: Google::Apis::DfareportingV2_7::CreativeGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CreativeOptimizationConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + collection :optimization_activitys, as: 'optimizationActivitys', class: Google::Apis::DfareportingV2_7::OptimizationActivity, decorator: Google::Apis::DfareportingV2_7::OptimizationActivity::Representation + + property :optimization_model, as: 'optimizationModel' + end + end + + class CreativeRotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creative_assignments, as: 'creativeAssignments', class: Google::Apis::DfareportingV2_7::CreativeAssignment, decorator: Google::Apis::DfareportingV2_7::CreativeAssignment::Representation + + property :creative_optimization_configuration_id, as: 'creativeOptimizationConfigurationId' + property :type, as: 'type' + property :weight_calculation_strategy, as: 'weightCalculationStrategy' + end + end + + class CreativeSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :i_frame_footer, as: 'iFrameFooter' + property :i_frame_header, as: 'iFrameHeader' + end + end + + class CreativesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :creatives, as: 'creatives', class: Google::Apis::DfareportingV2_7::Creative, decorator: Google::Apis::DfareportingV2_7::Creative::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class CrossDimensionReachReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :breakdown, as: 'breakdown', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + collection :overlap_metrics, as: 'overlapMetrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + end + end + + class CustomFloodlightVariable + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :type, as: 'type' + property :value, as: 'value' + end + end + + class CustomRichMediaEvents + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filtered_event_ids, as: 'filteredEventIds', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + end + end + + class DateRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_date, as: 'endDate', type: Date + + property :kind, as: 'kind' + property :relative_date_range, as: 'relativeDateRange' + property :start_date, as: 'startDate', type: Date + + end + end + + class DayPartTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :days_of_week, as: 'daysOfWeek' + collection :hours_of_day, as: 'hoursOfDay' + property :user_local_time, as: 'userLocalTime' + end + end + + class DefaultClickThroughEventTagProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_click_through_event_tag_id, as: 'defaultClickThroughEventTagId' + property :override_inherited_event_tag, as: 'overrideInheritedEventTag' + end + end + + class DeliverySchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :frequency_cap, as: 'frequencyCap', class: Google::Apis::DfareportingV2_7::FrequencyCap, decorator: Google::Apis::DfareportingV2_7::FrequencyCap::Representation + + property :hard_cutoff, as: 'hardCutoff' + property :impression_ratio, as: 'impressionRatio' + property :priority, as: 'priority' + end + end + + class DfpSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dfp_network_code, as: 'dfp_network_code' + property :dfp_network_name, as: 'dfp_network_name' + property :programmatic_placement_accepted, as: 'programmaticPlacementAccepted' + property :pub_paid_placement_accepted, as: 'pubPaidPlacementAccepted' + property :publisher_portal_only, as: 'publisherPortalOnly' + end + end + + class Dimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class DimensionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_name, as: 'dimensionName' + property :kind, as: 'kind' + property :value, as: 'value' + end + end + + class DimensionValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_name, as: 'dimensionName' + property :etag, as: 'etag' + property :id, as: 'id' + property :kind, as: 'kind' + property :match_type, as: 'matchType' + property :value, as: 'value' + end + end + + class DimensionValueList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + collection :items, as: 'items', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class DimensionValueRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension_name, as: 'dimensionName' + property :end_date, as: 'endDate', type: Date + + collection :filters, as: 'filters', class: Google::Apis::DfareportingV2_7::DimensionFilter, decorator: Google::Apis::DfareportingV2_7::DimensionFilter::Representation + + property :kind, as: 'kind' + property :start_date, as: 'startDate', type: Date + + end + end + + class DirectorySite + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active, as: 'active' + collection :contact_assignments, as: 'contactAssignments', class: Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment, decorator: Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment::Representation + + property :country_id, as: 'countryId' + property :currency_id, as: 'currencyId' + property :description, as: 'description' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :inpage_tag_formats, as: 'inpageTagFormats' + collection :interstitial_tag_formats, as: 'interstitialTagFormats' + property :kind, as: 'kind' + property :name, as: 'name' + property :parent_id, as: 'parentId' + property :settings, as: 'settings', class: Google::Apis::DfareportingV2_7::DirectorySiteSettings, decorator: Google::Apis::DfareportingV2_7::DirectorySiteSettings::Representation + + property :url, as: 'url' + end + end + + class DirectorySiteContact + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :email, as: 'email' + property :first_name, as: 'firstName' + property :id, as: 'id' + property :kind, as: 'kind' + property :last_name, as: 'lastName' + property :phone, as: 'phone' + property :role, as: 'role' + property :title, as: 'title' + property :type, as: 'type' + end + end + + class DirectorySiteContactAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_id, as: 'contactId' + property :visibility, as: 'visibility' + end + end + + class DirectorySiteContactsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :directory_site_contacts, as: 'directorySiteContacts', class: Google::Apis::DfareportingV2_7::DirectorySiteContact, decorator: Google::Apis::DfareportingV2_7::DirectorySiteContact::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class DirectorySiteSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active_view_opt_out, as: 'activeViewOptOut' + property :dfp_settings, as: 'dfp_settings', class: Google::Apis::DfareportingV2_7::DfpSettings, decorator: Google::Apis::DfareportingV2_7::DfpSettings::Representation + + property :instream_video_placement_accepted, as: 'instream_video_placement_accepted' + property :interstitial_placement_accepted, as: 'interstitialPlacementAccepted' + property :nielsen_ocr_opt_out, as: 'nielsenOcrOptOut' + property :verification_tag_opt_out, as: 'verificationTagOptOut' + property :video_active_view_opt_out, as: 'videoActiveViewOptOut' + end + end + + class DirectorySitesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :directory_sites, as: 'directorySites', class: Google::Apis::DfareportingV2_7::DirectorySite, decorator: Google::Apis::DfareportingV2_7::DirectorySite::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class DynamicTargetingKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + property :object_id_prop, as: 'objectId' + property :object_type, as: 'objectType' + end + end + + class DynamicTargetingKeysListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dynamic_targeting_keys, as: 'dynamicTargetingKeys', class: Google::Apis::DfareportingV2_7::DynamicTargetingKey, decorator: Google::Apis::DfareportingV2_7::DynamicTargetingKey::Representation + + property :kind, as: 'kind' + end + end + + class EncryptionInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encryption_entity_id, as: 'encryptionEntityId' + property :encryption_entity_type, as: 'encryptionEntityType' + property :encryption_source, as: 'encryptionSource' + property :kind, as: 'kind' + end + end + + class EventTag + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :campaign_id, as: 'campaignId' + property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :enabled_by_default, as: 'enabledByDefault' + property :exclude_from_adx_requests, as: 'excludeFromAdxRequests' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :site_filter_type, as: 'siteFilterType' + collection :site_ids, as: 'siteIds' + property :ssl_compliant, as: 'sslCompliant' + property :status, as: 'status' + property :subaccount_id, as: 'subaccountId' + property :type, as: 'type' + property :url, as: 'url' + property :url_escape_levels, as: 'urlEscapeLevels' + end + end + + class EventTagOverride + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + property :id, as: 'id' + end + end + + class EventTagsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :event_tags, as: 'eventTags', class: Google::Apis::DfareportingV2_7::EventTag, decorator: Google::Apis::DfareportingV2_7::EventTag::Representation + + property :kind, as: 'kind' + end + end + + class File + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + property :etag, as: 'etag' + property :file_name, as: 'fileName' + property :format, as: 'format' + property :id, as: 'id' + property :kind, as: 'kind' + property :last_modified_time, as: 'lastModifiedTime' + property :report_id, as: 'reportId' + property :status, as: 'status' + property :urls, as: 'urls', class: Google::Apis::DfareportingV2_7::File::Urls, decorator: Google::Apis::DfareportingV2_7::File::Urls::Representation + + end + + class Urls + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_url, as: 'apiUrl' + property :browser_url, as: 'browserUrl' + end + end + end + + class FileList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + collection :items, as: 'items', class: Google::Apis::DfareportingV2_7::File, decorator: Google::Apis::DfareportingV2_7::File::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class Flight + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_date, as: 'endDate', type: Date + + property :rate_or_cost, as: 'rateOrCost' + property :start_date, as: 'startDate', type: Date + + property :units, as: 'units' + end + end + + class FloodlightActivitiesGenerateTagResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :floodlight_activity_tag, as: 'floodlightActivityTag' + property :kind, as: 'kind' + end + end + + class FloodlightActivitiesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :floodlight_activities, as: 'floodlightActivities', class: Google::Apis::DfareportingV2_7::FloodlightActivity, decorator: Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class FloodlightActivity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :cache_busting_type, as: 'cacheBustingType' + property :counting_method, as: 'countingMethod' + collection :default_tags, as: 'defaultTags', class: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag::Representation + + property :expected_url, as: 'expectedUrl' + property :floodlight_activity_group_id, as: 'floodlightActivityGroupId' + property :floodlight_activity_group_name, as: 'floodlightActivityGroupName' + property :floodlight_activity_group_tag_string, as: 'floodlightActivityGroupTagString' + property :floodlight_activity_group_type, as: 'floodlightActivityGroupType' + property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :hidden, as: 'hidden' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :image_tag_enabled, as: 'imageTagEnabled' + property :kind, as: 'kind' + property :name, as: 'name' + property :notes, as: 'notes' + collection :publisher_tags, as: 'publisherTags', class: Google::Apis::DfareportingV2_7::FloodlightActivityPublisherDynamicTag, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityPublisherDynamicTag::Representation + + property :secure, as: 'secure' + property :ssl_compliant, as: 'sslCompliant' + property :ssl_required, as: 'sslRequired' + property :subaccount_id, as: 'subaccountId' + property :tag_format, as: 'tagFormat' + property :tag_string, as: 'tagString' + collection :user_defined_variable_types, as: 'userDefinedVariableTypes' + end + end + + class FloodlightActivityDynamicTag + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + property :tag, as: 'tag' + end + end + + class FloodlightActivityGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :floodlight_configuration_id, as: 'floodlightConfigurationId' + property :floodlight_configuration_id_dimension_value, as: 'floodlightConfigurationIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + property :tag_string, as: 'tagString' + property :type, as: 'type' + end + end + + class FloodlightActivityGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :floodlight_activity_groups, as: 'floodlightActivityGroups', class: Google::Apis::DfareportingV2_7::FloodlightActivityGroup, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class FloodlightActivityPublisherDynamicTag + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :click_through, as: 'clickThrough' + property :directory_site_id, as: 'directorySiteId' + property :dynamic_tag, as: 'dynamicTag', class: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag, decorator: Google::Apis::DfareportingV2_7::FloodlightActivityDynamicTag::Representation + + property :site_id, as: 'siteId' + property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :view_through, as: 'viewThrough' + end + end + + class FloodlightConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :analytics_data_sharing_enabled, as: 'analyticsDataSharingEnabled' + property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' + property :first_day_of_week, as: 'firstDayOfWeek' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :in_app_attribution_tracking_enabled, as: 'inAppAttributionTrackingEnabled' + property :kind, as: 'kind' + property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation + + property :natural_search_conversion_attribution_option, as: 'naturalSearchConversionAttributionOption' + property :omniture_settings, as: 'omnitureSettings', class: Google::Apis::DfareportingV2_7::OmnitureSettings, decorator: Google::Apis::DfareportingV2_7::OmnitureSettings::Representation + + collection :standard_variable_types, as: 'standardVariableTypes' + property :subaccount_id, as: 'subaccountId' + property :tag_settings, as: 'tagSettings', class: Google::Apis::DfareportingV2_7::TagSettings, decorator: Google::Apis::DfareportingV2_7::TagSettings::Representation + + collection :third_party_authentication_tokens, as: 'thirdPartyAuthenticationTokens', class: Google::Apis::DfareportingV2_7::ThirdPartyAuthenticationToken, decorator: Google::Apis::DfareportingV2_7::ThirdPartyAuthenticationToken::Representation + + collection :user_defined_variable_configurations, as: 'userDefinedVariableConfigurations', class: Google::Apis::DfareportingV2_7::UserDefinedVariableConfiguration, decorator: Google::Apis::DfareportingV2_7::UserDefinedVariableConfiguration::Representation + + end + end + + class FloodlightConfigurationsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :floodlight_configurations, as: 'floodlightConfigurations', class: Google::Apis::DfareportingV2_7::FloodlightConfiguration, decorator: Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + + property :kind, as: 'kind' + end + end + + class FloodlightReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + end + end + + class FrequencyCap + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :duration, as: 'duration' + property :impressions, as: 'impressions' + end + end + + class FsCommand + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :left, as: 'left' + property :position_option, as: 'positionOption' + property :top, as: 'top' + property :window_height, as: 'windowHeight' + property :window_width, as: 'windowWidth' + end + end + + class GeoTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cities, as: 'cities', class: Google::Apis::DfareportingV2_7::City, decorator: Google::Apis::DfareportingV2_7::City::Representation + + collection :countries, as: 'countries', class: Google::Apis::DfareportingV2_7::Country, decorator: Google::Apis::DfareportingV2_7::Country::Representation + + property :exclude_countries, as: 'excludeCountries' + collection :metros, as: 'metros', class: Google::Apis::DfareportingV2_7::Metro, decorator: Google::Apis::DfareportingV2_7::Metro::Representation + + collection :postal_codes, as: 'postalCodes', class: Google::Apis::DfareportingV2_7::PostalCode, decorator: Google::Apis::DfareportingV2_7::PostalCode::Representation + + collection :regions, as: 'regions', class: Google::Apis::DfareportingV2_7::Region, decorator: Google::Apis::DfareportingV2_7::Region::Representation + + end + end + + class InventoryItem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + collection :ad_slots, as: 'adSlots', class: Google::Apis::DfareportingV2_7::AdSlot, decorator: Google::Apis::DfareportingV2_7::AdSlot::Representation + + property :advertiser_id, as: 'advertiserId' + property :content_category_id, as: 'contentCategoryId' + property :estimated_click_through_rate, as: 'estimatedClickThroughRate' + property :estimated_conversion_rate, as: 'estimatedConversionRate' + property :id, as: 'id' + property :in_plan, as: 'inPlan' + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :name, as: 'name' + property :negotiation_channel_id, as: 'negotiationChannelId' + property :order_id, as: 'orderId' + property :placement_strategy_id, as: 'placementStrategyId' + property :pricing, as: 'pricing', class: Google::Apis::DfareportingV2_7::Pricing, decorator: Google::Apis::DfareportingV2_7::Pricing::Representation + + property :project_id, as: 'projectId' + property :rfp_id, as: 'rfpId' + property :site_id, as: 'siteId' + property :subaccount_id, as: 'subaccountId' + property :type, as: 'type' + end + end + + class InventoryItemsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :inventory_items, as: 'inventoryItems', class: Google::Apis::DfareportingV2_7::InventoryItem, decorator: Google::Apis::DfareportingV2_7::InventoryItem::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class KeyValueTargetingExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expression, as: 'expression' + end + end + + class LandingPage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default, as: 'default' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :url, as: 'url' + end + end + + class LandingPagesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :landing_pages, as: 'landingPages', class: Google::Apis::DfareportingV2_7::LandingPage, decorator: Google::Apis::DfareportingV2_7::LandingPage::Representation + + end + end + + class Language + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :language_code, as: 'languageCode' + property :name, as: 'name' + end + end + + class LanguageTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :languages, as: 'languages', class: Google::Apis::DfareportingV2_7::Language, decorator: Google::Apis::DfareportingV2_7::Language::Representation + + end + end + + class LanguagesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :languages, as: 'languages', class: Google::Apis::DfareportingV2_7::Language, decorator: Google::Apis::DfareportingV2_7::Language::Representation + + end + end + + class LastModifiedInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :time, as: 'time' + end + end + + class ListPopulationClause + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :terms, as: 'terms', class: Google::Apis::DfareportingV2_7::ListPopulationTerm, decorator: Google::Apis::DfareportingV2_7::ListPopulationTerm::Representation + + end + end + + class ListPopulationRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_name, as: 'floodlightActivityName' + collection :list_population_clauses, as: 'listPopulationClauses', class: Google::Apis::DfareportingV2_7::ListPopulationClause, decorator: Google::Apis::DfareportingV2_7::ListPopulationClause::Representation + + end + end + + class ListPopulationTerm + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contains, as: 'contains' + property :negation, as: 'negation' + property :operator, as: 'operator' + property :remarketing_list_id, as: 'remarketingListId' + property :type, as: 'type' + property :value, as: 'value' + property :variable_friendly_name, as: 'variableFriendlyName' + property :variable_name, as: 'variableName' + end + end + + class ListTargetingExpression + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :expression, as: 'expression' + end + end + + class LookbackConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :click_duration, as: 'clickDuration' + property :post_impression_activities_duration, as: 'postImpressionActivitiesDuration' + end + end + + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class Metro + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :country_dart_id, as: 'countryDartId' + property :dart_id, as: 'dartId' + property :dma_id, as: 'dmaId' + property :kind, as: 'kind' + property :metro_code, as: 'metroCode' + property :name, as: 'name' + end + end + + class MetrosListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :metros, as: 'metros', class: Google::Apis::DfareportingV2_7::Metro, decorator: Google::Apis::DfareportingV2_7::Metro::Representation + + end + end + + class MobileCarrier + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :country_dart_id, as: 'countryDartId' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class MobileCarriersListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :mobile_carriers, as: 'mobileCarriers', class: Google::Apis::DfareportingV2_7::MobileCarrier, decorator: Google::Apis::DfareportingV2_7::MobileCarrier::Representation + + end + end + + class ObjectFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :object_ids, as: 'objectIds' + property :status, as: 'status' + end + end + + class OffsetPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :left, as: 'left' + property :top, as: 'top' + end + end + + class OmnitureSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :omniture_cost_data_enabled, as: 'omnitureCostDataEnabled' + property :omniture_integration_enabled, as: 'omnitureIntegrationEnabled' + end + end + + class OperatingSystem + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dart_id, as: 'dartId' + property :desktop, as: 'desktop' + property :kind, as: 'kind' + property :mobile, as: 'mobile' + property :name, as: 'name' + end + end + + class OperatingSystemVersion + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :major_version, as: 'majorVersion' + property :minor_version, as: 'minorVersion' + property :name, as: 'name' + property :operating_system, as: 'operatingSystem', class: Google::Apis::DfareportingV2_7::OperatingSystem, decorator: Google::Apis::DfareportingV2_7::OperatingSystem::Representation + + end + end + + class OperatingSystemVersionsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :operating_system_versions, as: 'operatingSystemVersions', class: Google::Apis::DfareportingV2_7::OperatingSystemVersion, decorator: Google::Apis::DfareportingV2_7::OperatingSystemVersion::Representation + + end + end + + class OperatingSystemsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :operating_systems, as: 'operatingSystems', class: Google::Apis::DfareportingV2_7::OperatingSystem, decorator: Google::Apis::DfareportingV2_7::OperatingSystem::Representation + + end + end + + class OptimizationActivity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :floodlight_activity_id, as: 'floodlightActivityId' + property :floodlight_activity_id_dimension_value, as: 'floodlightActivityIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :weight, as: 'weight' + end + end + + class Order + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + collection :approver_user_profile_ids, as: 'approverUserProfileIds' + property :buyer_invoice_id, as: 'buyerInvoiceId' + property :buyer_organization_name, as: 'buyerOrganizationName' + property :comments, as: 'comments' + collection :contacts, as: 'contacts', class: Google::Apis::DfareportingV2_7::OrderContact, decorator: Google::Apis::DfareportingV2_7::OrderContact::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :name, as: 'name' + property :notes, as: 'notes' + property :planning_term_id, as: 'planningTermId' + property :project_id, as: 'projectId' + property :seller_order_id, as: 'sellerOrderId' + property :seller_organization_name, as: 'sellerOrganizationName' + collection :site_id, as: 'siteId' + collection :site_names, as: 'siteNames' + property :subaccount_id, as: 'subaccountId' + property :terms_and_conditions, as: 'termsAndConditions' + end + end + + class OrderContact + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_info, as: 'contactInfo' + property :contact_name, as: 'contactName' + property :contact_title, as: 'contactTitle' + property :contact_type, as: 'contactType' + property :signature_user_profile_id, as: 'signatureUserProfileId' + end + end + + class OrderDocument + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :amended_order_document_id, as: 'amendedOrderDocumentId' + collection :approved_by_user_profile_ids, as: 'approvedByUserProfileIds' + property :cancelled, as: 'cancelled' + property :created_info, as: 'createdInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :effective_date, as: 'effectiveDate', type: Date + + property :id, as: 'id' + property :kind, as: 'kind' + collection :last_sent_recipients, as: 'lastSentRecipients' + property :last_sent_time, as: 'lastSentTime', type: DateTime + + property :order_id, as: 'orderId' + property :project_id, as: 'projectId' + property :signed, as: 'signed' + property :subaccount_id, as: 'subaccountId' + property :title, as: 'title' + property :type, as: 'type' + end + end + + class OrderDocumentsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :order_documents, as: 'orderDocuments', class: Google::Apis::DfareportingV2_7::OrderDocument, decorator: Google::Apis::DfareportingV2_7::OrderDocument::Representation + + end + end + + class OrdersListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :orders, as: 'orders', class: Google::Apis::DfareportingV2_7::Order, decorator: Google::Apis::DfareportingV2_7::Order::Representation + + end + end + + class PathToConversionReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversion_dimensions, as: 'conversionDimensions', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + collection :custom_floodlight_variables, as: 'customFloodlightVariables', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + collection :per_interaction_dimensions, as: 'perInteractionDimensions', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + end + end + + class Placement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :archived, as: 'archived' + property :campaign_id, as: 'campaignId' + property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :comment, as: 'comment' + property :compatibility, as: 'compatibility' + property :content_category_id, as: 'contentCategoryId' + property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :directory_site_id, as: 'directorySiteId' + property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :external_id, as: 'externalId' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :key_name, as: 'keyName' + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation + + property :name, as: 'name' + property :payment_approved, as: 'paymentApproved' + property :payment_source, as: 'paymentSource' + property :placement_group_id, as: 'placementGroupId' + property :placement_group_id_dimension_value, as: 'placementGroupIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :placement_strategy_id, as: 'placementStrategyId' + property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_7::PricingSchedule, decorator: Google::Apis::DfareportingV2_7::PricingSchedule::Representation + + property :primary, as: 'primary' + property :publisher_update_info, as: 'publisherUpdateInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :site_id, as: 'siteId' + property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :size, as: 'size', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :ssl_required, as: 'sslRequired' + property :status, as: 'status' + property :subaccount_id, as: 'subaccountId' + collection :tag_formats, as: 'tagFormats' + property :tag_setting, as: 'tagSetting', class: Google::Apis::DfareportingV2_7::TagSetting, decorator: Google::Apis::DfareportingV2_7::TagSetting::Representation + + property :video_active_view_opt_out, as: 'videoActiveViewOptOut' + property :video_settings, as: 'videoSettings', class: Google::Apis::DfareportingV2_7::VideoSettings, decorator: Google::Apis::DfareportingV2_7::VideoSettings::Representation + + property :vpaid_adapter_choice, as: 'vpaidAdapterChoice' + end + end + + class PlacementAssignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active, as: 'active' + property :placement_id, as: 'placementId' + property :placement_id_dimension_value, as: 'placementIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :ssl_required, as: 'sslRequired' + end + end + + class PlacementGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :archived, as: 'archived' + property :campaign_id, as: 'campaignId' + property :campaign_id_dimension_value, as: 'campaignIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :child_placement_ids, as: 'childPlacementIds' + property :comment, as: 'comment' + property :content_category_id, as: 'contentCategoryId' + property :create_info, as: 'createInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :directory_site_id, as: 'directorySiteId' + property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :external_id, as: 'externalId' + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :name, as: 'name' + property :placement_group_type, as: 'placementGroupType' + property :placement_strategy_id, as: 'placementStrategyId' + property :pricing_schedule, as: 'pricingSchedule', class: Google::Apis::DfareportingV2_7::PricingSchedule, decorator: Google::Apis::DfareportingV2_7::PricingSchedule::Representation + + property :primary_placement_id, as: 'primaryPlacementId' + property :primary_placement_id_dimension_value, as: 'primaryPlacementIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :site_id, as: 'siteId' + property :site_id_dimension_value, as: 'siteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :subaccount_id, as: 'subaccountId' + end + end + + class PlacementGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :placement_groups, as: 'placementGroups', class: Google::Apis::DfareportingV2_7::PlacementGroup, decorator: Google::Apis::DfareportingV2_7::PlacementGroup::Representation + + end + end + + class PlacementStrategiesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :placement_strategies, as: 'placementStrategies', class: Google::Apis::DfareportingV2_7::PlacementStrategy, decorator: Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + + end + end + + class PlacementStrategy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class PlacementTag + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :placement_id, as: 'placementId' + collection :tag_datas, as: 'tagDatas', class: Google::Apis::DfareportingV2_7::TagData, decorator: Google::Apis::DfareportingV2_7::TagData::Representation + + end + end + + class PlacementsGenerateTagsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :placement_tags, as: 'placementTags', class: Google::Apis::DfareportingV2_7::PlacementTag, decorator: Google::Apis::DfareportingV2_7::PlacementTag::Representation + + end + end + + class PlacementsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :placements, as: 'placements', class: Google::Apis::DfareportingV2_7::Placement, decorator: Google::Apis::DfareportingV2_7::Placement::Representation + + end + end + + class PlatformType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class PlatformTypesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :platform_types, as: 'platformTypes', class: Google::Apis::DfareportingV2_7::PlatformType, decorator: Google::Apis::DfareportingV2_7::PlatformType::Representation + + end + end + + class PopupWindowProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimension, as: 'dimension', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :offset, as: 'offset', class: Google::Apis::DfareportingV2_7::OffsetPosition, decorator: Google::Apis::DfareportingV2_7::OffsetPosition::Representation + + property :position_type, as: 'positionType' + property :show_address_bar, as: 'showAddressBar' + property :show_menu_bar, as: 'showMenuBar' + property :show_scroll_bar, as: 'showScrollBar' + property :show_status_bar, as: 'showStatusBar' + property :show_tool_bar, as: 'showToolBar' + property :title, as: 'title' + end + end + + class PostalCode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :code, as: 'code' + property :country_code, as: 'countryCode' + property :country_dart_id, as: 'countryDartId' + property :id, as: 'id' + property :kind, as: 'kind' + end + end + + class PostalCodesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :postal_codes, as: 'postalCodes', class: Google::Apis::DfareportingV2_7::PostalCode, decorator: Google::Apis::DfareportingV2_7::PostalCode::Representation + + end + end + + class Pricing + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cap_cost_type, as: 'capCostType' + property :end_date, as: 'endDate', type: Date + + collection :flights, as: 'flights', class: Google::Apis::DfareportingV2_7::Flight, decorator: Google::Apis::DfareportingV2_7::Flight::Representation + + property :group_type, as: 'groupType' + property :pricing_type, as: 'pricingType' + property :start_date, as: 'startDate', type: Date + + end + end + + class PricingSchedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cap_cost_option, as: 'capCostOption' + property :disregard_overdelivery, as: 'disregardOverdelivery' + property :end_date, as: 'endDate', type: Date + + property :flighted, as: 'flighted' + property :floodlight_activity_id, as: 'floodlightActivityId' + collection :pricing_periods, as: 'pricingPeriods', class: Google::Apis::DfareportingV2_7::PricingSchedulePricingPeriod, decorator: Google::Apis::DfareportingV2_7::PricingSchedulePricingPeriod::Representation + + property :pricing_type, as: 'pricingType' + property :start_date, as: 'startDate', type: Date + + property :testing_start_date, as: 'testingStartDate', type: Date + + end + end + + class PricingSchedulePricingPeriod + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_date, as: 'endDate', type: Date + + property :pricing_comment, as: 'pricingComment' + property :rate_or_cost_nanos, as: 'rateOrCostNanos' + property :start_date, as: 'startDate', type: Date + + property :units, as: 'units' + end + end + + class Project + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :audience_age_group, as: 'audienceAgeGroup' + property :audience_gender, as: 'audienceGender' + property :budget, as: 'budget' + property :client_billing_code, as: 'clientBillingCode' + property :client_name, as: 'clientName' + property :end_date, as: 'endDate', type: Date + + property :id, as: 'id' + property :kind, as: 'kind' + property :last_modified_info, as: 'lastModifiedInfo', class: Google::Apis::DfareportingV2_7::LastModifiedInfo, decorator: Google::Apis::DfareportingV2_7::LastModifiedInfo::Representation + + property :name, as: 'name' + property :overview, as: 'overview' + property :start_date, as: 'startDate', type: Date + + property :subaccount_id, as: 'subaccountId' + property :target_clicks, as: 'targetClicks' + property :target_conversions, as: 'targetConversions' + property :target_cpa_nanos, as: 'targetCpaNanos' + property :target_cpc_nanos, as: 'targetCpcNanos' + property :target_cpm_active_view_nanos, as: 'targetCpmActiveViewNanos' + property :target_cpm_nanos, as: 'targetCpmNanos' + property :target_impressions, as: 'targetImpressions' + end + end + + class ProjectsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :projects, as: 'projects', class: Google::Apis::DfareportingV2_7::Project, decorator: Google::Apis::DfareportingV2_7::Project::Representation + + end + end + + class ReachReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + collection :pivoted_activity_metrics, as: 'pivotedActivityMetrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + collection :reach_by_frequency_metrics, as: 'reachByFrequencyMetrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + end + end + + class Recipient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delivery_type, as: 'deliveryType' + property :email, as: 'email' + property :kind, as: 'kind' + end + end + + class Region + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :country_dart_id, as: 'countryDartId' + property :dart_id, as: 'dartId' + property :kind, as: 'kind' + property :name, as: 'name' + property :region_code, as: 'regionCode' + end + end + + class RegionsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :regions, as: 'regions', class: Google::Apis::DfareportingV2_7::Region, decorator: Google::Apis::DfareportingV2_7::Region::Representation + + end + end + + class RemarketingList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active, as: 'active' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :life_span, as: 'lifeSpan' + property :list_population_rule, as: 'listPopulationRule', class: Google::Apis::DfareportingV2_7::ListPopulationRule, decorator: Google::Apis::DfareportingV2_7::ListPopulationRule::Representation + + property :list_size, as: 'listSize' + property :list_source, as: 'listSource' + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + end + end + + class RemarketingListShare + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :remarketing_list_id, as: 'remarketingListId' + collection :shared_account_ids, as: 'sharedAccountIds' + collection :shared_advertiser_ids, as: 'sharedAdvertiserIds' + end + end + + class RemarketingListsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :remarketing_lists, as: 'remarketingLists', class: Google::Apis::DfareportingV2_7::RemarketingList, decorator: Google::Apis::DfareportingV2_7::RemarketingList::Representation + + end + end + + class Report + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :criteria, as: 'criteria', class: Google::Apis::DfareportingV2_7::Report::Criteria, decorator: Google::Apis::DfareportingV2_7::Report::Criteria::Representation + + property :cross_dimension_reach_criteria, as: 'crossDimensionReachCriteria', class: Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria, decorator: Google::Apis::DfareportingV2_7::Report::CrossDimensionReachCriteria::Representation + + property :delivery, as: 'delivery', class: Google::Apis::DfareportingV2_7::Report::Delivery, decorator: Google::Apis::DfareportingV2_7::Report::Delivery::Representation + + property :etag, as: 'etag' + property :file_name, as: 'fileName' + property :floodlight_criteria, as: 'floodlightCriteria', class: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria, decorator: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria::Representation + + property :format, as: 'format' + property :id, as: 'id' + property :kind, as: 'kind' + property :last_modified_time, as: 'lastModifiedTime' + property :name, as: 'name' + property :owner_profile_id, as: 'ownerProfileId' + property :path_to_conversion_criteria, as: 'pathToConversionCriteria', class: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria, decorator: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria::Representation + + property :reach_criteria, as: 'reachCriteria', class: Google::Apis::DfareportingV2_7::Report::ReachCriteria, decorator: Google::Apis::DfareportingV2_7::Report::ReachCriteria::Representation + + property :schedule, as: 'schedule', class: Google::Apis::DfareportingV2_7::Report::Schedule, decorator: Google::Apis::DfareportingV2_7::Report::Schedule::Representation + + property :sub_account_id, as: 'subAccountId' + property :type, as: 'type' + end + + class Criteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :activities, as: 'activities', class: Google::Apis::DfareportingV2_7::Activities, decorator: Google::Apis::DfareportingV2_7::Activities::Representation + + property :custom_rich_media_events, as: 'customRichMediaEvents', class: Google::Apis::DfareportingV2_7::CustomRichMediaEvents, decorator: Google::Apis::DfareportingV2_7::CustomRichMediaEvents::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + collection :metric_names, as: 'metricNames' + end + end + + class CrossDimensionReachCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :breakdown, as: 'breakdown', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + property :dimension, as: 'dimension' + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :metric_names, as: 'metricNames' + collection :overlap_metric_names, as: 'overlapMetricNames' + property :pivoted, as: 'pivoted' + end + end + + class Delivery + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email_owner, as: 'emailOwner' + property :email_owner_delivery_type, as: 'emailOwnerDeliveryType' + property :message, as: 'message' + collection :recipients, as: 'recipients', class: Google::Apis::DfareportingV2_7::Recipient, decorator: Google::Apis::DfareportingV2_7::Recipient::Representation + + end + end + + class FloodlightCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :custom_rich_media_events, as: 'customRichMediaEvents', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + property :floodlight_config_id, as: 'floodlightConfigId', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :metric_names, as: 'metricNames' + property :report_properties, as: 'reportProperties', class: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria::ReportProperties, decorator: Google::Apis::DfareportingV2_7::Report::FloodlightCriteria::ReportProperties::Representation + + end + + class ReportProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :include_attributed_ip_conversions, as: 'includeAttributedIPConversions' + property :include_unattributed_cookie_conversions, as: 'includeUnattributedCookieConversions' + property :include_unattributed_ip_conversions, as: 'includeUnattributedIPConversions' + end + end + end + + class PathToConversionCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :activity_filters, as: 'activityFilters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :conversion_dimensions, as: 'conversionDimensions', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + collection :custom_floodlight_variables, as: 'customFloodlightVariables', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + collection :custom_rich_media_events, as: 'customRichMediaEvents', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + property :floodlight_config_id, as: 'floodlightConfigId', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :metric_names, as: 'metricNames' + collection :per_interaction_dimensions, as: 'perInteractionDimensions', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + property :report_properties, as: 'reportProperties', class: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria::ReportProperties, decorator: Google::Apis::DfareportingV2_7::Report::PathToConversionCriteria::ReportProperties::Representation + + end + + class ReportProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :clicks_lookback_window, as: 'clicksLookbackWindow' + property :impressions_lookback_window, as: 'impressionsLookbackWindow' + property :include_attributed_ip_conversions, as: 'includeAttributedIPConversions' + property :include_unattributed_cookie_conversions, as: 'includeUnattributedCookieConversions' + property :include_unattributed_ip_conversions, as: 'includeUnattributedIPConversions' + property :maximum_click_interactions, as: 'maximumClickInteractions' + property :maximum_impression_interactions, as: 'maximumImpressionInteractions' + property :maximum_interaction_gap, as: 'maximumInteractionGap' + property :pivot_on_interaction_path, as: 'pivotOnInteractionPath' + end + end + end + + class ReachCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :activities, as: 'activities', class: Google::Apis::DfareportingV2_7::Activities, decorator: Google::Apis::DfareportingV2_7::Activities::Representation + + property :custom_rich_media_events, as: 'customRichMediaEvents', class: Google::Apis::DfareportingV2_7::CustomRichMediaEvents, decorator: Google::Apis::DfareportingV2_7::CustomRichMediaEvents::Representation + + property :date_range, as: 'dateRange', class: Google::Apis::DfareportingV2_7::DateRange, decorator: Google::Apis::DfareportingV2_7::DateRange::Representation + + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::SortedDimension, decorator: Google::Apis::DfareportingV2_7::SortedDimension::Representation + + property :enable_all_dimension_combinations, as: 'enableAllDimensionCombinations' + collection :metric_names, as: 'metricNames' + collection :reach_by_frequency_metric_names, as: 'reachByFrequencyMetricNames' + end + end + + class Schedule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active, as: 'active' + property :every, as: 'every' + property :expiration_date, as: 'expirationDate', type: Date + + property :repeats, as: 'repeats' + collection :repeats_on_week_days, as: 'repeatsOnWeekDays' + property :runs_on_day_of_month, as: 'runsOnDayOfMonth' + property :start_date, as: 'startDate', type: Date + + end + end + end + + class ReportCompatibleFields + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dimension_filters, as: 'dimensionFilters', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + collection :dimensions, as: 'dimensions', class: Google::Apis::DfareportingV2_7::Dimension, decorator: Google::Apis::DfareportingV2_7::Dimension::Representation + + property :kind, as: 'kind' + collection :metrics, as: 'metrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + collection :pivoted_activity_metrics, as: 'pivotedActivityMetrics', class: Google::Apis::DfareportingV2_7::Metric, decorator: Google::Apis::DfareportingV2_7::Metric::Representation + + end + end + + class ReportList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + collection :items, as: 'items', class: Google::Apis::DfareportingV2_7::Report, decorator: Google::Apis::DfareportingV2_7::Report::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class ReportsConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exposure_to_conversion_enabled, as: 'exposureToConversionEnabled' + property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation + + property :report_generation_time_zone_id, as: 'reportGenerationTimeZoneId' + end + end + + class RichMediaExitOverride + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :click_through_url, as: 'clickThroughUrl', class: Google::Apis::DfareportingV2_7::ClickThroughUrl, decorator: Google::Apis::DfareportingV2_7::ClickThroughUrl::Representation + + property :enabled, as: 'enabled' + property :exit_id, as: 'exitId' + end + end + + class Rule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :asset_id, as: 'assetId' + property :name, as: 'name' + property :targeting_template_id, as: 'targetingTemplateId' + end + end + + class Site + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :approved, as: 'approved' + property :directory_site_id, as: 'directorySiteId' + property :directory_site_id_dimension_value, as: 'directorySiteIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :id, as: 'id' + property :id_dimension_value, as: 'idDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :key_name, as: 'keyName' + property :kind, as: 'kind' + property :name, as: 'name' + collection :site_contacts, as: 'siteContacts', class: Google::Apis::DfareportingV2_7::SiteContact, decorator: Google::Apis::DfareportingV2_7::SiteContact::Representation + + property :site_settings, as: 'siteSettings', class: Google::Apis::DfareportingV2_7::SiteSettings, decorator: Google::Apis::DfareportingV2_7::SiteSettings::Representation + + property :subaccount_id, as: 'subaccountId' + end + end + + class SiteContact + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :address, as: 'address' + property :contact_type, as: 'contactType' + property :email, as: 'email' + property :first_name, as: 'firstName' + property :id, as: 'id' + property :last_name, as: 'lastName' + property :phone, as: 'phone' + property :title, as: 'title' + end + end + + class SiteSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :active_view_opt_out, as: 'activeViewOptOut' + property :creative_settings, as: 'creativeSettings', class: Google::Apis::DfareportingV2_7::CreativeSettings, decorator: Google::Apis::DfareportingV2_7::CreativeSettings::Representation + + property :disable_brand_safe_ads, as: 'disableBrandSafeAds' + property :disable_new_cookie, as: 'disableNewCookie' + property :lookback_configuration, as: 'lookbackConfiguration', class: Google::Apis::DfareportingV2_7::LookbackConfiguration, decorator: Google::Apis::DfareportingV2_7::LookbackConfiguration::Representation + + property :tag_setting, as: 'tagSetting', class: Google::Apis::DfareportingV2_7::TagSetting, decorator: Google::Apis::DfareportingV2_7::TagSetting::Representation + + property :video_active_view_opt_out_template, as: 'videoActiveViewOptOutTemplate' + property :vpaid_adapter_choice_template, as: 'vpaidAdapterChoiceTemplate' + end + end + + class SitesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :sites, as: 'sites', class: Google::Apis::DfareportingV2_7::Site, decorator: Google::Apis::DfareportingV2_7::Site::Representation + + end + end + + class Size + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :iab, as: 'iab' + property :id, as: 'id' + property :kind, as: 'kind' + property :width, as: 'width' + end + end + + class SizesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :sizes, as: 'sizes', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + end + end + + class SkippableSetting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :progress_offset, as: 'progressOffset', class: Google::Apis::DfareportingV2_7::VideoOffset, decorator: Google::Apis::DfareportingV2_7::VideoOffset::Representation + + property :skip_offset, as: 'skipOffset', class: Google::Apis::DfareportingV2_7::VideoOffset, decorator: Google::Apis::DfareportingV2_7::VideoOffset::Representation + + property :skippable, as: 'skippable' + end + end + + class SortedDimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + property :sort_order, as: 'sortOrder' + end + end + + class Subaccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + collection :available_permission_ids, as: 'availablePermissionIds' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class SubaccountsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :subaccounts, as: 'subaccounts', class: Google::Apis::DfareportingV2_7::Subaccount, decorator: Google::Apis::DfareportingV2_7::Subaccount::Representation + + end + end + + class TagData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ad_id, as: 'adId' + property :click_tag, as: 'clickTag' + property :creative_id, as: 'creativeId' + property :format, as: 'format' + property :impression_tag, as: 'impressionTag' + end + end + + class TagSetting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :additional_key_values, as: 'additionalKeyValues' + property :include_click_through_urls, as: 'includeClickThroughUrls' + property :include_click_tracking, as: 'includeClickTracking' + property :keyword_option, as: 'keywordOption' + end + end + + class TagSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dynamic_tag_enabled, as: 'dynamicTagEnabled' + property :image_tag_enabled, as: 'imageTagEnabled' + end + end + + class TargetWindow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :custom_html, as: 'customHtml' + property :target_window_option, as: 'targetWindowOption' + end + end + + class TargetableRemarketingList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :active, as: 'active' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :description, as: 'description' + property :id, as: 'id' + property :kind, as: 'kind' + property :life_span, as: 'lifeSpan' + property :list_size, as: 'listSize' + property :list_source, as: 'listSource' + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + end + end + + class TargetableRemarketingListsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :targetable_remarketing_lists, as: 'targetableRemarketingLists', class: Google::Apis::DfareportingV2_7::TargetableRemarketingList, decorator: Google::Apis::DfareportingV2_7::TargetableRemarketingList::Representation + + end + end + + class TargetingTemplate + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :advertiser_id, as: 'advertiserId' + property :advertiser_id_dimension_value, as: 'advertiserIdDimensionValue', class: Google::Apis::DfareportingV2_7::DimensionValue, decorator: Google::Apis::DfareportingV2_7::DimensionValue::Representation + + property :day_part_targeting, as: 'dayPartTargeting', class: Google::Apis::DfareportingV2_7::DayPartTargeting, decorator: Google::Apis::DfareportingV2_7::DayPartTargeting::Representation + + property :geo_targeting, as: 'geoTargeting', class: Google::Apis::DfareportingV2_7::GeoTargeting, decorator: Google::Apis::DfareportingV2_7::GeoTargeting::Representation + + property :id, as: 'id' + property :key_value_targeting_expression, as: 'keyValueTargetingExpression', class: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression, decorator: Google::Apis::DfareportingV2_7::KeyValueTargetingExpression::Representation + + property :kind, as: 'kind' + property :language_targeting, as: 'languageTargeting', class: Google::Apis::DfareportingV2_7::LanguageTargeting, decorator: Google::Apis::DfareportingV2_7::LanguageTargeting::Representation + + property :list_targeting_expression, as: 'listTargetingExpression', class: Google::Apis::DfareportingV2_7::ListTargetingExpression, decorator: Google::Apis::DfareportingV2_7::ListTargetingExpression::Representation + + property :name, as: 'name' + property :subaccount_id, as: 'subaccountId' + property :technology_targeting, as: 'technologyTargeting', class: Google::Apis::DfareportingV2_7::TechnologyTargeting, decorator: Google::Apis::DfareportingV2_7::TechnologyTargeting::Representation + + end + end + + class TargetingTemplatesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :targeting_templates, as: 'targetingTemplates', class: Google::Apis::DfareportingV2_7::TargetingTemplate, decorator: Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + + end + end + + class TechnologyTargeting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :browsers, as: 'browsers', class: Google::Apis::DfareportingV2_7::Browser, decorator: Google::Apis::DfareportingV2_7::Browser::Representation + + collection :connection_types, as: 'connectionTypes', class: Google::Apis::DfareportingV2_7::ConnectionType, decorator: Google::Apis::DfareportingV2_7::ConnectionType::Representation + + collection :mobile_carriers, as: 'mobileCarriers', class: Google::Apis::DfareportingV2_7::MobileCarrier, decorator: Google::Apis::DfareportingV2_7::MobileCarrier::Representation + + collection :operating_system_versions, as: 'operatingSystemVersions', class: Google::Apis::DfareportingV2_7::OperatingSystemVersion, decorator: Google::Apis::DfareportingV2_7::OperatingSystemVersion::Representation + + collection :operating_systems, as: 'operatingSystems', class: Google::Apis::DfareportingV2_7::OperatingSystem, decorator: Google::Apis::DfareportingV2_7::OperatingSystem::Representation + + collection :platform_types, as: 'platformTypes', class: Google::Apis::DfareportingV2_7::PlatformType, decorator: Google::Apis::DfareportingV2_7::PlatformType::Representation + + end + end + + class ThirdPartyAuthenticationToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :value, as: 'value' + end + end + + class ThirdPartyTrackingUrl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :third_party_url_type, as: 'thirdPartyUrlType' + property :url, as: 'url' + end + end + + class TranscodeSetting + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :enabled_video_formats, as: 'enabledVideoFormats' + property :kind, as: 'kind' + end + end + + class UserDefinedVariableConfiguration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data_type, as: 'dataType' + property :report_name, as: 'reportName' + property :variable_type, as: 'variableType' + end + end + + class UserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :account_name, as: 'accountName' + property :etag, as: 'etag' + property :kind, as: 'kind' + property :profile_id, as: 'profileId' + property :sub_account_id, as: 'subAccountId' + property :sub_account_name, as: 'subAccountName' + property :user_name, as: 'userName' + end + end + + class UserProfileList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :etag, as: 'etag' + collection :items, as: 'items', class: Google::Apis::DfareportingV2_7::UserProfile, decorator: Google::Apis::DfareportingV2_7::UserProfile::Representation + + property :kind, as: 'kind' + end + end + + class UserRole + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account_id, as: 'accountId' + property :default_user_role, as: 'defaultUserRole' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :parent_user_role_id, as: 'parentUserRoleId' + collection :permissions, as: 'permissions', class: Google::Apis::DfareportingV2_7::UserRolePermission, decorator: Google::Apis::DfareportingV2_7::UserRolePermission::Representation + + property :subaccount_id, as: 'subaccountId' + end + end + + class UserRolePermission + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :availability, as: 'availability' + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :permission_group_id, as: 'permissionGroupId' + end + end + + class UserRolePermissionGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + end + + class UserRolePermissionGroupsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :user_role_permission_groups, as: 'userRolePermissionGroups', class: Google::Apis::DfareportingV2_7::UserRolePermissionGroup, decorator: Google::Apis::DfareportingV2_7::UserRolePermissionGroup::Representation + + end + end + + class UserRolePermissionsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :user_role_permissions, as: 'userRolePermissions', class: Google::Apis::DfareportingV2_7::UserRolePermission, decorator: Google::Apis::DfareportingV2_7::UserRolePermission::Representation + + end + end + + class UserRolesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :user_roles, as: 'userRoles', class: Google::Apis::DfareportingV2_7::UserRole, decorator: Google::Apis::DfareportingV2_7::UserRole::Representation + + end + end + + class VideoFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_type, as: 'fileType' + property :id, as: 'id' + property :kind, as: 'kind' + property :resolution, as: 'resolution', class: Google::Apis::DfareportingV2_7::Size, decorator: Google::Apis::DfareportingV2_7::Size::Representation + + property :target_bit_rate, as: 'targetBitRate' + end + end + + class VideoFormatsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :video_formats, as: 'videoFormats', class: Google::Apis::DfareportingV2_7::VideoFormat, decorator: Google::Apis::DfareportingV2_7::VideoFormat::Representation + + end + end + + class VideoOffset + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :offset_percentage, as: 'offsetPercentage' + property :offset_seconds, as: 'offsetSeconds' + end + end + + class VideoSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :companion_settings, as: 'companionSettings', class: Google::Apis::DfareportingV2_7::CompanionSetting, decorator: Google::Apis::DfareportingV2_7::CompanionSetting::Representation + + property :kind, as: 'kind' + property :skippable_settings, as: 'skippableSettings', class: Google::Apis::DfareportingV2_7::SkippableSetting, decorator: Google::Apis::DfareportingV2_7::SkippableSetting::Representation + + property :transcode_settings, as: 'transcodeSettings', class: Google::Apis::DfareportingV2_7::TranscodeSetting, decorator: Google::Apis::DfareportingV2_7::TranscodeSetting::Representation + + end + end + end + end +end diff --git a/generated/google/apis/dfareporting_v2_7/service.rb b/generated/google/apis/dfareporting_v2_7/service.rb new file mode 100644 index 000000000..9c8d3762f --- /dev/null +++ b/generated/google/apis/dfareporting_v2_7/service.rb @@ -0,0 +1,9095 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DfareportingV2_7 + # DCM/DFA Reporting And Trafficking API + # + # Manages your DoubleClick Campaign Manager ad campaigns and reports. + # + # @example + # require 'google/apis/dfareporting_v2_7' + # + # Dfareporting = Google::Apis::DfareportingV2_7 # Alias the module + # service = Dfareporting::DfareportingService.new + # + # @see https://developers.google.com/doubleclick-advertisers/ + class DfareportingService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'dfareporting/v2.7/') + end + + # Gets the account's active ad summary by account ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] summary_account_id + # Account ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountActiveAdSummary] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountActiveAdSummary] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_active_ad_summary(profile_id, summary_account_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountActiveAdSummary::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountActiveAdSummary + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['summaryAccountId'] = summary_account_id unless summary_account_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one account permission group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Account permission group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountPermissionGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountPermissionGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_permission_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissionGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountPermissionGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountPermissionGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of account permission groups. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountPermissionGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountPermissionGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_permission_groups(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissionGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountPermissionGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountPermissionGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one account permission by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Account permission ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountPermission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountPermission] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_permission(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissions/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountPermission::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountPermission + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of account permissions. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountPermissionsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountPermissionsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_permissions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountPermissions', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountPermissionsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountPermissionsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one account user profile by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User profile ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountUserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountUserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_user_profile(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountUserProfiles/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountUserProfile + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new account user profile. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountUserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountUserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_account_user_profile(profile_id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/accountUserProfiles', options) + command.request_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.request_object = account_user_profile_object + command.response_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountUserProfile + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of account user profiles, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] active + # Select only active user profiles. + # @param [Array, String] ids + # Select only user profiles with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name, ID or email. Wildcards (*) are allowed. + # For example, "user profile*2015" will return objects with names like "user + # profile June 2015", "user profile April 2015", or simply "user profile 2015". + # Most of the searches also add wildcards implicitly at the start and the end of + # the search string. For example, a search string of "user profile" will match + # objects with name "my user profile", "user profile 2015", or simply "user + # profile". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] subaccount_id + # Select only user profiles with the specified subaccount ID. + # @param [String] user_role_id + # Select only user profiles with the specified user role ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountUserProfilesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountUserProfilesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_user_profiles(profile_id, active: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, user_role_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accountUserProfiles', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountUserProfilesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountUserProfilesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['subaccountId'] = subaccount_id unless subaccount_id.nil? + command.query['userRoleId'] = user_role_id unless user_role_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing account user profile. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User profile ID. + # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountUserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountUserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_account_user_profile(profile_id, id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/accountUserProfiles', options) + command.request_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.request_object = account_user_profile_object + command.response_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountUserProfile + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing account user profile. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::AccountUserProfile] account_user_profile_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountUserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountUserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account_user_profile(profile_id, account_user_profile_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/accountUserProfiles', options) + command.request_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.request_object = account_user_profile_object + command.response_representation = Google::Apis::DfareportingV2_7::AccountUserProfile::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountUserProfile + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one account by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Account ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Account] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Account] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accounts/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Account::Representation + command.response_class = Google::Apis::DfareportingV2_7::Account + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of accounts, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] active + # Select only active accounts. Don't set this field to select both active and + # non-active accounts. + # @param [Array, String] ids + # Select only accounts with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "account*2015" will return objects with names like "account June 2015" + # , "account April 2015", or simply "account 2015". Most of the searches also + # add wildcards implicitly at the start and the end of the search string. For + # example, a search string of "account" will match objects with name "my account" + # , "account 2015", or simply "account". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AccountsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AccountsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_accounts(profile_id, active: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/accounts', options) + command.response_representation = Google::Apis::DfareportingV2_7::AccountsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AccountsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing account. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Account ID. + # @param [Google::Apis::DfareportingV2_7::Account] account_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Account] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Account] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_account(profile_id, id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/accounts', options) + command.request_representation = Google::Apis::DfareportingV2_7::Account::Representation + command.request_object = account_object + command.response_representation = Google::Apis::DfareportingV2_7::Account::Representation + command.response_class = Google::Apis::DfareportingV2_7::Account + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing account. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Account] account_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Account] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Account] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_account(profile_id, account_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/accounts', options) + command.request_representation = Google::Apis::DfareportingV2_7::Account::Representation + command.request_object = account_object + command.response_representation = Google::Apis::DfareportingV2_7::Account::Representation + command.response_class = Google::Apis::DfareportingV2_7::Account + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one ad by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Ad ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Ad] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Ad] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_ad(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/ads/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.response_class = Google::Apis::DfareportingV2_7::Ad + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new ad. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Ad] ad_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Ad] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Ad] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_ad(profile_id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/ads', options) + command.request_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.request_object = ad_object + command.response_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.response_class = Google::Apis::DfareportingV2_7::Ad + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of ads, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] active + # Select only active ads. + # @param [String] advertiser_id + # Select only ads with this advertiser ID. + # @param [Boolean] archived + # Select only archived ads. + # @param [Array, String] audience_segment_ids + # Select only ads with these audience segment IDs. + # @param [Array, String] campaign_ids + # Select only ads with these campaign IDs. + # @param [String] compatibility + # Select default ads with the specified compatibility. Applicable when type is + # AD_SERVING_DEFAULT_AD. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering + # either on desktop or on mobile devices for regular or interstitial ads, + # respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. + # IN_STREAM_VIDEO refers to rendering an in-stream video ads developed with the + # VAST standard. + # @param [Array, String] creative_ids + # Select only ads with these creative IDs assigned. + # @param [Array, String] creative_optimization_configuration_ids + # Select only ads with these creative optimization configuration IDs. + # @param [Boolean] dynamic_click_tracker + # Select only dynamic click trackers. Applicable when type is + # AD_SERVING_CLICK_TRACKER. If true, select dynamic click trackers. If false, + # select static click trackers. Leave unset to select both. + # @param [Array, String] ids + # Select only ads with these IDs. + # @param [Array, String] landing_page_ids + # Select only ads with these landing page IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] overridden_event_tag_id + # Select only ads with this event tag override ID. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [Array, String] placement_ids + # Select only ads with these placement IDs assigned. + # @param [Array, String] remarketing_list_ids + # Select only ads whose list targeting expression use these remarketing list IDs. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "ad*2015" will return objects with names like "ad June 2015", "ad + # April 2015", or simply "ad 2015". Most of the searches also add wildcards + # implicitly at the start and the end of the search string. For example, a + # search string of "ad" will match objects with name "my ad", "ad 2015", or + # simply "ad". + # @param [Array, String] size_ids + # Select only ads with these size IDs. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [Boolean] ssl_compliant + # Select only ads that are SSL-compliant. + # @param [Boolean] ssl_required + # Select only ads that require SSL. + # @param [Array, String] type + # Select only ads with these types. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_ads(profile_id, active: nil, advertiser_id: nil, archived: nil, audience_segment_ids: nil, campaign_ids: nil, compatibility: nil, creative_ids: nil, creative_optimization_configuration_ids: nil, dynamic_click_tracker: nil, ids: nil, landing_page_ids: nil, max_results: nil, overridden_event_tag_id: nil, page_token: nil, placement_ids: nil, remarketing_list_ids: nil, search_string: nil, size_ids: nil, sort_field: nil, sort_order: nil, ssl_compliant: nil, ssl_required: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/ads', options) + command.response_representation = Google::Apis::DfareportingV2_7::AdsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['archived'] = archived unless archived.nil? + command.query['audienceSegmentIds'] = audience_segment_ids unless audience_segment_ids.nil? + command.query['campaignIds'] = campaign_ids unless campaign_ids.nil? + command.query['compatibility'] = compatibility unless compatibility.nil? + command.query['creativeIds'] = creative_ids unless creative_ids.nil? + command.query['creativeOptimizationConfigurationIds'] = creative_optimization_configuration_ids unless creative_optimization_configuration_ids.nil? + command.query['dynamicClickTracker'] = dynamic_click_tracker unless dynamic_click_tracker.nil? + command.query['ids'] = ids unless ids.nil? + command.query['landingPageIds'] = landing_page_ids unless landing_page_ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['overriddenEventTagId'] = overridden_event_tag_id unless overridden_event_tag_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['placementIds'] = placement_ids unless placement_ids.nil? + command.query['remarketingListIds'] = remarketing_list_ids unless remarketing_list_ids.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sizeIds'] = size_ids unless size_ids.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['sslCompliant'] = ssl_compliant unless ssl_compliant.nil? + command.query['sslRequired'] = ssl_required unless ssl_required.nil? + command.query['type'] = type unless type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing ad. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Ad ID. + # @param [Google::Apis::DfareportingV2_7::Ad] ad_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Ad] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Ad] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_ad(profile_id, id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/ads', options) + command.request_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.request_object = ad_object + command.response_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.response_class = Google::Apis::DfareportingV2_7::Ad + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing ad. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Ad] ad_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Ad] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Ad] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_ad(profile_id, ad_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/ads', options) + command.request_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.request_object = ad_object + command.response_representation = Google::Apis::DfareportingV2_7::Ad::Representation + command.response_class = Google::Apis::DfareportingV2_7::Ad + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing advertiser group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Advertiser group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_advertiser_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/advertiserGroups/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one advertiser group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Advertiser group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertiserGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertiserGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_advertiser_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/advertiserGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertiserGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new advertiser group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertiserGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertiserGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_advertiser_group(profile_id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/advertiserGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.request_object = advertiser_group_object + command.response_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertiserGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of advertiser groups, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Select only advertiser groups with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "advertiser*2015" will return objects with names like "advertiser + # group June 2015", "advertiser group April 2015", or simply "advertiser group + # 2015". Most of the searches also add wildcards implicitly at the start and the + # end of the search string. For example, a search string of "advertisergroup" + # will match objects with name "my advertisergroup", "advertisergroup 2015", or + # simply "advertisergroup". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertiserGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertiserGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_advertiser_groups(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/advertiserGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::AdvertiserGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertiserGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing advertiser group. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Advertiser group ID. + # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertiserGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertiserGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_advertiser_group(profile_id, id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/advertiserGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.request_object = advertiser_group_object + command.response_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertiserGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing advertiser group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::AdvertiserGroup] advertiser_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertiserGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertiserGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_advertiser_group(profile_id, advertiser_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/advertiserGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.request_object = advertiser_group_object + command.response_representation = Google::Apis::DfareportingV2_7::AdvertiserGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertiserGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one advertiser by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Advertiser ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Advertiser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Advertiser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_advertiser(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/advertisers/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.response_class = Google::Apis::DfareportingV2_7::Advertiser + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new advertiser. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Advertiser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Advertiser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_advertiser(profile_id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/advertisers', options) + command.request_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.request_object = advertiser_object + command.response_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.response_class = Google::Apis::DfareportingV2_7::Advertiser + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of advertisers, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_group_ids + # Select only advertisers with these advertiser group IDs. + # @param [Array, String] floodlight_configuration_ids + # Select only advertisers with these floodlight configuration IDs. + # @param [Array, String] ids + # Select only advertisers with these IDs. + # @param [Boolean] include_advertisers_without_groups_only + # Select only advertisers which do not belong to any advertiser group. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [Boolean] only_parent + # Select only advertisers which use another advertiser's floodlight + # configuration. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "advertiser*2015" will return objects with names like "advertiser + # June 2015", "advertiser April 2015", or simply "advertiser 2015". Most of the + # searches also add wildcards implicitly at the start and the end of the search + # string. For example, a search string of "advertiser" will match objects with + # name "my advertiser", "advertiser 2015", or simply "advertiser". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] status + # Select only advertisers with the specified status. + # @param [String] subaccount_id + # Select only advertisers with these subaccount IDs. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::AdvertisersListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::AdvertisersListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_advertisers(profile_id, advertiser_group_ids: nil, floodlight_configuration_ids: nil, ids: nil, include_advertisers_without_groups_only: nil, max_results: nil, only_parent: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, status: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/advertisers', options) + command.response_representation = Google::Apis::DfareportingV2_7::AdvertisersListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::AdvertisersListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserGroupIds'] = advertiser_group_ids unless advertiser_group_ids.nil? + command.query['floodlightConfigurationIds'] = floodlight_configuration_ids unless floodlight_configuration_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['includeAdvertisersWithoutGroupsOnly'] = include_advertisers_without_groups_only unless include_advertisers_without_groups_only.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['onlyParent'] = only_parent unless only_parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['status'] = status unless status.nil? + command.query['subaccountId'] = subaccount_id unless subaccount_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing advertiser. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Advertiser ID. + # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Advertiser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Advertiser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_advertiser(profile_id, id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/advertisers', options) + command.request_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.request_object = advertiser_object + command.response_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.response_class = Google::Apis::DfareportingV2_7::Advertiser + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing advertiser. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Advertiser] advertiser_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Advertiser] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Advertiser] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_advertiser(profile_id, advertiser_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/advertisers', options) + command.request_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.request_object = advertiser_object + command.response_representation = Google::Apis::DfareportingV2_7::Advertiser::Representation + command.response_class = Google::Apis::DfareportingV2_7::Advertiser + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of browsers. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::BrowsersListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::BrowsersListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_browsers(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/browsers', options) + command.response_representation = Google::Apis::DfareportingV2_7::BrowsersListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::BrowsersListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Associates a creative with the specified campaign. This method creates a + # default ad with dimensions matching the creative in the campaign if such a + # default ad does not exist already. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Campaign ID in this association. + # @param [Google::Apis::DfareportingV2_7::CampaignCreativeAssociation] campaign_creative_association_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CampaignCreativeAssociation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CampaignCreativeAssociation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_campaign_creative_association(profile_id, campaign_id, campaign_creative_association_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', options) + command.request_representation = Google::Apis::DfareportingV2_7::CampaignCreativeAssociation::Representation + command.request_object = campaign_creative_association_object + command.response_representation = Google::Apis::DfareportingV2_7::CampaignCreativeAssociation::Representation + command.response_class = Google::Apis::DfareportingV2_7::CampaignCreativeAssociation + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of creative IDs associated with the specified campaign. + # This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Campaign ID in this association. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CampaignCreativeAssociationsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CampaignCreativeAssociationsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_campaign_creative_associations(profile_id, campaign_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations', options) + command.response_representation = Google::Apis::DfareportingV2_7::CampaignCreativeAssociationsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CampaignCreativeAssociationsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one campaign by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Campaign ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Campaign] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Campaign] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_campaign(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.response_class = Google::Apis::DfareportingV2_7::Campaign + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new campaign. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] default_landing_page_name + # Default landing page name for this new campaign. Must be less than 256 + # characters long. + # @param [String] default_landing_page_url + # Default landing page URL for this new campaign. + # @param [Google::Apis::DfareportingV2_7::Campaign] campaign_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Campaign] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Campaign] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_campaign(profile_id, default_landing_page_name, default_landing_page_url, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns', options) + command.request_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.request_object = campaign_object + command.response_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.response_class = Google::Apis::DfareportingV2_7::Campaign + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['defaultLandingPageName'] = default_landing_page_name unless default_landing_page_name.nil? + command.query['defaultLandingPageUrl'] = default_landing_page_url unless default_landing_page_url.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of campaigns, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_group_ids + # Select only campaigns whose advertisers belong to these advertiser groups. + # @param [Array, String] advertiser_ids + # Select only campaigns that belong to these advertisers. + # @param [Boolean] archived + # Select only archived campaigns. Don't set this field to select both archived + # and non-archived campaigns. + # @param [Boolean] at_least_one_optimization_activity + # Select only campaigns that have at least one optimization activity. + # @param [Array, String] excluded_ids + # Exclude campaigns with these IDs. + # @param [Array, String] ids + # Select only campaigns with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] overridden_event_tag_id + # Select only campaigns that have overridden this event tag ID. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for campaigns by name or ID. Wildcards (*) are allowed. For + # example, "campaign*2015" will return campaigns with names like "campaign June + # 2015", "campaign April 2015", or simply "campaign 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "campaign" will match campaigns with name "my + # campaign", "campaign 2015", or simply "campaign". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] subaccount_id + # Select only campaigns that belong to this subaccount. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CampaignsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CampaignsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_campaigns(profile_id, advertiser_group_ids: nil, advertiser_ids: nil, archived: nil, at_least_one_optimization_activity: nil, excluded_ids: nil, ids: nil, max_results: nil, overridden_event_tag_id: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns', options) + command.response_representation = Google::Apis::DfareportingV2_7::CampaignsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CampaignsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserGroupIds'] = advertiser_group_ids unless advertiser_group_ids.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['archived'] = archived unless archived.nil? + command.query['atLeastOneOptimizationActivity'] = at_least_one_optimization_activity unless at_least_one_optimization_activity.nil? + command.query['excludedIds'] = excluded_ids unless excluded_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['overriddenEventTagId'] = overridden_event_tag_id unless overridden_event_tag_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['subaccountId'] = subaccount_id unless subaccount_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing campaign. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Campaign ID. + # @param [Google::Apis::DfareportingV2_7::Campaign] campaign_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Campaign] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Campaign] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_campaign(profile_id, id, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/campaigns', options) + command.request_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.request_object = campaign_object + command.response_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.response_class = Google::Apis::DfareportingV2_7::Campaign + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing campaign. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Campaign] campaign_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Campaign] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Campaign] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_campaign(profile_id, campaign_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/campaigns', options) + command.request_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.request_object = campaign_object + command.response_representation = Google::Apis::DfareportingV2_7::Campaign::Representation + command.response_class = Google::Apis::DfareportingV2_7::Campaign + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one change log by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Change log ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ChangeLog] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ChangeLog] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_change_log(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/changeLogs/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::ChangeLog::Representation + command.response_class = Google::Apis::DfareportingV2_7::ChangeLog + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of change logs. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] action + # Select only change logs with the specified action. + # @param [Array, String] ids + # Select only change logs with these IDs. + # @param [String] max_change_time + # Select only change logs whose change time is before the specified + # maxChangeTime.The time should be formatted as an RFC3339 date/time string. For + # example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, + # the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, + # day, the letter T, the hour (24-hour clock system), minute, second, and then + # the time zone offset. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] min_change_time + # Select only change logs whose change time is before the specified + # minChangeTime.The time should be formatted as an RFC3339 date/time string. For + # example, for 10:54 PM on July 18th, 2015, in the America/New York time zone, + # the format is "2015-07-18T22:54:00-04:00". In other words, the year, month, + # day, the letter T, the hour (24-hour clock system), minute, second, and then + # the time zone offset. + # @param [Array, String] object_ids + # Select only change logs with these object IDs. + # @param [String] object_type + # Select only change logs with the specified object type. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Select only change logs whose object ID, user name, old or new values match + # the search string. + # @param [Array, String] user_profile_ids + # Select only change logs with these user profile IDs. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ChangeLogsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ChangeLogsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_change_logs(profile_id, action: nil, ids: nil, max_change_time: nil, max_results: nil, min_change_time: nil, object_ids: nil, object_type: nil, page_token: nil, search_string: nil, user_profile_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/changeLogs', options) + command.response_representation = Google::Apis::DfareportingV2_7::ChangeLogsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::ChangeLogsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['action'] = action unless action.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxChangeTime'] = max_change_time unless max_change_time.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['minChangeTime'] = min_change_time unless min_change_time.nil? + command.query['objectIds'] = object_ids unless object_ids.nil? + command.query['objectType'] = object_type unless object_type.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['userProfileIds'] = user_profile_ids unless user_profile_ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of cities, possibly filtered. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] country_dart_ids + # Select only cities from these countries. + # @param [Array, String] dart_ids + # Select only cities with these DART IDs. + # @param [String] name_prefix + # Select only cities with names starting with this prefix. + # @param [Array, String] region_dart_ids + # Select only cities from these regions. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CitiesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CitiesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_cities(profile_id, country_dart_ids: nil, dart_ids: nil, name_prefix: nil, region_dart_ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/cities', options) + command.response_representation = Google::Apis::DfareportingV2_7::CitiesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CitiesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['countryDartIds'] = country_dart_ids unless country_dart_ids.nil? + command.query['dartIds'] = dart_ids unless dart_ids.nil? + command.query['namePrefix'] = name_prefix unless name_prefix.nil? + command.query['regionDartIds'] = region_dart_ids unless region_dart_ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one connection type by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Connection type ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ConnectionType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ConnectionType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_connection_type(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/connectionTypes/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::ConnectionType::Representation + command.response_class = Google::Apis::DfareportingV2_7::ConnectionType + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of connection types. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ConnectionTypesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ConnectionTypesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_connection_types(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/connectionTypes', options) + command.response_representation = Google::Apis::DfareportingV2_7::ConnectionTypesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::ConnectionTypesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing content category. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Content category ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_content_category(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/contentCategories/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one content category by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Content category ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ContentCategory] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ContentCategory] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_content_category(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/contentCategories/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.response_class = Google::Apis::DfareportingV2_7::ContentCategory + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new content category. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ContentCategory] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ContentCategory] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_content_category(profile_id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/contentCategories', options) + command.request_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.request_object = content_category_object + command.response_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.response_class = Google::Apis::DfareportingV2_7::ContentCategory + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of content categories, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Select only content categories with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "contentcategory*2015" will return objects with names like " + # contentcategory June 2015", "contentcategory April 2015", or simply " + # contentcategory 2015". Most of the searches also add wildcards implicitly at + # the start and the end of the search string. For example, a search string of " + # contentcategory" will match objects with name "my contentcategory", " + # contentcategory 2015", or simply "contentcategory". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ContentCategoriesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ContentCategoriesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_content_categories(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/contentCategories', options) + command.response_representation = Google::Apis::DfareportingV2_7::ContentCategoriesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::ContentCategoriesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing content category. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Content category ID. + # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ContentCategory] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ContentCategory] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_content_category(profile_id, id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/contentCategories', options) + command.request_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.request_object = content_category_object + command.response_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.response_class = Google::Apis::DfareportingV2_7::ContentCategory + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing content category. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::ContentCategory] content_category_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ContentCategory] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ContentCategory] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_content_category(profile_id, content_category_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/contentCategories', options) + command.request_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.request_object = content_category_object + command.response_representation = Google::Apis::DfareportingV2_7::ContentCategory::Representation + command.response_class = Google::Apis::DfareportingV2_7::ContentCategory + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts conversions. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::ConversionsBatchInsertRequest] conversions_batch_insert_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ConversionsBatchInsertResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ConversionsBatchInsertResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batchinsert_conversion(profile_id, conversions_batch_insert_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/conversions/batchinsert', options) + command.request_representation = Google::Apis::DfareportingV2_7::ConversionsBatchInsertRequest::Representation + command.request_object = conversions_batch_insert_request_object + command.response_representation = Google::Apis::DfareportingV2_7::ConversionsBatchInsertResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::ConversionsBatchInsertResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one country by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] dart_id + # Country DART ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Country] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Country] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_country(profile_id, dart_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/countries/{dartId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Country::Representation + command.response_class = Google::Apis::DfareportingV2_7::Country + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['dartId'] = dart_id unless dart_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of countries. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CountriesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CountriesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_countries(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/countries', options) + command.response_representation = Google::Apis::DfareportingV2_7::CountriesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CountriesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new creative asset. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Advertiser ID of this creative. This is a required field. + # @param [Google::Apis::DfareportingV2_7::CreativeAssetMetadata] creative_asset_metadata_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [IO, String] upload_source + # IO stream or filename containing content to upload + # @param [String] content_type + # Content type of the uploaded content. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeAssetMetadata] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeAssetMetadata] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_creative_asset(profile_id, advertiser_id, creative_asset_metadata_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + if upload_source.nil? + command = make_simple_command(:post, 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', options) + else + command = make_upload_command(:post, 'userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets', options) + command.upload_source = upload_source + command.upload_content_type = content_type + end + command.request_representation = Google::Apis::DfareportingV2_7::CreativeAssetMetadata::Representation + command.request_object = creative_asset_metadata_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeAssetMetadata::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeAssetMetadata + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing creative field value. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [String] id + # Creative Field Value ID + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_creative_field_value(profile_id, creative_field_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one creative field value by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [String] id + # Creative Field Value ID + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldValue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldValue] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_creative_field_value(profile_id, creative_field_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldValue + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new creative field value. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldValue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldValue] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_creative_field_value(profile_id, creative_field_id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.request_object = creative_field_value_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldValue + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of creative field values, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [Array, String] ids + # Select only creative field values with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for creative field values by their values. Wildcards (e.g. *) + # are not allowed. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldValuesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldValuesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_creative_field_values(profile_id, creative_field_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldValuesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldValuesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative field value. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [String] id + # Creative Field Value ID + # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldValue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldValue] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_creative_field_value(profile_id, creative_field_id, id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.request_object = creative_field_value_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldValue + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative field value. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] creative_field_id + # Creative field ID for this creative field value. + # @param [Google::Apis::DfareportingV2_7::CreativeFieldValue] creative_field_value_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldValue] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldValue] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_creative_field_value(profile_id, creative_field_id, creative_field_value_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.request_object = creative_field_value_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldValue::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldValue + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['creativeFieldId'] = creative_field_id unless creative_field_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing creative field. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative Field ID + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_creative_field(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/creativeFields/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one creative field by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative Field ID + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeField] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeField] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_creative_field(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeField + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new creative field. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeField] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeField] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_creative_field(profile_id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/creativeFields', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.request_object = creative_field_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeField + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of creative fields, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_ids + # Select only creative fields that belong to these advertisers. + # @param [Array, String] ids + # Select only creative fields with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for creative fields by name or ID. Wildcards (*) are allowed. + # For example, "creativefield*2015" will return creative fields with names like " + # creativefield June 2015", "creativefield April 2015", or simply "creativefield + # 2015". Most of the searches also add wild-cards implicitly at the start and + # the end of the search string. For example, a search string of "creativefield" + # will match creative fields with the name "my creativefield", "creativefield + # 2015", or simply "creativefield". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeFieldsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeFieldsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_creative_fields(profile_id, advertiser_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeFields', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeFieldsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeFieldsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative field. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative Field ID + # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeField] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeField] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_creative_field(profile_id, id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeFields', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.request_object = creative_field_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeField + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative field. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::CreativeField] creative_field_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeField] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeField] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_creative_field(profile_id, creative_field_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/creativeFields', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.request_object = creative_field_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeField::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeField + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one creative group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_creative_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new creative group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_creative_group(profile_id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/creativeGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.request_object = creative_group_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of creative groups, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_ids + # Select only creative groups that belong to these advertisers. + # @param [Fixnum] group_number + # Select only creative groups that belong to this subgroup. + # @param [Array, String] ids + # Select only creative groups with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for creative groups by name or ID. Wildcards (*) are allowed. + # For example, "creativegroup*2015" will return creative groups with names like " + # creativegroup June 2015", "creativegroup April 2015", or simply "creativegroup + # 2015". Most of the searches also add wild-cards implicitly at the start and + # the end of the search string. For example, a search string of "creativegroup" + # will match creative groups with the name "my creativegroup", "creativegroup + # 2015", or simply "creativegroup". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_creative_groups(profile_id, advertiser_ids: nil, group_number: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creativeGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativeGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['groupNumber'] = group_number unless group_number.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative group. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative group ID. + # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_creative_group(profile_id, id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/creativeGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.request_object = creative_group_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::CreativeGroup] creative_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativeGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativeGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_creative_group(profile_id, creative_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/creativeGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.request_object = creative_group_object + command.response_representation = Google::Apis::DfareportingV2_7::CreativeGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativeGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one creative by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_creative(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creatives/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.response_class = Google::Apis::DfareportingV2_7::Creative + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new creative. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Creative] creative_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_creative(profile_id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/creatives', options) + command.request_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.response_class = Google::Apis::DfareportingV2_7::Creative + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of creatives, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] active + # Select only active creatives. Leave blank to select active and inactive + # creatives. + # @param [String] advertiser_id + # Select only creatives with this advertiser ID. + # @param [Boolean] archived + # Select only archived creatives. Leave blank to select archived and unarchived + # creatives. + # @param [String] campaign_id + # Select only creatives with this campaign ID. + # @param [Array, String] companion_creative_ids + # Select only in-stream video creatives with these companion IDs. + # @param [Array, String] creative_field_ids + # Select only creatives with these creative field IDs. + # @param [Array, String] ids + # Select only creatives with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [Array, String] rendering_ids + # Select only creatives with these rendering IDs. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "creative*2015" will return objects with names like "creative June + # 2015", "creative April 2015", or simply "creative 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "creative" will match objects with name "my + # creative", "creative 2015", or simply "creative". + # @param [Array, String] size_ids + # Select only creatives with these size IDs. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] studio_creative_id + # Select only creatives corresponding to this Studio creative ID. + # @param [Array, String] types + # Select only creatives with these creative types. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CreativesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CreativesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_creatives(profile_id, active: nil, advertiser_id: nil, archived: nil, campaign_id: nil, companion_creative_ids: nil, creative_field_ids: nil, ids: nil, max_results: nil, page_token: nil, rendering_ids: nil, search_string: nil, size_ids: nil, sort_field: nil, sort_order: nil, studio_creative_id: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/creatives', options) + command.response_representation = Google::Apis::DfareportingV2_7::CreativesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::CreativesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['archived'] = archived unless archived.nil? + command.query['campaignId'] = campaign_id unless campaign_id.nil? + command.query['companionCreativeIds'] = companion_creative_ids unless companion_creative_ids.nil? + command.query['creativeFieldIds'] = creative_field_ids unless creative_field_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['renderingIds'] = rendering_ids unless rendering_ids.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sizeIds'] = size_ids unless size_ids.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['studioCreativeId'] = studio_creative_id unless studio_creative_id.nil? + command.query['types'] = types unless types.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Creative ID. + # @param [Google::Apis::DfareportingV2_7::Creative] creative_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_creative(profile_id, id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/creatives', options) + command.request_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.response_class = Google::Apis::DfareportingV2_7::Creative + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing creative. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Creative] creative_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Creative] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Creative] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_creative(profile_id, creative_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/creatives', options) + command.request_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.request_object = creative_object + command.response_representation = Google::Apis::DfareportingV2_7::Creative::Representation + command.response_class = Google::Apis::DfareportingV2_7::Creative + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves list of report dimension values for a list of filters. + # @param [String] profile_id + # The DFA user profile ID. + # @param [Google::Apis::DfareportingV2_7::DimensionValueRequest] dimension_value_request_object + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # The value of the nextToken from the previous result page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DimensionValueList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DimensionValueList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def query_dimension_value(profile_id, dimension_value_request_object = nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/dimensionvalues/query', options) + command.request_representation = Google::Apis::DfareportingV2_7::DimensionValueRequest::Representation + command.request_object = dimension_value_request_object + command.response_representation = Google::Apis::DfareportingV2_7::DimensionValueList::Representation + command.response_class = Google::Apis::DfareportingV2_7::DimensionValueList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one directory site contact by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Directory site contact ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DirectorySiteContact] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DirectorySiteContact] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_directory_site_contact(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/directorySiteContacts/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::DirectorySiteContact::Representation + command.response_class = Google::Apis::DfareportingV2_7::DirectorySiteContact + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of directory site contacts, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] directory_site_ids + # Select only directory site contacts with these directory site IDs. This is a + # required field. + # @param [Array, String] ids + # Select only directory site contacts with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name, ID or email. Wildcards (*) are allowed. + # For example, "directory site contact*2015" will return objects with names like + # "directory site contact June 2015", "directory site contact April 2015", or + # simply "directory site contact 2015". Most of the searches also add wildcards + # implicitly at the start and the end of the search string. For example, a + # search string of "directory site contact" will match objects with name "my + # directory site contact", "directory site contact 2015", or simply "directory + # site contact". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DirectorySiteContactsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DirectorySiteContactsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_directory_site_contacts(profile_id, directory_site_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/directorySiteContacts', options) + command.response_representation = Google::Apis::DfareportingV2_7::DirectorySiteContactsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::DirectorySiteContactsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['directorySiteIds'] = directory_site_ids unless directory_site_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one directory site by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Directory site ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DirectorySite] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DirectorySite] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_directory_site(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/directorySites/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::DirectorySite::Representation + command.response_class = Google::Apis::DfareportingV2_7::DirectorySite + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new directory site. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::DirectorySite] directory_site_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DirectorySite] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DirectorySite] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_directory_site(profile_id, directory_site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/directorySites', options) + command.request_representation = Google::Apis::DfareportingV2_7::DirectorySite::Representation + command.request_object = directory_site_object + command.response_representation = Google::Apis::DfareportingV2_7::DirectorySite::Representation + command.response_class = Google::Apis::DfareportingV2_7::DirectorySite + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of directory sites, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] accepts_in_stream_video_placements + # This search filter is no longer supported and will have no effect on the + # results returned. + # @param [Boolean] accepts_interstitial_placements + # This search filter is no longer supported and will have no effect on the + # results returned. + # @param [Boolean] accepts_publisher_paid_placements + # Select only directory sites that accept publisher paid placements. This field + # can be left blank. + # @param [Boolean] active + # Select only active directory sites. Leave blank to retrieve both active and + # inactive directory sites. + # @param [String] country_id + # Select only directory sites with this country ID. + # @param [String] dfp_network_code + # Select only directory sites with this DFP network code. + # @param [Array, String] ids + # Select only directory sites with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] parent_id + # Select only directory sites with this parent ID. + # @param [String] search_string + # Allows searching for objects by name, ID or URL. Wildcards (*) are allowed. + # For example, "directory site*2015" will return objects with names like " + # directory site June 2015", "directory site April 2015", or simply "directory + # site 2015". Most of the searches also add wildcards implicitly at the start + # and the end of the search string. For example, a search string of "directory + # site" will match objects with name "my directory site", "directory site 2015" + # or simply, "directory site". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DirectorySitesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DirectorySitesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_directory_sites(profile_id, accepts_in_stream_video_placements: nil, accepts_interstitial_placements: nil, accepts_publisher_paid_placements: nil, active: nil, country_id: nil, dfp_network_code: nil, ids: nil, max_results: nil, page_token: nil, parent_id: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/directorySites', options) + command.response_representation = Google::Apis::DfareportingV2_7::DirectorySitesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::DirectorySitesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['acceptsInStreamVideoPlacements'] = accepts_in_stream_video_placements unless accepts_in_stream_video_placements.nil? + command.query['acceptsInterstitialPlacements'] = accepts_interstitial_placements unless accepts_interstitial_placements.nil? + command.query['acceptsPublisherPaidPlacements'] = accepts_publisher_paid_placements unless accepts_publisher_paid_placements.nil? + command.query['active'] = active unless active.nil? + command.query['countryId'] = country_id unless country_id.nil? + command.query['dfp_network_code'] = dfp_network_code unless dfp_network_code.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['parentId'] = parent_id unless parent_id.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing dynamic targeting key. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] object_id_ + # ID of the object of this dynamic targeting key. This is a required field. + # @param [String] name + # Name of this dynamic targeting key. This is a required field. Must be less + # than 256 characters long and cannot contain commas. All characters are + # converted to lowercase. + # @param [String] object_type + # Type of the object of this dynamic targeting key. This is a required field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_dynamic_targeting_key(profile_id, object_id_, name, object_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/dynamicTargetingKeys/{objectId}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['objectId'] = object_id_ unless object_id_.nil? + command.query['name'] = name unless name.nil? + command.query['objectType'] = object_type unless object_type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new dynamic targeting key. Keys must be created at the advertiser + # level before being assigned to the advertiser's ads, creatives, or placements. + # There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 + # keys can be assigned per ad, creative, or placement. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::DynamicTargetingKey] dynamic_targeting_key_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DynamicTargetingKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DynamicTargetingKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_dynamic_targeting_key(profile_id, dynamic_targeting_key_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/dynamicTargetingKeys', options) + command.request_representation = Google::Apis::DfareportingV2_7::DynamicTargetingKey::Representation + command.request_object = dynamic_targeting_key_object + command.response_representation = Google::Apis::DfareportingV2_7::DynamicTargetingKey::Representation + command.response_class = Google::Apis::DfareportingV2_7::DynamicTargetingKey + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of dynamic targeting keys. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only dynamic targeting keys whose object has this advertiser ID. + # @param [Array, String] names + # Select only dynamic targeting keys exactly matching these names. + # @param [String] object_id_ + # Select only dynamic targeting keys with this object ID. + # @param [String] object_type + # Select only dynamic targeting keys with this object type. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::DynamicTargetingKeysListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::DynamicTargetingKeysListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_dynamic_targeting_keys(profile_id, advertiser_id: nil, names: nil, object_id_: nil, object_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/dynamicTargetingKeys', options) + command.response_representation = Google::Apis::DfareportingV2_7::DynamicTargetingKeysListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::DynamicTargetingKeysListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['names'] = names unless names.nil? + command.query['objectId'] = object_id_ unless object_id_.nil? + command.query['objectType'] = object_type unless object_type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing event tag. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Event tag ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_event_tag(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/eventTags/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one event tag by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Event tag ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::EventTag] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::EventTag] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_event_tag(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/eventTags/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.response_class = Google::Apis::DfareportingV2_7::EventTag + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new event tag. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::EventTag] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::EventTag] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_event_tag(profile_id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/eventTags', options) + command.request_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.request_object = event_tag_object + command.response_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.response_class = Google::Apis::DfareportingV2_7::EventTag + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of event tags, possibly filtered. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] ad_id + # Select only event tags that belong to this ad. + # @param [String] advertiser_id + # Select only event tags that belong to this advertiser. + # @param [String] campaign_id + # Select only event tags that belong to this campaign. + # @param [Boolean] definitions_only + # Examine only the specified campaign or advertiser's event tags for matching + # selector criteria. When set to false, the parent advertiser and parent + # campaign of the specified ad or campaign is examined as well. In addition, + # when set to false, the status field is examined as well, along with the + # enabledByDefault field. This parameter can not be set to true when adId is + # specified as ads do not define their own even tags. + # @param [Boolean] enabled + # Select only enabled event tags. What is considered enabled or disabled depends + # on the definitionsOnly parameter. When definitionsOnly is set to true, only + # the specified advertiser or campaign's event tags' enabledByDefault field is + # examined. When definitionsOnly is set to false, the specified ad or specified + # campaign's parent advertiser's or parent campaign's event tags' + # enabledByDefault and status fields are examined as well. + # @param [Array, String] event_tag_types + # Select only event tags with the specified event tag types. Event tag types can + # be used to specify whether to use a third-party pixel, a third-party + # JavaScript URL, or a third-party click-through URL for either impression or + # click tracking. + # @param [Array, String] ids + # Select only event tags with these IDs. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "eventtag*2015" will return objects with names like "eventtag June + # 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "eventtag" will match objects with name "my + # eventtag", "eventtag 2015", or simply "eventtag". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::EventTagsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::EventTagsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_event_tags(profile_id, ad_id: nil, advertiser_id: nil, campaign_id: nil, definitions_only: nil, enabled: nil, event_tag_types: nil, ids: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/eventTags', options) + command.response_representation = Google::Apis::DfareportingV2_7::EventTagsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::EventTagsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['adId'] = ad_id unless ad_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['campaignId'] = campaign_id unless campaign_id.nil? + command.query['definitionsOnly'] = definitions_only unless definitions_only.nil? + command.query['enabled'] = enabled unless enabled.nil? + command.query['eventTagTypes'] = event_tag_types unless event_tag_types.nil? + command.query['ids'] = ids unless ids.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing event tag. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Event tag ID. + # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::EventTag] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::EventTag] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_event_tag(profile_id, id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/eventTags', options) + command.request_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.request_object = event_tag_object + command.response_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.response_class = Google::Apis::DfareportingV2_7::EventTag + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing event tag. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::EventTag] event_tag_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::EventTag] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::EventTag] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_event_tag(profile_id, event_tag_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/eventTags', options) + command.request_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.request_object = event_tag_object + command.response_representation = Google::Apis::DfareportingV2_7::EventTag::Representation + command.response_class = Google::Apis::DfareportingV2_7::EventTag + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a report file by its report ID and file ID. + # @param [String] report_id + # The ID of the report. + # @param [String] file_id + # The ID of the report file. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [IO, String] download_dest + # IO stream or filename to receive content download + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::File] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::File] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_file(report_id, file_id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + if download_dest.nil? + command = make_simple_command(:get, 'reports/{reportId}/files/{fileId}', options) + else + command = make_download_command(:get, 'reports/{reportId}/files/{fileId}', options) + command.download_dest = download_dest + end + command.response_representation = Google::Apis::DfareportingV2_7::File::Representation + command.response_class = Google::Apis::DfareportingV2_7::File + command.params['reportId'] = report_id unless report_id.nil? + command.params['fileId'] = file_id unless file_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists files for a user profile. + # @param [String] profile_id + # The DFA profile ID. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # The value of the nextToken from the previous result page. + # @param [String] scope + # The scope that defines which results are returned, default is 'MINE'. + # @param [String] sort_field + # The field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is 'DESCENDING'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FileList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FileList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_files(profile_id, max_results: nil, page_token: nil, scope: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/files', options) + command.response_representation = Google::Apis::DfareportingV2_7::FileList::Representation + command.response_class = Google::Apis::DfareportingV2_7::FileList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['scope'] = scope unless scope.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing floodlight activity. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight activity ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_floodlight_activity(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/floodlightActivities/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Generates a tag for a floodlight activity. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] floodlight_activity_id + # Floodlight activity ID for which we want to generate a tag. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivitiesGenerateTagResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivitiesGenerateTagResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generatetag_floodlight_activity(profile_id, floodlight_activity_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivities/generatetag', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivitiesGenerateTagResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivitiesGenerateTagResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['floodlightActivityId'] = floodlight_activity_id unless floodlight_activity_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one floodlight activity by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight activity ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivity] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivity] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_floodlight_activity(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivities/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivity + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new floodlight activity. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivity] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivity] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_floodlight_activity(profile_id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivities', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.request_object = floodlight_activity_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivity + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of floodlight activities, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only floodlight activities for the specified advertiser ID. Must + # specify either ids, advertiserId, or floodlightConfigurationId for a non-empty + # result. + # @param [Array, String] floodlight_activity_group_ids + # Select only floodlight activities with the specified floodlight activity group + # IDs. + # @param [String] floodlight_activity_group_name + # Select only floodlight activities with the specified floodlight activity group + # name. + # @param [String] floodlight_activity_group_tag_string + # Select only floodlight activities with the specified floodlight activity group + # tag string. + # @param [String] floodlight_activity_group_type + # Select only floodlight activities with the specified floodlight activity group + # type. + # @param [String] floodlight_configuration_id + # Select only floodlight activities for the specified floodlight configuration + # ID. Must specify either ids, advertiserId, or floodlightConfigurationId for a + # non-empty result. + # @param [Array, String] ids + # Select only floodlight activities with the specified IDs. Must specify either + # ids, advertiserId, or floodlightConfigurationId for a non-empty result. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "floodlightactivity*2015" will return objects with names like " + # floodlightactivity June 2015", "floodlightactivity April 2015", or simply " + # floodlightactivity 2015". Most of the searches also add wildcards implicitly + # at the start and the end of the search string. For example, a search string of + # "floodlightactivity" will match objects with name "my floodlightactivity + # activity", "floodlightactivity 2015", or simply "floodlightactivity". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] tag_string + # Select only floodlight activities with the specified tag string. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivitiesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivitiesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_floodlight_activities(profile_id, advertiser_id: nil, floodlight_activity_group_ids: nil, floodlight_activity_group_name: nil, floodlight_activity_group_tag_string: nil, floodlight_activity_group_type: nil, floodlight_configuration_id: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, tag_string: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivities', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivitiesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivitiesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['floodlightActivityGroupIds'] = floodlight_activity_group_ids unless floodlight_activity_group_ids.nil? + command.query['floodlightActivityGroupName'] = floodlight_activity_group_name unless floodlight_activity_group_name.nil? + command.query['floodlightActivityGroupTagString'] = floodlight_activity_group_tag_string unless floodlight_activity_group_tag_string.nil? + command.query['floodlightActivityGroupType'] = floodlight_activity_group_type unless floodlight_activity_group_type.nil? + command.query['floodlightConfigurationId'] = floodlight_configuration_id unless floodlight_configuration_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['tagString'] = tag_string unless tag_string.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight activity. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight activity ID. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivity] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivity] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_floodlight_activity(profile_id, id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightActivities', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.request_object = floodlight_activity_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivity + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight activity. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivity] floodlight_activity_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivity] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivity] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_floodlight_activity(profile_id, floodlight_activity_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightActivities', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.request_object = floodlight_activity_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivity::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivity + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one floodlight activity group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight activity Group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_floodlight_activity_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivityGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivityGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new floodlight activity group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_floodlight_activity_group(profile_id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/floodlightActivityGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.request_object = floodlight_activity_group_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivityGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of floodlight activity groups, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only floodlight activity groups with the specified advertiser ID. Must + # specify either advertiserId or floodlightConfigurationId for a non-empty + # result. + # @param [String] floodlight_configuration_id + # Select only floodlight activity groups with the specified floodlight + # configuration ID. Must specify either advertiserId, or + # floodlightConfigurationId for a non-empty result. + # @param [Array, String] ids + # Select only floodlight activity groups with the specified IDs. Must specify + # either advertiserId or floodlightConfigurationId for a non-empty result. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "floodlightactivitygroup*2015" will return objects with names like " + # floodlightactivitygroup June 2015", "floodlightactivitygroup April 2015", or + # simply "floodlightactivitygroup 2015". Most of the searches also add wildcards + # implicitly at the start and the end of the search string. For example, a + # search string of "floodlightactivitygroup" will match objects with name "my + # floodlightactivitygroup activity", "floodlightactivitygroup 2015", or simply " + # floodlightactivitygroup". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] type + # Select only floodlight activity groups with the specified floodlight activity + # group type. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivityGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_floodlight_activity_groups(profile_id, advertiser_id: nil, floodlight_configuration_id: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightActivityGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivityGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['floodlightConfigurationId'] = floodlight_configuration_id unless floodlight_configuration_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['type'] = type unless type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight activity group. This method supports patch + # semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight activity Group ID. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_floodlight_activity_group(profile_id, id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightActivityGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.request_object = floodlight_activity_group_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivityGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight activity group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] floodlight_activity_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightActivityGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_floodlight_activity_group(profile_id, floodlight_activity_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightActivityGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.request_object = floodlight_activity_group_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightActivityGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightActivityGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one floodlight configuration by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight configuration ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightConfiguration] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightConfiguration] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_floodlight_configuration(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightConfigurations/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightConfiguration + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of floodlight configurations, possibly filtered. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Set of IDs of floodlight configurations to retrieve. Required field; otherwise + # an empty list will be returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightConfigurationsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightConfigurationsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_floodlight_configurations(profile_id, ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/floodlightConfigurations', options) + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightConfigurationsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightConfigurationsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight configuration. This method supports patch + # semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Floodlight configuration ID. + # @param [Google::Apis::DfareportingV2_7::FloodlightConfiguration] floodlight_configuration_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightConfiguration] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightConfiguration] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_floodlight_configuration(profile_id, id, floodlight_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/floodlightConfigurations', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + command.request_object = floodlight_configuration_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightConfiguration + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing floodlight configuration. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::FloodlightConfiguration] floodlight_configuration_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FloodlightConfiguration] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FloodlightConfiguration] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_floodlight_configuration(profile_id, floodlight_configuration_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/floodlightConfigurations', options) + command.request_representation = Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + command.request_object = floodlight_configuration_object + command.response_representation = Google::Apis::DfareportingV2_7::FloodlightConfiguration::Representation + command.response_class = Google::Apis::DfareportingV2_7::FloodlightConfiguration + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one inventory item by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for order documents. + # @param [String] id + # Inventory item ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::InventoryItem] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::InventoryItem] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_inventory_item(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::InventoryItem::Representation + command.response_class = Google::Apis::DfareportingV2_7::InventoryItem + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of inventory items, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for order documents. + # @param [Array, String] ids + # Select only inventory items with these IDs. + # @param [Boolean] in_plan + # Select only inventory items that are in plan. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [Array, String] order_id + # Select only inventory items that belong to specified orders. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [Array, String] site_id + # Select only inventory items that are associated with these sites. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] type + # Select only inventory items with this type. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::InventoryItemsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::InventoryItemsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_inventory_items(profile_id, project_id, ids: nil, in_plan: nil, max_results: nil, order_id: nil, page_token: nil, site_id: nil, sort_field: nil, sort_order: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/inventoryItems', options) + command.response_representation = Google::Apis::DfareportingV2_7::InventoryItemsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::InventoryItemsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['inPlan'] = in_plan unless in_plan.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderId'] = order_id unless order_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['siteId'] = site_id unless site_id.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['type'] = type unless type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing campaign landing page. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [String] id + # Landing page ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_landing_page(profile_id, campaign_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one campaign landing page by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [String] id + # Landing page ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LandingPage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LandingPage] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_landing_page(profile_id, campaign_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.response_class = Google::Apis::DfareportingV2_7::LandingPage + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new landing page for the specified campaign. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LandingPage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LandingPage] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_landing_page(profile_id, campaign_id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options) + command.request_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.request_object = landing_page_object + command.response_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.response_class = Google::Apis::DfareportingV2_7::LandingPage + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves the list of landing pages for the specified campaign. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LandingPagesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LandingPagesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_landing_pages(profile_id, campaign_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options) + command.response_representation = Google::Apis::DfareportingV2_7::LandingPagesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::LandingPagesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing campaign landing page. This method supports patch + # semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [String] id + # Landing page ID. + # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LandingPage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LandingPage] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_landing_page(profile_id, campaign_id, id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options) + command.request_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.request_object = landing_page_object + command.response_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.response_class = Google::Apis::DfareportingV2_7::LandingPage + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing campaign landing page. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Landing page campaign ID. + # @param [Google::Apis::DfareportingV2_7::LandingPage] landing_page_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LandingPage] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LandingPage] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_landing_page(profile_id, campaign_id, landing_page_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/campaigns/{campaignId}/landingPages', options) + command.request_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.request_object = landing_page_object + command.response_representation = Google::Apis::DfareportingV2_7::LandingPage::Representation + command.response_class = Google::Apis::DfareportingV2_7::LandingPage + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['campaignId'] = campaign_id unless campaign_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of languages. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::LanguagesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::LanguagesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_languages(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/languages', options) + command.response_representation = Google::Apis::DfareportingV2_7::LanguagesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::LanguagesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of metros. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::MetrosListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::MetrosListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_metros(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/metros', options) + command.response_representation = Google::Apis::DfareportingV2_7::MetrosListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::MetrosListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one mobile carrier by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Mobile carrier ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::MobileCarrier] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::MobileCarrier] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_mobile_carrier(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/mobileCarriers/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::MobileCarrier::Representation + command.response_class = Google::Apis::DfareportingV2_7::MobileCarrier + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of mobile carriers. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::MobileCarriersListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::MobileCarriersListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_mobile_carriers(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/mobileCarriers', options) + command.response_representation = Google::Apis::DfareportingV2_7::MobileCarriersListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::MobileCarriersListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one operating system version by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Operating system version ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OperatingSystemVersion] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OperatingSystemVersion] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_operating_system_version(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystemVersions/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::OperatingSystemVersion::Representation + command.response_class = Google::Apis::DfareportingV2_7::OperatingSystemVersion + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of operating system versions. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OperatingSystemVersionsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OperatingSystemVersionsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operating_system_versions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystemVersions', options) + command.response_representation = Google::Apis::DfareportingV2_7::OperatingSystemVersionsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::OperatingSystemVersionsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one operating system by DART ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] dart_id + # Operating system DART ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OperatingSystem] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OperatingSystem] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_operating_system(profile_id, dart_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystems/{dartId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::OperatingSystem::Representation + command.response_class = Google::Apis::DfareportingV2_7::OperatingSystem + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['dartId'] = dart_id unless dart_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of operating systems. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OperatingSystemsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OperatingSystemsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operating_systems(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/operatingSystems', options) + command.response_representation = Google::Apis::DfareportingV2_7::OperatingSystemsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::OperatingSystemsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one order document by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for order documents. + # @param [String] id + # Order document ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OrderDocument] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OrderDocument] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_order_document(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::OrderDocument::Representation + command.response_class = Google::Apis::DfareportingV2_7::OrderDocument + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of order documents, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for order documents. + # @param [Boolean] approved + # Select only order documents that have been approved by at least one user. + # @param [Array, String] ids + # Select only order documents with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [Array, String] order_id + # Select only order documents for specified orders. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for order documents by name or ID. Wildcards (*) are allowed. + # For example, "orderdocument*2015" will return order documents with names like " + # orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument + # 2015". Most of the searches also add wildcards implicitly at the start and the + # end of the search string. For example, a search string of "orderdocument" will + # match order documents with name "my orderdocument", "orderdocument 2015", or + # simply "orderdocument". + # @param [Array, String] site_id + # Select only order documents that are associated with these sites. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OrderDocumentsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OrderDocumentsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_order_documents(profile_id, project_id, approved: nil, ids: nil, max_results: nil, order_id: nil, page_token: nil, search_string: nil, site_id: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orderDocuments', options) + command.response_representation = Google::Apis::DfareportingV2_7::OrderDocumentsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::OrderDocumentsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.query['approved'] = approved unless approved.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['orderId'] = order_id unless order_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['siteId'] = site_id unless site_id.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one order by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for orders. + # @param [String] id + # Order ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Order] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Order] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_order(profile_id, project_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orders/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Order::Representation + command.response_class = Google::Apis::DfareportingV2_7::Order + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of orders, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] project_id + # Project ID for orders. + # @param [Array, String] ids + # Select only orders with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for orders by name or ID. Wildcards (*) are allowed. For + # example, "order*2015" will return orders with names like "order June 2015", " + # order April 2015", or simply "order 2015". Most of the searches also add + # wildcards implicitly at the start and the end of the search string. For + # example, a search string of "order" will match orders with name "my order", " + # order 2015", or simply "order". + # @param [Array, String] site_id + # Select only orders that are associated with these site IDs. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::OrdersListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::OrdersListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_orders(profile_id, project_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, site_id: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{projectId}/orders', options) + command.response_representation = Google::Apis::DfareportingV2_7::OrdersListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::OrdersListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['projectId'] = project_id unless project_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['siteId'] = site_id unless site_id.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one placement group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_placement_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placementGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new placement group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_placement_group(profile_id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/placementGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.request_object = placement_group_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of placement groups, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_ids + # Select only placement groups that belong to these advertisers. + # @param [Boolean] archived + # Select only archived placements. Don't set this field to select both archived + # and non-archived placements. + # @param [Array, String] campaign_ids + # Select only placement groups that belong to these campaigns. + # @param [Array, String] content_category_ids + # Select only placement groups that are associated with these content categories. + # @param [Array, String] directory_site_ids + # Select only placement groups that are associated with these directory sites. + # @param [Array, String] ids + # Select only placement groups with these IDs. + # @param [String] max_end_date + # Select only placements or placement groups whose end date is on or before the + # specified maxEndDate. The date should be formatted as "yyyy-MM-dd". + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] max_start_date + # Select only placements or placement groups whose start date is on or before + # the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] min_end_date + # Select only placements or placement groups whose end date is on or after the + # specified minEndDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] min_start_date + # Select only placements or placement groups whose start date is on or after the + # specified minStartDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] placement_group_type + # Select only placement groups belonging with this group type. A package is a + # simple group of placements that acts as a single pricing point for a group of + # tags. A roadblock is a group of placements that not only acts as a single + # pricing point but also assumes that all the tags in it will be served at the + # same time. A roadblock requires one of its assigned placements to be marked as + # primary for reporting. + # @param [Array, String] placement_strategy_ids + # Select only placement groups that are associated with these placement + # strategies. + # @param [Array, String] pricing_types + # Select only placement groups with these pricing types. + # @param [String] search_string + # Allows searching for placement groups by name or ID. Wildcards (*) are allowed. + # For example, "placement*2015" will return placement groups with names like " + # placement group June 2015", "placement group May 2015", or simply "placements + # 2015". Most of the searches also add wildcards implicitly at the start and the + # end of the search string. For example, a search string of "placementgroup" + # will match placement groups with name "my placementgroup", "placementgroup + # 2015", or simply "placementgroup". + # @param [Array, String] site_ids + # Select only placement groups that are associated with these sites. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_placement_groups(profile_id, advertiser_ids: nil, archived: nil, campaign_ids: nil, content_category_ids: nil, directory_site_ids: nil, ids: nil, max_end_date: nil, max_results: nil, max_start_date: nil, min_end_date: nil, min_start_date: nil, page_token: nil, placement_group_type: nil, placement_strategy_ids: nil, pricing_types: nil, search_string: nil, site_ids: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placementGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['archived'] = archived unless archived.nil? + command.query['campaignIds'] = campaign_ids unless campaign_ids.nil? + command.query['contentCategoryIds'] = content_category_ids unless content_category_ids.nil? + command.query['directorySiteIds'] = directory_site_ids unless directory_site_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxEndDate'] = max_end_date unless max_end_date.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['maxStartDate'] = max_start_date unless max_start_date.nil? + command.query['minEndDate'] = min_end_date unless min_end_date.nil? + command.query['minStartDate'] = min_start_date unless min_start_date.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['placementGroupType'] = placement_group_type unless placement_group_type.nil? + command.query['placementStrategyIds'] = placement_strategy_ids unless placement_strategy_ids.nil? + command.query['pricingTypes'] = pricing_types unless pricing_types.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['siteIds'] = site_ids unless site_ids.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement group. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement group ID. + # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_placement_group(profile_id, id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/placementGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.request_object = placement_group_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement group. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::PlacementGroup] placement_group_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_placement_group(profile_id, placement_group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/placementGroups', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.request_object = placement_group_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing placement strategy. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement strategy ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_placement_strategy(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/placementStrategies/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one placement strategy by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement strategy ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementStrategy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementStrategy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_placement_strategy(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placementStrategies/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementStrategy + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new placement strategy. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementStrategy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementStrategy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_placement_strategy(profile_id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/placementStrategies', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.request_object = placement_strategy_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementStrategy + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of placement strategies, possibly filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Select only placement strategies with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "placementstrategy*2015" will return objects with names like " + # placementstrategy June 2015", "placementstrategy April 2015", or simply " + # placementstrategy 2015". Most of the searches also add wildcards implicitly at + # the start and the end of the search string. For example, a search string of " + # placementstrategy" will match objects with name "my placementstrategy", " + # placementstrategy 2015", or simply "placementstrategy". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementStrategiesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementStrategiesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_placement_strategies(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placementStrategies', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementStrategiesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementStrategiesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement strategy. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement strategy ID. + # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementStrategy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementStrategy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_placement_strategy(profile_id, id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/placementStrategies', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.request_object = placement_strategy_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementStrategy + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement strategy. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::PlacementStrategy] placement_strategy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementStrategy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementStrategy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_placement_strategy(profile_id, placement_strategy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/placementStrategies', options) + command.request_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.request_object = placement_strategy_object + command.response_representation = Google::Apis::DfareportingV2_7::PlacementStrategy::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementStrategy + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Generates tags for a placement. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] campaign_id + # Generate placements belonging to this campaign. This is a required field. + # @param [Array, String] placement_ids + # Generate tags for these placements. + # @param [Array, String] tag_formats + # Tag formats to generate for these placements. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementsGenerateTagsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementsGenerateTagsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def generatetags_placement(profile_id, campaign_id: nil, placement_ids: nil, tag_formats: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/placements/generatetags', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementsGenerateTagsResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementsGenerateTagsResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['campaignId'] = campaign_id unless campaign_id.nil? + command.query['placementIds'] = placement_ids unless placement_ids.nil? + command.query['tagFormats'] = tag_formats unless tag_formats.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one placement by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Placement] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Placement] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_placement(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placements/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.response_class = Google::Apis::DfareportingV2_7::Placement + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new placement. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Placement] placement_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Placement] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Placement] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_placement(profile_id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/placements', options) + command.request_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.request_object = placement_object + command.response_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.response_class = Google::Apis::DfareportingV2_7::Placement + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of placements, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_ids + # Select only placements that belong to these advertisers. + # @param [Boolean] archived + # Select only archived placements. Don't set this field to select both archived + # and non-archived placements. + # @param [Array, String] campaign_ids + # Select only placements that belong to these campaigns. + # @param [Array, String] compatibilities + # Select only placements that are associated with these compatibilities. DISPLAY + # and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile + # devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL + # are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in- + # stream video ads developed with the VAST standard. + # @param [Array, String] content_category_ids + # Select only placements that are associated with these content categories. + # @param [Array, String] directory_site_ids + # Select only placements that are associated with these directory sites. + # @param [Array, String] group_ids + # Select only placements that belong to these placement groups. + # @param [Array, String] ids + # Select only placements with these IDs. + # @param [String] max_end_date + # Select only placements or placement groups whose end date is on or before the + # specified maxEndDate. The date should be formatted as "yyyy-MM-dd". + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] max_start_date + # Select only placements or placement groups whose start date is on or before + # the specified maxStartDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] min_end_date + # Select only placements or placement groups whose end date is on or after the + # specified minEndDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] min_start_date + # Select only placements or placement groups whose start date is on or after the + # specified minStartDate. The date should be formatted as "yyyy-MM-dd". + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] payment_source + # Select only placements with this payment source. + # @param [Array, String] placement_strategy_ids + # Select only placements that are associated with these placement strategies. + # @param [Array, String] pricing_types + # Select only placements with these pricing types. + # @param [String] search_string + # Allows searching for placements by name or ID. Wildcards (*) are allowed. For + # example, "placement*2015" will return placements with names like "placement + # June 2015", "placement May 2015", or simply "placements 2015". Most of the + # searches also add wildcards implicitly at the start and the end of the search + # string. For example, a search string of "placement" will match placements with + # name "my placement", "placement 2015", or simply "placement". + # @param [Array, String] site_ids + # Select only placements that are associated with these sites. + # @param [Array, String] size_ids + # Select only placements that are associated with these sizes. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlacementsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlacementsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_placements(profile_id, advertiser_ids: nil, archived: nil, campaign_ids: nil, compatibilities: nil, content_category_ids: nil, directory_site_ids: nil, group_ids: nil, ids: nil, max_end_date: nil, max_results: nil, max_start_date: nil, min_end_date: nil, min_start_date: nil, page_token: nil, payment_source: nil, placement_strategy_ids: nil, pricing_types: nil, search_string: nil, site_ids: nil, size_ids: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/placements', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlacementsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlacementsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['archived'] = archived unless archived.nil? + command.query['campaignIds'] = campaign_ids unless campaign_ids.nil? + command.query['compatibilities'] = compatibilities unless compatibilities.nil? + command.query['contentCategoryIds'] = content_category_ids unless content_category_ids.nil? + command.query['directorySiteIds'] = directory_site_ids unless directory_site_ids.nil? + command.query['groupIds'] = group_ids unless group_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxEndDate'] = max_end_date unless max_end_date.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['maxStartDate'] = max_start_date unless max_start_date.nil? + command.query['minEndDate'] = min_end_date unless min_end_date.nil? + command.query['minStartDate'] = min_start_date unless min_start_date.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['paymentSource'] = payment_source unless payment_source.nil? + command.query['placementStrategyIds'] = placement_strategy_ids unless placement_strategy_ids.nil? + command.query['pricingTypes'] = pricing_types unless pricing_types.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['siteIds'] = site_ids unless site_ids.nil? + command.query['sizeIds'] = size_ids unless size_ids.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Placement ID. + # @param [Google::Apis::DfareportingV2_7::Placement] placement_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Placement] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Placement] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_placement(profile_id, id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/placements', options) + command.request_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.request_object = placement_object + command.response_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.response_class = Google::Apis::DfareportingV2_7::Placement + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing placement. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Placement] placement_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Placement] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Placement] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_placement(profile_id, placement_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/placements', options) + command.request_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.request_object = placement_object + command.response_representation = Google::Apis::DfareportingV2_7::Placement::Representation + command.response_class = Google::Apis::DfareportingV2_7::Placement + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one platform type by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Platform type ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlatformType] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlatformType] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_platform_type(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/platformTypes/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlatformType::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlatformType + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of platform types. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PlatformTypesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PlatformTypesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_platform_types(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/platformTypes', options) + command.response_representation = Google::Apis::DfareportingV2_7::PlatformTypesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PlatformTypesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one postal code by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] code + # Postal code ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PostalCode] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PostalCode] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_postal_code(profile_id, code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/postalCodes/{code}', options) + command.response_representation = Google::Apis::DfareportingV2_7::PostalCode::Representation + command.response_class = Google::Apis::DfareportingV2_7::PostalCode + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['code'] = code unless code.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of postal codes. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::PostalCodesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::PostalCodesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_postal_codes(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/postalCodes', options) + command.response_representation = Google::Apis::DfareportingV2_7::PostalCodesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::PostalCodesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one project by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Project ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Project::Representation + command.response_class = Google::Apis::DfareportingV2_7::Project + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of projects, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] advertiser_ids + # Select only projects with these advertiser IDs. + # @param [Array, String] ids + # Select only projects with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for projects by name or ID. Wildcards (*) are allowed. For + # example, "project*2015" will return projects with names like "project June + # 2015", "project April 2015", or simply "project 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "project" will match projects with name "my + # project", "project 2015", or simply "project". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ProjectsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ProjectsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_projects(profile_id, advertiser_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/projects', options) + command.response_representation = Google::Apis::DfareportingV2_7::ProjectsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::ProjectsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserIds'] = advertiser_ids unless advertiser_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of regions. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RegionsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RegionsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_regions(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/regions', options) + command.response_representation = Google::Apis::DfareportingV2_7::RegionsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::RegionsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one remarketing list share by remarketing list ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] remarketing_list_id + # Remarketing list ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingListShare] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingListShare] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_remarketing_list_share(profile_id, remarketing_list_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingListShares/{remarketingListId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingListShare::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingListShare + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['remarketingListId'] = remarketing_list_id unless remarketing_list_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing remarketing list share. This method supports patch + # semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] remarketing_list_id + # Remarketing list ID. + # @param [Google::Apis::DfareportingV2_7::RemarketingListShare] remarketing_list_share_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingListShare] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingListShare] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_remarketing_list_share(profile_id, remarketing_list_id, remarketing_list_share_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/remarketingListShares', options) + command.request_representation = Google::Apis::DfareportingV2_7::RemarketingListShare::Representation + command.request_object = remarketing_list_share_object + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingListShare::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingListShare + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['remarketingListId'] = remarketing_list_id unless remarketing_list_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing remarketing list share. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::RemarketingListShare] remarketing_list_share_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingListShare] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingListShare] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_remarketing_list_share(profile_id, remarketing_list_share_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/remarketingListShares', options) + command.request_representation = Google::Apis::DfareportingV2_7::RemarketingListShare::Representation + command.request_object = remarketing_list_share_object + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingListShare::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingListShare + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one remarketing list by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Remarketing list ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_remarketing_list(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingLists/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingList + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new remarketing list. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_remarketing_list(profile_id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/remarketingLists', options) + command.request_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.request_object = remarketing_list_object + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of remarketing lists, possibly filtered. This method supports + # paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only remarketing lists owned by this advertiser. + # @param [Boolean] active + # Select only active or only inactive remarketing lists. + # @param [String] floodlight_activity_id + # Select only remarketing lists that have this floodlight activity ID. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] name + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "remarketing list*2015" will return objects with names like " + # remarketing list June 2015", "remarketing list April 2015", or simply " + # remarketing list 2015". Most of the searches also add wildcards implicitly at + # the start and the end of the search string. For example, a search string of " + # remarketing list" will match objects with name "my remarketing list", " + # remarketing list 2015", or simply "remarketing list". + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingListsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingListsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_remarketing_lists(profile_id, advertiser_id, active: nil, floodlight_activity_id: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/remarketingLists', options) + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingListsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingListsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['floodlightActivityId'] = floodlight_activity_id unless floodlight_activity_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing remarketing list. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Remarketing list ID. + # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_remarketing_list(profile_id, id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/remarketingLists', options) + command.request_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.request_object = remarketing_list_object + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing remarketing list. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::RemarketingList] remarketing_list_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::RemarketingList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::RemarketingList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_remarketing_list(profile_id, remarketing_list_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/remarketingLists', options) + command.request_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.request_object = remarketing_list_object + command.response_representation = Google::Apis::DfareportingV2_7::RemarketingList::Representation + command.response_class = Google::Apis::DfareportingV2_7::RemarketingList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a report by its ID. + # @param [String] profile_id + # The DFA user profile ID. + # @param [String] report_id + # The ID of the report. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_report(profile_id, report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/reports/{reportId}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a report by its ID. + # @param [String] profile_id + # The DFA user profile ID. + # @param [String] report_id + # The ID of the report. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Report] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Report] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_report(profile_id, report_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.response_class = Google::Apis::DfareportingV2_7::Report + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a report. + # @param [String] profile_id + # The DFA user profile ID. + # @param [Google::Apis::DfareportingV2_7::Report] report_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Report] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Report] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_report(profile_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/reports', options) + command.request_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.request_object = report_object + command.response_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.response_class = Google::Apis::DfareportingV2_7::Report + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves list of reports. + # @param [String] profile_id + # The DFA user profile ID. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # The value of the nextToken from the previous result page. + # @param [String] scope + # The scope that defines which results are returned, default is 'MINE'. + # @param [String] sort_field + # The field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is 'DESCENDING'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::ReportList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::ReportList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_reports(profile_id, max_results: nil, page_token: nil, scope: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/reports', options) + command.response_representation = Google::Apis::DfareportingV2_7::ReportList::Representation + command.response_class = Google::Apis::DfareportingV2_7::ReportList + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['scope'] = scope unless scope.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a report. This method supports patch semantics. + # @param [String] profile_id + # The DFA user profile ID. + # @param [String] report_id + # The ID of the report. + # @param [Google::Apis::DfareportingV2_7::Report] report_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Report] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Report] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_report(profile_id, report_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/reports/{reportId}', options) + command.request_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.request_object = report_object + command.response_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.response_class = Google::Apis::DfareportingV2_7::Report + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Runs a report. + # @param [String] profile_id + # The DFA profile ID. + # @param [String] report_id + # The ID of the report. + # @param [Boolean] synchronous + # If set and true, tries to run the report synchronously. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::File] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::File] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def run_report(profile_id, report_id, synchronous: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/reports/{reportId}/run', options) + command.response_representation = Google::Apis::DfareportingV2_7::File::Representation + command.response_class = Google::Apis::DfareportingV2_7::File + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['synchronous'] = synchronous unless synchronous.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a report. + # @param [String] profile_id + # The DFA user profile ID. + # @param [String] report_id + # The ID of the report. + # @param [Google::Apis::DfareportingV2_7::Report] report_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Report] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Report] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_report(profile_id, report_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/reports/{reportId}', options) + command.request_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.request_object = report_object + command.response_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.response_class = Google::Apis::DfareportingV2_7::Report + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Returns the fields that are compatible to be selected in the respective + # sections of a report criteria, given the fields already selected in the input + # report and user permissions. + # @param [String] profile_id + # The DFA user profile ID. + # @param [Google::Apis::DfareportingV2_7::Report] report_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::CompatibleFields] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::CompatibleFields] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def query_report_compatible_field(profile_id, report_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/reports/compatiblefields/query', options) + command.request_representation = Google::Apis::DfareportingV2_7::Report::Representation + command.request_object = report_object + command.response_representation = Google::Apis::DfareportingV2_7::CompatibleFields::Representation + command.response_class = Google::Apis::DfareportingV2_7::CompatibleFields + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a report file. + # @param [String] profile_id + # The DFA profile ID. + # @param [String] report_id + # The ID of the report. + # @param [String] file_id + # The ID of the report file. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [IO, String] download_dest + # IO stream or filename to receive content download + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::File] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::File] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_report_file(profile_id, report_id, file_id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + if download_dest.nil? + command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', options) + else + command = make_download_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files/{fileId}', options) + command.download_dest = download_dest + end + command.response_representation = Google::Apis::DfareportingV2_7::File::Representation + command.response_class = Google::Apis::DfareportingV2_7::File + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.params['fileId'] = file_id unless file_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists files for a report. + # @param [String] profile_id + # The DFA profile ID. + # @param [String] report_id + # The ID of the parent report. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # The value of the nextToken from the previous result page. + # @param [String] sort_field + # The field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is 'DESCENDING'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::FileList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::FileList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_report_files(profile_id, report_id, max_results: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/reports/{reportId}/files', options) + command.response_representation = Google::Apis::DfareportingV2_7::FileList::Representation + command.response_class = Google::Apis::DfareportingV2_7::FileList + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['reportId'] = report_id unless report_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one site by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Site ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Site] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Site] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_site(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/sites/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.response_class = Google::Apis::DfareportingV2_7::Site + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new site. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Site] site_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Site] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Site] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_site(profile_id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/sites', options) + command.request_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.request_object = site_object + command.response_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.response_class = Google::Apis::DfareportingV2_7::Site + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of sites, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] accepts_in_stream_video_placements + # This search filter is no longer supported and will have no effect on the + # results returned. + # @param [Boolean] accepts_interstitial_placements + # This search filter is no longer supported and will have no effect on the + # results returned. + # @param [Boolean] accepts_publisher_paid_placements + # Select only sites that accept publisher paid placements. + # @param [Boolean] ad_words_site + # Select only AdWords sites. + # @param [Boolean] approved + # Select only approved sites. + # @param [Array, String] campaign_ids + # Select only sites with these campaign IDs. + # @param [Array, String] directory_site_ids + # Select only sites with these directory site IDs. + # @param [Array, String] ids + # Select only sites with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. + # For example, "site*2015" will return objects with names like "site June 2015", + # "site April 2015", or simply "site 2015". Most of the searches also add + # wildcards implicitly at the start and the end of the search string. For + # example, a search string of "site" will match objects with name "my site", " + # site 2015", or simply "site". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] subaccount_id + # Select only sites with this subaccount ID. + # @param [Boolean] unmapped_site + # Select only sites that have not been mapped to a directory site. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::SitesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::SitesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_sites(profile_id, accepts_in_stream_video_placements: nil, accepts_interstitial_placements: nil, accepts_publisher_paid_placements: nil, ad_words_site: nil, approved: nil, campaign_ids: nil, directory_site_ids: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, unmapped_site: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/sites', options) + command.response_representation = Google::Apis::DfareportingV2_7::SitesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::SitesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['acceptsInStreamVideoPlacements'] = accepts_in_stream_video_placements unless accepts_in_stream_video_placements.nil? + command.query['acceptsInterstitialPlacements'] = accepts_interstitial_placements unless accepts_interstitial_placements.nil? + command.query['acceptsPublisherPaidPlacements'] = accepts_publisher_paid_placements unless accepts_publisher_paid_placements.nil? + command.query['adWordsSite'] = ad_words_site unless ad_words_site.nil? + command.query['approved'] = approved unless approved.nil? + command.query['campaignIds'] = campaign_ids unless campaign_ids.nil? + command.query['directorySiteIds'] = directory_site_ids unless directory_site_ids.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['subaccountId'] = subaccount_id unless subaccount_id.nil? + command.query['unmappedSite'] = unmapped_site unless unmapped_site.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing site. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Site ID. + # @param [Google::Apis::DfareportingV2_7::Site] site_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Site] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Site] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_site(profile_id, id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/sites', options) + command.request_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.request_object = site_object + command.response_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.response_class = Google::Apis::DfareportingV2_7::Site + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing site. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Site] site_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Site] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Site] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_site(profile_id, site_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/sites', options) + command.request_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.request_object = site_object + command.response_representation = Google::Apis::DfareportingV2_7::Site::Representation + command.response_class = Google::Apis::DfareportingV2_7::Site + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one size by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Size ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Size] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Size] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_size(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/sizes/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Size::Representation + command.response_class = Google::Apis::DfareportingV2_7::Size + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new size. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Size] size_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Size] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Size] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_size(profile_id, size_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/sizes', options) + command.request_representation = Google::Apis::DfareportingV2_7::Size::Representation + command.request_object = size_object + command.response_representation = Google::Apis::DfareportingV2_7::Size::Representation + command.response_class = Google::Apis::DfareportingV2_7::Size + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of sizes, possibly filtered. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Fixnum] height + # Select only sizes with this height. + # @param [Boolean] iab_standard + # Select only IAB standard sizes. + # @param [Array, String] ids + # Select only sizes with these IDs. + # @param [Fixnum] width + # Select only sizes with this width. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::SizesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::SizesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_sizes(profile_id, height: nil, iab_standard: nil, ids: nil, width: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/sizes', options) + command.response_representation = Google::Apis::DfareportingV2_7::SizesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::SizesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['height'] = height unless height.nil? + command.query['iabStandard'] = iab_standard unless iab_standard.nil? + command.query['ids'] = ids unless ids.nil? + command.query['width'] = width unless width.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one subaccount by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Subaccount ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Subaccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Subaccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_subaccount(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/subaccounts/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.response_class = Google::Apis::DfareportingV2_7::Subaccount + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new subaccount. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Subaccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Subaccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_subaccount(profile_id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/subaccounts', options) + command.request_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.request_object = subaccount_object + command.response_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.response_class = Google::Apis::DfareportingV2_7::Subaccount + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of subaccounts, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Select only subaccounts with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "subaccount*2015" will return objects with names like "subaccount + # June 2015", "subaccount April 2015", or simply "subaccount 2015". Most of the + # searches also add wildcards implicitly at the start and the end of the search + # string. For example, a search string of "subaccount" will match objects with + # name "my subaccount", "subaccount 2015", or simply "subaccount". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::SubaccountsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::SubaccountsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_subaccounts(profile_id, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/subaccounts', options) + command.response_representation = Google::Apis::DfareportingV2_7::SubaccountsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::SubaccountsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing subaccount. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Subaccount ID. + # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Subaccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Subaccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_subaccount(profile_id, id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/subaccounts', options) + command.request_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.request_object = subaccount_object + command.response_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.response_class = Google::Apis::DfareportingV2_7::Subaccount + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing subaccount. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::Subaccount] subaccount_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::Subaccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::Subaccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_subaccount(profile_id, subaccount_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/subaccounts', options) + command.request_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.request_object = subaccount_object + command.response_representation = Google::Apis::DfareportingV2_7::Subaccount::Representation + command.response_class = Google::Apis::DfareportingV2_7::Subaccount + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one remarketing list by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Remarketing list ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetableRemarketingList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetableRemarketingList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_targetable_remarketing_list(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/targetableRemarketingLists/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::TargetableRemarketingList::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetableRemarketingList + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of targetable remarketing lists, possibly filtered. This + # method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only targetable remarketing lists targetable by these advertisers. + # @param [Boolean] active + # Select only active or only inactive targetable remarketing lists. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] name + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "remarketing list*2015" will return objects with names like " + # remarketing list June 2015", "remarketing list April 2015", or simply " + # remarketing list 2015". Most of the searches also add wildcards implicitly at + # the start and the end of the search string. For example, a search string of " + # remarketing list" will match objects with name "my remarketing list", " + # remarketing list 2015", or simply "remarketing list". + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetableRemarketingListsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetableRemarketingListsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_targetable_remarketing_lists(profile_id, advertiser_id, active: nil, max_results: nil, name: nil, page_token: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/targetableRemarketingLists', options) + command.response_representation = Google::Apis::DfareportingV2_7::TargetableRemarketingListsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetableRemarketingListsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['active'] = active unless active.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one targeting template by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Targeting template ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetingTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetingTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_targeting_template(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/targetingTemplates/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetingTemplate + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new targeting template. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetingTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetingTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_targeting_template(profile_id, targeting_template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/targetingTemplates', options) + command.request_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.request_object = targeting_template_object + command.response_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetingTemplate + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of targeting templates, optionally filtered. This method + # supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] advertiser_id + # Select only targeting templates with this advertiser ID. + # @param [Array, String] ids + # Select only targeting templates with these IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "template*2015" will return objects with names like "template June + # 2015", "template April 2015", or simply "template 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "template" will match objects with name "my + # template", "template 2015", or simply "template". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetingTemplatesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetingTemplatesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_targeting_templates(profile_id, advertiser_id: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/targetingTemplates', options) + command.response_representation = Google::Apis::DfareportingV2_7::TargetingTemplatesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetingTemplatesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['advertiserId'] = advertiser_id unless advertiser_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing targeting template. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # Targeting template ID. + # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetingTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetingTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_targeting_template(profile_id, id, targeting_template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/targetingTemplates', options) + command.request_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.request_object = targeting_template_object + command.response_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetingTemplate + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing targeting template. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::TargetingTemplate] targeting_template_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::TargetingTemplate] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::TargetingTemplate] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_targeting_template(profile_id, targeting_template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/targetingTemplates', options) + command.request_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.request_object = targeting_template_object + command.response_representation = Google::Apis::DfareportingV2_7::TargetingTemplate::Representation + command.response_class = Google::Apis::DfareportingV2_7::TargetingTemplate + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one user profile by ID. + # @param [String] profile_id + # The user profile ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_profile(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserProfile::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserProfile + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves list of user profiles for a user. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserProfileList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserProfileList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_profiles(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserProfileList::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserProfileList + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one user role permission group by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User role permission group ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRolePermissionGroup] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRolePermissionGroup] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_role_permission_group(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissionGroups/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRolePermissionGroup::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRolePermissionGroup + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of all supported user role permission groups. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRolePermissionGroupsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRolePermissionGroupsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_role_permission_groups(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissionGroups', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRolePermissionGroupsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRolePermissionGroupsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one user role permission by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User role permission ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRolePermission] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRolePermission] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_role_permission(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissions/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRolePermission::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRolePermission + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a list of user role permissions, possibly filtered. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Array, String] ids + # Select only user role permissions with these IDs. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRolePermissionsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRolePermissionsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_role_permissions(profile_id, ids: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRolePermissions', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRolePermissionsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRolePermissionsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['ids'] = ids unless ids.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing user role. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User role ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_user_role(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'userprofiles/{profileId}/userRoles/{id}', options) + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one user role by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User role ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRole] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRole] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_role(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRoles/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRole + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Inserts a new user role. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRole] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRole] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_user_role(profile_id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'userprofiles/{profileId}/userRoles', options) + command.request_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.request_object = user_role_object + command.response_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRole + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Retrieves a list of user roles, possibly filtered. This method supports paging. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Boolean] account_user_role_only + # Select only account level user roles not associated with any specific + # subaccount. + # @param [Array, String] ids + # Select only user roles with the specified IDs. + # @param [Fixnum] max_results + # Maximum number of results to return. + # @param [String] page_token + # Value of the nextPageToken from the previous result page. + # @param [String] search_string + # Allows searching for objects by name or ID. Wildcards (*) are allowed. For + # example, "userrole*2015" will return objects with names like "userrole June + # 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches + # also add wildcards implicitly at the start and the end of the search string. + # For example, a search string of "userrole" will match objects with name "my + # userrole", "userrole 2015", or simply "userrole". + # @param [String] sort_field + # Field by which to sort the list. + # @param [String] sort_order + # Order of sorted results, default is ASCENDING. + # @param [String] subaccount_id + # Select only user roles that belong to this subaccount. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRolesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRolesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_roles(profile_id, account_user_role_only: nil, ids: nil, max_results: nil, page_token: nil, search_string: nil, sort_field: nil, sort_order: nil, subaccount_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/userRoles', options) + command.response_representation = Google::Apis::DfareportingV2_7::UserRolesListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRolesListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['accountUserRoleOnly'] = account_user_role_only unless account_user_role_only.nil? + command.query['ids'] = ids unless ids.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['searchString'] = search_string unless search_string.nil? + command.query['sortField'] = sort_field unless sort_field.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['subaccountId'] = subaccount_id unless subaccount_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing user role. This method supports patch semantics. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] id + # User role ID. + # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRole] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRole] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_user_role(profile_id, id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'userprofiles/{profileId}/userRoles', options) + command.request_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.request_object = user_role_object + command.response_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRole + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing user role. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Google::Apis::DfareportingV2_7::UserRole] user_role_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::UserRole] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::UserRole] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_user_role(profile_id, user_role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'userprofiles/{profileId}/userRoles', options) + command.request_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.request_object = user_role_object + command.response_representation = Google::Apis::DfareportingV2_7::UserRole::Representation + command.response_class = Google::Apis::DfareportingV2_7::UserRole + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets one video format by ID. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [Fixnum] id + # Video format ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::VideoFormat] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::VideoFormat] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_video_format(profile_id, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/videoFormats/{id}', options) + command.response_representation = Google::Apis::DfareportingV2_7::VideoFormat::Representation + command.response_class = Google::Apis::DfareportingV2_7::VideoFormat + command.params['profileId'] = profile_id unless profile_id.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists available video formats. + # @param [String] profile_id + # User profile ID associated with this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DfareportingV2_7::VideoFormatsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DfareportingV2_7::VideoFormatsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_video_formats(profile_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'userprofiles/{profileId}/videoFormats', options) + command.response_representation = Google::Apis::DfareportingV2_7::VideoFormatsListResponse::Representation + command.response_class = Google::Apis::DfareportingV2_7::VideoFormatsListResponse + command.params['profileId'] = profile_id unless profile_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/dns_v1.rb b/generated/google/apis/dns_v1.rb index a0e13aab7..8efdf9fd2 100644 --- a/generated/google/apis/dns_v1.rb +++ b/generated/google/apis/dns_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/cloud-dns module DnsV1 VERSION = 'V1' - REVISION = '20160601' + REVISION = '20170322' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dns_v1/classes.rb b/generated/google/apis/dns_v1/classes.rb index 19ddf0c09..cd6943f6a 100644 --- a/generated/google/apis/dns_v1/classes.rb +++ b/generated/google/apis/dns_v1/classes.rb @@ -146,7 +146,7 @@ module Google attr_accessor :kind # User assigned name for this resource. Must be unique within the project. The - # name must be 1-32 characters long, must begin with a letter, end with a letter + # name must be 1-63 characters long, must begin with a letter, end with a letter # or digit, and only contain lowercase letters, digits or dashes. # Corresponds to the JSON property `name` # @return [String] diff --git a/generated/google/apis/dns_v2beta1.rb b/generated/google/apis/dns_v2beta1.rb new file mode 100644 index 000000000..0f17c6f99 --- /dev/null +++ b/generated/google/apis/dns_v2beta1.rb @@ -0,0 +1,43 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/dns_v2beta1/service.rb' +require 'google/apis/dns_v2beta1/classes.rb' +require 'google/apis/dns_v2beta1/representations.rb' + +module Google + module Apis + # Google Cloud DNS API + # + # Configures and serves authoritative DNS records. + # + # @see https://developers.google.com/cloud-dns + module DnsV2beta1 + VERSION = 'V2beta1' + REVISION = '20170322' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' + + # View your DNS records hosted by Google Cloud DNS + AUTH_NDEV_CLOUDDNS_READONLY = 'https://www.googleapis.com/auth/ndev.clouddns.readonly' + + # View and manage your DNS records hosted by Google Cloud DNS + AUTH_NDEV_CLOUDDNS_READWRITE = 'https://www.googleapis.com/auth/ndev.clouddns.readwrite' + end + end +end diff --git a/generated/google/apis/dns_v2beta1/classes.rb b/generated/google/apis/dns_v2beta1/classes.rb new file mode 100644 index 000000000..e33041e9f --- /dev/null +++ b/generated/google/apis/dns_v2beta1/classes.rb @@ -0,0 +1,915 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DnsV2beta1 + + # An atomic update to a collection of ResourceRecordSets. + class Change + include Google::Apis::Core::Hashable + + # Which ResourceRecordSets to add? + # Corresponds to the JSON property `additions` + # @return [Array] + attr_accessor :additions + + # Which ResourceRecordSets to remove? Must match existing data exactly. + # Corresponds to the JSON property `deletions` + # @return [Array] + attr_accessor :deletions + + # Unique identifier for the resource; defined by the server (output only). + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # If the DNS queries for the zone will be served. + # Corresponds to the JSON property `isServing` + # @return [Boolean] + attr_accessor :is_serving + alias_method :is_serving?, :is_serving + + # Identifies what kind of resource this is. Value: the fixed string "dns#change". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The time that this operation was started by the server (output only). This is + # in RFC3339 text format. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Status of the operation (output only). + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additions = args[:additions] if args.key?(:additions) + @deletions = args[:deletions] if args.key?(:deletions) + @id = args[:id] if args.key?(:id) + @is_serving = args[:is_serving] if args.key?(:is_serving) + @kind = args[:kind] if args.key?(:kind) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + end + end + + # The response to a request to enumerate Changes to a ResourceRecordSets + # collection. + class ChangesListResponse + include Google::Apis::Core::Hashable + + # The requested changes. + # Corresponds to the JSON property `changes` + # @return [Array] + attr_accessor :changes + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The presence of this field indicates that there exist more results following + # your last page of results in pagination order. To fetch them, make another + # list request using this value as your pagination token. + # In this way you can retrieve the complete contents of even very large + # collections one page at a time. However, if the contents of the collection + # change between the first and last paginated list request, the set of all + # elements returned will be an inconsistent view of the collection. There is no + # way to retrieve a "snapshot" of collections larger than the maximum page size. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @changes = args[:changes] if args.key?(:changes) + @header = args[:header] if args.key?(:header) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A DNSSEC key pair. + class DnsKey + include Google::Apis::Core::Hashable + + # String mnemonic specifying the DNSSEC algorithm of this key. Immutable after + # creation time. + # Corresponds to the JSON property `algorithm` + # @return [String] + attr_accessor :algorithm + + # The time that this resource was created in the control plane. This is in + # RFC3339 text format. Output only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # A mutable string of at most 1024 characters associated with this resource for + # the user's convenience. Has no effect on the resource's function. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. + # These digests are needed to construct a DS record that points at this DNS key. + # Output only. + # Corresponds to the JSON property `digests` + # @return [Array] + attr_accessor :digests + + # Unique identifier for the resource; defined by the server (output only). + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Active keys will be used to sign subsequent changes to the ManagedZone. + # Inactive keys will still be present as DNSKEY Resource Records for the use of + # resolvers validating existing signatures. + # Corresponds to the JSON property `isActive` + # @return [Boolean] + attr_accessor :is_active + alias_method :is_active?, :is_active + + # Length of the key in bits. Specified at creation time then immutable. + # Corresponds to the JSON property `keyLength` + # @return [Fixnum] + attr_accessor :key_length + + # The key tag is a non-cryptographic hash of the a DNSKEY resource record + # associated with this DnsKey. The key tag can be used to identify a DNSKEY more + # quickly (but it is not a unique identifier). In particular, the key tag is + # used in a parent zone's DS record to point at the DNSKEY in this child + # ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm + # to calculate it is specified in RFC4034 Appendix B. Output only. + # Corresponds to the JSON property `keyTag` + # @return [Fixnum] + attr_accessor :key_tag + + # Identifies what kind of resource this is. Value: the fixed string "dns#dnsKey". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Base64 encoded public half of this key. Output only. + # Corresponds to the JSON property `publicKey` + # @return [String] + attr_accessor :public_key + + # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the + # Secure Entry Point flag set and, when active, will be used to sign only + # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag + # will be cleared and this key will be used to sign only resource record sets of + # other types. Immutable after creation time. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @algorithm = args[:algorithm] if args.key?(:algorithm) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @description = args[:description] if args.key?(:description) + @digests = args[:digests] if args.key?(:digests) + @id = args[:id] if args.key?(:id) + @is_active = args[:is_active] if args.key?(:is_active) + @key_length = args[:key_length] if args.key?(:key_length) + @key_tag = args[:key_tag] if args.key?(:key_tag) + @kind = args[:kind] if args.key?(:kind) + @public_key = args[:public_key] if args.key?(:public_key) + @type = args[:type] if args.key?(:type) + end + end + + # + class DnsKeyDigest + include Google::Apis::Core::Hashable + + # The base-16 encoded bytes of this digest. Suitable for use in a DS resource + # record. + # Corresponds to the JSON property `digest` + # @return [String] + attr_accessor :digest + + # Specifies the algorithm used to calculate this digest. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @digest = args[:digest] if args.key?(:digest) + @type = args[:type] if args.key?(:type) + end + end + + # Parameters for DnsKey key generation. Used for generating initial keys for a + # new ManagedZone and as default when adding a new DnsKey. + class DnsKeySpec + include Google::Apis::Core::Hashable + + # String mnemonic specifying the DNSSEC algorithm of this key. + # Corresponds to the JSON property `algorithm` + # @return [String] + attr_accessor :algorithm + + # Length of the keys in bits. + # Corresponds to the JSON property `keyLength` + # @return [Fixnum] + attr_accessor :key_length + + # One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the + # Secure Entry Point flag set and, when active, will be used to sign only + # resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag + # will be cleared and this key will be used to sign only resource record sets of + # other types. + # Corresponds to the JSON property `keyType` + # @return [String] + attr_accessor :key_type + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # dnsKeySpec". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @algorithm = args[:algorithm] if args.key?(:algorithm) + @key_length = args[:key_length] if args.key?(:key_length) + @key_type = args[:key_type] if args.key?(:key_type) + @kind = args[:kind] if args.key?(:kind) + end + end + + # The response to a request to enumerate DnsKeys in a ManagedZone. + class DnsKeysListResponse + include Google::Apis::Core::Hashable + + # The requested resources. + # Corresponds to the JSON property `dnsKeys` + # @return [Array] + attr_accessor :dns_keys + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The presence of this field indicates that there exist more results following + # your last page of results in pagination order. To fetch them, make another + # list request using this value as your pagination token. + # In this way you can retrieve the complete contents of even very large + # collections one page at a time. However, if the contents of the collection + # change between the first and last paginated list request, the set of all + # elements returned will be an inconsistent view of the collection. There is no + # way to retrieve a "snapshot" of collections larger than the maximum page size. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dns_keys = args[:dns_keys] if args.key?(:dns_keys) + @header = args[:header] if args.key?(:header) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A zone is a subtree of the DNS namespace under one administrative + # responsibility. A ManagedZone is a resource that represents a DNS zone hosted + # by the Cloud DNS service. + class ManagedZone + include Google::Apis::Core::Hashable + + # The time that this resource was created on the server. This is in RFC3339 text + # format. Output only. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # A mutable string of at most 1024 characters associated with this resource for + # the user's convenience. Has no effect on the managed zone's function. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The DNS name of this managed zone, for instance "example.com.". + # Corresponds to the JSON property `dnsName` + # @return [String] + attr_accessor :dns_name + + # DNSSEC configuration. + # Corresponds to the JSON property `dnssecConfig` + # @return [Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig] + attr_accessor :dnssec_config + + # Unique identifier for the resource; defined by the server (output only) + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZone". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # User assigned name for this resource. Must be unique within the project. The + # name must be 1-63 characters long, must begin with a letter, end with a letter + # or digit, and only contain lowercase letters, digits or dashes. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet + # is a set of DNS name servers that all host the same ManagedZones. Most users + # will leave this field unset. + # Corresponds to the JSON property `nameServerSet` + # @return [String] + attr_accessor :name_server_set + + # Delegate your managed_zone to these virtual name servers; defined by the + # server (output only) + # Corresponds to the JSON property `nameServers` + # @return [Array] + attr_accessor :name_servers + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @description = args[:description] if args.key?(:description) + @dns_name = args[:dns_name] if args.key?(:dns_name) + @dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @name_server_set = args[:name_server_set] if args.key?(:name_server_set) + @name_servers = args[:name_servers] if args.key?(:name_servers) + end + end + + # + class ManagedZoneDnsSecConfig + include Google::Apis::Core::Hashable + + # Specifies parameters that will be used for generating initial DnsKeys for this + # ManagedZone. Output only while state is not OFF. + # Corresponds to the JSON property `defaultKeySpecs` + # @return [Array] + attr_accessor :default_key_specs + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # managedZoneDnsSecConfig". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Specifies the mechanism used to provide authenticated denial-of-existence + # responses. Output only while state is not OFF. + # Corresponds to the JSON property `nonExistence` + # @return [String] + attr_accessor :non_existence + + # Specifies whether DNSSEC is enabled, and what mode it is in. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_key_specs = args[:default_key_specs] if args.key?(:default_key_specs) + @kind = args[:kind] if args.key?(:kind) + @non_existence = args[:non_existence] if args.key?(:non_existence) + @state = args[:state] if args.key?(:state) + end + end + + # + class ManagedZoneOperationsListResponse + include Google::Apis::Core::Hashable + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The presence of this field indicates that there exist more results following + # your last page of results in pagination order. To fetch them, make another + # list request using this value as your page token. + # In this way you can retrieve the complete contents of even very large + # collections one page at a time. However, if the contents of the collection + # change between the first and last paginated list request, the set of all + # elements returned will be an inconsistent view of the collection. There is no + # way to retrieve a consistent snapshot of a collection larger than the maximum + # page size. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The operation resources. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + + # + class ManagedZonesDeleteResponse + include Google::Apis::Core::Hashable + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + end + end + + # + class ManagedZonesListResponse + include Google::Apis::Core::Hashable + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The managed zone resources. + # Corresponds to the JSON property `managedZones` + # @return [Array] + attr_accessor :managed_zones + + # The presence of this field indicates that there exist more results following + # your last page of results in pagination order. To fetch them, make another + # list request using this value as your page token. + # In this way you can retrieve the complete contents of even very large + # collections one page at a time. However, if the contents of the collection + # change between the first and last paginated list request, the set of all + # elements returned will be an inconsistent view of the collection. There is no + # way to retrieve a consistent snapshot of a collection larger than the maximum + # page size. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + @kind = args[:kind] if args.key?(:kind) + @managed_zones = args[:managed_zones] if args.key?(:managed_zones) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # An operation represents a successful mutation performed on a Cloud DNS + # resource. Operations provide: - An audit log of server resource mutations. - A + # way to recover/retry API calls in the case where the response is never + # received by the caller. Use the caller specified client_operation_id. + class Operation + include Google::Apis::Core::Hashable + + # Only populated if the operation targeted a DnsKey (output only). + # Corresponds to the JSON property `dnsKeyContext` + # @return [Google::Apis::DnsV2beta1::OperationDnsKeyContext] + attr_accessor :dns_key_context + + # Unique identifier for the resource. This is the client_operation_id if the + # client specified it when the mutation was initiated, otherwise, it is + # generated by the server. The name must be 1-63 characters long and match the + # regular expression [-a-z0-9]? (output only) + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # operation". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The time that this operation was started by the server. This is in RFC3339 + # text format (output only). + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Status of the operation. Can be one of the following: "PENDING" or "DONE" ( + # output only). + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # Type of the operation. Operations include insert, update, and delete (output + # only). + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # User who requested the operation, for example: user@example.com. cloud-dns- + # system for operations automatically done by the system. (output only) + # Corresponds to the JSON property `user` + # @return [String] + attr_accessor :user + + # Only populated if the operation targeted a ManagedZone (output only). + # Corresponds to the JSON property `zoneContext` + # @return [Google::Apis::DnsV2beta1::OperationManagedZoneContext] + attr_accessor :zone_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dns_key_context = args[:dns_key_context] if args.key?(:dns_key_context) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + @type = args[:type] if args.key?(:type) + @user = args[:user] if args.key?(:user) + @zone_context = args[:zone_context] if args.key?(:zone_context) + end + end + + # + class OperationDnsKeyContext + include Google::Apis::Core::Hashable + + # A DNSSEC key pair. + # Corresponds to the JSON property `newValue` + # @return [Google::Apis::DnsV2beta1::DnsKey] + attr_accessor :new_value + + # A DNSSEC key pair. + # Corresponds to the JSON property `oldValue` + # @return [Google::Apis::DnsV2beta1::DnsKey] + attr_accessor :old_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_value = args[:new_value] if args.key?(:new_value) + @old_value = args[:old_value] if args.key?(:old_value) + end + end + + # + class OperationManagedZoneContext + include Google::Apis::Core::Hashable + + # A zone is a subtree of the DNS namespace under one administrative + # responsibility. A ManagedZone is a resource that represents a DNS zone hosted + # by the Cloud DNS service. + # Corresponds to the JSON property `newValue` + # @return [Google::Apis::DnsV2beta1::ManagedZone] + attr_accessor :new_value + + # A zone is a subtree of the DNS namespace under one administrative + # responsibility. A ManagedZone is a resource that represents a DNS zone hosted + # by the Cloud DNS service. + # Corresponds to the JSON property `oldValue` + # @return [Google::Apis::DnsV2beta1::ManagedZone] + attr_accessor :old_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_value = args[:new_value] if args.key?(:new_value) + @old_value = args[:old_value] if args.key?(:old_value) + end + end + + # A project resource. The project is a top level container for resources + # including Cloud DNS ManagedZones. Projects can be created only in the APIs + # console. + class Project + include Google::Apis::Core::Hashable + + # User assigned unique identifier for the resource (output only). + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string "dns#project" + # . + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Unique numeric identifier for the resource; defined by the server (output only) + # . + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # Limits associated with a Project. + # Corresponds to the JSON property `quota` + # @return [Google::Apis::DnsV2beta1::Quota] + attr_accessor :quota + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @number = args[:number] if args.key?(:number) + @quota = args[:quota] if args.key?(:quota) + end + end + + # Limits associated with a Project. + class Quota + include Google::Apis::Core::Hashable + + # Maximum allowed number of DnsKeys per ManagedZone. + # Corresponds to the JSON property `dnsKeysPerManagedZone` + # @return [Fixnum] + attr_accessor :dns_keys_per_managed_zone + + # Identifies what kind of resource this is. Value: the fixed string "dns#quota". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # Maximum allowed number of managed zones in the project. + # Corresponds to the JSON property `managedZones` + # @return [Fixnum] + attr_accessor :managed_zones + + # Maximum allowed number of ResourceRecords per ResourceRecordSet. + # Corresponds to the JSON property `resourceRecordsPerRrset` + # @return [Fixnum] + attr_accessor :resource_records_per_rrset + + # Maximum allowed number of ResourceRecordSets to add per ChangesCreateRequest. + # Corresponds to the JSON property `rrsetAdditionsPerChange` + # @return [Fixnum] + attr_accessor :rrset_additions_per_change + + # Maximum allowed number of ResourceRecordSets to delete per + # ChangesCreateRequest. + # Corresponds to the JSON property `rrsetDeletionsPerChange` + # @return [Fixnum] + attr_accessor :rrset_deletions_per_change + + # Maximum allowed number of ResourceRecordSets per zone in the project. + # Corresponds to the JSON property `rrsetsPerManagedZone` + # @return [Fixnum] + attr_accessor :rrsets_per_managed_zone + + # Maximum allowed size for total rrdata in one ChangesCreateRequest in bytes. + # Corresponds to the JSON property `totalRrdataSizePerChange` + # @return [Fixnum] + attr_accessor :total_rrdata_size_per_change + + # DNSSEC algorithm and key length types that can be used for DnsKeys. + # Corresponds to the JSON property `whitelistedKeySpecs` + # @return [Array] + attr_accessor :whitelisted_key_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dns_keys_per_managed_zone = args[:dns_keys_per_managed_zone] if args.key?(:dns_keys_per_managed_zone) + @kind = args[:kind] if args.key?(:kind) + @managed_zones = args[:managed_zones] if args.key?(:managed_zones) + @resource_records_per_rrset = args[:resource_records_per_rrset] if args.key?(:resource_records_per_rrset) + @rrset_additions_per_change = args[:rrset_additions_per_change] if args.key?(:rrset_additions_per_change) + @rrset_deletions_per_change = args[:rrset_deletions_per_change] if args.key?(:rrset_deletions_per_change) + @rrsets_per_managed_zone = args[:rrsets_per_managed_zone] if args.key?(:rrsets_per_managed_zone) + @total_rrdata_size_per_change = args[:total_rrdata_size_per_change] if args.key?(:total_rrdata_size_per_change) + @whitelisted_key_specs = args[:whitelisted_key_specs] if args.key?(:whitelisted_key_specs) + end + end + + # A unit of data that will be returned by the DNS servers. + class ResourceRecordSet + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "dns# + # resourceRecordSet". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # For example, www.example.com. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). + # Corresponds to the JSON property `rrdatas` + # @return [Array] + attr_accessor :rrdatas + + # As defined in RFC 4034 (section 3.2). + # Corresponds to the JSON property `signatureRrdatas` + # @return [Array] + attr_accessor :signature_rrdatas + + # Number of seconds that this ResourceRecordSet can be cached by resolvers. + # Corresponds to the JSON property `ttl` + # @return [Fixnum] + attr_accessor :ttl + + # The identifier of a supported record type, for example, A, AAAA, MX, TXT, and + # so on. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + @rrdatas = args[:rrdatas] if args.key?(:rrdatas) + @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas) + @ttl = args[:ttl] if args.key?(:ttl) + @type = args[:type] if args.key?(:type) + end + end + + # + class ResourceRecordSetsListResponse + include Google::Apis::Core::Hashable + + # Elements common to every response. + # Corresponds to the JSON property `header` + # @return [Google::Apis::DnsV2beta1::ResponseHeader] + attr_accessor :header + + # Type of resource. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The presence of this field indicates that there exist more results following + # your last page of results in pagination order. To fetch them, make another + # list request using this value as your pagination token. + # In this way you can retrieve the complete contents of even very large + # collections one page at a time. However, if the contents of the collection + # change between the first and last paginated list request, the set of all + # elements returned will be an inconsistent view of the collection. There is no + # way to retrieve a consistent snapshot of a collection larger than the maximum + # page size. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The resource record set resources. + # Corresponds to the JSON property `rrsets` + # @return [Array] + attr_accessor :rrsets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @header = args[:header] if args.key?(:header) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @rrsets = args[:rrsets] if args.key?(:rrsets) + end + end + + # Elements common to every response. + class ResponseHeader + include Google::Apis::Core::Hashable + + # For mutating operation requests that completed successfully. This is the + # client_operation_id if the client specified it, otherwise it is generated by + # the server (output only). + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_id = args[:operation_id] if args.key?(:operation_id) + end + end + end + end +end diff --git a/generated/google/apis/dns_v2beta1/representations.rb b/generated/google/apis/dns_v2beta1/representations.rb new file mode 100644 index 000000000..c05a0f26b --- /dev/null +++ b/generated/google/apis/dns_v2beta1/representations.rb @@ -0,0 +1,368 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DnsV2beta1 + + class Change + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChangesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DnsKey + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DnsKeyDigest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DnsKeySpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DnsKeysListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZone + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZoneDnsSecConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZoneOperationsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZonesDeleteResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ManagedZonesListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationDnsKeyContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationManagedZoneContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Project + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Quota + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceRecordSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceRecordSetsListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResponseHeader + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Change + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additions, as: 'additions', class: Google::Apis::DnsV2beta1::ResourceRecordSet, decorator: Google::Apis::DnsV2beta1::ResourceRecordSet::Representation + + collection :deletions, as: 'deletions', class: Google::Apis::DnsV2beta1::ResourceRecordSet, decorator: Google::Apis::DnsV2beta1::ResourceRecordSet::Representation + + property :id, as: 'id' + property :is_serving, as: 'isServing' + property :kind, as: 'kind' + property :start_time, as: 'startTime' + property :status, as: 'status' + end + end + + class ChangesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :changes, as: 'changes', class: Google::Apis::DnsV2beta1::Change, decorator: Google::Apis::DnsV2beta1::Change::Representation + + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class DnsKey + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' + property :creation_time, as: 'creationTime' + property :description, as: 'description' + collection :digests, as: 'digests', class: Google::Apis::DnsV2beta1::DnsKeyDigest, decorator: Google::Apis::DnsV2beta1::DnsKeyDigest::Representation + + property :id, as: 'id' + property :is_active, as: 'isActive' + property :key_length, as: 'keyLength' + property :key_tag, as: 'keyTag' + property :kind, as: 'kind' + property :public_key, as: 'publicKey' + property :type, as: 'type' + end + end + + class DnsKeyDigest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :digest, as: 'digest' + property :type, as: 'type' + end + end + + class DnsKeySpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :algorithm, as: 'algorithm' + property :key_length, as: 'keyLength' + property :key_type, as: 'keyType' + property :kind, as: 'kind' + end + end + + class DnsKeysListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dns_keys, as: 'dnsKeys', class: Google::Apis::DnsV2beta1::DnsKey, decorator: Google::Apis::DnsV2beta1::DnsKey::Representation + + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + + class ManagedZone + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :creation_time, as: 'creationTime' + property :description, as: 'description' + property :dns_name, as: 'dnsName' + property :dnssec_config, as: 'dnssecConfig', class: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig, decorator: Google::Apis::DnsV2beta1::ManagedZoneDnsSecConfig::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + property :name_server_set, as: 'nameServerSet' + collection :name_servers, as: 'nameServers' + end + end + + class ManagedZoneDnsSecConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :default_key_specs, as: 'defaultKeySpecs', class: Google::Apis::DnsV2beta1::DnsKeySpec, decorator: Google::Apis::DnsV2beta1::DnsKeySpec::Representation + + property :kind, as: 'kind' + property :non_existence, as: 'nonExistence' + property :state, as: 'state' + end + end + + class ManagedZoneOperationsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::DnsV2beta1::Operation, decorator: Google::Apis::DnsV2beta1::Operation::Representation + + end + end + + class ManagedZonesDeleteResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + end + end + + class ManagedZonesListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + property :kind, as: 'kind' + collection :managed_zones, as: 'managedZones', class: Google::Apis::DnsV2beta1::ManagedZone, decorator: Google::Apis::DnsV2beta1::ManagedZone::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dns_key_context, as: 'dnsKeyContext', class: Google::Apis::DnsV2beta1::OperationDnsKeyContext, decorator: Google::Apis::DnsV2beta1::OperationDnsKeyContext::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :start_time, as: 'startTime' + property :status, as: 'status' + property :type, as: 'type' + property :user, as: 'user' + property :zone_context, as: 'zoneContext', class: Google::Apis::DnsV2beta1::OperationManagedZoneContext, decorator: Google::Apis::DnsV2beta1::OperationManagedZoneContext::Representation + + end + end + + class OperationDnsKeyContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_value, as: 'newValue', class: Google::Apis::DnsV2beta1::DnsKey, decorator: Google::Apis::DnsV2beta1::DnsKey::Representation + + property :old_value, as: 'oldValue', class: Google::Apis::DnsV2beta1::DnsKey, decorator: Google::Apis::DnsV2beta1::DnsKey::Representation + + end + end + + class OperationManagedZoneContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_value, as: 'newValue', class: Google::Apis::DnsV2beta1::ManagedZone, decorator: Google::Apis::DnsV2beta1::ManagedZone::Representation + + property :old_value, as: 'oldValue', class: Google::Apis::DnsV2beta1::ManagedZone, decorator: Google::Apis::DnsV2beta1::ManagedZone::Representation + + end + end + + class Project + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :kind, as: 'kind' + property :number, as: 'number' + property :quota, as: 'quota', class: Google::Apis::DnsV2beta1::Quota, decorator: Google::Apis::DnsV2beta1::Quota::Representation + + end + end + + class Quota + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dns_keys_per_managed_zone, as: 'dnsKeysPerManagedZone' + property :kind, as: 'kind' + property :managed_zones, as: 'managedZones' + property :resource_records_per_rrset, as: 'resourceRecordsPerRrset' + property :rrset_additions_per_change, as: 'rrsetAdditionsPerChange' + property :rrset_deletions_per_change, as: 'rrsetDeletionsPerChange' + property :rrsets_per_managed_zone, as: 'rrsetsPerManagedZone' + property :total_rrdata_size_per_change, as: 'totalRrdataSizePerChange' + collection :whitelisted_key_specs, as: 'whitelistedKeySpecs', class: Google::Apis::DnsV2beta1::DnsKeySpec, decorator: Google::Apis::DnsV2beta1::DnsKeySpec::Representation + + end + end + + class ResourceRecordSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :name, as: 'name' + collection :rrdatas, as: 'rrdatas' + collection :signature_rrdatas, as: 'signatureRrdatas' + property :ttl, as: 'ttl' + property :type, as: 'type' + end + end + + class ResourceRecordSetsListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :header, as: 'header', class: Google::Apis::DnsV2beta1::ResponseHeader, decorator: Google::Apis::DnsV2beta1::ResponseHeader::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :rrsets, as: 'rrsets', class: Google::Apis::DnsV2beta1::ResourceRecordSet, decorator: Google::Apis::DnsV2beta1::ResourceRecordSet::Representation + + end + end + + class ResponseHeader + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_id, as: 'operationId' + end + end + end + end +end diff --git a/generated/google/apis/dns_v2beta1/service.rb b/generated/google/apis/dns_v2beta1/service.rb new file mode 100644 index 000000000..7dd58f166 --- /dev/null +++ b/generated/google/apis/dns_v2beta1/service.rb @@ -0,0 +1,768 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module DnsV2beta1 + # Google Cloud DNS API + # + # Configures and serves authoritative DNS records. + # + # @example + # require 'google/apis/dns_v2beta1' + # + # Dns = Google::Apis::DnsV2beta1 # Alias the module + # service = Dns::DnsService.new + # + # @see https://developers.google.com/cloud-dns + class DnsService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + # Overrides userIp if both are provided. + attr_accessor :quota_user + + # @return [String] + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + attr_accessor :user_ip + + def initialize + super('https://www.googleapis.com/', 'dns/v2beta1/projects/') + end + + # Atomically update the ResourceRecordSet collection. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [Google::Apis::DnsV2beta1::Change] change_object + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Change] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Change] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_change(project, managed_zone, change_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/managedZones/{managedZone}/changes', options) + command.request_representation = Google::Apis::DnsV2beta1::Change::Representation + command.request_object = change_object + command.response_representation = Google::Apis::DnsV2beta1::Change::Representation + command.response_class = Google::Apis::DnsV2beta1::Change + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Fetch the representation of an existing Change. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [String] change_id + # The identifier of the requested change, from a previous + # ResourceRecordSetsChangeResponse. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Change] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Change] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_change(project, managed_zone, change_id, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes/{changeId}', options) + command.response_representation = Google::Apis::DnsV2beta1::Change::Representation + command.response_class = Google::Apis::DnsV2beta1::Change + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.params['changeId'] = change_id unless change_id.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enumerate Changes to a ResourceRecordSet collection. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [Fixnum] max_results + # Optional. Maximum number of results to be returned. If unspecified, the server + # will decide how many results to return. + # @param [String] page_token + # Optional. A tag returned by a previous list request that was truncated. Use + # this parameter to continue a previous list request. + # @param [String] sort_by + # Sorting criterion. The only supported value is change sequence. + # @param [String] sort_order + # Sorting order direction: 'ascending' or 'descending'. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ChangesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ChangesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_changes(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/changes', options) + command.response_representation = Google::Apis::DnsV2beta1::ChangesListResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::ChangesListResponse + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortBy'] = sort_by unless sort_by.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Fetch the representation of an existing DnsKey. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [String] dns_key_id + # The identifier of the requested DnsKey. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] digest_type + # An optional comma-separated list of digest types to compute and display for + # key signing keys. If omitted, the recommended digest type will be computed and + # displayed. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::DnsKey] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::DnsKey] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_dns_key(project, managed_zone, dns_key_id, client_operation_id: nil, digest_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}', options) + command.response_representation = Google::Apis::DnsV2beta1::DnsKey::Representation + command.response_class = Google::Apis::DnsV2beta1::DnsKey + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.params['dnsKeyId'] = dns_key_id unless dns_key_id.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['digestType'] = digest_type unless digest_type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enumerate DnsKeys to a ResourceRecordSet collection. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [String] digest_type + # An optional comma-separated list of digest types to compute and display for + # key signing keys. If omitted, the recommended digest type will be computed and + # displayed. + # @param [Fixnum] max_results + # Optional. Maximum number of results to be returned. If unspecified, the server + # will decide how many results to return. + # @param [String] page_token + # Optional. A tag returned by a previous list request that was truncated. Use + # this parameter to continue a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::DnsKeysListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::DnsKeysListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_dns_keys(project, managed_zone, digest_type: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/dnsKeys', options) + command.response_representation = Google::Apis::DnsV2beta1::DnsKeysListResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::DnsKeysListResponse + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['digestType'] = digest_type unless digest_type.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Fetch the representation of an existing Operation. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. + # @param [String] operation + # Identifies the operation addressed by this request. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_managed_zone_operation(project, managed_zone, operation, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations/{operation}', options) + command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation + command.response_class = Google::Apis::DnsV2beta1::Operation + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.params['operation'] = operation unless operation.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enumerate Operations for the given ManagedZone. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. + # @param [Fixnum] max_results + # Optional. Maximum number of results to be returned. If unspecified, the server + # will decide how many results to return. + # @param [String] page_token + # Optional. A tag returned by a previous list request that was truncated. Use + # this parameter to continue a previous list request. + # @param [String] sort_by + # Sorting criterion. The only supported values are START_TIME and ID. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_managed_zone_operations(project, managed_zone, max_results: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/operations', options) + command.response_representation = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::ManagedZoneOperationsListResponse + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['sortBy'] = sort_by unless sort_by.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Create a new ManagedZone. + # @param [String] project + # Identifies the project addressed by this request. + # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ManagedZone] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ManagedZone] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_managed_zone(project, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/managedZones', options) + command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation + command.request_object = managed_zone_object + command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation + command.response_class = Google::Apis::DnsV2beta1::ManagedZone + command.params['project'] = project unless project.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Delete a previously created ManagedZone. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{project}/managedZones/{managedZone}', options) + command.response_representation = Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::ManagedZonesDeleteResponse + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Fetch the representation of an existing ManagedZone. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ManagedZone] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ManagedZone] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_managed_zone(project, managed_zone, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}', options) + command.response_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation + command.response_class = Google::Apis::DnsV2beta1::ManagedZone + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enumerate ManagedZones that have been created but not yet deleted. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] dns_name + # Restricts the list to return only zones with this domain name. + # @param [Fixnum] max_results + # Optional. Maximum number of results to be returned. If unspecified, the server + # will decide how many results to return. + # @param [String] page_token + # Optional. A tag returned by a previous list request that was truncated. Use + # this parameter to continue a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ManagedZonesListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ManagedZonesListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_managed_zones(project, dns_name: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones', options) + command.response_representation = Google::Apis::DnsV2beta1::ManagedZonesListResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::ManagedZonesListResponse + command.params['project'] = project unless project.nil? + command.query['dnsName'] = dns_name unless dns_name.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Update an existing ManagedZone. This method supports patch semantics. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, '{project}/managedZones/{managedZone}', options) + command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation + command.request_object = managed_zone_object + command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation + command.response_class = Google::Apis::DnsV2beta1::Operation + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Update an existing ManagedZone. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [Google::Apis::DnsV2beta1::ManagedZone] managed_zone_object + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_managed_zone(project, managed_zone, managed_zone_object = nil, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, '{project}/managedZones/{managedZone}', options) + command.request_representation = Google::Apis::DnsV2beta1::ManagedZone::Representation + command.request_object = managed_zone_object + command.response_representation = Google::Apis::DnsV2beta1::Operation::Representation + command.response_class = Google::Apis::DnsV2beta1::Operation + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Fetch the representation of an existing Project. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] client_operation_id + # For mutating operation requests only. An optional identifier specified by the + # client. Must be unique for operation resources in the Operations collection. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::Project] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::Project] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project(project, client_operation_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}', options) + command.response_representation = Google::Apis::DnsV2beta1::Project::Representation + command.response_class = Google::Apis::DnsV2beta1::Project + command.params['project'] = project unless project.nil? + command.query['clientOperationId'] = client_operation_id unless client_operation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Enumerate ResourceRecordSets that have been created but not yet deleted. + # @param [String] project + # Identifies the project addressed by this request. + # @param [String] managed_zone + # Identifies the managed zone addressed by this request. Can be the managed zone + # name or id. + # @param [Fixnum] max_results + # Optional. Maximum number of results to be returned. If unspecified, the server + # will decide how many results to return. + # @param [String] name + # Restricts the list to return only records with this fully qualified domain + # name. + # @param [String] page_token + # Optional. A tag returned by a previous list request that was truncated. Use + # this parameter to continue a previous list request. + # @param [String] type + # Restricts the list to return only records of this type. If present, the "name" + # parameter must also be present. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_resource_record_sets(project, managed_zone, max_results: nil, name: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/managedZones/{managedZone}/rrsets', options) + command.response_representation = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse::Representation + command.response_class = Google::Apis::DnsV2beta1::ResourceRecordSetsListResponse + command.params['project'] = project unless project.nil? + command.params['managedZone'] = managed_zone unless managed_zone.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['type'] = type unless type.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + end + end + end + end +end diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index 7cbf42857..1e82a1ad0 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20160608' + REVISION = '20170224' end end end diff --git a/generated/google/apis/doubleclickbidmanager_v1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1/classes.rb index 9ff5c40ac..57fc1241a 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/classes.rb @@ -81,6 +81,85 @@ module Google end end + # Request to fetch stored insertion orders, line items, TrueView ad groups and + # ads. + class DownloadRequest + include Google::Apis::Core::Hashable + + # File types that will be returned. + # Corresponds to the JSON property `fileTypes` + # @return [Array] + attr_accessor :file_types + + # The IDs of the specified filter type. This is used to filter entities to fetch. + # At least one ID must be specified. Only one ID is allowed for the + # ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types, + # all IDs must be from the same Advertiser. + # Corresponds to the JSON property `filterIds` + # @return [Array] + attr_accessor :filter_ids + + # Filter type used to filter line items to fetch. + # Corresponds to the JSON property `filterType` + # @return [String] + attr_accessor :filter_type + + # SDF Version (column names, types, order) in which the entities will be + # returned. Default to 3. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_types = args[:file_types] if args.key?(:file_types) + @filter_ids = args[:filter_ids] if args.key?(:filter_ids) + @filter_type = args[:filter_type] if args.key?(:filter_type) + @version = args[:version] if args.key?(:version) + end + end + + # Download response. + class DownloadResponse + include Google::Apis::Core::Hashable + + # Retrieved ad groups in SDF format. + # Corresponds to the JSON property `adGroups` + # @return [String] + attr_accessor :ad_groups + + # Retrieved ads in SDF format. + # Corresponds to the JSON property `ads` + # @return [String] + attr_accessor :ads + + # Retrieved insertion orders in SDF format. + # Corresponds to the JSON property `insertionOrders` + # @return [String] + attr_accessor :insertion_orders + + # Retrieved line items in SDF format. + # Corresponds to the JSON property `lineItems` + # @return [String] + attr_accessor :line_items + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ad_groups = args[:ad_groups] if args.key?(:ad_groups) + @ads = args[:ads] if args.key?(:ads) + @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders) + @line_items = args[:line_items] if args.key?(:line_items) + end + end + # Filter used to match traffic data in your report. class FilterPair include Google::Apis::Core::Hashable @@ -158,92 +237,6 @@ module Google end end - # Publisher comment from Rubicon. - class Note - include Google::Apis::Core::Hashable - - # Note id. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Message from publisher. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - # Equals "publisher" for notification from Rubicon. - # Corresponds to the JSON property `source` - # @return [String] - attr_accessor :source - - # Time when the note was added, e.g. "2015-12-16T17:25:35.000-08:00". - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Publisher user name. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @message = args[:message] if args.key?(:message) - @source = args[:source] if args.key?(:source) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @username = args[:username] if args.key?(:username) - end - end - - # NotifyProposalChange request. - class NotifyProposalChangeRequest - include Google::Apis::Core::Hashable - - # Action taken by publisher. One of: Accept, Decline, Append - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # URL to access proposal detail. - # Corresponds to the JSON property `href` - # @return [String] - attr_accessor :href - - # Below are contents of notification from Rubicon. Proposal id. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Notes from publisher - # Corresponds to the JSON property `notes` - # @return [Array] - attr_accessor :notes - - # Deal token, available when proposal is accepted by publisher. - # Corresponds to the JSON property `token` - # @return [String] - attr_accessor :token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @action = args[:action] if args.key?(:action) - @href = args[:href] if args.key?(:href) - @id = args[:id] if args.key?(:id) - @notes = args[:notes] if args.key?(:notes) - @token = args[:token] if args.key?(:token) - end - end - # Parameters of a query or report. class Parameters include Google::Apis::Core::Hashable diff --git a/generated/google/apis/doubleclickbidmanager_v1/representations.rb b/generated/google/apis/doubleclickbidmanager_v1/representations.rb index e5545ddd0..fd8c5ebd2 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/representations.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/representations.rb @@ -34,6 +34,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DownloadRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DownloadResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FilterPair class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,18 +64,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Note - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NotifyProposalChangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Parameters class Representation < Google::Apis::Core::JsonRepresentation; end @@ -165,6 +165,26 @@ module Google end end + class DownloadRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :file_types, as: 'fileTypes' + collection :filter_ids, as: 'filterIds' + property :filter_type, as: 'filterType' + property :version, as: 'version' + end + end + + class DownloadResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ad_groups, as: 'adGroups' + property :ads, as: 'ads' + property :insertion_orders, as: 'insertionOrders' + property :line_items, as: 'lineItems' + end + end + class FilterPair # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -191,29 +211,6 @@ module Google end end - class Note - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :message, as: 'message' - property :source, as: 'source' - property :timestamp, as: 'timestamp' - property :username, as: 'username' - end - end - - class NotifyProposalChangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :action, as: 'action' - property :href, as: 'href' - property :id, as: 'id' - collection :notes, as: 'notes', class: Google::Apis::DoubleclickbidmanagerV1::Note, decorator: Google::Apis::DoubleclickbidmanagerV1::Note::Representation - - property :token, as: 'token' - end - end - class Parameters # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/doubleclickbidmanager_v1/service.rb b/generated/google/apis/doubleclickbidmanager_v1/service.rb index 3d233deeb..b834a1ef9 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/service.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/service.rb @@ -328,8 +328,8 @@ module Google execute_or_queue_command(command, &block) end - # Update proposal upon actions of Rubicon publisher. - # @param [Google::Apis::DoubleclickbidmanagerV1::NotifyProposalChangeRequest] notify_proposal_change_request_object + # Retrieves entities in SDF format. + # @param [Google::Apis::DoubleclickbidmanagerV1::DownloadRequest] download_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -343,18 +343,20 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [NilClass] No result returned for this method + # @yieldparam result [Google::Apis::DoubleclickbidmanagerV1::DownloadResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [void] + # @return [Google::Apis::DoubleclickbidmanagerV1::DownloadResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def notifyproposalchange_rubicon(notify_proposal_change_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, 'rubicon/notifyproposalchange', options) - command.request_representation = Google::Apis::DoubleclickbidmanagerV1::NotifyProposalChangeRequest::Representation - command.request_object = notify_proposal_change_request_object + def download_sdf(download_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'sdf/download', options) + command.request_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadRequest::Representation + command.request_object = download_request_object + command.response_representation = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse::Representation + command.response_class = Google::Apis::DoubleclickbidmanagerV1::DownloadResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? diff --git a/generated/google/apis/doubleclicksearch_v2.rb b/generated/google/apis/doubleclicksearch_v2.rb index 4f99544aa..d9f20841d 100644 --- a/generated/google/apis/doubleclicksearch_v2.rb +++ b/generated/google/apis/doubleclicksearch_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/doubleclick-search/ module DoubleclicksearchV2 VERSION = 'V2' - REVISION = '20160810' + REVISION = '20170314' # View and manage your advertising data in DoubleClick Search AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch' diff --git a/generated/google/apis/doubleclicksearch_v2/classes.rb b/generated/google/apis/doubleclicksearch_v2/classes.rb index fc40ac5eb..2f69d57c4 100644 --- a/generated/google/apis/doubleclicksearch_v2/classes.rb +++ b/generated/google/apis/doubleclicksearch_v2/classes.rb @@ -121,10 +121,12 @@ module Google # @return [String] attr_accessor :click_id - # For offline conversions, this is an ID that advertisers are required to - # provide. Advertisers can specify any ID that is meaningful to them. For online - # conversions, DS copies the dsConversionId or floodlightOrderId into this - # property depending on the advertiser's Floodlight instructions. + # For offline conversions, advertisers provide this ID. Advertisers can specify + # any ID that is meaningful to them. Each conversion in a request must specify a + # unique ID, and the combination of ID and timestamp must be unique amongst all + # conversions within the advertiser. + # For online conversions, DS copies the dsConversionId or floodlightOrderId into + # this property depending on the advertiser's Floodlight instructions. # Corresponds to the JSON property `conversionId` # @return [String] attr_accessor :conversion_id diff --git a/generated/google/apis/drive_v2.rb b/generated/google/apis/drive_v2.rb index a95392c4d..6369ef4ae 100644 --- a/generated/google/apis/drive_v2.rb +++ b/generated/google/apis/drive_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV2 VERSION = 'V2' - REVISION = '20160805' + REVISION = '20170320' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v2/classes.rb b/generated/google/apis/drive_v2/classes.rb index d74730d3f..507706a68 100644 --- a/generated/google/apis/drive_v2/classes.rb +++ b/generated/google/apis/drive_v2/classes.rb @@ -588,7 +588,7 @@ module Google # @return [String] attr_accessor :etag - # The actual list of apps. + # The list of apps. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -617,11 +617,12 @@ module Google end end - # Representation of a change to a file. + # Representation of a change to a file or Team Drive. class Change include Google::Apis::Core::Hashable - # Whether the file has been deleted. + # Whether the file or Team Drive has been removed from this list of changes, for + # example by deletion or loss of access. # Corresponds to the JSON property `deleted` # @return [Boolean] attr_accessor :deleted @@ -657,6 +658,21 @@ module Google # @return [String] attr_accessor :self_link + # Representation of a Team Drive. + # Corresponds to the JSON property `teamDrive` + # @return [Google::Apis::DriveV2::TeamDrive] + attr_accessor :team_drive + + # The ID of the Team Drive associated with this change. + # Corresponds to the JSON property `teamDriveId` + # @return [String] + attr_accessor :team_drive_id + + # The type of the change. Possible values are file and teamDrive. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + def initialize(**args) update!(**args) end @@ -670,6 +686,9 @@ module Google @kind = args[:kind] if args.key?(:kind) @modification_date = args[:modification_date] if args.key?(:modification_date) @self_link = args[:self_link] if args.key?(:self_link) + @team_drive = args[:team_drive] if args.key?(:team_drive) + @team_drive_id = args[:team_drive_id] if args.key?(:team_drive_id) + @type = args[:type] if args.key?(:type) end end @@ -682,7 +701,8 @@ module Google # @return [String] attr_accessor :etag - # The actual list of changes. + # The list of changes. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -697,12 +717,21 @@ module Google # @return [String] attr_accessor :largest_change_id + # The starting page token for future changes. This will be present only if the + # end of the current changes list has been reached. + # Corresponds to the JSON property `newStartPageToken` + # @return [String] + attr_accessor :new_start_page_token + # A link to the next page of changes. # Corresponds to the JSON property `nextLink` # @return [String] attr_accessor :next_link - # The page token for the next page of changes. + # The page token for the next page of changes. This will be absent if the end of + # the changes list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -722,6 +751,7 @@ module Google @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @largest_change_id = args[:largest_change_id] if args.key?(:largest_change_id) + @new_start_page_token = args[:new_start_page_token] if args.key?(:new_start_page_token) @next_link = args[:next_link] if args.key?(:next_link) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) @@ -815,7 +845,8 @@ module Google # @return [String] attr_accessor :etag - # The actual list of children. + # The list of children. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -830,7 +861,10 @@ module Google # @return [String] attr_accessor :next_link - # The page token for the next page of children. + # The page token for the next page of children. This will be absent if the end + # of the children list has been reached. If the token is rejected for any reason, + # it should be discarded, and pagination should be restarted from the first + # page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1034,7 +1068,8 @@ module Google class CommentList include Google::Apis::Core::Hashable - # List of comments. + # The list of comments. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1049,7 +1084,10 @@ module Google # @return [String] attr_accessor :next_link - # The token to use to request the next page of results. + # The page token for the next page of comments. This will be absent if the end + # of the comments list has been reached. If the token is rejected for any reason, + # it should be discarded, and pagination should be restarted from the first + # page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1152,7 +1190,8 @@ module Google class CommentReplyList include Google::Apis::Core::Hashable - # List of reply. + # The list of replies. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1167,7 +1206,10 @@ module Google # @return [String] attr_accessor :next_link - # The token to use to request the next page of results. + # The page token for the next page of replies. This will be absent if the end of + # the replies list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1206,19 +1248,28 @@ module Google attr_accessor :app_data_contents alias_method :app_data_contents?, :app_data_contents - # Whether the current user can comment on the file. + # Whether the current user can comment on the file. Deprecated: use capabilities/ + # canComment. # Corresponds to the JSON property `canComment` # @return [Boolean] attr_accessor :can_comment alias_method :can_comment?, :can_comment # Whether the current user has read access to the Revisions resource of the file. + # Deprecated: use capabilities/canReadRevisions. # Corresponds to the JSON property `canReadRevisions` # @return [Boolean] attr_accessor :can_read_revisions alias_method :can_read_revisions?, :can_read_revisions - # Whether the file can be copied by the current user. + # Capabilities the current user has on the file. Each capability corresponds to + # a fine-grained action that a user may take. + # Corresponds to the JSON property `capabilities` + # @return [Google::Apis::DriveV2::File::Capabilities] + attr_accessor :capabilities + + # Whether the file can be copied by the current user. Deprecated: use + # capabilities/canCopy. # Corresponds to the JSON property `copyable` # @return [Boolean] attr_accessor :copyable @@ -1245,7 +1296,8 @@ module Google # @return [String] attr_accessor :download_url - # Whether the file can be edited by the current user. + # Whether the file can be edited by the current user. Deprecated: use + # capabilities/canEdit. # Corresponds to the JSON property `editable` # @return [Boolean] attr_accessor :editable @@ -1290,7 +1342,7 @@ module Google # Folder color as an RGB hex string if the file is a folder. The list of # supported colors is available in the folderColorPalette field of the About # resource. If an unsupported color is specified, it will be changed to the - # closest color in the palette. + # closest color in the palette. Not populated for Team Drive files. # Corresponds to the JSON property `folderColorRgb` # @return [String] attr_accessor :folder_color_rgb @@ -1304,6 +1356,19 @@ module Google # @return [String] attr_accessor :full_file_extension + # Whether any users are granted file access directly on this file. This field is + # only populated for Team Drive files. + # Corresponds to the JSON property `hasAugmentedPermissions` + # @return [Boolean] + attr_accessor :has_augmented_permissions + alias_method :has_augmented_permissions?, :has_augmented_permissions + + # Whether this file has a thumbnail. + # Corresponds to the JSON property `hasThumbnail` + # @return [Boolean] + attr_accessor :has_thumbnail + alias_method :has_thumbnail?, :has_thumbnail + # The ID of the file's head revision. This field is only populated for files # with content stored in Drive; it is not populated for Google Docs or shortcut # files. @@ -1408,18 +1473,19 @@ module Google # @return [String] attr_accessor :original_filename - # Whether the file is owned by the current user. + # Whether the file is owned by the current user. Not populated for Team Drive + # files. # Corresponds to the JSON property `ownedByMe` # @return [Boolean] attr_accessor :owned_by_me alias_method :owned_by_me?, :owned_by_me - # Name(s) of the owner(s) of this file. + # Name(s) of the owner(s) of this file. Not populated for Team Drive files. # Corresponds to the JSON property `ownerNames` # @return [Array] attr_accessor :owner_names - # The owner(s) of this file. + # The owner(s) of this file. Not populated for Team Drive files. # Corresponds to the JSON property `owners` # @return [Array] attr_accessor :owners @@ -1432,7 +1498,8 @@ module Google # @return [Array] attr_accessor :parents - # The list of permissions for users with access to this file. + # The list of permissions for users with access to this file. Not populated for + # Team Drive files. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1453,12 +1520,13 @@ module Google attr_accessor :self_link # Whether the file's sharing settings can be modified by the current user. + # Deprecated: use capabilities/canShare. # Corresponds to the JSON property `shareable` # @return [Boolean] attr_accessor :shareable alias_method :shareable?, :shareable - # Whether the file has been shared. + # Whether the file has been shared. Not populated for Team Drive files. # Corresponds to the JSON property `shared` # @return [Boolean] attr_accessor :shared @@ -1481,23 +1549,46 @@ module Google # @return [Array] attr_accessor :spaces - # Thumbnail for the file. Only accepted on upload and for files that are not - # already thumbnailed by Google. + # ID of the Team Drive the file resides in. + # Corresponds to the JSON property `teamDriveId` + # @return [String] + attr_accessor :team_drive_id + + # A thumbnail for the file. This will only be used if Drive cannot generate a + # standard thumbnail. # Corresponds to the JSON property `thumbnail` # @return [Google::Apis::DriveV2::File::Thumbnail] attr_accessor :thumbnail # A short-lived link to the file's thumbnail. Typically lasts on the order of - # hours. + # hours. Only populated when the requesting app can access the file's content. # Corresponds to the JSON property `thumbnailLink` # @return [String] attr_accessor :thumbnail_link - # The title of this file. + # The thumbnail version for use in thumbnail cache invalidation. + # Corresponds to the JSON property `thumbnailVersion` + # @return [String] + attr_accessor :thumbnail_version + + # 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. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title + # The time that the item was trashed (formatted RFC 3339 timestamp). Only + # populated for Team Drive files. + # Corresponds to the JSON property `trashedDate` + # @return [DateTime] + attr_accessor :trashed_date + + # Information about a Drive user. + # Corresponds to the JSON property `trashingUser` + # @return [Google::Apis::DriveV2::User] + attr_accessor :trashing_user + # A permission for a file. # Corresponds to the JSON property `userPermission` # @return [Google::Apis::DriveV2::Permission] @@ -1528,7 +1619,8 @@ module Google # @return [String] attr_accessor :web_view_link - # Whether writers can share the document with other users. + # Whether writers can share the document with other users. Not populated for + # Team Drive files. # Corresponds to the JSON property `writersCanShare` # @return [Boolean] attr_accessor :writers_can_share @@ -1544,6 +1636,7 @@ module Google @app_data_contents = args[:app_data_contents] if args.key?(:app_data_contents) @can_comment = args[:can_comment] if args.key?(:can_comment) @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) + @capabilities = args[:capabilities] if args.key?(:capabilities) @copyable = args[:copyable] if args.key?(:copyable) @created_date = args[:created_date] if args.key?(:created_date) @default_open_with_link = args[:default_open_with_link] if args.key?(:default_open_with_link) @@ -1558,6 +1651,8 @@ module Google @file_size = args[:file_size] if args.key?(:file_size) @folder_color_rgb = args[:folder_color_rgb] if args.key?(:folder_color_rgb) @full_file_extension = args[:full_file_extension] if args.key?(:full_file_extension) + @has_augmented_permissions = args[:has_augmented_permissions] if args.key?(:has_augmented_permissions) + @has_thumbnail = args[:has_thumbnail] if args.key?(:has_thumbnail) @head_revision_id = args[:head_revision_id] if args.key?(:head_revision_id) @icon_link = args[:icon_link] if args.key?(:icon_link) @id = args[:id] if args.key?(:id) @@ -1589,9 +1684,13 @@ module Google @shared_with_me_date = args[:shared_with_me_date] if args.key?(:shared_with_me_date) @sharing_user = args[:sharing_user] if args.key?(:sharing_user) @spaces = args[:spaces] if args.key?(:spaces) + @team_drive_id = args[:team_drive_id] if args.key?(:team_drive_id) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) @thumbnail_link = args[:thumbnail_link] if args.key?(:thumbnail_link) + @thumbnail_version = args[:thumbnail_version] if args.key?(:thumbnail_version) @title = args[:title] if args.key?(:title) + @trashed_date = args[:trashed_date] if args.key?(:trashed_date) + @trashing_user = args[:trashing_user] if args.key?(:trashing_user) @user_permission = args[:user_permission] if args.key?(:user_permission) @version = args[:version] if args.key?(:version) @video_media_metadata = args[:video_media_metadata] if args.key?(:video_media_metadata) @@ -1600,6 +1699,144 @@ module Google @writers_can_share = args[:writers_can_share] if args.key?(:writers_can_share) end + # Capabilities the current user has on the file. Each capability corresponds to + # a fine-grained action that a user may take. + class Capabilities + include Google::Apis::Core::Hashable + + # Whether the current user can add children to this folder. This is always false + # when the item is not a folder. + # Corresponds to the JSON property `canAddChildren` + # @return [Boolean] + attr_accessor :can_add_children + alias_method :can_add_children?, :can_add_children + + # Whether the current user can comment on the file. + # Corresponds to the JSON property `canComment` + # @return [Boolean] + attr_accessor :can_comment + alias_method :can_comment?, :can_comment + + # Whether the file can be copied by the current user. For a Team Drive item, + # whether non-folder descendants of this item, or this item itself if it is not + # a folder, can be copied. + # Corresponds to the JSON property `canCopy` + # @return [Boolean] + attr_accessor :can_copy + alias_method :can_copy?, :can_copy + + # Whether the file can be deleted by the current user. + # Corresponds to the JSON property `canDelete` + # @return [Boolean] + attr_accessor :can_delete + alias_method :can_delete?, :can_delete + + # Whether the file can be downloaded by the current user. + # Corresponds to the JSON property `canDownload` + # @return [Boolean] + attr_accessor :can_download + alias_method :can_download?, :can_download + + # Whether the file can be edited by the current user. + # Corresponds to the JSON property `canEdit` + # @return [Boolean] + attr_accessor :can_edit + alias_method :can_edit?, :can_edit + + # Whether the current user can list the children of this folder. This is always + # false when the item is not a folder. + # Corresponds to the JSON property `canListChildren` + # @return [Boolean] + attr_accessor :can_list_children + alias_method :can_list_children?, :can_list_children + + # Whether the current user can move this item into a Team Drive. If the item is + # in a Team Drive, this field is equivalent to canMoveTeamDriveItem. + # Corresponds to the JSON property `canMoveItemIntoTeamDrive` + # @return [Boolean] + attr_accessor :can_move_item_into_team_drive + alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive + + # Whether the current user can move this Team Drive item by changing its parent. + # Note that a request to change the parent for this item may still fail + # depending on the new parent that is being added. Only populated for Team Drive + # files. + # Corresponds to the JSON property `canMoveTeamDriveItem` + # @return [Boolean] + attr_accessor :can_move_team_drive_item + alias_method :can_move_team_drive_item?, :can_move_team_drive_item + + # Whether the current user has read access to the Revisions resource of the file. + # For a Team Drive item, whether revisions of non-folder descendants of this + # item, or this item itself if it is not a folder, can be read. + # Corresponds to the JSON property `canReadRevisions` + # @return [Boolean] + attr_accessor :can_read_revisions + alias_method :can_read_revisions?, :can_read_revisions + + # Whether the current user has read access to the Team Drive to which this file + # belongs. Only populated for Team Drive files. + # Corresponds to the JSON property `canReadTeamDrive` + # @return [Boolean] + attr_accessor :can_read_team_drive + alias_method :can_read_team_drive?, :can_read_team_drive + + # Whether the current user can remove children from this folder. This is always + # false when the item is not a folder. + # Corresponds to the JSON property `canRemoveChildren` + # @return [Boolean] + attr_accessor :can_remove_children + alias_method :can_remove_children?, :can_remove_children + + # Whether the file can be renamed by the current user. + # Corresponds to the JSON property `canRename` + # @return [Boolean] + attr_accessor :can_rename + alias_method :can_rename?, :can_rename + + # Whether the file's sharing settings can be modified by the current user. + # Corresponds to the JSON property `canShare` + # @return [Boolean] + attr_accessor :can_share + alias_method :can_share?, :can_share + + # Whether the file can be trashed by the current user. + # Corresponds to the JSON property `canTrash` + # @return [Boolean] + attr_accessor :can_trash + alias_method :can_trash?, :can_trash + + # Whether the file can be restored from the trash by the current user. + # Corresponds to the JSON property `canUntrash` + # @return [Boolean] + attr_accessor :can_untrash + alias_method :can_untrash?, :can_untrash + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_add_children = args[:can_add_children] if args.key?(:can_add_children) + @can_comment = args[:can_comment] if args.key?(:can_comment) + @can_copy = args[:can_copy] if args.key?(:can_copy) + @can_delete = args[:can_delete] if args.key?(:can_delete) + @can_download = args[:can_download] if args.key?(:can_download) + @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_list_children = args[:can_list_children] if args.key?(:can_list_children) + @can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive) + @can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item) + @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) + @can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive) + @can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children) + @can_rename = args[:can_rename] if args.key?(:can_rename) + @can_share = args[:can_share] if args.key?(:can_share) + @can_trash = args[:can_trash] if args.key?(:can_trash) + @can_untrash = args[:can_untrash] if args.key?(:can_untrash) + end + end + # Metadata about image media. This will only be present for image types, and its # contents will depend on what can be parsed from the image content. class ImageMediaMetadata @@ -1802,6 +2039,12 @@ module Google attr_accessor :hidden alias_method :hidden?, :hidden + # Whether the file has been modified by this user. + # Corresponds to the JSON property `modified` + # @return [Boolean] + attr_accessor :modified + alias_method :modified?, :modified + # Whether viewers and commenters are prevented from downloading, printing, and # copying this file. # Corresponds to the JSON property `restricted` @@ -1835,6 +2078,7 @@ module Google # Update properties of this object def update!(**args) @hidden = args[:hidden] if args.key?(:hidden) + @modified = args[:modified] if args.key?(:modified) @restricted = args[:restricted] if args.key?(:restricted) @starred = args[:starred] if args.key?(:starred) @trashed = args[:trashed] if args.key?(:trashed) @@ -1842,8 +2086,8 @@ module Google end end - # Thumbnail for the file. Only accepted on upload and for files that are not - # already thumbnailed by Google. + # A thumbnail for the file. This will only be used if Drive cannot generate a + # standard thumbnail. class Thumbnail include Google::Apis::Core::Hashable @@ -1910,7 +2154,19 @@ module Google # @return [String] attr_accessor :etag - # The actual list of files. + # Whether the search process was incomplete. If true, then some search results + # may be missing, since all documents were not searched. This may occur when + # searching multiple Team Drives with the "default,allTeamDrives" corpora, but + # all corpora could not be searched. When this happens, it is suggested that + # clients narrow their query by choosing a different corpus such as "default" or + # "teamDrive". + # Corresponds to the JSON property `incompleteSearch` + # @return [Boolean] + attr_accessor :incomplete_search + alias_method :incomplete_search?, :incomplete_search + + # The list of files. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -1925,7 +2181,10 @@ module Google # @return [String] attr_accessor :next_link - # The page token for the next page of files. + # The page token for the next page of files. This will be absent if the end of + # the files list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1942,6 +2201,7 @@ module Google # Update properties of this object def update!(**args) @etag = args[:etag] if args.key?(:etag) + @incomplete_search = args[:incomplete_search] if args.key?(:incomplete_search) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_link = args[:next_link] if args.key?(:next_link) @@ -1990,7 +2250,7 @@ module Google # @return [String] attr_accessor :etag - # The actual list of parents. + # The list of parents. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -2066,7 +2326,8 @@ module Google class Permission include Google::Apis::Core::Hashable - # Additional roles for this user. Only commenter is currently allowed. + # Additional roles for this user. Only commenter is currently allowed, though + # more may be supported in the future. # Corresponds to the JSON property `additionalRoles` # @return [Array] attr_accessor :additional_roles @@ -2093,14 +2354,20 @@ module Google # @return [String] attr_accessor :etag - # The time at which this permission will expire (RFC 3339 date-time). + # The time at which this permission will expire (RFC 3339 date-time). Expiration + # dates have the following restrictions: + # - They can only be set on user and group permissions + # - The date must be in the future + # - The date cannot be more than a year in the future + # - The date can only be set on drive.permissions.update requests # Corresponds to the JSON property `expirationDate` # @return [DateTime] attr_accessor :expiration_date # The ID of the user this permission refers to, and identical to the # permissionId in the About and Files resources. When making a drive.permissions. - # insert request, exactly one of the id or value fields must be specified. + # insert request, exactly one of the id or value fields must be specified unless + # the permission type is anyone, in which case both id and value are ignored. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -2120,7 +2387,9 @@ module Google # @return [String] attr_accessor :photo_link - # The primary role for this user. Allowed values are: + # The primary role for this user. While new values may be supported in the + # future, the following are currently allowed: + # - organizer # - owner # - reader # - writer @@ -2133,6 +2402,13 @@ module Google # @return [String] attr_accessor :self_link + # Details of whether the Permissions on this Team Drive item are inherited or + # directly on this item. This is an output-only field which is present only for + # Team Drive items. + # Corresponds to the JSON property `teamDrivePermissionDetails` + # @return [Array] + attr_accessor :team_drive_permission_details + # The account type. Allowed values are: # - user # - group @@ -2144,7 +2420,8 @@ module Google # The email address or domain name for the entity. This is used during inserts # and is not populated in responses. When making a drive.permissions.insert - # request, exactly one of the id or value fields must be specified. + # request, exactly one of the id or value fields must be specified unless the + # permission type is anyone, in which case both id and value are ignored. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -2173,10 +2450,65 @@ module Google @photo_link = args[:photo_link] if args.key?(:photo_link) @role = args[:role] if args.key?(:role) @self_link = args[:self_link] if args.key?(:self_link) + @team_drive_permission_details = args[:team_drive_permission_details] if args.key?(:team_drive_permission_details) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) @with_link = args[:with_link] if args.key?(:with_link) end + + # + class TeamDrivePermissionDetail + include Google::Apis::Core::Hashable + + # Additional roles for this user. Only commenter is currently possible, though + # more may be supported in the future. + # Corresponds to the JSON property `additionalRoles` + # @return [Array] + attr_accessor :additional_roles + + # Whether this permission is inherited. This field is always populated. This is + # an output-only field. + # Corresponds to the JSON property `inherited` + # @return [Boolean] + attr_accessor :inherited + alias_method :inherited?, :inherited + + # The ID of the item from which this permission is inherited. This is an output- + # only field and is only populated for members of the Team Drive. + # Corresponds to the JSON property `inheritedFrom` + # @return [String] + attr_accessor :inherited_from + + # The primary role for this user. While new values may be added in the future, + # the following are currently possible: + # - organizer + # - reader + # - writer + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # The Team Drive permission type for this user. While new values may be added in + # future, the following are currently possible: + # - file + # - member + # Corresponds to the JSON property `teamDrivePermissionType` + # @return [String] + attr_accessor :team_drive_permission_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @additional_roles = args[:additional_roles] if args.key?(:additional_roles) + @inherited = args[:inherited] if args.key?(:inherited) + @inherited_from = args[:inherited_from] if args.key?(:inherited_from) + @role = args[:role] if args.key?(:role) + @team_drive_permission_type = args[:team_drive_permission_type] if args.key?(:team_drive_permission_type) + end + end end # An ID for a user or group as seen in Permission items. @@ -2213,7 +2545,7 @@ module Google # @return [String] attr_accessor :etag - # The actual list of permissions. + # The list of permissions. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -2223,6 +2555,14 @@ module Google # @return [String] attr_accessor :kind + # The page token for the next page of permissions. This field will be absent if + # the end of the permissions list has been reached. If the token is rejected for + # any reason, it should be discarded, and pagination should be restarted from + # the first page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # A link back to this list. # Corresponds to the JSON property `selfLink` # @return [String] @@ -2237,6 +2577,7 @@ module Google @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end end @@ -2479,7 +2820,8 @@ module Google # @return [String] attr_accessor :etag - # The actual list of revisions. + # The list of revisions. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `items` # @return [Array] attr_accessor :items @@ -2489,6 +2831,14 @@ module Google # @return [String] attr_accessor :kind + # The page token for the next page of revisions. This field will be absent if + # the end of the revisions list has been reached. If the token is rejected for + # any reason, it should be discarded and pagination should be restarted from the + # first page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # A link back to this list. # Corresponds to the JSON property `selfLink` # @return [String] @@ -2503,10 +2853,212 @@ module Google @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end end + # + class StartPageToken + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "drive# + # startPageToken". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The starting page token for listing changes. + # Corresponds to the JSON property `startPageToken` + # @return [String] + attr_accessor :start_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @start_page_token = args[:start_page_token] if args.key?(:start_page_token) + end + end + + # Representation of a Team Drive. + class TeamDrive + include Google::Apis::Core::Hashable + + # Capabilities the current user has on this Team Drive. + # Corresponds to the JSON property `capabilities` + # @return [Google::Apis::DriveV2::TeamDrive::Capabilities] + attr_accessor :capabilities + + # The ID of this Team Drive which is also the ID of the top level folder for + # this Team Drive. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # This is always drive#teamDrive + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of this Team Drive. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + + # Capabilities the current user has on this Team Drive. + class Capabilities + include Google::Apis::Core::Hashable + + # Whether the current user can add children to folders in this Team Drive. + # Corresponds to the JSON property `canAddChildren` + # @return [Boolean] + attr_accessor :can_add_children + alias_method :can_add_children?, :can_add_children + + # Whether the current user can comment on files in this Team Drive. + # Corresponds to the JSON property `canComment` + # @return [Boolean] + attr_accessor :can_comment + alias_method :can_comment?, :can_comment + + # Whether files in this Team Drive can be copied by the current user. + # Corresponds to the JSON property `canCopy` + # @return [Boolean] + attr_accessor :can_copy + alias_method :can_copy?, :can_copy + + # Whether this Team Drive can be deleted by the current user. + # Corresponds to the JSON property `canDeleteTeamDrive` + # @return [Boolean] + attr_accessor :can_delete_team_drive + alias_method :can_delete_team_drive?, :can_delete_team_drive + + # Whether files in this Team Drive can be downloaded by the current user. + # Corresponds to the JSON property `canDownload` + # @return [Boolean] + attr_accessor :can_download + alias_method :can_download?, :can_download + + # Whether files in this Team Drive can be edited by the current user. + # Corresponds to the JSON property `canEdit` + # @return [Boolean] + attr_accessor :can_edit + alias_method :can_edit?, :can_edit + + # Whether the current user can list the children of folders in this Team Drive. + # Corresponds to the JSON property `canListChildren` + # @return [Boolean] + attr_accessor :can_list_children + alias_method :can_list_children?, :can_list_children + + # Whether the current user can add members to this Team Drive or remove them or + # change their role. + # Corresponds to the JSON property `canManageMembers` + # @return [Boolean] + attr_accessor :can_manage_members + alias_method :can_manage_members?, :can_manage_members + + # Whether the current user has read access to the Revisions resource of files in + # this Team Drive. + # Corresponds to the JSON property `canReadRevisions` + # @return [Boolean] + attr_accessor :can_read_revisions + alias_method :can_read_revisions?, :can_read_revisions + + # Whether the current user can remove children from folders in this Team Drive. + # Corresponds to the JSON property `canRemoveChildren` + # @return [Boolean] + attr_accessor :can_remove_children + alias_method :can_remove_children?, :can_remove_children + + # Whether files or folders in this Team Drive can be renamed by the current user. + # Corresponds to the JSON property `canRename` + # @return [Boolean] + attr_accessor :can_rename + alias_method :can_rename?, :can_rename + + # Whether this Team Drive can be renamed by the current user. + # Corresponds to the JSON property `canRenameTeamDrive` + # @return [Boolean] + attr_accessor :can_rename_team_drive + alias_method :can_rename_team_drive?, :can_rename_team_drive + + # Whether the current user can share files or folders in this Team Drive. + # Corresponds to the JSON property `canShare` + # @return [Boolean] + attr_accessor :can_share + alias_method :can_share?, :can_share + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_add_children = args[:can_add_children] if args.key?(:can_add_children) + @can_comment = args[:can_comment] if args.key?(:can_comment) + @can_copy = args[:can_copy] if args.key?(:can_copy) + @can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive) + @can_download = args[:can_download] if args.key?(:can_download) + @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_list_children = args[:can_list_children] if args.key?(:can_list_children) + @can_manage_members = args[:can_manage_members] if args.key?(:can_manage_members) + @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) + @can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children) + @can_rename = args[:can_rename] if args.key?(:can_rename) + @can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive) + @can_share = args[:can_share] if args.key?(:can_share) + end + end + end + + # A list of Team Drives. + class TeamDriveList + include Google::Apis::Core::Hashable + + # The list of Team Drives. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # This is always drive#teamDriveList + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The page token for the next page of Team Drives. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Information about a Drive user. class User include Google::Apis::Core::Hashable diff --git a/generated/google/apis/drive_v2/representations.rb b/generated/google/apis/drive_v2/representations.rb index e38ae482d..dd2211283 100644 --- a/generated/google/apis/drive_v2/representations.rb +++ b/generated/google/apis/drive_v2/representations.rb @@ -151,6 +151,12 @@ module Google class File class Representation < Google::Apis::Core::JsonRepresentation; end + class Capabilities + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ImageMediaMetadata class Representation < Google::Apis::Core::JsonRepresentation; end @@ -216,6 +222,12 @@ module Google class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + class TeamDrivePermissionDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -256,6 +268,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class StartPageToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TeamDrive + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Capabilities + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class TeamDriveList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class User class Representation < Google::Apis::Core::JsonRepresentation; end @@ -426,6 +462,10 @@ module Google property :modification_date, as: 'modificationDate', type: DateTime property :self_link, as: 'selfLink' + property :team_drive, as: 'teamDrive', class: Google::Apis::DriveV2::TeamDrive, decorator: Google::Apis::DriveV2::TeamDrive::Representation + + property :team_drive_id, as: 'teamDriveId' + property :type, as: 'type' end end @@ -437,6 +477,7 @@ module Google property :kind, as: 'kind' property :largest_change_id, as: 'largestChangeId' + property :new_start_page_token, as: 'newStartPageToken' property :next_link, as: 'nextLink' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' @@ -565,6 +606,8 @@ module Google property :app_data_contents, as: 'appDataContents' property :can_comment, as: 'canComment' property :can_read_revisions, as: 'canReadRevisions' + property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::File::Capabilities, decorator: Google::Apis::DriveV2::File::Capabilities::Representation + property :copyable, as: 'copyable' property :created_date, as: 'createdDate', type: DateTime @@ -580,6 +623,8 @@ module Google property :file_size, as: 'fileSize' property :folder_color_rgb, as: 'folderColorRgb' property :full_file_extension, as: 'fullFileExtension' + property :has_augmented_permissions, as: 'hasAugmentedPermissions' + property :has_thumbnail, as: 'hasThumbnail' property :head_revision_id, as: 'headRevisionId' property :icon_link, as: 'iconLink' property :id, as: 'id' @@ -625,10 +670,16 @@ module Google property :sharing_user, as: 'sharingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation collection :spaces, as: 'spaces' + property :team_drive_id, as: 'teamDriveId' property :thumbnail, as: 'thumbnail', class: Google::Apis::DriveV2::File::Thumbnail, decorator: Google::Apis::DriveV2::File::Thumbnail::Representation property :thumbnail_link, as: 'thumbnailLink' + property :thumbnail_version, as: 'thumbnailVersion' property :title, as: 'title' + property :trashed_date, as: 'trashedDate', type: DateTime + + property :trashing_user, as: 'trashingUser', class: Google::Apis::DriveV2::User, decorator: Google::Apis::DriveV2::User::Representation + property :user_permission, as: 'userPermission', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation property :version, as: 'version' @@ -639,6 +690,28 @@ module Google property :writers_can_share, as: 'writersCanShare' end + class Capabilities + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_add_children, as: 'canAddChildren' + property :can_comment, as: 'canComment' + property :can_copy, as: 'canCopy' + property :can_delete, as: 'canDelete' + property :can_download, as: 'canDownload' + property :can_edit, as: 'canEdit' + property :can_list_children, as: 'canListChildren' + property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive' + property :can_move_team_drive_item, as: 'canMoveTeamDriveItem' + property :can_read_revisions, as: 'canReadRevisions' + property :can_read_team_drive, as: 'canReadTeamDrive' + property :can_remove_children, as: 'canRemoveChildren' + property :can_rename, as: 'canRename' + property :can_share, as: 'canShare' + property :can_trash, as: 'canTrash' + property :can_untrash, as: 'canUntrash' + end + end + class ImageMediaMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -687,6 +760,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :hidden, as: 'hidden' + property :modified, as: 'modified' property :restricted, as: 'restricted' property :starred, as: 'starred' property :trashed, as: 'trashed' @@ -716,6 +790,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :etag, as: 'etag' + property :incomplete_search, as: 'incompleteSearch' collection :items, as: 'items', class: Google::Apis::DriveV2::File, decorator: Google::Apis::DriveV2::File::Representation property :kind, as: 'kind' @@ -772,10 +847,23 @@ module Google property :photo_link, as: 'photoLink' property :role, as: 'role' property :self_link, as: 'selfLink' + collection :team_drive_permission_details, as: 'teamDrivePermissionDetails', class: Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail, decorator: Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail::Representation + property :type, as: 'type' property :value, as: 'value' property :with_link, as: 'withLink' end + + class TeamDrivePermissionDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :additional_roles, as: 'additionalRoles' + property :inherited, as: 'inherited' + property :inherited_from, as: 'inheritedFrom' + property :role, as: 'role' + property :team_drive_permission_type, as: 'teamDrivePermissionType' + end + end end class PermissionId @@ -793,6 +881,7 @@ module Google collection :items, as: 'items', class: Google::Apis::DriveV2::Permission, decorator: Google::Apis::DriveV2::Permission::Representation property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' end end @@ -853,10 +942,59 @@ module Google collection :items, as: 'items', class: Google::Apis::DriveV2::Revision, decorator: Google::Apis::DriveV2::Revision::Representation property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' end end + class StartPageToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :start_page_token, as: 'startPageToken' + end + end + + class TeamDrive + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :capabilities, as: 'capabilities', class: Google::Apis::DriveV2::TeamDrive::Capabilities, decorator: Google::Apis::DriveV2::TeamDrive::Capabilities::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + + class Capabilities + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_add_children, as: 'canAddChildren' + property :can_comment, as: 'canComment' + property :can_copy, as: 'canCopy' + property :can_delete_team_drive, as: 'canDeleteTeamDrive' + property :can_download, as: 'canDownload' + property :can_edit, as: 'canEdit' + property :can_list_children, as: 'canListChildren' + property :can_manage_members, as: 'canManageMembers' + property :can_read_revisions, as: 'canReadRevisions' + property :can_remove_children, as: 'canRemoveChildren' + property :can_rename, as: 'canRename' + property :can_rename_team_drive, as: 'canRenameTeamDrive' + property :can_share, as: 'canShare' + end + end + end + + class TeamDriveList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :items, as: 'items', class: Google::Apis::DriveV2::TeamDrive, decorator: Google::Apis::DriveV2::TeamDrive::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + end + end + class User # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/drive_v2/service.rb b/generated/google/apis/drive_v2/service.rb index 5f615880f..1a49b9ff3 100644 --- a/generated/google/apis/drive_v2/service.rb +++ b/generated/google/apis/drive_v2/service.rb @@ -184,6 +184,10 @@ module Google # Gets a specific change. # @param [String] change_id # The ID of the change. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The Team Drive from which the change will be returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -205,33 +209,90 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_change(change_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_change(change_id, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'changes/{changeId}', options) command.response_representation = Google::Apis::DriveV2::Change::Representation command.response_class = Google::Apis::DriveV2::Change command.params['changeId'] = change_id unless change_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Lists the changes for a user. + # Gets the starting pageToken for listing future changes. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The ID of the Team Drive for which the starting pageToken for listing future + # changes from that Team Drive will be returned. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV2::StartPageToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV2::StartPageToken] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_change_start_page_token(supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'changes/startPageToken', options) + command.response_representation = Google::Apis::DriveV2::StartPageToken::Representation + command.response_class = Google::Apis::DriveV2::StartPageToken + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the changes for a user or Team Drive. + # @param [Boolean] include_corpus_removals + # Whether changes should include the file resource if the file is still + # accessible by the user at the time of the request, even when a file was + # removed from the list of changes and there will be no further change entries + # for this file. # @param [Boolean] include_deleted - # Whether to include deleted items. + # Whether to include changes indicating that items have been removed from the + # list of changes, for example by deletion or loss of access. # @param [Boolean] include_subscribed # Whether to include public files the user has opened and shared files. When set # to false, the list only includes owned files plus any shared or public files # the user has explicitly added to a folder they own. + # @param [Boolean] include_team_drive_items + # Whether Team Drive files or changes should be included in results. # @param [Fixnum] max_results # Maximum number of changes to return. # @param [String] page_token - # Page token for changes. + # The token for continuing a previous list request on the next page. This should + # be set to the value of 'nextPageToken' from the previous response or to the + # response from the getStartPageToken method. # @param [String] spaces # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. # @param [String] start_change_id # Change ID to start listing changes from. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The Team Drive from which changes will be returned. If specified the change + # IDs will be reflective of the Team Drive; use the combined Team Drive ID and + # change ID as an identifier. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -253,16 +314,20 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_changes(include_deleted: nil, include_subscribed: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_changes(include_corpus_removals: nil, include_deleted: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'changes', options) command.response_representation = Google::Apis::DriveV2::ChangeList::Representation command.response_class = Google::Apis::DriveV2::ChangeList + command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil? command.query['includeDeleted'] = include_deleted unless include_deleted.nil? command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['spaces'] = spaces unless spaces.nil? command.query['startChangeId'] = start_change_id unless start_change_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -271,21 +336,37 @@ module Google # Subscribe to changes for a user. # @param [Google::Apis::DriveV2::Channel] channel_object + # @param [Boolean] include_corpus_removals + # Whether changes should include the file resource if the file is still + # accessible by the user at the time of the request, even when a file was + # removed from the list of changes and there will be no further change entries + # for this file. # @param [Boolean] include_deleted - # Whether to include deleted items. + # Whether to include changes indicating that items have been removed from the + # list of changes, for example by deletion or loss of access. # @param [Boolean] include_subscribed # Whether to include public files the user has opened and shared files. When set # to false, the list only includes owned files plus any shared or public files # the user has explicitly added to a folder they own. + # @param [Boolean] include_team_drive_items + # Whether Team Drive files or changes should be included in results. # @param [Fixnum] max_results # Maximum number of changes to return. # @param [String] page_token - # Page token for changes. + # The token for continuing a previous list request on the next page. This should + # be set to the value of 'nextPageToken' from the previous response or to the + # response from the getStartPageToken method. # @param [String] spaces # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. # @param [String] start_change_id # Change ID to start listing changes from. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The Team Drive from which changes will be returned. If specified the change + # IDs will be reflective of the Team Drive; use the combined Team Drive ID and + # change ID as an identifier. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -307,18 +388,22 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def watch_change(channel_object = nil, include_deleted: nil, include_subscribed: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def watch_change(channel_object = nil, include_corpus_removals: nil, include_deleted: nil, include_subscribed: nil, include_team_drive_items: nil, max_results: nil, page_token: nil, spaces: nil, start_change_id: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'changes/watch', options) command.request_representation = Google::Apis::DriveV2::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DriveV2::Channel::Representation command.response_class = Google::Apis::DriveV2::Channel + command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil? command.query['includeDeleted'] = include_deleted unless include_deleted.nil? command.query['includeSubscribed'] = include_subscribed unless include_subscribed.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['spaces'] = spaces unless spaces.nil? command.query['startChangeId'] = start_change_id unless start_change_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -436,6 +521,8 @@ module Google # @param [String] folder_id # The ID of the folder. # @param [Google::Apis::DriveV2::ChildReference] child_reference_object + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -457,13 +544,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_child(folder_id, child_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_child(folder_id, child_reference_object = nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{folderId}/children', options) command.request_representation = Google::Apis::DriveV2::ChildReference::Representation command.request_object = child_reference_object command.response_representation = Google::Apis::DriveV2::ChildReference::Representation command.response_class = Google::Apis::DriveV2::ChildReference command.params['folderId'] = folder_id unless folder_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -785,6 +873,8 @@ module Google # @param [Boolean] pinned # Whether to pin the head revision of the new copy. A file can have a maximum of # 200 pinned revisions. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] timed_text_language # The language of the timed text. # @param [String] timed_text_track_name @@ -813,7 +903,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def copy_file(file_id, file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/copy', options) command.request_representation = Google::Apis::DriveV2::File::Representation command.request_object = file_object @@ -824,6 +914,7 @@ module Google command.query['ocr'] = ocr unless ocr.nil? command.query['ocrLanguage'] = ocr_language unless ocr_language.nil? command.query['pinned'] = pinned unless pinned.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil? command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil? command.query['visibility'] = visibility unless visibility.nil? @@ -834,9 +925,11 @@ module Google end # Permanently deletes a file by ID. Skips the trash. The currently authenticated - # user must own the file. + # user must own the file or be an organizer on the parent for Team Drive files. # @param [String] file_id # The ID of the file to delete. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -858,9 +951,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_file(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'files/{fileId}', options) command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -991,6 +1085,8 @@ module Google # @param [String] revision_id # Specifies the Revision ID that should be downloaded. Ignored unless alt=media # is specified. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] update_viewed_date # Deprecated: Use files.update with modifiedDateBehavior=noChange, # updateViewedDate=true and an empty request body. @@ -1017,7 +1113,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def get_file(file_id, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'files/{fileId}', options) else @@ -1030,6 +1126,7 @@ module Google command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil? command.query['projection'] = projection unless projection.nil? command.query['revisionId'] = revision_id unless revision_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1048,6 +1145,8 @@ module Google # @param [Boolean] pinned # Whether to pin the head revision of the uploaded file. A file can have a # maximum of 200 pinned revisions. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] timed_text_language # The language of the timed text. # @param [String] timed_text_track_name @@ -1082,7 +1181,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def insert_file(file_object = nil, convert: nil, ocr: nil, ocr_language: nil, pinned: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, use_content_as_indexable_text: nil, visibility: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'files', options) else @@ -1098,6 +1197,7 @@ module Google command.query['ocr'] = ocr unless ocr.nil? command.query['ocrLanguage'] = ocr_language unless ocr_language.nil? command.query['pinned'] = pinned unless pinned.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil? command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil? command.query['useContentAsIndexableText'] = use_content_as_indexable_text unless use_content_as_indexable_text.nil? @@ -1109,8 +1209,17 @@ module Google end # Lists the user's files. + # @param [String] corpora + # Comma-separated list of bodies of items (files/documents) to which the query + # applies. Supported bodies are 'default', 'domain', 'teamDrive' and ' + # allTeamDrives'. 'allTeamDrives' must be combined with 'default'; all other + # values must be used in isolation. Prefer 'default' or 'teamDrive' to ' + # allTeamDrives' for efficiency. # @param [String] corpus - # The body of items (files/documents) to which the query applies. + # The body of items (files/documents) to which the query applies. Deprecated: + # use 'corpora' instead. + # @param [Boolean] include_team_drive_items + # Whether Team Drive items should be included in results. # @param [Fixnum] max_results # Maximum number of files to return. # @param [String] order_by @@ -1130,6 +1239,10 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query. Supported values are 'drive', ' # appDataFolder' and 'photos'. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # ID of Team Drive to search. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1151,17 +1264,21 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_files(corpus: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, q: nil, spaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_files(corpora: nil, corpus: nil, include_team_drive_items: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, q: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files', options) command.response_representation = Google::Apis::DriveV2::FileList::Representation command.response_class = Google::Apis::DriveV2::FileList + command.query['corpora'] = corpora unless corpora.nil? command.query['corpus'] = corpus unless corpus.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['projection'] = projection unless projection.nil? command.query['q'] = q unless q.nil? command.query['spaces'] = spaces unless spaces.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1197,6 +1314,8 @@ module Google # Comma-separated list of parent IDs to remove. # @param [Boolean] set_modified_date # Whether to set the modified date with the supplied modified date. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] timed_text_language # The language of the timed text. # @param [String] timed_text_track_name @@ -1226,7 +1345,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'files/{fileId}', options) command.request_representation = Google::Apis::DriveV2::File::Representation command.request_object = file_object @@ -1242,6 +1361,7 @@ module Google command.query['pinned'] = pinned unless pinned.nil? command.query['removeParents'] = remove_parents unless remove_parents.nil? command.query['setModifiedDate'] = set_modified_date unless set_modified_date.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil? command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil? command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil? @@ -1255,6 +1375,8 @@ module Google # Set the file's updated time to the current server time. # @param [String] file_id # The ID of the file to update. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1276,20 +1398,24 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def touch_file(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def touch_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/touch', options) command.response_representation = Google::Apis::DriveV2::File::Representation command.response_class = Google::Apis::DriveV2::File command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Moves a file to the trash. The currently authenticated user must own the file. + # Moves a file to the trash. The currently authenticated user must own the file + # or be an organizer on the parent for Team Drive files. # @param [String] file_id # The ID of the file to trash. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1311,11 +1437,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def trash_file(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def trash_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/trash', options) command.response_representation = Google::Apis::DriveV2::File::Representation command.response_class = Google::Apis::DriveV2::File command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1325,6 +1452,8 @@ module Google # Restores a file from the trash. # @param [String] file_id # The ID of the file to untrash. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1346,11 +1475,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def untrash_file(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def untrash_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/untrash', options) command.response_representation = Google::Apis::DriveV2::File::Representation command.response_class = Google::Apis::DriveV2::File command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1386,6 +1516,8 @@ module Google # Comma-separated list of parent IDs to remove. # @param [Boolean] set_modified_date # Whether to set the modified date with the supplied modified date. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] timed_text_language # The language of the timed text. # @param [String] timed_text_track_name @@ -1419,7 +1551,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def update_file(file_id, file_object = nil, add_parents: nil, convert: nil, modified_date_behavior: nil, new_revision: nil, ocr: nil, ocr_language: nil, pinned: nil, remove_parents: nil, set_modified_date: nil, supports_team_drives: nil, timed_text_language: nil, timed_text_track_name: nil, update_viewed_date: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:put, 'files/{fileId}', options) else @@ -1441,6 +1573,7 @@ module Google command.query['pinned'] = pinned unless pinned.nil? command.query['removeParents'] = remove_parents unless remove_parents.nil? command.query['setModifiedDate'] = set_modified_date unless set_modified_date.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['timedTextLanguage'] = timed_text_language unless timed_text_language.nil? command.query['timedTextTrackName'] = timed_text_track_name unless timed_text_track_name.nil? command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil? @@ -1463,6 +1596,8 @@ module Google # @param [String] revision_id # Specifies the Revision ID that should be downloaded. Ignored unless alt=media # is specified. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] update_viewed_date # Deprecated: Use files.update with modifiedDateBehavior=noChange, # updateViewedDate=true and an empty request body. @@ -1489,7 +1624,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, projection: nil, revision_id: nil, supports_team_drives: nil, update_viewed_date: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:post, 'files/{fileId}/watch', options) else @@ -1504,6 +1639,7 @@ module Google command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil? command.query['projection'] = projection unless projection.nil? command.query['revisionId'] = revision_id unless revision_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['updateViewedDate'] = update_viewed_date unless update_viewed_date.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1589,6 +1725,8 @@ module Google # @param [String] file_id # The ID of the file. # @param [Google::Apis::DriveV2::ParentReference] parent_reference_object + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1610,13 +1748,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_parent(file_id, parent_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_parent(file_id, parent_reference_object = nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/parents', options) command.request_representation = Google::Apis::DriveV2::ParentReference::Representation command.request_object = parent_reference_object command.response_representation = Google::Apis::DriveV2::ParentReference::Representation command.response_class = Google::Apis::DriveV2::ParentReference command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1658,11 +1797,13 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a permission from a file. + # Deletes a permission from a file or Team Drive. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. # @param [String] permission_id # The ID for the permission. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1684,10 +1825,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_permission(file_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_permission(file_id, permission_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options) command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1696,9 +1838,11 @@ module Google # Gets a permission by ID. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. # @param [String] permission_id # The ID for the permission. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1720,12 +1864,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_permission(file_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_permission(file_id, permission_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options) command.response_representation = Google::Apis::DriveV2::Permission::Representation command.response_class = Google::Apis::DriveV2::Permission command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1767,15 +1912,17 @@ module Google execute_or_queue_command(command, &block) end - # Inserts a permission for a file. + # Inserts a permission for a file or Team Drive. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. # @param [Google::Apis::DriveV2::Permission] permission_object # @param [String] email_message # A custom message to include in notification emails. # @param [Boolean] send_notification_emails # Whether to send notification emails when sharing to users or groups. This # parameter is ignored and an email is sent if the role is owner. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1797,7 +1944,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def insert_permission(file_id, permission_object = nil, email_message: nil, send_notification_emails: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/permissions', options) command.request_representation = Google::Apis::DriveV2::Permission::Representation command.request_object = permission_object @@ -1806,15 +1953,25 @@ module Google command.params['fileId'] = file_id unless file_id.nil? command.query['emailMessage'] = email_message unless email_message.nil? command.query['sendNotificationEmails'] = send_notification_emails unless send_notification_emails.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Lists a file's permissions. + # Lists a file's or Team Drive's permissions. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. + # @param [Fixnum] max_results + # The maximum number of permissions to return per page. When not set for files + # in a Team Drive, at most 100 results will be returned. When not set for files + # that are not in a Team Drive, the entire list will be returned. + # @param [String] page_token + # The token for continuing a previous list request on the next page. This should + # be set to the value of 'nextPageToken' from the previous response. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1836,11 +1993,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_permissions(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_permissions(file_id, max_results: nil, page_token: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/permissions', options) command.response_representation = Google::Apis::DriveV2::PermissionList::Representation command.response_class = Google::Apis::DriveV2::PermissionList command.params['fileId'] = file_id unless file_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1849,12 +2009,14 @@ module Google # Updates a permission using patch semantics. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. # @param [String] permission_id # The ID for the permission. # @param [Google::Apis::DriveV2::Permission] permission_object # @param [Boolean] remove_expiration # Whether to remove the expiration date. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] transfer_ownership # Whether changing a role to 'owner' downgrades the current owners to writers. # Does nothing if the specified role is not 'owner'. @@ -1879,7 +2041,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def patch_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options) command.request_representation = Google::Apis::DriveV2::Permission::Representation command.request_object = permission_object @@ -1888,6 +2050,7 @@ module Google command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1897,12 +2060,14 @@ module Google # Updates a permission. # @param [String] file_id - # The ID for the file. + # The ID for the file or Team Drive. # @param [String] permission_id # The ID for the permission. # @param [Google::Apis::DriveV2::Permission] permission_object # @param [Boolean] remove_expiration # Whether to remove the expiration date. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] transfer_ownership # Whether changing a role to 'owner' downgrades the current owners to writers. # Does nothing if the specified role is not 'owner'. @@ -1927,7 +2092,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:put, 'files/{fileId}/permissions/{permissionId}', options) command.request_representation = Google::Apis::DriveV2::Permission::Representation command.request_object = permission_object @@ -1936,6 +2101,7 @@ module Google command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -2620,6 +2786,11 @@ module Google # Lists a file's revisions. # @param [String] file_id # The ID of the file. + # @param [Fixnum] max_results + # Maximum number of revisions to return. + # @param [String] page_token + # Page token for revisions. To get the next page of results, set this parameter + # to the value of "nextPageToken" from the previous response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2641,11 +2812,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_revisions(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_revisions(file_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/revisions', options) command.response_representation = Google::Apis::DriveV2::RevisionList::Representation command.response_class = Google::Apis::DriveV2::RevisionList command.params['fileId'] = file_id unless file_id.nil? + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -2733,6 +2906,193 @@ module Google command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end + + # Permanently deletes a Team Drive for which the user is an organizer. The Team + # Drive cannot contain any untrashed items. + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_teamdrife(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options) + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a Team Drive's metadata by ID. + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV2::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV2::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_teamdrife(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options) + command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation + command.response_class = Google::Apis::DriveV2::TeamDrive + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new Team Drive. + # @param [String] request_id + # An ID, such as a random UUID, which uniquely identifies this user's request + # for idempotent creation of a Team Drive. A repeated request by the same user + # and with the same request ID will avoid creating duplicates by attempting to + # create the same Team Drive. If the Team Drive already exists a 409 error will + # be returned. + # @param [Google::Apis::DriveV2::TeamDrive] team_drive_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV2::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV2::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_teamdrife(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'teamdrives', options) + command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation + command.request_object = team_drive_object + command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation + command.response_class = Google::Apis::DriveV2::TeamDrive + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the user's Team Drives. + # @param [Fixnum] max_results + # Maximum number of Team Drives to return. + # @param [String] page_token + # Page token for Team Drives. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV2::TeamDriveList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV2::TeamDriveList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_teamdrives(max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'teamdrives', options) + command.response_representation = Google::Apis::DriveV2::TeamDriveList::Representation + command.response_class = Google::Apis::DriveV2::TeamDriveList + command.query['maxResults'] = max_results unless max_results.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a Team Drive's metadata + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [Google::Apis::DriveV2::TeamDrive] team_drive_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV2::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV2::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_teamdrife(team_drive_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'teamdrives/{teamDriveId}', options) + command.request_representation = Google::Apis::DriveV2::TeamDrive::Representation + command.request_object = team_drive_object + command.response_representation = Google::Apis::DriveV2::TeamDrive::Representation + command.response_class = Google::Apis::DriveV2::TeamDrive + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index a0b79efc9..1ebf9b964 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20160805' + REVISION = '20170320' # View and manage the files in your Google Drive AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index 4bbff774c..342016b06 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -47,7 +47,8 @@ module Google # @return [Hash>] attr_accessor :import_formats - # This is always drive#about. + # Identifies what kind of resource this is. Value: the fixed string "drive#about" + # . # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -128,7 +129,7 @@ module Google end end - # A change to a file. + # A change to a file or Team Drive. class Change include Google::Apis::Core::Hashable @@ -142,23 +143,39 @@ module Google # @return [String] attr_accessor :file_id - # This is always drive#change. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # change". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Whether the file has been removed from the view of the changes list, for - # example by deletion or lost access. + # Whether the file or Team Drive has been removed from this list of changes, for + # example by deletion or loss of access. # Corresponds to the JSON property `removed` # @return [Boolean] attr_accessor :removed alias_method :removed?, :removed + # Representation of a Team Drive. + # Corresponds to the JSON property `teamDrive` + # @return [Google::Apis::DriveV3::TeamDrive] + attr_accessor :team_drive + + # The ID of the Team Drive associated with this change. + # Corresponds to the JSON property `teamDriveId` + # @return [String] + attr_accessor :team_drive_id + # The time of this change (RFC 3339 date-time). # Corresponds to the JSON property `time` # @return [DateTime] attr_accessor :time + # The type of the change. Possible values are file and teamDrive. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + def initialize(**args) update!(**args) end @@ -169,7 +186,10 @@ module Google @file_id = args[:file_id] if args.key?(:file_id) @kind = args[:kind] if args.key?(:kind) @removed = args[:removed] if args.key?(:removed) + @team_drive = args[:team_drive] if args.key?(:team_drive) + @team_drive_id = args[:team_drive_id] if args.key?(:team_drive_id) @time = args[:time] if args.key?(:time) + @type = args[:type] if args.key?(:type) end end @@ -177,12 +197,14 @@ module Google class ChangeList include Google::Apis::Core::Hashable - # The page of changes. + # The list of changes. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `changes` # @return [Array] attr_accessor :changes - # This is always drive#changeList. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # changeList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -194,7 +216,9 @@ module Google attr_accessor :new_start_page_token # The page token for the next page of changes. This will be absent if the end of - # the current changes list has been reached. + # the changes list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -332,7 +356,8 @@ module Google # @return [String] attr_accessor :id - # This is always drive#comment. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # comment". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -414,18 +439,22 @@ module Google class CommentList include Google::Apis::Core::Hashable - # The page of comments. + # The list of comments. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `comments` # @return [Array] attr_accessor :comments - # This is always drive#commentList. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # commentList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The page token for the next page of comments. This will be absent if the end - # of the comments list has been reached. + # of the comments list has been reached. If the token is rejected for any reason, + # it should be discarded, and pagination should be restarted from the first + # page of results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -453,7 +482,8 @@ module Google # @return [Hash] attr_accessor :app_properties - # Capabilities the current user has on the file. + # Capabilities the current user has on the file. Each capability corresponds to + # a fine-grained action that a user may take. # Corresponds to the JSON property `capabilities` # @return [Google::Apis::DriveV3::File::Capabilities] attr_accessor :capabilities @@ -504,6 +534,19 @@ module Google # @return [String] attr_accessor :full_file_extension + # Whether any users are granted file access directly on this file. This field is + # only populated for Team Drive files. + # Corresponds to the JSON property `hasAugmentedPermissions` + # @return [Boolean] + attr_accessor :has_augmented_permissions + alias_method :has_augmented_permissions?, :has_augmented_permissions + + # Whether this file has a thumbnail. + # Corresponds to the JSON property `hasThumbnail` + # @return [Boolean] + attr_accessor :has_thumbnail + alias_method :has_thumbnail?, :has_thumbnail + # The ID of the file's head revision. This is currently only available for files # with binary content in Drive. # Corresponds to the JSON property `headRevisionId` @@ -531,7 +574,7 @@ module Google attr_accessor :is_app_authorized alias_method :is_app_authorized?, :is_app_authorized - # This is always drive#file. + # Identifies what kind of resource this is. Value: the fixed string "drive#file". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -558,6 +601,12 @@ module Google # @return [String] attr_accessor :mime_type + # Whether the file has been modified by this user. + # Corresponds to the JSON property `modifiedByMe` + # @return [Boolean] + attr_accessor :modified_by_me + alias_method :modified_by_me?, :modified_by_me + # The last time the file was modified by the user (RFC 3339 date-time). # Corresponds to the JSON property `modifiedByMeTime` # @return [DateTime] @@ -569,7 +618,9 @@ module Google # @return [DateTime] attr_accessor :modified_time - # 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. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -581,14 +632,14 @@ module Google # @return [String] attr_accessor :original_filename - # Whether the user owns the file. + # Whether the user owns the file. Not populated for Team Drive files. # Corresponds to the JSON property `ownedByMe` # @return [Boolean] attr_accessor :owned_by_me alias_method :owned_by_me?, :owned_by_me # The owners of the file. Currently, only certain legacy files may have more - # than one owner. + # than one owner. Not populated for Team Drive files. # Corresponds to the JSON property `owners` # @return [Array] attr_accessor :owners @@ -602,7 +653,7 @@ module Google attr_accessor :parents # The full list of permissions for the file. This is only available if the - # requesting user can share the file. + # requesting user can share the file. Not populated for Team Drive files. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -619,7 +670,7 @@ module Google # @return [String] attr_accessor :quota_bytes_used - # Whether the file has been shared. + # Whether the file has been shared. Not populated for Team Drive files. # Corresponds to the JSON property `shared` # @return [Boolean] attr_accessor :shared @@ -654,12 +705,23 @@ module Google attr_accessor :starred alias_method :starred?, :starred + # ID of the Team Drive the file resides in. + # Corresponds to the JSON property `teamDriveId` + # @return [String] + attr_accessor :team_drive_id + # A short-lived link to the file's thumbnail, if available. Typically lasts on - # the order of hours. + # the order of hours. Only populated when the requesting app can access the file' + # s content. # Corresponds to the JSON property `thumbnailLink` # @return [String] attr_accessor :thumbnail_link + # The thumbnail version for use in thumbnail cache invalidation. + # Corresponds to the JSON property `thumbnailVersion` + # @return [String] + attr_accessor :thumbnail_version + # Whether the file has been trashed, either explicitly or from a trashed parent # folder. Only the owner may trash a file, and other users cannot see files in # the owner's trash. @@ -668,6 +730,17 @@ module Google attr_accessor :trashed alias_method :trashed?, :trashed + # The time that the item was trashed (RFC 3339 date-time). Only populated for + # Team Drive files. + # Corresponds to the JSON property `trashedTime` + # @return [DateTime] + attr_accessor :trashed_time + + # Information about a Drive user. + # Corresponds to the JSON property `trashingUser` + # @return [Google::Apis::DriveV3::User] + attr_accessor :trashing_user + # A monotonically increasing version number for the file. This reflects every # change made to the file on the server, even those not visible to the user. # Corresponds to the JSON property `version` @@ -710,6 +783,7 @@ module Google attr_accessor :web_view_link # Whether users with only writer permission can modify the file's permissions. + # Not populated for Team Drive files. # Corresponds to the JSON property `writersCanShare` # @return [Boolean] attr_accessor :writers_can_share @@ -730,6 +804,8 @@ module Google @file_extension = args[:file_extension] if args.key?(:file_extension) @folder_color_rgb = args[:folder_color_rgb] if args.key?(:folder_color_rgb) @full_file_extension = args[:full_file_extension] if args.key?(:full_file_extension) + @has_augmented_permissions = args[:has_augmented_permissions] if args.key?(:has_augmented_permissions) + @has_thumbnail = args[:has_thumbnail] if args.key?(:has_thumbnail) @head_revision_id = args[:head_revision_id] if args.key?(:head_revision_id) @icon_link = args[:icon_link] if args.key?(:icon_link) @id = args[:id] if args.key?(:id) @@ -739,6 +815,7 @@ module Google @last_modifying_user = args[:last_modifying_user] if args.key?(:last_modifying_user) @md5_checksum = args[:md5_checksum] if args.key?(:md5_checksum) @mime_type = args[:mime_type] if args.key?(:mime_type) + @modified_by_me = args[:modified_by_me] if args.key?(:modified_by_me) @modified_by_me_time = args[:modified_by_me_time] if args.key?(:modified_by_me_time) @modified_time = args[:modified_time] if args.key?(:modified_time) @name = args[:name] if args.key?(:name) @@ -755,8 +832,12 @@ module Google @size = args[:size] if args.key?(:size) @spaces = args[:spaces] if args.key?(:spaces) @starred = args[:starred] if args.key?(:starred) + @team_drive_id = args[:team_drive_id] if args.key?(:team_drive_id) @thumbnail_link = args[:thumbnail_link] if args.key?(:thumbnail_link) + @thumbnail_version = args[:thumbnail_version] if args.key?(:thumbnail_version) @trashed = args[:trashed] if args.key?(:trashed) + @trashed_time = args[:trashed_time] if args.key?(:trashed_time) + @trashing_user = args[:trashing_user] if args.key?(:trashing_user) @version = args[:version] if args.key?(:version) @video_media_metadata = args[:video_media_metadata] if args.key?(:video_media_metadata) @viewed_by_me = args[:viewed_by_me] if args.key?(:viewed_by_me) @@ -767,51 +848,140 @@ module Google @writers_can_share = args[:writers_can_share] if args.key?(:writers_can_share) end - # Capabilities the current user has on the file. + # Capabilities the current user has on the file. Each capability corresponds to + # a fine-grained action that a user may take. class Capabilities include Google::Apis::Core::Hashable + # Whether the user can add children to this folder. This is always false when + # the item is not a folder. + # Corresponds to the JSON property `canAddChildren` + # @return [Boolean] + attr_accessor :can_add_children + alias_method :can_add_children?, :can_add_children + # Whether the user can comment on the file. # Corresponds to the JSON property `canComment` # @return [Boolean] attr_accessor :can_comment alias_method :can_comment?, :can_comment - # Whether the user can copy the file. + # Whether the user can copy the file. For a Team Drive item, whether non-folder + # descendants of this item, or this item itself if it is not a folder, can be + # copied. # Corresponds to the JSON property `canCopy` # @return [Boolean] attr_accessor :can_copy alias_method :can_copy?, :can_copy + # Whether the file can be deleted by the user. + # Corresponds to the JSON property `canDelete` + # @return [Boolean] + attr_accessor :can_delete + alias_method :can_delete?, :can_delete + + # Whether the file can be downloaded by the user. + # Corresponds to the JSON property `canDownload` + # @return [Boolean] + attr_accessor :can_download + alias_method :can_download?, :can_download + # Whether the user can edit the file's content. # Corresponds to the JSON property `canEdit` # @return [Boolean] attr_accessor :can_edit alias_method :can_edit?, :can_edit - # Whether the current user has read access to the Revisions resource of the file. + # Whether the user can list the children of this folder. This is always false + # when the item is not a folder. + # Corresponds to the JSON property `canListChildren` + # @return [Boolean] + attr_accessor :can_list_children + alias_method :can_list_children?, :can_list_children + + # Whether the current user can move this item into a Team Drive. If the item is + # in a Team Drive, this field is equivalent to canMoveTeamDriveItem. + # Corresponds to the JSON property `canMoveItemIntoTeamDrive` + # @return [Boolean] + attr_accessor :can_move_item_into_team_drive + alias_method :can_move_item_into_team_drive?, :can_move_item_into_team_drive + + # Whether the user can move this Team Drive item by changing its parent. Note + # that a request to change the parent for this item may still fail depending on + # the new parent that is being added. Only populated for Team Drive files. + # Corresponds to the JSON property `canMoveTeamDriveItem` + # @return [Boolean] + attr_accessor :can_move_team_drive_item + alias_method :can_move_team_drive_item?, :can_move_team_drive_item + + # Whether the user has read access to the Revisions resource of the file. For a + # Team Drive item, whether revisions of non-folder descendants of this item, or + # this item itself if it is not a folder, can be read. # Corresponds to the JSON property `canReadRevisions` # @return [Boolean] attr_accessor :can_read_revisions alias_method :can_read_revisions?, :can_read_revisions + # Whether the user has read access to the Team Drive to which this file belongs. + # Only populated for Team Drive files. + # Corresponds to the JSON property `canReadTeamDrive` + # @return [Boolean] + attr_accessor :can_read_team_drive + alias_method :can_read_team_drive?, :can_read_team_drive + + # Whether the user can remove children from this folder. This is always false + # when the item is not a folder. + # Corresponds to the JSON property `canRemoveChildren` + # @return [Boolean] + attr_accessor :can_remove_children + alias_method :can_remove_children?, :can_remove_children + + # Whether the file can be renamed by the user. + # Corresponds to the JSON property `canRename` + # @return [Boolean] + attr_accessor :can_rename + alias_method :can_rename?, :can_rename + # Whether the user can modify the file's permissions and sharing settings. # Corresponds to the JSON property `canShare` # @return [Boolean] attr_accessor :can_share alias_method :can_share?, :can_share + # Whether the file can be trashed by the user. + # Corresponds to the JSON property `canTrash` + # @return [Boolean] + attr_accessor :can_trash + alias_method :can_trash?, :can_trash + + # Whether the file can be restored from the trash by the current user. + # Corresponds to the JSON property `canUntrash` + # @return [Boolean] + attr_accessor :can_untrash + alias_method :can_untrash?, :can_untrash + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @can_add_children = args[:can_add_children] if args.key?(:can_add_children) @can_comment = args[:can_comment] if args.key?(:can_comment) @can_copy = args[:can_copy] if args.key?(:can_copy) + @can_delete = args[:can_delete] if args.key?(:can_delete) + @can_download = args[:can_download] if args.key?(:can_download) @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_list_children = args[:can_list_children] if args.key?(:can_list_children) + @can_move_item_into_team_drive = args[:can_move_item_into_team_drive] if args.key?(:can_move_item_into_team_drive) + @can_move_team_drive_item = args[:can_move_team_drive_item] if args.key?(:can_move_team_drive_item) @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) + @can_read_team_drive = args[:can_read_team_drive] if args.key?(:can_read_team_drive) + @can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children) + @can_rename = args[:can_rename] if args.key?(:can_rename) @can_share = args[:can_share] if args.key?(:can_share) + @can_trash = args[:can_trash] if args.key?(:can_trash) + @can_untrash = args[:can_untrash] if args.key?(:can_untrash) end end @@ -1078,18 +1248,33 @@ module Google class FileList include Google::Apis::Core::Hashable - # The page of files. + # The list of files. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `files` # @return [Array] attr_accessor :files - # This is always drive#fileList. + # Whether the search process was incomplete. If true, then some search results + # may be missing, since all documents were not searched. This may occur when + # searching multiple Team Drives with the "user,allTeamDrives" corpora, but all + # corpora could not be searched. When this happens, it is suggested that clients + # narrow their query by choosing a different corpus such as "user" or "teamDrive" + # . + # Corresponds to the JSON property `incompleteSearch` + # @return [Boolean] + attr_accessor :incomplete_search + alias_method :incomplete_search?, :incomplete_search + + # Identifies what kind of resource this is. Value: the fixed string "drive# + # fileList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The page token for the next page of files. This will be absent if the end of - # the files list has been reached. + # the files list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -1101,6 +1286,7 @@ module Google # Update properties of this object def update!(**args) @files = args[:files] if args.key?(:files) + @incomplete_search = args[:incomplete_search] if args.key?(:incomplete_search) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end @@ -1115,7 +1301,8 @@ module Google # @return [Array] attr_accessor :ids - # This is always drive#generatedIds + # Identifies what kind of resource this is. Value: the fixed string "drive# + # generatedIds". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1164,7 +1351,11 @@ module Google # @return [String] attr_accessor :email_address - # The time at which this permission will expire (RFC 3339 date-time). + # The time at which this permission will expire (RFC 3339 date-time). Expiration + # times have the following restrictions: + # - They can only be set on user and group permissions + # - The time must be in the future + # - The time cannot be more than a year in the future # Corresponds to the JSON property `expirationTime` # @return [DateTime] attr_accessor :expiration_time @@ -1175,7 +1366,8 @@ module Google # @return [String] attr_accessor :id - # This is always drive#permission. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # permission". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1185,7 +1377,9 @@ module Google # @return [String] attr_accessor :photo_link - # The role granted by this permission. Valid values are: + # The role granted by this permission. While new values may be supported in the + # future, the following are currently allowed: + # - organizer # - owner # - writer # - commenter @@ -1194,6 +1388,13 @@ module Google # @return [String] attr_accessor :role + # Details of whether the Permissions on this Team Drive item are inherited or + # directly on this item. This is an output-only field which is present only for + # Team Drive items. + # Corresponds to the JSON property `teamDrivePermissionDetails` + # @return [Array] + attr_accessor :team_drive_permission_details + # The type of the grantee. Valid values are: # - user # - group @@ -1218,20 +1419,80 @@ module Google @kind = args[:kind] if args.key?(:kind) @photo_link = args[:photo_link] if args.key?(:photo_link) @role = args[:role] if args.key?(:role) + @team_drive_permission_details = args[:team_drive_permission_details] if args.key?(:team_drive_permission_details) @type = args[:type] if args.key?(:type) end + + # + class TeamDrivePermissionDetail + include Google::Apis::Core::Hashable + + # Whether this permission is inherited. This field is always populated. This is + # an output-only field. + # Corresponds to the JSON property `inherited` + # @return [Boolean] + attr_accessor :inherited + alias_method :inherited?, :inherited + + # The ID of the item from which this permission is inherited. This is an output- + # only field and is only populated for members of the Team Drive. + # Corresponds to the JSON property `inheritedFrom` + # @return [String] + attr_accessor :inherited_from + + # The primary role for this user. While new values may be added in the future, + # the following are currently possible: + # - organizer + # - writer + # - commenter + # - reader + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + # The Team Drive permission type for this user. While new values may be added in + # future, the following are currently possible: + # - file + # - + # - member + # Corresponds to the JSON property `teamDrivePermissionType` + # @return [String] + attr_accessor :team_drive_permission_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @inherited = args[:inherited] if args.key?(:inherited) + @inherited_from = args[:inherited_from] if args.key?(:inherited_from) + @role = args[:role] if args.key?(:role) + @team_drive_permission_type = args[:team_drive_permission_type] if args.key?(:team_drive_permission_type) + end + end end # A list of permissions for a file. class PermissionList include Google::Apis::Core::Hashable - # This is always drive#permissionList. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # permissionList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The full list of permissions. + # The page token for the next page of permissions. This field will be absent if + # the end of the permissions list has been reached. If the token is rejected for + # any reason, it should be discarded, and pagination should be restarted from + # the first page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of permissions. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1243,6 +1504,7 @@ module Google # Update properties of this object def update!(**args) @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @permissions = args[:permissions] if args.key?(:permissions) end end @@ -1291,7 +1553,8 @@ module Google # @return [String] attr_accessor :id - # This is always drive#reply. + # Identifies what kind of resource this is. Value: the fixed string "drive#reply" + # . # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1323,18 +1586,22 @@ module Google class ReplyList include Google::Apis::Core::Hashable - # This is always drive#replyList. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # replyList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind # The page token for the next page of replies. This will be absent if the end of - # the replies list has been reached. + # the replies list has been reached. If the token is rejected for any reason, it + # should be discarded, and pagination should be restarted from the first page of + # results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token - # The page of replies. + # The list of replies. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `replies` # @return [Array] attr_accessor :replies @@ -1370,7 +1637,8 @@ module Google attr_accessor :keep_forever alias_method :keep_forever?, :keep_forever - # This is always drive#revision. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # revision". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1453,12 +1721,22 @@ module Google class RevisionList include Google::Apis::Core::Hashable - # This is always drive#revisionList. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # revisionList". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The full list of revisions. + # The page token for the next page of revisions. This will be absent if the end + # of the revisions list has been reached. If the token is rejected for any + # reason, it should be discarded, and pagination should be restarted from the + # first page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of revisions. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. # Corresponds to the JSON property `revisions` # @return [Array] attr_accessor :revisions @@ -1470,6 +1748,7 @@ module Google # Update properties of this object def update!(**args) @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @revisions = args[:revisions] if args.key?(:revisions) end end @@ -1478,7 +1757,8 @@ module Google class StartPageToken include Google::Apis::Core::Hashable - # This is always drive#startPageToken. + # Identifies what kind of resource this is. Value: the fixed string "drive# + # startPageToken". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -1499,6 +1779,187 @@ module Google end end + # Representation of a Team Drive. + class TeamDrive + include Google::Apis::Core::Hashable + + # Capabilities the current user has on this Team Drive. + # Corresponds to the JSON property `capabilities` + # @return [Google::Apis::DriveV3::TeamDrive::Capabilities] + attr_accessor :capabilities + + # The ID of this Team Drive which is also the ID of the top level folder for + # this Team Drive. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string "drive# + # teamDrive". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The name of this Team Drive. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @capabilities = args[:capabilities] if args.key?(:capabilities) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @name = args[:name] if args.key?(:name) + end + + # Capabilities the current user has on this Team Drive. + class Capabilities + include Google::Apis::Core::Hashable + + # Whether the current user can add children to folders in this Team Drive. + # Corresponds to the JSON property `canAddChildren` + # @return [Boolean] + attr_accessor :can_add_children + alias_method :can_add_children?, :can_add_children + + # Whether the current user can comment on files in this Team Drive. + # Corresponds to the JSON property `canComment` + # @return [Boolean] + attr_accessor :can_comment + alias_method :can_comment?, :can_comment + + # Whether files in this Team Drive can be copied by the current user. + # Corresponds to the JSON property `canCopy` + # @return [Boolean] + attr_accessor :can_copy + alias_method :can_copy?, :can_copy + + # Whether this Team Drive can be deleted by the current user. + # Corresponds to the JSON property `canDeleteTeamDrive` + # @return [Boolean] + attr_accessor :can_delete_team_drive + alias_method :can_delete_team_drive?, :can_delete_team_drive + + # Whether files in this Team Drive can be downloaded by the current user. + # Corresponds to the JSON property `canDownload` + # @return [Boolean] + attr_accessor :can_download + alias_method :can_download?, :can_download + + # Whether files in this Team Drive can be edited by the current user. + # Corresponds to the JSON property `canEdit` + # @return [Boolean] + attr_accessor :can_edit + alias_method :can_edit?, :can_edit + + # Whether the current user can list the children of folders in this Team Drive. + # Corresponds to the JSON property `canListChildren` + # @return [Boolean] + attr_accessor :can_list_children + alias_method :can_list_children?, :can_list_children + + # Whether the current user can add members to this Team Drive or remove them or + # change their role. + # Corresponds to the JSON property `canManageMembers` + # @return [Boolean] + attr_accessor :can_manage_members + alias_method :can_manage_members?, :can_manage_members + + # Whether the current user has read access to the Revisions resource of files in + # this Team Drive. + # Corresponds to the JSON property `canReadRevisions` + # @return [Boolean] + attr_accessor :can_read_revisions + alias_method :can_read_revisions?, :can_read_revisions + + # Whether the current user can remove children from folders in this Team Drive. + # Corresponds to the JSON property `canRemoveChildren` + # @return [Boolean] + attr_accessor :can_remove_children + alias_method :can_remove_children?, :can_remove_children + + # Whether files or folders in this Team Drive can be renamed by the current user. + # Corresponds to the JSON property `canRename` + # @return [Boolean] + attr_accessor :can_rename + alias_method :can_rename?, :can_rename + + # Whether this Team Drive can be renamed by the current user. + # Corresponds to the JSON property `canRenameTeamDrive` + # @return [Boolean] + attr_accessor :can_rename_team_drive + alias_method :can_rename_team_drive?, :can_rename_team_drive + + # Whether the current user can share files or folders in this Team Drive. + # Corresponds to the JSON property `canShare` + # @return [Boolean] + attr_accessor :can_share + alias_method :can_share?, :can_share + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @can_add_children = args[:can_add_children] if args.key?(:can_add_children) + @can_comment = args[:can_comment] if args.key?(:can_comment) + @can_copy = args[:can_copy] if args.key?(:can_copy) + @can_delete_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_drive) + @can_download = args[:can_download] if args.key?(:can_download) + @can_edit = args[:can_edit] if args.key?(:can_edit) + @can_list_children = args[:can_list_children] if args.key?(:can_list_children) + @can_manage_members = args[:can_manage_members] if args.key?(:can_manage_members) + @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) + @can_remove_children = args[:can_remove_children] if args.key?(:can_remove_children) + @can_rename = args[:can_rename] if args.key?(:can_rename) + @can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_drive) + @can_share = args[:can_share] if args.key?(:can_share) + end + end + end + + # A list of Team Drives. + class TeamDriveList + include Google::Apis::Core::Hashable + + # Identifies what kind of resource this is. Value: the fixed string "drive# + # teamDriveList". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The page token for the next page of Team Drives. This will be absent if the + # end of the Team Drives list has been reached. If the token is rejected for any + # reason, it should be discarded, and pagination should be restarted from the + # first page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of Team Drives. If nextPageToken is populated, then this list may be + # incomplete and an additional page of results should be fetched. + # Corresponds to the JSON property `teamDrives` + # @return [Array] + attr_accessor :team_drives + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @team_drives = args[:team_drives] if args.key?(:team_drives) + end + end + # Information about a Drive user. class User include Google::Apis::Core::Hashable @@ -1514,7 +1975,7 @@ module Google # @return [String] attr_accessor :email_address - # This is always drive#user. + # Identifies what kind of resource this is. Value: the fixed string "drive#user". # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind diff --git a/generated/google/apis/drive_v3/representations.rb b/generated/google/apis/drive_v3/representations.rb index 0c5d06316..e0d0f54c5 100644 --- a/generated/google/apis/drive_v3/representations.rb +++ b/generated/google/apis/drive_v3/representations.rb @@ -126,6 +126,12 @@ module Google class Permission class Representation < Google::Apis::Core::JsonRepresentation; end + + class TeamDrivePermissionDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -166,6 +172,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TeamDrive + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Capabilities + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + + class TeamDriveList + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class User class Representation < Google::Apis::Core::JsonRepresentation; end @@ -215,8 +239,12 @@ module Google property :file_id, as: 'fileId' property :kind, as: 'kind' property :removed, as: 'removed' + property :team_drive, as: 'teamDrive', class: Google::Apis::DriveV3::TeamDrive, decorator: Google::Apis::DriveV3::TeamDrive::Representation + + property :team_drive_id, as: 'teamDriveId' property :time, as: 'time', type: DateTime + property :type, as: 'type' end end @@ -303,6 +331,8 @@ module Google property :file_extension, as: 'fileExtension' property :folder_color_rgb, as: 'folderColorRgb' property :full_file_extension, as: 'fullFileExtension' + property :has_augmented_permissions, as: 'hasAugmentedPermissions' + property :has_thumbnail, as: 'hasThumbnail' property :head_revision_id, as: 'headRevisionId' property :icon_link, as: 'iconLink' property :id, as: 'id' @@ -314,6 +344,7 @@ module Google property :md5_checksum, as: 'md5Checksum' property :mime_type, as: 'mimeType' + property :modified_by_me, as: 'modifiedByMe' property :modified_by_me_time, as: 'modifiedByMeTime', type: DateTime property :modified_time, as: 'modifiedTime', type: DateTime @@ -336,8 +367,14 @@ module Google property :size, as: 'size' collection :spaces, as: 'spaces' property :starred, as: 'starred' + property :team_drive_id, as: 'teamDriveId' property :thumbnail_link, as: 'thumbnailLink' + property :thumbnail_version, as: 'thumbnailVersion' property :trashed, as: 'trashed' + property :trashed_time, as: 'trashedTime', type: DateTime + + property :trashing_user, as: 'trashingUser', class: Google::Apis::DriveV3::User, decorator: Google::Apis::DriveV3::User::Representation + property :version, as: 'version' property :video_media_metadata, as: 'videoMediaMetadata', class: Google::Apis::DriveV3::File::VideoMediaMetadata, decorator: Google::Apis::DriveV3::File::VideoMediaMetadata::Representation @@ -353,11 +390,22 @@ module Google class Capabilities # @private class Representation < Google::Apis::Core::JsonRepresentation + property :can_add_children, as: 'canAddChildren' property :can_comment, as: 'canComment' property :can_copy, as: 'canCopy' + property :can_delete, as: 'canDelete' + property :can_download, as: 'canDownload' property :can_edit, as: 'canEdit' + property :can_list_children, as: 'canListChildren' + property :can_move_item_into_team_drive, as: 'canMoveItemIntoTeamDrive' + property :can_move_team_drive_item, as: 'canMoveTeamDriveItem' property :can_read_revisions, as: 'canReadRevisions' + property :can_read_team_drive, as: 'canReadTeamDrive' + property :can_remove_children, as: 'canRemoveChildren' + property :can_rename, as: 'canRename' property :can_share, as: 'canShare' + property :can_trash, as: 'canTrash' + property :can_untrash, as: 'canUntrash' end end @@ -430,6 +478,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :files, as: 'files', class: Google::Apis::DriveV3::File, decorator: Google::Apis::DriveV3::File::Representation + property :incomplete_search, as: 'incompleteSearch' property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' end @@ -457,14 +506,27 @@ module Google property :kind, as: 'kind' property :photo_link, as: 'photoLink' property :role, as: 'role' + collection :team_drive_permission_details, as: 'teamDrivePermissionDetails', class: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail, decorator: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail::Representation + property :type, as: 'type' end + + class TeamDrivePermissionDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :inherited, as: 'inherited' + property :inherited_from, as: 'inheritedFrom' + property :role, as: 'role' + property :team_drive_permission_type, as: 'teamDrivePermissionType' + end + end end class PermissionList # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' collection :permissions, as: 'permissions', class: Google::Apis::DriveV3::Permission, decorator: Google::Apis::DriveV3::Permission::Representation end @@ -522,6 +584,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' collection :revisions, as: 'revisions', class: Google::Apis::DriveV3::Revision, decorator: Google::Apis::DriveV3::Revision::Representation end @@ -535,6 +598,46 @@ module Google end end + class TeamDrive + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :capabilities, as: 'capabilities', class: Google::Apis::DriveV3::TeamDrive::Capabilities, decorator: Google::Apis::DriveV3::TeamDrive::Capabilities::Representation + + property :id, as: 'id' + property :kind, as: 'kind' + property :name, as: 'name' + end + + class Capabilities + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :can_add_children, as: 'canAddChildren' + property :can_comment, as: 'canComment' + property :can_copy, as: 'canCopy' + property :can_delete_team_drive, as: 'canDeleteTeamDrive' + property :can_download, as: 'canDownload' + property :can_edit, as: 'canEdit' + property :can_list_children, as: 'canListChildren' + property :can_manage_members, as: 'canManageMembers' + property :can_read_revisions, as: 'canReadRevisions' + property :can_remove_children, as: 'canRemoveChildren' + property :can_rename, as: 'canRename' + property :can_rename_team_drive, as: 'canRenameTeamDrive' + property :can_share, as: 'canShare' + end + end + end + + class TeamDriveList + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + collection :team_drives, as: 'teamDrives', class: Google::Apis::DriveV3::TeamDrive, decorator: Google::Apis::DriveV3::TeamDrive::Representation + + end + end + class User # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/drive_v3/service.rb b/generated/google/apis/drive_v3/service.rb index 6c2243e63..63e883655 100644 --- a/generated/google/apis/drive_v3/service.rb +++ b/generated/google/apis/drive_v3/service.rb @@ -86,6 +86,11 @@ module Google end # Gets the starting pageToken for listing future changes. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The ID of the Team Drive for which the starting pageToken for listing future + # changes from that Team Drive will be returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -107,24 +112,33 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_changes_start_page_token(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_changes_start_page_token(supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'changes/startPageToken', options) command.response_representation = Google::Apis::DriveV3::StartPageToken::Representation command.response_class = Google::Apis::DriveV3::StartPageToken + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Lists changes for a user. + # Lists the changes for a user or Team Drive. # @param [String] page_token # The token for continuing a previous list request on the next page. This should # be set to the value of 'nextPageToken' from the previous response or to the # response from the getStartPageToken method. + # @param [Boolean] include_corpus_removals + # Whether changes should include the file resource if the file is still + # accessible by the user at the time of the request, even when a file was + # removed from the list of changes and there will be no further change entries + # for this file. # @param [Boolean] include_removed - # Whether to include changes indicating that items have left the view of the - # changes list, for example by deletion or lost access. + # Whether to include changes indicating that items have been removed from the + # list of changes, for example by deletion or loss of access. + # @param [Boolean] include_team_drive_items + # Whether Team Drive files or changes should be included in results. # @param [Fixnum] page_size # The maximum number of changes to return per page. # @param [Boolean] restrict_to_my_drive @@ -134,6 +148,12 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query within the user corpus. Supported # values are 'drive', 'appDataFolder' and 'photos'. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The Team Drive from which changes will be returned. If specified the change + # IDs will be reflective of the Team Drive; use the combined Team Drive ID and + # change ID as an identifier. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -155,15 +175,19 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_changes(page_token, include_removed: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_changes(page_token, include_corpus_removals: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'changes', options) command.response_representation = Google::Apis::DriveV3::ChangeList::Representation command.response_class = Google::Apis::DriveV3::ChangeList + command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil? command.query['includeRemoved'] = include_removed unless include_removed.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['restrictToMyDrive'] = restrict_to_my_drive unless restrict_to_my_drive.nil? command.query['spaces'] = spaces unless spaces.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -176,9 +200,16 @@ module Google # be set to the value of 'nextPageToken' from the previous response or to the # response from the getStartPageToken method. # @param [Google::Apis::DriveV3::Channel] channel_object + # @param [Boolean] include_corpus_removals + # Whether changes should include the file resource if the file is still + # accessible by the user at the time of the request, even when a file was + # removed from the list of changes and there will be no further change entries + # for this file. # @param [Boolean] include_removed - # Whether to include changes indicating that items have left the view of the - # changes list, for example by deletion or lost access. + # Whether to include changes indicating that items have been removed from the + # list of changes, for example by deletion or loss of access. + # @param [Boolean] include_team_drive_items + # Whether Team Drive files or changes should be included in results. # @param [Fixnum] page_size # The maximum number of changes to return per page. # @param [Boolean] restrict_to_my_drive @@ -188,6 +219,12 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query within the user corpus. Supported # values are 'drive', 'appDataFolder' and 'photos'. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # The Team Drive from which changes will be returned. If specified the change + # IDs will be reflective of the Team Drive; use the combined Team Drive ID and + # change ID as an identifier. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -209,17 +246,21 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def watch_change(page_token, channel_object = nil, include_removed: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def watch_change(page_token, channel_object = nil, include_corpus_removals: nil, include_removed: nil, include_team_drive_items: nil, page_size: nil, restrict_to_my_drive: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'changes/watch', options) command.request_representation = Google::Apis::DriveV3::Channel::Representation command.request_object = channel_object command.response_representation = Google::Apis::DriveV3::Channel::Representation command.response_class = Google::Apis::DriveV3::Channel + command.query['includeCorpusRemovals'] = include_corpus_removals unless include_corpus_removals.nil? command.query['includeRemoved'] = include_removed unless include_removed.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['restrictToMyDrive'] = restrict_to_my_drive unless restrict_to_my_drive.nil? command.query['spaces'] = spaces unless spaces.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -481,6 +522,8 @@ module Google # applicable to files with binary content in Drive. # @param [String] ocr_language # A language hint for OCR processing during image import (ISO 639-1 code). + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -502,7 +545,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def copy_file(file_id, file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/copy', options) command.request_representation = Google::Apis::DriveV3::File::Representation command.request_object = file_object @@ -512,6 +555,7 @@ module Google command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil? command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil? command.query['ocrLanguage'] = ocr_language unless ocr_language.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -530,6 +574,8 @@ module Google # applicable to files with binary content in Drive. # @param [String] ocr_language # A language hint for OCR processing during image import (ISO 639-1 code). + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] use_content_as_indexable_text # Whether to use the uploaded content as indexable text. # @param [String] fields @@ -557,7 +603,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def create_file(file_object = nil, ignore_default_visibility: nil, keep_revision_forever: nil, ocr_language: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'files', options) else @@ -572,6 +618,7 @@ module Google command.query['ignoreDefaultVisibility'] = ignore_default_visibility unless ignore_default_visibility.nil? command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil? command.query['ocrLanguage'] = ocr_language unless ocr_language.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['useContentAsIndexableText'] = use_content_as_indexable_text unless use_content_as_indexable_text.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -580,9 +627,13 @@ module Google end # Permanently deletes a file owned by the user without moving it to the trash. - # If the target is a folder, all descendants owned by the user are also deleted. + # If the file belongs to a Team Drive the user must be an organizer on the + # parent. If the target is a folder, all descendants owned by the user are also + # deleted. # @param [String] file_id # The ID of the file. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -604,9 +655,10 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_file(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_file(file_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'files/{fileId}', options) command.params['fileId'] = file_id unless file_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -732,6 +784,8 @@ module Google # @param [Boolean] acknowledge_abuse # Whether the user is acknowledging the risk of downloading known malware or # other abusive files. This is only applicable when alt=media. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -755,7 +809,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_file(file_id, acknowledge_abuse: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def get_file(file_id, acknowledge_abuse: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:get, 'files/{fileId}', options) else @@ -766,6 +820,7 @@ module Google command.response_class = Google::Apis::DriveV3::File command.params['fileId'] = file_id unless file_id.nil? command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -773,8 +828,15 @@ module Google end # Lists or searches files. + # @param [String] corpora + # Comma-separated list of bodies of items (files/documents) to which the query + # applies. Supported bodies are 'user', 'domain', 'teamDrive' and 'allTeamDrives' + # . 'allTeamDrives' must be combined with 'user'; all other values must be used + # in isolation. Prefer 'user' or 'teamDrive' to 'allTeamDrives' for efficiency. # @param [String] corpus - # The source of files to list. + # The source of files to list. Deprecated: use 'corpora' instead. + # @param [Boolean] include_team_drive_items + # Whether Team Drive items should be included in results. # @param [String] order_by # A comma-separated list of sort keys. Valid keys are 'createdTime', 'folder', ' # modifiedByMeTime', 'modifiedTime', 'name', 'quotaBytesUsed', 'recency', ' @@ -794,6 +856,10 @@ module Google # @param [String] spaces # A comma-separated list of spaces to query within the corpus. Supported values # are 'drive', 'appDataFolder' and 'photos'. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. + # @param [String] team_drive_id + # ID of Team Drive to search. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -815,16 +881,20 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_files(corpus: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_files(corpora: nil, corpus: nil, include_team_drive_items: nil, order_by: nil, page_size: nil, page_token: nil, q: nil, spaces: nil, supports_team_drives: nil, team_drive_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files', options) command.response_representation = Google::Apis::DriveV3::FileList::Representation command.response_class = Google::Apis::DriveV3::FileList + command.query['corpora'] = corpora unless corpora.nil? command.query['corpus'] = corpus unless corpus.nil? + command.query['includeTeamDriveItems'] = include_team_drive_items unless include_team_drive_items.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['q'] = q unless q.nil? command.query['spaces'] = spaces unless spaces.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? + command.query['teamDriveId'] = team_drive_id unless team_drive_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -844,6 +914,8 @@ module Google # A language hint for OCR processing during image import (ISO 639-1 code). # @param [String] remove_parents # A comma-separated list of parent IDs to remove. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] use_content_as_indexable_text # Whether to use the uploaded content as indexable text. # @param [String] fields @@ -871,7 +943,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def update_file(file_id, file_object = nil, add_parents: nil, keep_revision_forever: nil, ocr_language: nil, remove_parents: nil, supports_team_drives: nil, use_content_as_indexable_text: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:patch, 'files/{fileId}', options) else @@ -888,6 +960,7 @@ module Google command.query['keepRevisionForever'] = keep_revision_forever unless keep_revision_forever.nil? command.query['ocrLanguage'] = ocr_language unless ocr_language.nil? command.query['removeParents'] = remove_parents unless remove_parents.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['useContentAsIndexableText'] = use_content_as_indexable_text unless use_content_as_indexable_text.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -902,6 +975,8 @@ module Google # @param [Boolean] acknowledge_abuse # Whether the user is acknowledging the risk of downloading known malware or # other abusive files. This is only applicable when alt=media. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -925,7 +1000,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def watch_file(file_id, channel_object = nil, acknowledge_abuse: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:post, 'files/{fileId}/watch', options) else @@ -938,15 +1013,16 @@ module Google command.response_class = Google::Apis::DriveV3::Channel command.params['fileId'] = file_id unless file_id.nil? command.query['acknowledgeAbuse'] = acknowledge_abuse unless acknowledge_abuse.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Creates a permission for a file. + # Creates a permission for a file or Team Drive. # @param [String] file_id - # The ID of the file. + # The ID of the file or Team Drive. # @param [Google::Apis::DriveV3::Permission] permission_object # @param [String] email_message # A custom message to include in the notification email. @@ -954,6 +1030,8 @@ module Google # Whether to send a notification email when sharing to users or groups. This # defaults to true for users and groups, and is not allowed for other requests. # It must not be disabled for ownership transfers. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] transfer_ownership # Whether to transfer ownership to the specified user and downgrade the current # owner to a writer. This parameter is required as an acknowledgement of the @@ -979,7 +1057,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def create_permission(file_id, permission_object = nil, email_message: nil, send_notification_email: nil, supports_team_drives: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'files/{fileId}/permissions', options) command.request_representation = Google::Apis::DriveV3::Permission::Representation command.request_object = permission_object @@ -988,6 +1066,7 @@ module Google command.params['fileId'] = file_id unless file_id.nil? command.query['emailMessage'] = email_message unless email_message.nil? command.query['sendNotificationEmail'] = send_notification_email unless send_notification_email.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -997,9 +1076,11 @@ module Google # Deletes a permission. # @param [String] file_id - # The ID of the file. + # The ID of the file or Team Drive. # @param [String] permission_id # The ID of the permission. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1021,10 +1102,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_permission(file_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def delete_permission(file_id, permission_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:delete, 'files/{fileId}/permissions/{permissionId}', options) command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1036,6 +1118,8 @@ module Google # The ID of the file. # @param [String] permission_id # The ID of the permission. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1057,21 +1141,31 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_permission(file_id, permission_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def get_permission(file_id, permission_id, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/permissions/{permissionId}', options) command.response_representation = Google::Apis::DriveV3::Permission::Representation command.response_class = Google::Apis::DriveV3::Permission command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end - # Lists a file's permissions. + # Lists a file's or Team Drive's permissions. # @param [String] file_id - # The ID of the file. + # The ID of the file or Team Drive. + # @param [Fixnum] page_size + # The maximum number of permissions to return per page. When not set for files + # in a Team Drive, at most 100 results will be returned. When not set for files + # that are not in a Team Drive, the entire list will be returned. + # @param [String] page_token + # The token for continuing a previous list request on the next page. This should + # be set to the value of 'nextPageToken' from the previous response. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1093,11 +1187,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_permissions(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_permissions(file_id, page_size: nil, page_token: nil, supports_team_drives: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/permissions', options) command.response_representation = Google::Apis::DriveV3::PermissionList::Representation command.response_class = Google::Apis::DriveV3::PermissionList command.params['fileId'] = file_id unless file_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1106,12 +1203,14 @@ module Google # Updates a permission with patch semantics. # @param [String] file_id - # The ID of the file. + # The ID of the file or Team Drive. # @param [String] permission_id # The ID of the permission. # @param [Google::Apis::DriveV3::Permission] permission_object # @param [Boolean] remove_expiration # Whether to remove the expiration date. + # @param [Boolean] supports_team_drives + # Whether the requesting application supports Team Drives. # @param [Boolean] transfer_ownership # Whether to transfer ownership to the specified user and downgrade the current # owner to a writer. This parameter is required as an acknowledgement of the @@ -1137,7 +1236,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def update_permission(file_id, permission_id, permission_object = nil, remove_expiration: nil, supports_team_drives: nil, transfer_ownership: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:patch, 'files/{fileId}/permissions/{permissionId}', options) command.request_representation = Google::Apis::DriveV3::Permission::Representation command.request_object = permission_object @@ -1146,6 +1245,7 @@ module Google command.params['fileId'] = file_id unless file_id.nil? command.params['permissionId'] = permission_id unless permission_id.nil? command.query['removeExpiration'] = remove_expiration unless remove_expiration.nil? + command.query['supportsTeamDrives'] = supports_team_drives unless supports_team_drives.nil? command.query['transferOwnership'] = transfer_ownership unless transfer_ownership.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? @@ -1460,6 +1560,11 @@ module Google # Lists a file's revisions. # @param [String] file_id # The ID of the file. + # @param [Fixnum] page_size + # The maximum number of revisions to return per page. + # @param [String] page_token + # The token for continuing a previous list request on the next page. This should + # be set to the value of 'nextPageToken' from the previous response. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1481,11 +1586,13 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_revisions(file_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_revisions(file_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'files/{fileId}/revisions', options) command.response_representation = Google::Apis::DriveV3::RevisionList::Representation command.response_class = Google::Apis::DriveV3::RevisionList command.params['fileId'] = file_id unless file_id.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1532,6 +1639,193 @@ module Google command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end + + # Creates a new Team Drive. + # @param [String] request_id + # An ID, such as a random UUID, which uniquely identifies this user's request + # for idempotent creation of a Team Drive. A repeated request by the same user + # and with the same request ID will avoid creating duplicates by attempting to + # create the same Team Drive. If the Team Drive already exists a 409 error will + # be returned. + # @param [Google::Apis::DriveV3::TeamDrive] team_drive_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV3::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV3::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_teamdrife(request_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'teamdrives', options) + command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation + command.request_object = team_drive_object + command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation + command.response_class = Google::Apis::DriveV3::TeamDrive + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Permanently deletes a Team Drive for which the user is an organizer. The Team + # Drive cannot contain any untrashed items. + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_teamdrife(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, 'teamdrives/{teamDriveId}', options) + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets a Team Drive's metadata by ID. + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV3::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV3::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_teamdrife(team_drive_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'teamdrives/{teamDriveId}', options) + command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation + command.response_class = Google::Apis::DriveV3::TeamDrive + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists the user's Team Drives. + # @param [Fixnum] page_size + # Maximum number of Team Drives to return. + # @param [String] page_token + # Page token for Team Drives. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV3::TeamDriveList] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV3::TeamDriveList] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_teamdrives(page_size: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'teamdrives', options) + command.response_representation = Google::Apis::DriveV3::TeamDriveList::Representation + command.response_class = Google::Apis::DriveV3::TeamDriveList + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a Team Drive's metadata + # @param [String] team_drive_id + # The ID of the Team Drive + # @param [Google::Apis::DriveV3::TeamDrive] team_drive_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DriveV3::TeamDrive] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DriveV3::TeamDrive] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_teamdrife(team_drive_id, team_drive_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'teamdrives/{teamDriveId}', options) + command.request_representation = Google::Apis::DriveV3::TeamDrive::Representation + command.request_object = team_drive_object + command.response_representation = Google::Apis::DriveV3::TeamDrive::Representation + command.response_class = Google::Apis::DriveV3::TeamDrive + command.params['teamDriveId'] = team_drive_id unless team_drive_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/fitness_v1.rb b/generated/google/apis/fitness_v1.rb index c10fc5c3d..2f131e71d 100644 --- a/generated/google/apis/fitness_v1.rb +++ b/generated/google/apis/fitness_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fit/rest/ module FitnessV1 VERSION = 'V1' - REVISION = '20160801' + REVISION = '20161128' # View your activity information in Google Fit AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read' @@ -33,12 +33,30 @@ module Google # View and store your activity information in Google Fit AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write' + # View blood glucose data in Google Fit + AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read' + + # View and store blood glucose data in Google Fit + AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write' + + # View blood pressure data in Google Fit + AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read' + + # View and store blood pressure data in Google Fit + AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write' + # View body sensor information in Google Fit AUTH_FITNESS_BODY_READ = 'https://www.googleapis.com/auth/fitness.body.read' # View and store body sensor data in Google Fit AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write' + # View body temperature data in Google Fit + AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read' + + # View and store body temperature data in Google Fit + AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write' + # View your stored location data in Google Fit AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read' @@ -50,6 +68,18 @@ module Google # View and store nutrition information in Google Fit AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write' + + # View oxygen saturation data in Google Fit + AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read' + + # View and store oxygen saturation data in Google Fit + AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write' + + # View reproductive health data in Google Fit + AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read' + + # View and store reproductive health data in Google Fit + AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write' end end end diff --git a/generated/google/apis/fitness_v1/classes.rb b/generated/google/apis/fitness_v1/classes.rb index ae9fa8e6b..d07e01a5c 100644 --- a/generated/google/apis/fitness_v1/classes.rb +++ b/generated/google/apis/fitness_v1/classes.rb @@ -103,7 +103,7 @@ module Google end end - # + # Next id: 10 class AggregateRequest include Google::Apis::Core::Hashable @@ -746,6 +746,12 @@ module Google # @return [Array] attr_accessor :deleted_session + # Flag to indicate server has more data to transfer + # Corresponds to the JSON property `hasMoreData` + # @return [Boolean] + attr_accessor :has_more_data + alias_method :has_more_data?, :has_more_data + # The continuation token, which is used to page through large result sets. # Provide this value in a subsequent request to return the next page of results. # Corresponds to the JSON property `nextPageToken` @@ -764,6 +770,7 @@ module Google # Update properties of this object def update!(**args) @deleted_session = args[:deleted_session] if args.key?(:deleted_session) + @has_more_data = args[:has_more_data] if args.key?(:has_more_data) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @session = args[:session] if args.key?(:session) end @@ -864,7 +871,7 @@ module Google # Holder object for the value of a single field in a data point. # A field value has a particular format and is only ever set to one of an - # integer or a floating point value. + # integer or a floating point value. LINT.IfChange class Value include Google::Apis::Core::Hashable diff --git a/generated/google/apis/fitness_v1/representations.rb b/generated/google/apis/fitness_v1/representations.rb index 26319dea4..77451ad1b 100644 --- a/generated/google/apis/fitness_v1/representations.rb +++ b/generated/google/apis/fitness_v1/representations.rb @@ -326,6 +326,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation collection :deleted_session, as: 'deletedSession', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation + property :has_more_data, as: 'hasMoreData' property :next_page_token, as: 'nextPageToken' collection :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation diff --git a/generated/google/apis/fusiontables_v2.rb b/generated/google/apis/fusiontables_v2.rb index 4d517d799..83b4e2333 100644 --- a/generated/google/apis/fusiontables_v2.rb +++ b/generated/google/apis/fusiontables_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/fusiontables module FusiontablesV2 VERSION = 'V2' - REVISION = '20160526' + REVISION = '20170321' # Manage your Fusion Tables AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables' diff --git a/generated/google/apis/games_configuration_v1configuration.rb b/generated/google/apis/games_configuration_v1configuration.rb index 2f8d2db3b..505ef1910 100644 --- a/generated/google/apis/games_configuration_v1configuration.rb +++ b/generated/google/apis/games_configuration_v1configuration.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesConfigurationV1configuration VERSION = 'V1configuration' - REVISION = '20160810' + REVISION = '20170323' # View and manage your Google Play Developer account AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' diff --git a/generated/google/apis/games_management_v1management.rb b/generated/google/apis/games_management_v1management.rb index 1fa4634c1..f6c587152 100644 --- a/generated/google/apis/games_management_v1management.rb +++ b/generated/google/apis/games_management_v1management.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services module GamesManagementV1management VERSION = 'V1management' - REVISION = '20160810' + REVISION = '20170323' # Share your Google+ profile information and view and manage your game activity AUTH_GAMES = 'https://www.googleapis.com/auth/games' diff --git a/generated/google/apis/games_v1.rb b/generated/google/apis/games_v1.rb index c75bd7348..7c536ad7b 100644 --- a/generated/google/apis/games_v1.rb +++ b/generated/google/apis/games_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/games/services/ module GamesV1 VERSION = 'V1' - REVISION = '20160810' + REVISION = '20170323' # View and manage its own configuration data in your Google Drive AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata' diff --git a/generated/google/apis/genomics_v1.rb b/generated/google/apis/genomics_v1.rb index c10284e4e..a2d66cb3b 100644 --- a/generated/google/apis/genomics_v1.rb +++ b/generated/google/apis/genomics_v1.rb @@ -20,27 +20,27 @@ module Google module Apis # Genomics API # - # Stores, processes, explores and shares genomic data. + # Upload, process, query, and search Genomics data in the cloud. # - # @see https://cloud.google.com/genomics/ + # @see https://cloud.google.com/genomics module GenomicsV1 VERSION = 'V1' - REVISION = '20160809' - - # View and manage your data in Google BigQuery - AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' + REVISION = '20170322' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' - # Manage your data in Google Cloud Storage - AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write' + # View Genomics data + AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly' # View and manage Genomics data AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics' - # View Genomics data - AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly' + # View and manage your data in Google BigQuery + AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery' + + # Manage your data in Google Cloud Storage + AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write' end end end diff --git a/generated/google/apis/genomics_v1/classes.rb b/generated/google/apis/genomics_v1/classes.rb index 43de8e955..c9dd189b0 100644 --- a/generated/google/apis/genomics_v1/classes.rb +++ b/generated/google/apis/genomics_v1/classes.rb @@ -22,49 +22,31 @@ module Google module Apis module GenomicsV1 - # An annotation set is a logical grouping of annotations that share consistent - # type information and provenance. Examples of annotation sets include 'all - # genes from refseq', and 'all variant annotations from ClinVar'. - class AnnotationSet + # A Dataset is a collection of genomic data. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class Dataset include Google::Apis::Core::Hashable - # The server-generated annotation set ID, unique across all annotation sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The dataset to which this annotation set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The ID of the reference set that defines the coordinate space for this set's - # annotations. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # The display name for this annotation set. + # The dataset name. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The source URI describing the file from which this annotation set was - # generated, if any. - # Corresponds to the JSON property `sourceUri` + # The Google Cloud project ID that this dataset belongs to. + # Corresponds to the JSON property `projectId` # @return [String] - attr_accessor :source_uri + attr_accessor :project_id - # The type of annotations contained within this set. - # Corresponds to the JSON property `type` + # The server-generated dataset ID, unique across all datasets. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :type + attr_accessor :id - # A map of additional read alignment information. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info + # The time this dataset was created, in seconds from the epoch. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time def initialize(**args) update!(**args) @@ -72,21 +54,211 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @name = args[:name] if args.key?(:name) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @type = args[:type] if args.key?(:type) - @info = args[:info] if args.key?(:info) + @project_id = args[:project_id] if args.key?(:project_id) + @id = args[:id] if args.key?(:id) + @create_time = args[:create_time] if args.key?(:create_time) end end - # 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 ````. + # The variant data import response. + class ImportVariantsResponse + include Google::Apis::Core::Hashable + + # IDs of the call sets created during the import. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + end + end + + # A read group is all the data that's processed the same way by the sequencer. + class ReadGroup + include Google::Apis::Core::Hashable + + # The read group name. This corresponds to the @RG ID field in the SAM spec. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reference set the reads in this read group are aligned to. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # A map of additional read group information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The server-generated read group ID, unique for all read groups. + # Note: This is different than the @RG ID field in the SAM spec. For that + # value, see name. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The programs used to generate this read group. Programs are always + # identical for all read groups within a read group set. For this reason, + # only the first read group in a returned set will have this field + # populated. + # Corresponds to the JSON property `programs` + # @return [Array] + attr_accessor :programs + + # The predicted insert size of this read group. The insert size is the length + # the sequenced DNA fragment from end-to-end, not including the adapters. + # Corresponds to the JSON property `predictedInsertSize` + # @return [Fixnum] + attr_accessor :predicted_insert_size + + # A free-form text description of this read group. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A client-supplied sample identifier for the reads in this read group. + # Corresponds to the JSON property `sampleId` + # @return [String] + attr_accessor :sample_id + + # The dataset to which this read group belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The experiment used to generate this read group. + # Corresponds to the JSON property `experiment` + # @return [Google::Apis::GenomicsV1::Experiment] + attr_accessor :experiment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @info = args[:info] if args.key?(:info) + @id = args[:id] if args.key?(:id) + @programs = args[:programs] if args.key?(:programs) + @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) + @description = args[:description] if args.key?(:description) + @sample_id = args[:sample_id] if args.key?(:sample_id) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @experiment = args[:experiment] if args.key?(:experiment) + end + end + + # A read group set is a logical collection of read groups, which are + # collections of reads produced by a sequencer. A read group set typically + # models reads corresponding to one sample, sequenced one way, and aligned one + # way. + # * A read group set belongs to one dataset. + # * A read group belongs to one read group set. + # * A read belongs to one read group. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class ReadGroupSet + include Google::Apis::Core::Hashable + + # The read groups in this set. There are typically 1-10 read groups in a read + # group set. + # Corresponds to the JSON property `readGroups` + # @return [Array] + attr_accessor :read_groups + + # The filename of the original source file for this read group set, if any. + # Corresponds to the JSON property `filename` + # @return [String] + attr_accessor :filename + + # The read group set name. By default this will be initialized to the sample + # name of the sequenced data contained in this set. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The reference set to which the reads in this read group set are aligned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # A map of additional read group set information. + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The server-generated read group set ID, unique for all read group sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The dataset to which this read group set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_groups = args[:read_groups] if args.key?(:read_groups) + @filename = args[:filename] if args.key?(:filename) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @info = args[:info] if args.key?(:info) + @id = args[:id] if args.key?(:id) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + end + end + + # The search variant sets response. + class SearchVariantSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The variant sets belonging to the requested dataset. + # Corresponds to the JSON property `variantSets` + # @return [Array] + attr_accessor :variant_sets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @variant_sets = args[:variant_sets] if args.key?(:variant_sets) + end + end + + # 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 include Google::Apis::Core::Hashable @@ -100,44 +272,61 @@ module Google end # - class SearchAnnotationSetsRequest + class Entry include Google::Apis::Core::Hashable - # Required. The dataset IDs to search within. Caller must have `READ` access to - # these datasets. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids + # 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. + # Corresponds to the JSON property `status` + # @return [Google::Apis::GenomicsV1::Status] + attr_accessor :status - # If specified, only annotation sets associated with the given reference set are - # returned. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # Only return annotations sets for which a substring of the name matches this - # string (case insensitive). - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # If specified, only annotation sets that have any of these types are returned. - # Corresponds to the JSON property `types` - # @return [Array] - attr_accessor :types - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 128. The maximum value is 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size + # An annotation describes a region of reference genome. The value of an + # annotation may be one of several canonical types, supplemented by arbitrary + # info tags. An annotation is not inherently associated with a specific + # sample or individual (though a client could choose to use annotations in + # this way). Example canonical annotation types are `GENE` and + # `VARIANT`. + # Corresponds to the JSON property `annotation` + # @return [Google::Apis::GenomicsV1::Annotation] + attr_accessor :annotation def initialize(**args) update!(**args) @@ -145,27 +334,59 @@ module Google # Update properties of this object def update!(**args) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @name = args[:name] if args.key?(:name) - @types = args[:types] if args.key?(:types) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) + @status = args[:status] if args.key?(:status) + @annotation = args[:annotation] if args.key?(:annotation) + end + end + + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + class Position + include Google::Apis::Core::Hashable + + # The 0-based offset from the start of the forward strand for that reference. + # Corresponds to the JSON property `position` + # @return [String] + attr_accessor :position + + # The name of the reference in whatever reference set is being used. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # Whether this position is on the reverse strand, as opposed to the forward + # strand. + # Corresponds to the JSON property `reverseStrand` + # @return [Boolean] + attr_accessor :reverse_strand + alias_method :reverse_strand?, :reverse_strand + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) end end # - class SearchAnnotationSetsResponse + class SearchReferenceSetsResponse include Google::Apis::Core::Hashable - # The matching annotation sets. - # Corresponds to the JSON property `annotationSets` - # @return [Array] - attr_accessor :annotation_sets + # The matching references sets. + # Corresponds to the JSON property `referenceSets` + # @return [Array] + attr_accessor :reference_sets # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -176,23 +397,299 @@ module Google # Update properties of this object def update!(**args) - @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) + @reference_sets = args[:reference_sets] if args.key?(:reference_sets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end end + # The call set search request. + class SearchCallSetsRequest + include Google::Apis::Core::Hashable + + # Restrict the query to call sets within the given variant sets. At least one + # ID must be provided. + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + # Only return call sets for which a substring of the name matches this + # string. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + @name = args[:name] if args.key?(:name) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # The read group set import request. + class ImportReadGroupSetsRequest + include Google::Apis::Core::Hashable + + # The reference set to which the imported read group sets are aligned to, if + # any. The reference names of this reference set must be a superset of those + # found in the imported file headers. If no reference set id is provided, a + # best effort is made to associate with a matching reference set. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # The partition strategy describes how read groups are partitioned into read + # group sets. + # Corresponds to the JSON property `partitionStrategy` + # @return [String] + attr_accessor :partition_strategy + + # Required. The ID of the dataset these read group sets will belong to. The + # caller must have WRITE permissions to this dataset. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # A list of URIs pointing at [BAM + # files](https://samtools.github.io/hts-specs/SAMv1.pdf) + # in Google Cloud Storage. + # Those URIs can include wildcards (*), but do not add or remove + # matching files before import has completed. + # Note that Google Cloud Storage object listing is only eventually + # consistent: files added may be not be immediately visible to + # everyone. Thus, if using a wildcard it is preferable not to start + # the import immediately after the files are created. + # Corresponds to the JSON property `sourceUris` + # @return [Array] + attr_accessor :source_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @source_uris = args[:source_uris] if args.key?(:source_uris) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) + @bindings = args[:bindings] if args.key?(:bindings) + end + end + + # The read search request. + class SearchReadsRequest + include Google::Apis::Core::Hashable + + # The IDs of the read groups within which to search for reads. All specified + # read groups must belong to the same read group sets. Must specify one of + # `readGroupSetIds` or `readGroupIds`. + # Corresponds to the JSON property `readGroupIds` + # @return [Array] + attr_accessor :read_group_ids + + # The end position of the range on the reference, 0-based exclusive. If + # specified, `referenceName` must also be specified. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 2048. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to + # `*`, only unmapped reads are returned. If unspecified, all reads (mapped + # and unmapped) are returned. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # The IDs of the read groups sets within which to search for reads. All + # specified read group sets must be aligned against a common set of reference + # sequences; this defines the genomic coordinates for the query. Must specify + # one of `readGroupSetIds` or `readGroupIds`. + # Corresponds to the JSON property `readGroupSetIds` + # @return [Array] + attr_accessor :read_group_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) + @end = args[:end] if args.key?(:end) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @start = args[:start] if args.key?(:start) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) + end + end + + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # An annotation describes a region of reference genome. The value of an # annotation may be one of several canonical types, supplemented by arbitrary - # info tags. An annotation is not inherently associated with a specific sample - # or individual (though a client could choose to use annotations in this way). - # Example canonical annotation types are `GENE` and `VARIANT`. + # info tags. An annotation is not inherently associated with a specific + # sample or individual (though a client could choose to use annotations in + # this way). Example canonical annotation types are `GENE` and + # `VARIANT`. class Annotation include Google::Apis::Core::Hashable - # The server-generated annotation ID, unique across all annotations. - # Corresponds to the JSON property `id` + # Whether this range refers to the reverse strand, as opposed to the forward + # strand. Note that regardless of this field, the start/end position of the + # range always refer to the forward strand. + # Corresponds to the JSON property `reverseStrand` + # @return [Boolean] + attr_accessor :reverse_strand + alias_method :reverse_strand?, :reverse_strand + + # The display name corresponding to the reference specified by + # `referenceId`, for example `chr1`, `1`, or `chrX`. + # Corresponds to the JSON property `referenceName` # @return [String] - attr_accessor :id + attr_accessor :reference_name + + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The data type for this annotation. Must match the containing annotation + # set's type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The end position of the range on the reference, 0-based exclusive. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # A transcript represents the assertion that a particular region of the + # reference genome may be transcribed as RNA. + # Corresponds to the JSON property `transcript` + # @return [Google::Apis::GenomicsV1::Transcript] + attr_accessor :transcript + + # The start position of the range on the reference, 0-based inclusive. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start # The annotation set to which this annotation belongs. # Corresponds to the JSON property `annotationSetId` @@ -204,13 +701,441 @@ module Google # @return [String] attr_accessor :name + # A variant annotation, which describes the effect of a variant on the + # genome, the coding sequence, and/or higher level consequences at the + # organism level e.g. pathogenicity. This field is only set for annotations + # of type `VARIANT`. + # Corresponds to the JSON property `variant` + # @return [Google::Apis::GenomicsV1::VariantAnnotation] + attr_accessor :variant + # The ID of the Google Genomics reference associated with this range. # Corresponds to the JSON property `referenceId` # @return [String] attr_accessor :reference_id - # The display name corresponding to the reference specified by `referenceId`, - # for example `chr1`, `1`, or `chrX`. + # The server-generated annotation ID, unique across all annotations. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @info = args[:info] if args.key?(:info) + @type = args[:type] if args.key?(:type) + @end = args[:end] if args.key?(:end) + @transcript = args[:transcript] if args.key?(:transcript) + @start = args[:start] if args.key?(:start) + @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) + @name = args[:name] if args.key?(:name) + @variant = args[:variant] if args.key?(:variant) + @reference_id = args[:reference_id] if args.key?(:reference_id) + @id = args[:id] if args.key?(:id) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If + # importing Variants, an ImportVariantsResponse is returned. For pipelines and + # exports, an empty response is returned. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # The server-assigned name, which is only unique within the same service that + # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- + # qzoWAgEw` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::GenomicsV1::Status] + attr_accessor :error + + # An OperationMetadata object. This will always be returned with the Operation. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # 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. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @done = args[:done] if args.key?(:done) + end + end + + # Runtime metadata that will be populated in the + # runtimeMetadata + # field of the Operation associated with a RunPipeline execution. + class RuntimeMetadata + include Google::Apis::Core::Hashable + + # Describes a Compute Engine resource that is being managed by a running + # pipeline. + # Corresponds to the JSON property `computeEngine` + # @return [Google::Apis::GenomicsV1::ComputeEngine] + attr_accessor :compute_engine + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @compute_engine = args[:compute_engine] if args.key?(:compute_engine) + end + end + + # The read group set import response. + class ImportReadGroupSetsResponse + include Google::Apis::Core::Hashable + + # IDs of the read group sets that were created. + # Corresponds to the JSON property `readGroupSetIds` + # @return [Array] + attr_accessor :read_group_set_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) + end + end + + # A call represents the determination of genotype with respect to a particular + # variant. It may include associated information such as quality and phasing. + # For example, a call might assign a probability of 0.32 to the occurrence of + # a SNP named rs1234 in a call set with the name NA12345. + class VariantCall + include Google::Apis::Core::Hashable + + # The name of the call set this variant call belongs to. + # Corresponds to the JSON property `callSetName` + # @return [String] + attr_accessor :call_set_name + + # The genotype likelihoods for this variant call. Each array entry + # represents how likely a specific genotype is for this call. The value + # ordering is defined by the GL tag in the VCF spec. + # If Phred-scaled genotype likelihood scores (PL) are available and + # log10(P) genotype likelihood scores (GL) are not, PL scores are converted + # to GL scores. If both are available, PL scores are stored in `info`. + # Corresponds to the JSON property `genotypeLikelihood` + # @return [Array] + attr_accessor :genotype_likelihood + + # The ID of the call set this variant call belongs to. + # Corresponds to the JSON property `callSetId` + # @return [String] + attr_accessor :call_set_id + + # The genotype of this variant call. Each value represents either the value + # of the `referenceBases` field or a 1-based index into + # `alternateBases`. If a variant had a `referenceBases` + # value of `T` and an `alternateBases` + # value of `["A", "C"]`, and the `genotype` was + # `[2, 1]`, that would mean the call + # represented the heterozygous value `CA` for this variant. + # If the `genotype` was instead `[0, 1]`, the + # represented value would be `TA`. Ordering of the + # genotype values is important if the `phaseset` is present. + # If a genotype is not called (that is, a `.` is present in the + # GT string) -1 is returned. + # Corresponds to the JSON property `genotype` + # @return [Array] + attr_accessor :genotype + + # If this field is present, this variant call's genotype ordering implies + # the phase of the bases and is consistent with any other variant calls in + # the same reference sequence which have the same phaseset value. + # When importing data from VCF, if the genotype data was phased but no + # phase set was specified this field will be set to `*`. + # Corresponds to the JSON property `phaseset` + # @return [String] + attr_accessor :phaseset + + # A map of additional variant call information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @call_set_name = args[:call_set_name] if args.key?(:call_set_name) + @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood) + @call_set_id = args[:call_set_id] if args.key?(:call_set_id) + @genotype = args[:genotype] if args.key?(:genotype) + @phaseset = args[:phaseset] if args.key?(:phaseset) + @info = args[:info] if args.key?(:info) + end + end + + # The variant search response. + class SearchVariantsResponse + include Google::Apis::Core::Hashable + + # The list of matching Variants. + # Corresponds to the JSON property `variants` + # @return [Array] + attr_accessor :variants + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @variants = args[:variants] if args.key?(:variants) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # + class ListBasesResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A substring of the bases that make up this reference. + # Corresponds to the JSON property `sequence` + # @return [String] + attr_accessor :sequence + + # The offset position (0-based) of the given `sequence` from the + # start of this `Reference`. This value will differ for each page + # in a paginated request. + # Corresponds to the JSON property `offset` + # @return [String] + attr_accessor :offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @sequence = args[:sequence] if args.key?(:sequence) + @offset = args[:offset] if args.key?(:offset) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message = args[:message] if args.key?(:message) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + end + end + + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # + class UndeleteDatasetRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # A 0-based half-open genomic coordinate range for search requests. + class Range + include Google::Apis::Core::Hashable + + # The reference sequence name, for example `chr1`, + # `1`, or `chrX`. # Corresponds to the JSON property `referenceName` # @return [String] attr_accessor :reference_name @@ -225,38 +1150,68 @@ module Google # @return [String] attr_accessor :end - # Whether this range refers to the reverse strand, as opposed to the forward - # strand. Note that regardless of this field, the start/end position of the - # range always refer to the forward strand. - # Corresponds to the JSON property `reverseStrand` - # @return [Boolean] - attr_accessor :reverse_strand - alias_method :reverse_strand?, :reverse_strand + def initialize(**args) + update!(**args) + end - # The data type for this annotation. Must match the containing annotation set's - # type. - # Corresponds to the JSON property `type` + # Update properties of this object + def update!(**args) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @start = args[:start] if args.key?(:start) + @end = args[:end] if args.key?(:end) + end + end + + # A variant set is a collection of call sets and variants. It contains summary + # statistics of those contents. A variant set belongs to a dataset. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class VariantSet + include Google::Apis::Core::Hashable + + # The dataset to which this variant set belongs. + # Corresponds to the JSON property `datasetId` # @return [String] - attr_accessor :type + attr_accessor :dataset_id - # A variant annotation, which describes the effect of a variant on the genome, - # the coding sequence, and/or higher level consequences at the organism level e. - # g. pathogenicity. This field is only set for annotations of type `VARIANT`. - # Corresponds to the JSON property `variant` - # @return [Google::Apis::GenomicsV1::VariantAnnotation] - attr_accessor :variant + # User-specified, mutable name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name - # A transcript represents the assertion that a particular region of the - # reference genome may be transcribed as RNA. - # Corresponds to the JSON property `transcript` - # @return [Google::Apis::GenomicsV1::Transcript] - attr_accessor :transcript + # The reference set to which the variant set is mapped. The reference set + # describes the alignment provenance of the variant set, while the + # `referenceBounds` describe the shape of the actual variant data. The + # reference set's reference names are a superset of those found in the + # `referenceBounds`. + # For example, given a variant set that is mapped to the GRCh38 reference set + # and contains a single variant on reference 'X', `referenceBounds` would + # contain only an entry for 'X', while the associated reference set + # enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id - # A map of additional read alignment information. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info + # The metadata associated with this variant set. + # Corresponds to the JSON property `metadata` + # @return [Array] + attr_accessor :metadata + + # A list of all references used by the variants in a variant set + # with associated coordinate upper bounds for each one. + # Corresponds to the JSON property `referenceBounds` + # @return [Array] + attr_accessor :reference_bounds + + # The server-generated variant set ID, unique across all variant sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # A textual description of this variant set. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description def initialize(**args) update!(**args) @@ -264,66 +1219,52 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @annotation_set_id = args[:annotation_set_id] if args.key?(:annotation_set_id) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @name = args[:name] if args.key?(:name) - @reference_id = args[:reference_id] if args.key?(:reference_id) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @metadata = args[:metadata] if args.key?(:metadata) + @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) + @id = args[:id] if args.key?(:id) + @description = args[:description] if args.key?(:description) + end + end + + # ReferenceBound records an upper bound for the starting coordinate of + # variants in a particular reference. + class ReferenceBound + include Google::Apis::Core::Hashable + + # An upper bound (inclusive) on the starting coordinate of any + # variant in the reference sequence. + # Corresponds to the JSON property `upperBound` + # @return [String] + attr_accessor :upper_bound + + # The name of the reference associated with this reference bound. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @upper_bound = args[:upper_bound] if args.key?(:upper_bound) @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) - @type = args[:type] if args.key?(:type) - @variant = args[:variant] if args.key?(:variant) - @transcript = args[:transcript] if args.key?(:transcript) - @info = args[:info] if args.key?(:info) end end # - class VariantAnnotation + class BatchCreateAnnotationsResponse include Google::Apis::Core::Hashable - # Type has been adapted from ClinVar's list of variant types. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Effect of the variant on the coding sequence. - # Corresponds to the JSON property `effect` - # @return [String] - attr_accessor :effect - - # The alternate allele for this variant. If multiple alternate alleles exist at - # this location, create a separate variant for each one, as they may represent - # distinct conditions. - # Corresponds to the JSON property `alternateBases` - # @return [String] - attr_accessor :alternate_bases - - # Google annotation ID of the gene affected by this variant. This should be - # provided when the variant is created. - # Corresponds to the JSON property `geneId` - # @return [String] - attr_accessor :gene_id - - # Google annotation IDs of the transcripts affected by this variant. These - # should be provided when the variant is created. - # Corresponds to the JSON property `transcriptIds` - # @return [Array] - attr_accessor :transcript_ids - - # The set of conditions associated with this variant. A condition describes the - # way a variant influences human health. - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - # Describes the clinical significance of a variant. It is adapted from the - # ClinVar controlled vocabulary for clinical significance described at: http:// - # www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ - # Corresponds to the JSON property `clinicalSignificance` - # @return [String] - attr_accessor :clinical_significance + # The resulting per-annotation entries, ordered consistently with the + # original request. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries def initialize(**args) update!(**args) @@ -331,13 +1272,420 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @effect = args[:effect] if args.key?(:effect) + @entries = args[:entries] if args.key?(:entries) + end + end + + # The call set search response. + class SearchCallSetsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of matching call sets. + # Corresponds to the JSON property `callSets` + # @return [Array] + attr_accessor :call_sets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @call_sets = args[:call_sets] if args.key?(:call_sets) + end + end + + # A variant represents a change in DNA sequence relative to a reference + # sequence. For example, a variant could represent a SNP or an insertion. + # Variants belong to a variant set. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Each of the calls on a variant represent a determination of genotype with + # respect to that variant. For example, a call might assign probability of 0.32 + # to the occurrence of a SNP named rs1234 in a sample named NA12345. A call + # belongs to a call set, which contains related calls typically from one + # sample. + class Variant + include Google::Apis::Core::Hashable + + # The reference on which this variant occurs. + # (such as `chr20` or `X`) + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + # A map of additional variant information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The reference bases for this variant. They start at the given + # position. + # Corresponds to the JSON property `referenceBases` + # @return [String] + attr_accessor :reference_bases + + # The bases that appear instead of the reference bases. + # Corresponds to the JSON property `alternateBases` + # @return [Array] + attr_accessor :alternate_bases + + # Names for the variant, for example a RefSNP ID. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + # A list of filters (normally quality filters) this variant has failed. + # `PASS` indicates this variant has passed all filters. + # Corresponds to the JSON property `filter` + # @return [Array] + attr_accessor :filter + + # The end position (0-based) of this variant. This corresponds to the first + # base after the last base in the reference allele. So, the length of + # the reference allele is (end - start). This is useful for variants + # that don't explicitly give alternate bases, for example large deletions. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # The variant calls for this particular variant. Each one represents the + # determination of genotype with respect to this variant. + # Corresponds to the JSON property `calls` + # @return [Array] + attr_accessor :calls + + # The date this variant was created, in milliseconds from the epoch. + # Corresponds to the JSON property `created` + # @return [String] + attr_accessor :created + + # The position at which this variant occurs (0-based). + # This corresponds to the first base of the string of reference bases. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # A measure of how likely this variant is to be real. + # A higher value is better. + # Corresponds to the JSON property `quality` + # @return [Float] + attr_accessor :quality + + # The server-generated variant ID, unique across all variants. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The ID of the variant set this variant belongs to. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @info = args[:info] if args.key?(:info) + @reference_bases = args[:reference_bases] if args.key?(:reference_bases) @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) - @gene_id = args[:gene_id] if args.key?(:gene_id) - @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) - @conditions = args[:conditions] if args.key?(:conditions) - @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) + @names = args[:names] if args.key?(:names) + @filter = args[:filter] if args.key?(:filter) + @end = args[:end] if args.key?(:end) + @calls = args[:calls] if args.key?(:calls) + @created = args[:created] if args.key?(:created) + @start = args[:start] if args.key?(:start) + @quality = args[:quality] if args.key?(:quality) + @id = args[:id] if args.key?(:id) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + + # Metadata describing an Operation. + class OperationMetadata + include Google::Apis::Core::Hashable + + # This field is deprecated. Use `labels` instead. Optionally provided by the + # caller when submitting the request that creates the operation. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # Optional event messages that were generated during the job's execution. + # This also contains any warnings that were generated during import + # or export. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # The time at which the job stopped running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The time at which the job began to run. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The original request that started the operation. Note that this will be in + # current version of the API. If the operation was started with v1beta2 API + # and a GetOperation is performed on v1 API, a v1 request will be returned. + # Corresponds to the JSON property `request` + # @return [Hash] + attr_accessor :request + + # Runtime metadata on this Operation. + # Corresponds to the JSON property `runtimeMetadata` + # @return [Hash] + attr_accessor :runtime_metadata + + # The time at which the job was submitted to the Genomics service. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optionally provided by the caller when submitting the request that creates + # the operation. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # The Google Cloud Project in which the job is scoped. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_id = args[:client_id] if args.key?(:client_id) + @events = args[:events] if args.key?(:events) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @request = args[:request] if args.key?(:request) + @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) + @create_time = args[:create_time] if args.key?(:create_time) + @labels = args[:labels] if args.key?(:labels) + @project_id = args[:project_id] if args.key?(:project_id) + end + end + + # The variant search request. + class SearchVariantsRequest + include Google::Apis::Core::Hashable + + # At most one variant set ID must be provided. Only variants from this + # variant set will be returned. If omitted, a call set id must be included in + # the request. + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + # The end of the window, 0-based exclusive. If unspecified or 0, defaults to + # the length of the reference. + # Corresponds to the JSON property `end` + # @return [String] + attr_accessor :end + + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of calls to return in a single page. Note that this + # limit may be exceeded in the event that a matching variant contains more + # calls than the requested maximum. If unspecified, defaults to 5000. The + # maximum value is 10000. + # Corresponds to the JSON property `maxCalls` + # @return [Fixnum] + attr_accessor :max_calls + + # The maximum number of variants to return in a single page. If unspecified, + # defaults to 5000. The maximum value is 10000. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # Only return variant calls which belong to call sets with these ids. + # Leaving this blank returns all variant calls. If a variant has no + # calls belonging to any of these call sets, it won't be returned at all. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # Only return variants which have exactly this name. + # Corresponds to the JSON property `variantName` + # @return [String] + attr_accessor :variant_name + + # The beginning of the window (0-based, inclusive) for which + # overlapping variants should be returned. If unspecified, defaults to 0. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # Required. Only return variants in this reference sequence. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + @end = args[:end] if args.key?(:end) + @page_token = args[:page_token] if args.key?(:page_token) + @max_calls = args[:max_calls] if args.key?(:max_calls) + @page_size = args[:page_size] if args.key?(:page_size) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @variant_name = args[:variant_name] if args.key?(:variant_name) + @start = args[:start] if args.key?(:start) + @reference_name = args[:reference_name] if args.key?(:reference_name) + end + end + + # The read group set search request. + class SearchReadGroupSetsRequest + include Google::Apis::Core::Hashable + + # Restricts this query to read group sets within the given datasets. At least + # one ID must be provided. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids + + # Only return read group sets for which a substring of the name matches this + # string. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 256. The maximum value is 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + @name = args[:name] if args.key?(:name) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + end + end + + # + class SearchAnnotationsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The matching annotations. + # Corresponds to the JSON property `annotations` + # @return [Array] + attr_accessor :annotations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @annotations = args[:annotations] if args.key?(:annotations) + end + end + + # The read search response. + class SearchReadsResponse + include Google::Apis::Core::Hashable + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of matching alignments sorted by mapped genomic coordinate, + # if any, ascending in position within the same reference. Unmapped reads, + # which have no position, are returned contiguously and are sorted in + # ascending lexicographic order by fragment name. + # Corresponds to the JSON property `alignments` + # @return [Array] + attr_accessor :alignments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @alignments = args[:alignments] if args.key?(:alignments) end end @@ -345,37 +1693,148 @@ module Google class ClinicalCondition include Google::Apis::Core::Hashable + # The MedGen concept id associated with this gene. + # Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/ + # Corresponds to the JSON property `conceptId` + # @return [String] + attr_accessor :concept_id + # A set of names for the condition. # Corresponds to the JSON property `names` # @return [Array] attr_accessor :names + # The OMIM id for this condition. + # Search for these IDs at http://omim.org/ + # Corresponds to the JSON property `omimId` + # @return [String] + attr_accessor :omim_id + # The set of external IDs for this condition. # Corresponds to the JSON property `externalIds` # @return [Array] attr_accessor :external_ids - # The MedGen concept id associated with this gene. Search for these IDs at http:/ - # /www.ncbi.nlm.nih.gov/medgen/ - # Corresponds to the JSON property `conceptId` - # @return [String] - attr_accessor :concept_id - - # The OMIM id for this condition. Search for these IDs at http://omim.org/ - # Corresponds to the JSON property `omimId` - # @return [String] - attr_accessor :omim_id - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @names = args[:names] if args.key?(:names) - @external_ids = args[:external_ids] if args.key?(:external_ids) @concept_id = args[:concept_id] if args.key?(:concept_id) + @names = args[:names] if args.key?(:names) @omim_id = args[:omim_id] if args.key?(:omim_id) + @external_ids = args[:external_ids] if args.key?(:external_ids) + end + end + + # + class Program + include Google::Apis::Core::Hashable + + # The command line used to run this program. + # Corresponds to the JSON property `commandLine` + # @return [String] + attr_accessor :command_line + + # The ID of the program run before this one. + # Corresponds to the JSON property `prevProgramId` + # @return [String] + attr_accessor :prev_program_id + + # The user specified locally unique ID of the program. Used along with + # `prevProgramId` to define an ordering between programs. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The version of the program run. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + # The display name of the program. This is typically the colloquial name of + # the tool used, for example 'bwa' or 'picard'. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @command_line = args[:command_line] if args.key?(:command_line) + @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id) + @id = args[:id] if args.key?(:id) + @version = args[:version] if args.key?(:version) + @name = args[:name] if args.key?(:name) + end + end + + # Describes a Compute Engine resource that is being managed by a running + # pipeline. + class ComputeEngine + include Google::Apis::Core::Hashable + + # The machine type of the instance. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + # The names of the disks that were created for this pipeline. + # Corresponds to the JSON property `diskNames` + # @return [Array] + attr_accessor :disk_names + + # The instance on which the operation is running. + # Corresponds to the JSON property `instanceName` + # @return [String] + attr_accessor :instance_name + + # The availability zone in which the instance resides. + # Corresponds to the JSON property `zone` + # @return [String] + attr_accessor :zone + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @machine_type = args[:machine_type] if args.key?(:machine_type) + @disk_names = args[:disk_names] if args.key?(:disk_names) + @instance_name = args[:instance_name] if args.key?(:instance_name) + @zone = args[:zone] if args.key?(:zone) + end + end + + # A bucket over which read coverage has been precomputed. A bucket corresponds + # to a specific range of the reference sequence. + class CoverageBucket + include Google::Apis::Core::Hashable + + # The average number of reads which are aligned to each individual + # reference base in this bucket. + # Corresponds to the JSON property `meanCoverage` + # @return [Float] + attr_accessor :mean_coverage + + # A 0-based half-open genomic coordinate range for search requests. + # Corresponds to the JSON property `range` + # @return [Google::Apis::GenomicsV1::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) + @range = args[:range] if args.key?(:range) end end @@ -404,39 +1863,28 @@ module Google end end - # A transcript represents the assertion that a particular region of the - # reference genome may be transcribed as RNA. - class Transcript + # The search variant sets request. + class SearchVariantSetsRequest include Google::Apis::Core::Hashable - # The annotation ID of the gene from which this transcript is transcribed. - # Corresponds to the JSON property `geneId` + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` # @return [String] - attr_accessor :gene_id + attr_accessor :page_token - # The exons that compose this transcript. This field should be unset for genomes - # where transcript splicing does not occur, for example prokaryotes. Introns are - # regions of the transcript that are not included in the spliced RNA product. - # Though not explicitly modeled here, intron ranges can be deduced; all regions - # of this transcript that are not exons are introns. Exonic sequences do not - # necessarily code for a translational product (amino acids). Only the regions - # of exons bounded by the codingSequence correspond to coding DNA sequence. - # Exons are ordered by start position and may not overlap. - # Corresponds to the JSON property `exons` - # @return [Array] - attr_accessor :exons + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size - # The range of the coding sequence for this transcript, if any. To determine the - # exact ranges of coding sequence, intersect this range with those of the exons, - # if any. If there are any exons, the codingSequence must start and end within - # them. Note that in some cases, the reference genome will not exactly match the - # observed mRNA transcript e.g. due to variance in the source genome from - # reference. In these cases, exon.frame will not necessarily match the expected - # reference reading frame and coding exon reference bases cannot necessarily be - # concatenated to produce the original transcript mRNA. - # Corresponds to the JSON property `codingSequence` - # @return [Google::Apis::GenomicsV1::CodingSequence] - attr_accessor :coding_sequence + # Exactly one dataset ID must be provided here. Only variant sets which + # belong to this dataset will be returned. + # Corresponds to the JSON property `datasetIds` + # @return [Array] + attr_accessor :dataset_ids def initialize(**args) update!(**args) @@ -444,9 +1892,884 @@ module Google # Update properties of this object def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) + end + end + + # Metadata describes a single piece of variant call metadata. + # These data include a top level key and either a single value string (value) + # or a list of key-value pairs (info.) + # Value and info are mutually exclusive. + class VariantSetMetadata + include Google::Apis::Core::Hashable + + # The number of values that can be included in a field described by this + # metadata. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # User-provided ID field, not enforced by this API. + # Two or more pieces of structured metadata with identical + # id and key fields are considered equivalent. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The value field for simple metadata + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The top-level key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # A textual description of this metadata. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Remaining structured metadata key-value pairs. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The type of data. Possible types include: Integer, Float, + # Flag, Character, and String. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @number = args[:number] if args.key?(:number) + @id = args[:id] if args.key?(:id) + @value = args[:value] if args.key?(:value) + @key = args[:key] if args.key?(:key) + @description = args[:description] if args.key?(:description) + @info = args[:info] if args.key?(:info) + @type = args[:type] if args.key?(:type) + end + end + + # A reference is a canonical assembled DNA sequence, intended to act as a + # reference coordinate space for other genomic annotations. A single reference + # might represent the human chromosome 1 or mitochandrial DNA, for instance. A + # reference belongs to one or more reference sets. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class Reference + include Google::Apis::Core::Hashable + + # The server-generated reference ID, unique across all references. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The length of this reference's sequence. + # Corresponds to the JSON property `length` + # @return [String] + attr_accessor :length + + # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + # with a version number, for example `GCF_000001405.26`. + # Corresponds to the JSON property `sourceAccessions` + # @return [Array] + attr_accessor :source_accessions + + # The URI from which the sequence was obtained. Typically specifies a FASTA + # format file. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. + # Corresponds to the JSON property `ncbiTaxonId` + # @return [Fixnum] + attr_accessor :ncbi_taxon_id + + # The name of this reference, for example `22`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # MD5 of the upper-case sequence excluding all whitespace characters (this + # is equivalent to SQ:M5 in SAM). This value is represented in lower case + # hexadecimal format. + # Corresponds to the JSON property `md5checksum` + # @return [String] + attr_accessor :md5checksum + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @length = args[:length] if args.key?(:length) + @source_accessions = args[:source_accessions] if args.key?(:source_accessions) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) + @name = args[:name] if args.key?(:name) + @md5checksum = args[:md5checksum] if args.key?(:md5checksum) + end + end + + # + class SearchReferenceSetsRequest + include Google::Apis::Core::Hashable + + # If present, return reference sets for which the + # md5checksum matches exactly. + # Corresponds to the JSON property `md5checksums` + # @return [Array] + attr_accessor :md5checksums + + # If present, return reference sets for which a prefix of any of + # sourceAccessions + # match any of these strings. Accession numbers typically have a main number + # and a version, for example `NC_000001.11`. + # Corresponds to the JSON property `accessions` + # @return [Array] + attr_accessor :accessions + + # 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 + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # The maximum number of results to return in a single page. If unspecified, + # defaults to 1024. The maximum value is 4096. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size + + # If present, return reference sets for which a substring of their + # `assemblyId` matches this string (case insensitive). + # Corresponds to the JSON property `assemblyId` + # @return [String] + attr_accessor :assembly_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @md5checksums = args[:md5checksums] if args.key?(:md5checksums) + @accessions = args[:accessions] if args.key?(:accessions) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) + @assembly_id = args[:assembly_id] if args.key?(:assembly_id) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::GenomicsV1::Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + + # + class MergeVariantsRequest + include Google::Apis::Core::Hashable + + # The variants to be merged with existing variants. + # Corresponds to the JSON property `variants` + # @return [Array] + attr_accessor :variants + + # A mapping between info field keys and the InfoMergeOperations to + # be performed on them. + # Corresponds to the JSON property `infoMergeConfig` + # @return [Hash] + attr_accessor :info_merge_config + + # The destination variant set. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @variants = args[:variants] if args.key?(:variants) + @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + end + end + + # A read alignment describes a linear alignment of a string of DNA to a + # reference sequence, in addition to metadata + # about the fragment (the molecule of DNA sequenced) and the read (the bases + # which were read by the sequencer). A read is equivalent to a line in a SAM + # file. A read belongs to exactly one read group and exactly one + # read group set. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # ### Reverse-stranded reads + # Mapped reads (reads having a non-null `alignment`) can be aligned to either + # the forward or the reverse strand of their associated reference. Strandedness + # of a mapped read is encoded by `alignment.position.reverseStrand`. + # If we consider the reference to be a forward-stranded coordinate space of + # `[0, reference.length)` with `0` as the left-most position and + # `reference.length` as the right-most position, reads are always aligned left + # to right. That is, `alignment.position.position` always refers to the + # left-most reference coordinate and `alignment.cigar` describes the alignment + # of this read to the reference from left to right. All per-base fields such as + # `alignedSequence` and `alignedQuality` share this same left-to-right + # orientation; this is true of reads which are aligned to either strand. For + # reverse-stranded reads, this means that `alignedSequence` is the reverse + # complement of the bases that were originally reported by the sequencing + # machine. + # ### Generating a reference-aligned sequence string + # When interacting with mapped reads, it's often useful to produce a string + # representing the local alignment of the read to reference. The following + # pseudocode demonstrates one way of doing this: + # out = "" + # offset = 0 + # for c in read.alignment.cigar ` + # switch c.operation ` + # case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": + # out += read.alignedSequence[offset:offset+c.operationLength] + # offset += c.operationLength + # break + # case "CLIP_SOFT", "INSERT": + # offset += c.operationLength + # break + # case "PAD": + # out += repeat("*", c.operationLength) + # break + # case "DELETE": + # out += repeat("-", c.operationLength) + # break + # case "SKIP": + # out += repeat(" ", c.operationLength) + # break + # case "CLIP_HARD": + # break + # ` + # ` + # return out + # ### Converting to SAM's CIGAR string + # The following pseudocode generates a SAM CIGAR string from the + # `cigar` field. Note that this is a lossy conversion + # (`cigar.referenceSequence` is lost). + # cigarMap = ` + # "ALIGNMENT_MATCH": "M", + # "INSERT": "I", + # "DELETE": "D", + # "SKIP": "N", + # "CLIP_SOFT": "S", + # "CLIP_HARD": "H", + # "PAD": "P", + # "SEQUENCE_MATCH": "=", + # "SEQUENCE_MISMATCH": "X", + # ` + # cigarStr = "" + # for c in read.alignment.cigar ` + # cigarStr += c.operationLength + cigarMap[c.operation] + # ` + # return cigarStr + class Read + include Google::Apis::Core::Hashable + + # A linear alignment can be represented by one CIGAR string. Describes the + # mapped position and local alignment of the read to the reference. + # Corresponds to the JSON property `alignment` + # @return [Google::Apis::GenomicsV1::LinearAlignment] + attr_accessor :alignment + + # The server-generated read ID, unique across all reads. This is different + # from the `fragmentName`. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The number of reads in the fragment (extension to SAM flag 0x1). + # Corresponds to the JSON property `numberReads` + # @return [Fixnum] + attr_accessor :number_reads + + # Whether this alignment is secondary. Equivalent to SAM flag 0x100. + # A secondary alignment represents an alternative to the primary alignment + # for this read. Aligners may return secondary alignments if a read can map + # ambiguously to multiple coordinates in the genome. By convention, each read + # has one and only one alignment where both `secondaryAlignment` + # and `supplementaryAlignment` are false. + # Corresponds to the JSON property `secondaryAlignment` + # @return [Boolean] + attr_accessor :secondary_alignment + alias_method :secondary_alignment?, :secondary_alignment + + # The fragment name. Equivalent to QNAME (query template name) in SAM. + # Corresponds to the JSON property `fragmentName` + # @return [String] + attr_accessor :fragment_name + + # The ID of the read group set this read belongs to. A read belongs to + # exactly one read group set. + # Corresponds to the JSON property `readGroupSetId` + # @return [String] + attr_accessor :read_group_set_id + + # The fragment is a PCR or optical duplicate (SAM flag 0x400). + # Corresponds to the JSON property `duplicateFragment` + # @return [Boolean] + attr_accessor :duplicate_fragment + alias_method :duplicate_fragment?, :duplicate_fragment + + # The read number in sequencing. 0-based and less than numberReads. This + # field replaces SAM flag 0x40 and 0x80. + # Corresponds to the JSON property `readNumber` + # @return [Fixnum] + attr_accessor :read_number + + # The ID of the read group this read belongs to. A read belongs to exactly + # one read group. This is a server-generated ID which is distinct from SAM's + # RG tag (for that value, see + # ReadGroup.name). + # Corresponds to the JSON property `readGroupId` + # @return [String] + attr_accessor :read_group_id + + # The bases of the read sequence contained in this alignment record, + # **without CIGAR operations applied** (equivalent to SEQ in SAM). + # `alignedSequence` and `alignedQuality` may be + # shorter than the full read sequence and quality. This will occur if the + # alignment is part of a chimeric alignment, or if the read was trimmed. When + # this occurs, the CIGAR for this read will begin/end with a hard clip + # operator that will indicate the length of the excised sequence. + # Corresponds to the JSON property `alignedSequence` + # @return [String] + attr_accessor :aligned_sequence + + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + # Corresponds to the JSON property `nextMatePosition` + # @return [Google::Apis::GenomicsV1::Position] + attr_accessor :next_mate_position + + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The orientation and the distance between reads from the fragment are + # consistent with the sequencing protocol (SAM flag 0x2). + # Corresponds to the JSON property `properPlacement` + # @return [Boolean] + attr_accessor :proper_placement + alias_method :proper_placement?, :proper_placement + + # Whether this alignment is supplementary. Equivalent to SAM flag 0x800. + # Supplementary alignments are used in the representation of a chimeric + # alignment. In a chimeric alignment, a read is split into multiple + # linear alignments that map to different reference contigs. The first + # linear alignment in the read will be designated as the representative + # alignment; the remaining linear alignments will be designated as + # supplementary alignments. These alignments may have different mapping + # quality scores. In each linear alignment in a chimeric alignment, the read + # will be hard clipped. The `alignedSequence` and + # `alignedQuality` fields in the alignment record will only + # represent the bases for its respective linear alignment. + # Corresponds to the JSON property `supplementaryAlignment` + # @return [Boolean] + attr_accessor :supplementary_alignment + alias_method :supplementary_alignment?, :supplementary_alignment + + # The observed length of the fragment, equivalent to TLEN in SAM. + # Corresponds to the JSON property `fragmentLength` + # @return [Fixnum] + attr_accessor :fragment_length + + # Whether this read did not pass filters, such as platform or vendor quality + # controls (SAM flag 0x200). + # Corresponds to the JSON property `failedVendorQualityChecks` + # @return [Boolean] + attr_accessor :failed_vendor_quality_checks + alias_method :failed_vendor_quality_checks?, :failed_vendor_quality_checks + + # The quality of the read sequence contained in this alignment record + # (equivalent to QUAL in SAM). + # `alignedSequence` and `alignedQuality` may be shorter than the full read + # sequence and quality. This will occur if the alignment is part of a + # chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR + # for this read will begin/end with a hard clip operator that will indicate + # the length of the excised sequence. + # Corresponds to the JSON property `alignedQuality` + # @return [Array] + attr_accessor :aligned_quality + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alignment = args[:alignment] if args.key?(:alignment) + @id = args[:id] if args.key?(:id) + @number_reads = args[:number_reads] if args.key?(:number_reads) + @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment) + @fragment_name = args[:fragment_name] if args.key?(:fragment_name) + @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) + @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment) + @read_number = args[:read_number] if args.key?(:read_number) + @read_group_id = args[:read_group_id] if args.key?(:read_group_id) + @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) + @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) + @info = args[:info] if args.key?(:info) + @proper_placement = args[:proper_placement] if args.key?(:proper_placement) + @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment) + @fragment_length = args[:fragment_length] if args.key?(:fragment_length) + @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks) + @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality) + end + end + + # + class BatchCreateAnnotationsRequest + include Google::Apis::Core::Hashable + + # A unique request ID which enables the server to detect duplicated requests. + # If provided, duplicated requests will result in the same response; if not + # provided, duplicated requests may result in duplicated data. For a given + # annotation set, callers should not reuse `request_id`s when writing + # different batches of annotations - behavior in this case is undefined. + # A common approach is to use a UUID. For batch jobs where worker crashes are + # a possibility, consider using some unique variant of a worker or run ID. + # Corresponds to the JSON property `requestId` + # @return [String] + attr_accessor :request_id + + # The annotations to be created. At most 4096 can be specified in a single + # request. + # Corresponds to the JSON property `annotations` + # @return [Array] + attr_accessor :annotations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @request_id = args[:request_id] if args.key?(:request_id) + @annotations = args[:annotations] if args.key?(:annotations) + end + end + + # A single CIGAR operation. + class CigarUnit + include Google::Apis::Core::Hashable + + # The number of genomic bases that the operation runs for. Required. + # Corresponds to the JSON property `operationLength` + # @return [String] + attr_accessor :operation_length + + # + # Corresponds to the JSON property `operation` + # @return [String] + attr_accessor :operation + + # `referenceSequence` is only used at mismatches + # (`SEQUENCE_MISMATCH`) and deletions (`DELETE`). + # Filling this field replaces SAM's MD tag. If the relevant information is + # not available, this field is unset. + # Corresponds to the JSON property `referenceSequence` + # @return [String] + attr_accessor :reference_sequence + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operation_length = args[:operation_length] if args.key?(:operation_length) + @operation = args[:operation] if args.key?(:operation) + @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) + end + end + + # A reference set is a set of references which typically comprise a reference + # assembly for a species, such as `GRCh38` which is representative + # of the human genome. A reference set defines a common coordinate space for + # comparing reference-aligned experimental data. A reference set contains 1 or + # more references. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class ReferenceSet + include Google::Apis::Core::Hashable + + # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) + # indicating the species which this reference set is intended to model. Note + # that contained references may specify a different `ncbiTaxonId`, as + # assemblies may contain reference sequences which do not belong to the + # modeled species, for example EBV in a human reference genome. + # Corresponds to the JSON property `ncbiTaxonId` + # @return [Fixnum] + attr_accessor :ncbi_taxon_id + + # The URI from which the references were obtained. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + # The IDs of the reference objects that are part of this set. + # `Reference.md5checksum` must be unique within this set. + # Corresponds to the JSON property `referenceIds` + # @return [Array] + attr_accessor :reference_ids + + # Order-independent MD5 checksum which identifies this reference set. The + # checksum is computed by sorting all lower case hexidecimal string + # `reference.md5checksum` (for all reference in this set) in + # ascending lexicographic order, concatenating, and taking the MD5 of that + # value. The resulting value is represented in lower case hexadecimal format. + # Corresponds to the JSON property `md5checksum` + # @return [String] + attr_accessor :md5checksum + + # Public id of this reference set, such as `GRCh37`. + # Corresponds to the JSON property `assemblyId` + # @return [String] + attr_accessor :assembly_id + + # The server-generated reference set ID, unique across all reference sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally + # with a version number, for example `NC_000001.11`. + # Corresponds to the JSON property `sourceAccessions` + # @return [Array] + attr_accessor :source_accessions + + # Free text description of this reference set. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @reference_ids = args[:reference_ids] if args.key?(:reference_ids) + @md5checksum = args[:md5checksum] if args.key?(:md5checksum) + @assembly_id = args[:assembly_id] if args.key?(:assembly_id) + @id = args[:id] if args.key?(:id) + @source_accessions = args[:source_accessions] if args.key?(:source_accessions) + @description = args[:description] if args.key?(:description) + end + end + + # A transcript represents the assertion that a particular region of the + # reference genome may be transcribed as RNA. + class Transcript + include Google::Apis::Core::Hashable + + # The range of the coding sequence for this transcript, if any. To determine + # the exact ranges of coding sequence, intersect this range with those of the + # exons, if any. If there are any + # exons, the + # codingSequence must start + # and end within them. + # Note that in some cases, the reference genome will not exactly match the + # observed mRNA transcript e.g. due to variance in the source genome from + # reference. In these cases, + # exon.frame will not necessarily + # match the expected reference reading frame and coding exon reference bases + # cannot necessarily be concatenated to produce the original transcript mRNA. + # Corresponds to the JSON property `codingSequence` + # @return [Google::Apis::GenomicsV1::CodingSequence] + attr_accessor :coding_sequence + + # The annotation ID of the gene from which this transcript is transcribed. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + + # The exons that compose + # this transcript. This field should be unset for genomes where transcript + # splicing does not occur, for example prokaryotes. + # Introns are regions of the transcript that are not included in the + # spliced RNA product. Though not explicitly modeled here, intron ranges can + # be deduced; all regions of this transcript that are not exons are introns. + # Exonic sequences do not necessarily code for a translational product + # (amino acids). Only the regions of exons bounded by the + # codingSequence correspond + # to coding DNA sequence. + # Exons are ordered by start position and may not overlap. + # Corresponds to the JSON property `exons` + # @return [Array] + attr_accessor :exons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence) @gene_id = args[:gene_id] if args.key?(:gene_id) @exons = args[:exons] if args.key?(:exons) - @coding_sequence = args[:coding_sequence] if args.key?(:coding_sequence) + end + end + + # An annotation set is a logical grouping of annotations that share consistent + # type information and provenance. Examples of annotation sets include 'all + # genes from refseq', and 'all variant annotations from ClinVar'. + class AnnotationSet + include Google::Apis::Core::Hashable + + # The source URI describing the file from which this annotation set was + # generated, if any. + # Corresponds to the JSON property `sourceUri` + # @return [String] + attr_accessor :source_uri + + # The dataset to which this annotation set belongs. + # Corresponds to the JSON property `datasetId` + # @return [String] + attr_accessor :dataset_id + + # The display name for this annotation set. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The ID of the reference set that defines the coordinate space for this + # set's annotations. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + + # A map of additional read alignment information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The type of annotations contained within this set. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The server-generated annotation set ID, unique across all annotation sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source_uri = args[:source_uri] if args.key?(:source_uri) + @dataset_id = args[:dataset_id] if args.key?(:dataset_id) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) + @info = args[:info] if args.key?(:info) + @type = args[:type] if args.key?(:type) + @id = args[:id] if args.key?(:id) + end + end + + # + class Experiment + include Google::Apis::Core::Hashable + + # A client-supplied library identifier; a library is a collection of DNA + # fragments which have been prepared for sequencing from a sample. This + # field is important for quality control as error or bias can be introduced + # during sample preparation. + # Corresponds to the JSON property `libraryId` + # @return [String] + attr_accessor :library_id + + # The instrument model used as part of this experiment. This maps to + # sequencing technology in the SAM spec. + # Corresponds to the JSON property `instrumentModel` + # @return [String] + attr_accessor :instrument_model + + # The sequencing center used as part of this experiment. + # Corresponds to the JSON property `sequencingCenter` + # @return [String] + attr_accessor :sequencing_center + + # The platform unit used as part of this experiment, for example + # flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the + # @RG PU field in the SAM spec. + # Corresponds to the JSON property `platformUnit` + # @return [String] + attr_accessor :platform_unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @library_id = args[:library_id] if args.key?(:library_id) + @instrument_model = args[:instrument_model] if args.key?(:instrument_model) + @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) + @platform_unit = args[:platform_unit] if args.key?(:platform_unit) + end + end + + # The dataset list response. + class ListDatasetsResponse + include Google::Apis::Core::Hashable + + # The list of matching Datasets. + # Corresponds to the JSON property `datasets` + # @return [Array] + attr_accessor :datasets + + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @datasets = args[:datasets] if args.key?(:datasets) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # REQUIRED: The set of permissions to check for the 'resource'. + # Permissions with wildcards (such as '*' or 'storage.*') are not allowed. + # Allowed permissions are: + # * `genomics.datasets.create` + # * `genomics.datasets.delete` + # * `genomics.datasets.get` + # * `genomics.datasets.list` + # * `genomics.datasets.update` + # * `genomics.datasets.getIamPolicy` + # * `genomics.datasets.setIamPolicy` + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # The read group set export request. + class ExportReadGroupSetRequest + include Google::Apis::Core::Hashable + + # Required. A Google Cloud Storage URI for the exported BAM file. + # The currently authenticated user must have write access to the new file. + # An error will be returned if the URI already contains data. + # Corresponds to the JSON property `exportUri` + # @return [String] + attr_accessor :export_uri + + # The reference names to export. If this is not specified, all reference + # sequences, including unmapped reads, are exported. + # Use `*` to export only unmapped reads. + # Corresponds to the JSON property `referenceNames` + # @return [Array] + attr_accessor :reference_names + + # Required. The Google Cloud project ID that owns this + # export. The caller must have WRITE access to this project. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @export_uri = args[:export_uri] if args.key?(:export_uri) + @reference_names = args[:reference_names] if args.key?(:reference_names) + @project_id = args[:project_id] if args.key?(:project_id) end end @@ -454,28 +2777,32 @@ module Google class Exon include Google::Apis::Core::Hashable - # The start position of the exon on this annotation's reference sequence, 0- - # based inclusive. Note that this is relative to the reference start, and **not** - # the containing annotation start. + # The start position of the exon on this annotation's reference sequence, + # 0-based inclusive. Note that this is relative to the reference start, and + # **not** the containing annotation start. # Corresponds to the JSON property `start` # @return [String] attr_accessor :start - # The end position of the exon on this annotation's reference sequence, 0-based - # exclusive. Note that this is relative to the reference start, and *not* the - # containing annotation start. + # The end position of the exon on this annotation's reference sequence, + # 0-based exclusive. Note that this is relative to the reference start, and + # *not* the containing annotation start. # Corresponds to the JSON property `end` # @return [String] attr_accessor :end - # The frame of this exon. Contains a value of 0, 1, or 2, which indicates the - # offset of the first coding base of the exon within the reading frame of the - # coding DNA sequence, if any. This field is dependent on the strandedness of - # this annotation (see Annotation.reverse_strand). For forward stranded - # annotations, this offset is relative to the exon.start. For reverse strand - # annotations, this offset is relative to the exon.end `- 1`. Unset if this exon - # does not intersect the coding sequence. Upon creation of a transcript, the - # frame must be populated for all or none of the coding exons. + # The frame of this exon. Contains a value of 0, 1, or 2, which indicates + # the offset of the first coding base of the exon within the reading frame + # of the coding DNA sequence, if any. This field is dependent on the + # strandedness of this annotation (see + # Annotation.reverse_strand). + # For forward stranded annotations, this offset is relative to the + # exon.start. For reverse + # strand annotations, this offset is relative to the + # exon.end `- 1`. + # Unset if this exon does not intersect the coding sequence. Upon creation + # of a transcript, the frame must be populated for all or none of the + # coding exons. # Corresponds to the JSON property `frame` # @return [Fixnum] attr_accessor :frame @@ -492,23 +2819,48 @@ module Google end end - # - class CodingSequence + # A call set is a collection of variant calls, typically for one sample. It + # belongs to a variant set. + # For more genomics resource definitions, see [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + class CallSet include Google::Apis::Core::Hashable - # The start of the coding sequence on this annotation's reference sequence, 0- - # based inclusive. Note that this position is relative to the reference start, - # and *not* the containing annotation start. - # Corresponds to the JSON property `start` + # The date this call set was created in milliseconds from the epoch. + # Corresponds to the JSON property `created` # @return [String] - attr_accessor :start + attr_accessor :created - # The end of the coding sequence on this annotation's reference sequence, 0- - # based exclusive. Note that this position is relative to the reference start, - # and *not* the containing annotation start. - # Corresponds to the JSON property `end` + # The sample ID this call set corresponds to. + # Corresponds to the JSON property `sampleId` # @return [String] - attr_accessor :end + attr_accessor :sample_id + + # The call set name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A map of additional call set information. This must be of the form + # map (string key mapping to a list of string values). + # Corresponds to the JSON property `info` + # @return [Hash>] + attr_accessor :info + + # The IDs of the variant sets this call set belongs to. This field must + # have exactly length one, as a call set belongs to a single variant set. + # This field is repeated for compatibility with the + # [GA4GH 0.5.1 + # API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/ + # variants.avdl#L76). + # Corresponds to the JSON property `variantSetIds` + # @return [Array] + attr_accessor :variant_set_ids + + # The server-generated call set ID, unique across all call sets. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id def initialize(**args) update!(**args) @@ -516,31 +2868,30 @@ module Google # Update properties of this object def update!(**args) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) + @created = args[:created] if args.key?(:created) + @sample_id = args[:sample_id] if args.key?(:sample_id) + @name = args[:name] if args.key?(:name) + @info = args[:info] if args.key?(:info) + @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) + @id = args[:id] if args.key?(:id) end end # - class BatchCreateAnnotationsRequest + class SearchAnnotationSetsResponse include Google::Apis::Core::Hashable - # The annotations to be created. At most 4096 can be specified in a single - # request. - # Corresponds to the JSON property `annotations` - # @return [Array] - attr_accessor :annotations - - # A unique request ID which enables the server to detect duplicated requests. If - # provided, duplicated requests will result in the same response; if not - # provided, duplicated requests may result in duplicated data. For a given - # annotation set, callers should not reuse `request_id`s when writing different - # batches of annotations - behavior in this case is undefined. A common approach - # is to use a UUID. For batch jobs where worker crashes are a possibility, - # consider using some unique variant of a worker or run ID. - # Corresponds to the JSON property `requestId` + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :request_id + attr_accessor :next_page_token + + # The matching annotation sets. + # Corresponds to the JSON property `annotationSets` + # @return [Array] + attr_accessor :annotation_sets def initialize(**args) update!(**args) @@ -548,20 +2899,94 @@ module Google # Update properties of this object def update!(**args) - @annotations = args[:annotations] if args.key?(:annotations) - @request_id = args[:request_id] if args.key?(:request_id) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @annotation_sets = args[:annotation_sets] if args.key?(:annotation_sets) + end + end + + # The variant data import request. + class ImportVariantsRequest + include Google::Apis::Core::Hashable + + # Convert reference names to the canonical representation. + # hg19 haploytypes (those reference names containing "_hap") + # are not modified in any way. + # All other reference names are modified according to the following rules: + # The reference name is capitalized. + # The "chr" prefix is dropped for all autosomes and sex chromsomes. + # For example "chr17" becomes "17" and "chrX" becomes "X". + # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". + # Corresponds to the JSON property `normalizeReferenceNames` + # @return [Boolean] + attr_accessor :normalize_reference_names + alias_method :normalize_reference_names?, :normalize_reference_names + + # The format of the variant data being imported. If unspecified, defaults to + # to `VCF`. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # A mapping between info field keys and the InfoMergeOperations to + # be performed on them. This is plumbed down to the MergeVariantRequests + # generated by the resulting import job. + # Corresponds to the JSON property `infoMergeConfig` + # @return [Hash] + attr_accessor :info_merge_config + + # Required. The variant set to which variant data should be imported. + # Corresponds to the JSON property `variantSetId` + # @return [String] + attr_accessor :variant_set_id + + # A list of URIs referencing variant files in Google Cloud Storage. URIs can + # include wildcards [as described + # here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). + # Note that recursive wildcards ('**') are not supported. + # Corresponds to the JSON property `sourceUris` + # @return [Array] + attr_accessor :source_uris + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) + @format = args[:format] if args.key?(:format) + @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) + @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) + @source_uris = args[:source_uris] if args.key?(:source_uris) end end # - class BatchCreateAnnotationsResponse + class ListCoverageBucketsResponse include Google::Apis::Core::Hashable - # The resulting per-annotation entries, ordered consistently with the original - # request. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries + # The continuation token, which is used to page through large result sets. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The length of each coverage bucket in base pairs. Note that buckets at the + # end of a reference sequence may be shorter. This value is omitted if the + # bucket width is infinity (the default behaviour, with no range or + # `targetBucketWidth`). + # Corresponds to the JSON property `bucketWidth` + # @return [String] + attr_accessor :bucket_width + + # The coverage buckets. The list of buckets is sparse; a bucket with 0 + # overlapping reads is not returned. A bucket never crosses more than one + # reference sequence. Each bucket has width `bucketWidth`, unless + # its end is the end of the reference sequence. + # Corresponds to the JSON property `coverageBuckets` + # @return [Array] + attr_accessor :coverage_buckets def initialize(**args) update!(**args) @@ -569,58 +2994,58 @@ module Google # Update properties of this object def update!(**args) - @entries = args[:entries] if args.key?(:entries) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @bucket_width = args[:bucket_width] if args.key?(:bucket_width) + @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) end end # - class Entry + class VariantAnnotation include Google::Apis::Core::Hashable - # 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. - # Corresponds to the JSON property `status` - # @return [Google::Apis::GenomicsV1::Status] - attr_accessor :status + # Effect of the variant on the coding sequence. + # Corresponds to the JSON property `effect` + # @return [String] + attr_accessor :effect - # An annotation describes a region of reference genome. The value of an - # annotation may be one of several canonical types, supplemented by arbitrary - # info tags. An annotation is not inherently associated with a specific sample - # or individual (though a client could choose to use annotations in this way). - # Example canonical annotation types are `GENE` and `VARIANT`. - # Corresponds to the JSON property `annotation` - # @return [Google::Apis::GenomicsV1::Annotation] - attr_accessor :annotation + # Google annotation IDs of the transcripts affected by this variant. These + # should be provided when the variant is created. + # Corresponds to the JSON property `transcriptIds` + # @return [Array] + attr_accessor :transcript_ids + + # Type has been adapted from ClinVar's list of variant types. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The alternate allele for this variant. If multiple alternate alleles + # exist at this location, create a separate variant for each one, as they + # may represent distinct conditions. + # Corresponds to the JSON property `alternateBases` + # @return [String] + attr_accessor :alternate_bases + + # Google annotation ID of the gene affected by this variant. This should + # be provided when the variant is created. + # Corresponds to the JSON property `geneId` + # @return [String] + attr_accessor :gene_id + + # Describes the clinical significance of a variant. + # It is adapted from the ClinVar controlled vocabulary for clinical + # significance described at: + # http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ + # Corresponds to the JSON property `clinicalSignificance` + # @return [String] + attr_accessor :clinical_significance + + # The set of conditions associated with this variant. + # A condition describes the way a variant influences human health. + # Corresponds to the JSON property `conditions` + # @return [Array] + attr_accessor :conditions def initialize(**args) update!(**args) @@ -628,63 +3053,50 @@ module Google # Update properties of this object def update!(**args) - @status = args[:status] if args.key?(:status) - @annotation = args[:annotation] if args.key?(:annotation) + @effect = args[:effect] if args.key?(:effect) + @transcript_ids = args[:transcript_ids] if args.key?(:transcript_ids) + @type = args[:type] if args.key?(:type) + @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) + @gene_id = args[:gene_id] if args.key?(:gene_id) + @clinical_significance = args[:clinical_significance] if args.key?(:clinical_significance) + @conditions = args[:conditions] if args.key?(:conditions) end end - # 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 variant data export request. + class ExportVariantSetRequest include Google::Apis::Core::Hashable - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # 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. - # Corresponds to the JSON property `message` + # The format for the exported data. + # Corresponds to the JSON property `format` # @return [String] - attr_accessor :message + attr_accessor :format - # A list of messages that carry the error details. There will be a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details + # Required. The BigQuery dataset to export data to. This dataset must already + # exist. Note that this is distinct from the Genomics concept of "dataset". + # Corresponds to the JSON property `bigqueryDataset` + # @return [String] + attr_accessor :bigquery_dataset + + # Required. The BigQuery table to export data to. + # If the table doesn't exist, it will be created. If it already exists, it + # will be overwritten. + # Corresponds to the JSON property `bigqueryTable` + # @return [String] + attr_accessor :bigquery_table + + # If provided, only variant call information from the specified call sets + # will be exported. By default all variant calls are exported. + # Corresponds to the JSON property `callSetIds` + # @return [Array] + attr_accessor :call_set_ids + + # Required. The Google Cloud project ID that owns the destination + # BigQuery dataset. The caller must have WRITE access to this project. This + # project will also own the resulting export job. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id def initialize(**args) update!(**args) @@ -692,9 +3104,11 @@ module Google # Update properties of this object def update!(**args) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) + @format = args[:format] if args.key?(:format) + @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) + @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) + @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) + @project_id = args[:project_id] if args.key?(:project_id) end end @@ -702,40 +3116,44 @@ module Google class SearchAnnotationsRequest include Google::Apis::Core::Hashable - # Required. The annotation sets to search within. The caller must have `READ` - # access to these annotation sets. All queried annotation sets must have the - # same type. + # The start position of the range on the reference, 0-based inclusive. If + # specified, + # referenceId or + # referenceName + # must be specified. Defaults to 0. + # Corresponds to the JSON property `start` + # @return [String] + attr_accessor :start + + # Required. The annotation sets to search within. The caller must have + # `READ` access to these annotation sets. + # All queried annotation sets must have the same type. # Corresponds to the JSON property `annotationSetIds` # @return [Array] attr_accessor :annotation_set_ids + # The name of the reference to query, within the reference set associated + # with this query. + # Corresponds to the JSON property `referenceName` + # @return [String] + attr_accessor :reference_name + # The ID of the reference to query. # Corresponds to the JSON property `referenceId` # @return [String] attr_accessor :reference_id - # The name of the reference to query, within the reference set associated with - # this query. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The start position of the range on the reference, 0-based inclusive. If - # specified, referenceId or referenceName must be specified. Defaults to 0. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - # The end position of the range on the reference, 0-based exclusive. If - # referenceId or referenceName must be specified, Defaults to the length of the - # reference. + # referenceId or + # referenceName + # must be specified, Defaults to the length of the reference. # Corresponds to the JSON property `end` # @return [String] attr_accessor :end - # 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 ` - # nextPageToken` from the previous response. + # 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 + # `nextPageToken` from the previous response. # Corresponds to the JSON property `pageToken` # @return [String] attr_accessor :page_token @@ -752,31 +3170,35 @@ module Google # Update properties of this object def update!(**args) - @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) - @reference_id = args[:reference_id] if args.key?(:reference_id) - @reference_name = args[:reference_name] if args.key?(:reference_name) @start = args[:start] if args.key?(:start) + @annotation_set_ids = args[:annotation_set_ids] if args.key?(:annotation_set_ids) + @reference_name = args[:reference_name] if args.key?(:reference_name) + @reference_id = args[:reference_id] if args.key?(:reference_id) @end = args[:end] if args.key?(:end) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) end end - # - class SearchAnnotationsResponse + # An event that occurred during an Operation. + class OperationEvent include Google::Apis::Core::Hashable - # The matching annotations. - # Corresponds to the JSON property `annotations` - # @return [Array] - attr_accessor :annotations - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` + # Optional time of when event finished. An event can have a start time and no + # finish time. If an event has a finish time, there must be a start time. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :next_page_token + attr_accessor :end_time + + # Optional time of when event started. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Required description of event. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description def initialize(**args) update!(**args) @@ -784,192 +3206,29 @@ module Google # Update properties of this object def update!(**args) - @annotations = args[:annotations] if args.key?(:annotations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The dataset list response. - class ListDatasetsResponse - include Google::Apis::Core::Hashable - - # The list of matching Datasets. - # Corresponds to the JSON property `datasets` - # @return [Array] - attr_accessor :datasets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @datasets = args[:datasets] if args.key?(:datasets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A Dataset is a collection of genomic data. For more genomics resource - # definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - class Dataset - include Google::Apis::Core::Hashable - - # The server-generated dataset ID, unique across all datasets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The Google Developers Console project ID that this dataset belongs to. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The dataset name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The time this dataset was created, in seconds from the epoch. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @project_id = args[:project_id] if args.key?(:project_id) - @name = args[:name] if args.key?(:name) - @create_time = args[:create_time] if args.key?(:create_time) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @description = args[:description] if args.key?(:description) end end # - class UndeleteDatasetRequest + class CodingSequence include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::GenomicsV1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. Multiple `bindings` must not be - # specified for the same `role`. `bindings` with no members will result in an - # error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `etag` is used for optimistic concurrency control as a way to help prevent - # simultaneous updates of a policy from overwriting each other. It is strongly - # suggested that systems make use of the `etag` in the read-modify-write cycle - # to perform policy updates in order to avoid race conditions: An `etag` is - # returned in the response to `getIamPolicy`, and systems are expected to put - # that etag in the request to `setIamPolicy` to ensure that their change will be - # applied to the same version of the policy. If no `etag` is provided in the - # call to `setIamPolicy`, then the existing policy is overwritten blindly. - # Corresponds to the JSON property `etag` + # The start of the coding sequence on this annotation's reference sequence, + # 0-based inclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `start` # @return [String] - attr_accessor :etag + attr_accessor :start - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - end - end - - # Associates `members` with a `role`. - class Binding - include Google::Apis::Core::Hashable - - # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` - # , or `roles/owner`. Required - # Corresponds to the JSON property `role` + # The end of the coding sequence on this annotation's reference sequence, + # 0-based exclusive. Note that this position is relative to the reference + # start, and *not* the containing annotation start. + # Corresponds to the JSON property `end` # @return [String] - attr_accessor :role - - # Specifies the identities requesting access for a Cloud Platform resource. ` - # members` can have the following values: * `allUsers`: A special identifier - # that represents anyone who is on the internet; with or without a Google - # account. * `allAuthenticatedUsers`: A special identifier that represents - # anyone who is authenticated with a Google account or a service account. * ` - # user:`emailid``: An email address that represents a specific Google account. - # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:` - # emailid``: An email address that represents a service account. For example, ` - # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email - # address that represents a Google group. For example, `admins@example.com`. * ` - # domain:`domain``: A Google Apps domain name that represents all the users of - # that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members + attr_accessor :end def initialize(**args) update!(**args) @@ -977,8 +3236,8 @@ module Google # Update properties of this object def update!(**args) - @role = args[:role] if args.key?(:role) - @members = args[:members] if args.key?(:members) + @start = args[:start] if args.key?(:start) + @end = args[:end] if args.key?(:end) end end @@ -995,34 +3254,12 @@ module Google end end - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # REQUIRED: The set of permissions to check for the 'resource'. Permissions with - # wildcards (such as '*' or 'storage.*') are not allowed. Allowed permissions - # are: * `genomics.datasets.create` * `genomics.datasets.delete` * `genomics. - # datasets.get` * `genomics.datasets.list` * `genomics.datasets.update` * ` - # genomics.datasets.getIamPolicy` * `genomics.datasets.setIamPolicy` - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - # Response message for `TestIamPermissions` method. class TestIamPermissionsResponse include Google::Apis::Core::Hashable - # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. # Corresponds to the JSON property `permissions` # @return [Array] attr_accessor :permissions @@ -1037,1287 +3274,6 @@ module Google end end - # This resource represents a long-running operation that is the result of a - # network API call. - class Operation - include Google::Apis::Core::Hashable - - # The server-assigned name, which is only unique within the same service that - # originally returns it. For example: `operations/CJHU7Oi_ChDrveSpBRjfuL- - # qzoWAgEw` - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # An OperationMetadata object. This will always be returned with the Operation. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # 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. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # 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. - # Corresponds to the JSON property `error` - # @return [Google::Apis::GenomicsV1::Status] - attr_accessor :error - - # If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If - # importing Variants, an ImportVariantsResponse is returned. For exports, an - # empty response is returned. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @error = args[:error] if args.key?(:error) - @response = args[:response] if args.key?(:response) - end - end - - # The response message for Operations.ListOperations. - class ListOperationsResponse - include Google::Apis::Core::Hashable - - # A list of operations that matches the specified filter in the request. - # Corresponds to the JSON property `operations` - # @return [Array] - attr_accessor :operations - - # The standard List next-page token. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operations = args[:operations] if args.key?(:operations) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The request message for Operations.CancelOperation. - class CancelOperationRequest - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The read group set import request. - class ImportReadGroupSetsRequest - include Google::Apis::Core::Hashable - - # Required. The ID of the dataset these read group sets will belong to. The - # caller must have WRITE permissions to this dataset. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The reference set to which the imported read group sets are aligned to, if any. - # The reference names of this reference set must be a superset of those found - # in the imported file headers. If no reference set id is provided, a best - # effort is made to associate with a matching reference set. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A list of URIs pointing at [BAM files](https://samtools.github.io/hts-specs/ - # SAMv1.pdf) in Google Cloud Storage. - # Corresponds to the JSON property `sourceUris` - # @return [Array] - attr_accessor :source_uris - - # The partition strategy describes how read groups are partitioned into read - # group sets. - # Corresponds to the JSON property `partitionStrategy` - # @return [String] - attr_accessor :partition_strategy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @source_uris = args[:source_uris] if args.key?(:source_uris) - @partition_strategy = args[:partition_strategy] if args.key?(:partition_strategy) - end - end - - # The read group set export request. - class ExportReadGroupSetRequest - include Google::Apis::Core::Hashable - - # Required. The Google Developers Console project ID that owns this export. The - # caller must have WRITE access to this project. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # Required. A Google Cloud Storage URI for the exported BAM file. The currently - # authenticated user must have write access to the new file. An error will be - # returned if the URI already contains data. - # Corresponds to the JSON property `exportUri` - # @return [String] - attr_accessor :export_uri - - # The reference names to export. If this is not specified, all reference - # sequences, including unmapped reads, are exported. Use `*` to export only - # unmapped reads. - # Corresponds to the JSON property `referenceNames` - # @return [Array] - attr_accessor :reference_names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @export_uri = args[:export_uri] if args.key?(:export_uri) - @reference_names = args[:reference_names] if args.key?(:reference_names) - end - end - - # The read group set search request. - class SearchReadGroupSetsRequest - include Google::Apis::Core::Hashable - - # Restricts this query to read group sets within the given datasets. At least - # one ID must be provided. - # Corresponds to the JSON property `datasetIds` - # @return [Array] - attr_accessor :dataset_ids - - # Only return read group sets for which a substring of the name matches this - # string. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @name = args[:name] if args.key?(:name) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The read group set search response. - class SearchReadGroupSetsResponse - include Google::Apis::Core::Hashable - - # The list of matching read group sets. - # Corresponds to the JSON property `readGroupSets` - # @return [Array] - attr_accessor :read_group_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A read group set is a logical collection of read groups, which are collections - # of reads produced by a sequencer. A read group set typically models reads - # corresponding to one sample, sequenced one way, and aligned one way. * A read - # group set belongs to one dataset. * A read group belongs to one read group set. - # * A read belongs to one read group. For more genomics resource definitions, - # see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) - class ReadGroupSet - include Google::Apis::Core::Hashable - - # The server-generated read group set ID, unique for all read group sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The dataset to which this read group set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The reference set to which the reads in this read group set are aligned. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # The read group set name. By default this will be initialized to the sample - # name of the sequenced data contained in this set. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The filename of the original source file for this read group set, if any. - # Corresponds to the JSON property `filename` - # @return [String] - attr_accessor :filename - - # The read groups in this set. There are typically 1-10 read groups in a read - # group set. - # Corresponds to the JSON property `readGroups` - # @return [Array] - attr_accessor :read_groups - - # A map of additional read group set information. - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @name = args[:name] if args.key?(:name) - @filename = args[:filename] if args.key?(:filename) - @read_groups = args[:read_groups] if args.key?(:read_groups) - @info = args[:info] if args.key?(:info) - end - end - - # A read group is all the data that's processed the same way by the sequencer. - class ReadGroup - include Google::Apis::Core::Hashable - - # The server-generated read group ID, unique for all read groups. Note: This is - # different than the @RG ID field in the SAM spec. For that value, see name. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The dataset to which this read group belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The read group name. This corresponds to the @RG ID field in the SAM spec. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A free-form text description of this read group. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A client-supplied sample identifier for the reads in this read group. - # Corresponds to the JSON property `sampleId` - # @return [String] - attr_accessor :sample_id - - # The experiment used to generate this read group. - # Corresponds to the JSON property `experiment` - # @return [Google::Apis::GenomicsV1::Experiment] - attr_accessor :experiment - - # The predicted insert size of this read group. The insert size is the length - # the sequenced DNA fragment from end-to-end, not including the adapters. - # Corresponds to the JSON property `predictedInsertSize` - # @return [Fixnum] - attr_accessor :predicted_insert_size - - # The programs used to generate this read group. Programs are always identical - # for all read groups within a read group set. For this reason, only the first - # read group in a returned set will have this field populated. - # Corresponds to the JSON property `programs` - # @return [Array] - attr_accessor :programs - - # The reference set the reads in this read group are aligned to. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A map of additional read group information. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - @sample_id = args[:sample_id] if args.key?(:sample_id) - @experiment = args[:experiment] if args.key?(:experiment) - @predicted_insert_size = args[:predicted_insert_size] if args.key?(:predicted_insert_size) - @programs = args[:programs] if args.key?(:programs) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @info = args[:info] if args.key?(:info) - end - end - - # - class Experiment - include Google::Apis::Core::Hashable - - # A client-supplied library identifier; a library is a collection of DNA - # fragments which have been prepared for sequencing from a sample. This field is - # important for quality control as error or bias can be introduced during sample - # preparation. - # Corresponds to the JSON property `libraryId` - # @return [String] - attr_accessor :library_id - - # The platform unit used as part of this experiment, for example flowcell- - # barcode.lane for Illumina or slide for SOLiD. Corresponds to the @RG PU field - # in the SAM spec. - # Corresponds to the JSON property `platformUnit` - # @return [String] - attr_accessor :platform_unit - - # The sequencing center used as part of this experiment. - # Corresponds to the JSON property `sequencingCenter` - # @return [String] - attr_accessor :sequencing_center - - # The instrument model used as part of this experiment. This maps to sequencing - # technology in the SAM spec. - # Corresponds to the JSON property `instrumentModel` - # @return [String] - attr_accessor :instrument_model - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @library_id = args[:library_id] if args.key?(:library_id) - @platform_unit = args[:platform_unit] if args.key?(:platform_unit) - @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center) - @instrument_model = args[:instrument_model] if args.key?(:instrument_model) - end - end - - # - class Program - include Google::Apis::Core::Hashable - - # The command line used to run this program. - # Corresponds to the JSON property `commandLine` - # @return [String] - attr_accessor :command_line - - # The user specified locally unique ID of the program. Used along with ` - # prevProgramId` to define an ordering between programs. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The display name of the program. This is typically the colloquial name of the - # tool used, for example 'bwa' or 'picard'. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The ID of the program run before this one. - # Corresponds to the JSON property `prevProgramId` - # @return [String] - attr_accessor :prev_program_id - - # The version of the program run. - # Corresponds to the JSON property `version` - # @return [String] - attr_accessor :version - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @command_line = args[:command_line] if args.key?(:command_line) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @prev_program_id = args[:prev_program_id] if args.key?(:prev_program_id) - @version = args[:version] if args.key?(:version) - end - end - - # - class ListCoverageBucketsResponse - include Google::Apis::Core::Hashable - - # The length of each coverage bucket in base pairs. Note that buckets at the end - # of a reference sequence may be shorter. This value is omitted if the bucket - # width is infinity (the default behaviour, with no range or `targetBucketWidth`) - # . - # Corresponds to the JSON property `bucketWidth` - # @return [String] - attr_accessor :bucket_width - - # The coverage buckets. The list of buckets is sparse; a bucket with 0 - # overlapping reads is not returned. A bucket never crosses more than one - # reference sequence. Each bucket has width `bucketWidth`, unless its end is the - # end of the reference sequence. - # Corresponds to the JSON property `coverageBuckets` - # @return [Array] - attr_accessor :coverage_buckets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bucket_width = args[:bucket_width] if args.key?(:bucket_width) - @coverage_buckets = args[:coverage_buckets] if args.key?(:coverage_buckets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A bucket over which read coverage has been precomputed. A bucket corresponds - # to a specific range of the reference sequence. - class CoverageBucket - include Google::Apis::Core::Hashable - - # A 0-based half-open genomic coordinate range for search requests. - # Corresponds to the JSON property `range` - # @return [Google::Apis::GenomicsV1::Range] - attr_accessor :range - - # The average number of reads which are aligned to each individual reference - # base in this bucket. - # Corresponds to the JSON property `meanCoverage` - # @return [Float] - attr_accessor :mean_coverage - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @mean_coverage = args[:mean_coverage] if args.key?(:mean_coverage) - end - end - - # A 0-based half-open genomic coordinate range for search requests. - class Range - include Google::Apis::Core::Hashable - - # The reference sequence name, for example `chr1`, `1`, or `chrX`. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The start position of the range on the reference, 0-based inclusive. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end position of the range on the reference, 0-based exclusive. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - end - end - - # The read search request. - class SearchReadsRequest - include Google::Apis::Core::Hashable - - # The IDs of the read groups sets within which to search for reads. All - # specified read group sets must be aligned against a common set of reference - # sequences; this defines the genomic coordinates for the query. Must specify - # one of `readGroupSetIds` or `readGroupIds`. - # Corresponds to the JSON property `readGroupSetIds` - # @return [Array] - attr_accessor :read_group_set_ids - - # The IDs of the read groups within which to search for reads. All specified - # read groups must belong to the same read group sets. Must specify one of ` - # readGroupSetIds` or `readGroupIds`. - # Corresponds to the JSON property `readGroupIds` - # @return [Array] - attr_accessor :read_group_ids - - # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to `*`, - # only unmapped reads are returned. If unspecified, all reads (mapped and - # unmapped) are returned. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 256. The maximum value is 2048. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) - @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The read search response. - class SearchReadsResponse - include Google::Apis::Core::Hashable - - # The list of matching alignments sorted by mapped genomic coordinate, if any, - # ascending in position within the same reference. Unmapped reads, which have no - # position, are returned contiguously and are sorted in ascending lexicographic - # order by fragment name. - # Corresponds to the JSON property `alignments` - # @return [Array] - attr_accessor :alignments - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alignments = args[:alignments] if args.key?(:alignments) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A read alignment describes a linear alignment of a string of DNA to a - # reference sequence, in addition to metadata about the fragment (the molecule - # of DNA sequenced) and the read (the bases which were read by the sequencer). A - # read is equivalent to a line in a SAM file. A read belongs to exactly one read - # group and exactly one read group set. For more genomics resource definitions, - # see [Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) ### Reverse-stranded reads Mapped reads ( - # reads having a non-null `alignment`) can be aligned to either the forward or - # the reverse strand of their associated reference. Strandedness of a mapped - # read is encoded by `alignment.position.reverseStrand`. If we consider the - # reference to be a forward-stranded coordinate space of `[0, reference.length)` - # with `0` as the left-most position and `reference.length` as the right-most - # position, reads are always aligned left to right. That is, `alignment.position. - # position` always refers to the left-most reference coordinate and `alignment. - # cigar` describes the alignment of this read to the reference from left to - # right. All per-base fields such as `alignedSequence` and `alignedQuality` - # share this same left-to-right orientation; this is true of reads which are - # aligned to either strand. For reverse-stranded reads, this means that ` - # alignedSequence` is the reverse complement of the bases that were originally - # reported by the sequencing machine. ### Generating a reference-aligned - # sequence string When interacting with mapped reads, it's often useful to - # produce a string representing the local alignment of the read to reference. - # The following pseudocode demonstrates one way of doing this: out = "" offset = - # 0 for c in read.alignment.cigar ` switch c.operation ` case "ALIGNMENT_MATCH", - # "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += read.alignedSequence[offset: - # offset+c.operationLength] offset += c.operationLength break case "CLIP_SOFT", " - # INSERT": offset += c.operationLength break case "PAD": out += repeat("*", c. - # operationLength) break case "DELETE": out += repeat("-", c.operationLength) - # break case "SKIP": out += repeat(" ", c.operationLength) break case "CLIP_HARD" - # : break ` ` return out ### Converting to SAM's CIGAR string The following - # pseudocode generates a SAM CIGAR string from the `cigar` field. Note that this - # is a lossy conversion (`cigar.referenceSequence` is lost). cigarMap = ` " - # ALIGNMENT_MATCH": "M", "INSERT": "I", "DELETE": "D", "SKIP": "N", "CLIP_SOFT": - # "S", "CLIP_HARD": "H", "PAD": "P", "SEQUENCE_MATCH": "=", "SEQUENCE_MISMATCH": - # "X", ` cigarStr = "" for c in read.alignment.cigar ` cigarStr += c. - # operationLength + cigarMap[c.operation] ` return cigarStr - class Read - include Google::Apis::Core::Hashable - - # The server-generated read ID, unique across all reads. This is different from - # the `fragmentName`. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The ID of the read group this read belongs to. A read belongs to exactly one - # read group. This is a server-generated ID which is distinct from SAM's RG tag ( - # for that value, see ReadGroup.name). - # Corresponds to the JSON property `readGroupId` - # @return [String] - attr_accessor :read_group_id - - # The ID of the read group set this read belongs to. A read belongs to exactly - # one read group set. - # Corresponds to the JSON property `readGroupSetId` - # @return [String] - attr_accessor :read_group_set_id - - # The fragment name. Equivalent to QNAME (query template name) in SAM. - # Corresponds to the JSON property `fragmentName` - # @return [String] - attr_accessor :fragment_name - - # The orientation and the distance between reads from the fragment are - # consistent with the sequencing protocol (SAM flag 0x2). - # Corresponds to the JSON property `properPlacement` - # @return [Boolean] - attr_accessor :proper_placement - alias_method :proper_placement?, :proper_placement - - # The fragment is a PCR or optical duplicate (SAM flag 0x400). - # Corresponds to the JSON property `duplicateFragment` - # @return [Boolean] - attr_accessor :duplicate_fragment - alias_method :duplicate_fragment?, :duplicate_fragment - - # The observed length of the fragment, equivalent to TLEN in SAM. - # Corresponds to the JSON property `fragmentLength` - # @return [Fixnum] - attr_accessor :fragment_length - - # The read number in sequencing. 0-based and less than numberReads. This field - # replaces SAM flag 0x40 and 0x80. - # Corresponds to the JSON property `readNumber` - # @return [Fixnum] - attr_accessor :read_number - - # The number of reads in the fragment (extension to SAM flag 0x1). - # Corresponds to the JSON property `numberReads` - # @return [Fixnum] - attr_accessor :number_reads - - # Whether this read did not pass filters, such as platform or vendor quality - # controls (SAM flag 0x200). - # Corresponds to the JSON property `failedVendorQualityChecks` - # @return [Boolean] - attr_accessor :failed_vendor_quality_checks - alias_method :failed_vendor_quality_checks?, :failed_vendor_quality_checks - - # A linear alignment can be represented by one CIGAR string. Describes the - # mapped position and local alignment of the read to the reference. - # Corresponds to the JSON property `alignment` - # @return [Google::Apis::GenomicsV1::LinearAlignment] - attr_accessor :alignment - - # Whether this alignment is secondary. Equivalent to SAM flag 0x100. A secondary - # alignment represents an alternative to the primary alignment for this read. - # Aligners may return secondary alignments if a read can map ambiguously to - # multiple coordinates in the genome. By convention, each read has one and only - # one alignment where both `secondaryAlignment` and `supplementaryAlignment` are - # false. - # Corresponds to the JSON property `secondaryAlignment` - # @return [Boolean] - attr_accessor :secondary_alignment - alias_method :secondary_alignment?, :secondary_alignment - - # Whether this alignment is supplementary. Equivalent to SAM flag 0x800. - # Supplementary alignments are used in the representation of a chimeric - # alignment. In a chimeric alignment, a read is split into multiple linear - # alignments that map to different reference contigs. The first linear alignment - # in the read will be designated as the representative alignment; the remaining - # linear alignments will be designated as supplementary alignments. These - # alignments may have different mapping quality scores. In each linear alignment - # in a chimeric alignment, the read will be hard clipped. The `alignedSequence` - # and `alignedQuality` fields in the alignment record will only represent the - # bases for its respective linear alignment. - # Corresponds to the JSON property `supplementaryAlignment` - # @return [Boolean] - attr_accessor :supplementary_alignment - alias_method :supplementary_alignment?, :supplementary_alignment - - # The bases of the read sequence contained in this alignment record, **without - # CIGAR operations applied** (equivalent to SEQ in SAM). `alignedSequence` and ` - # alignedQuality` may be shorter than the full read sequence and quality. This - # will occur if the alignment is part of a chimeric alignment, or if the read - # was trimmed. When this occurs, the CIGAR for this read will begin/end with a - # hard clip operator that will indicate the length of the excised sequence. - # Corresponds to the JSON property `alignedSequence` - # @return [String] - attr_accessor :aligned_sequence - - # The quality of the read sequence contained in this alignment record ( - # equivalent to QUAL in SAM). `alignedSequence` and `alignedQuality` may be - # shorter than the full read sequence and quality. This will occur if the - # alignment is part of a chimeric alignment, or if the read was trimmed. When - # this occurs, the CIGAR for this read will begin/end with a hard clip operator - # that will indicate the length of the excised sequence. - # Corresponds to the JSON property `alignedQuality` - # @return [Array] - attr_accessor :aligned_quality - - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a reference - # name, a base number on that reference (0-based), and a determination of - # forward or reverse strand. - # Corresponds to the JSON property `nextMatePosition` - # @return [Google::Apis::GenomicsV1::Position] - attr_accessor :next_mate_position - - # A map of additional read alignment information. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @read_group_id = args[:read_group_id] if args.key?(:read_group_id) - @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) - @fragment_name = args[:fragment_name] if args.key?(:fragment_name) - @proper_placement = args[:proper_placement] if args.key?(:proper_placement) - @duplicate_fragment = args[:duplicate_fragment] if args.key?(:duplicate_fragment) - @fragment_length = args[:fragment_length] if args.key?(:fragment_length) - @read_number = args[:read_number] if args.key?(:read_number) - @number_reads = args[:number_reads] if args.key?(:number_reads) - @failed_vendor_quality_checks = args[:failed_vendor_quality_checks] if args.key?(:failed_vendor_quality_checks) - @alignment = args[:alignment] if args.key?(:alignment) - @secondary_alignment = args[:secondary_alignment] if args.key?(:secondary_alignment) - @supplementary_alignment = args[:supplementary_alignment] if args.key?(:supplementary_alignment) - @aligned_sequence = args[:aligned_sequence] if args.key?(:aligned_sequence) - @aligned_quality = args[:aligned_quality] if args.key?(:aligned_quality) - @next_mate_position = args[:next_mate_position] if args.key?(:next_mate_position) - @info = args[:info] if args.key?(:info) - end - end - - # A linear alignment can be represented by one CIGAR string. Describes the - # mapped position and local alignment of the read to the reference. - class LinearAlignment - include Google::Apis::Core::Hashable - - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a reference - # name, a base number on that reference (0-based), and a determination of - # forward or reverse strand. - # Corresponds to the JSON property `position` - # @return [Google::Apis::GenomicsV1::Position] - attr_accessor :position - - # The mapping quality of this alignment. Represents how likely the read maps to - # this position as opposed to other locations. Specifically, this is -10 log10 - # Pr(mapping position is wrong), rounded to the nearest integer. - # Corresponds to the JSON property `mappingQuality` - # @return [Fixnum] - attr_accessor :mapping_quality - - # Represents the local alignment of this sequence (alignment matches, indels, - # etc) against the reference. - # Corresponds to the JSON property `cigar` - # @return [Array] - attr_accessor :cigar - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) - @cigar = args[:cigar] if args.key?(:cigar) - end - end - - # An abstraction for referring to a genomic position, in relation to some - # already known reference. For now, represents a genomic position as a reference - # name, a base number on that reference (0-based), and a determination of - # forward or reverse strand. - class Position - include Google::Apis::Core::Hashable - - # The name of the reference in whatever reference set is being used. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The 0-based offset from the start of the forward strand for that reference. - # Corresponds to the JSON property `position` - # @return [String] - attr_accessor :position - - # Whether this position is on the reverse strand, as opposed to the forward - # strand. - # Corresponds to the JSON property `reverseStrand` - # @return [Boolean] - attr_accessor :reverse_strand - alias_method :reverse_strand?, :reverse_strand - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @position = args[:position] if args.key?(:position) - @reverse_strand = args[:reverse_strand] if args.key?(:reverse_strand) - end - end - - # A single CIGAR operation. - class CigarUnit - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `operation` - # @return [String] - attr_accessor :operation - - # The number of genomic bases that the operation runs for. Required. - # Corresponds to the JSON property `operationLength` - # @return [String] - attr_accessor :operation_length - - # `referenceSequence` is only used at mismatches (`SEQUENCE_MISMATCH`) and - # deletions (`DELETE`). Filling this field replaces SAM's MD tag. If the - # relevant information is not available, this field is unset. - # Corresponds to the JSON property `referenceSequence` - # @return [String] - attr_accessor :reference_sequence - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @operation = args[:operation] if args.key?(:operation) - @operation_length = args[:operation_length] if args.key?(:operation_length) - @reference_sequence = args[:reference_sequence] if args.key?(:reference_sequence) - end - end - - # The stream reads request. - class StreamReadsRequest - include Google::Apis::Core::Hashable - - # The Google Developers Console project ID or number which will be billed for - # this access. The caller must have WRITE access to this project. Required. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The ID of the read group set from which to stream reads. - # Corresponds to the JSON property `readGroupSetId` - # @return [String] - attr_accessor :read_group_set_id - - # The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to *, - # only unmapped reads are returned. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # Restricts results to a shard containing approximately `1/totalShards` of the - # normal response payload for this query. Results from a sharded request are - # disjoint from those returned by all queries which differ only in their shard - # parameter. A shard may yield 0 results; this is especially likely for large - # values of `totalShards`. Valid values are `[0, totalShards)`. - # Corresponds to the JSON property `shard` - # @return [Fixnum] - attr_accessor :shard - - # Specifying `totalShards` causes a disjoint subset of the normal response - # payload to be returned for each query with a unique `shard` parameter - # specified. A best effort is made to yield equally sized shards. Sharding can - # be used to distribute processing amongst workers, where each worker is - # assigned a unique `shard` number and all workers specify the same `totalShards` - # number. The union of reads returned for all sharded queries `[0, totalShards)` - # is equal to those returned by a single unsharded query. Queries for different - # values of `totalShards` with common divisors will share shard boundaries. For - # example, streaming `shard` 2 of 5 `totalShards` yields the same results as - # streaming `shard`s 4 and 5 of 10 `totalShards`. This property can be leveraged - # for adaptive retries. - # Corresponds to the JSON property `totalShards` - # @return [Fixnum] - attr_accessor :total_shards - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @read_group_set_id = args[:read_group_set_id] if args.key?(:read_group_set_id) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @shard = args[:shard] if args.key?(:shard) - @total_shards = args[:total_shards] if args.key?(:total_shards) - end - end - - # - class StreamReadsResponse - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `alignments` - # @return [Array] - attr_accessor :alignments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @alignments = args[:alignments] if args.key?(:alignments) - end - end - - # - class SearchReferenceSetsRequest - include Google::Apis::Core::Hashable - - # If present, return reference sets for which the md5checksum matches exactly. - # Corresponds to the JSON property `md5checksums` - # @return [Array] - attr_accessor :md5checksums - - # If present, return reference sets for which a prefix of any of - # sourceAccessions match any of these strings. Accession numbers typically have - # a main number and a version, for example `NC_000001.11`. - # Corresponds to the JSON property `accessions` - # @return [Array] - attr_accessor :accessions - - # If present, return reference sets for which a substring of their `assemblyId` - # matches this string (case insensitive). - # Corresponds to the JSON property `assemblyId` - # @return [String] - attr_accessor :assembly_id - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @md5checksums = args[:md5checksums] if args.key?(:md5checksums) - @accessions = args[:accessions] if args.key?(:accessions) - @assembly_id = args[:assembly_id] if args.key?(:assembly_id) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # - class SearchReferenceSetsResponse - include Google::Apis::Core::Hashable - - # The matching references sets. - # Corresponds to the JSON property `referenceSets` - # @return [Array] - attr_accessor :reference_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_sets = args[:reference_sets] if args.key?(:reference_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A reference set is a set of references which typically comprise a reference - # assembly for a species, such as `GRCh38` which is representative of the human - # genome. A reference set defines a common coordinate space for comparing - # reference-aligned experimental data. A reference set contains 1 or more - # references. For more genomics resource definitions, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) - class ReferenceSet - include Google::Apis::Core::Hashable - - # The server-generated reference set ID, unique across all reference sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The IDs of the reference objects that are part of this set. `Reference. - # md5checksum` must be unique within this set. - # Corresponds to the JSON property `referenceIds` - # @return [Array] - attr_accessor :reference_ids - - # Order-independent MD5 checksum which identifies this reference set. The - # checksum is computed by sorting all lower case hexidecimal string `reference. - # md5checksum` (for all reference in this set) in ascending lexicographic order, - # concatenating, and taking the MD5 of that value. The resulting value is - # represented in lower case hexadecimal format. - # Corresponds to the JSON property `md5checksum` - # @return [String] - attr_accessor :md5checksum - - # ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) - # indicating the species which this reference set is intended to model. Note - # that contained references may specify a different `ncbiTaxonId`, as assemblies - # may contain reference sequences which do not belong to the modeled species, - # for example EBV in a human reference genome. - # Corresponds to the JSON property `ncbiTaxonId` - # @return [Fixnum] - attr_accessor :ncbi_taxon_id - - # Free text description of this reference set. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Public id of this reference set, such as `GRCh37`. - # Corresponds to the JSON property `assemblyId` - # @return [String] - attr_accessor :assembly_id - - # The URI from which the references were obtained. - # Corresponds to the JSON property `sourceUri` - # @return [String] - attr_accessor :source_uri - - # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with - # a version number, for example `NC_000001.11`. - # Corresponds to the JSON property `sourceAccessions` - # @return [Array] - attr_accessor :source_accessions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @reference_ids = args[:reference_ids] if args.key?(:reference_ids) - @md5checksum = args[:md5checksum] if args.key?(:md5checksum) - @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) - @description = args[:description] if args.key?(:description) - @assembly_id = args[:assembly_id] if args.key?(:assembly_id) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @source_accessions = args[:source_accessions] if args.key?(:source_accessions) - end - end - - # - class SearchReferencesRequest - include Google::Apis::Core::Hashable - - # If present, return references for which the md5checksum matches exactly. - # Corresponds to the JSON property `md5checksums` - # @return [Array] - attr_accessor :md5checksums - - # If present, return references for which a prefix of any of sourceAccessions - # match any of these strings. Accession numbers typically have a main number and - # a version, for example `GCF_000001405.26`. - # Corresponds to the JSON property `accessions` - # @return [Array] - attr_accessor :accessions - - # If present, return only references which belong to this reference set. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. The maximum value is 4096. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @md5checksums = args[:md5checksums] if args.key?(:md5checksums) - @accessions = args[:accessions] if args.key?(:accessions) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - end - end - # class SearchReferencesResponse include Google::Apis::Core::Hashable @@ -2328,8 +3284,8 @@ module Google attr_accessor :references # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token @@ -2345,383 +3301,46 @@ module Google end end - # A reference is a canonical assembled DNA sequence, intended to act as a - # reference coordinate space for other genomic annotations. A single reference - # might represent the human chromosome 1 or mitochandrial DNA, for instance. A - # reference belongs to one or more reference sets. For more genomics resource - # definitions, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - class Reference - include Google::Apis::Core::Hashable - - # The server-generated reference ID, unique across all references. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The length of this reference's sequence. - # Corresponds to the JSON property `length` - # @return [String] - attr_accessor :length - - # MD5 of the upper-case sequence excluding all whitespace characters (this is - # equivalent to SQ:M5 in SAM). This value is represented in lower case - # hexadecimal format. - # Corresponds to the JSON property `md5checksum` - # @return [String] - attr_accessor :md5checksum - - # The name of this reference, for example `22`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The URI from which the sequence was obtained. Typically specifies a FASTA - # format file. - # Corresponds to the JSON property `sourceUri` - # @return [String] - attr_accessor :source_uri - - # All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with - # a version number, for example `GCF_000001405.26`. - # Corresponds to the JSON property `sourceAccessions` - # @return [Array] - attr_accessor :source_accessions - - # ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. - # Corresponds to the JSON property `ncbiTaxonId` - # @return [Fixnum] - attr_accessor :ncbi_taxon_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @length = args[:length] if args.key?(:length) - @md5checksum = args[:md5checksum] if args.key?(:md5checksum) - @name = args[:name] if args.key?(:name) - @source_uri = args[:source_uri] if args.key?(:source_uri) - @source_accessions = args[:source_accessions] if args.key?(:source_accessions) - @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id) - end - end - # - class ListBasesResponse + class SearchAnnotationSetsRequest include Google::Apis::Core::Hashable - # The offset position (0-based) of the given `sequence` from the start of this ` - # Reference`. This value will differ for each page in a paginated request. - # Corresponds to the JSON property `offset` - # @return [String] - attr_accessor :offset - - # A substring of the bases that make up this reference. - # Corresponds to the JSON property `sequence` - # @return [String] - attr_accessor :sequence - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` + # To get the next page of results, set this parameter to the value of + # `nextPageToken` from the previous response. + # Corresponds to the JSON property `pageToken` # @return [String] - attr_accessor :next_page_token + attr_accessor :page_token - def initialize(**args) - update!(**args) - end + # The maximum number of results to return in a single page. If unspecified, + # defaults to 128. The maximum value is 1024. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size - # Update properties of this object - def update!(**args) - @offset = args[:offset] if args.key?(:offset) - @sequence = args[:sequence] if args.key?(:sequence) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # The variant data import request. - class ImportVariantsRequest - include Google::Apis::Core::Hashable - - # Required. The variant set to which variant data should be imported. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # A list of URIs referencing variant files in Google Cloud Storage. URIs can - # include wildcards [as described here](https://cloud.google.com/storage/docs/ - # gsutil/addlhelp/WildcardNames). Note that recursive wildcards ('**') are not - # supported. - # Corresponds to the JSON property `sourceUris` - # @return [Array] - attr_accessor :source_uris - - # The format of the variant data being imported. If unspecified, defaults to to ` - # VCF`. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Convert reference names to the canonical representation. hg19 haploytypes ( - # those reference names containing "_hap") are not modified in any way. All - # other reference names are modified according to the following rules: The - # reference name is capitalized. The "chr" prefix is dropped for all autosomes - # and sex chromsomes. For example "chr17" becomes "17" and "chrX" becomes "X". - # All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT". - # Corresponds to the JSON property `normalizeReferenceNames` - # @return [Boolean] - attr_accessor :normalize_reference_names - alias_method :normalize_reference_names?, :normalize_reference_names - - # A mapping between info field keys and the InfoMergeOperations to be performed - # on them. This is plumbed down to the MergeVariantRequests generated by the - # resulting import job. - # Corresponds to the JSON property `infoMergeConfig` - # @return [Hash] - attr_accessor :info_merge_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @source_uris = args[:source_uris] if args.key?(:source_uris) - @format = args[:format] if args.key?(:format) - @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names) - @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) - end - end - - # A variant set is a collection of call sets and variants. It contains summary - # statistics of those contents. A variant set belongs to a dataset. For more - # genomics resource definitions, see [Fundamentals of Google Genomics](https:// - # cloud.google.com/genomics/fundamentals-of-google-genomics) - class VariantSet - include Google::Apis::Core::Hashable - - # The dataset to which this variant set belongs. - # Corresponds to the JSON property `datasetId` - # @return [String] - attr_accessor :dataset_id - - # The server-generated variant set ID, unique across all variant sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The reference set to which the variant set is mapped. The reference set - # describes the alignment provenance of the variant set, while the ` - # referenceBounds` describe the shape of the actual variant data. The reference - # set's reference names are a superset of those found in the `referenceBounds`. - # For example, given a variant set that is mapped to the GRCh38 reference set - # and contains a single variant on reference 'X', `referenceBounds` would - # contain only an entry for 'X', while the associated reference set enumerates - # all possible references: '1', '2', 'X', 'Y', 'MT', etc. - # Corresponds to the JSON property `referenceSetId` - # @return [String] - attr_accessor :reference_set_id - - # A list of all references used by the variants in a variant set with associated - # coordinate upper bounds for each one. - # Corresponds to the JSON property `referenceBounds` - # @return [Array] - attr_accessor :reference_bounds - - # The metadata associated with this variant set. - # Corresponds to the JSON property `metadata` - # @return [Array] - attr_accessor :metadata - - # User-specified, mutable name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A textual description of this variant set. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dataset_id = args[:dataset_id] if args.key?(:dataset_id) - @id = args[:id] if args.key?(:id) - @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) - @reference_bounds = args[:reference_bounds] if args.key?(:reference_bounds) - @metadata = args[:metadata] if args.key?(:metadata) - @name = args[:name] if args.key?(:name) - @description = args[:description] if args.key?(:description) - end - end - - # ReferenceBound records an upper bound for the starting coordinate of variants - # in a particular reference. - class ReferenceBound - include Google::Apis::Core::Hashable - - # The name of the reference associated with this reference bound. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # An upper bound (inclusive) on the starting coordinate of any variant in the - # reference sequence. - # Corresponds to the JSON property `upperBound` - # @return [String] - attr_accessor :upper_bound - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @upper_bound = args[:upper_bound] if args.key?(:upper_bound) - end - end - - # Metadata describes a single piece of variant call metadata. These data include - # a top level key and either a single value string (value) or a list of key- - # value pairs (info.) Value and info are mutually exclusive. - class VariantSetMetadata - include Google::Apis::Core::Hashable - - # The top-level key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # The value field for simple metadata - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # User-provided ID field, not enforced by this API. Two or more pieces of - # structured metadata with identical id and key fields are considered equivalent. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The type of data. Possible types include: Integer, Float, Flag, Character, and - # String. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The number of values that can be included in a field described by this - # metadata. - # Corresponds to the JSON property `number` - # @return [String] - attr_accessor :number - - # A textual description of this metadata. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Remaining structured metadata key-value pairs. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @value = args[:value] if args.key?(:value) - @id = args[:id] if args.key?(:id) - @type = args[:type] if args.key?(:type) - @number = args[:number] if args.key?(:number) - @description = args[:description] if args.key?(:description) - @info = args[:info] if args.key?(:info) - end - end - - # The variant data export request. - class ExportVariantSetRequest - include Google::Apis::Core::Hashable - - # If provided, only variant call information from the specified call sets will - # be exported. By default all variant calls are exported. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # Required. The Google Cloud project ID that owns the destination BigQuery - # dataset. The caller must have WRITE access to this project. This project will - # also own the resulting export job. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The format for the exported data. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Required. The BigQuery dataset to export data to. This dataset must already - # exist. Note that this is distinct from the Genomics concept of "dataset". - # Corresponds to the JSON property `bigqueryDataset` - # @return [String] - attr_accessor :bigquery_dataset - - # Required. The BigQuery table to export data to. If the table doesn't exist, it - # will be created. If it already exists, it will be overwritten. - # Corresponds to the JSON property `bigqueryTable` - # @return [String] - attr_accessor :bigquery_table - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @project_id = args[:project_id] if args.key?(:project_id) - @format = args[:format] if args.key?(:format) - @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset) - @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table) - end - end - - # The search variant sets request. - class SearchVariantSetsRequest - include Google::Apis::Core::Hashable - - # Exactly one dataset ID must be provided here. Only variant sets which belong - # to this dataset will be returned. + # Required. The dataset IDs to search within. Caller must have `READ` access + # to these datasets. # Corresponds to the JSON property `datasetIds` # @return [Array] attr_accessor :dataset_ids - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token + # If specified, only annotation sets that have any of these types are + # returned. + # Corresponds to the JSON property `types` + # @return [Array] + attr_accessor :types - # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size + # Only return annotations sets for which a substring of the name matches this + # string (case insensitive). + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # If specified, only annotation sets associated with the given reference set + # are returned. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id def initialize(**args) update!(**args) @@ -2729,99 +3348,68 @@ module Google # Update properties of this object def update!(**args) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) + @types = args[:types] if args.key?(:types) + @name = args[:name] if args.key?(:name) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) end end - # The search variant sets response. - class SearchVariantSetsResponse + # The read group set search response. + class SearchReadGroupSetsResponse include Google::Apis::Core::Hashable - # The variant sets belonging to the requested dataset. - # Corresponds to the JSON property `variantSets` - # @return [Array] - attr_accessor :variant_sets - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. + # Provide this value in a subsequent request to return the next page of + # results. This field will be empty if there aren't any additional results. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # The list of matching read group sets. + # Corresponds to the JSON property `readGroupSets` + # @return [Array] + attr_accessor :read_group_sets + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @variant_sets = args[:variant_sets] if args.key?(:variant_sets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @read_group_sets = args[:read_group_sets] if args.key?(:read_group_sets) end end - # The variant search request. - class SearchVariantsRequest + # A linear alignment can be represented by one CIGAR string. Describes the + # mapped position and local alignment of the read to the reference. + class LinearAlignment include Google::Apis::Core::Hashable - # At most one variant set ID must be provided. Only variants from this variant - # set will be returned. If omitted, a call set id must be included in the - # request. - # Corresponds to the JSON property `variantSetIds` - # @return [Array] - attr_accessor :variant_set_ids + # An abstraction for referring to a genomic position, in relation to some + # already known reference. For now, represents a genomic position as a + # reference name, a base number on that reference (0-based), and a + # determination of forward or reverse strand. + # Corresponds to the JSON property `position` + # @return [Google::Apis::GenomicsV1::Position] + attr_accessor :position - # Only return variants which have exactly this name. - # Corresponds to the JSON property `variantName` - # @return [String] - attr_accessor :variant_name + # Represents the local alignment of this sequence (alignment matches, indels, + # etc) against the reference. + # Corresponds to the JSON property `cigar` + # @return [Array] + attr_accessor :cigar - # Only return variant calls which belong to call sets with these ids. Leaving - # this blank returns all variant calls. If a variant has no calls belonging to - # any of these call sets, it won't be returned at all. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # Required. Only return variants in this reference sequence. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The beginning of the window (0-based, inclusive) for which overlapping - # variants should be returned. If unspecified, defaults to 0. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end of the window, 0-based exclusive. If unspecified or 0, defaults to the - # length of the reference. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # 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 ` - # nextPageToken` from the previous response. - # Corresponds to the JSON property `pageToken` - # @return [String] - attr_accessor :page_token - - # The maximum number of variants to return in a single page. If unspecified, - # defaults to 5000. The maximum value is 10000. - # Corresponds to the JSON property `pageSize` + # The mapping quality of this alignment. Represents how likely + # the read maps to this position as opposed to other locations. + # Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to + # the nearest integer. + # Corresponds to the JSON property `mappingQuality` # @return [Fixnum] - attr_accessor :page_size - - # The maximum number of calls to return in a single page. Note that this limit - # may be exceeded in the event that a matching variant contains more calls than - # the requested maximum. If unspecified, defaults to 5000. The maximum value is - # 10000. - # Corresponds to the JSON property `maxCalls` - # @return [Fixnum] - attr_accessor :max_calls + attr_accessor :mapping_quality def initialize(**args) update!(**args) @@ -2829,638 +3417,59 @@ module Google # Update properties of this object def update!(**args) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @variant_name = args[:variant_name] if args.key?(:variant_name) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @page_token = args[:page_token] if args.key?(:page_token) - @page_size = args[:page_size] if args.key?(:page_size) - @max_calls = args[:max_calls] if args.key?(:max_calls) - end - end - - # The variant search response. - class SearchVariantsResponse - include Google::Apis::Core::Hashable - - # The list of matching Variants. - # Corresponds to the JSON property `variants` - # @return [Array] - attr_accessor :variants - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variants = args[:variants] if args.key?(:variants) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A variant represents a change in DNA sequence relative to a reference sequence. - # For example, a variant could represent a SNP or an insertion. Variants belong - # to a variant set. For more genomics resource definitions, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) Each of the calls on a variant represent a determination of genotype - # with respect to that variant. For example, a call might assign probability of - # 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call - # belongs to a call set, which contains related calls typically from one sample. - class Variant - include Google::Apis::Core::Hashable - - # The ID of the variant set this variant belongs to. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # The server-generated variant ID, unique across all variants. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Names for the variant, for example a RefSNP ID. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - # The date this variant was created, in milliseconds from the epoch. - # Corresponds to the JSON property `created` - # @return [String] - attr_accessor :created - - # The reference on which this variant occurs. (such as `chr20` or `X`) - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The position at which this variant occurs (0-based). This corresponds to the - # first base of the string of reference bases. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end position (0-based) of this variant. This corresponds to the first base - # after the last base in the reference allele. So, the length of the reference - # allele is (end - start). This is useful for variants that don't explicitly - # give alternate bases, for example large deletions. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - # The reference bases for this variant. They start at the given position. - # Corresponds to the JSON property `referenceBases` - # @return [String] - attr_accessor :reference_bases - - # The bases that appear instead of the reference bases. - # Corresponds to the JSON property `alternateBases` - # @return [Array] - attr_accessor :alternate_bases - - # A measure of how likely this variant is to be real. A higher value is better. - # Corresponds to the JSON property `quality` - # @return [Float] - attr_accessor :quality - - # A list of filters (normally quality filters) this variant has failed. `PASS` - # indicates this variant has passed all filters. - # Corresponds to the JSON property `filter` - # @return [Array] - attr_accessor :filter - - # A map of additional variant information. This must be of the form map (string - # key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - # The variant calls for this particular variant. Each one represents the - # determination of genotype with respect to this variant. - # Corresponds to the JSON property `calls` - # @return [Array] - attr_accessor :calls - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @id = args[:id] if args.key?(:id) - @names = args[:names] if args.key?(:names) - @created = args[:created] if args.key?(:created) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - @reference_bases = args[:reference_bases] if args.key?(:reference_bases) - @alternate_bases = args[:alternate_bases] if args.key?(:alternate_bases) - @quality = args[:quality] if args.key?(:quality) - @filter = args[:filter] if args.key?(:filter) - @info = args[:info] if args.key?(:info) - @calls = args[:calls] if args.key?(:calls) - end - end - - # A call represents the determination of genotype with respect to a particular - # variant. It may include associated information such as quality and phasing. - # For example, a call might assign a probability of 0.32 to the occurrence of a - # SNP named rs1234 in a call set with the name NA12345. - class VariantCall - include Google::Apis::Core::Hashable - - # The ID of the call set this variant call belongs to. - # Corresponds to the JSON property `callSetId` - # @return [String] - attr_accessor :call_set_id - - # The name of the call set this variant call belongs to. - # Corresponds to the JSON property `callSetName` - # @return [String] - attr_accessor :call_set_name - - # The genotype of this variant call. Each value represents either the value of - # the `referenceBases` field or a 1-based index into `alternateBases`. If a - # variant had a `referenceBases` value of `T` and an `alternateBases` value of `[ - # "A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call - # represented the heterozygous value `CA` for this variant. If the `genotype` - # was instead `[0, 1]`, the represented value would be `TA`. Ordering of the - # genotype values is important if the `phaseset` is present. If a genotype is - # not called (that is, a `.` is present in the GT string) -1 is returned. - # Corresponds to the JSON property `genotype` - # @return [Array] - attr_accessor :genotype - - # If this field is present, this variant call's genotype ordering implies the - # phase of the bases and is consistent with any other variant calls in the same - # reference sequence which have the same phaseset value. When importing data - # from VCF, if the genotype data was phased but no phase set was specified this - # field will be set to `*`. - # Corresponds to the JSON property `phaseset` - # @return [String] - attr_accessor :phaseset - - # The genotype likelihoods for this variant call. Each array entry represents - # how likely a specific genotype is for this call. The value ordering is defined - # by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) - # are available and log10(P) genotype likelihood scores (GL) are not, PL scores - # are converted to GL scores. If both are available, PL scores are stored in ` - # info`. - # Corresponds to the JSON property `genotypeLikelihood` - # @return [Array] - attr_accessor :genotype_likelihood - - # A map of additional variant call information. This must be of the form map ( - # string key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_id = args[:call_set_id] if args.key?(:call_set_id) - @call_set_name = args[:call_set_name] if args.key?(:call_set_name) - @genotype = args[:genotype] if args.key?(:genotype) - @phaseset = args[:phaseset] if args.key?(:phaseset) - @genotype_likelihood = args[:genotype_likelihood] if args.key?(:genotype_likelihood) - @info = args[:info] if args.key?(:info) + @position = args[:position] if args.key?(:position) + @cigar = args[:cigar] if args.key?(:cigar) + @mapping_quality = args[:mapping_quality] if args.key?(:mapping_quality) end end # - class MergeVariantsRequest + class SearchReferencesRequest include Google::Apis::Core::Hashable - # The destination variant set. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # The variants to be merged with existing variants. - # Corresponds to the JSON property `variants` - # @return [Array] - attr_accessor :variants - - # A mapping between info field keys and the InfoMergeOperations to be performed - # on them. - # Corresponds to the JSON property `infoMergeConfig` - # @return [Hash] - attr_accessor :info_merge_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @variants = args[:variants] if args.key?(:variants) - @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) - end - end - - # The call set search request. - class SearchCallSetsRequest - include Google::Apis::Core::Hashable - - # Restrict the query to call sets within the given variant sets. At least one ID - # must be provided. - # Corresponds to the JSON property `variantSetIds` + # If present, return references for which a prefix of any of + # sourceAccessions match + # any of these strings. Accession numbers typically have a main number and a + # version, for example `GCF_000001405.26`. + # Corresponds to the JSON property `accessions` # @return [Array] - attr_accessor :variant_set_ids + attr_accessor :accessions - # Only return call sets for which a substring of the name matches this string. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # 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 ` - # nextPageToken` from the previous response. + # 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 + # `nextPageToken` from the previous response. # Corresponds to the JSON property `pageToken` # @return [String] attr_accessor :page_token + # If present, return only references which belong to this reference set. + # Corresponds to the JSON property `referenceSetId` + # @return [String] + attr_accessor :reference_set_id + # The maximum number of results to return in a single page. If unspecified, - # defaults to 1024. + # defaults to 1024. The maximum value is 4096. # Corresponds to the JSON property `pageSize` # @return [Fixnum] attr_accessor :page_size + # If present, return references for which the + # md5checksum matches exactly. + # Corresponds to the JSON property `md5checksums` + # @return [Array] + attr_accessor :md5checksums + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @name = args[:name] if args.key?(:name) + @accessions = args[:accessions] if args.key?(:accessions) @page_token = args[:page_token] if args.key?(:page_token) + @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @page_size = args[:page_size] if args.key?(:page_size) - end - end - - # The call set search response. - class SearchCallSetsResponse - include Google::Apis::Core::Hashable - - # The list of matching call sets. - # Corresponds to the JSON property `callSets` - # @return [Array] - attr_accessor :call_sets - - # The continuation token, which is used to page through large result sets. - # Provide this value in a subsequent request to return the next page of results. - # This field will be empty if there aren't any additional results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_sets = args[:call_sets] if args.key?(:call_sets) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A call set is a collection of variant calls, typically for one sample. It - # belongs to a variant set. For more genomics resource definitions, see [ - # Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) - class CallSet - include Google::Apis::Core::Hashable - - # The server-generated call set ID, unique across all call sets. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The call set name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The sample ID this call set corresponds to. - # Corresponds to the JSON property `sampleId` - # @return [String] - attr_accessor :sample_id - - # The IDs of the variant sets this call set belongs to. This field must have - # exactly length one, as a call set belongs to a single variant set. This field - # is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ - # ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76). - # Corresponds to the JSON property `variantSetIds` - # @return [Array] - attr_accessor :variant_set_ids - - # The date this call set was created in milliseconds from the epoch. - # Corresponds to the JSON property `created` - # @return [String] - attr_accessor :created - - # A map of additional call set information. This must be of the form map (string - # key mapping to a list of string values). - # Corresponds to the JSON property `info` - # @return [Hash>] - attr_accessor :info - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @sample_id = args[:sample_id] if args.key?(:sample_id) - @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) - @created = args[:created] if args.key?(:created) - @info = args[:info] if args.key?(:info) - end - end - - # The stream variants request. - class StreamVariantsRequest - include Google::Apis::Core::Hashable - - # The Google Developers Console project ID or number which will be billed for - # this access. The caller must have WRITE access to this project. Required. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The variant set ID from which to stream variants. - # Corresponds to the JSON property `variantSetId` - # @return [String] - attr_accessor :variant_set_id - - # Only return variant calls which belong to call sets with these IDs. Leaving - # this blank returns all variant calls. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - # Required. Only return variants in this reference sequence. - # Corresponds to the JSON property `referenceName` - # @return [String] - attr_accessor :reference_name - - # The beginning of the window (0-based, inclusive) for which overlapping - # variants should be returned. - # Corresponds to the JSON property `start` - # @return [String] - attr_accessor :start - - # The end of the window (0-based, exclusive) for which overlapping variants - # should be returned. - # Corresponds to the JSON property `end` - # @return [String] - attr_accessor :end - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - @reference_name = args[:reference_name] if args.key?(:reference_name) - @start = args[:start] if args.key?(:start) - @end = args[:end] if args.key?(:end) - end - end - - # - class StreamVariantsResponse - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `variants` - # @return [Array] - attr_accessor :variants - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @variants = args[:variants] if args.key?(:variants) - end - end - - # The read group set import response. - class ImportReadGroupSetsResponse - include Google::Apis::Core::Hashable - - # IDs of the read group sets that were created. - # Corresponds to the JSON property `readGroupSetIds` - # @return [Array] - attr_accessor :read_group_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) - end - end - - # The variant data import response. - class ImportVariantsResponse - include Google::Apis::Core::Hashable - - # IDs of the call sets created during the import. - # Corresponds to the JSON property `callSetIds` - # @return [Array] - attr_accessor :call_set_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids) - end - end - - # Metadata describing an Operation. - class OperationMetadata - include Google::Apis::Core::Hashable - - # The Google Cloud Project in which the job is scoped. - # Corresponds to the JSON property `projectId` - # @return [String] - attr_accessor :project_id - - # The time at which the job was submitted to the Genomics service. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # The time at which the job began to run. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The time at which the job stopped running. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The original request that started the operation. Note that this will be in - # current version of the API. If the operation was started with v1beta2 API and - # a GetOperation is performed on v1 API, a v1 request will be returned. - # Corresponds to the JSON property `request` - # @return [Hash] - attr_accessor :request - - # Optional event messages that were generated during the job's execution. This - # also contains any warnings that were generated during import or export. - # Corresponds to the JSON property `events` - # @return [Array] - attr_accessor :events - - # Optionally provided by the caller when submitting the request that creates the - # operation. - # Corresponds to the JSON property `clientId` - # @return [String] - attr_accessor :client_id - - # Runtime metadata on this Operation. - # Corresponds to the JSON property `runtimeMetadata` - # @return [Hash] - attr_accessor :runtime_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @project_id = args[:project_id] if args.key?(:project_id) - @create_time = args[:create_time] if args.key?(:create_time) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - @request = args[:request] if args.key?(:request) - @events = args[:events] if args.key?(:events) - @client_id = args[:client_id] if args.key?(:client_id) - @runtime_metadata = args[:runtime_metadata] if args.key?(:runtime_metadata) - end - end - - # An event that occurred during an Operation. - class OperationEvent - include Google::Apis::Core::Hashable - - # Optional time of when event started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Optional time of when event finished. An event can have a start time and no - # finish time. If an event has a finish time, there must be a start time. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Required description of event. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - @description = args[:description] if args.key?(:description) - end - end - - # Runtime metadata that will be populated in the runtimeMetadata field of the - # Operation associated with a RunPipeline execution. - class RuntimeMetadata - include Google::Apis::Core::Hashable - - # Describes a Compute Engine resource that is being managed by a running - # pipeline. - # Corresponds to the JSON property `computeEngine` - # @return [Google::Apis::GenomicsV1::ComputeEngine] - attr_accessor :compute_engine - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @compute_engine = args[:compute_engine] if args.key?(:compute_engine) - end - end - - # Describes a Compute Engine resource that is being managed by a running - # pipeline. - class ComputeEngine - include Google::Apis::Core::Hashable - - # The instance on which the operation is running. - # Corresponds to the JSON property `instanceName` - # @return [String] - attr_accessor :instance_name - - # The availability zone in which the instance resides. - # Corresponds to the JSON property `zone` - # @return [String] - attr_accessor :zone - - # The machine type of the instance. - # Corresponds to the JSON property `machineType` - # @return [String] - attr_accessor :machine_type - - # The names of the disks that were created for this pipeline. - # Corresponds to the JSON property `diskNames` - # @return [Array] - attr_accessor :disk_names - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @instance_name = args[:instance_name] if args.key?(:instance_name) - @zone = args[:zone] if args.key?(:zone) - @machine_type = args[:machine_type] if args.key?(:machine_type) - @disk_names = args[:disk_names] if args.key?(:disk_names) + @md5checksums = args[:md5checksums] if args.key?(:md5checksums) end end end diff --git a/generated/google/apis/genomics_v1/representations.rb b/generated/google/apis/genomics_v1/representations.rb index 55e4b46db..f281ff20e 100644 --- a/generated/google/apis/genomics_v1/representations.rb +++ b/generated/google/apis/genomics_v1/representations.rb @@ -22,205 +22,13 @@ module Google module Apis module GenomicsV1 - class AnnotationSet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Annotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class VariantAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClinicalCondition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExternalId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Transcript - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Exon - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CodingSequence - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchCreateAnnotationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchCreateAnnotationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Entry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchAnnotationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListDatasetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Dataset class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class UndeleteDatasetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Binding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListOperationsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CancelOperationRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImportReadGroupSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExportReadGroupSetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadGroupSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadGroupSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ReadGroupSet + class ImportVariantsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -232,55 +40,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Experiment + class ReadGroupSet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Program + class SearchVariantSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListCoverageBucketsResponse + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CoverageBucket - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Range - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReadsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Read - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LinearAlignment + class Entry class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -292,55 +70,73 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CigarUnit - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamReadsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamReadsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchReferenceSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class SearchReferenceSetsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ReferenceSet + class SearchCallSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SearchReferencesRequest + class ImportReadGroupSetsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SearchReferencesResponse + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Reference + class SearchReadsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Annotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RuntimeMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImportReadGroupSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantCall + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchVariantsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -352,7 +148,25 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ImportVariantsRequest + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UndeleteDatasetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Range class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -370,61 +184,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class VariantSetMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ExportVariantSetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchVariantSetsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchVariantSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchVariantsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Variant - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class VariantCall - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MergeVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SearchCallSetsRequest + class BatchCreateAnnotationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -436,31 +196,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class CallSet + class Variant class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class StreamVariantsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class StreamVariantsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImportReadGroupSetsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImportVariantsResponse + class ListOperationsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -472,13 +214,37 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class OperationEvent + class SearchVariantsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class RuntimeMetadata + class SearchReadGroupSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReadsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClinicalCondition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Program class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -490,20 +256,279 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CoverageBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExternalId + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchVariantSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantSetMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Reference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReferenceSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MergeVariantsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Read + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchCreateAnnotationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CigarUnit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReferenceSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Transcript + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AnnotationSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Experiment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListDatasetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExportReadGroupSetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Exon + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CallSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImportVariantsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCoverageBucketsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VariantAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExportVariantSetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OperationEvent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CodingSequence + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReferencesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchAnnotationSetsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReadGroupSetsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LinearAlignment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SearchReferencesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dataset # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :dataset_id, as: 'datasetId' - property :reference_set_id, as: 'referenceSetId' property :name, as: 'name' - property :source_uri, as: 'sourceUri' - property :type, as: 'type' + property :project_id, as: 'projectId' + property :id, as: 'id' + property :create_time, as: 'createTime' + end + end + + class ImportVariantsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :call_set_ids, as: 'callSetIds' + end + end + + class ReadGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' hash :info, as: 'info', :class => Array do include Representable::JSON::Collection items end + property :id, as: 'id' + collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation + + property :predicted_insert_size, as: 'predictedInsertSize' + property :description, as: 'description' + property :sample_id, as: 'sampleId' + property :dataset_id, as: 'datasetId' + property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1::Experiment, decorator: Google::Apis::GenomicsV1::Experiment::Representation + + end + end + + class ReadGroupSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation + + property :filename, as: 'filename' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :id, as: 'id' + property :dataset_id, as: 'datasetId' + end + end + + class SearchVariantSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation + end end @@ -513,129 +538,6 @@ module Google end end - class SearchAnnotationSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dataset_ids, as: 'datasetIds' - property :reference_set_id, as: 'referenceSetId' - property :name, as: 'name' - collection :types, as: 'types' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchAnnotationSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Annotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :annotation_set_id, as: 'annotationSetId' - property :name, as: 'name' - property :reference_id, as: 'referenceId' - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :reverse_strand, as: 'reverseStrand' - property :type, as: 'type' - property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation - - property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation - - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class VariantAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :effect, as: 'effect' - property :alternate_bases, as: 'alternateBases' - property :gene_id, as: 'geneId' - collection :transcript_ids, as: 'transcriptIds' - collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation - - property :clinical_significance, as: 'clinicalSignificance' - end - end - - class ClinicalCondition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :names, as: 'names' - collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation - - property :concept_id, as: 'conceptId' - property :omim_id, as: 'omimId' - end - end - - class ExternalId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source_name, as: 'sourceName' - property :id, as: 'id' - end - end - - class Transcript - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gene_id, as: 'geneId' - collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation - - property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation - - end - end - - class Exon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :end, as: 'end' - property :frame, as: 'frame' - end - end - - class CodingSequence - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start, as: 'start' - property :end, as: 'end' - end - end - - class BatchCreateAnnotationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - property :request_id, as: 'requestId' - end - end - - class BatchCreateAnnotationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation - - end - end - class Entry # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -646,371 +548,12 @@ module Google end end - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class SearchAnnotationsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotation_set_ids, as: 'annotationSetIds' - property :reference_id, as: 'referenceId' - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchAnnotationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ListDatasetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Dataset - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :project_id, as: 'projectId' - property :name, as: 'name' - property :create_time, as: 'createTime' - end - end - - class UndeleteDatasetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::GenomicsV1::Policy, decorator: Google::Apis::GenomicsV1::Policy::Representation - - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation - - property :etag, :base64 => true, as: 'etag' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - collection :members, as: 'members' - end - end - - class GetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :metadata, as: 'metadata' - property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - - hash :response, as: 'response' - end - end - - class ListOperationsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class CancelOperationRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class ImportReadGroupSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dataset_id, as: 'datasetId' - property :reference_set_id, as: 'referenceSetId' - collection :source_uris, as: 'sourceUris' - property :partition_strategy, as: 'partitionStrategy' - end - end - - class ExportReadGroupSetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :export_uri, as: 'exportUri' - collection :reference_names, as: 'referenceNames' - end - end - - class SearchReadGroupSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dataset_ids, as: 'datasetIds' - property :name, as: 'name' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchReadGroupSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ReadGroupSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :dataset_id, as: 'datasetId' - property :reference_set_id, as: 'referenceSetId' - property :name, as: 'name' - property :filename, as: 'filename' - collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation - - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class ReadGroup - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :dataset_id, as: 'datasetId' - property :name, as: 'name' - property :description, as: 'description' - property :sample_id, as: 'sampleId' - property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1::Experiment, decorator: Google::Apis::GenomicsV1::Experiment::Representation - - property :predicted_insert_size, as: 'predictedInsertSize' - collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation - - property :reference_set_id, as: 'referenceSetId' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class Experiment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :library_id, as: 'libraryId' - property :platform_unit, as: 'platformUnit' - property :sequencing_center, as: 'sequencingCenter' - property :instrument_model, as: 'instrumentModel' - end - end - - class Program - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :command_line, as: 'commandLine' - property :id, as: 'id' - property :name, as: 'name' - property :prev_program_id, as: 'prevProgramId' - property :version, as: 'version' - end - end - - class ListCoverageBucketsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bucket_width, as: 'bucketWidth' - collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class CoverageBucket - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation - - property :mean_coverage, as: 'meanCoverage' - end - end - - class Range - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - end - end - - class SearchReadsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :read_group_set_ids, as: 'readGroupSetIds' - collection :read_group_ids, as: 'readGroupIds' - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchReadsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Read - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :read_group_id, as: 'readGroupId' - property :read_group_set_id, as: 'readGroupSetId' - property :fragment_name, as: 'fragmentName' - property :proper_placement, as: 'properPlacement' - property :duplicate_fragment, as: 'duplicateFragment' - property :fragment_length, as: 'fragmentLength' - property :read_number, as: 'readNumber' - property :number_reads, as: 'numberReads' - property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' - property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation - - property :secondary_alignment, as: 'secondaryAlignment' - property :supplementary_alignment, as: 'supplementaryAlignment' - property :aligned_sequence, as: 'alignedSequence' - collection :aligned_quality, as: 'alignedQuality' - property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation - - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class LinearAlignment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation - - property :mapping_quality, as: 'mappingQuality' - collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation - - end - end - class Position # @private class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' property :position, as: 'position' - property :reverse_strand, as: 'reverseStrand' - end - end - - class CigarUnit - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :operation, as: 'operation' - property :operation_length, as: 'operationLength' - property :reference_sequence, as: 'referenceSequence' - end - end - - class StreamReadsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :read_group_set_id, as: 'readGroupSetId' property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :shard, as: 'shard' - property :total_shards, as: 'totalShards' - end - end - - class StreamReadsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation - - end - end - - class SearchReferenceSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :md5checksums, as: 'md5checksums' - collection :accessions, as: 'accessions' - property :assembly_id, as: 'assemblyId' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' + property :reverse_strand, as: 'reverseStrand' end end @@ -1023,216 +566,6 @@ module Google end end - class ReferenceSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - collection :reference_ids, as: 'referenceIds' - property :md5checksum, as: 'md5checksum' - property :ncbi_taxon_id, as: 'ncbiTaxonId' - property :description, as: 'description' - property :assembly_id, as: 'assemblyId' - property :source_uri, as: 'sourceUri' - collection :source_accessions, as: 'sourceAccessions' - end - end - - class SearchReferencesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :md5checksums, as: 'md5checksums' - collection :accessions, as: 'accessions' - property :reference_set_id, as: 'referenceSetId' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchReferencesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Reference - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :length, as: 'length' - property :md5checksum, as: 'md5checksum' - property :name, as: 'name' - property :source_uri, as: 'sourceUri' - collection :source_accessions, as: 'sourceAccessions' - property :ncbi_taxon_id, as: 'ncbiTaxonId' - end - end - - class ListBasesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :offset, as: 'offset' - property :sequence, as: 'sequence' - property :next_page_token, as: 'nextPageToken' - end - end - - class ImportVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :variant_set_id, as: 'variantSetId' - collection :source_uris, as: 'sourceUris' - property :format, as: 'format' - property :normalize_reference_names, as: 'normalizeReferenceNames' - hash :info_merge_config, as: 'infoMergeConfig' - end - end - - class VariantSet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :dataset_id, as: 'datasetId' - property :id, as: 'id' - property :reference_set_id, as: 'referenceSetId' - collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation - - collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation - - property :name, as: 'name' - property :description, as: 'description' - end - end - - class ReferenceBound - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :reference_name, as: 'referenceName' - property :upper_bound, as: 'upperBound' - end - end - - class VariantSetMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value, as: 'value' - property :id, as: 'id' - property :type, as: 'type' - property :number, as: 'number' - property :description, as: 'description' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class ExportVariantSetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :call_set_ids, as: 'callSetIds' - property :project_id, as: 'projectId' - property :format, as: 'format' - property :bigquery_dataset, as: 'bigqueryDataset' - property :bigquery_table, as: 'bigqueryTable' - end - end - - class SearchVariantSetsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :dataset_ids, as: 'datasetIds' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - end - end - - class SearchVariantSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class SearchVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variant_set_ids, as: 'variantSetIds' - property :variant_name, as: 'variantName' - collection :call_set_ids, as: 'callSetIds' - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :page_token, as: 'pageToken' - property :page_size, as: 'pageSize' - property :max_calls, as: 'maxCalls' - end - end - - class SearchVariantsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Variant - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :variant_set_id, as: 'variantSetId' - property :id, as: 'id' - collection :names, as: 'names' - property :created, as: 'created' - property :reference_name, as: 'referenceName' - property :start, as: 'start' - property :end, as: 'end' - property :reference_bases, as: 'referenceBases' - collection :alternate_bases, as: 'alternateBases' - property :quality, as: 'quality' - collection :filter, as: 'filter' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation - - end - end - - class VariantCall - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :call_set_id, as: 'callSetId' - property :call_set_name, as: 'callSetName' - collection :genotype, as: 'genotype' - property :phaseset, as: 'phaseset' - collection :genotype_likelihood, as: 'genotypeLikelihood' - hash :info, as: 'info', :class => Array do - include Representable::JSON::Collection - items - end - - end - end - - class MergeVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :variant_set_id, as: 'variantSetId' - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation - - hash :info_merge_config, as: 'infoMergeConfig' - end - end - class SearchCallSetsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1243,86 +576,78 @@ module Google end end - class SearchCallSetsResponse + class ImportReadGroupSetsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation - - property :next_page_token, as: 'nextPageToken' + property :reference_set_id, as: 'referenceSetId' + property :partition_strategy, as: 'partitionStrategy' + property :dataset_id, as: 'datasetId' + collection :source_uris, as: 'sourceUris' end end - class CallSet + class Policy # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - property :sample_id, as: 'sampleId' - collection :variant_set_ids, as: 'variantSetIds' - property :created, as: 'created' + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + collection :bindings, as: 'bindings', class: Google::Apis::GenomicsV1::Binding, decorator: Google::Apis::GenomicsV1::Binding::Representation + + end + end + + class SearchReadsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :read_group_ids, as: 'readGroupIds' + property :end, as: 'end' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + property :start, as: 'start' + property :reference_name, as: 'referenceName' + collection :read_group_set_ids, as: 'readGroupSetIds' + end + end + + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Annotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reverse_strand, as: 'reverseStrand' + property :reference_name, as: 'referenceName' hash :info, as: 'info', :class => Array do include Representable::JSON::Collection items end - end - end - - class StreamVariantsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :variant_set_id, as: 'variantSetId' - collection :call_set_ids, as: 'callSetIds' - property :reference_name, as: 'referenceName' - property :start, as: 'start' + property :type, as: 'type' property :end, as: 'end' + property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation + + property :start, as: 'start' + property :annotation_set_id, as: 'annotationSetId' + property :name, as: 'name' + property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation + + property :reference_id, as: 'referenceId' + property :id, as: 'id' end end - class StreamVariantsResponse + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation - end - end - - class ImportReadGroupSetsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :read_group_set_ids, as: 'readGroupSetIds' - end - end - - class ImportVariantsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :call_set_ids, as: 'callSetIds' - end - end - - class OperationMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :project_id, as: 'projectId' - property :create_time, as: 'createTime' - property :start_time, as: 'startTime' - property :end_time, as: 'endTime' - hash :request, as: 'request' - collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation - - property :client_id, as: 'clientId' - hash :runtime_metadata, as: 'runtimeMetadata' - end - end - - class OperationEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_time, as: 'startTime' - property :end_time, as: 'endTime' - property :description, as: 'description' + hash :metadata, as: 'metadata' + property :done, as: 'done' end end @@ -1334,13 +659,624 @@ module Google end end + class ImportReadGroupSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :read_group_set_ids, as: 'readGroupSetIds' + end + end + + class VariantCall + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :call_set_name, as: 'callSetName' + collection :genotype_likelihood, as: 'genotypeLikelihood' + property :call_set_id, as: 'callSetId' + collection :genotype, as: 'genotype' + property :phaseset, as: 'phaseset' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + end + end + + class SearchVariantsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ListBasesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :sequence, as: 'sequence' + property :offset, as: 'offset' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :message, as: 'message' + collection :details, as: 'details' + property :code, as: 'code' + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class UndeleteDatasetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + property :start, as: 'start' + property :end, as: 'end' + end + end + + class VariantSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset_id, as: 'datasetId' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation + + collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation + + property :id, as: 'id' + property :description, as: 'description' + end + end + + class ReferenceBound + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :upper_bound, as: 'upperBound' + property :reference_name, as: 'referenceName' + end + end + + class BatchCreateAnnotationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation + + end + end + + class SearchCallSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation + + end + end + + class Variant + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :reference_name, as: 'referenceName' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :reference_bases, as: 'referenceBases' + collection :alternate_bases, as: 'alternateBases' + collection :names, as: 'names' + collection :filter, as: 'filter' + property :end, as: 'end' + collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation + + property :created, as: 'created' + property :start, as: 'start' + property :quality, as: 'quality' + property :id, as: 'id' + property :variant_set_id, as: 'variantSetId' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation + + end + end + + class OperationMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_id, as: 'clientId' + collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation + + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + hash :request, as: 'request' + hash :runtime_metadata, as: 'runtimeMetadata' + property :create_time, as: 'createTime' + hash :labels, as: 'labels' + property :project_id, as: 'projectId' + end + end + + class SearchVariantsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :variant_set_ids, as: 'variantSetIds' + property :end, as: 'end' + property :page_token, as: 'pageToken' + property :max_calls, as: 'maxCalls' + property :page_size, as: 'pageSize' + collection :call_set_ids, as: 'callSetIds' + property :variant_name, as: 'variantName' + property :start, as: 'start' + property :reference_name, as: 'referenceName' + end + end + + class SearchReadGroupSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :dataset_ids, as: 'datasetIds' + property :name, as: 'name' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class SearchAnnotationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation + + end + end + + class SearchReadsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation + + end + end + + class ClinicalCondition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :concept_id, as: 'conceptId' + collection :names, as: 'names' + property :omim_id, as: 'omimId' + collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation + + end + end + + class Program + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :command_line, as: 'commandLine' + property :prev_program_id, as: 'prevProgramId' + property :id, as: 'id' + property :version, as: 'version' + property :name, as: 'name' + end + end + class ComputeEngine # @private class Representation < Google::Apis::Core::JsonRepresentation - property :instance_name, as: 'instanceName' - property :zone, as: 'zone' property :machine_type, as: 'machineType' collection :disk_names, as: 'diskNames' + property :instance_name, as: 'instanceName' + property :zone, as: 'zone' + end + end + + class CoverageBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mean_coverage, as: 'meanCoverage' + property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation + + end + end + + class ExternalId + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_name, as: 'sourceName' + property :id, as: 'id' + end + end + + class SearchVariantSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + collection :dataset_ids, as: 'datasetIds' + end + end + + class VariantSetMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :number, as: 'number' + property :id, as: 'id' + property :value, as: 'value' + property :key, as: 'key' + property :description, as: 'description' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :type, as: 'type' + end + end + + class Reference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :length, as: 'length' + collection :source_accessions, as: 'sourceAccessions' + property :source_uri, as: 'sourceUri' + property :ncbi_taxon_id, as: 'ncbiTaxonId' + property :name, as: 'name' + property :md5checksum, as: 'md5checksum' + end + end + + class SearchReferenceSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :md5checksums, as: 'md5checksums' + collection :accessions, as: 'accessions' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + property :assembly_id, as: 'assemblyId' + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::GenomicsV1::Policy, decorator: Google::Apis::GenomicsV1::Policy::Representation + + end + end + + class MergeVariantsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation + + hash :info_merge_config, as: 'infoMergeConfig' + property :variant_set_id, as: 'variantSetId' + end + end + + class Read + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation + + property :id, as: 'id' + property :number_reads, as: 'numberReads' + property :secondary_alignment, as: 'secondaryAlignment' + property :fragment_name, as: 'fragmentName' + property :read_group_set_id, as: 'readGroupSetId' + property :duplicate_fragment, as: 'duplicateFragment' + property :read_number, as: 'readNumber' + property :read_group_id, as: 'readGroupId' + property :aligned_sequence, as: 'alignedSequence' + property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation + + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :proper_placement, as: 'properPlacement' + property :supplementary_alignment, as: 'supplementaryAlignment' + property :fragment_length, as: 'fragmentLength' + property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks' + collection :aligned_quality, as: 'alignedQuality' + end + end + + class BatchCreateAnnotationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :request_id, as: 'requestId' + collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation + + end + end + + class CigarUnit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :operation_length, as: 'operationLength' + property :operation, as: 'operation' + property :reference_sequence, as: 'referenceSequence' + end + end + + class ReferenceSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ncbi_taxon_id, as: 'ncbiTaxonId' + property :source_uri, as: 'sourceUri' + collection :reference_ids, as: 'referenceIds' + property :md5checksum, as: 'md5checksum' + property :assembly_id, as: 'assemblyId' + property :id, as: 'id' + collection :source_accessions, as: 'sourceAccessions' + property :description, as: 'description' + end + end + + class Transcript + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation + + property :gene_id, as: 'geneId' + collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation + + end + end + + class AnnotationSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_uri, as: 'sourceUri' + property :dataset_id, as: 'datasetId' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + property :type, as: 'type' + property :id, as: 'id' + end + end + + class Experiment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :library_id, as: 'libraryId' + property :instrument_model, as: 'instrumentModel' + property :sequencing_center, as: 'sequencingCenter' + property :platform_unit, as: 'platformUnit' + end + end + + class ListDatasetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class ExportReadGroupSetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :export_uri, as: 'exportUri' + collection :reference_names, as: 'referenceNames' + property :project_id, as: 'projectId' + end + end + + class Exon + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + property :end, as: 'end' + property :frame, as: 'frame' + end + end + + class CallSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :created, as: 'created' + property :sample_id, as: 'sampleId' + property :name, as: 'name' + hash :info, as: 'info', :class => Array do + include Representable::JSON::Collection + items + end + + collection :variant_set_ids, as: 'variantSetIds' + property :id, as: 'id' + end + end + + class SearchAnnotationSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation + + end + end + + class ImportVariantsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :normalize_reference_names, as: 'normalizeReferenceNames' + property :format, as: 'format' + hash :info_merge_config, as: 'infoMergeConfig' + property :variant_set_id, as: 'variantSetId' + collection :source_uris, as: 'sourceUris' + end + end + + class ListCoverageBucketsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + property :bucket_width, as: 'bucketWidth' + collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation + + end + end + + class VariantAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :effect, as: 'effect' + collection :transcript_ids, as: 'transcriptIds' + property :type, as: 'type' + property :alternate_bases, as: 'alternateBases' + property :gene_id, as: 'geneId' + property :clinical_significance, as: 'clinicalSignificance' + collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation + + end + end + + class ExportVariantSetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :format, as: 'format' + property :bigquery_dataset, as: 'bigqueryDataset' + property :bigquery_table, as: 'bigqueryTable' + collection :call_set_ids, as: 'callSetIds' + property :project_id, as: 'projectId' + end + end + + class SearchAnnotationsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + collection :annotation_set_ids, as: 'annotationSetIds' + property :reference_name, as: 'referenceName' + property :reference_id, as: 'referenceId' + property :end, as: 'end' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + end + end + + class OperationEvent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + property :description, as: 'description' + end + end + + class CodingSequence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start, as: 'start' + property :end, as: 'end' + end + end + + class GetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class SearchReferencesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class SearchAnnotationSetsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' + collection :dataset_ids, as: 'datasetIds' + collection :types, as: 'types' + property :name, as: 'name' + property :reference_set_id, as: 'referenceSetId' + end + end + + class SearchReadGroupSetsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation + + end + end + + class LinearAlignment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation + + collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation + + property :mapping_quality, as: 'mappingQuality' + end + end + + class SearchReferencesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :accessions, as: 'accessions' + property :page_token, as: 'pageToken' + property :reference_set_id, as: 'referenceSetId' + property :page_size, as: 'pageSize' + collection :md5checksums, as: 'md5checksums' end end end diff --git a/generated/google/apis/genomics_v1/service.rb b/generated/google/apis/genomics_v1/service.rb index d5068b338..2a1ac2d9f 100644 --- a/generated/google/apis/genomics_v1/service.rb +++ b/generated/google/apis/genomics_v1/service.rb @@ -22,7 +22,7 @@ module Google module GenomicsV1 # Genomics API # - # Stores, processes, explores and shares genomic data. + # Upload, process, query, and search Genomics data in the cloud. # # @example # require 'google/apis/genomics_v1' @@ -30,7 +30,7 @@ module Google # Genomics = Google::Apis::GenomicsV1 # Alias the module # service = Genomics::GenomicsService.new # - # @see https://cloud.google.com/genomics/ + # @see https://cloud.google.com/genomics class GenomicsService < Google::Apis::Core::BaseService # @return [String] # API key. Your API key identifies your project and provides you with API access, @@ -46,79 +46,18 @@ module Google super('https://genomics.googleapis.com/', '') end - # Creates a new annotation set. Caller must have WRITE permission for the - # associated dataset. The following fields are required: * datasetId * - # referenceSetId All other fields may be optionally specified, unless documented - # as being server-generated (for example, the `id` field). - # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::AnnotationSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotationsets', options) - command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.request_object = annotation_set_object - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets an annotation set. Caller must have READ permission for the associated - # dataset. - # @param [String] annotation_set_id - # The ID of the annotation set to be retrieved. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::AnnotationSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation - command.response_class = Google::Apis::GenomicsV1::AnnotationSet - command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an annotation set. The update must respect all mutability restrictions - # and other invariants described on the annotation set resource. Caller must - # have WRITE permission for the associated dataset. + # Updates an annotation set. The update must respect all mutability + # restrictions and other invariants described on the annotation set resource. + # Caller must have WRITE permission for the associated dataset. # @param [String] annotation_set_id # The ID of the annotation set to be updated. # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object # @param [String] update_mask - # An optional mask specifying which fields to update. Mutable fields are name, - # source_uri, and info. If unspecified, all mutable fields will be updated. + # An optional mask specifying which fields to update. Mutable fields are + # name, + # source_uri, and + # info. If unspecified, all + # mutable fields will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -149,8 +88,44 @@ module Google execute_or_queue_command(command, &block) end - # Deletes an annotation set. Caller must have WRITE permission for the - # associated annotation set. + # Creates a new annotation set. Caller must have WRITE permission for the + # associated dataset. + # The following fields are required: + # * datasetId + # * referenceSetId + # All other fields may be optionally specified, unless documented as being + # server-generated (for example, the `id` field). + # @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::AnnotationSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotationsets', options) + command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.request_object = annotation_set_object + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation set. Caller must have WRITE permission + # for the associated annotation set. # @param [String] annotation_set_id # The ID of the annotation set to be deleted. # @param [String] fields @@ -181,10 +156,10 @@ module Google end # Searches for annotation sets that match the given criteria. Annotation sets - # are returned in an unspecified order. This order is consistent, such that two - # queries for the same content (regardless of page size) yield annotation sets - # in the same order across their respective streams of paginated responses. - # Caller must have READ permission for the queried datasets. + # are returned in an unspecified order. This order is consistent, such that + # two queries for the same content (regardless of page size) yield annotation + # sets in the same order across their respective streams of paginated + # responses. Caller must have READ permission for the queried datasets. # @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -214,15 +189,10 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new annotation. Caller must have WRITE permission for the associated - # annotation set. The following fields are required: * annotationSetId * - # referenceName or referenceId ### Transcripts For annotations of type - # TRANSCRIPT, the following fields of transcript must be provided: * exons.start - # * exons.end All other fields may be optionally specified, unless documented as - # being server-generated (for example, the `id` field). The annotated range must - # be no longer than 100Mbp (mega base pairs). See the Annotation resource for - # additional restrictions on each field. - # @param [Google::Apis::GenomicsV1::Annotation] annotation_object + # Gets an annotation set. Caller must have READ permission for + # the associated dataset. + # @param [String] annotation_set_id + # The ID of the annotation set to be retrieved. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -232,35 +202,32 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Annotation] + # @return [Google::Apis::GenomicsV1::AnnotationSet] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotations', options) - command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.request_object = annotation_object - command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.response_class = Google::Apis::GenomicsV1::Annotation + def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation + command.response_class = Google::Apis::GenomicsV1::AnnotationSet + command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates one or more new annotations atomically. All annotations must belong to - # the same annotation set. Caller must have WRITE permission for this annotation - # set. For optimal performance, batch positionally adjacent annotations together. - # If the request has a systemic issue, such as an attempt to write to an - # inaccessible annotation set, the entire RPC will fail accordingly. For lesser - # data issues, when possible an error will be isolated to the corresponding - # batch entry in the response; the remaining well formed annotations will be - # created normally. For details on the requirements for each individual - # annotation resource, see CreateAnnotation. - # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object + # Gets a list of variants matching the criteria. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5. + # 1/src/main/resources/avro/variantmethods.avdl#L126). + # @param [Google::Apis::GenomicsV1::SearchVariantsRequest] search_variants_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -270,65 +237,39 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] + # @return [Google::Apis::GenomicsV1::SearchVariantsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotations:batchCreate', options) - command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation - command.request_object = batch_create_annotations_request_object - command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse + def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchVariantsRequest::Representation + command.request_object = search_variants_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchVariantsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchVariantsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets an annotation. Caller must have READ permission for the associated - # annotation set. - # @param [String] annotation_id - # The ID of the annotation to be retrieved. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Annotation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/annotations/{annotationId}', options) - command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.response_class = Google::Apis::GenomicsV1::Annotation - command.params['annotationId'] = annotation_id unless annotation_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates an annotation. Caller must have WRITE permission for the associated - # dataset. - # @param [String] annotation_id - # The ID of the annotation to be updated. - # @param [Google::Apis::GenomicsV1::Annotation] annotation_object + # Updates a variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. Returns the modified variant without + # its calls. + # @param [String] variant_id + # The ID of the variant to be updated. + # @param [Google::Apis::GenomicsV1::Variant] variant_object # @param [String] update_mask - # An optional mask specifying which fields to update. Mutable fields are name, - # variant, transcript, and info. If unspecified, all mutable fields will be - # updated. + # An optional mask specifying which fields to update. At this time, mutable + # fields are names and + # info. Acceptable values are "names" and + # "info". If unspecified, all mutable fields will be updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -338,31 +279,110 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Annotation] + # @return [Google::Apis::GenomicsV1::Variant] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/annotations/{annotationId}', options) - command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.request_object = annotation_object - command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation - command.response_class = Google::Apis::GenomicsV1::Annotation - command.params['annotationId'] = annotation_id unless annotation_id.nil? + def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/variants/{variantId}', options) + command.request_representation = Google::Apis::GenomicsV1::Variant::Representation + command.request_object = variant_object + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + command.params['variantId'] = variant_id unless variant_id.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes an annotation. Caller must have WRITE permission for the associated - # annotation set. - # @param [String] annotation_id - # The ID of the annotation to be deleted. + # Gets a variant by ID. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_id + # The ID of the variant. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Variant] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/variants/{variantId}', options) + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + command.params['variantId'] = variant_id unless variant_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates variant data by asynchronously importing the provided information. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The variants for import will be merged with any existing variant that + # matches its reference sequence, start, end, reference bases, and + # alternative bases. If no such variant exists, a new one will be created. + # When variants are merged, the call information from the new variant + # is added to the existing variant, and Variant info fields are merged + # as specified in + # infoMergeConfig. + # As a special case, for single-sample VCF files, QUAL and FILTER fields will + # be moved to the call level; these are sometimes interpreted in a + # call-specific context. + # Imported VCF headers are appended to the metadata already in a variant set. + # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation + command.request_object = import_variants_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_id + # The ID of the variant to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -380,24 +400,99 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) + def delete_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variants/{variantId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['annotationId'] = annotation_id unless annotation_id.nil? + command.params['variantId'] = variant_id unless variant_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Searches for annotations that match the given criteria. Results are ordered by - # genomic coordinate (by reference sequence, then position). Annotations with - # equivalent genomic coordinates are returned in an unspecified order. This - # order is consistent, such that two queries for the same content (regardless of - # page size) yield annotations in the same order across their respective streams - # of paginated responses. Caller must have READ permission for the queried - # annotation sets. - # @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_request_object + # Merges the given variants with existing variants. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Each variant will be + # merged with an existing variant that matches its reference sequence, + # start, end, reference bases, and alternative bases. If no such variant + # exists, a new one will be created. + # When variants are merged, the call information from the new variant + # is added to the existing variant. Variant info fields are merged as + # specified in the + # infoMergeConfig + # field of the MergeVariantsRequest. + # Please exercise caution when using this method! It is easy to introduce + # mistakes in existing variants and difficult to back out of them. For + # example, + # suppose you were trying to merge a new variant with an existing one and + # both + # variants contain calls that belong to callsets with the same callset ID. + # // Existing variant - irrelevant fields trimmed for clarity + # ` + # "variantSetId": "10473108253681171589", + # "referenceName": "1", + # "start": "10582", + # "referenceBases": "G", + # "alternateBases": [ + # "A" + # ], + # "calls": [ + # ` + # "callSetId": "10473108253681171589-0", + # "callSetName": "CALLSET0", + # "genotype": [ + # 0, + # 1 + # ], + # ` + # ] + # ` + # // New variant with conflicting call information + # ` + # "variantSetId": "10473108253681171589", + # "referenceName": "1", + # "start": "10582", + # "referenceBases": "G", + # "alternateBases": [ + # "A" + # ], + # "calls": [ + # ` + # "callSetId": "10473108253681171589-0", + # "callSetName": "CALLSET0", + # "genotype": [ + # 1, + # 1 + # ], + # ` + # ] + # ` + # The resulting merged variant would overwrite the existing calls with those + # from the new variant: + # ` + # "variantSetId": "10473108253681171589", + # "referenceName": "1", + # "start": "10582", + # "referenceBases": "G", + # "alternateBases": [ + # "A" + # ], + # "calls": [ + # ` + # "callSetId": "10473108253681171589-0", + # "callSetName": "CALLSET0", + # "genotype": [ + # 1, + # 1 + # ], + # ` + # ] + # ` + # This may be the desired outcome, but it is up to the user to determine if + # if that is indeed the case. + # @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -407,37 +502,152 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::SearchAnnotationsResponse] + # @return [Google::Apis::GenomicsV1::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/annotations/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation - command.request_object = search_annotations_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse + def merge_variants(merge_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants:merge', options) + command.request_representation = Google::Apis::GenomicsV1::MergeVariantsRequest::Representation + command.request_object = merge_variants_request_object + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists datasets within a project. For the definitions of datasets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) - # @param [String] project_id - # Required. The project to list datasets for. - # @param [Fixnum] page_size - # The maximum number of results to return in a single page. If unspecified, - # defaults to 50. The maximum value is 1024. + # Creates a new variant. + # For the definitions of variants and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::Variant] variant_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Variant] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variants', options) + command.request_representation = Google::Apis::GenomicsV1::Variant::Representation + command.request_object = variant_object + command.response_representation = Google::Apis::GenomicsV1::Variant::Representation + command.response_class = Google::Apis::GenomicsV1::Variant + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches for references which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/referencemethods.avdl#L146). + # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/references/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation + command.request_object = search_references_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a reference. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/ + # src/main/resources/avro/referencemethods.avdl#L158). + # @param [String] reference_id + # The ID of the reference. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Reference] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Reference] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/references/{referenceId}', options) + command.response_representation = Google::Apis::GenomicsV1::Reference::Representation + command.response_class = Google::Apis::GenomicsV1::Reference + command.params['referenceId'] = reference_id unless reference_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the bases in a reference, optionally restricted to a range. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/referencemethods.avdl#L221). + # @param [String] reference_id + # The ID of the reference. + # @param [String] start_position + # The start position (0-based) of this query. Defaults to 0. + # @param [String] end_position + # The end position (0-based, exclusive) of this query. Defaults to the length + # of this reference. # @param [String] page_token - # 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 ` - # nextPageToken` from the previous response. + # 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 + # `nextPageToken` from the previous response. + # @param [Fixnum] page_size + # The maximum number of bases to return in a single page. If unspecified, + # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base + # pairs). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -447,29 +657,32 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ListDatasetsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::ListBasesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::ListDatasetsResponse] + # @return [Google::Apis::GenomicsV1::ListBasesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_datasets(project_id: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/datasets', options) - command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse - command.query['projectId'] = project_id unless project_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? + def list_reference_bases(reference_id, start_position: nil, end_position: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options) + command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListBasesResponse + command.params['referenceId'] = reference_id unless reference_id.nil? + command.query['start'] = start_position unless start_position.nil? + command.query['end'] = end_position unless end_position.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates a new dataset. For the definitions of datasets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) + # Creates a new dataset. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [Google::Apis::GenomicsV1::Dataset] dataset_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -499,11 +712,17 @@ module Google execute_or_queue_command(command, &block) end - # Gets a dataset by ID. For the definitions of datasets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [String] dataset_id - # The ID of the dataset. + # Sets the access control policy on the specified dataset. Replaces any + # existing policy. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # See Setting a + # Policy for more information. + # @param [String] resource + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. + # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -513,34 +732,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Dataset] + # @return [Google::Apis::GenomicsV1::Policy] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_id.nil? + def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::GenomicsV1::Policy::Representation + command.response_class = Google::Apis::GenomicsV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates a dataset. For the definitions of datasets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) This method supports patch semantics. - # @param [String] dataset_id - # The ID of the dataset to be updated. - # @param [Google::Apis::GenomicsV1::Dataset] dataset_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, the only - # mutable field is name. The only acceptable value is "name". If unspecified, - # all mutable fields will be updated. + # Gets the access control policy for the dataset. This is empty if the + # policy or resource does not exist. + # See Getting a + # Policy for more information. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] resource + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. + # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -550,67 +772,31 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Dataset] + # @return [Google::Apis::GenomicsV1::Policy] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options) - command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.request_object = dataset_object - command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation - command.response_class = Google::Apis::GenomicsV1::Dataset - command.params['datasetId'] = dataset_id unless dataset_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? + def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation + command.request_object = get_iam_policy_request_object + command.response_representation = Google::Apis::GenomicsV1::Policy::Representation + command.response_class = Google::Apis::GenomicsV1::Policy + command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes a dataset and all of its contents (all read group sets, reference sets, - # variant sets, call sets, annotation sets, etc.) This is reversible (up to one - # week after the deletion) via the datasets.undelete operation. For the - # definitions of datasets and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) - # @param [String] dataset_id - # The ID of the dataset to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['datasetId'] = dataset_id unless dataset_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Undeletes a dataset by restoring a dataset which was deleted via this API. For - # the definitions of datasets and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) This operation is only possible for a week after the deletion - # occurred. + # Undeletes a dataset by restoring a dataset which was deleted via this API. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This operation is only possible for a week after the deletion occurred. # @param [String] dataset_id # The ID of the dataset to be undeleted. # @param [Google::Apis::GenomicsV1::UndeleteDatasetRequest] undelete_dataset_request_object @@ -643,14 +829,19 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on the specified dataset. Replaces any existing - # policy. For the definitions of datasets and other genomics resources, see [ - # Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) See Setting a Policy for more information. - # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is ` - # datasets/`. - # @param [Google::Apis::GenomicsV1::SetIamPolicyRequest] set_iam_policy_request_object + # Updates a dataset. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. + # @param [String] dataset_id + # The ID of the dataset to be updated. + # @param [Google::Apis::GenomicsV1::Dataset] dataset_object + # @param [String] update_mask + # An optional mask specifying which fields to update. At this time, the only + # mutable field is name. The only + # acceptable value is "name". If unspecified, all mutable fields will be + # updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -660,35 +851,33 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Policy] + # @return [Google::Apis::GenomicsV1::Dataset] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_dataset_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::GenomicsV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::GenomicsV1::Policy::Representation - command.response_class = Google::Apis::GenomicsV1::Policy - command.params['resource'] = resource unless resource.nil? + def patch_dataset(dataset_id, dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/datasets/{datasetId}', options) + command.request_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.request_object = dataset_object + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets the access control policy for the dataset. This is empty if the policy or - # resource does not exist. See Getting a Policy for more information. For the - # definitions of datasets and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) - # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is ` - # datasets/`. - # @param [Google::Apis::GenomicsV1::GetIamPolicyRequest] get_iam_policy_request_object + # Gets a dataset by ID. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] dataset_id + # The ID of the dataset. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -698,33 +887,33 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Policy] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::Dataset] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::Policy] + # @return [Google::Apis::GenomicsV1::Dataset] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_dataset_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.request_representation = Google::Apis::GenomicsV1::GetIamPolicyRequest::Representation - command.request_object = get_iam_policy_request_object - command.response_representation = Google::Apis::GenomicsV1::Policy::Representation - command.response_class = Google::Apis::GenomicsV1::Policy - command.params['resource'] = resource unless resource.nil? + def get_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/datasets/{datasetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Dataset::Representation + command.response_class = Google::Apis::GenomicsV1::Dataset + command.params['datasetId'] = dataset_id unless dataset_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns permissions that a caller has on the specified resource. See Testing - # Permissions for more information. For the definitions of datasets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) + # Returns permissions that a caller has on the specified resource. + # See Testing + # Permissions for more information. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [String] resource - # REQUIRED: The resource for which policy is being specified. Format is ` - # datasets/`. + # REQUIRED: The resource for which policy is being specified. Format is + # `datasets/`. # @param [Google::Apis::GenomicsV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -755,10 +944,164 @@ module Google execute_or_queue_command(command, &block) end - # 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. - # @param [String] name - # The name of the operation resource. + # Deletes a dataset and all of its contents (all read group sets, + # reference sets, variant sets, call sets, annotation sets, etc.) + # This is reversible (up to one week after the deletion) via + # the + # datasets.undelete + # operation. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] dataset_id + # The ID of the dataset to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_dataset(dataset_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/datasets/{datasetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['datasetId'] = dataset_id unless dataset_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists datasets within a project. + # For the definitions of datasets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] page_token + # 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 + # `nextPageToken` from the previous response. + # @param [Fixnum] page_size + # The maximum number of results to return in a single page. If unspecified, + # defaults to 50. The maximum value is 1024. + # @param [String] project_id + # Required. The Google Cloud project ID to list datasets for. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ListDatasetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListDatasetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_datasets(page_token: nil, page_size: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/datasets', options) + command.response_representation = Google::Apis::GenomicsV1::ListDatasetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListDatasetsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a variant set including all variants, call sets, and calls within. + # This is not reversible. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_set_id + # The ID of the variant set to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new variant set. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The provided variant set must have a valid `datasetId` set - all other + # fields are optional. Note that the `id` field will be ignored, as this is + # assigned by the server. + # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::VariantSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets', options) + command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.request_object = variant_set_object + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports variant set data to an external destination. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_set_id + # Required. The ID of the variant set that contains variant data which + # should be exported. The caller must have READ access to this variant set. + # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -776,31 +1119,26 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) + def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options) + command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation + command.request_object = export_variant_set_request_object command.response_representation = Google::Apis::GenomicsV1::Operation::Representation command.response_class = Google::Apis::GenomicsV1::Operation - command.params['name'] = name unless name.nil? + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Lists operations that match the specified filter in the request. - # @param [String] name - # The name of the operation collection. - # @param [String] filter - # A string for filtering Operations. The following filter fields are supported: * - # projectId: Required. Corresponds to OperationMetadata.projectId. * createTime: - # The time this job was created, in seconds from the [epoch](http://en. - # wikipedia.org/wiki/Unix_time). Can use `>=` and/or `= 1432140000` * `projectId - # = my-project AND createTime >= 1432140000 AND createTime <= 1432150000 AND - # status = RUNNING` - # @param [Fixnum] page_size - # The maximum number of results to return. If unspecified, defaults to 256. The - # maximum value is 2048. - # @param [String] page_token - # The standard list page token. + # Returns a list of all variant sets matching search criteria. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob/v0. + # 5.1/src/main/resources/avro/variantmethods.avdl#L49). + # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -810,22 +1148,323 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ListOperationsResponse] parsed result object + # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantSetsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::GenomicsV1::ListOperationsResponse] + # @return [Google::Apis::GenomicsV1::SearchVariantSetsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? + def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/variantsets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation + command.request_object = search_variant_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates a variant set using patch semantics. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_set_id + # The ID of the variant to be updated (must already exist). + # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object + # @param [String] update_mask + # An optional mask specifying which fields to update. Supported fields: + # * metadata. + # * name. + # * description. + # Leaving `updateMask` unset is equivalent to specifying all mutable + # fields. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::VariantSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options) + command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.request_object = variant_set_object + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a variant set by ID. + # For the definitions of variant sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] variant_set_id + # Required. The ID of the variant set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::VariantSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation + command.response_class = Google::Apis::GenomicsV1::VariantSet + command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new annotation. Caller must have WRITE permission + # for the associated annotation set. + # The following fields are required: + # * annotationSetId + # * referenceName or + # referenceId + # ### Transcripts + # For annotations of type TRANSCRIPT, the following fields of + # transcript must be provided: + # * exons.start + # * exons.end + # All other fields may be optionally specified, unless documented as being + # server-generated (for example, the `id` field). The annotated + # range must be no longer than 100Mbp (mega base pairs). See the + # Annotation resource + # for additional restrictions on each field. + # @param [Google::Apis::GenomicsV1::Annotation] annotation_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Annotation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotations', options) + command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.request_object = annotation_object + command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.response_class = Google::Apis::GenomicsV1::Annotation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates one or more new annotations atomically. All annotations must + # belong to the same annotation set. Caller must have WRITE + # permission for this annotation set. For optimal performance, batch + # positionally adjacent annotations together. + # If the request has a systemic issue, such as an attempt to write to + # an inaccessible annotation set, the entire RPC will fail accordingly. For + # lesser data issues, when possible an error will be isolated to the + # corresponding batch entry in the response; the remaining well formed + # annotations will be created normally. + # For details on the requirements for each individual annotation resource, + # see + # CreateAnnotation. + # @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotations:batchCreate', options) + command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation + command.request_object = batch_create_annotations_request_object + command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Searches for annotations that match the given criteria. Results are + # ordered by genomic coordinate (by reference sequence, then position). + # Annotations with equivalent genomic coordinates are returned in an + # unspecified order. This order is consistent, such that two queries for the + # same content (regardless of page size) yield annotations in the same order + # across their respective streams of paginated responses. Caller must have + # READ permission for the queried annotation sets. + # @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchAnnotationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/annotations/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation + command.request_object = search_annotations_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an annotation. Caller must have READ permission + # for the associated annotation set. + # @param [String] annotation_id + # The ID of the annotation to be retrieved. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Annotation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/annotations/{annotationId}', options) + command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.response_class = Google::Apis::GenomicsV1::Annotation + command.params['annotationId'] = annotation_id unless annotation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an annotation. Caller must have + # WRITE permission for the associated dataset. + # @param [String] annotation_id + # The ID of the annotation to be updated. + # @param [Google::Apis::GenomicsV1::Annotation] annotation_object + # @param [String] update_mask + # An optional mask specifying which fields to update. Mutable fields are + # name, + # variant, + # transcript, and + # info. If unspecified, all mutable + # fields will be updated. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Annotation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/annotations/{annotationId}', options) + command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.request_object = annotation_object + command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation + command.response_class = Google::Apis::GenomicsV1::Annotation + command.params['annotationId'] = annotation_id unless annotation_id.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an annotation. Caller must have WRITE permission for + # the associated annotation set. + # @param [String] annotation_id + # The ID of the annotation to be deleted. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options) + command.response_representation = Google::Apis::GenomicsV1::Empty::Representation + command.response_class = Google::Apis::GenomicsV1::Empty + command.params['annotationId'] = annotation_id unless annotation_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) @@ -867,18 +1506,66 @@ module Google execute_or_queue_command(command, &block) end - # Creates read group sets by asynchronously importing the provided information. - # For the definitions of read group sets and other genomics resources, see [ - # Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) The caller must have WRITE permissions to the - # dataset. ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) - # import - Tags will be converted to strings - tag types are not preserved - - # Comments (`@CO`) in the input file header will not be preserved - Original - # header order of references (`@SQ`) will not be preserved - Any reverse - # stranded unmapped reads will be reverse complemented, and their qualities ( - # also the "BQ" and "OQ" tags, if any) will be reversed - Unmapped reads will be - # stripped of positional information (reference name and position) - # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object + # Lists operations that match the specified filter in the request. + # @param [String] name + # The name of the operation collection. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The maximum number of results to return. If unspecified, defaults to + # 256. The maximum value is 2048. + # @param [String] filter + # A string for filtering Operations. + # The following filter fields are supported: + # * projectId: Required. Corresponds to + # OperationMetadata.projectId. + # * createTime: The time this job was created, in seconds from the + # [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` + # operators. + # * status: Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only + # one status may be specified. + # * labels.key where key is a label key. + # Examples: + # * `projectId = my-project AND createTime >= 1432140000` + # * `projectId = my-project AND createTime >= 1432140000 AND createTime <= + # 1432150000 AND status = RUNNING` + # * `projectId = my-project AND labels.color = *` + # * `projectId = my-project AND labels.color = red` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::GenomicsV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['filter'] = filter unless filter.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] name + # The name of the operation resource. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -896,26 +1583,99 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/readgroupsets:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation - command.request_object = import_read_group_sets_request_object + def get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::GenomicsV1::Operation::Representation command.response_class = Google::Apis::GenomicsV1::Operation + command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Exports a read group set to a BAM file in Google Cloud Storage. For the - # definitions of read group sets and other genomics resources, see [Fundamentals - # of Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) Note that currently there may be some differences between exported - # BAM files and the original BAM file at the time of import. See - # ImportReadGroupSets for caveats. + # Searches for reference sets which match the given criteria. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) + # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/referencesets/search', options) + command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation + command.request_object = search_reference_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation + command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a reference set. + # For the definitions of references and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5. + # 1/src/main/resources/avro/referencemethods.avdl#L83). + # @param [String] reference_set_id + # The ID of the reference set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ReferenceSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReferenceSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReferenceSet + command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Exports a read group set to a BAM file in Google Cloud Storage. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Note that currently there may be some differences between exported BAM + # files and the original BAM file at the time of import. See + # ImportReadGroupSets + # for caveats. # @param [String] read_group_set_id - # Required. The ID of the read group set to export. The caller must have READ - # access to this read group set. + # Required. The ID of the read group set to export. The caller must have + # READ access to this read group set. # @param [Google::Apis::GenomicsV1::ExportReadGroupSetRequest] export_read_group_set_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -946,11 +1706,13 @@ module Google execute_or_queue_command(command, &block) end - # Searches for read group sets matching the criteria. For the definitions of - # read group sets and other genomics resources, see [Fundamentals of Google + # Searches for read group sets matching the criteria. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Implements [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/ - # schemas/blob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). + # Implements + # [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/blob/ + # v0.5.1/src/main/resources/avro/readmethods.avdl#L135). # @param [Google::Apis::GenomicsV1::SearchReadGroupSetsRequest] search_read_group_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -980,18 +1742,21 @@ module Google execute_or_queue_command(command, &block) end - # Updates a read group set. For the definitions of read group sets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) This method supports patch - # semantics. + # Updates a read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. # @param [String] read_group_set_id # The ID of the read group set to be updated. The caller must have WRITE # permissions to the dataset associated with this read group set. # @param [Google::Apis::GenomicsV1::ReadGroupSet] read_group_set_object # @param [String] update_mask - # An optional mask specifying which fields to update. Supported fields: * name. * - # referenceSetId. Leaving `updateMask` unset is equivalent to specifying all - # mutable fields. + # An optional mask specifying which fields to update. Supported fields: + # * name. + # * referenceSetId. + # Leaving `updateMask` unset is equivalent to specifying all mutable + # fields. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1022,9 +1787,86 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a read group set. For the definitions of read group sets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) + # Gets a read group set by ID. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [String] read_group_set_id + # The ID of the read group set. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::ReadGroupSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) + command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation + command.response_class = Google::Apis::GenomicsV1::ReadGroupSet + command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates read group sets by asynchronously importing the provided + # information. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # The caller must have WRITE permissions to the dataset. + # ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import + # - Tags will be converted to strings - tag types are not preserved + # - Comments (`@CO`) in the input file header will not be preserved + # - Original header order of references (`@SQ`) will not be preserved + # - Any reverse stranded unmapped reads will be reverse complemented, and + # their qualities (also the "BQ" and "OQ" tags, if any) will be reversed + # - Unmapped reads will be stripped of positional information (reference name + # and position) + # @param [Google::Apis::GenomicsV1::ImportReadGroupSetsRequest] import_read_group_sets_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def import_read_group_sets(import_read_group_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/readgroupsets:import', options) + command.request_representation = Google::Apis::GenomicsV1::ImportReadGroupSetsRequest::Representation + command.request_object = import_read_group_sets_request_object + command.response_representation = Google::Apis::GenomicsV1::Operation::Representation + command.response_class = Google::Apis::GenomicsV1::Operation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a read group set. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [String] read_group_set_id # The ID of the read group set to be deleted. The caller must have WRITE # permissions to the dataset associated with this read group set. @@ -1055,73 +1897,44 @@ module Google execute_or_queue_command(command, &block) end - # Gets a read group set by ID. For the definitions of read group sets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) - # @param [String] read_group_set_id - # The ID of the read group set. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ReadGroupSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReadGroupSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_read_group_set(read_group_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::ReadGroupSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReadGroupSet - command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Lists fixed width coverage buckets for a read group set, each of which - # correspond to a range of a reference sequence. Each bucket summarizes coverage - # information across its corresponding genomic range. For the definitions of - # read group sets and other genomics resources, see [Fundamentals of Google + # correspond to a range of a reference sequence. Each bucket summarizes + # coverage information across its corresponding genomic range. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Coverage is defined as the number of reads which are aligned to a given base - # in the reference sequence. Coverage buckets are available at several - # precomputed bucket widths, enabling retrieval of various coverage 'zoom levels' - # . The caller must have READ permissions for the target read group set. + # Coverage is defined as the number of reads which are aligned to a given + # base in the reference sequence. Coverage buckets are available at several + # precomputed bucket widths, enabling retrieval of various coverage 'zoom + # levels'. The caller must have READ permissions for the target read group + # set. # @param [String] read_group_set_id # Required. The ID of the read group set over which coverage is requested. # @param [String] reference_name - # The name of the reference to query, within the reference set associated with - # this query. Optional. - # @param [String] start - # The start position of the range on the reference, 0-based inclusive. If - # specified, `referenceName` must also be specified. Defaults to 0. + # The name of the reference to query, within the reference set associated + # with this query. Optional. # @param [String] end_ # The end position of the range on the reference, 0-based exclusive. If - # specified, `referenceName` must also be specified. If unset or 0, defaults to - # the length of the reference. - # @param [String] target_bucket_width - # 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. + # specified, `referenceName` must also be specified. If unset or 0, defaults + # to the length of the reference. # @param [String] page_token - # 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 ` - # nextPageToken` from the previous response. + # 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 + # `nextPageToken` from the previous response. # @param [Fixnum] page_size # The maximum number of results to return in a single page. If unspecified, # defaults to 1024. The maximum value is 2048. + # @param [String] start + # The start position of the range on the reference, 0-based inclusive. If + # specified, `referenceName` must also be specified. Defaults to 0. + # @param [String] target_bucket_width + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1139,38 +1952,42 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_coverage_buckets(read_group_set_id, reference_name: nil, start: nil, end_: nil, target_bucket_width: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_coverage_buckets(read_group_set_id, reference_name: nil, end_: nil, page_token: nil, page_size: nil, start: nil, target_bucket_width: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/readgroupsets/{readGroupSetId}/coveragebuckets', options) command.response_representation = Google::Apis::GenomicsV1::ListCoverageBucketsResponse::Representation command.response_class = Google::Apis::GenomicsV1::ListCoverageBucketsResponse command.params['readGroupSetId'] = read_group_set_id unless read_group_set_id.nil? command.query['referenceName'] = reference_name unless reference_name.nil? - command.query['start'] = start unless start.nil? command.query['end'] = end_ unless end_.nil? - command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? + command.query['start'] = start unless start.nil? + command.query['targetBucketWidth'] = target_bucket_width unless target_bucket_width.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets a list of reads for one or more read group sets. For the definitions of - # read group sets and other genomics resources, see [Fundamentals of Google + # Gets a list of reads for one or more read group sets. + # For the definitions of read group sets and other genomics resources, see + # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # Reads search operates over a genomic coordinate space of reference sequence & - # position defined over the reference sequences to which the requested read - # group sets are aligned. If a target positional range is specified, search - # returns all reads whose alignment to the reference genome overlap the range. A - # query which specifies only read group set IDs yields all reads in those read - # group sets, including unmapped reads. All reads returned (including reads on - # subsequent pages) are ordered by genomic coordinate (by reference sequence, - # then position). Reads with equivalent genomic coordinates are returned in an - # unspecified order. This order is consistent, such that two queries for the - # same content (regardless of page size) yield reads in the same order across - # their respective streams of paginated responses. Implements [GlobalAllianceApi. - # searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/ - # avro/readmethods.avdl#L85). + # Reads search operates over a genomic coordinate space of reference sequence + # & position defined over the reference sequences to which the requested + # read group sets are aligned. + # If a target positional range is specified, search returns all reads whose + # alignment to the reference genome overlap the range. A query which + # specifies only read group set IDs yields all reads in those read group + # sets, including unmapped reads. + # All reads returned (including reads on subsequent pages) are ordered by + # genomic coordinate (by reference sequence, then position). Reads with + # equivalent genomic coordinates are returned in an unspecified order. This + # order is consistent, such that two queries for the same content (regardless + # of page size) yield reads in the same order across their respective streams + # of paginated responses. + # Implements + # [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5.1/ + # src/main/resources/avro/readmethods.avdl#L85). # @param [Google::Apis::GenomicsV1::SearchReadsRequest] search_reads_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1200,665 +2017,12 @@ module Google execute_or_queue_command(command, &block) end - # Returns a stream of all the reads matching the search request, ordered by - # reference name, position, and ID. - # @param [Google::Apis::GenomicsV1::StreamReadsRequest] stream_reads_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::StreamReadsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::StreamReadsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def stream_reads(stream_reads_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/reads:stream', options) - command.request_representation = Google::Apis::GenomicsV1::StreamReadsRequest::Representation - command.request_object = stream_reads_request_object - command.response_representation = Google::Apis::GenomicsV1::StreamReadsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::StreamReadsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Searches for reference sets which match the given criteria. For the - # definitions of references and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) Implements [GlobalAllianceApi.searchReferenceSets](https://github. - # com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl# - # L71) - # @param [Google::Apis::GenomicsV1::SearchReferenceSetsRequest] search_reference_sets_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReferenceSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_reference_sets(search_reference_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/referencesets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferenceSetsRequest::Representation - command.request_object = search_reference_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferenceSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferenceSetsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a reference set. For the definitions of references and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi. - # getReferenceSet](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/ - # resources/avro/referencemethods.avdl#L83). - # @param [String] reference_set_id - # The ID of the reference set. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ReferenceSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ReferenceSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_reference_set(reference_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/referencesets/{referenceSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::ReferenceSet::Representation - command.response_class = Google::Apis::GenomicsV1::ReferenceSet - command.params['referenceSetId'] = reference_set_id unless reference_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Searches for references which match the given criteria. For the definitions of - # references and other genomics resources, see [Fundamentals of Google Genomics]( - # https://cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [ - # GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/v0.5. - # 1/src/main/resources/avro/referencemethods.avdl#L146). - # @param [Google::Apis::GenomicsV1::SearchReferencesRequest] search_references_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchReferencesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchReferencesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_references(search_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/references/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchReferencesRequest::Representation - command.request_object = search_references_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchReferencesResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchReferencesResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a reference. For the definitions of references and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) Implements [GlobalAllianceApi. - # getReference](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/ - # avro/referencemethods.avdl#L158). - # @param [String] reference_id - # The ID of the reference. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Reference] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Reference] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_reference(reference_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/references/{referenceId}', options) - command.response_representation = Google::Apis::GenomicsV1::Reference::Representation - command.response_class = Google::Apis::GenomicsV1::Reference - command.params['referenceId'] = reference_id unless reference_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists the bases in a reference, optionally restricted to a range. For the - # definitions of references and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) Implements [GlobalAllianceApi.getReferenceBases](https://github.com/ - # ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). - # @param [String] reference_id - # The ID of the reference. - # @param [String] start_position - # The start position (0-based) of this query. Defaults to 0. - # @param [String] end_position - # The end position (0-based, exclusive) of this query. Defaults to the length of - # this reference. - # @param [String] page_token - # 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 ` - # nextPageToken` from the previous response. - # @param [Fixnum] page_size - # The maximum number of bases to return in a single page. If unspecified, - # defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base - # pairs). - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::ListBasesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::ListBasesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_reference_bases(reference_id, start_position: nil, end_position: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/references/{referenceId}/bases', options) - command.response_representation = Google::Apis::GenomicsV1::ListBasesResponse::Representation - command.response_class = Google::Apis::GenomicsV1::ListBasesResponse - command.params['referenceId'] = reference_id unless reference_id.nil? - command.query['start'] = start_position unless start_position.nil? - command.query['end'] = end_position unless end_position.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates variant data by asynchronously importing the provided information. For - # the definitions of variant sets and other genomics resources, see [ - # Fundamentals of Google Genomics](https://cloud.google.com/genomics/ - # fundamentals-of-google-genomics) The variants for import will be merged with - # any existing variant that matches its reference sequence, start, end, - # reference bases, and alternative bases. If no such variant exists, a new one - # will be created. When variants are merged, the call information from the new - # variant is added to the existing variant, and Variant info fields are merged - # as specified in infoMergeConfig. As a special case, for single-sample VCF - # files, QUAL and FILTER fields will be moved to the call level; these are - # sometimes interpreted in a call-specific context. Imported VCF headers are - # appended to the metadata already in a variant set. - # @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def import_variants(import_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants:import', options) - command.request_representation = Google::Apis::GenomicsV1::ImportVariantsRequest::Representation - command.request_object = import_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of variants matching the criteria. For the definitions of variants - # and other genomics resources, see [Fundamentals of Google Genomics](https:// - # cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [ - # GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0.5.1/ - # src/main/resources/avro/variantmethods.avdl#L126). - # @param [Google::Apis::GenomicsV1::SearchVariantsRequest] search_variants_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchVariantsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_variants(search_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchVariantsRequest::Representation - command.request_object = search_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchVariantsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchVariantsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new variant. For the definitions of variants and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::Variant] variant_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Variant] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_variant(variant_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants', options) - command.request_representation = Google::Apis::GenomicsV1::Variant::Representation - command.request_object = variant_object - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates a variant. For the definitions of variants and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) This method supports patch semantics. - # Returns the modified variant without its calls. - # @param [String] variant_id - # The ID of the variant to be updated. - # @param [Google::Apis::GenomicsV1::Variant] variant_object - # @param [String] update_mask - # An optional mask specifying which fields to update. At this time, mutable - # fields are names and info. Acceptable values are "names" and "info". If - # unspecified, all mutable fields will be updated. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Variant] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_variant(variant_id, variant_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/variants/{variantId}', options) - command.request_representation = Google::Apis::GenomicsV1::Variant::Representation - command.request_object = variant_object - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a variant. For the definitions of variants and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [String] variant_id - # The ID of the variant to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variants/{variantId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a variant by ID. For the definitions of variants and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [String] variant_id - # The ID of the variant. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Variant] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Variant] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_variant(variant_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/variants/{variantId}', options) - command.response_representation = Google::Apis::GenomicsV1::Variant::Representation - command.response_class = Google::Apis::GenomicsV1::Variant - command.params['variantId'] = variant_id unless variant_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Merges the given variants with existing variants. For the definitions of - # variants and other genomics resources, see [Fundamentals of Google Genomics]( - # https://cloud.google.com/genomics/fundamentals-of-google-genomics) Each - # variant will be merged with an existing variant that matches its reference - # sequence, start, end, reference bases, and alternative bases. If no such - # variant exists, a new one will be created. When variants are merged, the call - # information from the new variant is added to the existing variant. Variant - # info fields are merged as specified in the infoMergeConfig field of the - # MergeVariantsRequest. Please exercise caution when using this method! It is - # easy to introduce mistakes in existing variants and difficult to back out of - # them. For example, suppose you were trying to merge a new variant with an - # existing one and both variants contain calls that belong to callsets with the - # same callset ID. // Existing variant - irrelevant fields trimmed for clarity ` - # "variantSetId": "10473108253681171589", "referenceName": "1", "start": "10582", - # "referenceBases": "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": " - # 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 0, 1 ], ` ] ` - # // New variant with conflicting call information ` "variantSetId": " - # 10473108253681171589", "referenceName": "1", "start": "10582", "referenceBases" - # : "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": " - # 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 1, 1 ], ` ] ` - # The resulting merged variant would overwrite the existing calls with those - # from the new variant: ` "variantSetId": "10473108253681171589", "referenceName" - # : "1", "start": "10582", "referenceBases": "G", "alternateBases": [ "A" ], " - # calls": [ ` "callSetId": "10473108253681171589-0", "callSetName": "CALLSET0", " - # genotype": [ 1, 1 ], ` ] ` This may be the desired outcome, but it is up to - # the user to determine if if that is indeed the case. - # @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def merge_variants(merge_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants:merge', options) - command.request_representation = Google::Apis::GenomicsV1::MergeVariantsRequest::Representation - command.request_object = merge_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a stream of all the variants matching the search request, ordered by - # reference name, position, and ID. - # @param [Google::Apis::GenomicsV1::StreamVariantsRequest] stream_variants_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::StreamVariantsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::StreamVariantsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def stream_variants(stream_variants_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variants:stream', options) - command.request_representation = Google::Apis::GenomicsV1::StreamVariantsRequest::Representation - command.request_object = stream_variants_request_object - command.response_representation = Google::Apis::GenomicsV1::StreamVariantsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::StreamVariantsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new variant set. For the definitions of variant sets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) The provided variant set must - # have a valid `datasetId` set - all other fields are optional. Note that the ` - # id` field will be ignored, as this is assigned by the server. - # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::VariantSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_variantset(variant_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets', options) - command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.request_object = variant_set_object - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Exports variant set data to an external destination. For the definitions of - # variant sets and other genomics resources, see [Fundamentals of Google + # Deletes a call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # Required. The ID of the variant set that contains variant data which should be - # exported. The caller must have READ access to this variant set. - # @param [Google::Apis::GenomicsV1::ExportVariantSetRequest] export_variant_set_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Operation] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Operation] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def export_variant_set(variant_set_id, export_variant_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets/{variantSetId}:export', options) - command.request_representation = Google::Apis::GenomicsV1::ExportVariantSetRequest::Representation - command.request_object = export_variant_set_request_object - command.response_representation = Google::Apis::GenomicsV1::Operation::Representation - command.response_class = Google::Apis::GenomicsV1::Operation - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a variant set by ID. For the definitions of variant sets and other - # genomics resources, see [Fundamentals of Google Genomics](https://cloud.google. - # com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # Required. The ID of the variant set. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::VariantSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/variantsets/{variantSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns a list of all variant sets matching search criteria. For the - # definitions of variant sets and other genomics resources, see [Fundamentals of - # Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google- - # genomics) Implements [GlobalAllianceApi.searchVariantSets](https://github.com/ - # ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). - # @param [Google::Apis::GenomicsV1::SearchVariantSetsRequest] search_variant_sets_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::SearchVariantSetsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::SearchVariantSetsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_variant_sets(search_variant_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/variantsets/search', options) - command.request_representation = Google::Apis::GenomicsV1::SearchVariantSetsRequest::Representation - command.request_object = search_variant_sets_request_object - command.response_representation = Google::Apis::GenomicsV1::SearchVariantSetsResponse::Representation - command.response_class = Google::Apis::GenomicsV1::SearchVariantSetsResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a variant set including all variants, call sets, and calls within. - # This is not reversible. For the definitions of variant sets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # The ID of the variant set to be deleted. + # @param [String] call_set_id + # The ID of the call set to be deleted. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1876,61 +2040,23 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_variantset(variant_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/variantsets/{variantSetId}', options) + def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) command.response_representation = Google::Apis::GenomicsV1::Empty::Representation command.response_class = Google::Apis::GenomicsV1::Empty - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? + command.params['callSetId'] = call_set_id unless call_set_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Updates a variant set using patch semantics. For the definitions of variant - # sets and other genomics resources, see [Fundamentals of Google Genomics](https: - # //cloud.google.com/genomics/fundamentals-of-google-genomics) - # @param [String] variant_set_id - # The ID of the variant to be updated (must already exist). - # @param [Google::Apis::GenomicsV1::VariantSet] variant_set_object - # @param [String] update_mask - # An optional mask specifying which fields to update. Supported fields: * - # metadata. * name. * description. Leaving `updateMask` unset is equivalent to - # specifying all mutable fields. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::VariantSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::VariantSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def patch_variantset(variant_set_id, variant_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:patch, 'v1/variantsets/{variantSetId}', options) - command.request_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.request_object = variant_set_object - command.response_representation = Google::Apis::GenomicsV1::VariantSet::Representation - command.response_class = Google::Apis::GenomicsV1::VariantSet - command.params['variantSetId'] = variant_set_id unless variant_set_id.nil? - command.query['updateMask'] = update_mask unless update_mask.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a list of call sets matching the criteria. For the definitions of call - # sets and other genomics resources, see [Fundamentals of Google Genomics](https: - # //cloud.google.com/genomics/fundamentals-of-google-genomics) Implements [ - # GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5.1/ - # src/main/resources/avro/variantmethods.avdl#L178). + # Gets a list of call sets matching the criteria. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # Implements + # [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0.5. + # 1/src/main/resources/avro/variantmethods.avdl#L178). # @param [Google::Apis::GenomicsV1::SearchCallSetsRequest] search_call_sets_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -1960,48 +2086,19 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new call set. For the definitions of call sets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [Google::Apis::GenomicsV1::CallSet] call_set_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::CallSet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/callsets', options) - command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.request_object = call_set_object - command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation - command.response_class = Google::Apis::GenomicsV1::CallSet - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates a call set. For the definitions of call sets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) This method supports patch semantics. + # Updates a call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # This method supports patch semantics. # @param [String] call_set_id # The ID of the call set to be updated. # @param [Google::Apis::GenomicsV1::CallSet] call_set_object # @param [String] update_mask # An optional mask specifying which fields to update. At this time, the only - # mutable field is name. The only acceptable value is "name". If unspecified, - # all mutable fields will be updated. + # mutable field is name. The only + # acceptable value is "name". If unspecified, all mutable fields will be + # updated. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -2032,41 +2129,10 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a call set. For the definitions of call sets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) - # @param [String] call_set_id - # The ID of the call set to be deleted. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::GenomicsV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_call_set(call_set_id, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/callsets/{callSetId}', options) - command.response_representation = Google::Apis::GenomicsV1::Empty::Representation - command.response_class = Google::Apis::GenomicsV1::Empty - command.params['callSetId'] = call_set_id unless call_set_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets a call set by ID. For the definitions of call sets and other genomics - # resources, see [Fundamentals of Google Genomics](https://cloud.google.com/ - # genomics/fundamentals-of-google-genomics) + # Gets a call set by ID. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) # @param [String] call_set_id # The ID of the call set. # @param [String] fields @@ -2095,6 +2161,39 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Creates a new call set. + # For the definitions of call sets and other genomics resources, see + # [Fundamentals of Google + # Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) + # @param [Google::Apis::GenomicsV1::CallSet] call_set_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GenomicsV1::CallSet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GenomicsV1::CallSet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_call_set(call_set_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/callsets', options) + command.request_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.request_object = call_set_object + command.response_representation = Google::Apis::GenomicsV1::CallSet::Representation + command.response_class = Google::Apis::GenomicsV1::CallSet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected diff --git a/generated/google/apis/gmail_v1.rb b/generated/google/apis/gmail_v1.rb index d2f61d76a..ec05dd910 100644 --- a/generated/google/apis/gmail_v1.rb +++ b/generated/google/apis/gmail_v1.rb @@ -25,9 +25,9 @@ module Google # @see https://developers.google.com/gmail/api/ module GmailV1 VERSION = 'V1' - REVISION = '20160711' + REVISION = '20170222' - # View and manage your mail + # Read, send, delete, and manage your email AUTH_SCOPE = 'https://mail.google.com/' # Manage drafts and send emails @@ -39,6 +39,9 @@ module Google # Manage mailbox labels AUTH_GMAIL_LABELS = 'https://www.googleapis.com/auth/gmail.labels' + # View your email message metadata such as labels and headers, but not the email body + AUTH_GMAIL_METADATA = 'https://www.googleapis.com/auth/gmail.metadata' + # View and modify but not delete your email AUTH_GMAIL_MODIFY = 'https://www.googleapis.com/auth/gmail.modify' diff --git a/generated/google/apis/gmail_v1/classes.rb b/generated/google/apis/gmail_v1/classes.rb index f58ffd0b4..4e927c992 100644 --- a/generated/google/apis/gmail_v1/classes.rb +++ b/generated/google/apis/gmail_v1/classes.rb @@ -74,6 +74,37 @@ module Google end end + # + class BatchModifyMessagesRequest + include Google::Apis::Core::Hashable + + # A list of label IDs to add to messages. + # Corresponds to the JSON property `addLabelIds` + # @return [Array] + attr_accessor :add_label_ids + + # The IDs of the messages to modify. There is a limit of 1000 ids per request. + # Corresponds to the JSON property `ids` + # @return [Array] + attr_accessor :ids + + # A list of label IDs to remove from messages. + # Corresponds to the JSON property `removeLabelIds` + # @return [Array] + attr_accessor :remove_label_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_label_ids = args[:add_label_ids] if args.key?(:add_label_ids) + @ids = args[:ids] if args.key?(:ids) + @remove_label_ids = args[:remove_label_ids] if args.key?(:remove_label_ids) + end + end + # A draft email in the user's mailbox. class Draft include Google::Apis::Core::Hashable @@ -694,6 +725,25 @@ module Google end end + # + class ListSmimeInfoResponse + include Google::Apis::Core::Hashable + + # List of SmimeInfo. + # Corresponds to the JSON property `smimeInfo` + # @return [Array] + attr_accessor :smime_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @smime_info = args[:smime_info] if args.key?(:smime_info) + end + end + # class ListThreadsResponse include Google::Apis::Core::Hashable @@ -870,15 +920,15 @@ module Google # @return [String] attr_accessor :attachment_id - # The body data of a MIME message part. May be empty for MIME container types - # that have no message body or when the body data is sent as a separate - # attachment. An attachment ID is present if the body data is contained in a - # separate attachment. + # The body data of a MIME message part as a base64url encoded string. May be + # empty for MIME container types that have no message body or when the body data + # is sent as a separate attachment. An attachment ID is present if the body data + # is contained in a separate attachment. # Corresponds to the JSON property `data` # @return [String] attr_accessor :data - # Total number of bytes in the body of the message part. + # Number of bytes for the message part data (encoding notwithstanding). # Corresponds to the JSON property `size` # @return [Fixnum] attr_accessor :size @@ -1036,8 +1086,7 @@ module Google # Settings associated with a send-as alias, which can be either the primary # login address associated with the account or a custom "from" address. Send-as - # aliases correspond to the "Send Mail As" feature in the web interface. See - # for more details. + # aliases correspond to the "Send Mail As" feature in the web interface. class SendAs include Google::Apis::Core::Hashable @@ -1092,9 +1141,8 @@ module Google # @return [Google::Apis::GmailV1::SmtpMsa] attr_accessor :smtp_msa - # Whether Gmail should treat this address as an alias for the user's primary - # email address. See for more details. This setting only applies to custom " - # from" aliases. + # Whether Gmail should treat this address as an alias for the user's primary + # email address. This setting only applies to custom "from" aliases. # Corresponds to the JSON property `treatAsAlias` # @return [Boolean] attr_accessor :treat_as_alias @@ -1124,6 +1172,68 @@ module Google end end + # An S/MIME email config. + class SmimeInfo + include Google::Apis::Core::Hashable + + # Encrypted key password, when key is encrypted. + # Corresponds to the JSON property `encryptedKeyPassword` + # @return [String] + attr_accessor :encrypted_key_password + + # When the certificate expires (in milliseconds since epoch). + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # The immutable ID for the SmimeInfo. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Whether this SmimeInfo is the default one for this user's send-as address. + # Corresponds to the JSON property `isDefault` + # @return [Boolean] + attr_accessor :is_default + alias_method :is_default?, :is_default + + # The S/MIME certificate issuer's common name. + # Corresponds to the JSON property `issuerCn` + # @return [String] + attr_accessor :issuer_cn + + # PEM formatted X509 concatenated certificate string (standard base64 encoding). + # Format used for returning key, which includes public key as well as + # certificate chain (not private key). + # Corresponds to the JSON property `pem` + # @return [String] + attr_accessor :pem + + # PKCS#12 format containing a single private/public key pair and certificate + # chain. This format is only accepted from client for creating a new SmimeInfo + # and is never returned, because the private key is not intended to be exported. + # PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set + # appropriately. + # Corresponds to the JSON property `pkcs12` + # @return [String] + attr_accessor :pkcs12 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encrypted_key_password = args[:encrypted_key_password] if args.key?(:encrypted_key_password) + @expiration = args[:expiration] if args.key?(:expiration) + @id = args[:id] if args.key?(:id) + @is_default = args[:is_default] if args.key?(:is_default) + @issuer_cn = args[:issuer_cn] if args.key?(:issuer_cn) + @pem = args[:pem] if args.key?(:pem) + @pkcs12 = args[:pkcs12] if args.key?(:pkcs12) + end + end + # Configuration for communication with an SMTP service. class SmtpMsa include Google::Apis::Core::Hashable @@ -1210,7 +1320,7 @@ module Google end # Vacation auto-reply settings for an account. These settings correspond to the " - # Vacation responder" feature in the web interface. See for more details. + # Vacation responder" feature in the web interface. class VacationSettings include Google::Apis::Core::Hashable @@ -1253,7 +1363,7 @@ module Google alias_method :restrict_to_contacts?, :restrict_to_contacts # Flag that determines whether responses are sent to recipients who are outside - # of the user's domain. This feature is only available for Google Apps users. + # of the user's domain. This feature is only available for G Suite users. # Corresponds to the JSON property `restrictToDomain` # @return [Boolean] attr_accessor :restrict_to_domain diff --git a/generated/google/apis/gmail_v1/representations.rb b/generated/google/apis/gmail_v1/representations.rb index 86cf2d12a..907d8add6 100644 --- a/generated/google/apis/gmail_v1/representations.rb +++ b/generated/google/apis/gmail_v1/representations.rb @@ -34,6 +34,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BatchModifyMessagesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Draft class Representation < Google::Apis::Core::JsonRepresentation; end @@ -148,6 +154,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListSmimeInfoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListThreadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,6 +220,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SmimeInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SmtpMsa class Representation < Google::Apis::Core::JsonRepresentation; end @@ -254,6 +272,15 @@ module Google end end + class BatchModifyMessagesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :add_label_ids, as: 'addLabelIds' + collection :ids, as: 'ids' + collection :remove_label_ids, as: 'removeLabelIds' + end + end + class Draft # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -444,6 +471,14 @@ module Google end end + class ListSmimeInfoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :smime_info, as: 'smimeInfo', class: Google::Apis::GmailV1::SmimeInfo, decorator: Google::Apis::GmailV1::SmimeInfo::Representation + + end + end + class ListThreadsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -552,6 +587,19 @@ module Google end end + class SmimeInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encrypted_key_password, as: 'encryptedKeyPassword' + property :expiration, as: 'expiration' + property :id, as: 'id' + property :is_default, as: 'isDefault' + property :issuer_cn, as: 'issuerCn' + property :pem, as: 'pem' + property :pkcs12, :base64 => true, as: 'pkcs12' + end + end + class SmtpMsa # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/gmail_v1/service.rb b/generated/google/apis/gmail_v1/service.rb index 69b37d8da..1bf9f9e66 100644 --- a/generated/google/apis/gmail_v1/service.rb +++ b/generated/google/apis/gmail_v1/service.rb @@ -447,6 +447,8 @@ module Google # @param [String] user_id # The user's email address. The special value me can be used to indicate the # authenticated user. + # @param [Array, String] history_types + # History types to be returned by the function # @param [String] label_id # Only return messages with a label matching the ID. # @param [Fixnum] max_results @@ -485,11 +487,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_user_histories(user_id, label_id: nil, max_results: nil, page_token: nil, start_history_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_user_histories(user_id, history_types: nil, label_id: nil, max_results: nil, page_token: nil, start_history_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, '{userId}/history', options) command.response_representation = Google::Apis::GmailV1::ListHistoryResponse::Representation command.response_class = Google::Apis::GmailV1::ListHistoryResponse command.params['userId'] = user_id unless user_id.nil? + command.query['historyTypes'] = history_types unless history_types.nil? command.query['labelId'] = label_id unless label_id.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? @@ -774,6 +777,43 @@ module Google execute_or_queue_command(command, &block) end + # Modifies the labels on the specified messages. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [Google::Apis::GmailV1::BatchModifyMessagesRequest] batch_modify_messages_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_modify_messages(user_id, batch_modify_messages_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{userId}/messages/batchModify', options) + command.request_representation = Google::Apis::GmailV1::BatchModifyMessagesRequest::Representation + command.request_object = batch_modify_messages_request_object + command.params['userId'] = user_id unless user_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Immediately and permanently deletes the specified message. This operation # cannot be undone. Prefer messages.trash instead. # @param [String] user_id @@ -866,8 +906,7 @@ module Google # @param [Google::Apis::GmailV1::Message] message_object # @param [Boolean] deleted # Mark the email as permanently deleted (not TRASH) and only visible in Google - # Apps Vault to a Vault administrator. Only used for Google Apps for Work - # accounts. + # Vault to a Vault administrator. Only used for G Suite accounts. # @param [String] internal_date_source # Source for Gmail's internal date of the message. # @param [Boolean] never_mark_spam @@ -932,8 +971,7 @@ module Google # @param [Google::Apis::GmailV1::Message] message_object # @param [Boolean] deleted # Mark the email as permanently deleted (not TRASH) and only visible in Google - # Apps Vault to a Vault administrator. Only used for Google Apps for Work - # accounts. + # Vault to a Vault administrator. Only used for G Suite accounts. # @param [String] internal_date_source # Source for Gmail's internal date of the message. # @param [String] fields @@ -997,7 +1035,8 @@ module Google # @param [String] q # Only return messages matching the specified query. Supports the same query # format as the Gmail search box. For example, "from:someuser@example.com - # rfc822msgid: is:unread". + # rfc822msgid: is:unread". Parameter cannot be used when accessing the api using + # the gmail.metadata scope. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1392,6 +1431,8 @@ module Google # Updates the auto-forwarding setting for the specified account. A verified # forwarding address must be specified when auto-forwarding is enabled. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -1702,6 +1743,8 @@ module Google # will be sent to the recipient and the resource's verification status will be # set to pending; otherwise, the resource will be created with verification # status set to accepted. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -1742,6 +1785,8 @@ module Google # Deletes the specified forwarding address and revokes any verification that may # have been required. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -1860,6 +1905,8 @@ module Google # status will be set to pending; otherwise, the resource will be created with # verification status set to accepted. If a signature is provided, Gmail will # sanitize the HTML before saving it with the alias. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -1900,6 +1947,8 @@ module Google # Deletes the specified send-as alias. Revokes any verification that may have # been required for using it. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -2015,7 +2064,10 @@ module Google end # Updates a send-as alias. If a signature is provided, Gmail will sanitize the - # HTML before saving it with the alias. This method supports patch semantics. + # HTML before saving it with the alias. + # Addresses other than the primary address for the account can only be updated + # by service account clients that have been delegated domain-wide authority. + # This method supports patch semantics. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -2059,6 +2111,8 @@ module Google # Updates a send-as alias. If a signature is provided, Gmail will sanitize the # HTML before saving it with the alias. + # Addresses other than the primary address for the account can only be updated + # by service account clients that have been delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -2102,6 +2156,8 @@ module Google # Sends a verification email to the specified send-as alias address. The # verification status must be pending. + # This method is only available to service account clients that have been + # delegated domain-wide authority. # @param [String] user_id # User's email address. The special value "me" can be used to indicate the # authenticated user. @@ -2138,6 +2194,215 @@ module Google execute_or_queue_command(command, &block) end + # Deletes the specified S/MIME config for the specified send-as alias. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [String] send_as_email + # The email address that appears in the "From:" header for mail sent using this + # alias. + # @param [String] id + # The immutable ID for the SmimeInfo. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_user_setting_send_a_smime_info(user_id, send_as_email, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:delete, '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', options) + command.params['userId'] = user_id unless user_id.nil? + command.params['sendAsEmail'] = send_as_email unless send_as_email.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Gets the specified S/MIME config for the specified send-as alias. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [String] send_as_email + # The email address that appears in the "From:" header for mail sent using this + # alias. + # @param [String] id + # The immutable ID for the SmimeInfo. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GmailV1::SmimeInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GmailV1::SmimeInfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user_setting_send_a_smime_info(user_id, send_as_email, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}', options) + command.response_representation = Google::Apis::GmailV1::SmimeInfo::Representation + command.response_class = Google::Apis::GmailV1::SmimeInfo + command.params['userId'] = user_id unless user_id.nil? + command.params['sendAsEmail'] = send_as_email unless send_as_email.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Insert (upload) the given S/MIME config for the specified send-as alias. Note + # that pkcs12 format is required for the key. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [String] send_as_email + # The email address that appears in the "From:" header for mail sent using this + # alias. + # @param [Google::Apis::GmailV1::SmimeInfo] smime_info_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GmailV1::SmimeInfo] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GmailV1::SmimeInfo] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_user_setting_send_a_smime_info(user_id, send_as_email, smime_info_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', options) + command.request_representation = Google::Apis::GmailV1::SmimeInfo::Representation + command.request_object = smime_info_object + command.response_representation = Google::Apis::GmailV1::SmimeInfo::Representation + command.response_class = Google::Apis::GmailV1::SmimeInfo + command.params['userId'] = user_id unless user_id.nil? + command.params['sendAsEmail'] = send_as_email unless send_as_email.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Lists S/MIME configs for the specified send-as alias. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [String] send_as_email + # The email address that appears in the "From:" header for mail sent using this + # alias. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::GmailV1::ListSmimeInfoResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::GmailV1::ListSmimeInfoResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_user_setting_send_a_smime_infos(user_id, send_as_email, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo', options) + command.response_representation = Google::Apis::GmailV1::ListSmimeInfoResponse::Representation + command.response_class = Google::Apis::GmailV1::ListSmimeInfoResponse + command.params['userId'] = user_id unless user_id.nil? + command.params['sendAsEmail'] = send_as_email unless send_as_email.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Sets the default S/MIME config for the specified send-as alias. + # @param [String] user_id + # The user's email address. The special value me can be used to indicate the + # authenticated user. + # @param [String] send_as_email + # The email address that appears in the "From:" header for mail sent using this + # alias. + # @param [String] id + # The immutable ID for the SmimeInfo. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [NilClass] No result returned for this method + # @yieldparam err [StandardError] error object if request failed + # + # @return [void] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_user_setting_send_a_smime_info_default(user_id, send_as_email, id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault', options) + command.params['userId'] = user_id unless user_id.nil? + command.params['sendAsEmail'] = send_as_email unless send_as_email.nil? + command.params['id'] = id unless id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Immediately and permanently deletes the specified thread. This operation # cannot be undone. Prefer threads.trash instead. # @param [String] user_id @@ -2236,7 +2501,8 @@ module Google # @param [String] q # Only return threads matching the specified query. Supports the same query # format as the Gmail search box. For example, "from:someuser@example.com - # rfc822msgid: is:unread". + # rfc822msgid: is:unread". Parameter cannot be used when accessing the api using + # the gmail.metadata scope. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/groupssettings_v1.rb b/generated/google/apis/groupssettings_v1.rb index 2c851830c..988948a6d 100644 --- a/generated/google/apis/groupssettings_v1.rb +++ b/generated/google/apis/groupssettings_v1.rb @@ -27,7 +27,7 @@ module Google VERSION = 'V1' REVISION = '20160525' - # View and manage the settings of a Google Apps Group + # View and manage the settings of a G Suite group AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings' end end diff --git a/generated/google/apis/iam_v1.rb b/generated/google/apis/iam_v1.rb index fe20a6673..c5c6cdbb3 100644 --- a/generated/google/apis/iam_v1.rb +++ b/generated/google/apis/iam_v1.rb @@ -18,7 +18,7 @@ require 'google/apis/iam_v1/representations.rb' module Google module Apis - # Google Identity and Access Management API + # Google Identity and Access Management (IAM) API # # Manages identity and access control for Google Cloud Platform resources, # including the creation of service accounts, which you can use to authenticate @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/iam/ module IamV1 VERSION = 'V1' - REVISION = '20160129' + REVISION = '20170317' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/iam_v1/classes.rb b/generated/google/apis/iam_v1/classes.rb index da1e8c2f3..3243737c0 100644 --- a/generated/google/apis/iam_v1/classes.rb +++ b/generated/google/apis/iam_v1/classes.rb @@ -22,20 +22,82 @@ module Google module Apis module IamV1 + # The service account create request. + class CreateServiceAccountRequest + include Google::Apis::Core::Hashable + + # A service account in the Identity and Access Management API. + # To create a service account, specify the `project_id` and the `account_id` + # for the account. The `account_id` is unique within the project, and is used + # to generate the service account email address and a stable + # `unique_id`. + # If the account already exists, the account's resource name is returned + # in util::Status's ResourceInfo.resource_name in the format of + # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can + # use the name in other methods to access the account. + # All other methods can identify the service account using the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # Corresponds to the JSON property `serviceAccount` + # @return [Google::Apis::IamV1::ServiceAccount] + attr_accessor :service_account + + # Required. The account id that is used to generate the service account + # email address and a stable unique id. It is unique within a project, + # must be 6-30 characters long, and match the regular expression + # `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035. + # Corresponds to the JSON property `accountId` + # @return [String] + attr_accessor :account_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account = args[:service_account] if args.key?(:service_account) + @account_id = args[:account_id] if args.key?(:account_id) + end + end + # The service account list response. class ListServiceAccountsResponse include Google::Apis::Core::Hashable + # To retrieve the next page of results, set + # ListServiceAccountsRequest.page_token + # to this value. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # The list of matching service accounts. # Corresponds to the JSON property `accounts` # @return [Array] attr_accessor :accounts - # To retrieve the next page of results, set [ListServiceAccountsRequest. - # page_token] to this value. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @accounts = args[:accounts] if args.key?(:accounts) + end + end + + # The grantable role query response. + class QueryGrantableRolesResponse + include Google::Apis::Core::Hashable + + # The list of matching roles. + # Corresponds to the JSON property `roles` + # @return [Array] + attr_accessor :roles def initialize(**args) update!(**args) @@ -43,64 +105,52 @@ module Google # Update properties of this object def update!(**args) - @accounts = args[:accounts] if args.key?(:accounts) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @roles = args[:roles] if args.key?(:roles) end end - # A service account in the Identity and Access Management API. To create a - # service account, you specify the project_id and account_id for the account. - # The account_id is unique within the project, and used to generate the service - # account email address and a stable unique id. All other methods can identify - # accounts using the format "projects/`project`/serviceAccounts/`account`". - # Using '-' as a wildcard for the project, will infer the project from the - # account. The account value can be the email address or the unique_id of the - # service account. - class ServiceAccount + # The service account sign blob request. + class SignBlobRequest include Google::Apis::Core::Hashable - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". In requests using '-' as a wildcard for the - # project, will infer the project from the account and the account value can be - # the email address or the unique_id of the service account. In responses the - # resource name will always be in the format "projects/`project`/serviceAccounts/ - # `email`". + # The bytes to sign. + # Corresponds to the JSON property `bytesToSign` + # @return [String] + attr_accessor :bytes_to_sign + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign) + end + end + + # A role in the Identity and Access Management API. + class Role + include Google::Apis::Core::Hashable + + # Optional. A human-readable title for the role. Typically this + # is limited to 100 UTF-8 bytes. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The name of the role. + # When Role is used in CreateRole, the role name must not be set. + # When Role is used in output and other input such as UpdateRole, the role + # name is the complete path, e.g., roles/logging.viewer for curated roles + # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # @OutputOnly The id of the project that owns the service account. - # Corresponds to the JSON property `projectId` + # Optional. A human-readable description for the role. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :project_id - - # @OutputOnly unique and stable id of the service account. - # Corresponds to the JSON property `uniqueId` - # @return [String] - attr_accessor :unique_id - - # @OutputOnly Email address of the service account. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email - - # Optional. A user-specified description of the service account. Must be fewer - # than 100 UTF-8 bytes. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Used to perform a consistent read-modify-write. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # @OutputOnly. The OAuth2 client id for the service account. This is used in - # conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) - # flows to access the data of Google users. - # Corresponds to the JSON property `oauth2ClientId` - # @return [String] - attr_accessor :oauth2_client_id + attr_accessor :description def initialize(**args) update!(**args) @@ -108,39 +158,45 @@ module Google # Update properties of this object def update!(**args) + @title = args[:title] if args.key?(:title) @name = args[:name] if args.key?(:name) - @project_id = args[:project_id] if args.key?(:project_id) - @unique_id = args[:unique_id] if args.key?(:unique_id) - @email = args[:email] if args.key?(:email) - @display_name = args[:display_name] if args.key?(:display_name) - @etag = args[:etag] if args.key?(:etag) - @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @description = args[:description] if args.key?(:description) end end - # The service account create request. - class CreateServiceAccountRequest + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest include Google::Apis::Core::Hashable - # Required. The account id that is used to generate the service account email - # address and a stable unique id. It is unique within a project, must be 1-63 - # characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to - # comply with RFC1035. - # Corresponds to the JSON property `accountId` - # @return [String] - attr_accessor :account_id - - # A service account in the Identity and Access Management API. To create a - # service account, you specify the project_id and account_id for the account. - # The account_id is unique within the project, and used to generate the service - # account email address and a stable unique id. All other methods can identify - # accounts using the format "projects/`project`/serviceAccounts/`account`". - # Using '-' as a wildcard for the project, will infer the project from the - # account. The account value can be the email address or the unique_id of the - # service account. - # Corresponds to the JSON property `serviceAccount` - # @return [Google::Apis::IamV1::ServiceAccount] - attr_accessor :service_account + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::IamV1::Policy] + attr_accessor :policy def initialize(**args) update!(**args) @@ -148,16 +204,79 @@ module Google # Update properties of this object def update!(**args) - @account_id = args[:account_id] if args.key?(:account_id) - @service_account = args[:service_account] if args.key?(:service_account) + @policy = args[:policy] if args.key?(:policy) end end - # 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 ````. + # Associates `members` with a `role`. + class Binding + include Google::Apis::Core::Hashable + + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + + # The grantable role query request. + class QueryGrantableRolesRequest + include Google::Apis::Core::Hashable + + # Required. The full resource name to query from the list of grantable roles. + # The name follows the Google Cloud Platform resource format. + # For example, a Cloud Platform project with id `my-project` will be named + # `//cloudresourcemanager.googleapis.com/projects/my-project`. + # Corresponds to the JSON property `fullResourceName` + # @return [String] + attr_accessor :full_resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) + end + end + + # 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 include Google::Apis::Core::Hashable @@ -170,6 +289,103 @@ module Google end end + # A service account in the Identity and Access Management API. + # To create a service account, specify the `project_id` and the `account_id` + # for the account. The `account_id` is unique within the project, and is used + # to generate the service account email address and a stable + # `unique_id`. + # If the account already exists, the account's resource name is returned + # in util::Status's ResourceInfo.resource_name in the format of + # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can + # use the name in other methods to access the account. + # All other methods can identify the service account using the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + class ServiceAccount + include Google::Apis::Core::Hashable + + # @OutputOnly The email address of the service account. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Requests using `-` as a wildcard for the project will infer the project + # from the `account` and the `account` value can be the `email` address or + # the `unique_id` of the service account. + # In responses the resource name will always be in the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # @OutputOnly The id of the project that owns the service account. + # Corresponds to the JSON property `projectId` + # @return [String] + attr_accessor :project_id + + # @OutputOnly. The OAuth2 client id for the service account. + # This is used in conjunction with the OAuth2 clientconfig API to make + # three legged OAuth2 (3LO) flows to access the data of Google users. + # Corresponds to the JSON property `oauth2ClientId` + # @return [String] + attr_accessor :oauth2_client_id + + # @OutputOnly The unique and stable id of the service account. + # Corresponds to the JSON property `uniqueId` + # @return [String] + attr_accessor :unique_id + + # Optional. A user-specified description of the service account. Must be + # fewer than 100 UTF-8 bytes. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Used to perform a consistent read-modify-write. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @email = args[:email] if args.key?(:email) + @name = args[:name] if args.key?(:name) + @project_id = args[:project_id] if args.key?(:project_id) + @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id) + @unique_id = args[:unique_id] if args.key?(:unique_id) + @display_name = args[:display_name] if args.key?(:display_name) + @etag = args[:etag] if args.key?(:etag) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + # The service account keys list response. class ListServiceAccountKeysResponse include Google::Apis::Core::Hashable @@ -189,49 +405,75 @@ module Google end end - # Represents a service account key. A service account can have 0 or more key - # pairs. The private keys for these are not stored by Google. ServiceAccountKeys - # are immutable. + # Represents a service account key. + # A service account has two sets of key-pairs: user-managed, and + # system-managed. + # User-managed key-pairs can be created and deleted by users. Users are + # responsible for rotating these keys periodically to ensure security of + # their service accounts. Users retain the private key of these key-pairs, + # and Google retains ONLY the public key. + # System-managed key-pairs are managed automatically by Google, and rotated + # daily without user intervention. The private key never leaves Google's + # servers to maximize security. + # Public keys for all service accounts are also published at the OAuth2 + # Service Account API. class ServiceAccountKey include Google::Apis::Core::Hashable - # The resource name of the service account key in the format "projects/`project`/ - # serviceAccounts/`email`/keys/`key`". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The type of the private key. - # Corresponds to the JSON property `privateKeyType` - # @return [String] - attr_accessor :private_key_type - - # The key data. - # Corresponds to the JSON property `privateKeyData` - # @return [String] - attr_accessor :private_key_data - # The key can be used after this timestamp. # Corresponds to the JSON property `validAfterTime` # @return [String] attr_accessor :valid_after_time + # The output format for the private key. + # Only provided in `CreateServiceAccountKey` responses, not + # in `GetServiceAccountKey` or `ListServiceAccountKey` responses. + # Google never exposes system-managed private keys, and never retains + # user-managed private keys. + # Corresponds to the JSON property `privateKeyType` + # @return [String] + attr_accessor :private_key_type + + # The private key data. Only provided in `CreateServiceAccountKey` + # responses. + # Corresponds to the JSON property `privateKeyData` + # @return [String] + attr_accessor :private_key_data + + # The public key data. Only provided in `GetServiceAccountKey` responses. + # Corresponds to the JSON property `publicKeyData` + # @return [String] + attr_accessor :public_key_data + + # The resource name of the service account key in the following format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + # The key can be used before this timestamp. # Corresponds to the JSON property `validBeforeTime` # @return [String] attr_accessor :valid_before_time + # Specifies the algorithm (and possibly key size) for the key. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) + @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) @private_key_type = args[:private_key_type] if args.key?(:private_key_type) @private_key_data = args[:private_key_data] if args.key?(:private_key_data) - @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time) + @public_key_data = args[:public_key_data] if args.key?(:public_key_data) + @name = args[:name] if args.key?(:name) @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) end end @@ -239,7 +481,15 @@ module Google class CreateServiceAccountKeyRequest include Google::Apis::Core::Hashable - # The type of the key requested. GOOGLE_CREDENTIALS is the default key type. + # Which type of key and algorithm to use for the key. + # The default is currently a 2K RSA key. However this may change in the + # future. + # Corresponds to the JSON property `keyAlgorithm` + # @return [String] + attr_accessor :key_algorithm + + # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the + # default output format. # Corresponds to the JSON property `privateKeyType` # @return [String] attr_accessor :private_key_type @@ -250,18 +500,22 @@ module Google # Update properties of this object def update!(**args) + @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm) @private_key_type = args[:private_key_type] if args.key?(:private_key_type) end end - # The service account sign blob request. - class SignBlobRequest + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest include Google::Apis::Core::Hashable - # The bytes to sign - # Corresponds to the JSON property `bytesToSign` - # @return [String] - attr_accessor :bytes_to_sign + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions def initialize(**args) update!(**args) @@ -269,7 +523,7 @@ module Google # Update properties of this object def update!(**args) - @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign) + @permissions = args[:permissions] if args.key?(:permissions) end end @@ -277,15 +531,40 @@ module Google class SignBlobResponse include Google::Apis::Core::Hashable + # The signed blob. + # Corresponds to the JSON property `signature` + # @return [String] + attr_accessor :signature + # The id of the key used to sign the blob. # Corresponds to the JSON property `keyId` # @return [String] attr_accessor :key_id - # The signed blob. - # Corresponds to the JSON property `signature` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @signature = args[:signature] if args.key?(:signature) + @key_id = args[:key_id] if args.key?(:key_id) + end + end + + # The service account sign JWT response. + class SignJwtResponse + include Google::Apis::Core::Hashable + + # The id of the key used to sign the JWT. + # Corresponds to the JSON property `keyId` # @return [String] - attr_accessor :signature + attr_accessor :key_id + + # The signed JWT. + # Corresponds to the JSON property `signedJwt` + # @return [String] + attr_accessor :signed_jwt def initialize(**args) update!(**args) @@ -294,90 +573,140 @@ module Google # Update properties of this object def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) - @signature = args[:signature] if args.key?(:signature) + @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt) end end - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). class Policy include Google::Apis::Core::Hashable + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + # Version of the `Policy`. The default version is 0. # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version - # Associates a list of `members` to a `role`. Multiple `bindings` must not be - # specified for the same `role`. `bindings` with no members will result in an - # error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # - # Corresponds to the JSON property `rules` - # @return [Array] - attr_accessor :rules - - # `etag` is used for optimistic concurrency control as a way to help prevent - # simultaneous updates of a policy from overwriting each other. It is strongly - # suggested that systems make use of the `etag` in the read-modify-write cycle - # to perform policy updates in order to avoid race conditions: An `etag` is - # returned in the response to `getIamPolicy`, and systems are expected to put - # that etag in the request to `setIamPolicy` to ensure that their change will be - # applied to the same version of the policy. If no `etag` is provided in the - # call to `setIamPolicy`, then the existing policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @version = args[:version] if args.key?(:version) @bindings = args[:bindings] if args.key?(:bindings) - @rules = args[:rules] if args.key?(:rules) @etag = args[:etag] if args.key?(:etag) + @version = args[:version] if args.key?(:version) end end - # Associates `members` with a `role`. - class Binding + # The service account sign JWT request. + class SignJwtRequest include Google::Apis::Core::Hashable - # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` - # , or `roles/owner`. Required + # The JWT payload to sign, a JSON JWT Claim set. + # Corresponds to the JSON property `payload` + # @return [String] + attr_accessor :payload + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @payload = args[:payload] if args.key?(:payload) + end + end + + # Audit log information specific to Cloud IAM. This message is serialized + # as an `Any` type in the `ServiceData` message of an + # `AuditLog` message. + class AuditData + include Google::Apis::Core::Hashable + + # The difference delta between two policies. + # Corresponds to the JSON property `policyDelta` + # @return [Google::Apis::IamV1::PolicyDelta] + attr_accessor :policy_delta + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy_delta = args[:policy_delta] if args.key?(:policy_delta) + end + end + + # One delta entry for Binding. Each individual change (only one member in each + # entry) to a binding will be a separate entry. + class BindingDelta + include Google::Apis::Core::Hashable + + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required # Corresponds to the JSON property `role` # @return [String] attr_accessor :role - # Specifies the identities requesting access for a Cloud Platform resource. ` - # members` can have the following values: * `allUsers`: A special identifier - # that represents anyone who is on the internet; with or without a Google - # account. * `allAuthenticatedUsers`: A special identifier that represents - # anyone who is authenticated with a Google account or a service account. * ` - # user:`emailid``: An email address that represents a specific Google account. - # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:` - # emailid``: An email address that represents a service account. For example, ` - # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email - # address that represents a Google group. For example, `admins@example.com`. * ` - # domain:`domain``: A Google Apps domain name that represents all the users of - # that domain. For example, `google.com` or `example.com`. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members + # The action that was performed on a Binding. + # Required + # Corresponds to the JSON property `action` + # @return [String] + attr_accessor :action + + # A single identity requesting access for a Cloud Platform resource. + # Follows the same format of Binding.members. + # Required + # Corresponds to the JSON property `member` + # @return [String] + attr_accessor :member def initialize(**args) update!(**args) @@ -386,104 +715,19 @@ module Google # Update properties of this object def update!(**args) @role = args[:role] if args.key?(:role) - @members = args[:members] if args.key?(:members) - end - end - - # A rule to be applied in a Policy. - class Rule - include Google::Apis::Core::Hashable - - # Human-readable description of the rule. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value - # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets. - # *') matches all verbs. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - # Required - # Corresponds to the JSON property `action` - # @return [String] - attr_accessor :action - - # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in this set of entries. - # Corresponds to the JSON property `in` - # @return [Array] - attr_accessor :in - - # The rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is not in this set of - # entries. The format for in and not_in entries is the same as for members in a - # Binding (see google/iam/v1/policy.proto). - # Corresponds to the JSON property `notIn` - # @return [Array] - attr_accessor :not_in - - # Additional restrictions that must be met - # Corresponds to the JSON property `conditions` - # @return [Array] - attr_accessor :conditions - - # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries - # that match the LOG action. - # Corresponds to the JSON property `logConfig` - # @return [Array] - attr_accessor :log_config - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @permissions = args[:permissions] if args.key?(:permissions) @action = args[:action] if args.key?(:action) - @in = args[:in] if args.key?(:in) - @not_in = args[:not_in] if args.key?(:not_in) - @conditions = args[:conditions] if args.key?(:conditions) - @log_config = args[:log_config] if args.key?(:log_config) + @member = args[:member] if args.key?(:member) end end - # A condition to be met. - class Condition + # The difference delta between two policies. + class PolicyDelta include Google::Apis::Core::Hashable - # Trusted attributes supplied by the IAM system. - # Corresponds to the JSON property `iam` - # @return [String] - attr_accessor :iam - - # Trusted attributes supplied by any service that owns resources and uses the - # IAM system for access control. - # Corresponds to the JSON property `sys` - # @return [String] - attr_accessor :sys - - # Trusted attributes discharged by the service. - # Corresponds to the JSON property `svc` - # @return [String] - attr_accessor :svc - - # An operator to apply the subject with. - # Corresponds to the JSON property `op` - # @return [String] - attr_accessor :op - - # The object of the condition. Exactly one of these must be set. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The objects of the condition. This is mutually exclusive with 'value'. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values + # The delta for Bindings between two policies. + # Corresponds to the JSON property `bindingDeltas` + # @return [Array] + attr_accessor :binding_deltas def initialize(**args) update!(**args) @@ -491,173 +735,7 @@ module Google # Update properties of this object def update!(**args) - @iam = args[:iam] if args.key?(:iam) - @sys = args[:sys] if args.key?(:sys) - @svc = args[:svc] if args.key?(:svc) - @op = args[:op] if args.key?(:op) - @value = args[:value] if args.key?(:value) - @values = args[:values] if args.key?(:values) - end - end - - # 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 only "iam_principal", - # corresponding to IAMContext.principal, is supported. 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 - class LogConfig - include Google::Apis::Core::Hashable - - # Options for counters - # Corresponds to the JSON property `counter` - # @return [Google::Apis::IamV1::CounterOptions] - attr_accessor :counter - - # Write a Data Access (Gin) log - # Corresponds to the JSON property `dataAccess` - # @return [Google::Apis::IamV1::DataAccessOptions] - attr_accessor :data_access - - # Write a Cloud Audit log - # Corresponds to the JSON property `cloudAudit` - # @return [Google::Apis::IamV1::CloudAuditOptions] - attr_accessor :cloud_audit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @counter = args[:counter] if args.key?(:counter) - @data_access = args[:data_access] if args.key?(:data_access) - @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit) - end - end - - # Options for counters - class CounterOptions - include Google::Apis::Core::Hashable - - # The metric to update. - # Corresponds to the JSON property `metric` - # @return [String] - attr_accessor :metric - - # The field value to attribute. - # Corresponds to the JSON property `field` - # @return [String] - attr_accessor :field - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metric = args[:metric] if args.key?(:metric) - @field = args[:field] if args.key?(:field) - end - end - - # Write a Data Access (Gin) log - class DataAccessOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Write a Cloud Audit log - class CloudAuditOptions - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com"] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::IamV1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with wildcards - # (such as '*' or 'storage.*') are not allowed. For more information see IAM - # Overview. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) + @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas) end end end diff --git a/generated/google/apis/iam_v1/representations.rb b/generated/google/apis/iam_v1/representations.rb index 274415169..3e64f8f73 100644 --- a/generated/google/apis/iam_v1/representations.rb +++ b/generated/google/apis/iam_v1/representations.rb @@ -22,25 +22,67 @@ module Google module Apis module IamV1 + class CreateServiceAccountRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListServiceAccountsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class QueryGrantableRolesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SignBlobRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Role + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetIamPolicyRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class QueryGrantableRolesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ServiceAccount class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CreateServiceAccountRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty + class TestIamPermissionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,7 +106,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SignBlobRequest + class TestIamPermissionsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,100 +118,104 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SignJwtResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Policy class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Binding + class SignJwtRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Rule + class AuditData class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Condition + class BindingDelta class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogConfig + class PolicyDelta class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CounterOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataAccessOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CloudAuditOptions - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListServiceAccountsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ServiceAccount - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :project_id, as: 'projectId' - property :unique_id, as: 'uniqueId' - property :email, as: 'email' - property :display_name, as: 'displayName' - property :etag, :base64 => true, as: 'etag' - property :oauth2_client_id, as: 'oauth2ClientId' - end - end - class CreateServiceAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :account_id, as: 'accountId' property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + property :account_id, as: 'accountId' + end + end + + class ListServiceAccountsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :accounts, as: 'accounts', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation + + end + end + + class QueryGrantableRolesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :roles, as: 'roles', class: Google::Apis::IamV1::Role, decorator: Google::Apis::IamV1::Role::Representation + + end + end + + class SignBlobRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bytes_to_sign, :base64 => true, as: 'bytesToSign' + end + end + + class Role + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :title, as: 'title' + property :name, as: 'name' + property :description, as: 'description' + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation + + end + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + + class QueryGrantableRolesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :full_resource_name, as: 'fullResourceName' end end @@ -179,6 +225,26 @@ module Google end end + class ServiceAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :email, as: 'email' + property :name, as: 'name' + property :project_id, as: 'projectId' + property :oauth2_client_id, as: 'oauth2ClientId' + property :unique_id, as: 'uniqueId' + property :display_name, as: 'displayName' + property :etag, :base64 => true, as: 'etag' + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + class ListServiceAccountKeysResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -190,123 +256,24 @@ module Google class ServiceAccountKey # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' + property :valid_after_time, as: 'validAfterTime' property :private_key_type, as: 'privateKeyType' property :private_key_data, :base64 => true, as: 'privateKeyData' - property :valid_after_time, as: 'validAfterTime' + property :public_key_data, :base64 => true, as: 'publicKeyData' + property :name, as: 'name' property :valid_before_time, as: 'validBeforeTime' + property :key_algorithm, as: 'keyAlgorithm' end end class CreateServiceAccountKeyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :key_algorithm, as: 'keyAlgorithm' property :private_key_type, as: 'privateKeyType' end end - class SignBlobRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bytes_to_sign, :base64 => true, as: 'bytesToSign' - end - end - - class SignBlobResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key_id, as: 'keyId' - property :signature, :base64 => true, as: 'signature' - end - end - - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation - - collection :rules, as: 'rules', class: Google::Apis::IamV1::Rule, decorator: Google::Apis::IamV1::Rule::Representation - - property :etag, :base64 => true, as: 'etag' - end - end - - class Binding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' - collection :members, as: 'members' - end - end - - class Rule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - collection :permissions, as: 'permissions' - property :action, as: 'action' - collection :in, as: 'in' - collection :not_in, as: 'notIn' - collection :conditions, as: 'conditions', class: Google::Apis::IamV1::Condition, decorator: Google::Apis::IamV1::Condition::Representation - - collection :log_config, as: 'logConfig', class: Google::Apis::IamV1::LogConfig, decorator: Google::Apis::IamV1::LogConfig::Representation - - end - end - - class Condition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :iam, as: 'iam' - property :sys, as: 'sys' - property :svc, as: 'svc' - property :op, as: 'op' - property :value, as: 'value' - collection :values, as: 'values' - end - end - - class LogConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :counter, as: 'counter', class: Google::Apis::IamV1::CounterOptions, decorator: Google::Apis::IamV1::CounterOptions::Representation - - property :data_access, as: 'dataAccess', class: Google::Apis::IamV1::DataAccessOptions, decorator: Google::Apis::IamV1::DataAccessOptions::Representation - - property :cloud_audit, as: 'cloudAudit', class: Google::Apis::IamV1::CloudAuditOptions, decorator: Google::Apis::IamV1::CloudAuditOptions::Representation - - end - end - - class CounterOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metric, as: 'metric' - property :field, as: 'field' - end - end - - class DataAccessOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class CloudAuditOptions - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::IamV1::Policy, decorator: Google::Apis::IamV1::Policy::Representation - - end - end - class TestIamPermissionsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -314,10 +281,61 @@ module Google end end - class TestIamPermissionsResponse + class SignBlobResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' + property :signature, :base64 => true, as: 'signature' + property :key_id, as: 'keyId' + end + end + + class SignJwtResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key_id, as: 'keyId' + property :signed_jwt, as: 'signedJwt' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::IamV1::Binding, decorator: Google::Apis::IamV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :version, as: 'version' + end + end + + class SignJwtRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :payload, as: 'payload' + end + end + + class AuditData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy_delta, as: 'policyDelta', class: Google::Apis::IamV1::PolicyDelta, decorator: Google::Apis::IamV1::PolicyDelta::Representation + + end + end + + class BindingDelta + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :role, as: 'role' + property :action, as: 'action' + property :member, as: 'member' + end + end + + class PolicyDelta + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :binding_deltas, as: 'bindingDeltas', class: Google::Apis::IamV1::BindingDelta, decorator: Google::Apis::IamV1::BindingDelta::Representation + end end end diff --git a/generated/google/apis/iam_v1/service.rb b/generated/google/apis/iam_v1/service.rb index cc293a618..7dc93dbaf 100644 --- a/generated/google/apis/iam_v1/service.rb +++ b/generated/google/apis/iam_v1/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module IamV1 - # Google Identity and Access Management API + # Google Identity and Access Management (IAM) API # # Manages identity and access control for Google Cloud Platform resources, # including the creation of service accounts, which you can use to authenticate @@ -48,17 +48,10 @@ module Google super('https://iam.googleapis.com/', '') end - # Lists service accounts for a project. - # @param [String] name - # Required. The resource name of the project associated with the service - # accounts, such as "projects/123" - # @param [Fixnum] page_size - # Optional limit on the number of service accounts to include in the response. - # Further accounts can subsequently be obtained by including the [ - # ListServiceAccountsResponse.next_page_token] in a subsequent request. - # @param [String] page_token - # Optional pagination token returned in an earlier [ListServiceAccountsResponse. - # next_page_token]. + # Queries roles that can be granted on a particular resource. + # A role is grantable if it can be used as the role in a binding for a policy + # for that resource. + # @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -68,102 +61,37 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam result [Google::Apis::IamV1::QueryGrantableRolesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # @return [Google::Apis::IamV1::QueryGrantableRolesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_service_accounts(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) - command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation - command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? + def query_grantable_roles(query_grantable_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/roles:queryGrantableRoles', options) + command.request_representation = Google::Apis::IamV1::QueryGrantableRolesRequest::Representation + command.request_object = query_grantable_roles_request_object + command.response_representation = Google::Apis::IamV1::QueryGrantableRolesResponse::Representation + command.response_class = Google::Apis::IamV1::QueryGrantableRolesResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets a ServiceAccount + # Updates a ServiceAccount. + # Currently, only the following fields are updatable: + # `display_name` . + # The `etag` is mandatory. # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". Using '-' as a wildcard for the project, will - # infer the project from the account. The account value can be the email address - # or the unique_id of the service account. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::ServiceAccount] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+name}', options) - command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.response_class = Google::Apis::IamV1::ServiceAccount - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a service account and returns it. - # @param [String] name - # Required. The resource name of the project associated with the service - # accounts, such as "projects/123" - # @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::ServiceAccount] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options) - command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation - command.request_object = create_service_account_request_object - command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation - command.response_class = Google::Apis::IamV1::ServiceAccount - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Updates a service account. Currently, only the following fields are updatable: - # 'display_name' . The 'etag' is mandatory. - # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". In requests using '-' as a wildcard for the - # project, will infer the project from the account and the account value can be - # the email address or the unique_id of the service account. In responses the - # resource name will always be in the format "projects/`project`/serviceAccounts/ - # `email`". + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Requests using `-` as a wildcard for the project will infer the project + # from the `account` and the `account` value can be the `email` address or + # the `unique_id` of the service account. + # In responses the resource name will always be in the format + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. # @param [Google::Apis::IamV1::ServiceAccount] service_account_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -194,151 +122,11 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a service acount. - # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". Using '-' as a wildcard for the project, will - # infer the project from the account. The account value can be the email address - # or the unique_id of the service account. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IamV1::Empty::Representation - command.response_class = Google::Apis::IamV1::Empty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Signs a blob using a service account. - # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". Using '-' as a wildcard for the project, will - # infer the project from the account. The account value can be the email address - # or the unique_id of the service account. - # @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::SignBlobResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+name}:signBlob', options) - command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation - command.request_object = sign_blob_request_object - command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation - command.response_class = Google::Apis::IamV1::SignBlobResponse - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns the IAM access control policy for specified IAM resource. + # Tests the specified permissions against the IAM access control policy + # for a ServiceAccount. # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::IamV1::Policy::Representation - command.response_class = Google::Apis::IamV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets the IAM access control policy for the specified IAM resource. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. - # @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_service_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::IamV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::IamV1::Policy::Representation - command.response_class = Google::Apis::IamV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Tests the specified permissions against the IAM access control policy for the - # specified IAM resource. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. # @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -369,15 +157,339 @@ module Google execute_or_queue_command(command, &block) end - # Lists service account keys + # Deletes a ServiceAccount. # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". Using '-' as a wildcard for the project, will - # infer the project from the account. The account value can be the email address - # or the unique_id of the service account. + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Empty::Representation + command.response_class = Google::Apis::IamV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Signs a blob using a service account's system-managed private key. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::SignBlobResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::SignBlobResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def sign_service_account_blob(name, sign_blob_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:signBlob', options) + command.request_representation = Google::Apis::IamV1::SignBlobRequest::Representation + command.request_object = sign_blob_request_object + command.response_representation = Google::Apis::IamV1::SignBlobResponse::Representation + command.response_class = Google::Apis::IamV1::SignBlobResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists ServiceAccounts for a project. + # @param [String] name + # Required. The resource name of the project associated with the service + # accounts, such as `projects/my-project-123`. + # @param [String] page_token + # Optional pagination token returned in an earlier + # ListServiceAccountsResponse.next_page_token. + # @param [Fixnum] page_size + # Optional limit on the number of service accounts to include in the + # response. Further accounts can subsequently be obtained by including the + # ListServiceAccountsResponse.next_page_token + # in a subsequent request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::ListServiceAccountsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ListServiceAccountsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_service_accounts(name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}/serviceAccounts', options) + command.response_representation = Google::Apis::IamV1::ListServiceAccountsResponse::Representation + command.response_class = Google::Apis::IamV1::ListServiceAccountsResponse + command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a ServiceAccount + # and returns it. + # @param [String] name + # Required. The resource name of the project associated with the service + # accounts, such as `projects/my-project-123`. + # @param [Google::Apis::IamV1::CreateServiceAccountRequest] create_service_account_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ServiceAccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_service_account(name, create_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}/serviceAccounts', options) + command.request_representation = Google::Apis::IamV1::CreateServiceAccountRequest::Representation + command.request_object = create_service_account_request_object + command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation + command.response_class = Google::Apis::IamV1::ServiceAccount + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Signs a JWT using a service account's system-managed private key. + # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an + # an expiry time of one hour by default. If you request an expiry time of + # more than one hour, the request will fail. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [Google::Apis::IamV1::SignJwtRequest] sign_jwt_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::SignJwtResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::SignJwtResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def sign_service_account_jwt(name, sign_jwt_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:signJwt', options) + command.request_representation = Google::Apis::IamV1::SignJwtRequest::Representation + command.request_object = sign_jwt_request_object + command.response_representation = Google::Apis::IamV1::SignJwtResponse::Representation + command.response_class = Google::Apis::IamV1::SignJwtResponse + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Sets the IAM access control policy for a + # ServiceAccount. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_service_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::IamV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::IamV1::Policy::Representation + command.response_class = Google::Apis::IamV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns the IAM access control policy for a + # ServiceAccount. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_service_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::IamV1::Policy::Representation + command.response_class = Google::Apis::IamV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a ServiceAccount. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::ServiceAccount] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_service_account(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation + command.response_class = Google::Apis::IamV1::ServiceAccount + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a ServiceAccountKey. + # @param [String] name + # The resource name of the service account key in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::IamV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::IamV1::Empty::Representation + command.response_class = Google::Apis::IamV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists ServiceAccountKeys. + # @param [String] name + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project, will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. # @param [Array, String] key_types - # The type of keys the user wants to list. If empty, all key types are included - # in the response. Duplicate key types are not allowed. + # Filters the types of keys the user wants to include in the list + # response. Duplicate key types are not allowed. If no key type + # is provided, all keys are returned. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -406,12 +518,17 @@ module Google execute_or_queue_command(command, &block) end - # Gets the ServiceAccountKey by key id. + # Gets the ServiceAccountKey + # by key id. # @param [String] name - # The resource name of the service account key in the format "projects/`project`/ - # serviceAccounts/`account`/keys/`key`". Using '-' as a wildcard for the project - # will infer the project from the account. The account value can be the email - # address or the unique_id of the service account. + # The resource name of the service account key in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. + # @param [String] public_key_type + # The output format of the public key requested. + # X509_PEM is the default output format. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -429,22 +546,25 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block) + def get_project_service_account_key(name, public_key_type: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', options) command.response_representation = Google::Apis::IamV1::ServiceAccountKey::Representation command.response_class = Google::Apis::IamV1::ServiceAccountKey command.params['name'] = name unless name.nil? + command.query['publicKeyType'] = public_key_type unless public_key_type.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Creates a service account key and returns it. + # Creates a ServiceAccountKey + # and returns it. # @param [String] name - # The resource name of the service account in the format "projects/`project`/ - # serviceAccounts/`account`". Using '-' as a wildcard for the project, will - # infer the project from the account. The account value can be the email address - # or the unique_id of the service account. + # The resource name of the service account in the following format: + # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``. + # Using `-` as a wildcard for the project will infer the project from + # the account. The `account` value can be the `email` address or the + # `unique_id` of the service account. # @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -474,39 +594,6 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - - # Deletes a service account key. - # @param [String] name - # The resource name of the service account key in the format "projects/`project`/ - # serviceAccounts/`account`/keys/`key`". Using '-' as a wildcard for the project - # will infer the project from the account. The account value can be the email - # address or the unique_id of the service account. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::IamV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_service_account_key(name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+name}', options) - command.response_representation = Google::Apis::IamV1::Empty::Representation - command.response_class = Google::Apis::IamV1::Empty - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end protected diff --git a/generated/google/apis/identitytoolkit_v3.rb b/generated/google/apis/identitytoolkit_v3.rb index ec2d42ad3..5ece84b98 100644 --- a/generated/google/apis/identitytoolkit_v3.rb +++ b/generated/google/apis/identitytoolkit_v3.rb @@ -25,7 +25,13 @@ module Google # @see https://developers.google.com/identity-toolkit/v3/ module IdentitytoolkitV3 VERSION = 'V3' - REVISION = '20160810' + REVISION = '20170308' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + + # View and administer all your Firebase data and settings + AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase' end end end diff --git a/generated/google/apis/identitytoolkit_v3/classes.rb b/generated/google/apis/identitytoolkit_v3/classes.rb index 63957017e..ffdae51f5 100644 --- a/generated/google/apis/identitytoolkit_v3/classes.rb +++ b/generated/google/apis/identitytoolkit_v3/classes.rb @@ -105,7 +105,7 @@ module Google end end - # Respone of downloading accounts in batch. + # Response of downloading accounts in batch. class DownloadAccountResponse include Google::Apis::Core::Hashable @@ -306,6 +306,13 @@ module Google # @return [String] attr_accessor :continue_uri + # The query parameter that client can customize by themselves in auth url. The + # following parameters are reserved for server so that they cannot be customized + # by clients: client_id, response_type, scope, redirect_uri, state, oauth_token. + # Corresponds to the JSON property `customParameter` + # @return [Hash] + attr_accessor :custom_parameter + # The hosted domain to restrict sign-in to accounts at that domain for Google # Apps hosted accounts. # Corresponds to the JSON property `hostedDomain` @@ -361,6 +368,7 @@ module Google @client_id = args[:client_id] if args.key?(:client_id) @context = args[:context] if args.key?(:context) @continue_uri = args[:continue_uri] if args.key?(:continue_uri) + @custom_parameter = args[:custom_parameter] if args.key?(:custom_parameter) @hosted_domain = args[:hosted_domain] if args.key?(:hosted_domain) @identifier = args[:identifier] if args.key?(:identifier) @oauth_consumer_key = args[:oauth_consumer_key] if args.key?(:oauth_consumer_key) @@ -424,6 +432,12 @@ module Google # @return [String] attr_accessor :next_page_token + # Specify which project (field value is actually project id) to operate. Only + # used when provided credential. + # Corresponds to the JSON property `targetProjectId` + # @return [String] + attr_accessor :target_project_id + def initialize(**args) update!(**args) end @@ -433,6 +447,7 @@ module Google @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @max_results = args[:max_results] if args.key?(:max_results) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @target_project_id = args[:target_project_id] if args.key?(:target_project_id) end end @@ -499,6 +514,11 @@ module Google # @return [Google::Apis::IdentitytoolkitV3::EmailTemplate] attr_accessor :change_email_template + # + # Corresponds to the JSON property `dynamicLinksDomain` + # @return [String] + attr_accessor :dynamic_links_domain + # Whether anonymous user is enabled. # Corresponds to the JSON property `enableAnonymousUser` # @return [Boolean] @@ -546,6 +566,7 @@ module Google @api_key = args[:api_key] if args.key?(:api_key) @authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains) @change_email_template = args[:change_email_template] if args.key?(:change_email_template) + @dynamic_links_domain = args[:dynamic_links_domain] if args.key?(:dynamic_links_domain) @enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user) @idp_config = args[:idp_config] if args.key?(:idp_config) @legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template) @@ -897,6 +918,12 @@ module Google # @return [String] attr_accessor :captcha_response + # Whether to disable the user. Only can be used by service account. + # Corresponds to the JSON property `disabled` + # @return [Boolean] + attr_accessor :disabled + alias_method :disabled?, :disabled + # The name of the user. # Corresponds to the JSON property `displayName` # @return [String] @@ -907,6 +934,12 @@ module Google # @return [String] attr_accessor :email + # Mark the email as verified or not. Only can be used by service account. + # Corresponds to the JSON property `emailVerified` + # @return [Boolean] + attr_accessor :email_verified + alias_method :email_verified?, :email_verified + # The GITKit token of the authenticated user. # Corresponds to the JSON property `idToken` # @return [String] @@ -917,11 +950,21 @@ module Google # @return [String] attr_accessor :instance_id + # Privileged caller can create user with specified user id. + # Corresponds to the JSON property `localId` + # @return [String] + attr_accessor :local_id + # The new password of the user. # Corresponds to the JSON property `password` # @return [String] attr_accessor :password + # The photo url of the user. + # Corresponds to the JSON property `photoUrl` + # @return [String] + attr_accessor :photo_url + def initialize(**args) update!(**args) end @@ -930,11 +973,15 @@ module Google def update!(**args) @captcha_challenge = args[:captcha_challenge] if args.key?(:captcha_challenge) @captcha_response = args[:captcha_response] if args.key?(:captcha_response) + @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) + @email_verified = args[:email_verified] if args.key?(:email_verified) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) + @local_id = args[:local_id] if args.key?(:local_id) @password = args[:password] if args.key?(:password) + @photo_url = args[:photo_url] if args.key?(:photo_url) end end @@ -942,6 +989,12 @@ module Google class UploadAccountRequest include Google::Apis::Core::Hashable + # Whether allow overwrite existing account when user local_id exists. + # Corresponds to the JSON property `allowOverwrite` + # @return [Boolean] + attr_accessor :allow_overwrite + alias_method :allow_overwrite?, :allow_overwrite + # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` @@ -968,11 +1021,24 @@ module Google # @return [String] attr_accessor :salt_separator + # If true, backend will do sanity check(including duplicate email and federated + # id) when uploading account. + # Corresponds to the JSON property `sanityCheck` + # @return [Boolean] + attr_accessor :sanity_check + alias_method :sanity_check?, :sanity_check + # The key for to hash the password. # Corresponds to the JSON property `signerKey` # @return [String] attr_accessor :signer_key + # Specify which project (field value is actually project id) to operate. Only + # used when provided credential. + # Corresponds to the JSON property `targetProjectId` + # @return [String] + attr_accessor :target_project_id + # The account info to be stored. # Corresponds to the JSON property `users` # @return [Array] @@ -984,12 +1050,15 @@ module Google # Update properties of this object def update!(**args) + @allow_overwrite = args[:allow_overwrite] if args.key?(:allow_overwrite) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @hash_algorithm = args[:hash_algorithm] if args.key?(:hash_algorithm) @memory_cost = args[:memory_cost] if args.key?(:memory_cost) @rounds = args[:rounds] if args.key?(:rounds) @salt_separator = args[:salt_separator] if args.key?(:salt_separator) + @sanity_check = args[:sanity_check] if args.key?(:sanity_check) @signer_key = args[:signer_key] if args.key?(:signer_key) + @target_project_id = args[:target_project_id] if args.key?(:target_project_id) @users = args[:users] if args.key?(:users) end end @@ -998,6 +1067,14 @@ module Google class VerifyAssertionRequest include Google::Apis::Core::Hashable + # 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. + # Corresponds to the JSON property `autoCreate` + # @return [Boolean] + attr_accessor :auto_create + alias_method :auto_create?, :auto_create + # GCP project number of the requesting delegated app. Currently only intended # for Firebase V1 migration. # Corresponds to the JSON property `delegatedProjectNumber` @@ -1030,6 +1107,13 @@ module Google # @return [String] attr_accessor :request_uri + # Whether return 200 and IDP credential rather than throw exception when + # federated id is already linked. + # Corresponds to the JSON property `returnIdpCredential` + # @return [Boolean] + attr_accessor :return_idp_credential + alias_method :return_idp_credential?, :return_idp_credential + # Whether to return refresh tokens. # Corresponds to the JSON property `returnRefreshToken` # @return [Boolean] @@ -1053,12 +1137,14 @@ module Google # Update properties of this object def update!(**args) + @auto_create = args[:auto_create] if args.key?(:auto_create) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @id_token = args[:id_token] if args.key?(:id_token) @instance_id = args[:instance_id] if args.key?(:instance_id) @pending_id_token = args[:pending_id_token] if args.key?(:pending_id_token) @post_body = args[:post_body] if args.key?(:post_body) @request_uri = args[:request_uri] if args.key?(:request_uri) + @return_idp_credential = args[:return_idp_credential] if args.key?(:return_idp_credential) @return_refresh_token = args[:return_refresh_token] if args.key?(:return_refresh_token) @return_secure_token = args[:return_secure_token] if args.key?(:return_secure_token) @session_id = args[:session_id] if args.key?(:session_id) @@ -1228,6 +1314,30 @@ module Google class Relyingparty include Google::Apis::Core::Hashable + # whether or not to install the android app on the device where the link is + # opened + # Corresponds to the JSON property `androidInstallApp` + # @return [Boolean] + attr_accessor :android_install_app + alias_method :android_install_app?, :android_install_app + + # 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 + # Corresponds to the JSON property `androidMinimumVersion` + # @return [String] + attr_accessor :android_minimum_version + + # android package name of the android app to handle the action code + # Corresponds to the JSON property `androidPackageName` + # @return [String] + attr_accessor :android_package_name + + # whether or not the app can handle the oob code without first going to web + # Corresponds to the JSON property `canHandleCodeInApp` + # @return [Boolean] + attr_accessor :can_handle_code_in_app + alias_method :can_handle_code_in_app?, :can_handle_code_in_app + # The recaptcha response from the user. # Corresponds to the JSON property `captchaResp` # @return [String] @@ -1238,11 +1348,26 @@ module Google # @return [String] attr_accessor :challenge + # The url to continue to the Gitkit app + # Corresponds to the JSON property `continueUrl` + # @return [String] + attr_accessor :continue_url + # The email of the user. # Corresponds to the JSON property `email` # @return [String] attr_accessor :email + # iOS app store id to download the app if it's not already installed + # Corresponds to the JSON property `iOSAppStoreId` + # @return [String] + attr_accessor :i_os_app_store_id + + # the iOS bundle id of iOS app to handle the action code + # Corresponds to the JSON property `iOSBundleId` + # @return [String] + attr_accessor :i_os_bundle_id + # The user's Gitkit login token for email change. # Corresponds to the JSON property `idToken` # @return [String] @@ -1274,9 +1399,16 @@ module Google # Update properties of this object def update!(**args) + @android_install_app = args[:android_install_app] if args.key?(:android_install_app) + @android_minimum_version = args[:android_minimum_version] if args.key?(:android_minimum_version) + @android_package_name = args[:android_package_name] if args.key?(:android_package_name) + @can_handle_code_in_app = args[:can_handle_code_in_app] if args.key?(:can_handle_code_in_app) @captcha_resp = args[:captcha_resp] if args.key?(:captcha_resp) @challenge = args[:challenge] if args.key?(:challenge) + @continue_url = args[:continue_url] if args.key?(:continue_url) @email = args[:email] if args.key?(:email) + @i_os_app_store_id = args[:i_os_app_store_id] if args.key?(:i_os_app_store_id) + @i_os_bundle_id = args[:i_os_bundle_id] if args.key?(:i_os_bundle_id) @id_token = args[:id_token] if args.key?(:id_token) @kind = args[:kind] if args.key?(:kind) @new_email = args[:new_email] if args.key?(:new_email) @@ -1289,7 +1421,8 @@ module Google class ResetPasswordResponse include Google::Apis::Core::Hashable - # The user's email. + # The user's email. If the out-of-band code is for email recovery, the user's + # original email. # Corresponds to the JSON property `email` # @return [String] attr_accessor :email @@ -1299,6 +1432,16 @@ module Google # @return [String] attr_accessor :kind + # If the out-of-band code is for email recovery, the user's new email. + # Corresponds to the JSON property `newEmail` + # @return [String] + attr_accessor :new_email + + # The request type. + # Corresponds to the JSON property `requestType` + # @return [String] + attr_accessor :request_type + def initialize(**args) update!(**args) end @@ -1307,6 +1450,8 @@ module Google def update!(**args) @email = args[:email] if args.key?(:email) @kind = args[:kind] if args.key?(:kind) + @new_email = args[:new_email] if args.key?(:new_email) + @request_type = args[:request_type] if args.key?(:request_type) end end @@ -1324,6 +1469,12 @@ module Google # @return [String] attr_accessor :email + # If email has been verified. + # Corresponds to the JSON property `emailVerified` + # @return [Boolean] + attr_accessor :email_verified + alias_method :email_verified?, :email_verified + # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` @@ -1378,6 +1529,7 @@ module Google def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) + @email_verified = args[:email_verified] if args.key?(:email_verified) @expires_in = args[:expires_in] if args.key?(:expires_in) @id_token = args[:id_token] if args.key?(:id_token) @kind = args[:kind] if args.key?(:kind) @@ -1544,6 +1696,12 @@ module Google # @return [String] attr_accessor :created_at + # Whether the user is authenticated by the developer. + # Corresponds to the JSON property `customAuth` + # @return [Boolean] + attr_accessor :custom_auth + alias_method :custom_auth?, :custom_auth + # Whether the user is disabled. # Corresponds to the JSON property `disabled` # @return [Boolean] @@ -1596,12 +1754,17 @@ module Google # @return [Array] attr_accessor :provider_user_info + # The user's plain text password. + # Corresponds to the JSON property `rawPassword` + # @return [String] + attr_accessor :raw_password + # The user's password salt. # Corresponds to the JSON property `salt` # @return [String] attr_accessor :salt - # User's screen name at Twitter. + # User's screen name at Twitter or login name at Github. # Corresponds to the JSON property `screenName` # @return [String] attr_accessor :screen_name @@ -1623,6 +1786,7 @@ module Google # Update properties of this object def update!(**args) @created_at = args[:created_at] if args.key?(:created_at) + @custom_auth = args[:custom_auth] if args.key?(:custom_auth) @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @email = args[:email] if args.key?(:email) @@ -1633,6 +1797,7 @@ module Google @password_updated_at = args[:password_updated_at] if args.key?(:password_updated_at) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_user_info = args[:provider_user_info] if args.key?(:provider_user_info) + @raw_password = args[:raw_password] if args.key?(:raw_password) @salt = args[:salt] if args.key?(:salt) @screen_name = args[:screen_name] if args.key?(:screen_name) @valid_since = args[:valid_since] if args.key?(:valid_since) @@ -1674,7 +1839,7 @@ module Google # @return [String] attr_accessor :raw_id - # User's screen name at Twitter. + # User's screen name at Twitter or login name at Github. # Corresponds to the JSON property `screenName` # @return [String] attr_accessor :screen_name @@ -1750,6 +1915,11 @@ module Google attr_accessor :email_verified alias_method :email_verified?, :email_verified + # Client error code. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + # If idToken is STS id token, then this field will be expiration time of STS id # token in seconds. # Corresponds to the JSON property `expiresIn` @@ -1783,6 +1953,12 @@ module Google # @return [String] attr_accessor :input_email + # True if it's a new user sign-in, false if it's a returning user. + # Corresponds to the JSON property `isNewUser` + # @return [Boolean] + attr_accessor :is_new_user + alias_method :is_new_user?, :is_new_user + # The fixed string "identitytoolkit#VerifyAssertionResponse". # Corresponds to the JSON property `kind` # @return [String] @@ -1877,12 +2053,17 @@ module Google # @return [String] attr_accessor :provider_id + # Raw IDP-returned user info. + # Corresponds to the JSON property `rawUserInfo` + # @return [String] + attr_accessor :raw_user_info + # If idToken is STS id token, then this field will be refresh token. # Corresponds to the JSON property `refreshToken` # @return [String] attr_accessor :refresh_token - # The screen_name of a Twitter user. + # The screen_name of a Twitter user or the login name at Github. # Corresponds to the JSON property `screenName` # @return [String] attr_accessor :screen_name @@ -1912,12 +2093,14 @@ module Google @email = args[:email] if args.key?(:email) @email_recycled = args[:email_recycled] if args.key?(:email_recycled) @email_verified = args[:email_verified] if args.key?(:email_verified) + @error_message = args[:error_message] if args.key?(:error_message) @expires_in = args[:expires_in] if args.key?(:expires_in) @federated_id = args[:federated_id] if args.key?(:federated_id) @first_name = args[:first_name] if args.key?(:first_name) @full_name = args[:full_name] if args.key?(:full_name) @id_token = args[:id_token] if args.key?(:id_token) @input_email = args[:input_email] if args.key?(:input_email) + @is_new_user = args[:is_new_user] if args.key?(:is_new_user) @kind = args[:kind] if args.key?(:kind) @language = args[:language] if args.key?(:language) @last_name = args[:last_name] if args.key?(:last_name) @@ -1935,6 +2118,7 @@ module Google @original_email = args[:original_email] if args.key?(:original_email) @photo_url = args[:photo_url] if args.key?(:photo_url) @provider_id = args[:provider_id] if args.key?(:provider_id) + @raw_user_info = args[:raw_user_info] if args.key?(:raw_user_info) @refresh_token = args[:refresh_token] if args.key?(:refresh_token) @screen_name = args[:screen_name] if args.key?(:screen_name) @time_zone = args[:time_zone] if args.key?(:time_zone) diff --git a/generated/google/apis/identitytoolkit_v3/representations.rb b/generated/google/apis/identitytoolkit_v3/representations.rb index 68b962273..37592a723 100644 --- a/generated/google/apis/identitytoolkit_v3/representations.rb +++ b/generated/google/apis/identitytoolkit_v3/representations.rb @@ -316,6 +316,7 @@ module Google property :client_id, as: 'clientId' property :context, as: 'context' property :continue_uri, as: 'continueUri' + hash :custom_parameter, as: 'customParameter' property :hosted_domain, as: 'hostedDomain' property :identifier, as: 'identifier' property :oauth_consumer_key, as: 'oauthConsumerKey' @@ -342,6 +343,7 @@ module Google property :delegated_project_number, as: 'delegatedProjectNumber' property :max_results, as: 'maxResults' property :next_page_token, as: 'nextPageToken' + property :target_project_id, as: 'targetProjectId' end end @@ -363,6 +365,7 @@ module Google collection :authorized_domains, as: 'authorizedDomains' property :change_email_template, as: 'changeEmailTemplate', class: Google::Apis::IdentitytoolkitV3::EmailTemplate, decorator: Google::Apis::IdentitytoolkitV3::EmailTemplate::Representation + property :dynamic_links_domain, as: 'dynamicLinksDomain' property :enable_anonymous_user, as: 'enableAnonymousUser' collection :idp_config, as: 'idpConfig', class: Google::Apis::IdentitytoolkitV3::IdpConfig, decorator: Google::Apis::IdentitytoolkitV3::IdpConfig::Representation @@ -463,23 +466,30 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :captcha_challenge, as: 'captchaChallenge' property :captcha_response, as: 'captchaResponse' + property :disabled, as: 'disabled' property :display_name, as: 'displayName' property :email, as: 'email' + property :email_verified, as: 'emailVerified' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' + property :local_id, as: 'localId' property :password, as: 'password' + property :photo_url, as: 'photoUrl' end end class UploadAccountRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :allow_overwrite, as: 'allowOverwrite' property :delegated_project_number, as: 'delegatedProjectNumber' property :hash_algorithm, as: 'hashAlgorithm' property :memory_cost, as: 'memoryCost' property :rounds, as: 'rounds' property :salt_separator, :base64 => true, as: 'saltSeparator' + property :sanity_check, as: 'sanityCheck' property :signer_key, :base64 => true, as: 'signerKey' + property :target_project_id, as: 'targetProjectId' collection :users, as: 'users', class: Google::Apis::IdentitytoolkitV3::UserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::Representation end @@ -488,12 +498,14 @@ module Google class VerifyAssertionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :auto_create, as: 'autoCreate' property :delegated_project_number, as: 'delegatedProjectNumber' property :id_token, as: 'idToken' property :instance_id, as: 'instanceId' property :pending_id_token, as: 'pendingIdToken' property :post_body, as: 'postBody' property :request_uri, as: 'requestUri' + property :return_idp_credential, as: 'returnIdpCredential' property :return_refresh_token, as: 'returnRefreshToken' property :return_secure_token, as: 'returnSecureToken' property :session_id, as: 'sessionId' @@ -540,9 +552,16 @@ module Google class Relyingparty # @private class Representation < Google::Apis::Core::JsonRepresentation + property :android_install_app, as: 'androidInstallApp' + property :android_minimum_version, as: 'androidMinimumVersion' + property :android_package_name, as: 'androidPackageName' + property :can_handle_code_in_app, as: 'canHandleCodeInApp' property :captcha_resp, as: 'captchaResp' property :challenge, as: 'challenge' + property :continue_url, as: 'continueUrl' property :email, as: 'email' + property :i_os_app_store_id, as: 'iOSAppStoreId' + property :i_os_bundle_id, as: 'iOSBundleId' property :id_token, as: 'idToken' property :kind, as: 'kind' property :new_email, as: 'newEmail' @@ -556,6 +575,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :email, as: 'email' property :kind, as: 'kind' + property :new_email, as: 'newEmail' + property :request_type, as: 'requestType' end end @@ -564,6 +585,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :email, as: 'email' + property :email_verified, as: 'emailVerified' property :expires_in, as: 'expiresIn' property :id_token, as: 'idToken' property :kind, as: 'kind' @@ -621,6 +643,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :created_at, as: 'createdAt' + property :custom_auth, as: 'customAuth' property :disabled, as: 'disabled' property :display_name, as: 'displayName' property :email, as: 'email' @@ -632,6 +655,7 @@ module Google property :photo_url, as: 'photoUrl' collection :provider_user_info, as: 'providerUserInfo', class: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo, decorator: Google::Apis::IdentitytoolkitV3::UserInfo::ProviderUserInfo::Representation + property :raw_password, as: 'rawPassword' property :salt, :base64 => true, as: 'salt' property :screen_name, as: 'screenName' property :valid_since, as: 'validSince' @@ -664,12 +688,14 @@ module Google property :email, as: 'email' property :email_recycled, as: 'emailRecycled' property :email_verified, as: 'emailVerified' + property :error_message, as: 'errorMessage' property :expires_in, as: 'expiresIn' property :federated_id, as: 'federatedId' property :first_name, as: 'firstName' property :full_name, as: 'fullName' property :id_token, as: 'idToken' property :input_email, as: 'inputEmail' + property :is_new_user, as: 'isNewUser' property :kind, as: 'kind' property :language, as: 'language' property :last_name, as: 'lastName' @@ -687,6 +713,7 @@ module Google property :original_email, as: 'originalEmail' property :photo_url, as: 'photoUrl' property :provider_id, as: 'providerId' + property :raw_user_info, as: 'rawUserInfo' property :refresh_token, as: 'refreshToken' property :screen_name, as: 'screenName' property :time_zone, as: 'timeZone' diff --git a/generated/google/apis/kgsearch_v1.rb b/generated/google/apis/kgsearch_v1.rb index 2b96d5c96..de8a1b643 100644 --- a/generated/google/apis/kgsearch_v1.rb +++ b/generated/google/apis/kgsearch_v1.rb @@ -20,13 +20,12 @@ module Google module Apis # Knowledge Graph Search API # - # Knowledge Graph Search API allows developers to search the Google Knowledge - # Graph for entities. + # Searches the Google Knowledge Graph for entities. # # @see https://developers.google.com/knowledge-graph/ module KgsearchV1 VERSION = 'V1' - REVISION = '20151215' + REVISION = '20170109' end end end diff --git a/generated/google/apis/kgsearch_v1/classes.rb b/generated/google/apis/kgsearch_v1/classes.rb index de14fe75e..9ca15782c 100644 --- a/generated/google/apis/kgsearch_v1/classes.rb +++ b/generated/google/apis/kgsearch_v1/classes.rb @@ -22,36 +22,36 @@ module Google module Apis module KgsearchV1 - # Response message includes the context and a list of matching results which - # contain the detail of associated entities. + # Response message includes the context and a list of matching results + # which contain the detail of associated entities. class SearchResponse include Google::Apis::Core::Hashable - # The local context applicable for the response. See more details at http://www. - # w3.org/TR/json-ld/#context-definitions. - # Corresponds to the JSON property `context` + # The local context applicable for the response. See more details at + # http://www.w3.org/TR/json-ld/#context-definitions. + # Corresponds to the JSON property `@context` # @return [Object] - attr_accessor :context - - # The schema type of top-level JSON-LD object, e.g. ItemList. - # Corresponds to the JSON property `type` - # @return [Object] - attr_accessor :type + attr_accessor :_context # The item list of search results. # Corresponds to the JSON property `itemListElement` # @return [Array] attr_accessor :item_list_element + # The schema type of top-level JSON-LD object, e.g. ItemList. + # Corresponds to the JSON property `@type` + # @return [Object] + attr_accessor :_type + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @context = args[:context] if args.key?(:context) - @type = args[:type] if args.key?(:type) + @_context = args[:_context] if args.key?(:_context) @item_list_element = args[:item_list_element] if args.key?(:item_list_element) + @_type = args[:_type] if args.key?(:_type) end end end diff --git a/generated/google/apis/kgsearch_v1/representations.rb b/generated/google/apis/kgsearch_v1/representations.rb index 79b5a1337..d433bdbf6 100644 --- a/generated/google/apis/kgsearch_v1/representations.rb +++ b/generated/google/apis/kgsearch_v1/representations.rb @@ -31,9 +31,9 @@ module Google class SearchResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :context, as: 'context' - property :type, as: 'type' + property :_context, as: '@context' collection :item_list_element, as: 'itemListElement' + property :_type, as: '@type' end end end diff --git a/generated/google/apis/kgsearch_v1/service.rb b/generated/google/apis/kgsearch_v1/service.rb index 6664e1304..f5e66d2e2 100644 --- a/generated/google/apis/kgsearch_v1/service.rb +++ b/generated/google/apis/kgsearch_v1/service.rb @@ -22,8 +22,7 @@ module Google module KgsearchV1 # Knowledge Graph Search API # - # Knowledge Graph Search API allows developers to search the Google Knowledge - # Graph for entities. + # Searches the Google Knowledge Graph for entities. # # @example # require 'google/apis/kgsearch_v1' @@ -47,30 +46,33 @@ module Google super('https://kgsearch.googleapis.com/', '') end - # Searches Knowledge Graph for entities that match the constraints. A list of - # matched entities will be returned in response, which will be in JSON-LD format - # and compatible with http://schema.org - # @param [String] query - # The literal query string for search. + # Searches Knowledge Graph for entities that match the constraints. + # A list of matched entities will be returned in response, which will be in + # JSON-LD format and compatible with http://schema.org + # @param [Array, String] languages + # The list of language codes (defined in ISO 693) to run the query with, + # e.g. 'en'. # @param [Array, String] ids # The list of entity id to be used for search instead of query string. - # @param [Array, String] languages - # The list of language codes (defined in ISO 693) to run the query with, e.g. ' - # en'. - # @param [Array, String] types - # Restricts returned entities with these types, e.g. Person (as defined in http:/ - # /schema.org/Person). - # @param [Boolean] indent - # Enables indenting of json results. - # @param [Boolean] prefix - # Enables prefix match against names and aliases of entities + # To specify multiple ids in the HTTP request, repeat the parameter in the + # URL as in ...?ids=A&ids=B # @param [Fixnum] limit # Limits the number of entities to be returned. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # @param [Boolean] prefix + # Enables prefix match against names and aliases of entities + # @param [String] query + # The literal query string for search. + # @param [Array, String] types + # Restricts returned entities with these types, e.g. Person + # (as defined in http://schema.org/Person). If multiple types are specified, + # returned entities will contain one or more of these types. + # @param [Boolean] indent + # Enables indenting of json results. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -83,19 +85,19 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def search_entities(query: nil, ids: nil, languages: nil, types: nil, indent: nil, prefix: nil, limit: nil, fields: nil, quota_user: nil, options: nil, &block) + def search_entities(languages: nil, ids: nil, limit: nil, prefix: nil, query: nil, types: nil, indent: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/entities:search', options) command.response_representation = Google::Apis::KgsearchV1::SearchResponse::Representation command.response_class = Google::Apis::KgsearchV1::SearchResponse - command.query['query'] = query unless query.nil? - command.query['ids'] = ids unless ids.nil? command.query['languages'] = languages unless languages.nil? + command.query['ids'] = ids unless ids.nil? + command.query['limit'] = limit unless limit.nil? + command.query['prefix'] = prefix unless prefix.nil? + command.query['query'] = query unless query.nil? command.query['types'] = types unless types.nil? command.query['indent'] = indent unless indent.nil? - command.query['prefix'] = prefix unless prefix.nil? - command.query['limit'] = limit unless limit.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/language_v1beta1.rb b/generated/google/apis/language_v1beta1.rb new file mode 100644 index 000000000..2fdd19797 --- /dev/null +++ b/generated/google/apis/language_v1beta1.rb @@ -0,0 +1,36 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/language_v1beta1/service.rb' +require 'google/apis/language_v1beta1/classes.rb' +require 'google/apis/language_v1beta1/representations.rb' + +module Google + module Apis + # Google Cloud Natural Language API + # + # Google Cloud Natural Language API provides natural language understanding + # technologies to developers. Examples include sentiment analysis, entity + # recognition, and text annotations. + # + # @see https://cloud.google.com/natural-language/ + module LanguageV1beta1 + VERSION = 'V1beta1' + REVISION = '20170320' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/language_v1beta1/classes.rb b/generated/google/apis/language_v1beta1/classes.rb new file mode 100644 index 000000000..e78e98c37 --- /dev/null +++ b/generated/google/apis/language_v1beta1/classes.rb @@ -0,0 +1,757 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module LanguageV1beta1 + + # Represents the smallest syntactic building block of the text. + class Token + include Google::Apis::Core::Hashable + + # Represents part of speech information for a token. + # Corresponds to the JSON property `partOfSpeech` + # @return [Google::Apis::LanguageV1beta1::PartOfSpeech] + attr_accessor :part_of_speech + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + # Represents dependency parse tree information for a token. + # Corresponds to the JSON property `dependencyEdge` + # @return [Google::Apis::LanguageV1beta1::DependencyEdge] + attr_accessor :dependency_edge + + # [Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token. + # Corresponds to the JSON property `lemma` + # @return [String] + attr_accessor :lemma + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @part_of_speech = args[:part_of_speech] if args.key?(:part_of_speech) + @text = args[:text] if args.key?(:text) + @dependency_edge = args[:dependency_edge] if args.key?(:dependency_edge) + @lemma = args[:lemma] if args.key?(:lemma) + end + end + + # Represents an output piece of text. + class TextSpan + include Google::Apis::Core::Hashable + + # The content of the output text. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The API calculates the beginning offset of the content in the original + # document according to the EncodingType specified in the API request. + # Corresponds to the JSON property `beginOffset` + # @return [Fixnum] + attr_accessor :begin_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @begin_offset = args[:begin_offset] if args.key?(:begin_offset) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # Represents a mention for an entity in the text. Currently, proper noun + # mentions are supported. + class EntityMention + include Google::Apis::Core::Hashable + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + # The type of the entity mention. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @type = args[:type] if args.key?(:type) + end + end + + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + class Features + include Google::Apis::Core::Hashable + + # Extract syntax information. + # Corresponds to the JSON property `extractSyntax` + # @return [Boolean] + attr_accessor :extract_syntax + alias_method :extract_syntax?, :extract_syntax + + # Extract document-level sentiment. + # Corresponds to the JSON property `extractDocumentSentiment` + # @return [Boolean] + attr_accessor :extract_document_sentiment + alias_method :extract_document_sentiment?, :extract_document_sentiment + + # Extract entities. + # Corresponds to the JSON property `extractEntities` + # @return [Boolean] + attr_accessor :extract_entities + alias_method :extract_entities?, :extract_entities + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) + @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) + @extract_entities = args[:extract_entities] if args.key?(:extract_entities) + end + end + + # Represents a sentence in the input document. + class Sentence + include Google::Apis::Core::Hashable + + # Represents an output piece of text. + # Corresponds to the JSON property `text` + # @return [Google::Apis::LanguageV1beta1::TextSpan] + attr_accessor :text + + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `sentiment` + # @return [Google::Apis::LanguageV1beta1::Sentiment] + attr_accessor :sentiment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @sentiment = args[:sentiment] if args.key?(:sentiment) + end + end + + # ################################################################ # + # Represents the input to API methods. + class Document + include Google::Apis::Core::Hashable + + # The language of the document (if not specified, the language is + # automatically detected). Both ISO and BCP-47 language codes are + # accepted.
+ # **Current Language Restrictions:** + # * Only English, Spanish, and Japanese textual content are supported. + # If the language (either specified by the caller or automatically detected) + # is not supported by the called API method, an `INVALID_ARGUMENT` error + # is returned. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # Required. If the type is not set or is `TYPE_UNSPECIFIED`, + # returns an `INVALID_ARGUMENT` error. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The content of the input in string format. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # The Google Cloud Storage URI where the file content is located. + # This URI must be of the form: gs://bucket_name/object_name. For more + # details, see https://cloud.google.com/storage/docs/reference-uris. + # NOTE: Cloud Storage object versioning is not supported. + # Corresponds to the JSON property `gcsContentUri` + # @return [String] + attr_accessor :gcs_content_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language = args[:language] if args.key?(:language) + @type = args[:type] if args.key?(:type) + @content = args[:content] if args.key?(:content) + @gcs_content_uri = args[:gcs_content_uri] if args.key?(:gcs_content_uri) + end + end + + # Represents the feeling associated with the entire text or entities in + # the text. + class Sentiment + include Google::Apis::Core::Hashable + + # DEPRECATED FIELD - This field is being deprecated in + # favor of score. Please refer to our documentation at + # https://cloud.google.com/natural-language/docs for more information. + # Corresponds to the JSON property `polarity` + # @return [Float] + attr_accessor :polarity + + # Sentiment score between -1.0 (negative sentiment) and 1.0 + # (positive sentiment). + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # A non-negative number in the [0, +inf) range, which represents + # the absolute magnitude of sentiment regardless of score (positive or + # negative). + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @polarity = args[:polarity] if args.key?(:polarity) + @score = args[:score] if args.key?(:score) + @magnitude = args[:magnitude] if args.key?(:magnitude) + end + end + + # The entity analysis request message. + class AnalyzeEntitiesRequest + include Google::Apis::Core::Hashable + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1beta1::Document] + attr_accessor :document + + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @document = args[:document] if args.key?(:document) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + end + end + + # Represents part of speech information for a token. + class PartOfSpeech + include Google::Apis::Core::Hashable + + # The grammatical form. + # Corresponds to the JSON property `form` + # @return [String] + attr_accessor :form + + # The grammatical number. + # Corresponds to the JSON property `number` + # @return [String] + attr_accessor :number + + # The grammatical voice. + # Corresponds to the JSON property `voice` + # @return [String] + attr_accessor :voice + + # The grammatical aspect. + # Corresponds to the JSON property `aspect` + # @return [String] + attr_accessor :aspect + + # The grammatical mood. + # Corresponds to the JSON property `mood` + # @return [String] + attr_accessor :mood + + # The part of speech tag. + # Corresponds to the JSON property `tag` + # @return [String] + attr_accessor :tag + + # The grammatical gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + # The grammatical person. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # The grammatical properness. + # Corresponds to the JSON property `proper` + # @return [String] + attr_accessor :proper + + # The grammatical case. + # Corresponds to the JSON property `case` + # @return [String] + attr_accessor :case + + # The grammatical tense. + # Corresponds to the JSON property `tense` + # @return [String] + attr_accessor :tense + + # The grammatical reciprocity. + # Corresponds to the JSON property `reciprocity` + # @return [String] + attr_accessor :reciprocity + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @form = args[:form] if args.key?(:form) + @number = args[:number] if args.key?(:number) + @voice = args[:voice] if args.key?(:voice) + @aspect = args[:aspect] if args.key?(:aspect) + @mood = args[:mood] if args.key?(:mood) + @tag = args[:tag] if args.key?(:tag) + @gender = args[:gender] if args.key?(:gender) + @person = args[:person] if args.key?(:person) + @proper = args[:proper] if args.key?(:proper) + @case = args[:case] if args.key?(:case) + @tense = args[:tense] if args.key?(:tense) + @reciprocity = args[:reciprocity] if args.key?(:reciprocity) + end + end + + # The syntax analysis request message. + class AnalyzeSyntaxRequest + include Google::Apis::Core::Hashable + + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1beta1::Document] + attr_accessor :document + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) + end + end + + # The sentiment analysis response message. + class AnalyzeSentimentResponse + include Google::Apis::Core::Hashable + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # The sentiment for all the sentences in the document. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `documentSentiment` + # @return [Google::Apis::LanguageV1beta1::Sentiment] + attr_accessor :document_sentiment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language = args[:language] if args.key?(:language) + @sentences = args[:sentences] if args.key?(:sentences) + @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) + end + end + + # The entity analysis response message. + class AnalyzeEntitiesResponse + include Google::Apis::Core::Hashable + + # The recognized entities in the input document. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entities = args[:entities] if args.key?(:entities) + @language = args[:language] if args.key?(:language) + end + end + + # Represents a phrase in the text that is a known entity, such as + # a person, an organization, or location. The API associates information, such + # as salience and mentions, with entities. + class Entity + include Google::Apis::Core::Hashable + + # The mentions of this entity in the input document. The API currently + # supports proper noun mentions. + # Corresponds to the JSON property `mentions` + # @return [Array] + attr_accessor :mentions + + # The representative name for the entity. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The entity type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Metadata associated with the entity. + # Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if + # available. The associated keys are "wikipedia_url" and "mid", respectively. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The salience score associated with the entity in the [0, 1.0] range. + # The salience score for an entity provides information about the + # importance or centrality of that entity to the entire document text. + # Scores closer to 0 are less salient, while scores closer to 1.0 are highly + # salient. + # Corresponds to the JSON property `salience` + # @return [Float] + attr_accessor :salience + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mentions = args[:mentions] if args.key?(:mentions) + @name = args[:name] if args.key?(:name) + @type = args[:type] if args.key?(:type) + @metadata = args[:metadata] if args.key?(:metadata) + @salience = args[:salience] if args.key?(:salience) + end + end + + # The syntax analysis response message. + class AnalyzeSyntaxResponse + include Google::Apis::Core::Hashable + + # Sentences in the input document. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + + # Tokens, along with their syntactic information, in the input document. + # Corresponds to the JSON property `tokens` + # @return [Array] + attr_accessor :tokens + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sentences = args[:sentences] if args.key?(:sentences) + @tokens = args[:tokens] if args.key?(:tokens) + @language = args[:language] if args.key?(:language) + end + end + + # The request message for the text annotation API, which can perform multiple + # analysis types (sentiment, entities, and syntax) in one call. + class AnnotateTextRequest + include Google::Apis::Core::Hashable + + # The encoding type used by the API to calculate offsets. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1beta1::Document] + attr_accessor :document + + # All available features for sentiment, syntax, and semantic analysis. + # Setting each one to true will enable that specific analysis for the input. + # Corresponds to the JSON property `features` + # @return [Google::Apis::LanguageV1beta1::Features] + attr_accessor :features + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) + @features = args[:features] if args.key?(:features) + end + end + + # The sentiment analysis request message. + class AnalyzeSentimentRequest + include Google::Apis::Core::Hashable + + # The encoding type used by the API to calculate sentence offsets for the + # sentence sentiment. + # Corresponds to the JSON property `encodingType` + # @return [String] + attr_accessor :encoding_type + + # ################################################################ # + # Represents the input to API methods. + # Corresponds to the JSON property `document` + # @return [Google::Apis::LanguageV1beta1::Document] + attr_accessor :document + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @encoding_type = args[:encoding_type] if args.key?(:encoding_type) + @document = args[:document] if args.key?(:document) + end + end + + # The text annotations response message. + class AnnotateTextResponse + include Google::Apis::Core::Hashable + + # The language of the text, which will be the same as the language specified + # in the request or, if not specified, the automatically-detected language. + # See Document.language field for more details. + # Corresponds to the JSON property `language` + # @return [String] + attr_accessor :language + + # Sentences in the input document. Populated if the user enables + # AnnotateTextRequest.Features.extract_syntax. + # Corresponds to the JSON property `sentences` + # @return [Array] + attr_accessor :sentences + + # Tokens, along with their syntactic information, in the input document. + # Populated if the user enables + # AnnotateTextRequest.Features.extract_syntax. + # Corresponds to the JSON property `tokens` + # @return [Array] + attr_accessor :tokens + + # Entities, along with their semantic information, in the input document. + # Populated if the user enables + # AnnotateTextRequest.Features.extract_entities. + # Corresponds to the JSON property `entities` + # @return [Array] + attr_accessor :entities + + # Represents the feeling associated with the entire text or entities in + # the text. + # Corresponds to the JSON property `documentSentiment` + # @return [Google::Apis::LanguageV1beta1::Sentiment] + attr_accessor :document_sentiment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language = args[:language] if args.key?(:language) + @sentences = args[:sentences] if args.key?(:sentences) + @tokens = args[:tokens] if args.key?(:tokens) + @entities = args[:entities] if args.key?(:entities) + @document_sentiment = args[:document_sentiment] if args.key?(:document_sentiment) + end + end + + # Represents dependency parse tree information for a token. + class DependencyEdge + include Google::Apis::Core::Hashable + + # Represents the head of this token in the dependency tree. + # This is the index of the token which has an arc going to this token. + # The index is the position of the token in the array of tokens returned + # by the API method. If this token is a root token, then the + # `head_token_index` is its own index. + # Corresponds to the JSON property `headTokenIndex` + # @return [Fixnum] + attr_accessor :head_token_index + + # The parse label for the token. + # Corresponds to the JSON property `label` + # @return [String] + attr_accessor :label + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @head_token_index = args[:head_token_index] if args.key?(:head_token_index) + @label = args[:label] if args.key?(:label) + end + end + end + end +end diff --git a/generated/google/apis/language_v1beta1/representations.rb b/generated/google/apis/language_v1beta1/representations.rb new file mode 100644 index 000000000..97c10adf8 --- /dev/null +++ b/generated/google/apis/language_v1beta1/representations.rb @@ -0,0 +1,339 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module LanguageV1beta1 + + class Token + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextSpan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EntityMention + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Features + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sentence + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Document + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Sentiment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeEntitiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PartOfSpeech + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSyntaxRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSentimentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeEntitiesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Entity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSyntaxResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotateTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyzeSentimentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotateTextResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DependencyEdge + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Token + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :part_of_speech, as: 'partOfSpeech', class: Google::Apis::LanguageV1beta1::PartOfSpeech, decorator: Google::Apis::LanguageV1beta1::PartOfSpeech::Representation + + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation + + property :dependency_edge, as: 'dependencyEdge', class: Google::Apis::LanguageV1beta1::DependencyEdge, decorator: Google::Apis::LanguageV1beta1::DependencyEdge::Representation + + property :lemma, as: 'lemma' + end + end + + class TextSpan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :begin_offset, as: 'beginOffset' + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end + end + + class EntityMention + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation + + property :type, as: 'type' + end + end + + class Features + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :extract_syntax, as: 'extractSyntax' + property :extract_document_sentiment, as: 'extractDocumentSentiment' + property :extract_entities, as: 'extractEntities' + end + end + + class Sentence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::LanguageV1beta1::TextSpan, decorator: Google::Apis::LanguageV1beta1::TextSpan::Representation + + property :sentiment, as: 'sentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation + + end + end + + class Document + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' + property :type, as: 'type' + property :content, as: 'content' + property :gcs_content_uri, as: 'gcsContentUri' + end + end + + class Sentiment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :polarity, as: 'polarity' + property :score, as: 'score' + property :magnitude, as: 'magnitude' + end + end + + class AnalyzeEntitiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation + + property :encoding_type, as: 'encodingType' + end + end + + class PartOfSpeech + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :form, as: 'form' + property :number, as: 'number' + property :voice, as: 'voice' + property :aspect, as: 'aspect' + property :mood, as: 'mood' + property :tag, as: 'tag' + property :gender, as: 'gender' + property :person, as: 'person' + property :proper, as: 'proper' + property :case, as: 'case' + property :tense, as: 'tense' + property :reciprocity, as: 'reciprocity' + end + end + + class AnalyzeSyntaxRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' + property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation + + end + end + + class AnalyzeSentimentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation + + property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation + + end + end + + class AnalyzeEntitiesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation + + property :language, as: 'language' + end + end + + class Entity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :mentions, as: 'mentions', class: Google::Apis::LanguageV1beta1::EntityMention, decorator: Google::Apis::LanguageV1beta1::EntityMention::Representation + + property :name, as: 'name' + property :type, as: 'type' + hash :metadata, as: 'metadata' + property :salience, as: 'salience' + end + end + + class AnalyzeSyntaxResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation + + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation + + property :language, as: 'language' + end + end + + class AnnotateTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' + property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation + + property :features, as: 'features', class: Google::Apis::LanguageV1beta1::Features, decorator: Google::Apis::LanguageV1beta1::Features::Representation + + end + end + + class AnalyzeSentimentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :encoding_type, as: 'encodingType' + property :document, as: 'document', class: Google::Apis::LanguageV1beta1::Document, decorator: Google::Apis::LanguageV1beta1::Document::Representation + + end + end + + class AnnotateTextResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language, as: 'language' + collection :sentences, as: 'sentences', class: Google::Apis::LanguageV1beta1::Sentence, decorator: Google::Apis::LanguageV1beta1::Sentence::Representation + + collection :tokens, as: 'tokens', class: Google::Apis::LanguageV1beta1::Token, decorator: Google::Apis::LanguageV1beta1::Token::Representation + + collection :entities, as: 'entities', class: Google::Apis::LanguageV1beta1::Entity, decorator: Google::Apis::LanguageV1beta1::Entity::Representation + + property :document_sentiment, as: 'documentSentiment', class: Google::Apis::LanguageV1beta1::Sentiment, decorator: Google::Apis::LanguageV1beta1::Sentiment::Representation + + end + end + + class DependencyEdge + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :head_token_index, as: 'headTokenIndex' + property :label, as: 'label' + end + end + end + end +end diff --git a/generated/google/apis/language_v1beta1/service.rb b/generated/google/apis/language_v1beta1/service.rb new file mode 100644 index 000000000..e87b60079 --- /dev/null +++ b/generated/google/apis/language_v1beta1/service.rb @@ -0,0 +1,185 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module LanguageV1beta1 + # Google Cloud Natural Language API + # + # Google Cloud Natural Language API provides natural language understanding + # technologies to developers. Examples include sentiment analysis, entity + # recognition, and text annotations. + # + # @example + # require 'google/apis/language_v1beta1' + # + # Language = Google::Apis::LanguageV1beta1 # Alias the module + # service = Language::CloudNaturalLanguageService.new + # + # @see https://cloud.google.com/natural-language/ + class CloudNaturalLanguageService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://language.googleapis.com/', '') + end + + # Analyzes the syntax of the text and provides sentence boundaries and + # tokenization along with part of speech tags, dependency trees, and other + # properties. + # @param [Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest] analyze_syntax_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def analyze_document_syntax(analyze_syntax_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/documents:analyzeSyntax', options) + command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxRequest::Representation + command.request_object = analyze_syntax_request_object + command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse::Representation + command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSyntaxResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Analyzes the sentiment of the provided text. + # @param [Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest] analyze_sentiment_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def analyze_document_sentiment(analyze_sentiment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/documents:analyzeSentiment', options) + command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentRequest::Representation + command.request_object = analyze_sentiment_request_object + command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse::Representation + command.response_class = Google::Apis::LanguageV1beta1::AnalyzeSentimentResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # A convenience method that provides all the features that analyzeSentiment, + # analyzeEntities, and analyzeSyntax provide in one call. + # @param [Google::Apis::LanguageV1beta1::AnnotateTextRequest] annotate_text_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LanguageV1beta1::AnnotateTextResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1beta1::AnnotateTextResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def annotate_document_text(annotate_text_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/documents:annotateText', options) + command.request_representation = Google::Apis::LanguageV1beta1::AnnotateTextRequest::Representation + command.request_object = annotate_text_request_object + command.response_representation = Google::Apis::LanguageV1beta1::AnnotateTextResponse::Representation + command.response_class = Google::Apis::LanguageV1beta1::AnnotateTextResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Finds named entities (currently proper names and common nouns) in the text + # along with entity types, salience, mentions for each entity, and + # other properties. + # @param [Google::Apis::LanguageV1beta1::AnalyzeEntitiesRequest] analyze_entities_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def analyze_document_entities(analyze_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/documents:analyzeEntities', options) + command.request_representation = Google::Apis::LanguageV1beta1::AnalyzeEntitiesRequest::Representation + command.request_object = analyze_entities_request_object + command.response_representation = Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse::Representation + command.response_class = Google::Apis::LanguageV1beta1::AnalyzeEntitiesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/licensing_v1.rb b/generated/google/apis/licensing_v1.rb index 655450fb4..a942672af 100644 --- a/generated/google/apis/licensing_v1.rb +++ b/generated/google/apis/licensing_v1.rb @@ -20,14 +20,14 @@ module Google module Apis # Enterprise License Manager API # - # Licensing API to view and manage license for your domain. + # Views and manages licenses for your domain. # # @see https://developers.google.com/google-apps/licensing/ module LicensingV1 VERSION = 'V1' - REVISION = '20150901' + REVISION = '20170213' - # View and manage Google Apps licenses for your domain + # View and manage G Suite licenses for your domain AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing' end end diff --git a/generated/google/apis/licensing_v1/classes.rb b/generated/google/apis/licensing_v1/classes.rb index 2b77e8b89..d127b563c 100644 --- a/generated/google/apis/licensing_v1/classes.rb +++ b/generated/google/apis/licensing_v1/classes.rb @@ -36,21 +36,31 @@ module Google # @return [String] attr_accessor :kind - # Name of the product. + # Id of the product. # Corresponds to the JSON property `productId` # @return [String] attr_accessor :product_id + # Display Name of the product. + # Corresponds to the JSON property `productName` + # @return [String] + attr_accessor :product_name + # Link to this page. # Corresponds to the JSON property `selfLink` # @return [String] attr_accessor :self_link - # Name of the sku of the product. + # Id of the sku of the product. # Corresponds to the JSON property `skuId` # @return [String] attr_accessor :sku_id + # Display Name of the sku of the product. + # Corresponds to the JSON property `skuName` + # @return [String] + attr_accessor :sku_name + # Email id of the user. # Corresponds to the JSON property `userId` # @return [String] @@ -65,8 +75,10 @@ module Google @etags = args[:etags] if args.key?(:etags) @kind = args[:kind] if args.key?(:kind) @product_id = args[:product_id] if args.key?(:product_id) + @product_name = args[:product_name] if args.key?(:product_name) @self_link = args[:self_link] if args.key?(:self_link) @sku_id = args[:sku_id] if args.key?(:sku_id) + @sku_name = args[:sku_name] if args.key?(:sku_name) @user_id = args[:user_id] if args.key?(:user_id) end end diff --git a/generated/google/apis/licensing_v1/representations.rb b/generated/google/apis/licensing_v1/representations.rb index 3c7fb4fcf..7e6645248 100644 --- a/generated/google/apis/licensing_v1/representations.rb +++ b/generated/google/apis/licensing_v1/representations.rb @@ -46,8 +46,10 @@ module Google property :etags, as: 'etags' property :kind, as: 'kind' property :product_id, as: 'productId' + property :product_name, as: 'productName' property :self_link, as: 'selfLink' property :sku_id, as: 'skuId' + property :sku_name, as: 'skuName' property :user_id, as: 'userId' end end diff --git a/generated/google/apis/licensing_v1/service.rb b/generated/google/apis/licensing_v1/service.rb index d9610ad48..bd9e40291 100644 --- a/generated/google/apis/licensing_v1/service.rb +++ b/generated/google/apis/licensing_v1/service.rb @@ -22,7 +22,7 @@ module Google module LicensingV1 # Enterprise License Manager API # - # Licensing API to view and manage license for your domain. + # Views and manages licenses for your domain. # # @example # require 'google/apis/licensing_v1' diff --git a/generated/google/apis/logging_v2beta1.rb b/generated/google/apis/logging_v2beta1.rb index bb57f99fd..7294d328b 100644 --- a/generated/google/apis/logging_v2beta1.rb +++ b/generated/google/apis/logging_v2beta1.rb @@ -18,17 +18,14 @@ require 'google/apis/logging_v2beta1/representations.rb' module Google module Apis - # Google Cloud Logging API + # Stackdriver Logging API # - # Writes log entries and manages your logs, log sinks, and logs-based metrics. + # Writes log entries and manages your Stackdriver Logging configuration. # # @see https://cloud.google.com/logging/docs/ module LoggingV2beta1 VERSION = 'V2beta1' - REVISION = '20160322' - - # View and manage your data across Google Cloud Platform services - AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + REVISION = '20170320' # View your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only' @@ -41,6 +38,9 @@ module Google # Submit log data for your projects AUTH_LOGGING_WRITE = 'https://www.googleapis.com/auth/logging.write' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' end end end diff --git a/generated/google/apis/logging_v2beta1/classes.rb b/generated/google/apis/logging_v2beta1/classes.rb index f7ece3eb0..2850c66de 100644 --- a/generated/google/apis/logging_v2beta1/classes.rb +++ b/generated/google/apis/logging_v2beta1/classes.rb @@ -22,352 +22,187 @@ module Google module Apis module LoggingV2beta1 - # 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 + # Complete log information about a single HTTP request to an App Engine + # application. + class RequestLog include Google::Apis::Core::Hashable - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # The parameters to WriteLogEntries. - class WriteLogEntriesRequest - include Google::Apis::Core::Hashable - - # Optional. A default log resource name for those log entries in `entries` that - # do not specify their own `logName`. Example: `"projects/my-project/logs/syslog" - # `. See LogEntry. - # Corresponds to the JSON property `logName` + # 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. + # Corresponds to the JSON property `requestId` # @return [String] - attr_accessor :log_name + attr_accessor :request_id - # 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"`: ` "type": "gce_instance", "labels": ` "instance_id": "my- - # instance", "zone": "us-central1-a" `` + # 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. + # Corresponds to the JSON property `nickname` + # @return [String] + attr_accessor :nickname + + # Time this request spent in the pending request queue. + # Corresponds to the JSON property `pendingTime` + # @return [String] + attr_accessor :pending_time + + # 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. # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2beta1::MonitoredResource] + # @return [String] attr_accessor :resource - # Optional. User-defined `key:value` items that are added to the `labels` field - # of each log entry in `entries`, except when a log entry specifies its own `key: - # value` item with the same key. Example: `` "size": "large", "color":"red" `` - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Required. The log entries to write. The log entries must have values for all - # required fields. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # 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. - # Corresponds to the JSON property `partialSuccess` - # @return [Boolean] - attr_accessor :partial_success - alias_method :partial_success?, :partial_success - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @resource = args[:resource] if args.key?(:resource) - @labels = args[:labels] if args.key?(:labels) - @entries = args[:entries] if args.key?(:entries) - @partial_success = args[:partial_success] if args.key?(:partial_success) - end - end - - # 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"`: ` "type": "gce_instance", "labels": ` "instance_id": "my- - # instance", "zone": "us-central1-a" `` - class MonitoredResource - include Google::Apis::Core::Hashable - - # 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"`. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # 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"`. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @labels = args[:labels] if args.key?(:labels) - end - end - - # An individual entry in a log. - class LogEntry - include Google::Apis::Core::Hashable - - # Required. The resource name of the log to which this log entry belongs. The - # format of the name is `"projects/ - # /logs/"`. Examples: `"projects/my-projectid/logs/syslog"`, `"projects/ - # 1234567890/logs/library.googleapis.com%2Fbook_log"`. The log ID part of - # resource name must be less than 512 characters long and can only include the - # following characters: upper and lower case alphanumeric characters: [A-Za-z0-9] - # ; and punctuation characters: forward-slash, underscore, hyphen, and period. - # Forward-slash (`/`) characters in the log ID must be URL-encoded. - # Corresponds to the JSON property `logName` - # @return [String] - attr_accessor :log_name - - # 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"`: ` "type": "gce_instance", "labels": ` "instance_id": "my- - # instance", "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::LoggingV2beta1::MonitoredResource] - attr_accessor :resource - - # The log entry payload, represented as a protocol buffer. You can only use ` - # protoPayload` values that belong to a set of approved types. - # Corresponds to the JSON property `protoPayload` - # @return [Hash] - attr_accessor :proto_payload - - # The log entry payload, represented as a Unicode string (UTF-8). - # Corresponds to the JSON property `textPayload` - # @return [String] - attr_accessor :text_payload - - # The log entry payload, represented as a structure that is expressed as a JSON - # object. - # Corresponds to the JSON property `jsonPayload` - # @return [Hash] - attr_accessor :json_payload - - # Optional. The time the event described by the log entry occurred. If omitted, - # Cloud Logging will use the time the log entry is written. - # Corresponds to the JSON property `timestamp` - # @return [String] - attr_accessor :timestamp - - # Optional. The severity of the log entry. The default value is `LogSeverity. - # DEFAULT`. - # Corresponds to the JSON property `severity` - # @return [String] - attr_accessor :severity - - # Optional. A unique ID for the log entry. If you provide this field, the - # logging service considers other log entries in the same log with the same ID - # as duplicates which can be removed. If omitted, Cloud Logging will generate a - # unique ID for this log entry. - # Corresponds to the JSON property `insertId` - # @return [String] - attr_accessor :insert_id - - # A common proto for logging HTTP requests. - # Corresponds to the JSON property `httpRequest` - # @return [Google::Apis::LoggingV2beta1::HttpRequest] - attr_accessor :http_request - - # Optional. A set of user-defined (key, value) data that provides additional - # information about the log entry. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - # Corresponds to the JSON property `operation` - # @return [Google::Apis::LoggingV2beta1::LogEntryOperation] - attr_accessor :operation - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @log_name = args[:log_name] if args.key?(:log_name) - @resource = args[:resource] if args.key?(:resource) - @proto_payload = args[:proto_payload] if args.key?(:proto_payload) - @text_payload = args[:text_payload] if args.key?(:text_payload) - @json_payload = args[:json_payload] if args.key?(:json_payload) - @timestamp = args[:timestamp] if args.key?(:timestamp) - @severity = args[:severity] if args.key?(:severity) - @insert_id = args[:insert_id] if args.key?(:insert_id) - @http_request = args[:http_request] if args.key?(:http_request) - @labels = args[:labels] if args.key?(:labels) - @operation = args[:operation] if args.key?(:operation) - end - end - - # A common proto for logging HTTP requests. - class HttpRequest - include Google::Apis::Core::Hashable - - # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. - # Corresponds to the JSON property `requestMethod` - # @return [String] - attr_accessor :request_method - - # 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"`. - # Corresponds to the JSON property `requestUrl` - # @return [String] - attr_accessor :request_url - - # The size of the HTTP request message in bytes, including the request headers - # and the request body. - # Corresponds to the JSON property `requestSize` - # @return [String] - attr_accessor :request_size - - # The response code indicating the status of response. Examples: 200, 404. + # HTTP response status code. Example: 200, 404. # Corresponds to the JSON property `status` # @return [Fixnum] attr_accessor :status - # The size of the HTTP response message sent back to the client, in bytes, - # including the response headers and the response body. - # Corresponds to the JSON property `responseSize` + # Task name of the request, in the case of an offline request. + # Corresponds to the JSON property `taskName` # @return [String] - attr_accessor :response_size + attr_accessor :task_name - # The user agent sent by the client. Example: `"Mozilla/4.0 (compatible; MSIE 6. - # 0; Windows 98; Q312461; .NET CLR 1.0.3705)"`. - # Corresponds to the JSON property `userAgent` + # File or class that handled the request. + # Corresponds to the JSON property `urlMapEntry` # @return [String] - attr_accessor :user_agent + attr_accessor :url_map_entry - # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. - # Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. - # Corresponds to the JSON property `remoteIp` - # @return [String] - attr_accessor :remote_ip + # 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. + # Corresponds to the JSON property `instanceIndex` + # @return [Fixnum] + attr_accessor :instance_index - # The referer URL of the request, as defined in [HTTP/1.1 Header Field - # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). - # Corresponds to the JSON property `referer` - # @return [String] - attr_accessor :referer - - # Whether or not a cache lookup was attempted. - # Corresponds to the JSON property `cacheLookup` + # Whether this request is finished or active. + # Corresponds to the JSON property `finished` # @return [Boolean] - attr_accessor :cache_lookup - alias_method :cache_lookup?, :cache_lookup + attr_accessor :finished + alias_method :finished?, :finished - # Whether or not an entity was served from cache (with or without validation). - # Corresponds to the JSON property `cacheHit` - # @return [Boolean] - attr_accessor :cache_hit - alias_method :cache_hit?, :cache_hit - - # 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. - # Corresponds to the JSON property `cacheValidatedWithOriginServer` - # @return [Boolean] - attr_accessor :cache_validated_with_origin_server - alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server - - # The number of HTTP response bytes inserted into cache. Set only when a cache - # fill was attempted. - # Corresponds to the JSON property `cacheFillBytes` + # Internet host and port number of the resource being requested. + # Corresponds to the JSON property `host` # @return [String] - attr_accessor :cache_fill_bytes + attr_accessor :host - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @request_method = args[:request_method] if args.key?(:request_method) - @request_url = args[:request_url] if args.key?(:request_url) - @request_size = args[:request_size] if args.key?(:request_size) - @status = args[:status] if args.key?(:status) - @response_size = args[:response_size] if args.key?(:response_size) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @remote_ip = args[:remote_ip] if args.key?(:remote_ip) - @referer = args[:referer] if args.key?(:referer) - @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) - @cache_hit = args[:cache_hit] if args.key?(:cache_hit) - @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) - @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) - end - end - - # Additional information about a potentially long-running operation with which a - # log entry is associated. - class LogEntryOperation - include Google::Apis::Core::Hashable - - # Required. An arbitrary operation identifier. Log entries with the same - # identifier are assumed to be part of the same operation. - # Corresponds to the JSON property `id` + # HTTP version of request. Example: "HTTP/1.1". + # Corresponds to the JSON property `httpVersion` # @return [String] - attr_accessor :id + attr_accessor :http_version - # Required. An arbitrary producer identifier. The combination of `id` and ` - # producer` must be globally unique. Examples for `producer`: `"MyDivision. - # MyBigCompany.com"`, "github.com/MyProject/MyApplication"`. - # Corresponds to the JSON property `producer` + # Time when the request started. + # Corresponds to the JSON property `startTime` # @return [String] - attr_accessor :producer + attr_accessor :start_time - # Optional. Set this to True if this is the first log entry in the operation. + # Latency of the request. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # Origin IP address. + # Corresponds to the JSON property `ip` + # @return [String] + attr_accessor :ip + + # Application that handled this request. + # Corresponds to the JSON property `appId` + # @return [String] + attr_accessor :app_id + + # App Engine release version. + # Corresponds to the JSON property `appEngineRelease` + # @return [String] + attr_accessor :app_engine_release + + # Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". + # Corresponds to the JSON property `method` + # @return [String] + attr_accessor :method_prop + + # An indication of the relative cost of serving this request. + # Corresponds to the JSON property `cost` + # @return [Float] + attr_accessor :cost + + # An identifier for the instance that handled the request. + # Corresponds to the JSON property `instanceId` + # @return [String] + attr_accessor :instance_id + + # Number of CPU megacycles used to process request. + # Corresponds to the JSON property `megaCycles` + # @return [String] + attr_accessor :mega_cycles + + # 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. # Corresponds to the JSON property `first` # @return [Boolean] attr_accessor :first alias_method :first?, :first - # Optional. Set this to True if this is the last log entry in the operation. - # Corresponds to the JSON property `last` + # Version of the application that handled this request. + # Corresponds to the JSON property `versionId` + # @return [String] + attr_accessor :version_id + + # Module of the application that handled this request. + # Corresponds to the JSON property `moduleId` + # @return [String] + attr_accessor :module_id + + # Time when the request finished. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # User agent that made the request. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # Whether this was a loading request for the instance. + # Corresponds to the JSON property `wasLoadingRequest` # @return [Boolean] - attr_accessor :last - alias_method :last?, :last + attr_accessor :was_loading_request + alias_method :was_loading_request?, :was_loading_request + + # Source code for the application that handled this request. There can be more + # than one source reference per deployed application if source code is + # distributed among multiple repositories. + # Corresponds to the JSON property `sourceReference` + # @return [Array] + attr_accessor :source_reference + + # Size in bytes sent back to client by request. + # Corresponds to the JSON property `responseSize` + # @return [String] + attr_accessor :response_size + + # Stackdriver Trace identifier for this request. + # Corresponds to the JSON property `traceId` + # @return [String] + attr_accessor :trace_id + + # A list of log lines emitted by the application while serving this request. + # Corresponds to the JSON property `line` + # @return [Array] + attr_accessor :line + + # Queue name of the request, in the case of an offline request. + # Corresponds to the JSON property `taskQueueName` + # @return [String] + attr_accessor :task_queue_name + + # Referrer URL of request. + # Corresponds to the JSON property `referrer` + # @return [String] + attr_accessor :referrer def initialize(**args) update!(**args) @@ -375,10 +210,143 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @producer = args[:producer] if args.key?(:producer) + @request_id = args[:request_id] if args.key?(:request_id) + @nickname = args[:nickname] if args.key?(:nickname) + @pending_time = args[:pending_time] if args.key?(:pending_time) + @resource = args[:resource] if args.key?(:resource) + @status = args[:status] if args.key?(:status) + @task_name = args[:task_name] if args.key?(:task_name) + @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) + @instance_index = args[:instance_index] if args.key?(:instance_index) + @finished = args[:finished] if args.key?(:finished) + @host = args[:host] if args.key?(:host) + @http_version = args[:http_version] if args.key?(:http_version) + @start_time = args[:start_time] if args.key?(:start_time) + @latency = args[:latency] if args.key?(:latency) + @ip = args[:ip] if args.key?(:ip) + @app_id = args[:app_id] if args.key?(:app_id) + @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) + @method_prop = args[:method_prop] if args.key?(:method_prop) + @cost = args[:cost] if args.key?(:cost) + @instance_id = args[:instance_id] if args.key?(:instance_id) + @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles) @first = args[:first] if args.key?(:first) - @last = args[:last] if args.key?(:last) + @version_id = args[:version_id] if args.key?(:version_id) + @module_id = args[:module_id] if args.key?(:module_id) + @end_time = args[:end_time] if args.key?(:end_time) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request) + @source_reference = args[:source_reference] if args.key?(:source_reference) + @response_size = args[:response_size] if args.key?(:response_size) + @trace_id = args[:trace_id] if args.key?(:trace_id) + @line = args[:line] if args.key?(:line) + @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) + @referrer = args[:referrer] if args.key?(:referrer) + end + end + + # Result returned from ListMonitoredResourceDescriptors. + class ListMonitoredResourceDescriptorsResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of resource descriptors. + # Corresponds to the JSON property `resourceDescriptors` + # @return [Array] + attr_accessor :resource_descriptors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) + end + end + + # A reference to a particular snapshot of the source tree used to build and + # deploy an application. + class SourceReference + include Google::Apis::Core::Hashable + + # The canonical and persistent identifier of the deployed revision. Example (git) + # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # Optional. A URI string identifying the repository. Example: "https://github. + # com/GoogleCloudPlatform/kubernetes.git" + # Corresponds to the JSON property `repository` + # @return [String] + attr_accessor :repository + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @repository = args[:repository] if args.key?(:repository) + end + end + + # 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. + class LogMetric + include Google::Apis::Core::Hashable + + # 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". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Optional. A description of this metric, which is used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `version` + # @return [String] + attr_accessor :version + + # Required. An advanced logs filter which is used to match log entries. Example: + # "resource.type=gae_app AND severity>=ERROR" + # The maximum length of the filter is 20000 characters. + # Corresponds to the JSON property `filter` + # @return [String] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + @description = args[:description] if args.key?(:description) + @version = args[:version] if args.key?(:version) + @filter = args[:filter] if args.key?(:filter) end end @@ -395,94 +363,152 @@ module Google end end - # The parameters to `ListLogEntries`. - class ListLogEntriesRequest + # Additional information about a potentially long-running operation with which a + # log entry is associated. + class LogEntryOperation include Google::Apis::Core::Hashable - # Required. One or more project IDs or project numbers from which to retrieve - # log entries. Examples of a project ID: `"my-project-1A"`, `"1234567890"`. - # Corresponds to the JSON property `projectIds` - # @return [Array] - attr_accessor :project_ids + # Optional. Set this to True if this is the last log entry in the operation. + # Corresponds to the JSON property `last` + # @return [Boolean] + attr_accessor :last + alias_method :last?, :last - # Optional. An [advanced logs filter](/logging/docs/view/advanced_filters). The - # filter is compared against all log entries in the projects specified by ` - # projectIds`. Only entries that match the filter are retrieved. An empty filter - # matches all log entries. - # Corresponds to the JSON property `filter` + # Optional. An arbitrary operation identifier. Log entries with the same + # identifier are assumed to be part of the same operation. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :filter + attr_accessor :id - # 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`. - # Corresponds to the JSON property `orderBy` + # 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". + # Corresponds to the JSON property `producer` # @return [String] - attr_accessor :order_by + attr_accessor :producer - # Optional. The maximum number of results to return from this request. You must - # check for presence of `nextPageToken` to determine if additional results are - # available, which you can retrieve by passing the `nextPageToken` value as the ` - # pageToken` parameter in the next request. - # Corresponds to the JSON property `pageSize` - # @return [Fixnum] - attr_accessor :page_size + # Optional. Set this to True if this is the first log entry in the operation. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first - # Optional. If the `pageToken` parameter is supplied, then the next page of - # results is retrieved. The `pageToken` parameter must be set to the value of - # the `nextPageToken` from the previous response. The values of `projectIds`, ` - # filter`, and `orderBy` must be the same as in the previous request. - # Corresponds to the JSON property `pageToken` + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @last = args[:last] if args.key?(:last) + @id = args[:id] if args.key?(:id) + @producer = args[:producer] if args.key?(:producer) + @first = args[:first] if args.key?(:first) + end + end + + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + class MonitoredResource + include Google::Apis::Core::Hashable + + # 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". + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # 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". + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :page_token + attr_accessor :type - # Optional. If true, read access to all projects is not required and results - # will be returned for the subset of projects for which read access is permitted - # (empty subset is permitted). + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) + end + end + + # The parameters to WriteLogEntries. + class WriteLogEntriesRequest + include Google::Apis::Core::Hashable + + # Optional. A default log resource name that is assigned to all log entries in + # entries that do not specify a value for log_name: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [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. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + # 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. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + # 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. # Corresponds to the JSON property `partialSuccess` # @return [Boolean] attr_accessor :partial_success alias_method :partial_success?, :partial_success - def initialize(**args) - update!(**args) - end + # 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. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels - # Update properties of this object - def update!(**args) - @project_ids = args[:project_ids] if args.key?(:project_ids) - @filter = args[:filter] if args.key?(:filter) - @order_by = args[:order_by] if args.key?(:order_by) - @page_size = args[:page_size] if args.key?(:page_size) - @page_token = args[:page_token] if args.key?(:page_token) - @partial_success = args[:partial_success] if args.key?(:partial_success) - end - end - - # Result returned from `ListLogEntries`. - class ListLogEntriesResponse - include Google::Apis::Core::Hashable - - # A list of log entries. - # Corresponds to the JSON property `entries` - # @return [Array] - attr_accessor :entries - - # If there are more results than were returned, then `nextPageToken` is included - # in the response. To get the next set of results, call this method again using - # the value of `nextPageToken` as `pageToken`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # If partial_success is true, contains the project ids that had errors and the - # associated errors. - # Corresponds to the JSON property `projectIdErrors` - # @return [Hash] - attr_accessor :project_id_errors + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2beta1::MonitoredResource] + attr_accessor :resource def initialize(**args) update!(**args) @@ -490,148 +516,117 @@ module Google # Update properties of this object def update!(**args) + @log_name = args[:log_name] if args.key?(:log_name) @entries = args[:entries] if args.key?(:entries) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @project_id_errors = args[:project_id_errors] if args.key?(:project_id_errors) + @partial_success = args[:partial_success] if args.key?(:partial_success) + @labels = args[:labels] if args.key?(:labels) + @resource = args[:resource] if args.key?(:resource) end end - # 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 + # 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. + class LogSink include Google::Apis::Core::Hashable - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # 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. - # Corresponds to the JSON property `message` + # Required. The export destination: + # "storage.googleapis.com/[GCS_BUCKET]" + # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" + # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" + # The 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. + # Corresponds to the JSON property `destination` # @return [String] - attr_accessor :message + attr_accessor :destination - # A list of messages that carry the error details. There will be a common set of - # message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) - end - end - - # Result returned from ListMonitoredResourceDescriptors. - class ListMonitoredResourceDescriptorsResponse - include Google::Apis::Core::Hashable - - # A list of resource descriptors. - # Corresponds to the JSON property `resourceDescriptors` - # @return [Array] - attr_accessor :resource_descriptors - - # If there are more results than were returned, then `nextPageToken` is included - # in the response. To get the next set of results, call this method again using - # the value of `nextPageToken` as `pageToken`. - # Corresponds to the JSON property `nextPageToken` + # 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: + # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR + # Corresponds to the JSON property `filter` # @return [String] - attr_accessor :next_page_token + attr_accessor :filter - def initialize(**args) - update!(**args) - end + # 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. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time - # Update properties of this object - def update!(**args) - @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end + # 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. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time - # 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. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable + # 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. + # Corresponds to the JSON property `writerIdentity` + # @return [String] + attr_accessor :writer_identity - # 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`"`. + # 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. + # Corresponds to the JSON property `outputVersionFormat` + # @return [String] + attr_accessor :output_version_format + + # 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. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # Required. The monitored resource type. For example, the type `" - # cloudsql_database"` represents databases in Google Cloud SQL. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + def initialize(**args) + update!(**args) + end - # Optional. A concise name for the monitored resource type that might be - # displayed in user interfaces. For example, `"Google Cloud SQL Database"`. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @filter = args[:filter] if args.key?(:filter) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @writer_identity = args[:writer_identity] if args.key?(:writer_identity) + @output_version_format = args[:output_version_format] if args.key?(:output_version_format) + @name = args[:name] if args.key?(:name) + end + end - # Optional. A detailed description of the monitored resource type that might be - # used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description + # Result returned from ListLogs. + class ListLogsResponse + include Google::Apis::Core::Hashable - # 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"`. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of log names. For example, "projects/my-project/syslog" or " + # organizations/123/cloudresourcemanager.googleapis.com%2Factivity". + # Corresponds to the JSON property `logNames` + # @return [Array] + attr_accessor :log_names def initialize(**args) update!(**args) @@ -639,11 +634,147 @@ module Google # Update properties of this object def update!(**args) - @name = args[:name] if args.key?(:name) - @type = args[:type] if args.key?(:type) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @labels = args[:labels] if args.key?(:labels) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @log_names = args[:log_names] if args.key?(:log_names) + end + end + + # Result returned from ListSinks. + class ListSinksResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of sinks. + # Corresponds to the JSON property `sinks` + # @return [Array] + attr_accessor :sinks + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @sinks = args[:sinks] if args.key?(:sinks) + end + end + + # 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. + class HttpRequest + include Google::Apis::Core::Hashable + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + + # Whether or not an entity was served from cache (with or without validation). + # Corresponds to the JSON property `cacheHit` + # @return [Boolean] + attr_accessor :cache_hit + alias_method :cache_hit?, :cache_hit + + # 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. + # Corresponds to the JSON property `cacheValidatedWithOriginServer` + # @return [Boolean] + attr_accessor :cache_validated_with_origin_server + alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server + + # The response code indicating the status of response. Examples: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The referer URL of the request, as defined in HTTP/1.1 Header Field + # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + # Corresponds to the JSON property `referer` + # @return [String] + attr_accessor :referer + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0; + # Windows 98; Q312461; .NET CLR 1.0.3705)". + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + # The number of HTTP response bytes inserted into cache. Set only when a cache + # fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [String] + attr_accessor :cache_fill_bytes + + # The request method. Examples: "GET", "HEAD", "PUT", "POST". + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP request message in bytes, including the request headers + # and the request body. + # Corresponds to the JSON property `requestSize` + # @return [String] + attr_accessor :request_size + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [String] + attr_accessor :response_size + + # 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". + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP request. + # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329". + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The IP address (IPv4 or IPv6) of the origin server that the request was sent + # to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @status = args[:status] if args.key?(:status) + @referer = args[:referer] if args.key?(:referer) + @latency = args[:latency] if args.key?(:latency) + @user_agent = args[:user_agent] if args.key?(:user_agent) + @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) + @request_method = args[:request_method] if args.key?(:request_method) + @request_size = args[:request_size] if args.key?(:request_size) + @response_size = args[:response_size] if args.key?(:response_size) + @request_url = args[:request_url] if args.key?(:request_url) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @server_ip = args[:server_ip] if args.key?(:server_ip) end end @@ -651,16 +782,16 @@ module Google class LabelDescriptor include Google::Apis::Core::Hashable - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - # The type of data that can be assigned to the label. # Corresponds to the JSON property `valueType` # @return [String] attr_accessor :value_type + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + # A human-readable description for the label. # Corresponds to the JSON property `description` # @return [String] @@ -672,139 +803,58 @@ module Google # Update properties of this object def update!(**args) - @key = args[:key] if args.key?(:key) @value_type = args[:value_type] if args.key?(:value_type) + @key = args[:key] if args.key?(:key) @description = args[:description] if args.key?(:description) end end - # Result returned from `ListSinks`. - class ListSinksResponse + # 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. + class MonitoredResourceDescriptor include Google::Apis::Core::Hashable - # A list of sinks. - # Corresponds to the JSON property `sinks` - # @return [Array] - attr_accessor :sinks + # 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". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels - # If there are more results than were returned, then `nextPageToken` is included - # in the response. To get the next set of results, call this method again using - # the value of `nextPageToken` as `pageToken`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sinks = args[:sinks] if args.key?(:sinks) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Describes a sink used to export log entries outside Cloud Logging. - class LogSink - include Google::Apis::Core::Hashable - - # Required. The client-assigned sink identifier. Example: `"my-severe-errors-to- - # pubsub"`. Sink identifiers are limited to 1000 characters and can include only - # the following characters: `A-Z`, `a-z`, `0-9`, and the special characters `_-.` - # . + # 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`". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The export destination. See [Exporting Logs With Sinks](/logging/docs/api/ - # tasks/exporting-logs). Examples: `"storage.googleapis.com/a-bucket"`, `" - # bigquery.googleapis.com/projects/a-project-id/datasets/a-dataset"`. - # Corresponds to the JSON property `destination` + # 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". + # Corresponds to the JSON property `displayName` # @return [String] - attr_accessor :destination + attr_accessor :display_name - # An [advanced logs filter](/logging/docs/view/advanced_filters). Only log - # entries matching that filter are exported. The filter must be consistent with - # the log entry format specified by the `outputVersionFormat` parameter, - # regardless of the format of the log entry that was originally written to Cloud - # Logging. Example (V2 format): `"logName=projects/my-projectid/logs/syslog AND - # severity>=ERROR"`. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # The log entry version to use for this sink's exported log entries. This - # version does not have to correspond to the version of the log entry when it - # was written to Cloud Logging. - # Corresponds to the JSON property `outputVersionFormat` - # @return [String] - attr_accessor :output_version_format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @destination = args[:destination] if args.key?(:destination) - @filter = args[:filter] if args.key?(:filter) - @output_version_format = args[:output_version_format] if args.key?(:output_version_format) - end - end - - # Result returned from ListLogMetrics. - class ListLogMetricsResponse - include Google::Apis::Core::Hashable - - # A list of logs-based metrics. - # Corresponds to the JSON property `metrics` - # @return [Array] - attr_accessor :metrics - - # If there are more results than were returned, then `nextPageToken` is included - # in the response. To get the next set of results, call this method again using - # the value of `nextPageToken` as `pageToken`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metrics = args[:metrics] if args.key?(:metrics) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Describes a logs-based metric. The value of the metric is the number of log - # entries that match a logs filter. - class LogMetric - include Google::Apis::Core::Hashable - - # Required. The client-assigned metric identifier. Example: `"severe_errors"`. - # Metric identifiers are limited to 1000 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. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # A description of this metric, which is used in documentation. + # Optional. A detailed description of the monitored resource type that might be + # used in documentation. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # An [advanced logs filter](/logging/docs/view/advanced_filters). Example: `" - # logName:syslog AND severity>=ERROR"`. - # Corresponds to the JSON property `filter` + # 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. + # Corresponds to the JSON property `type` # @return [String] - attr_accessor :filter + attr_accessor :type def initialize(**args) update!(**args) @@ -812,193 +862,39 @@ module Google # Update properties of this object def update!(**args) + @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) + @display_name = args[:display_name] if args.key?(:display_name) @description = args[:description] if args.key?(:description) - @filter = args[:filter] if args.key?(:filter) + @type = args[:type] if args.key?(:type) end end - # Complete log information about a single HTTP request to an App Engine - # application. - class RequestLog + # Additional information about the source code location that produced the log + # entry. + class LogEntrySourceLocation include Google::Apis::Core::Hashable - # Application that handled this request. - # Corresponds to the JSON property `appId` + # 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). + # Corresponds to the JSON property `function` # @return [String] - attr_accessor :app_id + attr_accessor :function - # Module of the application that handled this request. - # Corresponds to the JSON property `moduleId` - # @return [String] - attr_accessor :module_id - - # Version of the application that handled this request. - # Corresponds to the JSON property `versionId` - # @return [String] - attr_accessor :version_id - - # 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. - # Corresponds to the JSON property `requestId` - # @return [String] - attr_accessor :request_id - - # Origin IP address. - # Corresponds to the JSON property `ip` - # @return [String] - attr_accessor :ip - - # Time when the request started. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # Time when the request finished. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # Latency of the request. - # Corresponds to the JSON property `latency` - # @return [String] - attr_accessor :latency - - # Number of CPU megacycles used to process request. - # Corresponds to the JSON property `megaCycles` - # @return [String] - attr_accessor :mega_cycles - - # Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`. - # Corresponds to the JSON property `method` - # @return [String] - attr_accessor :method_prop - - # 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. - # Corresponds to the JSON property `resource` - # @return [String] - attr_accessor :resource - - # HTTP version of request. Example: `"HTTP/1.1"`. - # Corresponds to the JSON property `httpVersion` - # @return [String] - attr_accessor :http_version - - # HTTP response status code. Example: 200, 404. - # Corresponds to the JSON property `status` - # @return [Fixnum] - attr_accessor :status - - # Size in bytes sent back to client by request. - # Corresponds to the JSON property `responseSize` - # @return [String] - attr_accessor :response_size - - # Referrer URL of request. - # Corresponds to the JSON property `referrer` - # @return [String] - attr_accessor :referrer - - # User agent that made the request. - # Corresponds to the JSON property `userAgent` - # @return [String] - attr_accessor :user_agent - - # 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. - # Corresponds to the JSON property `nickname` - # @return [String] - attr_accessor :nickname - - # File or class that handled the request. - # Corresponds to the JSON property `urlMapEntry` - # @return [String] - attr_accessor :url_map_entry - - # Internet host and port number of the resource being requested. - # Corresponds to the JSON property `host` - # @return [String] - attr_accessor :host - - # An indication of the relative cost of serving this request. - # Corresponds to the JSON property `cost` - # @return [Float] - attr_accessor :cost - - # Queue name of the request, in the case of an offline request. - # Corresponds to the JSON property `taskQueueName` - # @return [String] - attr_accessor :task_queue_name - - # Task name of the request, in the case of an offline request. - # Corresponds to the JSON property `taskName` - # @return [String] - attr_accessor :task_name - - # Whether this was a loading request for the instance. - # Corresponds to the JSON property `wasLoadingRequest` - # @return [Boolean] - attr_accessor :was_loading_request - alias_method :was_loading_request?, :was_loading_request - - # Time this request spent in the pending request queue. - # Corresponds to the JSON property `pendingTime` - # @return [String] - attr_accessor :pending_time - - # 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. - # Corresponds to the JSON property `instanceIndex` - # @return [Fixnum] - attr_accessor :instance_index - - # Whether this request is finished or active. - # Corresponds to the JSON property `finished` - # @return [Boolean] - attr_accessor :finished - alias_method :finished?, :finished - - # Whether this is the first RequestLog entry for this request. If an active - # request has several RequestLog entries written to Cloud Logging, this field - # will be set for one of them. - # Corresponds to the JSON property `first` - # @return [Boolean] - attr_accessor :first - alias_method :first?, :first - - # An identifier for the instance that handled the request. - # Corresponds to the JSON property `instanceId` - # @return [String] - attr_accessor :instance_id - - # A list of log lines emitted by the application while serving this request. + # Optional. Line within the source file. 1-based; 0 indicates no line number + # available. # Corresponds to the JSON property `line` - # @return [Array] + # @return [String] attr_accessor :line - # App Engine release version. - # Corresponds to the JSON property `appEngineRelease` + # Optional. Source file name. Depending on the runtime environment, this might + # be a simple name or a fully-qualified name. + # Corresponds to the JSON property `file` # @return [String] - attr_accessor :app_engine_release - - # Cloud Trace identifier for this request. - # Corresponds to the JSON property `traceId` - # @return [String] - attr_accessor :trace_id - - # Source code for the application that handled this request. There can be more - # than one source reference per deployed application if source code is - # distributed among multiple repositories. - # Corresponds to the JSON property `sourceReference` - # @return [Array] - attr_accessor :source_reference + attr_accessor :file def initialize(**args) update!(**args) @@ -1006,38 +902,42 @@ module Google # Update properties of this object def update!(**args) - @app_id = args[:app_id] if args.key?(:app_id) - @module_id = args[:module_id] if args.key?(:module_id) - @version_id = args[:version_id] if args.key?(:version_id) - @request_id = args[:request_id] if args.key?(:request_id) - @ip = args[:ip] if args.key?(:ip) - @start_time = args[:start_time] if args.key?(:start_time) - @end_time = args[:end_time] if args.key?(:end_time) - @latency = args[:latency] if args.key?(:latency) - @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles) - @method_prop = args[:method_prop] if args.key?(:method_prop) - @resource = args[:resource] if args.key?(:resource) - @http_version = args[:http_version] if args.key?(:http_version) - @status = args[:status] if args.key?(:status) - @response_size = args[:response_size] if args.key?(:response_size) - @referrer = args[:referrer] if args.key?(:referrer) - @user_agent = args[:user_agent] if args.key?(:user_agent) - @nickname = args[:nickname] if args.key?(:nickname) - @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry) - @host = args[:host] if args.key?(:host) - @cost = args[:cost] if args.key?(:cost) - @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name) - @task_name = args[:task_name] if args.key?(:task_name) - @was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request) - @pending_time = args[:pending_time] if args.key?(:pending_time) - @instance_index = args[:instance_index] if args.key?(:instance_index) - @finished = args[:finished] if args.key?(:finished) - @first = args[:first] if args.key?(:first) - @instance_id = args[:instance_id] if args.key?(:instance_id) + @function = args[:function] if args.key?(:function) @line = args[:line] if args.key?(:line) - @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) - @trace_id = args[:trace_id] if args.key?(:trace_id) - @source_reference = args[:source_reference] if args.key?(:source_reference) + @file = args[:file] if args.key?(:file) + end + end + + # Result returned from ListLogEntries. + class ListLogEntriesResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of log entries. + # Corresponds to the JSON property `entries` + # @return [Array] + attr_accessor :entries + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @entries = args[:entries] if args.key?(:entries) end end @@ -1045,11 +945,6 @@ module Google class LogLine include Google::Apis::Core::Hashable - # Approximate time when this log entry was made. - # Corresponds to the JSON property `time` - # @return [String] - attr_accessor :time - # Severity of this log entry. # Corresponds to the JSON property `severity` # @return [String] @@ -1065,16 +960,202 @@ module Google # @return [Google::Apis::LoggingV2beta1::SourceLocation] attr_accessor :source_location + # Approximate time when this log entry was made. + # Corresponds to the JSON property `time` + # @return [String] + attr_accessor :time + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @time = args[:time] if args.key?(:time) @severity = args[:severity] if args.key?(:severity) @log_message = args[:log_message] if args.key?(:log_message) @source_location = args[:source_location] if args.key?(:source_location) + @time = args[:time] if args.key?(:time) + end + end + + # Result returned from ListLogMetrics. + class ListLogMetricsResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of logs-based metrics. + # Corresponds to the JSON property `metrics` + # @return [Array] + attr_accessor :metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @metrics = args[:metrics] if args.key?(:metrics) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # An individual entry in a log. + class LogEntry + include Google::Apis::Core::Hashable + + # Required. The resource name of the log to which this log entry belongs: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [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. + # Corresponds to the JSON property `logName` + # @return [String] + attr_accessor :log_name + + # 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. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::LoggingV2beta1::HttpRequest] + attr_accessor :http_request + + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::LoggingV2beta1::MonitoredResource] + attr_accessor :resource + + # The log entry payload, represented as a structure that is expressed as a JSON + # object. + # Corresponds to the JSON property `jsonPayload` + # @return [Hash] + attr_accessor :json_payload + + # Additional information about a potentially long-running operation with which a + # log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::LoggingV2beta1::LogEntryOperation] + attr_accessor :operation + + # 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. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The log entry payload, represented as a protocol buffer. Some Google Cloud + # Platform services use this field for their log entry payloads. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # 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 + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace + + # Optional. A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Optional. The severity of the log entry. The default value is LogSeverity. + # DEFAULT. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation] + attr_accessor :source_location + + # 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. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @log_name = args[:log_name] if args.key?(:log_name) + @http_request = args[:http_request] if args.key?(:http_request) + @resource = args[:resource] if args.key?(:resource) + @json_payload = args[:json_payload] if args.key?(:json_payload) + @operation = args[:operation] if args.key?(:operation) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @trace = args[:trace] if args.key?(:trace) + @labels = args[:labels] if args.key?(:labels) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) + @timestamp = args[:timestamp] if args.key?(:timestamp) end end @@ -1082,25 +1163,25 @@ module Google class SourceLocation include Google::Apis::Core::Hashable - # Source file name. Depending on the runtime environment, this might be a simple - # name or a fully-qualified name. - # Corresponds to the JSON property `file` + # 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). + # Corresponds to the JSON property `functionName` # @return [String] - attr_accessor :file + attr_accessor :function_name # Line within the source file. # Corresponds to the JSON property `line` # @return [String] attr_accessor :line - # 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). - # Corresponds to the JSON property `functionName` + # Source file name. Depending on the runtime environment, this might be a simple + # name or a fully-qualified name. + # Corresponds to the JSON property `file` # @return [String] - attr_accessor :function_name + attr_accessor :file def initialize(**args) update!(**args) @@ -1108,28 +1189,68 @@ module Google # Update properties of this object def update!(**args) - @file = args[:file] if args.key?(:file) - @line = args[:line] if args.key?(:line) @function_name = args[:function_name] if args.key?(:function_name) + @line = args[:line] if args.key?(:line) + @file = args[:file] if args.key?(:file) end end - # A reference to a particular snapshot of the source tree used to build and - # deploy an application. - class SourceReference + # The parameters to ListLogEntries. + class ListLogEntriesRequest include Google::Apis::Core::Hashable - # Optional. A URI string identifying the repository. Example: "https://github. - # com/GoogleCloudPlatform/kubernetes.git" - # Corresponds to the JSON property `repository` + # 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. + # Corresponds to the JSON property `orderBy` # @return [String] - attr_accessor :repository + attr_accessor :order_by - # The canonical and persistent identifier of the deployed revision. Example (git) - # : "0035781c50ec7aa23385dc841529ce8a4b70db1b" - # Corresponds to the JSON property `revisionId` + # Required. Names of one or more parent resources from which to retrieve log + # entries: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Projects listed in the project_ids field are added to this list. + # Corresponds to the JSON property `resourceNames` + # @return [Array] + attr_accessor :resource_names + + # 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. + # Corresponds to the JSON property `filter` # @return [String] - attr_accessor :revision_id + attr_accessor :filter + + # 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. + # Corresponds to the JSON property `projectIds` + # @return [Array] + attr_accessor :project_ids + + # 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. + # Corresponds to the JSON property `pageToken` + # @return [String] + attr_accessor :page_token + + # 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. + # Corresponds to the JSON property `pageSize` + # @return [Fixnum] + attr_accessor :page_size def initialize(**args) update!(**args) @@ -1137,8 +1258,12 @@ module Google # Update properties of this object def update!(**args) - @repository = args[:repository] if args.key?(:repository) - @revision_id = args[:revision_id] if args.key?(:revision_id) + @order_by = args[:order_by] if args.key?(:order_by) + @resource_names = args[:resource_names] if args.key?(:resource_names) + @filter = args[:filter] if args.key?(:filter) + @project_ids = args[:project_ids] if args.key?(:project_ids) + @page_token = args[:page_token] if args.key?(:page_token) + @page_size = args[:page_size] if args.key?(:page_size) end end end diff --git a/generated/google/apis/logging_v2beta1/representations.rb b/generated/google/apis/logging_v2beta1/representations.rb index 12f9e0c73..01335af09 100644 --- a/generated/google/apis/logging_v2beta1/representations.rb +++ b/generated/google/apis/logging_v2beta1/representations.rb @@ -22,121 +22,13 @@ module Google module Apis module LoggingV2beta1 - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WriteLogEntriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MonitoredResource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntry - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class HttpRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogEntryOperation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class WriteLogEntriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLogEntriesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLogEntriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListMonitoredResourceDescriptorsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MonitoredResourceDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LabelDescriptor - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListSinksResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogSink - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListLogMetricsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogMetric - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class RequestLog class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LogLine - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SourceLocation + class ListMonitoredResourceDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -148,78 +40,184 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + class LogMetric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class WriteLogEntriesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation + class WriteLogEntriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :labels, as: 'labels' - collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation - - property :partial_success, as: 'partialSuccess' - end - end - - class MonitoredResource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - hash :labels, as: 'labels' - end - end - - class LogEntry - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :log_name, as: 'logName' - property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation - - hash :proto_payload, as: 'protoPayload' - property :text_payload, as: 'textPayload' - hash :json_payload, as: 'jsonPayload' - property :timestamp, as: 'timestamp' - property :severity, as: 'severity' - property :insert_id, as: 'insertId' - property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation - - hash :labels, as: 'labels' - property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation - - end - end - - class HttpRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :request_method, as: 'requestMethod' - property :request_url, as: 'requestUrl' - property :request_size, as: 'requestSize' - property :status, as: 'status' - property :response_size, as: 'responseSize' - property :user_agent, as: 'userAgent' - property :remote_ip, as: 'remoteIp' - property :referer, as: 'referer' - property :cache_lookup, as: 'cacheLookup' - property :cache_hit, as: 'cacheHit' - property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' - property :cache_fill_bytes, as: 'cacheFillBytes' - end + include Google::Apis::Core::JsonObjectSupport end class LogEntryOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MonitoredResource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteLogEntriesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogSink + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListSinksResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HttpRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LabelDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MonitoredResourceDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntrySourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogEntriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogLine + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogMetricsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListLogEntriesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RequestLog # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :producer, as: 'producer' + property :request_id, as: 'requestId' + property :nickname, as: 'nickname' + property :pending_time, as: 'pendingTime' + property :resource, as: 'resource' + property :status, as: 'status' + property :task_name, as: 'taskName' + property :url_map_entry, as: 'urlMapEntry' + property :instance_index, as: 'instanceIndex' + property :finished, as: 'finished' + property :host, as: 'host' + property :http_version, as: 'httpVersion' + property :start_time, as: 'startTime' + property :latency, as: 'latency' + property :ip, as: 'ip' + property :app_id, as: 'appId' + property :app_engine_release, as: 'appEngineRelease' + property :method_prop, as: 'method' + property :cost, as: 'cost' + property :instance_id, as: 'instanceId' + property :mega_cycles, as: 'megaCycles' property :first, as: 'first' - property :last, as: 'last' + property :version_id, as: 'versionId' + property :module_id, as: 'moduleId' + property :end_time, as: 'endTime' + property :user_agent, as: 'userAgent' + property :was_loading_request, as: 'wasLoadingRequest' + collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation + + property :response_size, as: 'responseSize' + property :trace_id, as: 'traceId' + collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation + + property :task_queue_name, as: 'taskQueueName' + property :referrer, as: 'referrer' + end + end + + class ListMonitoredResourceDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation + + end + end + + class SourceReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :revision_id, as: 'revisionId' + property :repository, as: 'repository' + end + end + + class LogMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :description, as: 'description' + property :version, as: 'version' + property :filter, as: 'filter' end end @@ -229,141 +227,122 @@ module Google end end - class ListLogEntriesRequest + class LogEntryOperation # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :project_ids, as: 'projectIds' - property :filter, as: 'filter' - property :order_by, as: 'orderBy' - property :page_size, as: 'pageSize' - property :page_token, as: 'pageToken' - property :partial_success, as: 'partialSuccess' + property :last, as: 'last' + property :id, as: 'id' + property :producer, as: 'producer' + property :first, as: 'first' end end - class ListLogEntriesResponse + class MonitoredResource # @private class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class WriteLogEntriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation - property :next_page_token, as: 'nextPageToken' - hash :project_id_errors, as: 'projectIdErrors', class: Google::Apis::LoggingV2beta1::Status, decorator: Google::Apis::LoggingV2beta1::Status::Representation + property :partial_success, as: 'partialSuccess' + hash :labels, as: 'labels' + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation end end - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class ListMonitoredResourceDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :resource_descriptors, as: 'resourceDescriptors', class: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor, decorator: Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :type, as: 'type' - property :display_name, as: 'displayName' - property :description, as: 'description' - collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation - - end - end - - class LabelDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - property :value_type, as: 'valueType' - property :description, as: 'description' - end - end - - class ListSinksResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class LogSink # @private class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' property :destination, as: 'destination' property :filter, as: 'filter' - property :output_version_format, as: 'outputVersionFormat' - end - end - - class ListLogMetricsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class LogMetric - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :description, as: 'description' - property :filter, as: 'filter' - end - end - - class RequestLog - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :app_id, as: 'appId' - property :module_id, as: 'moduleId' - property :version_id, as: 'versionId' - property :request_id, as: 'requestId' - property :ip, as: 'ip' - property :start_time, as: 'startTime' property :end_time, as: 'endTime' - property :latency, as: 'latency' - property :mega_cycles, as: 'megaCycles' - property :method_prop, as: 'method' - property :resource, as: 'resource' - property :http_version, as: 'httpVersion' - property :status, as: 'status' - property :response_size, as: 'responseSize' - property :referrer, as: 'referrer' - property :user_agent, as: 'userAgent' - property :nickname, as: 'nickname' - property :url_map_entry, as: 'urlMapEntry' - property :host, as: 'host' - property :cost, as: 'cost' - property :task_queue_name, as: 'taskQueueName' - property :task_name, as: 'taskName' - property :was_loading_request, as: 'wasLoadingRequest' - property :pending_time, as: 'pendingTime' - property :instance_index, as: 'instanceIndex' - property :finished, as: 'finished' - property :first, as: 'first' - property :instance_id, as: 'instanceId' - collection :line, as: 'line', class: Google::Apis::LoggingV2beta1::LogLine, decorator: Google::Apis::LoggingV2beta1::LogLine::Representation + property :start_time, as: 'startTime' + property :writer_identity, as: 'writerIdentity' + property :output_version_format, as: 'outputVersionFormat' + property :name, as: 'name' + end + end - property :app_engine_release, as: 'appEngineRelease' - property :trace_id, as: 'traceId' - collection :source_reference, as: 'sourceReference', class: Google::Apis::LoggingV2beta1::SourceReference, decorator: Google::Apis::LoggingV2beta1::SourceReference::Representation + class ListLogsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :log_names, as: 'logNames' + end + end + + class ListSinksResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :sinks, as: 'sinks', class: Google::Apis::LoggingV2beta1::LogSink, decorator: Google::Apis::LoggingV2beta1::LogSink::Representation + + end + end + + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_lookup, as: 'cacheLookup' + property :cache_hit, as: 'cacheHit' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :status, as: 'status' + property :referer, as: 'referer' + property :latency, as: 'latency' + property :user_agent, as: 'userAgent' + property :cache_fill_bytes, as: 'cacheFillBytes' + property :request_method, as: 'requestMethod' + property :request_size, as: 'requestSize' + property :response_size, as: 'responseSize' + property :request_url, as: 'requestUrl' + property :remote_ip, as: 'remoteIp' + property :server_ip, as: 'serverIp' + end + end + + class LabelDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value_type, as: 'valueType' + property :key, as: 'key' + property :description, as: 'description' + end + end + + class MonitoredResourceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::LoggingV2beta1::LabelDescriptor, decorator: Google::Apis::LoggingV2beta1::LabelDescriptor::Representation + + property :name, as: 'name' + property :display_name, as: 'displayName' + property :description, as: 'description' + property :type, as: 'type' + end + end + + class LogEntrySourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :function, as: 'function' + property :line, as: 'line' + property :file, as: 'file' + end + end + + class ListLogEntriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :entries, as: 'entries', class: Google::Apis::LoggingV2beta1::LogEntry, decorator: Google::Apis::LoggingV2beta1::LogEntry::Representation end end @@ -371,28 +350,70 @@ module Google class LogLine # @private class Representation < Google::Apis::Core::JsonRepresentation - property :time, as: 'time' property :severity, as: 'severity' property :log_message, as: 'logMessage' property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::SourceLocation, decorator: Google::Apis::LoggingV2beta1::SourceLocation::Representation + property :time, as: 'time' + end + end + + class ListLogMetricsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :metrics, as: 'metrics', class: Google::Apis::LoggingV2beta1::LogMetric, decorator: Google::Apis::LoggingV2beta1::LogMetric::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class LogEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :log_name, as: 'logName' + property :http_request, as: 'httpRequest', class: Google::Apis::LoggingV2beta1::HttpRequest, decorator: Google::Apis::LoggingV2beta1::HttpRequest::Representation + + property :resource, as: 'resource', class: Google::Apis::LoggingV2beta1::MonitoredResource, decorator: Google::Apis::LoggingV2beta1::MonitoredResource::Representation + + hash :json_payload, as: 'jsonPayload' + property :operation, as: 'operation', class: Google::Apis::LoggingV2beta1::LogEntryOperation, decorator: Google::Apis::LoggingV2beta1::LogEntryOperation::Representation + + property :insert_id, as: 'insertId' + property :text_payload, as: 'textPayload' + hash :proto_payload, as: 'protoPayload' + property :trace, as: 'trace' + hash :labels, as: 'labels' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::LoggingV2beta1::LogEntrySourceLocation, decorator: Google::Apis::LoggingV2beta1::LogEntrySourceLocation::Representation + + property :timestamp, as: 'timestamp' end end class SourceLocation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file, as: 'file' - property :line, as: 'line' property :function_name, as: 'functionName' + property :line, as: 'line' + property :file, as: 'file' end end - class SourceReference + class ListLogEntriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :repository, as: 'repository' - property :revision_id, as: 'revisionId' + property :order_by, as: 'orderBy' + collection :resource_names, as: 'resourceNames' + property :filter, as: 'filter' + collection :project_ids, as: 'projectIds' + property :page_token, as: 'pageToken' + property :page_size, as: 'pageSize' end end end diff --git a/generated/google/apis/logging_v2beta1/service.rb b/generated/google/apis/logging_v2beta1/service.rb index 5457e31bc..6eddbc787 100644 --- a/generated/google/apis/logging_v2beta1/service.rb +++ b/generated/google/apis/logging_v2beta1/service.rb @@ -20,9 +20,9 @@ require 'google/apis/errors' module Google module Apis module LoggingV2beta1 - # Google Cloud Logging API + # Stackdriver Logging API # - # Writes log entries and manages your logs, log sinks, and logs-based metrics. + # Writes log entries and manages your Stackdriver Logging configuration. # # @example # require 'google/apis/logging_v2beta1' @@ -46,11 +46,202 @@ module Google super('https://logging.googleapis.com/', '') end - # Deletes a log and all its log entries. The log will reappear if it receives - # new entries. + # Lists the descriptors for monitored resource types used by Stackdriver Logging. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_monitored_resource_descriptors(page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/monitoredResourceDescriptors', options) + command.response_representation = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. # @param [String] log_name - # Required. The resource name of the log to delete. Example: `"projects/my- - # project/logs/syslog"`. + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+logName}', options) + command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation + command.response_class = Google::Apis::LoggingV2beta1::Empty + command.params['logName'] = log_name unless log_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::ListLogsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::ListLogsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_organization_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Writes log entries to Stackdriver Logging. + # @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/entries:write', options) + command.request_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesRequest::Representation + command.request_object = write_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists log entries. Use this method to retrieve log entries from Stackdriver + # Logging. For ways to export log entries, see Exporting Logs. + # @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::ListLogEntriesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::ListLogEntriesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/entries:list', options) + command.request_representation = Google::Apis::LoggingV2beta1::ListLogEntriesRequest::Representation + command.request_object = list_log_entries_request_object + command.response_representation = Google::Apis::LoggingV2beta1::ListLogEntriesResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListLogEntriesResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -78,20 +269,23 @@ module Google execute_or_queue_command(command, &block) end - # Lists sinks. - # @param [String] project_name - # Required. The resource name of the project containing the sinks. Example: `" - # projects/my-logging-project"`. + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [String] page_token - # Optional. If the `pageToken` parameter is supplied, then the next page of - # results is retrieved. The `pageToken` parameter must be set to the value of - # the `nextPageToken` from the previous response. The value of `projectName` - # must be the same as in the previous request. + # 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. # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. You must - # check for presence of `nextPageToken` to determine if additional results are - # available, which you can retrieve by passing the `nextPageToken` value as the ` - # pageToken` parameter in the next request. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -101,19 +295,19 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::ListSinksResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2beta1::ListLogsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2beta1::ListSinksResponse] + # @return [Google::Apis::LoggingV2beta1::ListLogsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_sinks(project_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/{+projectName}/sinks', options) - command.response_representation = Google::Apis::LoggingV2beta1::ListSinksResponse::Representation - command.response_class = Google::Apis::LoggingV2beta1::ListSinksResponse - command.params['projectName'] = project_name unless project_name.nil? + def list_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse + command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? @@ -121,42 +315,30 @@ module Google execute_or_queue_command(command, &block) end - # Gets a sink. + # 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. # @param [String] sink_name - # The resource name of the sink to return. Example: `"projects/my-project-id/ - # sinks/my-sink-id"`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/{+sinkName}', options) - command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation - command.response_class = Google::Apis::LoggingV2beta1::LogSink - command.params['sinkName'] = sink_name unless sink_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a sink. - # @param [String] project_name - # The resource name of the project in which to create the sink. Example: `" - # projects/my-project-id"`. The new sink must be provided in the request. + # Required. The full resource name of the sink to update, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". # @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # Optional. See sinks.create for a description of this field. When updating a + # sink, the effect of this field on the value of writer_identity in the updated + # sink depends on both the old and new values of this field: + # If the old and new values of this field are both false or both true, then + # there is no change to the sink's writer_identity. + # If the old value is false and the new value is true, then writer_identity is + # changed to a unique service account. + # It is an error if the old value is true and the new value is false. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -174,58 +356,82 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_sink(project_name, log_sink_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/{+projectName}/sinks', options) - command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation - command.request_object = log_sink_object - command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation - command.response_class = Google::Apis::LoggingV2beta1::LogSink - command.params['projectName'] = project_name unless project_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates or updates a sink. - # @param [String] sink_name - # The resource name of the sink to update. Example: `"projects/my-project-id/ - # sinks/my-sink-id"`. The updated sink must be provided in the request and have - # the same name that is specified in `sinkName`. If the sink does not exist, it - # is created. - # @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::LogSink] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_sink(sink_name, log_sink_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def update_project_sink(sink_name, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:put, 'v2beta1/{+sinkName}', options) command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.request_object = log_sink_object command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation command.response_class = Google::Apis::LoggingV2beta1::LogSink command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Deletes a sink. + # Creates a sink that exports specified log entries to a destination. The export + # of newly-ingested log entries begins immediately, unless the current time is + # outside the sink's start and end times or the sink's writer_identity is not + # permitted to write to the destination. A sink can export log entries only from + # the resource owning the sink. + # @param [String] parent + # Required. The resource in which to create the sink: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" + # Examples: "projects/my-logging-project", "organizations/123456789". + # @param [Google::Apis::LoggingV2beta1::LogSink] log_sink_object + # @param [Boolean] unique_writer_identity + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_sink(parent, log_sink_object = nil, unique_writer_identity: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/{+parent}/sinks', options) + command.request_representation = Google::Apis::LoggingV2beta1::LogSink::Representation + command.request_object = log_sink_object + command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation + command.response_class = Google::Apis::LoggingV2beta1::LogSink + command.params['parent'] = parent unless parent.nil? + command.query['uniqueWriterIdentity'] = unique_writer_identity unless unique_writer_identity.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a sink. If the sink has a unique writer_identity, then that service + # account is also deleted. # @param [String] sink_name - # The resource name of the sink to delete. Example: `"projects/my-project-id/ - # sinks/my-sink-id"`. + # Required. The full resource name of the sink to delete, including the parent + # resource and the sink identifier: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -253,20 +459,130 @@ module Google execute_or_queue_command(command, &block) end - # Lists logs-based metrics. - # @param [String] project_name - # Required. The resource name of the project containing the metrics. Example: `" - # projects/my-project-id"`. + # Lists sinks. + # @param [String] parent + # Required. The parent resource whose sinks are to be listed: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [String] page_token - # Optional. If the `pageToken` parameter is supplied, then the next page of - # results is retrieved. The `pageToken` parameter must be set to the value of - # the `nextPageToken` from the previous response. The value of `projectName` - # must be the same as in the previous request. + # 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. # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. You must - # check for presence of `nextPageToken` to determine if additional results are - # available, which you can retrieve by passing the `nextPageToken` value as the ` - # pageToken` parameter in the next request. + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::ListSinksResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::ListSinksResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_sinks(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/sinks', options) + command.response_representation = Google::Apis::LoggingV2beta1::ListSinksResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListSinksResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a sink. + # @param [String] sink_name + # Required. The resource name of the sink: + # "projects/[PROJECT_ID]/sinks/[SINK_ID]" + # "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" + # "folders/[FOLDER_ID]/sinks/[SINK_ID]" + # Example: "projects/my-project-id/sinks/my-sink-id". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::LogSink] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::LogSink] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_sink(sink_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+sinkName}', options) + command.response_representation = Google::Apis::LoggingV2beta1::LogSink::Representation + command.response_class = Google::Apis::LoggingV2beta1::LogSink + command.params['sinkName'] = sink_name unless sink_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a logs-based metric. + # @param [String] metric_name + # The resource name of the metric to delete: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+metricName}', options) + command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation + command.response_class = Google::Apis::LoggingV2beta1::Empty + command.params['metricName'] = metric_name unless metric_name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists logs-based metrics. + # @param [String] parent + # Required. The name of the project containing the metrics: + # "projects/[PROJECT_ID]" + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -284,11 +600,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_metrics(project_name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/{+projectName}/metrics', options) + def list_project_metrics(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/metrics', options) command.response_representation = Google::Apis::LoggingV2beta1::ListLogMetricsResponse::Representation command.response_class = Google::Apis::LoggingV2beta1::ListLogMetricsResponse - command.params['projectName'] = project_name unless project_name.nil? + command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? @@ -298,8 +614,8 @@ module Google # Gets a logs-based metric. # @param [String] metric_name - # The resource name of the desired metric. Example: `"projects/my-project-id/ - # metrics/my-metric-id"`. + # The resource name of the desired metric: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -327,46 +643,13 @@ module Google execute_or_queue_command(command, &block) end - # Creates a logs-based metric. - # @param [String] project_name - # The resource name of the project in which to create the metric. Example: `" - # projects/my-project-id"`. The new metric must be provided in the request. - # @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::LogMetric] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_metric(project_name, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/{+projectName}/metrics', options) - command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation - command.request_object = log_metric_object - command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation - command.response_class = Google::Apis::LoggingV2beta1::LogMetric - command.params['projectName'] = project_name unless project_name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - # Creates or updates a logs-based metric. # @param [String] metric_name - # The resource name of the metric to update. Example: `"projects/my-project-id/ - # metrics/my-metric-id"`. The updated metric must be provided in the request and - # have the same identifier that is specified in `metricName`. If the metric does - # not exist, it is created. + # The resource name of the metric to update: + # "projects/[PROJECT_ID]/metrics/[METRIC_ID]" + # The updated metric must be provided in the request and it's name field must be + # the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a + # new metric is created. # @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -397,10 +680,53 @@ module Google execute_or_queue_command(command, &block) end - # Deletes a logs-based metric. - # @param [String] metric_name - # The resource name of the metric to delete. Example: `"projects/my-project-id/ - # metrics/my-metric-id"`. + # Creates a logs-based metric. + # @param [String] parent + # The resource name of the project in which to create the metric: + # "projects/[PROJECT_ID]" + # The new metric must be provided in the request. + # @param [Google::Apis::LoggingV2beta1::LogMetric] log_metric_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::LoggingV2beta1::LogMetric] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::LoggingV2beta1::LogMetric] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_metric(parent, log_metric_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/{+parent}/metrics', options) + command.request_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation + command.request_object = log_metric_object + command.response_representation = Google::Apis::LoggingV2beta1::LogMetric::Representation + command.response_class = Google::Apis::LoggingV2beta1::LogMetric + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] log_name + # Required. The resource name of the log to delete: + # "projects/[PROJECT_ID]/logs/[LOG_ID]" + # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" + # "folders/[FOLDER_ID]/logs/[LOG_ID]" + # [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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -418,88 +744,33 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_metric(metric_name, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v2beta1/{+metricName}', options) + def delete_billing_account_log(log_name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+logName}', options) command.response_representation = Google::Apis::LoggingV2beta1::Empty::Representation command.response_class = Google::Apis::LoggingV2beta1::Empty - command.params['metricName'] = metric_name unless metric_name.nil? + command.params['logName'] = log_name unless log_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Writes log entries to Cloud Logging. All log entries in Cloud Logging are - # written by this method. - # @param [Google::Apis::LoggingV2beta1::WriteLogEntriesRequest] write_log_entries_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::WriteLogEntriesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def write_entry_log_entries(write_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/entries:write', options) - command.request_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesRequest::Representation - command.request_object = write_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2beta1::WriteLogEntriesResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists log entries. Use this method to retrieve log entries from Cloud Logging. - # For ways to export log entries, see [Exporting Logs](/logging/docs/export). - # @param [Google::Apis::LoggingV2beta1::ListLogEntriesRequest] list_log_entries_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::ListLogEntriesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::LoggingV2beta1::ListLogEntriesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_entry_log_entries(list_log_entries_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2beta1/entries:list', options) - command.request_representation = Google::Apis::LoggingV2beta1::ListLogEntriesRequest::Representation - command.request_object = list_log_entries_request_object - command.response_representation = Google::Apis::LoggingV2beta1::ListLogEntriesResponse::Representation - command.response_class = Google::Apis::LoggingV2beta1::ListLogEntriesResponse - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists monitored resource descriptors that are used by Cloud Logging. - # @param [Fixnum] page_size - # Optional. The maximum number of results to return from this request. You must - # check for presence of `nextPageToken` to determine if additional results are - # available, which you can retrieve by passing the `nextPageToken` value as the ` - # pageToken` parameter in the next request. + # Lists the logs in projects, organizations, folders, or billing accounts. Only + # logs that have entries are listed. + # @param [String] parent + # Required. The resource name that owns the logs: + # "projects/[PROJECT_ID]" + # "organizations/[ORGANIZATION_ID]" + # "billingAccounts/[BILLING_ACCOUNT_ID]" + # "folders/[FOLDER_ID]" # @param [String] page_token - # Optional. If the `pageToken` parameter is supplied, then the next page of - # results is retrieved. The `pageToken` parameter must be set to the value of - # the `nextPageToken` from the previous response. + # 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. + # @param [Fixnum] page_size + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -509,20 +780,21 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse] parsed result object + # @yieldparam result [Google::Apis::LoggingV2beta1::ListLogsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse] + # @return [Google::Apis::LoggingV2beta1::ListLogsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_monitored_resource_descriptors(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v2beta1/monitoredResourceDescriptors', options) - command.response_representation = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse::Representation - command.response_class = Google::Apis::LoggingV2beta1::ListMonitoredResourceDescriptorsResponse - command.query['pageSize'] = page_size unless page_size.nil? + def list_billing_account_logs(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/logs', options) + command.response_representation = Google::Apis::LoggingV2beta1::ListLogsResponse::Representation + command.response_class = Google::Apis::LoggingV2beta1::ListLogsResponse + command.params['parent'] = parent unless parent.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/manufacturers_v1.rb b/generated/google/apis/manufacturers_v1.rb new file mode 100644 index 000000000..726007bf8 --- /dev/null +++ b/generated/google/apis/manufacturers_v1.rb @@ -0,0 +1,34 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/manufacturers_v1/service.rb' +require 'google/apis/manufacturers_v1/classes.rb' +require 'google/apis/manufacturers_v1/representations.rb' + +module Google + module Apis + # Manufacturer Center API + # + # Public API for managing Manufacturer Center related data. + # + # @see https://developers.google.com/manufacturers/ + module ManufacturersV1 + VERSION = 'V1' + REVISION = '20170322' + + # Manage your product listings for Google Manufacturer Center + AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter' + end + end +end diff --git a/generated/google/apis/manufacturers_v1/classes.rb b/generated/google/apis/manufacturers_v1/classes.rb new file mode 100644 index 000000000..67f11d967 --- /dev/null +++ b/generated/google/apis/manufacturers_v1/classes.rb @@ -0,0 +1,605 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module ManufacturersV1 + + # The number of products in a single package. For more information, see + # https://support.google.com/manufacturers/answer/6124116#count. + class Count + include Google::Apis::Core::Hashable + + # The numeric value of the number of products in a package. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The unit in which these products are counted. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @unit = args[:unit] if args.key?(:unit) + end + end + + # Product data. + class Product + include Google::Apis::Core::Hashable + + # The target country of the product as a CLDR territory code (for example, + # US). + # @OutputOnly + # Corresponds to the JSON property `targetCountry` + # @return [String] + attr_accessor :target_country + + # The content language of the product as a two-letter ISO 639-1 language code + # (for example, en). + # @OutputOnly + # Corresponds to the JSON property `contentLanguage` + # @return [String] + attr_accessor :content_language + + # Name in the format ``target_country`:`content_language`:`product_id``. + # `target_country` - The target country of the product as a CLDR territory + # code (for example, US). + # `content_language` - The content language of the product as a two-letter + # ISO 639-1 language code (for example, en). + # `product_id` - The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116# + # id. + # @OutputOnly + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Names of the attributes of the product deleted manually via the + # Manufacturer Center UI. + # @OutputOnly + # Corresponds to the JSON property `manuallyDeletedAttributes` + # @return [Array] + attr_accessor :manually_deleted_attributes + + # A server-generated list of issues associated with the product. + # @OutputOnly + # Corresponds to the JSON property `issues` + # @return [Array] + attr_accessor :issues + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `finalAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :final_attributes + + # The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#id. + # @OutputOnly + # Corresponds to the JSON property `productId` + # @return [String] + attr_accessor :product_id + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `uploadedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :uploaded_attributes + + # Parent ID in the format `accounts/`account_id``. + # `account_id` - The ID of the Manufacturer Center account. + # @OutputOnly + # Corresponds to the JSON property `parent` + # @return [String] + attr_accessor :parent + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `manuallyProvidedAttributes` + # @return [Google::Apis::ManufacturersV1::Attributes] + attr_accessor :manually_provided_attributes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_country = args[:target_country] if args.key?(:target_country) + @content_language = args[:content_language] if args.key?(:content_language) + @name = args[:name] if args.key?(:name) + @manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes) + @issues = args[:issues] if args.key?(:issues) + @final_attributes = args[:final_attributes] if args.key?(:final_attributes) + @product_id = args[:product_id] if args.key?(:product_id) + @uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes) + @parent = args[:parent] if args.key?(:parent) + @manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes) + end + end + + # The capacity of a product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#capacity. + class Capacity + include Google::Apis::Core::Hashable + + # The numeric value of the capacity. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The unit of the capacity, i.e., MB, GB, or TB. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @unit = args[:unit] if args.key?(:unit) + end + end + + # + class ListProductsResponse + include Google::Apis::Core::Hashable + + # List of the products. + # Corresponds to the JSON property `products` + # @return [Array] + attr_accessor :products + + # The token for the retrieval of the next page of product statuses. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @products = args[:products] if args.key?(:products) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # A product detail of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productdetail. + class ProductDetail + include Google::Apis::Core::Hashable + + # The value of the attribute. + # Corresponds to the JSON property `attributeValue` + # @return [String] + attr_accessor :attribute_value + + # A short section name that can be reused between multiple product details. + # Corresponds to the JSON property `sectionName` + # @return [String] + attr_accessor :section_name + + # The name of the attribute. + # Corresponds to the JSON property `attributeName` + # @return [String] + attr_accessor :attribute_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_value = args[:attribute_value] if args.key?(:attribute_value) + @section_name = args[:section_name] if args.key?(:section_name) + @attribute_name = args[:attribute_name] if args.key?(:attribute_name) + end + end + + # A feature description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#featuredesc. + class FeatureDescription + include Google::Apis::Core::Hashable + + # A detailed description of the feature. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # An image. + # Corresponds to the JSON property `image` + # @return [Google::Apis::ManufacturersV1::Image] + attr_accessor :image + + # A short description of the feature. + # Corresponds to the JSON property `headline` + # @return [String] + attr_accessor :headline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @image = args[:image] if args.key?(:image) + @headline = args[:headline] if args.key?(:headline) + end + end + + # Product issue. + class Issue + include Google::Apis::Core::Hashable + + # The timestamp when this issue appeared. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # The severity of the issue. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Description of the issue. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The server-generated type of the issue, for example, + # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # If present, the attribute that triggered the issue. For more information + # about attributes, see + # https://support.google.com/manufacturers/answer/6124116. + # Corresponds to the JSON property `attribute` + # @return [String] + attr_accessor :attribute + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @severity = args[:severity] if args.key?(:severity) + @description = args[:description] if args.key?(:description) + @type = args[:type] if args.key?(:type) + @attribute = args[:attribute] if args.key?(:attribute) + end + end + + # A price. + class Price + include Google::Apis::Core::Hashable + + # The numeric value of the price. + # Corresponds to the JSON property `amount` + # @return [String] + attr_accessor :amount + + # The currency in which the price is denoted. + # Corresponds to the JSON property `currency` + # @return [String] + attr_accessor :currency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount = args[:amount] if args.key?(:amount) + @currency = args[:currency] if args.key?(:currency) + end + end + + # An image. + class Image + include Google::Apis::Core::Hashable + + # The type of the image, i.e., crawled or uploaded. + # @OutputOnly + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # 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. + # Corresponds to the JSON property `imageUrl` + # @return [String] + attr_accessor :image_url + + # The status of the image. + # @OutputOnly + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @image_url = args[:image_url] if args.key?(:image_url) + @status = args[:status] if args.key?(:status) + end + end + + # Attributes of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116. + class Attributes + include Google::Apis::Core::Hashable + + # The size system of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#sizesystem. + # Corresponds to the JSON property `sizeSystem` + # @return [String] + attr_accessor :size_system + + # The theme of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#theme. + # Corresponds to the JSON property `theme` + # @return [String] + attr_accessor :theme + + # The pattern of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#pattern. + # Corresponds to the JSON property `pattern` + # @return [String] + attr_accessor :pattern + + # An image. + # Corresponds to the JSON property `imageLink` + # @return [Google::Apis::ManufacturersV1::Image] + attr_accessor :image_link + + # The category of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#producttype. + # Corresponds to the JSON property `productType` + # @return [Array] + attr_accessor :product_type + + # The format of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#format. + # Corresponds to the JSON property `format` + # @return [String] + attr_accessor :format + + # The additional images of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#addlimage. + # Corresponds to the JSON property `additionalImageLink` + # @return [Array] + attr_accessor :additional_image_link + + # The videos of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#video. + # Corresponds to the JSON property `videoLink` + # @return [Array] + attr_accessor :video_link + + # The color of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#color. + # Corresponds to the JSON property `color` + # @return [String] + attr_accessor :color + + # The canonical name of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productname. + # Corresponds to the JSON property `productName` + # @return [String] + attr_accessor :product_name + + # The size type of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#sizetype. + # Corresponds to the JSON property `sizeType` + # @return [String] + attr_accessor :size_type + + # A price. + # Corresponds to the JSON property `suggestedRetailPrice` + # @return [Google::Apis::ManufacturersV1::Price] + attr_accessor :suggested_retail_price + + # The rich format description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#featuredesc. + # Corresponds to the JSON property `featureDescription` + # @return [Array] + attr_accessor :feature_description + + # The size of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#size. + # Corresponds to the JSON property `size` + # @return [String] + attr_accessor :size + + # The title of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#title. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The number of products in a single package. For more information, see + # https://support.google.com/manufacturers/answer/6124116#count. + # Corresponds to the JSON property `count` + # @return [Google::Apis::ManufacturersV1::Count] + attr_accessor :count + + # The brand name of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#brand. + # Corresponds to the JSON property `brand` + # @return [String] + attr_accessor :brand + + # The disclosure date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#disclosure. + # Corresponds to the JSON property `disclosureDate` + # @return [String] + attr_accessor :disclosure_date + + # The material of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#material. + # Corresponds to the JSON property `material` + # @return [String] + attr_accessor :material + + # The scent of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#scent. + # Corresponds to the JSON property `scent` + # @return [String] + attr_accessor :scent + + # The target age group of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#agegroup. + # Corresponds to the JSON property `ageGroup` + # @return [String] + attr_accessor :age_group + + # The details of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productdetail. + # Corresponds to the JSON property `productDetail` + # @return [Array] + attr_accessor :product_detail + + # The flavor of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#flavor. + # Corresponds to the JSON property `flavor` + # @return [String] + attr_accessor :flavor + + # The URL of the detail page of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#productpage. + # Corresponds to the JSON property `productPageUrl` + # @return [String] + attr_accessor :product_page_url + + # The Manufacturer Part Number (MPN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#mpn. + # Corresponds to the JSON property `mpn` + # @return [String] + attr_accessor :mpn + + # The release date of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#release. + # Corresponds to the JSON property `releaseDate` + # @return [String] + attr_accessor :release_date + + # The Global Trade Item Number (GTIN) of the product. For more information, + # see https://support.google.com/manufacturers/answer/6124116#gtin. + # Corresponds to the JSON property `gtin` + # @return [Array] + attr_accessor :gtin + + # The item group id of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#itemgroupid. + # Corresponds to the JSON property `itemGroupId` + # @return [String] + attr_accessor :item_group_id + + # The name of the group of products related to the product. For more + # information, see + # https://support.google.com/manufacturers/answer/6124116#productline. + # Corresponds to the JSON property `productLine` + # @return [String] + attr_accessor :product_line + + # The capacity of a product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#capacity. + # Corresponds to the JSON property `capacity` + # @return [Google::Apis::ManufacturersV1::Capacity] + attr_accessor :capacity + + # The description of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#description. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The target gender of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116#gender. + # Corresponds to the JSON property `gender` + # @return [String] + attr_accessor :gender + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @size_system = args[:size_system] if args.key?(:size_system) + @theme = args[:theme] if args.key?(:theme) + @pattern = args[:pattern] if args.key?(:pattern) + @image_link = args[:image_link] if args.key?(:image_link) + @product_type = args[:product_type] if args.key?(:product_type) + @format = args[:format] if args.key?(:format) + @additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link) + @video_link = args[:video_link] if args.key?(:video_link) + @color = args[:color] if args.key?(:color) + @product_name = args[:product_name] if args.key?(:product_name) + @size_type = args[:size_type] if args.key?(:size_type) + @suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price) + @feature_description = args[:feature_description] if args.key?(:feature_description) + @size = args[:size] if args.key?(:size) + @title = args[:title] if args.key?(:title) + @count = args[:count] if args.key?(:count) + @brand = args[:brand] if args.key?(:brand) + @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) + @material = args[:material] if args.key?(:material) + @scent = args[:scent] if args.key?(:scent) + @age_group = args[:age_group] if args.key?(:age_group) + @product_detail = args[:product_detail] if args.key?(:product_detail) + @flavor = args[:flavor] if args.key?(:flavor) + @product_page_url = args[:product_page_url] if args.key?(:product_page_url) + @mpn = args[:mpn] if args.key?(:mpn) + @release_date = args[:release_date] if args.key?(:release_date) + @gtin = args[:gtin] if args.key?(:gtin) + @item_group_id = args[:item_group_id] if args.key?(:item_group_id) + @product_line = args[:product_line] if args.key?(:product_line) + @capacity = args[:capacity] if args.key?(:capacity) + @description = args[:description] if args.key?(:description) + @gender = args[:gender] if args.key?(:gender) + end + end + end + end +end diff --git a/generated/google/apis/manufacturers_v1/representations.rb b/generated/google/apis/manufacturers_v1/representations.rb new file mode 100644 index 000000000..85d9cba61 --- /dev/null +++ b/generated/google/apis/manufacturers_v1/representations.rb @@ -0,0 +1,223 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module ManufacturersV1 + + class Count + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Product + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Capacity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListProductsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProductDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FeatureDescription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Issue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Price + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Count + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :unit, as: 'unit' + end + end + + class Product + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_country, as: 'targetCountry' + property :content_language, as: 'contentLanguage' + property :name, as: 'name' + collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes' + collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation + + property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :product_id, as: 'productId' + property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + property :parent, as: 'parent' + property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation + + end + end + + class Capacity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :unit, as: 'unit' + end + end + + class ListProductsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :products, as: 'products', class: Google::Apis::ManufacturersV1::Product, decorator: Google::Apis::ManufacturersV1::Product::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class ProductDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attribute_value, as: 'attributeValue' + property :section_name, as: 'sectionName' + property :attribute_name, as: 'attributeName' + end + end + + class FeatureDescription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :image, as: 'image', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + property :headline, as: 'headline' + end + end + + class Issue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :timestamp, as: 'timestamp' + property :severity, as: 'severity' + property :description, as: 'description' + property :type, as: 'type' + property :attribute, as: 'attribute' + end + end + + class Price + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :amount, as: 'amount' + property :currency, as: 'currency' + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :image_url, as: 'imageUrl' + property :status, as: 'status' + end + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :size_system, as: 'sizeSystem' + property :theme, as: 'theme' + property :pattern, as: 'pattern' + property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + collection :product_type, as: 'productType' + property :format, as: 'format' + collection :additional_image_link, as: 'additionalImageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation + + collection :video_link, as: 'videoLink' + property :color, as: 'color' + property :product_name, as: 'productName' + property :size_type, as: 'sizeType' + property :suggested_retail_price, as: 'suggestedRetailPrice', class: Google::Apis::ManufacturersV1::Price, decorator: Google::Apis::ManufacturersV1::Price::Representation + + collection :feature_description, as: 'featureDescription', class: Google::Apis::ManufacturersV1::FeatureDescription, decorator: Google::Apis::ManufacturersV1::FeatureDescription::Representation + + property :size, as: 'size' + property :title, as: 'title' + property :count, as: 'count', class: Google::Apis::ManufacturersV1::Count, decorator: Google::Apis::ManufacturersV1::Count::Representation + + property :brand, as: 'brand' + property :disclosure_date, as: 'disclosureDate' + property :material, as: 'material' + property :scent, as: 'scent' + property :age_group, as: 'ageGroup' + collection :product_detail, as: 'productDetail', class: Google::Apis::ManufacturersV1::ProductDetail, decorator: Google::Apis::ManufacturersV1::ProductDetail::Representation + + property :flavor, as: 'flavor' + property :product_page_url, as: 'productPageUrl' + property :mpn, as: 'mpn' + property :release_date, as: 'releaseDate' + collection :gtin, as: 'gtin' + property :item_group_id, as: 'itemGroupId' + property :product_line, as: 'productLine' + property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation + + property :description, as: 'description' + property :gender, as: 'gender' + end + end + end + end +end diff --git a/generated/google/apis/manufacturers_v1/service.rb b/generated/google/apis/manufacturers_v1/service.rb new file mode 100644 index 000000000..3e2cce9d0 --- /dev/null +++ b/generated/google/apis/manufacturers_v1/service.rb @@ -0,0 +1,138 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module ManufacturersV1 + # Manufacturer Center API + # + # Public API for managing Manufacturer Center related data. + # + # @example + # require 'google/apis/manufacturers_v1' + # + # Manufacturers = Google::Apis::ManufacturersV1 # Alias the module + # service = Manufacturers::ManufacturerCenterService.new + # + # @see https://developers.google.com/manufacturers/ + class ManufacturerCenterService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://manufacturers.googleapis.com/', '') + end + + # Lists all the products in a Manufacturer Center account. + # @param [String] parent + # Parent ID in the format `accounts/`account_id``. + # `account_id` - The ID of the Manufacturer Center account. + # @param [String] page_token + # The token returned by the previous request. + # @param [Fixnum] page_size + # Maximum number of product statuses to return in the response, used for + # paging. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ManufacturersV1::ListProductsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ManufacturersV1::ListProductsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_account_products(parent, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/products', options) + command.response_representation = Google::Apis::ManufacturersV1::ListProductsResponse::Representation + command.response_class = Google::Apis::ManufacturersV1::ListProductsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the product from a Manufacturer Center account, including product + # issues. + # @param [String] parent + # Parent ID in the format `accounts/`account_id``. + # `account_id` - The ID of the Manufacturer Center account. + # @param [String] name + # Name in the format ``target_country`:`content_language`:`product_id``. + # `target_country` - The target country of the product as a CLDR territory + # code (for example, US). + # `content_language` - The content language of the product as a two-letter + # ISO 639-1 language code (for example, en). + # `product_id` - The ID of the product. For more information, see + # https://support.google.com/manufacturers/answer/6124116# + # id. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ManufacturersV1::Product] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ManufacturersV1::Product] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_account_product(parent, name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+parent}/products/{+name}', options) + command.response_representation = Google::Apis::ManufacturersV1::Product::Representation + command.response_class = Google::Apis::ManufacturersV1::Product + command.params['parent'] = parent unless parent.nil? + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/mirror_v1.rb b/generated/google/apis/mirror_v1.rb index 8b85aaac8..814a02010 100644 --- a/generated/google/apis/mirror_v1.rb +++ b/generated/google/apis/mirror_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/glass module MirrorV1 VERSION = 'V1' - REVISION = '20160616' + REVISION = '20170314' # View your location AUTH_GLASS_LOCATION = 'https://www.googleapis.com/auth/glass.location' diff --git a/generated/google/apis/monitoring_v3.rb b/generated/google/apis/monitoring_v3.rb index e4fd405f2..846887a88 100644 --- a/generated/google/apis/monitoring_v3.rb +++ b/generated/google/apis/monitoring_v3.rb @@ -18,7 +18,7 @@ require 'google/apis/monitoring_v3/representations.rb' module Google module Apis - # Google Monitoring API + # Stackdriver Monitoring API # # Manages your Stackdriver Monitoring data and configurations. Most projects # must be associated with a Stackdriver account, with a few exceptions as noted @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/monitoring/api/ module MonitoringV3 VERSION = 'V3' - REVISION = '20160816' + REVISION = '20170320' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' @@ -35,11 +35,11 @@ module Google # View monitoring data for all of your Google Cloud and third-party projects AUTH_MONITORING_READ = 'https://www.googleapis.com/auth/monitoring.read' - # Publish metric data to your Google Cloud projects - AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write' - # View and write monitoring data for all of your Google and third-party Cloud and API projects AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring' + + # Publish metric data to your Google Cloud projects + AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write' end end end diff --git a/generated/google/apis/monitoring_v3/classes.rb b/generated/google/apis/monitoring_v3/classes.rb index 9180fce4c..6154ed964 100644 --- a/generated/google/apis/monitoring_v3/classes.rb +++ b/generated/google/apis/monitoring_v3/classes.rb @@ -22,22 +22,51 @@ module Google module Apis module MonitoringV3 - # A specific metric identified by specifying values for all of the labels of a - # MetricDescriptor. - class Metric + # 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. + class BucketOptions include Google::Apis::Core::Hashable - # The set of labels that uniquely identify a metric. To specify a metric, all - # labels enumerated in the MetricDescriptor must be assigned values. - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels + # 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)). + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::MonitoringV3::Exponential] + attr_accessor :exponential_buckets - # An existing metric type, see google.api.MetricDescriptor. For example, compute. - # googleapis.com/instance/cpu/usage_time. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + # 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)) + # . + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::MonitoringV3::Linear] + attr_accessor :linear_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. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::MonitoringV3::Explicit] + attr_accessor :explicit_buckets def initialize(**args) update!(**args) @@ -45,193 +74,9 @@ module Google # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) - @type = args[:type] if args.key?(:type) - end - end - - # The ListGroupMembers response. - class ListGroupMembersResponse - include Google::Apis::Core::Hashable - - # A set of monitored resources in the group. - # Corresponds to the JSON property `members` - # @return [Array] - attr_accessor :members - - # 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. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # The total number of elements matching this request. - # Corresponds to the JSON property `totalSize` - # @return [Fixnum] - attr_accessor :total_size - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @members = args[:members] if args.key?(:members) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_size = args[:total_size] if args.key?(:total_size) - end - end - - # 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. - class TimeInterval - include Google::Apis::Core::Hashable - - # Required. The end of the time interval. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # 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. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - - # 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& - # quot;. 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. - class Group - include Google::Apis::Core::Hashable - - # A user-assigned name for this group, used only for display purposes. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The name of the group's parent, if it has one. The format is "projects/` - # project_id_or_number`/groups/`group_id`". For groups with no parent, - # parentName is the empty string, "". - # Corresponds to the JSON property `parentName` - # @return [String] - attr_accessor :parent_name - - # If true, the members of this group are considered to be a cluster. The system - # can perform additional analysis on groups that are clusters. - # Corresponds to the JSON property `isCluster` - # @return [Boolean] - attr_accessor :is_cluster - alias_method :is_cluster?, :is_cluster - - # The filter used to determine which monitored resources belong to this group. - # Corresponds to the JSON property `filter` - # @return [String] - attr_accessor :filter - - # 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. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @parent_name = args[:parent_name] if args.key?(:parent_name) - @is_cluster = args[:is_cluster] if args.key?(:is_cluster) - @filter = args[:filter] if args.key?(:filter) - @name = args[:name] if args.key?(:name) - end - end - - # The ListTimeSeries response. - class ListTimeSeriesResponse - include Google::Apis::Core::Hashable - - # One or more time series that match the filter included in the request. - # Corresponds to the JSON property `timeSeries` - # @return [Array] - attr_accessor :time_series - - # 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. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @time_series = args[:time_series] if args.key?(:time_series) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # A single data point in a time series. - class Point - include Google::Apis::Core::Hashable - - # A single strongly-typed value. - # Corresponds to the JSON property `value` - # @return [Google::Apis::MonitoringV3::TypedValue] - attr_accessor :value - - # 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. - # Corresponds to the JSON property `interval` - # @return [Google::Apis::MonitoringV3::TimeInterval] - attr_accessor :interval - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @interval = args[:interval] if args.key?(:interval) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) end end @@ -239,17 +84,17 @@ module Google class CollectdValue include Google::Apis::Core::Hashable + # The data source for the collectd value. For example there are two data sources + # for network measurements: "rx" and "tx". + # Corresponds to the JSON property `dataSourceName` + # @return [String] + attr_accessor :data_source_name + # A single strongly-typed value. # Corresponds to the JSON property `value` # @return [Google::Apis::MonitoringV3::TypedValue] attr_accessor :value - # The data source for the collectd value. For example there are two data sources - # for network measurements: "rx" and "tx". - # Corresponds to the JSON property `dataSourceName` - # @return [String] - attr_accessor :data_source_name - # The type of measurement. # Corresponds to the JSON property `dataSourceType` # @return [String] @@ -261,61 +106,22 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) @data_source_name = args[:data_source_name] if args.key?(:data_source_name) + @value = args[:value] if args.key?(:value) @data_source_type = args[:data_source_type] if args.key?(:data_source_type) end end - # 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. - class TimeSeries + # SourceContext represents information about the source of a protobuf element, + # like the file in which it is defined. + class SourceContext include Google::Apis::Core::Hashable - # A specific metric identified by specifying values for all of the labels of a - # MetricDescriptor. - # Corresponds to the JSON property `metric` - # @return [Google::Apis::MonitoringV3::Metric] - attr_accessor :metric - - # The data points of this time series. The order of the points is specified when - # you retrieve the time series. - # Corresponds to the JSON property `points` - # @return [Array] - attr_accessor :points - - # Output only. The value type of the time series. This can be different than the - # value type of the metric object if this time series is an alignment or - # reduction of other time series. This field is ignored when writing data to a - # time series. - # Corresponds to the JSON property `valueType` + # The path-qualified name of the .proto file that contained the associated + # protobuf element. For example: "google/protobuf/source_context.proto". + # Corresponds to the JSON property `fileName` # @return [String] - attr_accessor :value_type - - # 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": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::MonitoringV3::MonitoredResource] - attr_accessor :resource - - # Output only. The metric kind of the time series. This can be different than - # the metric kind of the metric object if this time series is an alignment or - # reduction of other time series. This field is ignored when writing data to a - # time series. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind + attr_accessor :file_name def initialize(**args) update!(**args) @@ -323,18 +129,34 @@ module Google # Update properties of this object def update!(**args) - @metric = args[:metric] if args.key?(:metric) - @points = args[:points] if args.key?(:points) - @value_type = args[:value_type] if args.key?(:value_type) - @resource = args[:resource] if args.key?(:resource) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @file_name = args[:file_name] if args.key?(:file_name) end end - # Defines a metric type and its schema. + # 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. class MetricDescriptor include Google::Apis::Core::Hashable + # Whether the measurement is an integer, a floating-point number, etc. Some + # combinations of metric_kind and value_type might not be supported. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type + + # Whether the metric records instantaneous values, changes to a value, etc. Some + # combinations of metric_kind and value_type might not be supported. + # Corresponds to the JSON property `metricKind` + # @return [String] + attr_accessor :metric_kind + + # A concise name for the metric, which can be displayed in user interfaces. Use + # sentence case without an ending period, for example "Request count". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + # A detailed description of the metric, which can be used in documentation. # Corresponds to the JSON property `description` # @return [String] @@ -374,13 +196,12 @@ module Google # / division (as an infix operator, e.g. 1/s). # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is # as follows: - # Expression = Component ` "." Component ` ` "/" Component ` - # ; + # Expression = Component ` "." Component ` ` "/" Component ` ; # Component = [ PREFIX ] UNIT [ Annotation ] # | Annotation - # | "1" + # | "1" # ; - # Annotation = "`" NAME "`" ; + # Annotation = "`" NAME "`" ; # Notes: # Annotation 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/ @@ -392,47 +213,31 @@ module Google attr_accessor :unit # The set of labels that can be used to describe a specific instance of this - # metric type. For example, the compute.googleapis.com/instance/network/ - # received_bytes_count metric type has a label, loadbalanced, that specifies - # whether the traffic was received through a load balanced IP address. + # 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. # Corresponds to the JSON property `labels` # @return [Array] attr_accessor :labels - # Whether the metric records instantaneous values, changes to a value, etc. - # Corresponds to the JSON property `metricKind` - # @return [String] - attr_accessor :metric_kind - - # Whether the measurement is an integer, a floating-point number, etc. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # A concise name for the metric, which can be displayed in user interfaces. Use - # sentence case without an ending period, for example "Request count". - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Resource name. The format of the name may vary between different - # implementations. For examples: - # projects/`project_id`/metricDescriptors/`type=**` - # metricDescriptors/`type=**` + # 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: + # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice% + # 2Fpaid%2Famount" # Corresponds to the JSON property `name` # @return [String] attr_accessor :name - # The metric type including a DNS name prefix, for example "compute. - # googleapis.com/instance/cpu/utilization". Metric types should use a - # natural hierarchical grouping such as the following: - # compute.googleapis.com/instance/cpu/utilization - # compute.googleapis.com/instance/disk/read_ops_count - # compute.googleapis.com/instance/network/received_bytes_count - # Note that if the metric type changes, the monitoring data will be discontinued, - # and anything depends on it will break, such as monitoring dashboards, - # alerting rules and quota limits. Therefore, once a metric has been published, - # its type should be immutable. + # 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: + # "custom.googleapis.com/invoice/paid/amount" + # "appengine.googleapis.com/http/server/response_latencies" # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -443,40 +248,30 @@ module Google # Update properties of this object def update!(**args) + @value_type = args[:value_type] if args.key?(:value_type) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @display_name = args[:display_name] if args.key?(:display_name) @description = args[:description] if args.key?(:description) @unit = args[:unit] if args.key?(:unit) @labels = args[:labels] if args.key?(:labels) - @metric_kind = args[:metric_kind] if args.key?(:metric_kind) - @value_type = args[:value_type] if args.key?(:value_type) - @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end end - # 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)). - class Exponential + # The range of the population values. + class Range include Google::Apis::Core::Hashable - # Must be greater than 1. - # Corresponds to the JSON property `growthFactor` + # The minimum of the population values. + # Corresponds to the JSON property `min` # @return [Float] - attr_accessor :growth_factor + attr_accessor :min - # Must be greater than 0. - # Corresponds to the JSON property `scale` + # The maximum of the population values. + # Corresponds to the JSON property `max` # @return [Float] - attr_accessor :scale - - # Must be greater than 0. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets + attr_accessor :max def initialize(**args) update!(**args) @@ -484,144 +279,15 @@ module Google # Update properties of this object def update!(**args) - @growth_factor = args[:growth_factor] if args.key?(:growth_factor) - @scale = args[:scale] if args.key?(:scale) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @min = args[:min] if args.key?(:min) + @max = args[:max] if args.key?(:max) end end - # 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. - class Explicit + # The ListGroups response. + class ListGroupsResponse include Google::Apis::Core::Hashable - # The values must be monotonically increasing. - # Corresponds to the JSON property `bounds` - # @return [Array] - attr_accessor :bounds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bounds = args[:bounds] if args.key?(:bounds) - end - end - - # 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)). - class Linear - include Google::Apis::Core::Hashable - - # Must be greater than 0. - # Corresponds to the JSON property `width` - # @return [Float] - attr_accessor :width - - # Lower bound of the first bucket. - # Corresponds to the JSON property `offset` - # @return [Float] - attr_accessor :offset - - # Must be greater than 0. - # Corresponds to the JSON property `numFiniteBuckets` - # @return [Fixnum] - attr_accessor :num_finite_buckets - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @width = args[:width] if args.key?(:width) - @offset = args[:offset] if args.key?(:offset) - @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) - end - end - - # A collection of data points sent from a collectd-based plugin. See the - # collectd documentation for more information. - class CollectdPayload - include Google::Apis::Core::Hashable - - # The end time of the interval. - # Corresponds to the JSON property `endTime` - # @return [String] - attr_accessor :end_time - - # The measurement metadata. Example: "process_id" -> 12345 - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # The measured values during this time interval. Each value must have a - # different dataSourceName. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # The instance name of the plugin Example: "hdcl". - # Corresponds to the JSON property `pluginInstance` - # @return [String] - attr_accessor :plugin_instance - - # The start time of the interval. - # Corresponds to the JSON property `startTime` - # @return [String] - attr_accessor :start_time - - # The measurement type instance. Example: "used". - # Corresponds to the JSON property `typeInstance` - # @return [String] - attr_accessor :type_instance - - # The measurement type. Example: "memory". - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The name of the plugin. Example: "disk". - # Corresponds to the JSON property `plugin` - # @return [String] - attr_accessor :plugin - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @metadata = args[:metadata] if args.key?(:metadata) - @values = args[:values] if args.key?(:values) - @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) - @start_time = args[:start_time] if args.key?(:start_time) - @type_instance = args[:type_instance] if args.key?(:type_instance) - @type = args[:type] if args.key?(:type) - @plugin = args[:plugin] if args.key?(:plugin) - end - end - - # The ListMetricDescriptors response. - class ListMetricDescriptorsResponse - include Google::Apis::Core::Hashable - - # The metric descriptors that are available to the project and that match the - # value of filter, if present. - # Corresponds to the JSON property `metricDescriptors` - # @return [Array] - attr_accessor :metric_descriptors - # 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. @@ -629,88 +295,42 @@ module Google # @return [String] attr_accessor :next_page_token + # The groups that match the specified filters. + # Corresponds to the JSON property `group` + # @return [Array] + attr_accessor :group + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @group = args[:group] if args.key?(:group) end end - # 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. - class Distribution + # The ListGroupMembers response. + class ListGroupMembersResponse include Google::Apis::Core::Hashable - # 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. - # Corresponds to the JSON property `bucketCounts` - # @return [Array] - attr_accessor :bucket_counts - - # 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_boundaries is not given, then no - # bucket_counts may be given. - # Corresponds to the JSON property `bucketOptions` - # @return [Google::Apis::MonitoringV3::BucketOptions] - attr_accessor :bucket_options - - # The number of values in the population. Must be non-negative. - # Corresponds to the JSON property `count` + # 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. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :count + attr_accessor :next_page_token - # The sum of squared deviations from the mean of the values in the population. - # For values x_i this is: - # Sum[i=1..n]((x_i - mean)^2) - # Knuth, "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. - # Corresponds to the JSON property `sumOfSquaredDeviation` - # @return [Float] - attr_accessor :sum_of_squared_deviation + # The total number of elements matching this request. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size - # The arithmetic mean of the values in the population. If count is zero then - # this field must be zero. - # Corresponds to the JSON property `mean` - # @return [Float] - attr_accessor :mean - - # The range of the population values. - # Corresponds to the JSON property `range` - # @return [Google::Apis::MonitoringV3::Range] - attr_accessor :range + # A set of monitored resources in the group. + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :members def initialize(**args) update!(**args) @@ -718,43 +338,44 @@ module Google # Update properties of this object def update!(**args) - @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) - @bucket_options = args[:bucket_options] if args.key?(:bucket_options) - @count = args[:count] if args.key?(:count) - @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) - @mean = args[:mean] if args.key?(:mean) - @range = args[:range] if args.key?(:range) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @total_size = args[:total_size] if args.key?(:total_size) + @members = args[:members] if args.key?(:members) end end - # 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": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - class MonitoredResource + # The CreateCollectdTimeSeries request. + class CreateCollectdTimeSeriesRequest include Google::Apis::Core::Hashable - # 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". - # Corresponds to the JSON property `labels` - # @return [Hash] - attr_accessor :labels + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::MonitoringV3::MonitoredResource] + attr_accessor :resource - # 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". - # Corresponds to the JSON property `type` + # 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. + # Corresponds to the JSON property `collectdPayloads` + # @return [Array] + attr_accessor :collectd_payloads + + # The version of collectd that collected the data. Example: "5.3.0-192.el6". + # Corresponds to the JSON property `collectdVersion` # @return [String] - attr_accessor :type + attr_accessor :collectd_version def initialize(**args) update!(**args) @@ -762,158 +383,9 @@ module Google # Update properties of this object def update!(**args) - @labels = args[:labels] if args.key?(:labels) - @type = args[:type] if args.key?(:type) - end - end - - # A description of a label. - class LabelDescriptor - include Google::Apis::Core::Hashable - - # A human-readable description for the label. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The type of data that can be assigned to the label. - # Corresponds to the JSON property `valueType` - # @return [String] - attr_accessor :value_type - - # The label key. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @description = args[:description] if args.key?(:description) - @value_type = args[:value_type] if args.key?(:value_type) - @key = args[:key] if args.key?(:key) - end - end - - # 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. - class MonitoredResourceDescriptor - include Google::Apis::Core::Hashable - - # 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& - # quot;. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Optional. A detailed description of the monitored resource type that might be - # used in documentation. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :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& - # quot;. - # Corresponds to the JSON property `labels` - # @return [Array] - attr_accessor :labels - - # 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. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # 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`". - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @description = args[:description] if args.key?(:description) - @labels = args[:labels] if args.key?(:labels) - @type = args[:type] if args.key?(:type) - @name = args[:name] if args.key?(:name) - end - end - - # A single strongly-typed value. - class TypedValue - include Google::Apis::Core::Hashable - - # A Boolean value: true or false. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # A variable-length string value. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - # A 64-bit integer. Its range is approximately ±9.2x1018. - # Corresponds to the JSON property `int64Value` - # @return [String] - attr_accessor :int64_value - - # A 64-bit double-precision floating-point number. Its magnitude is - # approximately ±10±300 and it has 16 significant - # digits of precision. - # Corresponds to the JSON property `doubleValue` - # @return [Float] - attr_accessor :double_value - - # 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. - # Corresponds to the JSON property `distributionValue` - # @return [Google::Apis::MonitoringV3::Distribution] - attr_accessor :distribution_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @string_value = args[:string_value] if args.key?(:string_value) - @int64_value = args[:int64_value] if args.key?(:int64_value) - @double_value = args[:double_value] if args.key?(:double_value) - @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @resource = args[:resource] if args.key?(:resource) + @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads) + @collectd_version = args[:collectd_version] if args.key?(:collectd_version) end end @@ -945,62 +417,64 @@ module Google end end - # A single field of a message type. - class Field + # 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. + class TimeSeries include Google::Apis::Core::Hashable - # The string value of the default value of this field. Proto2 syntax only. - # Corresponds to the JSON property `defaultValue` + # 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. + # Corresponds to the JSON property `valueType` # @return [String] - attr_accessor :default_value + attr_accessor :value_type - # The field JSON name. - # Corresponds to the JSON property `jsonName` + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + # Corresponds to the JSON property `resource` + # @return [Google::Apis::MonitoringV3::MonitoredResource] + attr_accessor :resource + + # 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. + # Corresponds to the JSON property `metricKind` # @return [String] - attr_accessor :json_name + attr_accessor :metric_kind - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options + # A specific metric, identified by specifying values for all of the labels of a + # MetricDescriptor. + # Corresponds to the JSON property `metric` + # @return [Google::Apis::MonitoringV3::Metric] + attr_accessor :metric - # 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. - # Corresponds to the JSON property `oneofIndex` - # @return [Fixnum] - attr_accessor :oneof_index - - # The field cardinality. - # Corresponds to the JSON property `cardinality` - # @return [String] - attr_accessor :cardinality - - # The field type URL, without the scheme, for message or enumeration types. - # Example: "type.googleapis.com/google.protobuf.Timestamp". - # Corresponds to the JSON property `typeUrl` - # @return [String] - attr_accessor :type_url - - # The field name. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Whether to use alternative packed wire representation. - # Corresponds to the JSON property `packed` - # @return [Boolean] - attr_accessor :packed - alias_method :packed?, :packed - - # The field number. - # Corresponds to the JSON property `number` - # @return [Fixnum] - attr_accessor :number - - # The field type. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind + # 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. + # Corresponds to the JSON property `points` + # @return [Array] + attr_accessor :points def initialize(**args) update!(**args) @@ -1008,16 +482,403 @@ module Google # Update properties of this object def update!(**args) - @default_value = args[:default_value] if args.key?(:default_value) - @json_name = args[:json_name] if args.key?(:json_name) - @options = args[:options] if args.key?(:options) - @oneof_index = args[:oneof_index] if args.key?(:oneof_index) - @cardinality = args[:cardinality] if args.key?(:cardinality) - @type_url = args[:type_url] if args.key?(:type_url) + @value_type = args[:value_type] if args.key?(:value_type) + @resource = args[:resource] if args.key?(:resource) + @metric_kind = args[:metric_kind] if args.key?(:metric_kind) + @metric = args[:metric] if args.key?(:metric) + @points = args[:points] if args.key?(:points) + end + end + + # The CreateTimeSeries request. + class CreateTimeSeriesRequest + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `timeSeries` + # @return [Array] + attr_accessor :time_series + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @time_series = args[:time_series] if args.key?(:time_series) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `count` + # @return [String] + attr_accessor :count + + # The arithmetic mean of the values in the population. If count is zero then + # this field must be zero. + # Corresponds to the JSON property `mean` + # @return [Float] + attr_accessor :mean + + # 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. + # Corresponds to the JSON property `bucketCounts` + # @return [Array] + attr_accessor :bucket_counts + + # 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. + # Corresponds to the JSON property `bucketOptions` + # @return [Google::Apis::MonitoringV3::BucketOptions] + attr_accessor :bucket_options + + # The sum of squared deviations from the mean of the values in the population. + # For values x_i this is: + # Sum[i=1..n]((x_i - mean)^2) + # Knuth, "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. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + + # The range of the population values. + # Corresponds to the JSON property `range` + # @return [Google::Apis::MonitoringV3::Range] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @count = args[:count] if args.key?(:count) + @mean = args[:mean] if args.key?(:mean) + @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) + @bucket_options = args[:bucket_options] if args.key?(:bucket_options) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) + @range = args[:range] if args.key?(:range) + end + end + + # 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": + # ` "type": "gce_instance", + # "labels": ` "instance_id": "12345678901234", + # "zone": "us-central1-a" `` + class MonitoredResource + include Google::Apis::Core::Hashable + + # 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". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # 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". + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @labels = args[:labels] if args.key?(:labels) + end + end + + # The ListMetricDescriptors response. + class ListMetricDescriptorsResponse + include Google::Apis::Core::Hashable + + # The metric descriptors that are available to the project and that match the + # value of filter, if present. + # Corresponds to the JSON property `metricDescriptors` + # @return [Array] + attr_accessor :metric_descriptors + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # 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. + class MonitoredResourceDescriptor + include Google::Apis::Core::Hashable + + # 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". + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + + # 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`". + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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". + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. A detailed description of the monitored resource type that might be + # used in documentation. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) - @packed = args[:packed] if args.key?(:packed) - @number = args[:number] if args.key?(:number) - @kind = args[:kind] if args.key?(:kind) + @display_name = args[:display_name] if args.key?(:display_name) + @description = args[:description] if args.key?(:description) + @type = args[:type] if args.key?(:type) + end + end + + # A single strongly-typed value. + class TypedValue + include Google::Apis::Core::Hashable + + # A 64-bit integer. Its range is approximately ±9.2x1018. + # Corresponds to the JSON property `int64Value` + # @return [String] + attr_accessor :int64_value + + # 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. + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::MonitoringV3::Distribution] + attr_accessor :distribution_value + + # A Boolean value: true or false. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A variable-length string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # A 64-bit double-precision floating-point number. Its magnitude is + # approximately ±10±300 and it has 16 significant + # digits of precision. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @string_value = args[:string_value] if args.key?(:string_value) + @double_value = args[:double_value] if args.key?(:double_value) + end + end + + # A collection of data points sent from a collectd-based plugin. See the + # collectd documentation for more information. + class CollectdPayload + include Google::Apis::Core::Hashable + + # The name of the plugin. Example: "disk". + # Corresponds to the JSON property `plugin` + # @return [String] + attr_accessor :plugin + + # The instance name of the plugin Example: "hdcl". + # Corresponds to the JSON property `pluginInstance` + # @return [String] + attr_accessor :plugin_instance + + # The end time of the interval. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The start time of the interval. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The measured values during this time interval. Each value must have a + # different dataSourceName. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + # The measurement type instance. Example: "used". + # Corresponds to the JSON property `typeInstance` + # @return [String] + attr_accessor :type_instance + + # The measurement metadata. Example: "process_id" -> 12345 + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The measurement type. Example: "memory". + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @plugin = args[:plugin] if args.key?(:plugin) + @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + @values = args[:values] if args.key?(:values) + @type_instance = args[:type_instance] if args.key?(:type_instance) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Must be greater than 0. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + + # Lower bound of the first bucket. + # Corresponds to the JSON property `offset` + # @return [Float] + attr_accessor :offset + + # Must be greater than 0. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @offset = args[:offset] if args.key?(:offset) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) end end @@ -1026,12 +887,18 @@ module Google class Option include Google::Apis::Core::Hashable - # The option's value. For example, "com.google.protobuf". + # 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. # Corresponds to the JSON property `value` # @return [Hash] attr_accessor :value - # The option's name. For example, "java_package". + # 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". # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -1066,17 +933,22 @@ module Google end end - # SourceContext represents information about the source of a protobuf element, - # like the file in which it is defined. - class SourceContext + # 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. + class TimeInterval include Google::Apis::Core::Hashable - # The path-qualified name of the .proto file that contained the associated - # protobuf element. For example: "google/protobuf/source_context.proto" - # . - # Corresponds to the JSON property `fileName` + # Required. The end of the time interval. + # Corresponds to the JSON property `endTime` # @return [String] - attr_accessor :file_name + attr_accessor :end_time + + # 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. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time def initialize(**args) update!(**args) @@ -1084,23 +956,24 @@ module Google # Update properties of this object def update!(**args) - @file_name = args[:file_name] if args.key?(:file_name) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) end end - # The range of the population values. - class Range + # 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 include Google::Apis::Core::Hashable - # The maximum of the population values. - # Corresponds to the JSON property `max` - # @return [Float] - attr_accessor :max - - # The minimum of the population values. - # Corresponds to the JSON property `min` - # @return [Float] - attr_accessor :min + # The values must be monotonically increasing. + # Corresponds to the JSON property `bounds` + # @return [Array] + attr_accessor :bounds def initialize(**args) update!(**args) @@ -1108,20 +981,189 @@ module Google # Update properties of this object def update!(**args) - @max = args[:max] if args.key?(:max) - @min = args[:min] if args.key?(:min) + @bounds = args[:bounds] if args.key?(:bounds) end end - # The CreateTimeSeries request. - class CreateTimeSeriesRequest + # 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 include Google::Apis::Core::Hashable - # 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. + # Must be greater than 0. + # Corresponds to the JSON property `scale` + # @return [Float] + attr_accessor :scale + + # Must be greater than 0. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # Must be greater than 1. + # Corresponds to the JSON property `growthFactor` + # @return [Float] + attr_accessor :growth_factor + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @scale = args[:scale] if args.key?(:scale) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @growth_factor = args[:growth_factor] if args.key?(:growth_factor) + end + end + + # A single data point in a time series. + class Point + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `interval` + # @return [Google::Apis::MonitoringV3::TimeInterval] + attr_accessor :interval + + # A single strongly-typed value. + # Corresponds to the JSON property `value` + # @return [Google::Apis::MonitoringV3::TypedValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @interval = args[:interval] if args.key?(:interval) + @value = args[:value] if args.key?(:value) + end + end + + # A specific metric, identified by specifying values for all of the labels of a + # MetricDescriptor. + class Metric + include Google::Apis::Core::Hashable + + # The set of label values that uniquely identify this metric. All labels listed + # in the MetricDescriptor must be assigned values. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # An existing metric type, see google.api.MetricDescriptor. For example, custom. + # googleapis.com/invoice/paid/amount. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @labels = args[:labels] if args.key?(:labels) + @type = args[:type] if args.key?(:type) + end + end + + # A single field of a message type. + class Field + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `oneofIndex` + # @return [Fixnum] + attr_accessor :oneof_index + + # The field cardinality. + # Corresponds to the JSON property `cardinality` + # @return [String] + attr_accessor :cardinality + + # Whether to use alternative packed wire representation. + # Corresponds to the JSON property `packed` + # @return [Boolean] + attr_accessor :packed + alias_method :packed?, :packed + + # The string value of the default value of this field. Proto2 syntax only. + # Corresponds to the JSON property `defaultValue` + # @return [String] + attr_accessor :default_value + + # The field name. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The field type URL, without the scheme, for message or enumeration types. + # Example: "type.googleapis.com/google.protobuf.Timestamp". + # Corresponds to the JSON property `typeUrl` + # @return [String] + attr_accessor :type_url + + # The field number. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # The field JSON name. + # Corresponds to the JSON property `jsonName` + # @return [String] + attr_accessor :json_name + + # The field type. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @oneof_index = args[:oneof_index] if args.key?(:oneof_index) + @cardinality = args[:cardinality] if args.key?(:cardinality) + @packed = args[:packed] if args.key?(:packed) + @default_value = args[:default_value] if args.key?(:default_value) + @name = args[:name] if args.key?(:name) + @type_url = args[:type_url] if args.key?(:type_url) + @number = args[:number] if args.key?(:number) + @json_name = args[:json_name] if args.key?(:json_name) + @kind = args[:kind] if args.key?(:kind) + @options = args[:options] if args.key?(:options) + end + end + + # The ListTimeSeries response. + class ListTimeSeriesResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # One or more time series that match the filter included in the request. # Corresponds to the JSON property `timeSeries` # @return [Array] attr_accessor :time_series @@ -1132,58 +1174,29 @@ module Google # Update properties of this object def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @time_series = args[:time_series] if args.key?(:time_series) end end - # 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_boundaries is not given, then no - # bucket_counts may be given. - class BucketOptions + # A description of a label. + class LabelDescriptor include Google::Apis::Core::Hashable - # 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. - # Corresponds to the JSON property `explicitBuckets` - # @return [Google::Apis::MonitoringV3::Explicit] - attr_accessor :explicit_buckets + # The label key. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key - # 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)). - # Corresponds to the JSON property `exponentialBuckets` - # @return [Google::Apis::MonitoringV3::Exponential] - attr_accessor :exponential_buckets + # A human-readable description for the label. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :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)). - # Corresponds to the JSON property `linearBuckets` - # @return [Google::Apis::MonitoringV3::Linear] - attr_accessor :linear_buckets + # The type of data that can be assigned to the label. + # Corresponds to the JSON property `valueType` + # @return [String] + attr_accessor :value_type def initialize(**args) update!(**args) @@ -1191,45 +1204,66 @@ module Google # Update properties of this object def update!(**args) - @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) - @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) - @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @key = args[:key] if args.key?(:key) + @description = args[:description] if args.key?(:description) + @value_type = args[:value_type] if args.key?(:value_type) end end - # The CreateCollectdTimeSeries request. - class CreateCollectdTimeSeriesRequest + # 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. + class Group include Google::Apis::Core::Hashable - # 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. - # Corresponds to the JSON property `collectdPayloads` - # @return [Array] - attr_accessor :collectd_payloads - - # The version of collectd that collected the data. Example: "5.3.0-192.el6& - # quot;. - # Corresponds to the JSON property `collectdVersion` + # The filter used to determine which monitored resources belong to this group. + # Corresponds to the JSON property `filter` # @return [String] - attr_accessor :collectd_version + attr_accessor :filter - # 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": - # ` "type": "gce_instance", - # "labels": ` "instance_id": "12345678901234", - # "zone": "us-central1-a" `` - # Corresponds to the JSON property `resource` - # @return [Google::Apis::MonitoringV3::MonitoredResource] - attr_accessor :resource + # 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. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The name of the group's parent, if it has one. The format is "projects/` + # project_id_or_number`/groups/`group_id`". For groups with no parent, + # parentName is the empty string, "". + # Corresponds to the JSON property `parentName` + # @return [String] + attr_accessor :parent_name + + # A user-assigned name for this group, used only for display purposes. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # If true, the members of this group are considered to be a cluster. The system + # can perform additional analysis on groups that are clusters. + # Corresponds to the JSON property `isCluster` + # @return [Boolean] + attr_accessor :is_cluster + alias_method :is_cluster?, :is_cluster def initialize(**args) update!(**args) @@ -1237,9 +1271,11 @@ module Google # Update properties of this object def update!(**args) - @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads) - @collectd_version = args[:collectd_version] if args.key?(:collectd_version) - @resource = args[:resource] if args.key?(:resource) + @filter = args[:filter] if args.key?(:filter) + @name = args[:name] if args.key?(:name) + @parent_name = args[:parent_name] if args.key?(:parent_name) + @display_name = args[:display_name] if args.key?(:display_name) + @is_cluster = args[:is_cluster] if args.key?(:is_cluster) end end @@ -1247,22 +1283,6 @@ module Google class Type include Google::Apis::Core::Hashable - # The list of types appearing in oneof definitions in this type. - # Corresponds to the JSON property `oneofs` - # @return [Array] - attr_accessor :oneofs - - # The protocol buffer options. - # Corresponds to the JSON property `options` - # @return [Array] - attr_accessor :options - - # SourceContext represents information about the source of a protobuf element, - # like the file in which it is defined. - # Corresponds to the JSON property `sourceContext` - # @return [Google::Apis::MonitoringV3::SourceContext] - attr_accessor :source_context - # The list of fields. # Corresponds to the JSON property `fields` # @return [Array] @@ -1273,50 +1293,39 @@ module Google # @return [String] attr_accessor :name + # The list of types appearing in oneof definitions in this type. + # Corresponds to the JSON property `oneofs` + # @return [Array] + attr_accessor :oneofs + # The source syntax. # Corresponds to the JSON property `syntax` # @return [String] attr_accessor :syntax + # SourceContext represents information about the source of a protobuf element, + # like the file in which it is defined. + # Corresponds to the JSON property `sourceContext` + # @return [Google::Apis::MonitoringV3::SourceContext] + attr_accessor :source_context + + # The protocol buffer options. + # Corresponds to the JSON property `options` + # @return [Array] + attr_accessor :options + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @oneofs = args[:oneofs] if args.key?(:oneofs) - @options = args[:options] if args.key?(:options) - @source_context = args[:source_context] if args.key?(:source_context) @fields = args[:fields] if args.key?(:fields) @name = args[:name] if args.key?(:name) + @oneofs = args[:oneofs] if args.key?(:oneofs) @syntax = args[:syntax] if args.key?(:syntax) - end - end - - # The ListGroups response. - class ListGroupsResponse - include Google::Apis::Core::Hashable - - # The groups that match the specified filters. - # Corresponds to the JSON property `group` - # @return [Array] - attr_accessor :group - - # 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. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @group = args[:group] if args.key?(:group) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @source_context = args[:source_context] if args.key?(:source_context) + @options = args[:options] if args.key?(:options) end end end diff --git a/generated/google/apis/monitoring_v3/representations.rb b/generated/google/apis/monitoring_v3/representations.rb index e958b3ea8..373a53a7f 100644 --- a/generated/google/apis/monitoring_v3/representations.rb +++ b/generated/google/apis/monitoring_v3/representations.rb @@ -22,37 +22,7 @@ module Google module Apis module MonitoringV3 - class Metric - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListGroupMembersResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TimeInterval - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Group - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListTimeSeriesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Point + class BucketOptions class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -64,7 +34,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class TimeSeries + class SourceContext class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -76,31 +46,43 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Exponential + class Range class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Explicit + class ListGroupsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Linear + class ListGroupMembersResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CollectdPayload + class CreateCollectdTimeSeriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListMetricDescriptorsResponse + class ListMonitoredResourceDescriptorsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TimeSeries + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTimeSeriesRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -118,7 +100,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class LabelDescriptor + class ListMetricDescriptorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -136,13 +118,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListMonitoredResourceDescriptorsResponse + class CollectdPayload class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Field + class Linear class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -160,31 +142,55 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class SourceContext + class TimeInterval class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Range + class Explicit class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CreateTimeSeriesRequest + class Exponential class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BucketOptions + class Point class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CreateCollectdTimeSeriesRequest + class Metric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Field + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListTimeSeriesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LabelDescriptor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Group class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -196,64 +202,14 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListGroupsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Metric + class BucketOptions # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :type, as: 'type' - end - end + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation - class ListGroupMembersResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation - property :next_page_token, as: 'nextPageToken' - property :total_size, as: 'totalSize' - end - end - - class TimeInterval - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - property :start_time, as: 'startTime' - end - end - - class Group - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :parent_name, as: 'parentName' - property :is_cluster, as: 'isCluster' - property :filter, as: 'filter' - property :name, as: 'name' - end - end - - class ListTimeSeriesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class Point - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - - property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation + property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation end end @@ -261,144 +217,70 @@ module Google class CollectdValue # @private class Representation < Google::Apis::Core::JsonRepresentation + property :data_source_name, as: 'dataSourceName' property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - property :data_source_name, as: 'dataSourceName' property :data_source_type, as: 'dataSourceType' end end - class TimeSeries + class SourceContext # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation - - collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation - - property :value_type, as: 'valueType' - property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation - - property :metric_kind, as: 'metricKind' + property :file_name, as: 'fileName' end end class MetricDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation + property :value_type, as: 'valueType' + property :metric_kind, as: 'metricKind' + property :display_name, as: 'displayName' property :description, as: 'description' property :unit, as: 'unit' collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation - property :metric_kind, as: 'metricKind' - property :value_type, as: 'valueType' - property :display_name, as: 'displayName' property :name, as: 'name' property :type, as: 'type' end end - class Exponential + class Range # @private class Representation < Google::Apis::Core::JsonRepresentation - property :growth_factor, as: 'growthFactor' - property :scale, as: 'scale' - property :num_finite_buckets, as: 'numFiniteBuckets' + property :min, as: 'min' + property :max, as: 'max' end end - class Explicit + class ListGroupsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :bounds, as: 'bounds' - end - end - - class Linear - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :width, as: 'width' - property :offset, as: 'offset' - property :num_finite_buckets, as: 'numFiniteBuckets' - end - end - - class CollectdPayload - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime' - hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation - - collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation - - property :plugin_instance, as: 'pluginInstance' - property :start_time, as: 'startTime' - property :type_instance, as: 'typeInstance' - property :type, as: 'type' - property :plugin, as: 'plugin' - end - end - - class ListMetricDescriptorsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :metric_descriptors, as: 'metricDescriptors', class: Google::Apis::MonitoringV3::MetricDescriptor, decorator: Google::Apis::MonitoringV3::MetricDescriptor::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class Distribution - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :bucket_counts, as: 'bucketCounts' - property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation - - property :count, as: 'count' - property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' - property :mean, as: 'mean' - property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation + collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation end end - class MonitoredResource + class ListGroupMembersResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :labels, as: 'labels' - property :type, as: 'type' + property :next_page_token, as: 'nextPageToken' + property :total_size, as: 'totalSize' + collection :members, as: 'members', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + end end - class LabelDescriptor + class CreateCollectdTimeSeriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :description, as: 'description' - property :value_type, as: 'valueType' - property :key, as: 'key' - end - end + property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation - class MonitoredResourceDescriptor - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :description, as: 'description' - collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation - - property :type, as: 'type' - property :name, as: 'name' - end - end - - class TypedValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bool_value, as: 'boolValue' - property :string_value, as: 'stringValue' - property :int64_value, as: 'int64Value' - property :double_value, as: 'doubleValue' - property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation + collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation + property :collectd_version, as: 'collectdVersion' end end @@ -411,20 +293,105 @@ module Google end end - class Field + class TimeSeries # @private class Representation < Google::Apis::Core::JsonRepresentation - property :default_value, as: 'defaultValue' - property :json_name, as: 'jsonName' - collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation + property :value_type, as: 'valueType' + property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation + + property :metric_kind, as: 'metricKind' + property :metric, as: 'metric', class: Google::Apis::MonitoringV3::Metric, decorator: Google::Apis::MonitoringV3::Metric::Representation + + collection :points, as: 'points', class: Google::Apis::MonitoringV3::Point, decorator: Google::Apis::MonitoringV3::Point::Representation + + end + end + + class CreateTimeSeriesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation + + end + end + + class Distribution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :count, as: 'count' + property :mean, as: 'mean' + collection :bucket_counts, as: 'bucketCounts' + property :bucket_options, as: 'bucketOptions', class: Google::Apis::MonitoringV3::BucketOptions, decorator: Google::Apis::MonitoringV3::BucketOptions::Representation + + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + property :range, as: 'range', class: Google::Apis::MonitoringV3::Range, decorator: Google::Apis::MonitoringV3::Range::Representation + + end + end + + class MonitoredResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + hash :labels, as: 'labels' + end + end + + class ListMetricDescriptorsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :metric_descriptors, as: 'metricDescriptors', class: Google::Apis::MonitoringV3::MetricDescriptor, decorator: Google::Apis::MonitoringV3::MetricDescriptor::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class MonitoredResourceDescriptor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :labels, as: 'labels', class: Google::Apis::MonitoringV3::LabelDescriptor, decorator: Google::Apis::MonitoringV3::LabelDescriptor::Representation - property :oneof_index, as: 'oneofIndex' - property :cardinality, as: 'cardinality' - property :type_url, as: 'typeUrl' property :name, as: 'name' - property :packed, as: 'packed' - property :number, as: 'number' - property :kind, as: 'kind' + property :display_name, as: 'displayName' + property :description, as: 'description' + property :type, as: 'type' + end + end + + class TypedValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :int64_value, as: 'int64Value' + property :distribution_value, as: 'distributionValue', class: Google::Apis::MonitoringV3::Distribution, decorator: Google::Apis::MonitoringV3::Distribution::Representation + + property :bool_value, as: 'boolValue' + property :string_value, as: 'stringValue' + property :double_value, as: 'doubleValue' + end + end + + class CollectdPayload + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :plugin, as: 'plugin' + property :plugin_instance, as: 'pluginInstance' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + collection :values, as: 'values', class: Google::Apis::MonitoringV3::CollectdValue, decorator: Google::Apis::MonitoringV3::CollectdValue::Representation + + property :type_instance, as: 'typeInstance' + hash :metadata, as: 'metadata', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation + + property :type, as: 'type' + end + end + + class Linear + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' + property :offset, as: 'offset' + property :num_finite_buckets, as: 'numFiniteBuckets' end end @@ -442,73 +409,106 @@ module Google end end - class SourceContext + class TimeInterval # @private class Representation < Google::Apis::Core::JsonRepresentation - property :file_name, as: 'fileName' + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' end end - class Range + class Explicit # @private class Representation < Google::Apis::Core::JsonRepresentation - property :max, as: 'max' - property :min, as: 'min' + collection :bounds, as: 'bounds' end end - class CreateTimeSeriesRequest + class Exponential # @private class Representation < Google::Apis::Core::JsonRepresentation + property :scale, as: 'scale' + property :num_finite_buckets, as: 'numFiniteBuckets' + property :growth_factor, as: 'growthFactor' + end + end + + class Point + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :interval, as: 'interval', class: Google::Apis::MonitoringV3::TimeInterval, decorator: Google::Apis::MonitoringV3::TimeInterval::Representation + + property :value, as: 'value', class: Google::Apis::MonitoringV3::TypedValue, decorator: Google::Apis::MonitoringV3::TypedValue::Representation + + end + end + + class Metric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :labels, as: 'labels' + property :type, as: 'type' + end + end + + class Field + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :oneof_index, as: 'oneofIndex' + property :cardinality, as: 'cardinality' + property :packed, as: 'packed' + property :default_value, as: 'defaultValue' + property :name, as: 'name' + property :type_url, as: 'typeUrl' + property :number, as: 'number' + property :json_name, as: 'jsonName' + property :kind, as: 'kind' + collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation + + end + end + + class ListTimeSeriesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :time_series, as: 'timeSeries', class: Google::Apis::MonitoringV3::TimeSeries, decorator: Google::Apis::MonitoringV3::TimeSeries::Representation end end - class BucketOptions + class LabelDescriptor # @private class Representation < Google::Apis::Core::JsonRepresentation - property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::MonitoringV3::Explicit, decorator: Google::Apis::MonitoringV3::Explicit::Representation - - property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::MonitoringV3::Exponential, decorator: Google::Apis::MonitoringV3::Exponential::Representation - - property :linear_buckets, as: 'linearBuckets', class: Google::Apis::MonitoringV3::Linear, decorator: Google::Apis::MonitoringV3::Linear::Representation - + property :key, as: 'key' + property :description, as: 'description' + property :value_type, as: 'valueType' end end - class CreateCollectdTimeSeriesRequest + class Group # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :collectd_payloads, as: 'collectdPayloads', class: Google::Apis::MonitoringV3::CollectdPayload, decorator: Google::Apis::MonitoringV3::CollectdPayload::Representation - - property :collectd_version, as: 'collectdVersion' - property :resource, as: 'resource', class: Google::Apis::MonitoringV3::MonitoredResource, decorator: Google::Apis::MonitoringV3::MonitoredResource::Representation - + property :filter, as: 'filter' + property :name, as: 'name' + property :parent_name, as: 'parentName' + property :display_name, as: 'displayName' + property :is_cluster, as: 'isCluster' end end class Type # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :oneofs, as: 'oneofs' - collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation - - property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation - collection :fields, as: 'fields', class: Google::Apis::MonitoringV3::Field, decorator: Google::Apis::MonitoringV3::Field::Representation property :name, as: 'name' + collection :oneofs, as: 'oneofs' property :syntax, as: 'syntax' - end - end + property :source_context, as: 'sourceContext', class: Google::Apis::MonitoringV3::SourceContext, decorator: Google::Apis::MonitoringV3::SourceContext::Representation - class ListGroupsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :group, as: 'group', class: Google::Apis::MonitoringV3::Group, decorator: Google::Apis::MonitoringV3::Group::Representation + collection :options, as: 'options', class: Google::Apis::MonitoringV3::Option, decorator: Google::Apis::MonitoringV3::Option::Representation - property :next_page_token, as: 'nextPageToken' end end end diff --git a/generated/google/apis/monitoring_v3/service.rb b/generated/google/apis/monitoring_v3/service.rb index ca501bb81..857a565f3 100644 --- a/generated/google/apis/monitoring_v3/service.rb +++ b/generated/google/apis/monitoring_v3/service.rb @@ -20,7 +20,7 @@ require 'google/apis/errors' module Google module Apis module MonitoringV3 - # Google Monitoring API + # Stackdriver Monitoring API # # Manages your Stackdriver Monitoring data and configurations. Most projects # must be associated with a Stackdriver account, with a few exceptions as noted @@ -49,17 +49,17 @@ module Google end # Stackdriver Monitoring Agent only: Creates a new time series. # @param [String] name - # The project in which to create the time series. The format is "projects/ - # PROJECT_ID_OR_NUMBER". + # The project in which to create the time series. The format is "projects/ + # PROJECT_ID_OR_NUMBER". # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -72,450 +72,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options) command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation command.request_object = create_collectd_time_series_request_object command.response_representation = Google::Apis::MonitoringV3::Empty::Representation command.response_class = Google::Apis::MonitoringV3::Empty command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Updates an existing group. You can change any group attributes except name. - # @param [String] name - # 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. - # @param [Google::Apis::MonitoringV3::Group] group_object - # @param [Boolean] validate_only - # If true, validate this request but do not update the existing group. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v3/{+name}', options) - command.request_representation = Google::Apis::MonitoringV3::Group::Representation - command.request_object = group_object - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single group. - # @param [String] name - # The group to retrieve. The format is "projects/`project_id_or_number`/ - # groups/`group_id`". - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_group(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new group. - # @param [String] name - # The project in which to create the group. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::Group] group_object - # @param [Boolean] validate_only - # If true, validate this request but do not create the group. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Group] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/groups', options) - command.request_representation = Google::Apis::MonitoringV3::Group::Representation - command.request_object = group_object - command.response_representation = Google::Apis::MonitoringV3::Group::Representation - command.response_class = Google::Apis::MonitoringV3::Group - command.params['name'] = name unless name.nil? - command.query['validateOnly'] = validate_only unless validate_only.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the existing groups. - # @param [String] name - # The project whose groups are to be listed. The format is "projects/` - # project_id_or_number`". - # @param [String] descendants_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". - # Returns the descendants of the specified group. This is a superset of the - # results returned by the childrenOfGroup filter, and includes children-of- - # children, and so forth. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] children_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". - # Returns groups whose parentName field contains the group name. If no groups - # have this parent, the results are empty. - # @param [String] ancestors_of_group - # A group name: "projects/`project_id_or_number`/groups/`group_id`". - # Returns groups that are ancestors of the specified group. The groups are - # returned in order, starting with the immediate parent and ending with the most - # distant ancestor. If the specified group has no immediate parent, the results - # are empty. - # @param [String] page_token - # 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. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListGroupsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListGroupsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_groups(name, descendants_of_group: nil, page_size: nil, children_of_group: nil, ancestors_of_group: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/groups', options) - command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse - command.params['name'] = name unless name.nil? - command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil? - command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing group. - # @param [String] name - # The group to delete. The format is "projects/`project_id_or_number`/ - # groups/`group_id`". - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_group(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists the monitored resources that are members of a group. - # @param [String] name - # The group whose members are listed. The format is "projects/` - # project_id_or_number`/groups/`group_id`". - # @param [String] filter - # An optional list filter (/monitoring/api/learn_more#filtering) describing the - # members to be returned. The filter may reference the type, labels, and - # metadata of monitored resources that comprise the group. For example, to - # return only resources representing Compute Engine VM instances, use this - # filter: - # resource.type = "gce_instance" - # @param [String] interval_end_time - # Required. The end of the time interval. - # @param [String] interval_start_time - # 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. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] page_token - # 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. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListGroupMembersResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListGroupMembersResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_group_members(name, filter: nil, interval_end_time: nil, interval_start_time: nil, page_size: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/members', options) - command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse - command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? - command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? - command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Gets a single metric descriptor. This method does not require a Stackdriver - # account. - # @param [String] name - # 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". - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::MetricDescriptor] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MetricDescriptor - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates a new metric descriptor. User-created metric descriptors define custom - # metrics (/monitoring/custom-metrics). - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::MetricDescriptor] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_project_metric_descriptor(name, metric_descriptor_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options) - command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.request_object = metric_descriptor_object - command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MetricDescriptor - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Lists metric descriptors that match a filter. This method does not require a - # Stackdriver account. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] filter - # If this field is empty, all custom and system-defined metric descriptors are - # returned. Otherwise, the filter (/monitoring/api/v3/filters) specifies which - # metric descriptors are to be returned. For example, the following filter - # matches all custom metrics (/monitoring/custom-metrics): - # metric.type = starts_with("custom.googleapis.com/") - # @param [String] page_token - # 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. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_metric_descriptors(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options) - command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation - command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse - command.params['name'] = name unless name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Deletes a metric descriptor. Only user-created custom metrics (/monitoring/ - # custom-metrics) can be deleted. - # @param [String] name - # 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". - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:delete, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Creates or adds data to one or more time series. The response is empty if all - # time series in the request were written. If any time series could not be - # written, a corresponding failure message is included in the error response. - # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::MonitoringV3::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_time_series(name, create_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) - command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation - command.request_object = create_time_series_request_object - command.response_representation = Google::Apis::MonitoringV3::Empty::Representation - command.response_class = Google::Apis::MonitoringV3::Empty - command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -524,22 +89,34 @@ module Google # @param [String] name # The project on which to execute the request. The format is "projects/` # project_id_or_number`". - # @param [String] filter - # A monitoring filter (/monitoring/api/v3/filters) 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" # @param [Array, String] aggregation_group_by_fields # 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 function. Each subset contains time series that # have the same value for each of the grouping fields. Each individual time # series is a member of exactly one subset. The crossSeriesReducer is applied to - # each subset of time series. Fields not specified in groupByFields are - # aggregated away. If groupByFields is not specified, the time series are - # aggregated into a single output time series. If crossSeriesReducer is not - # defined, this field is ignored. + # each subset of time series. It is not possible to reduce across different + # resource types, so this field implicitly contains resource.type. Fields not + # specified in groupByFields are aggregated away. If groupByFields is not + # specified and all the time series have the same resource type, then the time + # series are aggregated into a single output time series. If crossSeriesReducer + # is not defined, this field is ignored. + # @param [String] interval_end_time + # Required. The end of the time interval. + # @param [String] aggregation_alignment_period + # The alignment period for per-time series alignment. If present, + # alignmentPeriod must be at least 60 seconds. After per-time series alignment, + # each time series will contain data points only on the period boundaries. If + # perSeriesAligner is not specified or equals ALIGN_NONE, then this field is + # ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then + # this field must be defined; otherwise an error is returned. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. When view + # field sets to FULL, it limits the number of Points server will return; if view + # field is HEADERS, it limits the number of TimeSeries server will return. + # @param [String] order_by + # Specifies the order in which the points of the time series should be returned. + # By default, results are not ordered. Currently, this field must be left blank. # @param [String] aggregation_cross_series_reducer # The approach to be used to combine time series. Not all reducer functions may # be applied to all time series, depending on the metric type and the value type @@ -548,24 +125,16 @@ module Google # 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. - # @param [String] interval_end_time - # Required. The end of the time interval. - # @param [String] interval_start_time - # 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. - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. When view - # field sets to FULL, it limits the number of Points server will return; if view - # field is HEADERS, it limits the number of TimeSeries server will return. - # @param [String] view - # Specifies which information is returned about the time series. - # @param [String] aggregation_alignment_period - # The alignment period for per-time series alignment. If present, - # alignmentPeriod must be at least 60 seconds. After per-time series alignment, - # each time series will contain data points only on the period boundaries. If - # perSeriesAligner is not specified or equals ALIGN_NONE, then this field is - # ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then - # this field must be defined; otherwise an error is returned. + # @param [String] 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" + # @param [String] page_token + # 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. # @param [String] aggregation_per_series_aligner # 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 @@ -574,18 +143,16 @@ module Google # 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. - # @param [String] order_by - # Specifies the order in which the points of the time series should be returned. - # By default, results are not ordered. Currently, this field must be left blank. - # @param [String] page_token - # 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. + # @param [String] interval_start_time + # 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. + # @param [String] view + # Specifies which information is returned about the time series. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -598,82 +165,230 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_time_series(name, filter: nil, aggregation_group_by_fields: nil, aggregation_cross_series_reducer: nil, interval_end_time: nil, interval_start_time: nil, page_size: nil, view: nil, aggregation_alignment_period: nil, aggregation_per_series_aligner: nil, order_by: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_time_series(name, aggregation_group_by_fields: nil, interval_end_time: nil, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, page_token: nil, aggregation_per_series_aligner: nil, interval_start_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/timeSeries', options) command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse command.params['name'] = name unless name.nil? - command.query['filter'] = filter unless filter.nil? command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil? - command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil? command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? - command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['view'] = view unless view.nil? command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil? - command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? + command.query['pageSize'] = page_size unless page_size.nil? command.query['orderBy'] = order_by unless order_by.nil? + command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil? + command.query['filter'] = filter unless filter.nil? command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil? + command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? + command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Gets a single monitored resource descriptor. This method does not require a - # Stackdriver account. + # Creates or adds data to one or more time series. The response is empty if all + # time series in the request were written. If any time series could not be + # written, a corresponding failure message is included in the error response. # @param [String] name - # The monitored resource descriptor to get. The format is "projects/` - # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` - # resource_type` is a predefined type, such as cloudsql_database. + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] parsed result object + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] + # @return [Google::Apis::MonitoringV3::Empty] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_monitored_resource_descriptor(name, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v3/{+name}', options) - command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation - command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor + def create_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/timeSeries', options) + command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation + command.request_object = create_time_series_request_object + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty command.params['name'] = name unless name.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new metric descriptor. User-created metric descriptors define custom + # metrics. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MetricDescriptor] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_metric_descriptor(name, metric_descriptor_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options) + command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.request_object = metric_descriptor_object + command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MetricDescriptor + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a metric descriptor. Only user-created custom metrics can be deleted. + # @param [String] name + # 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". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists metric descriptors that match a filter. This method does not require a + # Stackdriver account. + # @param [String] name + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". + # @param [String] 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/") + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_metric_descriptors(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options) + command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a single metric descriptor. This method does not require a Stackdriver + # account. + # @param [String] name + # 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". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MetricDescriptor] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MetricDescriptor + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # Lists monitored resource descriptors that match a filter. This method does not # require a Stackdriver account. # @param [String] name - # The project on which to execute the request. The format is "projects/` - # project_id_or_number`". - # @param [Fixnum] page_size - # A positive number that is the maximum number of results to return. - # @param [String] filter - # An optional filter (/monitoring/api/v3/filters) describing the descriptors to - # be returned. The filter can reference the descriptor's type and labels. For - # example, the following filter returns only Google Compute Engine descriptors - # that have an id label: - # resource.type = starts_with("gce_") AND resource.label:id + # The project on which to execute the request. The format is "projects/` + # project_id_or_number`". # @param [String] page_token # 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. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] filter + # An optional filter describing the descriptors to be returned. The filter can + # reference the descriptor's type and labels. For example, the following filter + # returns only Google Compute Engine descriptors that have an id label: + # resource.type = starts_with("gce_") AND resource.label:id + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -686,16 +401,296 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_monitored_resource_descriptors(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) + def list_project_monitored_resource_descriptors(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options) command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse command.params['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['filter'] = filter unless filter.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a single monitored resource descriptor. This method does not require a + # Stackdriver account. + # @param [String] name + # The monitored resource descriptor to get. The format is "projects/` + # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The ` + # resource_type` is a predefined type, such as cloudsql_database. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_monitored_resource_descriptor(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation + command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an existing group. You can change any group attributes except name. + # @param [String] name + # 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. + # @param [Google::Apis::MonitoringV3::Group] group_object + # @param [Boolean] validate_only + # If true, validate this request but do not update the existing group. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v3/{+name}', options) + command.request_representation = Google::Apis::MonitoringV3::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new group. + # @param [String] name + # The project in which to create the group. The format is "projects/` + # project_id_or_number`". + # @param [Google::Apis::MonitoringV3::Group] group_object + # @param [Boolean] validate_only + # If true, validate this request but do not create the group. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v3/{+name}/groups', options) + command.request_representation = Google::Apis::MonitoringV3::Group::Representation + command.request_object = group_object + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['validateOnly'] = validate_only unless validate_only.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing group. + # @param [String] name + # The group to delete. The format is "projects/`project_id_or_number`/groups/` + # group_id`". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_group(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Empty::Representation + command.response_class = Google::Apis::MonitoringV3::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the existing groups. + # @param [String] name + # The project whose groups are to be listed. The format is "projects/` + # project_id_or_number`". + # @param [String] children_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns + # groups whose parentName field contains the group name. If no groups have this + # parent, the results are empty. + # @param [String] descendants_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the + # descendants of the specified group. This is a superset of the results returned + # by the childrenOfGroup filter, and includes children-of-children, and so forth. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] ancestors_of_group + # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns + # groups that are ancestors of the specified group. The groups are returned in + # order, starting with the immediate parent and ending with the most distant + # ancestor. If the specified group has no immediate parent, the results are + # empty. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::ListGroupsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListGroupsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_groups(name, children_of_group: nil, descendants_of_group: nil, page_token: nil, page_size: nil, ancestors_of_group: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/groups', options) + command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse + command.params['name'] = name unless name.nil? + command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil? + command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets a single group. + # @param [String] name + # The group to retrieve. The format is "projects/`project_id_or_number`/groups/` + # group_id`". + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::Group] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_group(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}', options) + command.response_representation = Google::Apis::MonitoringV3::Group::Representation + command.response_class = Google::Apis::MonitoringV3::Group + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists the monitored resources that are members of a group. + # @param [String] name + # The group whose members are listed. The format is "projects/` + # project_id_or_number`/groups/`group_id`". + # @param [String] interval_end_time + # Required. The end of the time interval. + # @param [String] filter + # An optional list filter describing the members to be returned. The filter may + # reference the type, labels, and metadata of monitored resources that comprise + # the group. For example, to return only resources representing Compute Engine + # VM instances, use this filter: + # resource.type = "gce_instance" + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # A positive number that is the maximum number of results to return. + # @param [String] interval_start_time + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::MonitoringV3::ListGroupMembersResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::MonitoringV3::ListGroupMembersResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_group_members(name, interval_end_time: nil, filter: nil, page_token: nil, page_size: nil, interval_start_time: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v3/{+name}/members', options) + command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation + command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse + command.params['name'] = name unless name.nil? + command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/oauth2_v2.rb b/generated/google/apis/oauth2_v2.rb index b1bf4778b..071a38f70 100644 --- a/generated/google/apis/oauth2_v2.rb +++ b/generated/google/apis/oauth2_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/accounts/docs/OAuth2 module Oauth2V2 VERSION = 'V2' - REVISION = '20160804' + REVISION = '20161103' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/pagespeedonline_v2.rb b/generated/google/apis/pagespeedonline_v2.rb index c4e94e09f..058ac24d2 100644 --- a/generated/google/apis/pagespeedonline_v2.rb +++ b/generated/google/apis/pagespeedonline_v2.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/speed/docs/insights/v2/getting-started module PagespeedonlineV2 VERSION = 'V2' - REVISION = '20160811' + REVISION = '20161204' end end end diff --git a/generated/google/apis/partners_v2.rb b/generated/google/apis/partners_v2.rb index fc6911a67..317be715e 100644 --- a/generated/google/apis/partners_v2.rb +++ b/generated/google/apis/partners_v2.rb @@ -20,13 +20,13 @@ module Google module Apis # Google Partners API # - # 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. # # @see https://developers.google.com/partners/ module PartnersV2 VERSION = 'V2' - REVISION = '20151009' + REVISION = '20170316' end end end diff --git a/generated/google/apis/partners_v2/classes.rb b/generated/google/apis/partners_v2/classes.rb index 40d91c97b..453945329 100644 --- a/generated/google/apis/partners_v2/classes.rb +++ b/generated/google/apis/partners_v2/classes.rb @@ -22,39 +22,200 @@ module Google module Apis module PartnersV2 - # Request message for LogUserEvent. - class LogUserEventRequest + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + class Company include Google::Apis::Core::Hashable - # Common data that is in each API request. - # Corresponds to the JSON property `requestMetadata` - # @return [Google::Apis::PartnersV2::RequestMetadata] - attr_accessor :request_metadata + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `convertedMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :converted_min_monthly_budget - # The action that occurred. - # Corresponds to the JSON property `eventAction` + # Industries the company can help with. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # URL of the company's website. + # Corresponds to the JSON property `websiteUrl` # @return [String] - attr_accessor :event_action + attr_accessor :website_url - # The category the action belongs to. - # Corresponds to the JSON property `eventCategory` + # 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. + # Corresponds to the JSON property `additionalWebsites` + # @return [Array] + attr_accessor :additional_websites + + # The Primary AdWords Manager Account id. + # Corresponds to the JSON property `primaryAdwordsManagerAccountId` # @return [String] - attr_accessor :event_category + attr_accessor :primary_adwords_manager_account_id - # The scope of the event. - # Corresponds to the JSON property `eventScope` + # The name of the company. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :event_scope + attr_accessor :name - # List of event data for the event. - # Corresponds to the JSON property `eventDatas` - # @return [Array] - attr_accessor :event_datas + # The list of localized info for the company. + # Corresponds to the JSON property `localizedInfos` + # @return [Array] + attr_accessor :localized_infos - # The URL where the event occurred. - # Corresponds to the JSON property `url` + # The list of Google Partners certification statuses for the company. + # Corresponds to the JSON property `certificationStatuses` + # @return [Array] + attr_accessor :certification_statuses + + # The ID of the company. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :url + attr_accessor :id + + # Services the company can help with. + # Corresponds to the JSON property `services` + # @return [Array] + attr_accessor :services + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `originalMinMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :original_min_monthly_budget + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `primaryLocation` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :primary_location + + # Information related to the ranking of the company within the list of + # companies. + # Corresponds to the JSON property `ranks` + # @return [Array] + attr_accessor :ranks + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # Partner badge tier + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # Email domains that allow users with a matching email address to get + # auto-approved for associating with this company. + # Corresponds to the JSON property `autoApprovalEmailDomains` + # @return [Array] + attr_accessor :auto_approval_email_domains + + # Company type labels listed on the company's profile. + # Corresponds to the JSON property `companyTypes` + # @return [Array] + attr_accessor :company_types + + # The public viewability status of the company's profile. + # Corresponds to the JSON property `profileStatus` + # @return [String] + attr_accessor :profile_status + + # The primary language code of the company, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `primaryLanguageCode` + # @return [String] + attr_accessor :primary_language_code + + # The list of all company locations. + # If set, must include the + # primary_location + # in the list. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) + @industries = args[:industries] if args.key?(:industries) + @website_url = args[:website_url] if args.key?(:website_url) + @additional_websites = args[:additional_websites] if args.key?(:additional_websites) + @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id) + @name = args[:name] if args.key?(:name) + @localized_infos = args[:localized_infos] if args.key?(:localized_infos) + @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) + @id = args[:id] if args.key?(:id) + @services = args[:services] if args.key?(:services) + @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) + @public_profile = args[:public_profile] if args.key?(:public_profile) + @primary_location = args[:primary_location] if args.key?(:primary_location) + @ranks = args[:ranks] if args.key?(:ranks) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains) + @company_types = args[:company_types] if args.key?(:company_types) + @profile_status = args[:profile_status] if args.key?(:profile_status) + @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Response message for ListLeads. + class ListLeadsResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # The total count of leads for the given company. + # Corresponds to the JSON property `totalSize` + # @return [Fixnum] + attr_accessor :total_size + + # The list of leads. + # Corresponds to the JSON property `leads` + # @return [Array] + attr_accessor :leads + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @total_size = args[:total_size] if args.key?(:total_size) + @leads = args[:leads] if args.key?(:leads) + end + end + + # Response message for CreateLead. + class CreateLeadResponse + include Google::Apis::Core::Hashable # A lead resource that represents an advertiser contact for a `Company`. These # are usually generated via Google Partner Search (the advertiser portal). @@ -62,51 +223,148 @@ module Google # @return [Google::Apis::PartnersV2::Lead] attr_accessor :lead + # The outcome of reCaptcha + # validation. + # Corresponds to the JSON property `recaptchaStatus` + # @return [String] + attr_accessor :recaptcha_status + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @request_metadata = args[:request_metadata] if args.key?(:request_metadata) - @event_action = args[:event_action] if args.key?(:event_action) - @event_category = args[:event_category] if args.key?(:event_category) - @event_scope = args[:event_scope] if args.key?(:event_scope) - @event_datas = args[:event_datas] if args.key?(:event_datas) - @url = args[:url] if args.key?(:url) @lead = args[:lead] if args.key?(:lead) + @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) end end - # Common data that is in each API request. - class RequestMetadata + # Response message for GetCompany. + class GetCompanyResponse include Google::Apis::Core::Hashable - # Values to use instead of the user's respective defaults. These are only - # honored by whitelisted products. - # Corresponds to the JSON property `userOverrides` - # @return [Google::Apis::PartnersV2::UserOverrides] - attr_accessor :user_overrides + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata - # Locale to use for the current request. - # Corresponds to the JSON property `locale` + # A company resource in the Google Partners API. Once certified, it qualifies + # for being searched by advertisers. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::Company] + attr_accessor :company + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @company = args[:company] if args.key?(:company) + end + end + + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + class Location + include Google::Apis::Core::Hashable + + # Values are frequently alphanumeric. + # Corresponds to the JSON property `postalCode` # @return [String] - attr_accessor :locale + attr_accessor :postal_code - # Google Partners session ID. - # Corresponds to the JSON property `partnersSessionId` + # Language code of the address. Should be in BCP 47 format. + # Corresponds to the JSON property `languageCode` # @return [String] - attr_accessor :partners_session_id + attr_accessor :language_code - # Experiment IDs the current request belongs to. - # Corresponds to the JSON property `experimentIds` + # Use of this code is very country-specific, but will refer to a secondary + # classification code for sorting mail. + # Corresponds to the JSON property `sortingCode` + # @return [String] + attr_accessor :sorting_code + + # The following address lines represent the most specific part of any + # address. + # Corresponds to the JSON property `addressLine` # @return [Array] - attr_accessor :experiment_ids + attr_accessor :address_line - # Source of traffic for the current request. - # Corresponds to the JSON property `trafficSource` - # @return [Google::Apis::PartnersV2::TrafficSource] - attr_accessor :traffic_source + # Top-level administrative subdivision of this country. + # Corresponds to the JSON property `administrativeArea` + # @return [String] + attr_accessor :administrative_area + + # Generally refers to the city/town portion of an address. + # Corresponds to the JSON property `locality` + # @return [String] + attr_accessor :locality + + # 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 <= 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. + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::PartnersV2::LatLng] + attr_accessor :lat_lng + + # The single string version of the address. + # Corresponds to the JSON property `address` + # @return [String] + attr_accessor :address + + # Dependent locality or sublocality. Used for UK dependent localities, or + # neighborhoods or boroughs in other locations. + # Corresponds to the JSON property `dependentLocality` + # @return [String] + attr_accessor :dependent_locality + + # CLDR (Common Locale Data Repository) region code . + # Corresponds to the JSON property `regionCode` + # @return [String] + attr_accessor :region_code def initialize(**args) update!(**args) @@ -114,147 +372,227 @@ module Google # Update properties of this object def update!(**args) - @user_overrides = args[:user_overrides] if args.key?(:user_overrides) - @locale = args[:locale] if args.key?(:locale) - @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id) - @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) - @traffic_source = args[:traffic_source] if args.key?(:traffic_source) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @language_code = args[:language_code] if args.key?(:language_code) + @sorting_code = args[:sorting_code] if args.key?(:sorting_code) + @address_line = args[:address_line] if args.key?(:address_line) + @administrative_area = args[:administrative_area] if args.key?(:administrative_area) + @locality = args[:locality] if args.key?(:locality) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @address = args[:address] if args.key?(:address) + @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality) + @region_code = args[:region_code] if args.key?(:region_code) end end - # Values to use instead of the user's respective defaults. These are only - # honored by whitelisted products. - class UserOverrides + # Status for a Google Partners certification exam. + class CertificationExamStatus include Google::Apis::Core::Hashable - # IP address to use instead of the user's geo-located IP address. - # Corresponds to the JSON property `ipAddress` - # @return [String] - attr_accessor :ip_address + # The number of people who have passed the certification exam. + # Corresponds to the JSON property `numberUsersPass` + # @return [Fixnum] + attr_accessor :number_users_pass - # Logged-in user ID to impersonate instead of the user's ID. - # Corresponds to the JSON property `userId` - # @return [String] - attr_accessor :user_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ip_address = args[:ip_address] if args.key?(:ip_address) - @user_id = args[:user_id] if args.key?(:user_id) - end - end - - # Source of traffic for the current request. - class TrafficSource - include Google::Apis::Core::Hashable - - # Identifier to indicate where the traffic comes from. An identifier has - # multiple letters created by a team which redirected the traffic to us. - # Corresponds to the JSON property `trafficSourceId` - # @return [String] - attr_accessor :traffic_source_id - - # 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. - # Corresponds to the JSON property `trafficSubId` - # @return [String] - attr_accessor :traffic_sub_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id) - @traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id) - end - end - - # Key value data pair for an event. - class EventData - include Google::Apis::Core::Hashable - - # Data type. - # Corresponds to the JSON property `key` - # @return [String] - attr_accessor :key - - # Data values. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @key = args[:key] if args.key?(:key) - @values = args[:values] if args.key?(:values) - end - end - - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - class Lead - include Google::Apis::Core::Hashable - - # ID of the lead. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # Type of lead. + # The type of certification exam. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # Email address of lead source. - # Corresponds to the JSON property `email` - # @return [String] - attr_accessor :email + def initialize(**args) + update!(**args) + end - # First name of lead source. + # Update properties of this object + def update!(**args) + @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) + @type = args[:type] if args.key?(:type) + end + end + + # A token that allows a user to take an exam. + class ExamToken + include Google::Apis::Core::Hashable + + # The id of the exam the token is for. + # Corresponds to the JSON property `examId` + # @return [String] + attr_accessor :exam_id + + # The token, only present if the user has access to the exam. + # Corresponds to the JSON property `token` + # @return [String] + attr_accessor :token + + # The type of the exam the token belongs to. + # Corresponds to the JSON property `examType` + # @return [String] + attr_accessor :exam_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_id = args[:exam_id] if args.key?(:exam_id) + @token = args[:token] if args.key?(:token) + @exam_type = args[:exam_type] if args.key?(:exam_type) + end + end + + # A set of opt-ins for a user. + class OptIns + include Google::Apis::Core::Hashable + + # An opt-in to receive special promotional gifts and material in the mail. + # Corresponds to the JSON property `physicalMail` + # @return [Boolean] + attr_accessor :physical_mail + alias_method :physical_mail?, :physical_mail + + # An opt-in to allow recieivng phone calls about their Partners account. + # Corresponds to the JSON property `phoneContact` + # @return [Boolean] + attr_accessor :phone_contact + alias_method :phone_contact?, :phone_contact + + # An opt-in about receiving email from Partners marketing teams. Includes + # member-only events and special promotional offers for Google products. + # Corresponds to the JSON property `marketComm` + # @return [Boolean] + attr_accessor :market_comm + alias_method :market_comm?, :market_comm + + # An opt-in about receiving email regarding new features and products. + # Corresponds to the JSON property `specialOffers` + # @return [Boolean] + attr_accessor :special_offers + alias_method :special_offers?, :special_offers + + # An opt-in about receiving email with customized AdWords campaign management + # tips. + # Corresponds to the JSON property `performanceSuggestions` + # @return [Boolean] + attr_accessor :performance_suggestions + alias_method :performance_suggestions?, :performance_suggestions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @physical_mail = args[:physical_mail] if args.key?(:physical_mail) + @phone_contact = args[:phone_contact] if args.key?(:phone_contact) + @market_comm = args[:market_comm] if args.key?(:market_comm) + @special_offers = args[:special_offers] if args.key?(:special_offers) + @performance_suggestions = args[:performance_suggestions] if args.key?(:performance_suggestions) + end + end + + # Information related to ranking of results. + class Rank + include Google::Apis::Core::Hashable + + # The type of rank. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The numerical value of the rank. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + end + end + + # The profile information of a Partners user. + class UserProfile + include Google::Apis::Core::Hashable + + # The user's given name. # Corresponds to the JSON property `givenName` # @return [String] attr_accessor :given_name - # Last name of lead source. + # A location with address and geographic coordinates. May optionally contain a + # detailed (multi-field) version of the address. + # Corresponds to the JSON property `address` + # @return [Google::Apis::PartnersV2::Location] + attr_accessor :address + + # A list of ids representing which industries the user selected. + # Corresponds to the JSON property `industries` + # @return [Array] + attr_accessor :industries + + # The list of languages this user understands. + # Corresponds to the JSON property `languages` + # @return [Array] + attr_accessor :languages + + # The user's family name. # Corresponds to the JSON property `familyName` # @return [String] attr_accessor :family_name - # Website URL of lead source. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url + # A set of opt-ins for a user. + # Corresponds to the JSON property `emailOptIns` + # @return [Google::Apis::PartnersV2::OptIns] + attr_accessor :email_opt_ins - # Phone number of lead source. + # A list of ids representing which markets the user was interested in. + # Corresponds to the JSON property `markets` + # @return [Array] + attr_accessor :markets + + # The user's phone number. # Corresponds to the JSON property `phoneNumber` # @return [String] attr_accessor :phone_number - # Comments lead source gave. - # Corresponds to the JSON property `comments` + # 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. + # Corresponds to the JSON property `adwordsManagerAccount` # @return [String] - attr_accessor :comments + attr_accessor :adwords_manager_account - # List of reasons for using Google Partner Search and creating a lead. - # Corresponds to the JSON property `gpsMotivations` + # The user's primary country, an ISO 2-character code. + # Corresponds to the JSON property `primaryCountryCode` + # @return [String] + attr_accessor :primary_country_code + + # The email address the user has selected on the Partners site as primary. + # Corresponds to the JSON property `emailAddress` + # @return [String] + attr_accessor :email_address + + # Whether the user's public profile is visible to anyone with the URL. + # Corresponds to the JSON property `profilePublic` + # @return [Boolean] + attr_accessor :profile_public + alias_method :profile_public?, :profile_public + + # A list of ids representing which channels the user selected they were in. + # Corresponds to the JSON property `channels` # @return [Array] - attr_accessor :gps_motivations + attr_accessor :channels - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `minMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :min_monthly_budget + # A list of ids represnting which job categories the user selected. + # Corresponds to the JSON property `jobFunctions` + # @return [Array] + attr_accessor :job_functions def initialize(**args) update!(**args) @@ -262,57 +600,26 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @type = args[:type] if args.key?(:type) - @email = args[:email] if args.key?(:email) @given_name = args[:given_name] if args.key?(:given_name) + @address = args[:address] if args.key?(:address) + @industries = args[:industries] if args.key?(:industries) + @languages = args[:languages] if args.key?(:languages) @family_name = args[:family_name] if args.key?(:family_name) - @website_url = args[:website_url] if args.key?(:website_url) + @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins) + @markets = args[:markets] if args.key?(:markets) @phone_number = args[:phone_number] if args.key?(:phone_number) - @comments = args[:comments] if args.key?(:comments) - @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) - @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) + @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account) + @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code) + @email_address = args[:email_address] if args.key?(:email_address) + @profile_public = args[:profile_public] if args.key?(:profile_public) + @channels = args[:channels] if args.key?(:channels) + @job_functions = args[:job_functions] if args.key?(:job_functions) end end - # Represents an amount of money with its currency type. - class Money - include Google::Apis::Core::Hashable - - # The 3-letter currency code defined in ISO 4217. - # Corresponds to the JSON property `currencyCode` - # @return [String] - attr_accessor :currency_code - - # The whole units of the amount. For example if `currencyCode` is `"USD"`, then - # 1 unit is one US dollar. - # Corresponds to the JSON property `units` - # @return [String] - attr_accessor :units - - # 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. - # Corresponds to the JSON property `nanos` - # @return [Fixnum] - attr_accessor :nanos - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @currency_code = args[:currency_code] if args.key?(:currency_code) - @units = args[:units] if args.key?(:units) - @nanos = args[:nanos] if args.key?(:nanos) - end - end - - # Response message for LogUserEvent. - class LogUserEventResponse + # Response message for + # GetPartnersStatus. + class GetPartnersStatusResponse include Google::Apis::Core::Hashable # Common data that is in each API response. @@ -330,6 +637,312 @@ module Google end end + # Historical information about a Google Partners Offer. + class HistoricalOffer + include Google::Apis::Core::Hashable + + # ID of client. + # Corresponds to the JSON property `clientId` + # @return [String] + attr_accessor :client_id + + # Name of the client. + # Corresponds to the JSON property `clientName` + # @return [String] + attr_accessor :client_name + + # Time last action was taken. + # Corresponds to the JSON property `lastModifiedTime` + # @return [String] + attr_accessor :last_modified_time + + # Client's AdWords page URL. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # Name (First + Last) of the partners user to whom the incentive is allocated. + # Corresponds to the JSON property `senderName` + # @return [String] + attr_accessor :sender_name + + # Country Code for the offer country. + # Corresponds to the JSON property `offerCountryCode` + # @return [String] + attr_accessor :offer_country_code + + # Time this offer expires. + # Corresponds to the JSON property `expirationTime` + # @return [String] + attr_accessor :expiration_time + + # Offer code. + # Corresponds to the JSON property `offerCode` + # @return [String] + attr_accessor :offer_code + + # Time offer was first created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Email address for client. + # Corresponds to the JSON property `clientEmail` + # @return [String] + attr_accessor :client_email + + # Status of the offer. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @client_id = args[:client_id] if args.key?(:client_id) + @client_name = args[:client_name] if args.key?(:client_name) + @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @sender_name = args[:sender_name] if args.key?(:sender_name) + @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) + @expiration_time = args[:expiration_time] if args.key?(:expiration_time) + @offer_code = args[:offer_code] if args.key?(:offer_code) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @client_email = args[:client_email] if args.key?(:client_email) + @status = args[:status] if args.key?(:status) + end + end + + # Request message for + # LogUserEvent. + class LogUserEventRequest + include Google::Apis::Core::Hashable + + # The URL where the event occurred. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # Common data that is in each API request. + # Corresponds to the JSON property `requestMetadata` + # @return [Google::Apis::PartnersV2::RequestMetadata] + attr_accessor :request_metadata + + # List of event data for the event. + # Corresponds to the JSON property `eventDatas` + # @return [Array] + attr_accessor :event_datas + + # The scope of the event. + # Corresponds to the JSON property `eventScope` + # @return [String] + attr_accessor :event_scope + + # The category the action belongs to. + # Corresponds to the JSON property `eventCategory` + # @return [String] + attr_accessor :event_category + + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + # Corresponds to the JSON property `lead` + # @return [Google::Apis::PartnersV2::Lead] + attr_accessor :lead + + # The action that occurred. + # Corresponds to the JSON property `eventAction` + # @return [String] + attr_accessor :event_action + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @url = args[:url] if args.key?(:url) + @request_metadata = args[:request_metadata] if args.key?(:request_metadata) + @event_datas = args[:event_datas] if args.key?(:event_datas) + @event_scope = args[:event_scope] if args.key?(:event_scope) + @event_category = args[:event_category] if args.key?(:event_category) + @lead = args[:lead] if args.key?(:lead) + @event_action = args[:event_action] if args.key?(:event_action) + end + end + + # Values to use instead of the user's respective defaults. These are only + # honored by whitelisted products. + class UserOverrides + include Google::Apis::Core::Hashable + + # Logged-in user ID to impersonate instead of the user's ID. + # Corresponds to the JSON property `userId` + # @return [String] + attr_accessor :user_id + + # IP address to use instead of the user's geo-located IP address. + # Corresponds to the JSON property `ipAddress` + # @return [String] + attr_accessor :ip_address + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @user_id = args[:user_id] if args.key?(:user_id) + @ip_address = args[:ip_address] if args.key?(:ip_address) + end + end + + # Details of the analytics events for a `Company` within a single day. + class AnalyticsDataPoint + include Google::Apis::Core::Hashable + + # Number of times the type of event occurred. + # Meaning depends on context (e.g. profile views, contacts, etc.). + # Corresponds to the JSON property `eventCount` + # @return [Fixnum] + attr_accessor :event_count + + # Location information of where these events occurred. + # Corresponds to the JSON property `eventLocations` + # @return [Array] + attr_accessor :event_locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @event_count = args[:event_count] if args.key?(:event_count) + @event_locations = args[:event_locations] if args.key?(:event_locations) + end + end + + # Analytics data for a `Company` within a single day. + class Analytics + include Google::Apis::Core::Hashable + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `contacts` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :contacts + + # 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`. + # Corresponds to the JSON property `eventDate` + # @return [Google::Apis::PartnersV2::Date] + attr_accessor :event_date + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `profileViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :profile_views + + # Details of the analytics events for a `Company` within a single day. + # Corresponds to the JSON property `searchViews` + # @return [Google::Apis::PartnersV2::AnalyticsDataPoint] + attr_accessor :search_views + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contacts = args[:contacts] if args.key?(:contacts) + @event_date = args[:event_date] if args.key?(:event_date) + @profile_views = args[:profile_views] if args.key?(:profile_views) + @search_views = args[:search_views] if args.key?(:search_views) + end + end + + # Information about a particular AdWords Manager Account. + # Read more at https://support.google.com/adwords/answer/6139186 + class AdWordsManagerAccountInfo + include Google::Apis::Core::Hashable + + # The AdWords Manager Account id. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Name of the customer this account represents. + # Corresponds to the JSON property `customerName` + # @return [String] + attr_accessor :customer_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @id = args[:id] if args.key?(:id) + @customer_name = args[:customer_name] if args.key?(:customer_name) + end + end + + # Basic information from a public profile. + class PublicProfile + include Google::Apis::Core::Hashable + + # The URL to the main profile image of the public profile. + # Corresponds to the JSON property `profileImage` + # @return [String] + attr_accessor :profile_image + + # The display name of the public profile. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The URL to the main display image of the public profile. Being deprecated. + # Corresponds to the JSON property `displayImageUrl` + # @return [String] + attr_accessor :display_image_url + + # The ID which can be used to retrieve more details about the public profile. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The URL of the public profile. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @profile_image = args[:profile_image] if args.key?(:profile_image) + @display_name = args[:display_name] if args.key?(:display_name) + @display_image_url = args[:display_image_url] if args.key?(:display_image_url) + @id = args[:id] if args.key?(:id) + @url = args[:url] if args.key?(:url) + end + end + # Common data that is in each API response. class ResponseMetadata include Google::Apis::Core::Hashable @@ -349,24 +962,19 @@ module Google end end - # Debug information about this request. - class DebugInfo + # reCaptcha challenge info. + class RecaptchaChallenge include Google::Apis::Core::Hashable - # Info about the server that serviced this request. - # Corresponds to the JSON property `serverInfo` + # The ID of the reCaptcha challenge. + # Corresponds to the JSON property `id` # @return [String] - attr_accessor :server_info + attr_accessor :id - # URL of the service that handled this request. - # Corresponds to the JSON property `serviceUrl` + # The response to the reCaptcha challenge. + # Corresponds to the JSON property `response` # @return [String] - attr_accessor :service_url - - # Server-side debug stack trace. - # Corresponds to the JSON property `serverTraceInfo` - # @return [String] - attr_accessor :server_trace_info + attr_accessor :response def initialize(**args) update!(**args) @@ -374,13 +982,231 @@ module Google # Update properties of this object def update!(**args) - @server_info = args[:server_info] if args.key?(:server_info) - @service_url = args[:service_url] if args.key?(:service_url) - @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info) + @id = args[:id] if args.key?(:id) + @response = args[:response] if args.key?(:response) end end - # Request message for LogClientMessage. + # Available Offers to be distributed. + class AvailableOffer + include Google::Apis::Core::Hashable + + # Type of offer. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # The maximum age of an account [in days] to be eligible. + # Corresponds to the JSON property `maxAccountAge` + # @return [Fixnum] + attr_accessor :max_account_age + + # Customers who qualify for this offer. + # Corresponds to the JSON property `qualifiedCustomer` + # @return [Array] + attr_accessor :qualified_customer + + # Terms of the offer. + # Corresponds to the JSON property `terms` + # @return [String] + attr_accessor :terms + + # Should special text be shown on the offers page. + # Corresponds to the JSON property `showSpecialOfferCopy` + # @return [Boolean] + attr_accessor :show_special_offer_copy + alias_method :show_special_offer_copy?, :show_special_offer_copy + + # The number of codes for this offer that are available for distribution. + # Corresponds to the JSON property `available` + # @return [Fixnum] + attr_accessor :available + + # Description of the offer. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Level of this offer. + # Corresponds to the JSON property `offerLevel` + # @return [String] + attr_accessor :offer_level + + # Name of the offer. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Whether or not the list of qualified customers is definitely complete. + # Corresponds to the JSON property `qualifiedCustomersComplete` + # @return [Boolean] + attr_accessor :qualified_customers_complete + alias_method :qualified_customers_complete?, :qualified_customers_complete + + # ID of this offer. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Offer info by country. + # Corresponds to the JSON property `countryOfferInfos` + # @return [Array] + attr_accessor :country_offer_infos + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @max_account_age = args[:max_account_age] if args.key?(:max_account_age) + @qualified_customer = args[:qualified_customer] if args.key?(:qualified_customer) + @terms = args[:terms] if args.key?(:terms) + @show_special_offer_copy = args[:show_special_offer_copy] if args.key?(:show_special_offer_copy) + @available = args[:available] if args.key?(:available) + @description = args[:description] if args.key?(:description) + @offer_level = args[:offer_level] if args.key?(:offer_level) + @name = args[:name] if args.key?(:name) + @qualified_customers_complete = args[:qualified_customers_complete] if args.key?(:qualified_customers_complete) + @id = args[:id] if args.key?(:id) + @country_offer_infos = args[:country_offer_infos] if args.key?(:country_offer_infos) + end + end + + # 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 <= 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 + include Google::Apis::Core::Hashable + + # The longitude in degrees. It must be in the range [-180.0, +180.0]. + # Corresponds to the JSON property `longitude` + # @return [Float] + attr_accessor :longitude + + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` + # @return [Float] + attr_accessor :latitude + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @longitude = args[:longitude] if args.key?(:longitude) + @latitude = args[:latitude] if args.key?(:latitude) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [String] + attr_accessor :units + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + @currency_code = args[:currency_code] if args.key?(:currency_code) + end + end + + # Analytics aggregated data for a `Company` for a given date range. + class AnalyticsSummary + include Google::Apis::Core::Hashable + + # Aggregated number of times users saw the `Company` + # in Google Partners Search results for given date range. + # Corresponds to the JSON property `searchViewsCount` + # @return [Fixnum] + attr_accessor :search_views_count + + # Aggregated number of times users contacted the `Company` + # for given date range. + # Corresponds to the JSON property `contactsCount` + # @return [Fixnum] + attr_accessor :contacts_count + + # Aggregated number of profile views for the `Company` for given date range. + # Corresponds to the JSON property `profileViewsCount` + # @return [Fixnum] + attr_accessor :profile_views_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @search_views_count = args[:search_views_count] if args.key?(:search_views_count) + @contacts_count = args[:contacts_count] if args.key?(:contacts_count) + @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count) + end + end + + # Request message for + # LogClientMessage. class LogMessageRequest include Google::Apis::Core::Hashable @@ -417,14 +1243,24 @@ module Google end end - # Response message for LogClientMessage. - class LogMessageResponse + # Debug information about this request. + class DebugInfo include Google::Apis::Core::Hashable - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata + # Info about the server that serviced this request. + # Corresponds to the JSON property `serverInfo` + # @return [String] + attr_accessor :server_info + + # Server-side debug stack trace. + # Corresponds to the JSON property `serverTraceInfo` + # @return [String] + attr_accessor :server_trace_info + + # URL of the service that handled this request. + # Corresponds to the JSON property `serviceUrl` + # @return [String] + attr_accessor :service_url def initialize(**args) update!(**args) @@ -432,327 +1268,229 @@ module Google # Update properties of this object def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @server_info = args[:server_info] if args.key?(:server_info) + @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info) + @service_url = args[:service_url] if args.key?(:service_url) end end - # Response message for ListUserStates. - class ListUserStatesResponse + # A lead resource that represents an advertiser contact for a `Company`. These + # are usually generated via Google Partner Search (the advertiser portal). + class Lead include Google::Apis::Core::Hashable - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata + # First name of lead source. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `minMonthlyBudget` + # @return [Google::Apis::PartnersV2::Money] + attr_accessor :min_monthly_budget + + # Website URL of lead source. + # Corresponds to the JSON property `websiteUrl` + # @return [String] + attr_accessor :website_url + + # Language code of the lead's language preference, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # The lead's state in relation to the company. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # List of reasons for using Google Partner Search and creating a lead. + # Corresponds to the JSON property `gpsMotivations` + # @return [Array] + attr_accessor :gps_motivations + + # Email address of lead source. + # Corresponds to the JSON property `email` + # @return [String] + attr_accessor :email + + # Last name of lead source. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # ID of the lead. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Comments lead source gave. + # Corresponds to the JSON property `comments` + # @return [String] + attr_accessor :comments + + # Phone number of lead source. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # The AdWords Customer ID of the lead. + # Corresponds to the JSON property `adwordsCustomerId` + # @return [String] + attr_accessor :adwords_customer_id + + # Timestamp of when this lead was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Whether or not the lead signed up for marketing emails + # Corresponds to the JSON property `marketingOptIn` + # @return [Boolean] + attr_accessor :marketing_opt_in + alias_method :marketing_opt_in?, :marketing_opt_in + + # Type of lead. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @given_name = args[:given_name] if args.key?(:given_name) + @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget) + @website_url = args[:website_url] if args.key?(:website_url) + @language_code = args[:language_code] if args.key?(:language_code) + @state = args[:state] if args.key?(:state) + @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations) + @email = args[:email] if args.key?(:email) + @family_name = args[:family_name] if args.key?(:family_name) + @id = args[:id] if args.key?(:id) + @comments = args[:comments] if args.key?(:comments) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id) + @create_time = args[:create_time] if args.key?(:create_time) + @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in) + @type = args[:type] if args.key?(:type) + end + end + + # Response message for + # ListUserStates. + class ListUserStatesResponse + include Google::Apis::Core::Hashable # User's states. # Corresponds to the JSON property `userStates` # @return [Array] attr_accessor :user_states - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @user_states = args[:user_states] if args.key?(:user_states) - end - end - - # Response message for GetCompany. - class GetCompanyResponse - include Google::Apis::Core::Hashable - # Common data that is in each API response. # Corresponds to the JSON property `responseMetadata` # @return [Google::Apis::PartnersV2::ResponseMetadata] attr_accessor :response_metadata - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - # Corresponds to the JSON property `company` - # @return [Google::Apis::PartnersV2::Company] - attr_accessor :company - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @user_states = args[:user_states] if args.key?(:user_states) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @company = args[:company] if args.key?(:company) end end - # A company resource in the Google Partners API. Once certified, it qualifies - # for being searched by advertisers. - class Company + # A CompanyRelation resource representing information about a user's + # affiliation and standing with a company in Partners. + class CompanyRelation include Google::Apis::Core::Hashable - # The ID of the company. - # Corresponds to the JSON property `id` + # A URL to a profile photo, e.g. a G+ profile photo. + # Corresponds to the JSON property `logoUrl` # @return [String] - attr_accessor :id + attr_accessor :logo_url - # The name of the company. - # Corresponds to the JSON property `name` + # The timestamp when the user was approved. + # @OutputOnly + # Corresponds to the JSON property `resolvedTimestamp` # @return [String] - attr_accessor :name + attr_accessor :resolved_timestamp - # The list of localized info for the company. - # Corresponds to the JSON property `localizedInfos` - # @return [Array] - attr_accessor :localized_infos + # Indicates if the user is an admin for this company. + # Corresponds to the JSON property `companyAdmin` + # @return [Boolean] + attr_accessor :company_admin + alias_method :company_admin?, :company_admin - # The list of company locations. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `convertedMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :converted_min_monthly_budget - - # Represents an amount of money with its currency type. - # Corresponds to the JSON property `originalMinMonthlyBudget` - # @return [Google::Apis::PartnersV2::Money] - attr_accessor :original_min_monthly_budget - - # Basic information from a public profile. - # Corresponds to the JSON property `publicProfile` - # @return [Google::Apis::PartnersV2::PublicProfile] - attr_accessor :public_profile - - # The list of Google Partners certification statuses for the company. - # Corresponds to the JSON property `certificationStatuses` - # @return [Array] - attr_accessor :certification_statuses - - # Information related to the ranking of the company within the list of companies. - # Corresponds to the JSON property `ranks` - # @return [Array] - attr_accessor :ranks - - # URL of the company's website. - # Corresponds to the JSON property `websiteUrl` - # @return [String] - attr_accessor :website_url - - # Industries the company can help with. - # Corresponds to the JSON property `industries` - # @return [Array] - attr_accessor :industries - - # Services the company can help with. - # Corresponds to the JSON property `services` - # @return [Array] - attr_accessor :services - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @name = args[:name] if args.key?(:name) - @localized_infos = args[:localized_infos] if args.key?(:localized_infos) - @locations = args[:locations] if args.key?(:locations) - @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget) - @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget) - @public_profile = args[:public_profile] if args.key?(:public_profile) - @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses) - @ranks = args[:ranks] if args.key?(:ranks) - @website_url = args[:website_url] if args.key?(:website_url) - @industries = args[:industries] if args.key?(:industries) - @services = args[:services] if args.key?(:services) - end - end - - # The localized company information. - class LocalizedCompanyInfo - include Google::Apis::Core::Hashable - - # Language code of the localized company info, as defined by BCP 47 (IETF BCP 47, - # "Tags for Identifying Languages"). - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # Localized display name. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Localized brief description that the company uses to advertise themselves. - # Corresponds to the JSON property `overview` - # @return [String] - attr_accessor :overview - - # List of country codes for the localized company info. - # Corresponds to the JSON property `countryCodes` - # @return [Array] - attr_accessor :country_codes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @language_code = args[:language_code] if args.key?(:language_code) - @display_name = args[:display_name] if args.key?(:display_name) - @overview = args[:overview] if args.key?(:overview) - @country_codes = args[:country_codes] if args.key?(:country_codes) - end - end - - # A location with address and geographic coordinates. - class Location - include Google::Apis::Core::Hashable - - # The complete address of the location. + # The primary address for this company. # Corresponds to the JSON property `address` # @return [String] attr_accessor :address - # 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) - # Corresponds to the JSON property `latLng` - # @return [Google::Apis::PartnersV2::LatLng] - attr_accessor :lat_lng - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @address = args[:address] if args.key?(:address) - @lat_lng = args[:lat_lng] if args.key?(:lat_lng) - end - end - - # 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) - class LatLng - include Google::Apis::Core::Hashable - - # The latitude in degrees. It must be in the range [-90.0, +90.0]. - # Corresponds to the JSON property `latitude` - # @return [Float] - attr_accessor :latitude - - # The longitude in degrees. It must be in the range [-180.0, +180.0]. - # Corresponds to the JSON property `longitude` - # @return [Float] - attr_accessor :longitude - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @latitude = args[:latitude] if args.key?(:latitude) - @longitude = args[:longitude] if args.key?(:longitude) - end - end - - # Basic information from a public profile. - class PublicProfile - include Google::Apis::Core::Hashable - - # The ID which can be used to retrieve more details about the public profile. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # The display name of the public profile. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # The URL of the public profile. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # The URL to the main display image of the public profile. - # Corresponds to the JSON property `displayImageUrl` - # @return [String] - attr_accessor :display_image_url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @display_name = args[:display_name] if args.key?(:display_name) - @url = args[:url] if args.key?(:url) - @display_image_url = args[:display_image_url] if args.key?(:display_image_url) - end - end - - # Google Partners certification status. - class CertificationStatus - include Google::Apis::Core::Hashable - - # The type of the certification. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # List of certification exam statuses. - # Corresponds to the JSON property `examStatuses` - # @return [Array] - attr_accessor :exam_statuses - - # Whether certification is passing. - # Corresponds to the JSON property `isCertified` + # The flag that indicates if the company is pending verification. + # Corresponds to the JSON property `isPending` # @return [Boolean] - attr_accessor :is_certified - alias_method :is_certified?, :is_certified + attr_accessor :is_pending + alias_method :is_pending?, :is_pending + + # The timestamp of when affiliation was requested. + # @OutputOnly + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # The state of relationship, in terms of approvals. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # The AdWords manager account # associated this company. + # Corresponds to the JSON property `managerAccount` + # @return [String] + attr_accessor :manager_account + + # The name (in the company's primary language) for the company. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The segment the company is classified as. + # Corresponds to the JSON property `segment` + # @return [Array] + attr_accessor :segment + + # The list of Google Partners specialization statuses for the company. + # Corresponds to the JSON property `specializationStatus` + # @return [Array] + attr_accessor :specialization_status + + # Whether the company is a Partner. + # Corresponds to the JSON property `badgeTier` + # @return [String] + attr_accessor :badge_tier + + # The website URL for this company. + # Corresponds to the JSON property `website` + # @return [String] + attr_accessor :website + + # The phone number for the company's primary address. + # Corresponds to the JSON property `phoneNumber` + # @return [String] + attr_accessor :phone_number + + # The ID of the company. There may be no id if this is a + # pending company.5 + # Corresponds to the JSON property `companyId` + # @return [String] + attr_accessor :company_id def initialize(**args) update!(**args) @@ -760,25 +1498,50 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) - @is_certified = args[:is_certified] if args.key?(:is_certified) + @logo_url = args[:logo_url] if args.key?(:logo_url) + @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp) + @company_admin = args[:company_admin] if args.key?(:company_admin) + @address = args[:address] if args.key?(:address) + @is_pending = args[:is_pending] if args.key?(:is_pending) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @state = args[:state] if args.key?(:state) + @manager_account = args[:manager_account] if args.key?(:manager_account) + @name = args[:name] if args.key?(:name) + @segment = args[:segment] if args.key?(:segment) + @specialization_status = args[:specialization_status] if args.key?(:specialization_status) + @badge_tier = args[:badge_tier] if args.key?(:badge_tier) + @website = args[:website] if args.key?(:website) + @phone_number = args[:phone_number] if args.key?(:phone_number) + @company_id = args[:company_id] if args.key?(:company_id) end end - # Status for a Google Partners certification exam. - class CertificationExamStatus + # 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 include Google::Apis::Core::Hashable - # The type of certification exam. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The number of people who have passed the certification exam. - # Corresponds to the JSON property `numberUsersPass` + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` # @return [Fixnum] - attr_accessor :number_users_pass + attr_accessor :year + + # 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. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month def initialize(**args) update!(**args) @@ -786,56 +1549,48 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) end end - # Information related to ranking of results. - class Rank + # 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 include Google::Apis::Core::Hashable - # The type of rank. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The numerical value of the rank. - # Corresponds to the JSON property `value` - # @return [Float] - attr_accessor :value - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @value = args[:value] if args.key?(:value) end end - # Response message for ListCompanies. - class ListCompaniesResponse + # Source of traffic for the current request. + class TrafficSource include Google::Apis::Core::Hashable - # Common data that is in each API response. - # Corresponds to the JSON property `responseMetadata` - # @return [Google::Apis::PartnersV2::ResponseMetadata] - attr_accessor :response_metadata - - # The list of companies. - # Corresponds to the JSON property `companies` - # @return [Array] - attr_accessor :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. - # Corresponds to the JSON property `nextPageToken` + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # Corresponds to the JSON property `trafficSourceId` # @return [String] - attr_accessor :next_page_token + attr_accessor :traffic_source_id + + # 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. + # Corresponds to the JSON property `trafficSubId` + # @return [String] + attr_accessor :traffic_sub_id def initialize(**args) update!(**args) @@ -843,9 +1598,8 @@ module Google # Update properties of this object def update!(**args) - @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @companies = args[:companies] if args.key?(:companies) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @traffic_source_id = args[:traffic_source_id] if args.key?(:traffic_source_id) + @traffic_sub_id = args[:traffic_sub_id] if args.key?(:traffic_sub_id) end end @@ -864,7 +1618,7 @@ module Google # @return [Google::Apis::PartnersV2::Lead] attr_accessor :lead - # reCaptcha challenge info. + # reCaptcha challenge info. # Corresponds to the JSON property `recaptchaChallenge` # @return [Google::Apis::PartnersV2::RecaptchaChallenge] attr_accessor :recaptcha_challenge @@ -881,19 +1635,35 @@ module Google end end - # reCaptcha challenge info. - class RecaptchaChallenge + # Common data that is in each API request. + class RequestMetadata include Google::Apis::Core::Hashable - # The ID of the reCaptcha challenge. - # Corresponds to the JSON property `id` + # Locale to use for the current request. + # Corresponds to the JSON property `locale` # @return [String] - attr_accessor :id + attr_accessor :locale - # The response to the reCaptcha challenge. - # Corresponds to the JSON property `response` + # Values to use instead of the user's respective defaults. These are only + # honored by whitelisted products. + # Corresponds to the JSON property `userOverrides` + # @return [Google::Apis::PartnersV2::UserOverrides] + attr_accessor :user_overrides + + # Google Partners session ID. + # Corresponds to the JSON property `partnersSessionId` # @return [String] - attr_accessor :response + attr_accessor :partners_session_id + + # Experiment IDs the current request belongs to. + # Corresponds to the JSON property `experimentIds` + # @return [Array] + attr_accessor :experiment_ids + + # Source of traffic for the current request. + # Corresponds to the JSON property `trafficSource` + # @return [Google::Apis::PartnersV2::TrafficSource] + attr_accessor :traffic_source def initialize(**args) update!(**args) @@ -901,13 +1671,161 @@ module Google # Update properties of this object def update!(**args) - @id = args[:id] if args.key?(:id) - @response = args[:response] if args.key?(:response) + @locale = args[:locale] if args.key?(:locale) + @user_overrides = args[:user_overrides] if args.key?(:user_overrides) + @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id) + @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids) + @traffic_source = args[:traffic_source] if args.key?(:traffic_source) end end - # Response message for CreateLead. Debug information about this request. - class CreateLeadResponse + # Key value data pair for an event. + class EventData + include Google::Apis::Core::Hashable + + # Data type. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # Data values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @values = args[:values] if args.key?(:values) + end + end + + # A user's information on a specific exam. + class ExamStatus + include Google::Apis::Core::Hashable + + # Whether this exam has been passed and not expired. + # Corresponds to the JSON property `passed` + # @return [Boolean] + attr_accessor :passed + alias_method :passed?, :passed + + # The date the user last taken this exam. + # Corresponds to the JSON property `taken` + # @return [String] + attr_accessor :taken + + # Whether this exam is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + + # Date this exam is due to expire. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # The date the user last passed this exam. + # Corresponds to the JSON property `lastPassed` + # @return [String] + attr_accessor :last_passed + + # The type of the exam. + # Corresponds to the JSON property `examType` + # @return [String] + attr_accessor :exam_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @passed = args[:passed] if args.key?(:passed) + @taken = args[:taken] if args.key?(:taken) + @warning = args[:warning] if args.key?(:warning) + @expiration = args[:expiration] if args.key?(:expiration) + @last_passed = args[:last_passed] if args.key?(:last_passed) + @exam_type = args[:exam_type] if args.key?(:exam_type) + end + end + + # Response for ListOffer. + class ListOffersResponse + include Google::Apis::Core::Hashable + + # Available Offers to be distributed. + # Corresponds to the JSON property `availableOffers` + # @return [Array] + attr_accessor :available_offers + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # Reason why no Offers are available. + # Corresponds to the JSON property `noOfferReason` + # @return [String] + attr_accessor :no_offer_reason + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @available_offers = args[:available_offers] if args.key?(:available_offers) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason) + end + end + + # Offer info by country. + class CountryOfferInfo + include Google::Apis::Core::Hashable + + # Country code for which offer codes may be requested. + # Corresponds to the JSON property `offerCountryCode` + # @return [String] + attr_accessor :offer_country_code + + # (localized) Spend X amount for that country's offer. + # Corresponds to the JSON property `spendXAmount` + # @return [String] + attr_accessor :spend_x_amount + + # Type of offer country is eligible for. + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # (localized) Get Y amount for that country's offer. + # Corresponds to the JSON property `getYAmount` + # @return [String] + attr_accessor :get_y_amount + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code) + @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) + end + end + + # Response message for + # ListCompanies. + class ListCompaniesResponse include Google::Apis::Core::Hashable # Common data that is in each API response. @@ -915,16 +1833,19 @@ module Google # @return [Google::Apis::PartnersV2::ResponseMetadata] attr_accessor :response_metadata - # A lead resource that represents an advertiser contact for a `Company`. These - # are usually generated via Google Partner Search (the advertiser portal). - # Corresponds to the JSON property `lead` - # @return [Google::Apis::PartnersV2::Lead] - attr_accessor :lead + # The list of companies. + # Corresponds to the JSON property `companies` + # @return [Array] + attr_accessor :companies - # The outcome of reCaptcha validation. - # Corresponds to the JSON property `recaptchaStatus` + # 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. + # Corresponds to the JSON property `nextPageToken` # @return [String] - attr_accessor :recaptcha_status + attr_accessor :next_page_token def initialize(**args) update!(**args) @@ -933,8 +1854,441 @@ module Google # Update properties of this object def update!(**args) @response_metadata = args[:response_metadata] if args.key?(:response_metadata) - @lead = args[:lead] if args.key?(:lead) - @recaptcha_status = args[:recaptcha_status] if args.key?(:recaptcha_status) + @companies = args[:companies] if args.key?(:companies) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Customers qualified for an offer. + class OfferCustomer + include Google::Apis::Core::Hashable + + # Country code of the customer. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # Time the customer was created. + # Corresponds to the JSON property `creationTime` + # @return [String] + attr_accessor :creation_time + + # Days the customer is still eligible. + # Corresponds to the JSON property `eligibilityDaysLeft` + # @return [Fixnum] + attr_accessor :eligibility_days_left + + # Type of the offer + # Corresponds to the JSON property `offerType` + # @return [String] + attr_accessor :offer_type + + # External CID for the customer. + # Corresponds to the JSON property `externalCid` + # @return [String] + attr_accessor :external_cid + + # Formatted Get Y amount with currency code. + # Corresponds to the JSON property `getYAmount` + # @return [String] + attr_accessor :get_y_amount + + # Name of the customer. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Formatted Spend X amount with currency code. + # Corresponds to the JSON property `spendXAmount` + # @return [String] + attr_accessor :spend_x_amount + + # URL to the customer's AdWords page. + # Corresponds to the JSON property `adwordsUrl` + # @return [String] + attr_accessor :adwords_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @creation_time = args[:creation_time] if args.key?(:creation_time) + @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left) + @offer_type = args[:offer_type] if args.key?(:offer_type) + @external_cid = args[:external_cid] if args.key?(:external_cid) + @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount) + @name = args[:name] if args.key?(:name) + @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount) + @adwords_url = args[:adwords_url] if args.key?(:adwords_url) + end + end + + # Google Partners certification status. + class CertificationStatus + include Google::Apis::Core::Hashable + + # List of certification exam statuses. + # Corresponds to the JSON property `examStatuses` + # @return [Array] + attr_accessor :exam_statuses + + # The type of the certification. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Number of people who are certified, + # Corresponds to the JSON property `userCount` + # @return [Fixnum] + attr_accessor :user_count + + # Whether certification is passing. + # Corresponds to the JSON property `isCertified` + # @return [Boolean] + attr_accessor :is_certified + alias_method :is_certified?, :is_certified + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @exam_statuses = args[:exam_statuses] if args.key?(:exam_statuses) + @type = args[:type] if args.key?(:type) + @user_count = args[:user_count] if args.key?(:user_count) + @is_certified = args[:is_certified] if args.key?(:is_certified) + end + end + + # The localized company information. + class LocalizedCompanyInfo + include Google::Apis::Core::Hashable + + # Language code of the localized company info, as defined by + # BCP 47 + # (IETF BCP 47, "Tags for Identifying Languages"). + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # List of country codes for the localized company info. + # Corresponds to the JSON property `countryCodes` + # @return [Array] + attr_accessor :country_codes + + # Localized brief description that the company uses to advertise themselves. + # Corresponds to the JSON property `overview` + # @return [String] + attr_accessor :overview + + # Localized display name. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_code = args[:language_code] if args.key?(:language_code) + @country_codes = args[:country_codes] if args.key?(:country_codes) + @overview = args[:overview] if args.key?(:overview) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # Response message for + # LogUserEvent. + class LogUserEventResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Response for ListOfferHistory. + class ListOffersHistoryResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # True if the user has the option to show entire company history. + # Corresponds to the JSON property `canShowEntireCompany` + # @return [Boolean] + attr_accessor :can_show_entire_company + alias_method :can_show_entire_company?, :can_show_entire_company + + # Number of results across all pages. + # Corresponds to the JSON property `totalResults` + # @return [Fixnum] + attr_accessor :total_results + + # True if this response is showing entire company history. + # Corresponds to the JSON property `showingEntireCompany` + # @return [Boolean] + attr_accessor :showing_entire_company + alias_method :showing_entire_company?, :showing_entire_company + + # Historical offers meeting request. + # Corresponds to the JSON property `offers` + # @return [Array] + attr_accessor :offers + + # Supply this token in a ListOffersHistoryRequest to retrieve the next page. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @can_show_entire_company = args[:can_show_entire_company] if args.key?(:can_show_entire_company) + @total_results = args[:total_results] if args.key?(:total_results) + @showing_entire_company = args[:showing_entire_company] if args.key?(:showing_entire_company) + @offers = args[:offers] if args.key?(:offers) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Response message for + # LogClientMessage. + class LogMessageResponse + include Google::Apis::Core::Hashable + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + end + end + + # Agency specialization status + class SpecializationStatus + include Google::Apis::Core::Hashable + + # The specialization this status is for. + # Corresponds to the JSON property `badgeSpecialization` + # @return [String] + attr_accessor :badge_specialization + + # State of agency specialization. + # Corresponds to the JSON property `badgeSpecializationState` + # @return [String] + attr_accessor :badge_specialization_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @badge_specialization = args[:badge_specialization] if args.key?(:badge_specialization) + @badge_specialization_state = args[:badge_specialization_state] if args.key?(:badge_specialization_state) + end + end + + # A user's information on a specific certification. + class Certification + include Google::Apis::Core::Hashable + + # Whether this certification has been achieved. + # Corresponds to the JSON property `achieved` + # @return [Boolean] + attr_accessor :achieved + alias_method :achieved?, :achieved + + # Date this certification is due to expire. + # Corresponds to the JSON property `expiration` + # @return [String] + attr_accessor :expiration + + # Whether this certification is in the state of warning. + # Corresponds to the JSON property `warning` + # @return [Boolean] + attr_accessor :warning + alias_method :warning?, :warning + + # The type of certification, the area of expertise. + # Corresponds to the JSON property `certificationType` + # @return [String] + attr_accessor :certification_type + + # The date the user last achieved certification. + # Corresponds to the JSON property `lastAchieved` + # @return [String] + attr_accessor :last_achieved + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @achieved = args[:achieved] if args.key?(:achieved) + @expiration = args[:expiration] if args.key?(:expiration) + @warning = args[:warning] if args.key?(:warning) + @certification_type = args[:certification_type] if args.key?(:certification_type) + @last_achieved = args[:last_achieved] if args.key?(:last_achieved) + end + end + + # A resource representing a user of the Partners platform. + class User + include Google::Apis::Core::Hashable + + # A CompanyRelation resource representing information about a user's + # affiliation and standing with a company in Partners. + # Corresponds to the JSON property `company` + # @return [Google::Apis::PartnersV2::CompanyRelation] + attr_accessor :company + + # The profile information of a Partners user. + # Corresponds to the JSON property `profile` + # @return [Google::Apis::PartnersV2::UserProfile] + attr_accessor :profile + + # The most recent time the user interacted with the Partners site. + # @OutputOnly + # Corresponds to the JSON property `lastAccessTime` + # @return [String] + attr_accessor :last_access_time + + # The list of emails the user has access to/can select as primary. + # @OutputOnly + # Corresponds to the JSON property `primaryEmails` + # @return [Array] + attr_accessor :primary_emails + + # 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 + # Corresponds to the JSON property `availableAdwordsManagerAccounts` + # @return [Array] + attr_accessor :available_adwords_manager_accounts + + # The list of exams the user ever taken. For each type of exam, only one + # entry is listed. + # Corresponds to the JSON property `examStatus` + # @return [Array] + attr_accessor :exam_status + + # The ID of the user. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Basic information from a public profile. + # Corresponds to the JSON property `publicProfile` + # @return [Google::Apis::PartnersV2::PublicProfile] + attr_accessor :public_profile + + # The list of achieved certifications. These are calculated based on exam + # results and other requirements. + # @OutputOnly + # Corresponds to the JSON property `certificationStatus` + # @return [Array] + attr_accessor :certification_status + + # The email address used by the user used for company verification. + # @OutputOnly + # Corresponds to the JSON property `companyVerificationEmail` + # @return [String] + attr_accessor :company_verification_email + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @company = args[:company] if args.key?(:company) + @profile = args[:profile] if args.key?(:profile) + @last_access_time = args[:last_access_time] if args.key?(:last_access_time) + @primary_emails = args[:primary_emails] if args.key?(:primary_emails) + @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts) + @exam_status = args[:exam_status] if args.key?(:exam_status) + @id = args[:id] if args.key?(:id) + @public_profile = args[:public_profile] if args.key?(:public_profile) + @certification_status = args[:certification_status] if args.key?(:certification_status) + @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email) + end + end + + # Response message for + # ListAnalytics. + class ListAnalyticsResponse + include Google::Apis::Core::Hashable + + # The list of analytics. + # Sorted in ascending order of + # Analytics.event_date. + # Corresponds to the JSON property `analytics` + # @return [Array] + attr_accessor :analytics + + # 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. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Common data that is in each API response. + # Corresponds to the JSON property `responseMetadata` + # @return [Google::Apis::PartnersV2::ResponseMetadata] + attr_accessor :response_metadata + + # Analytics aggregated data for a `Company` for a given date range. + # Corresponds to the JSON property `analyticsSummary` + # @return [Google::Apis::PartnersV2::AnalyticsSummary] + attr_accessor :analytics_summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @analytics = args[:analytics] if args.key?(:analytics) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @response_metadata = args[:response_metadata] if args.key?(:response_metadata) + @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary) end end end diff --git a/generated/google/apis/partners_v2/representations.rb b/generated/google/apis/partners_v2/representations.rb index dd2c093f2..3b946173b 100644 --- a/generated/google/apis/partners_v2/representations.rb +++ b/generated/google/apis/partners_v2/representations.rb @@ -22,151 +22,13 @@ module Google module Apis module PartnersV2 - class LogUserEventRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RequestMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UserOverrides - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TrafficSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EventData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Lead - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Money - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogUserEventResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ResponseMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DebugInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogMessageRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LogMessageResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListUserStatesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetCompanyResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Company class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class LocalizedCompanyInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Location - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LatLng - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublicProfile - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CertificationStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CertificationExamStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Rank - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListCompaniesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CreateLeadRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RecaptchaChallenge + class ListLeadsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -178,90 +40,515 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GetCompanyResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Location + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CertificationExamStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExamToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptIns + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Rank + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetPartnersStatusResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class HistoricalOffer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LogUserEventRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UserOverrides + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyticsDataPoint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Analytics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AdWordsManagerAccountInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PublicProfile + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResponseMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecaptchaChallenge + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AvailableOffer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Money + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnalyticsSummary + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogMessageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DebugInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Lead + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListUserStatesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CompanyRelation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TrafficSource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLeadRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RequestMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EventData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExamStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOffersResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CountryOfferInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListCompaniesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OfferCustomer + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CertificationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocalizedCompanyInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogUserEventResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOffersHistoryResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogMessageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpecializationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Certification + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class User + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListAnalyticsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Company # @private class Representation < Google::Apis::Core::JsonRepresentation - property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - property :event_action, as: 'eventAction' - property :event_category, as: 'eventCategory' - property :event_scope, as: 'eventScope' - collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation + collection :industries, as: 'industries' + property :website_url, as: 'websiteUrl' + collection :additional_websites, as: 'additionalWebsites' + property :primary_adwords_manager_account_id, as: 'primaryAdwordsManagerAccountId' + property :name, as: 'name' + collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation - property :url, as: 'url' - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation + + property :id, as: 'id' + collection :services, as: 'services' + property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation + + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + + property :badge_tier, as: 'badgeTier' + collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains' + collection :company_types, as: 'companyTypes' + property :profile_status, as: 'profileStatus' + property :primary_language_code, as: 'primaryLanguageCode' + collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation end end - class RequestMetadata + class ListLeadsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - property :locale, as: 'locale' - property :partners_session_id, as: 'partnersSessionId' - collection :experiment_ids, as: 'experimentIds' - property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation + property :total_size, as: 'totalSize' + collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation end end + class CreateLeadResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :recaptcha_status, as: 'recaptchaStatus' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class GetCompanyResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + + end + end + + class Location + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :postal_code, as: 'postalCode' + property :language_code, as: 'languageCode' + property :sorting_code, as: 'sortingCode' + collection :address_line, as: 'addressLine' + property :administrative_area, as: 'administrativeArea' + property :locality, as: 'locality' + property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + + property :address, as: 'address' + property :dependent_locality, as: 'dependentLocality' + property :region_code, as: 'regionCode' + end + end + + class CertificationExamStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :number_users_pass, as: 'numberUsersPass' + property :type, as: 'type' + end + end + + class ExamToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :exam_id, as: 'examId' + property :token, as: 'token' + property :exam_type, as: 'examType' + end + end + + class OptIns + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :physical_mail, as: 'physicalMail' + property :phone_contact, as: 'phoneContact' + property :market_comm, as: 'marketComm' + property :special_offers, as: 'specialOffers' + property :performance_suggestions, as: 'performanceSuggestions' + end + end + + class Rank + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :value, as: 'value' + end + end + + class UserProfile + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :given_name, as: 'givenName' + property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation + + collection :industries, as: 'industries' + collection :languages, as: 'languages' + property :family_name, as: 'familyName' + property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation + + collection :markets, as: 'markets' + property :phone_number, as: 'phoneNumber' + property :adwords_manager_account, as: 'adwordsManagerAccount' + property :primary_country_code, as: 'primaryCountryCode' + property :email_address, as: 'emailAddress' + property :profile_public, as: 'profilePublic' + collection :channels, as: 'channels' + collection :job_functions, as: 'jobFunctions' + end + end + + class GetPartnersStatusResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class HistoricalOffer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :client_id, as: 'clientId' + property :client_name, as: 'clientName' + property :last_modified_time, as: 'lastModifiedTime' + property :adwords_url, as: 'adwordsUrl' + property :offer_type, as: 'offerType' + property :sender_name, as: 'senderName' + property :offer_country_code, as: 'offerCountryCode' + property :expiration_time, as: 'expirationTime' + property :offer_code, as: 'offerCode' + property :creation_time, as: 'creationTime' + property :client_email, as: 'clientEmail' + property :status, as: 'status' + end + end + + class LogUserEventRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :url, as: 'url' + property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation + + collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation + + property :event_scope, as: 'eventScope' + property :event_category, as: 'eventCategory' + property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + + property :event_action, as: 'eventAction' + end + end + class UserOverrides # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ip_address, as: 'ipAddress' property :user_id, as: 'userId' + property :ip_address, as: 'ipAddress' end end - class TrafficSource + class AnalyticsDataPoint # @private class Representation < Google::Apis::Core::JsonRepresentation - property :traffic_source_id, as: 'trafficSourceId' - property :traffic_sub_id, as: 'trafficSubId' + property :event_count, as: 'eventCount' + collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + end end - class EventData + class Analytics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :key, as: 'key' - collection :values, as: 'values' + property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation + + property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + + property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation + end end - class Lead + class AdWordsManagerAccountInfo # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' - property :type, as: 'type' - property :email, as: 'email' - property :given_name, as: 'givenName' - property :family_name, as: 'familyName' - property :website_url, as: 'websiteUrl' - property :phone_number, as: 'phoneNumber' - property :comments, as: 'comments' - collection :gps_motivations, as: 'gpsMotivations' - property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - + property :customer_name, as: 'customerName' end end - class Money + class PublicProfile # @private class Representation < Google::Apis::Core::JsonRepresentation - property :currency_code, as: 'currencyCode' - property :units, as: 'units' - property :nanos, as: 'nanos' - end - end - - class LogUserEventResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - + property :profile_image, as: 'profileImage' + property :display_name, as: 'displayName' + property :display_image_url, as: 'displayImageUrl' + property :id, as: 'id' + property :url, as: 'url' end end @@ -273,12 +560,57 @@ module Google end end - class DebugInfo + class RecaptchaChallenge # @private class Representation < Google::Apis::Core::JsonRepresentation - property :server_info, as: 'serverInfo' - property :service_url, as: 'serviceUrl' - property :server_trace_info, as: 'serverTraceInfo' + property :id, as: 'id' + property :response, as: 'response' + end + end + + class AvailableOffer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :offer_type, as: 'offerType' + property :max_account_age, as: 'maxAccountAge' + collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation + + property :terms, as: 'terms' + property :show_special_offer_copy, as: 'showSpecialOfferCopy' + property :available, as: 'available' + property :description, as: 'description' + property :offer_level, as: 'offerLevel' + property :name, as: 'name' + property :qualified_customers_complete, as: 'qualifiedCustomersComplete' + property :id, as: 'id' + collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation + + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :longitude, as: 'longitude' + property :latitude, as: 'latitude' + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :nanos, as: 'nanos' + property :units, as: 'units' + property :currency_code, as: 'currencyCode' + end + end + + class AnalyticsSummary + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :search_views_count, as: 'searchViewsCount' + property :contacts_count, as: 'contactsCount' + property :profile_views_count, as: 'profileViewsCount' end end @@ -293,129 +625,88 @@ module Google end end - class LogMessageResponse + class DebugInfo # @private class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + property :server_info, as: 'serverInfo' + property :server_trace_info, as: 'serverTraceInfo' + property :service_url, as: 'serviceUrl' + end + end + class Lead + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :given_name, as: 'givenName' + property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation + + property :website_url, as: 'websiteUrl' + property :language_code, as: 'languageCode' + property :state, as: 'state' + collection :gps_motivations, as: 'gpsMotivations' + property :email, as: 'email' + property :family_name, as: 'familyName' + property :id, as: 'id' + property :comments, as: 'comments' + property :phone_number, as: 'phoneNumber' + property :adwords_customer_id, as: 'adwordsCustomerId' + property :create_time, as: 'createTime' + property :marketing_opt_in, as: 'marketingOptIn' + property :type, as: 'type' end end class ListUserStatesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - collection :user_states, as: 'userStates' - end - end - - class GetCompanyResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation - end end - class Company - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :name, as: 'name' - collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation - - collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation - - property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation - - property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation - - collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation - - collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation - - property :website_url, as: 'websiteUrl' - collection :industries, as: 'industries' - collection :services, as: 'services' - end - end - - class LocalizedCompanyInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :language_code, as: 'languageCode' - property :display_name, as: 'displayName' - property :overview, as: 'overview' - collection :country_codes, as: 'countryCodes' - end - end - - class Location + class CompanyRelation # @private class Representation < Google::Apis::Core::JsonRepresentation + property :logo_url, as: 'logoUrl' + property :resolved_timestamp, as: 'resolvedTimestamp' + property :company_admin, as: 'companyAdmin' property :address, as: 'address' - property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation + property :is_pending, as: 'isPending' + property :creation_time, as: 'creationTime' + property :state, as: 'state' + property :manager_account, as: 'managerAccount' + property :name, as: 'name' + collection :segment, as: 'segment' + collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation + property :badge_tier, as: 'badgeTier' + property :website, as: 'website' + property :phone_number, as: 'phoneNumber' + property :company_id, as: 'companyId' end end - class LatLng + class Date # @private class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' end end - class PublicProfile + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :display_name, as: 'displayName' - property :url, as: 'url' - property :display_image_url, as: 'displayImageUrl' end end - class CertificationStatus + class TrafficSource # @private class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation - - property :is_certified, as: 'isCertified' - end - end - - class CertificationExamStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :number_users_pass, as: 'numberUsersPass' - end - end - - class Rank - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :value, as: 'value' - end - end - - class ListCompaniesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - - collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation - - property :next_page_token, as: 'nextPageToken' + property :traffic_source_id, as: 'trafficSourceId' + property :traffic_sub_id, as: 'trafficSubId' end end @@ -431,22 +722,188 @@ module Google end end - class RecaptchaChallenge + class RequestMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :response, as: 'response' + property :locale, as: 'locale' + property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation + + property :partners_session_id, as: 'partnersSessionId' + collection :experiment_ids, as: 'experimentIds' + property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation + end end - class CreateLeadResponse + class EventData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + collection :values, as: 'values' + end + end + + class ExamStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :passed, as: 'passed' + property :taken, as: 'taken' + property :warning, as: 'warning' + property :expiration, as: 'expiration' + property :last_passed, as: 'lastPassed' + property :exam_type, as: 'examType' + end + end + + class ListOffersResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation + + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :no_offer_reason, as: 'noOfferReason' + end + end + + class CountryOfferInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :offer_country_code, as: 'offerCountryCode' + property :spend_x_amount, as: 'spendXAmount' + property :offer_type, as: 'offerType' + property :get_y_amount, as: 'getYAmount' + end + end + + class ListCompaniesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation - property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation + collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class OfferCustomer + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :creation_time, as: 'creationTime' + property :eligibility_days_left, as: 'eligibilityDaysLeft' + property :offer_type, as: 'offerType' + property :external_cid, as: 'externalCid' + property :get_y_amount, as: 'getYAmount' + property :name, as: 'name' + property :spend_x_amount, as: 'spendXAmount' + property :adwords_url, as: 'adwordsUrl' + end + end + + class CertificationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation + + property :type, as: 'type' + property :user_count, as: 'userCount' + property :is_certified, as: 'isCertified' + end + end + + class LocalizedCompanyInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :language_code, as: 'languageCode' + collection :country_codes, as: 'countryCodes' + property :overview, as: 'overview' + property :display_name, as: 'displayName' + end + end + + class LogUserEventResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class ListOffersHistoryResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :can_show_entire_company, as: 'canShowEntireCompany' + property :total_results, as: 'totalResults' + property :showing_entire_company, as: 'showingEntireCompany' + collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class LogMessageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + end + end + + class SpecializationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :badge_specialization, as: 'badgeSpecialization' + property :badge_specialization_state, as: 'badgeSpecializationState' + end + end + + class Certification + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :achieved, as: 'achieved' + property :expiration, as: 'expiration' + property :warning, as: 'warning' + property :certification_type, as: 'certificationType' + property :last_achieved, as: 'lastAchieved' + end + end + + class User + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation + + property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation + + property :last_access_time, as: 'lastAccessTime' + collection :primary_emails, as: 'primaryEmails' + collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation + + collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation + + property :id, as: 'id' + property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation + + collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation + + property :company_verification_email, as: 'companyVerificationEmail' + end + end + + class ListAnalyticsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation + + property :next_page_token, as: 'nextPageToken' + property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation + + property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation - property :recaptcha_status, as: 'recaptchaStatus' end end end diff --git a/generated/google/apis/partners_v2/service.rb b/generated/google/apis/partners_v2/service.rb index 766d513ea..d843e9b53 100644 --- a/generated/google/apis/partners_v2/service.rb +++ b/generated/google/apis/partners_v2/service.rb @@ -22,8 +22,8 @@ module Google module PartnersV2 # Google Partners API # - # 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. # # @example # require 'google/apis/partners_v2' @@ -47,91 +47,217 @@ module Google super('https://partners.googleapis.com/', '') end - # Logs a user event. - # @param [Google::Apis::PartnersV2::LogUserEventRequest] log_user_event_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Lists advertiser leads for a user's associated company. + # Should only be called within the context of an authorized logged in user. + # @param [String] order_by + # How to order Leads. Currently, only `create_time` + # and `create_time desc` are supported + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # Requested page size. Server may return fewer leads than requested. + # If unspecified, server picks an appropriate default. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::LogUserEventResponse] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::ListLeadsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::LogUserEventResponse] + # @return [Google::Apis::PartnersV2::ListLeadsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def log_user_event(log_user_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/userEvents:log', options) - command.request_representation = Google::Apis::PartnersV2::LogUserEventRequest::Representation - command.request_object = log_user_event_request_object - command.response_representation = Google::Apis::PartnersV2::LogUserEventResponse::Representation - command.response_class = Google::Apis::PartnersV2::LogUserEventResponse - command.query['fields'] = fields unless fields.nil? + def list_leads(order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/leads', options) + command.response_representation = Google::Apis::PartnersV2::ListLeadsResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListLeadsResponse + command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # 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. - # @param [Google::Apis::PartnersV2::LogMessageRequest] log_message_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Lists the Offers available for the current user + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PartnersV2::LogMessageResponse] parsed result object + # @yieldparam result [Google::Apis::PartnersV2::ListOffersResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::PartnersV2::LogMessageResponse] + # @return [Google::Apis::PartnersV2::ListOffersResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def log_client_message_message(log_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v2/clientMessages:log', options) - command.request_representation = Google::Apis::PartnersV2::LogMessageRequest::Representation - command.request_object = log_message_request_object - command.response_representation = Google::Apis::PartnersV2::LogMessageResponse::Representation - command.response_class = Google::Apis::PartnersV2::LogMessageResponse - command.query['fields'] = fields unless fields.nil? + def list_offers(request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersResponse + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists the Historical Offers for the current user (or user's entire company) + # @param [String] order_by + # 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. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] page_token + # Token to retrieve a specific page. + # @param [Fixnum] page_size + # Maximum number of rows to return per page. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Boolean] entire_company + # if true, show history for the entire company. Requires user to be admin. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListOffersHistoryResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListOffersHistoryResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_offer_histories(order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, entire_company: nil, request_metadata_experiment_ids: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/offers/history', options) + command.response_representation = Google::Apis::PartnersV2::ListOffersHistoryResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListOffersHistoryResponse + command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['entireCompany'] = entire_company unless entire_company.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Lists states for current user. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. # @param [String] request_metadata_user_overrides_user_id # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_locale - # Locale to use for the current request. # @param [String] request_metadata_partners_session_id # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. # @param [Array, String] request_metadata_experiment_ids # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. An identifier has - # multiple letters created by a team which redirected the traffic to us. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -144,62 +270,537 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_user_states(request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_user_states(request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/userStates', options) command.response_representation = Google::Apis::PartnersV2::ListUserStatesResponse::Representation command.response_class = Google::Apis::PartnersV2::ListUserStatesResponse - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['fields'] = fields unless fields.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists analytics data for a user's associated company. + # Should only be called within the context of an authorized logged in user. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # 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. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ListAnalyticsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ListAnalyticsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_analytics(request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, page_token: nil, page_size: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/analytics', options) + command.response_representation = Google::Apis::PartnersV2::ListAnalyticsResponse::Representation + command.response_class = Google::Apis::PartnersV2::ListAnalyticsResponse + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::GetPartnersStatusResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::GetPartnersStatusResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_partnersstatus(request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/partnersstatus', options) + command.response_representation = Google::Apis::PartnersV2::GetPartnersStatusResponse::Representation + command.response_class = Google::Apis::PartnersV2::GetPartnersStatusResponse + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Updates the specified lead. + # @param [Google::Apis::PartnersV2::Lead] lead_object + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] update_mask + # 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. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::Lead] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Lead] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_leads(lead_object = nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/leads', options) + command.request_representation = Google::Apis::PartnersV2::Lead::Representation + command.request_object = lead_object + command.response_representation = Google::Apis::PartnersV2::Lead::Representation + command.response_class = Google::Apis::PartnersV2::Lead + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Update company. + # Should only be called within the context of an authorized logged in user. + # @param [Google::Apis::PartnersV2::Company] company_object + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [String] update_mask + # Standard field mask for the set of fields to be updated. + # Required with at least 1 value in FieldMask's paths. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::Company] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Company] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_companies(company_object = nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, update_mask: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/companies', options) + command.request_representation = Google::Apis::PartnersV2::Company::Representation + command.request_object = company_object + command.response_representation = Google::Apis::PartnersV2::Company::Representation + command.response_class = Google::Apis::PartnersV2::Company + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a user's company relation. Affiliates the user to a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. + # @param [Google::Apis::PartnersV2::CompanyRelation] company_relation_object + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::CompanyRelation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::CompanyRelation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_user_company_relation(user_id, company_relation_object = nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v2/users/{userId}/companyRelation', options) + command.request_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.request_object = company_relation_object + command.response_representation = Google::Apis::PartnersV2::CompanyRelation::Representation + command.response_class = Google::Apis::PartnersV2::CompanyRelation + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Deletes a user's company relation. Unaffiliaites the user from a company. + # @param [String] user_id + # The ID of the user. Can be set to me to mean + # the currently authenticated user. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_user_company_relation(user_id, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/users/{userId}/companyRelation', options) + command.response_representation = Google::Apis::PartnersV2::Empty::Representation + command.response_class = Google::Apis::PartnersV2::Empty + command.params['userId'] = user_id unless user_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets a user. + # @param [String] user_id + # Identifier of the user. Can be set to me to mean the currently + # authenticated user. + # @param [String] user_view + # Specifies what parts of the user information to return. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::User] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::User] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_user(user_id, user_view: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/users/{userId}', options) + command.response_representation = Google::Apis::PartnersV2::User::Representation + command.response_class = Google::Apis::PartnersV2::User + command.params['userId'] = user_id unless user_id.nil? + command.query['userView'] = user_view unless user_view.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [Google::Apis::PartnersV2::UserProfile] user_profile_object + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::UserProfile] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::UserProfile] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_user_profile(user_profile_object = nil, request_metadata_partners_session_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/users/profile', options) + command.request_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.request_object = user_profile_object + command.response_representation = Google::Apis::PartnersV2::UserProfile::Representation + command.response_class = Google::Apis::PartnersV2::UserProfile + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Gets a company. # @param [String] company_id # The ID of the company to retrieve. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. # @param [String] request_metadata_user_overrides_ip_address # IP address to use instead of the user's geo-located IP address. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. # @param [Array, String] request_metadata_experiment_ids # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. An identifier has - # multiple letters created by a team which redirected the traffic to us. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # 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. - # @param [String] view - # The view of `Company` resource to be returned. This must not be ` - # COMPANY_VIEW_UNSPECIFIED`. - # @param [String] order_by - # 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. # @param [String] currency_code # If the company's budget is in a different currency code than this one, then # the converted budget is converted to this currency code. + # @param [String] order_by + # 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. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] view + # The view of `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @param [String] request_metadata_locale + # Locale to use for the current request. # @param [String] 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. Used when order_by is - # set. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # 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. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -212,104 +813,116 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_company(company_id, request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, view: nil, order_by: nil, currency_code: nil, address: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_company(company_id, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, currency_code: nil, order_by: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, view: nil, request_metadata_locale: nil, address: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/companies/{companyId}', options) command.response_representation = Google::Apis::PartnersV2::GetCompanyResponse::Representation command.response_class = Google::Apis::PartnersV2::GetCompanyResponse command.params['companyId'] = company_id unless company_id.nil? - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['view'] = view unless view.nil? - command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? command.query['currencyCode'] = currency_code unless currency_code.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['view'] = view unless view.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? command.query['address'] = address unless address.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end # Lists companies. - # @param [String] request_metadata_user_overrides_ip_address - # IP address to use instead of the user's geo-located IP address. - # @param [String] request_metadata_user_overrides_user_id - # Logged-in user ID to impersonate instead of the user's ID. - # @param [String] request_metadata_locale - # Locale to use for the current request. - # @param [String] request_metadata_partners_session_id - # Google Partners session ID. - # @param [Array, String] request_metadata_experiment_ids - # Experiment IDs the current request belongs to. - # @param [String] request_metadata_traffic_source_traffic_source_id - # Identifier to indicate where the traffic comes from. An identifier has - # multiple letters created by a team which redirected the traffic to us. - # @param [String] request_metadata_traffic_source_traffic_sub_id - # 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. - # @param [Fixnum] page_size - # Requested page size. Server may return fewer companies than requested. If - # unspecified, server picks an appropriate default. - # @param [String] page_token - # 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. - # @param [String] company_name - # Company name to search for. - # @param [String] view - # The view of the `Company` resource to be returned. This must not be ` - # COMPANY_VIEW_UNSPECIFIED`. - # @param [String] min_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] min_monthly_budget_units - # The whole units of the amount. For example if `currencyCode` is `"USD"`, then - # 1 unit is one US dollar. - # @param [Fixnum] min_monthly_budget_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. - # @param [String] max_monthly_budget_currency_code - # The 3-letter currency code defined in ISO 4217. - # @param [String] max_monthly_budget_units - # The whole units of the amount. For example if `currencyCode` is `"USD"`, then - # 1 unit is one US dollar. - # @param [Fixnum] max_monthly_budget_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. # @param [Array, String] industries # List of industries the company can help with. - # @param [Array, String] services - # List of services the company can help with. - # @param [Array, String] language_codes - # 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"). - # @param [String] address - # The address to use when searching for companies. If not given, the geo-located - # address of the request is used. - # @param [String] order_by - # 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. + # @param [String] website_url + # Website URL that will help to find a better matched company. + # . # @param [Array, String] gps_motivations # List of reasons for using Google Partner Search to get companies. - # @param [String] website_url - # Website URL that will help to find a better matched company. . - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # @param [Array, String] language_codes + # 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"). + # @param [Fixnum] page_size + # Requested page size. Server may return fewer companies than requested. + # If unspecified, server picks an appropriate default. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] order_by + # 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. + # @param [Array, String] 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. + # @param [String] max_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [String] min_monthly_budget_currency_code + # The 3-letter currency code defined in ISO 4217. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] view + # The view of the `Company` resource to be returned. This must not be + # `COMPANY_VIEW_UNSPECIFIED`. + # @param [String] address + # The address to use when searching for companies. + # If not given, the geo-located address of the request is used. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] min_monthly_budget_units + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # @param [Fixnum] max_monthly_budget_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. + # @param [Array, String] 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. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] max_monthly_budget_units + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # @param [Fixnum] min_monthly_budget_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. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] company_name + # Company name to search for. + # @param [String] page_token + # 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. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -322,36 +935,37 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_companies(request_metadata_user_overrides_ip_address: nil, request_metadata_user_overrides_user_id: nil, request_metadata_locale: nil, request_metadata_partners_session_id: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_traffic_source_traffic_sub_id: nil, page_size: nil, page_token: nil, company_name: nil, view: nil, min_monthly_budget_currency_code: nil, min_monthly_budget_units: nil, min_monthly_budget_nanos: nil, max_monthly_budget_currency_code: nil, max_monthly_budget_units: nil, max_monthly_budget_nanos: nil, industries: nil, services: nil, language_codes: nil, address: nil, order_by: nil, gps_motivations: nil, website_url: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_companies(industries: nil, website_url: nil, gps_motivations: nil, language_codes: nil, page_size: nil, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, order_by: nil, specializations: nil, max_monthly_budget_currency_code: nil, min_monthly_budget_currency_code: nil, request_metadata_user_overrides_user_id: nil, view: nil, address: nil, request_metadata_locale: nil, min_monthly_budget_units: nil, max_monthly_budget_nanos: nil, services: nil, request_metadata_traffic_source_traffic_source_id: nil, max_monthly_budget_units: nil, min_monthly_budget_nanos: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_partners_session_id: nil, company_name: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v2/companies', options) command.response_representation = Google::Apis::PartnersV2::ListCompaniesResponse::Representation command.response_class = Google::Apis::PartnersV2::ListCompaniesResponse - command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? - command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? - command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? - command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? - command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? - command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? - command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['companyName'] = company_name unless company_name.nil? - command.query['view'] = view unless view.nil? - command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? - command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? - command.query['minMonthlyBudget.nanos'] = min_monthly_budget_nanos unless min_monthly_budget_nanos.nil? - command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? - command.query['maxMonthlyBudget.units'] = max_monthly_budget_units unless max_monthly_budget_units.nil? - command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? command.query['industries'] = industries unless industries.nil? - command.query['services'] = services unless services.nil? - command.query['languageCodes'] = language_codes unless language_codes.nil? - command.query['address'] = address unless address.nil? - command.query['orderBy'] = order_by unless order_by.nil? - command.query['gpsMotivations'] = gps_motivations unless gps_motivations.nil? command.query['websiteUrl'] = website_url unless website_url.nil? - command.query['fields'] = fields unless fields.nil? + command.query['gpsMotivations'] = gps_motivations unless gps_motivations.nil? + command.query['languageCodes'] = language_codes unless language_codes.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['specializations'] = specializations unless specializations.nil? + command.query['maxMonthlyBudget.currencyCode'] = max_monthly_budget_currency_code unless max_monthly_budget_currency_code.nil? + command.query['minMonthlyBudget.currencyCode'] = min_monthly_budget_currency_code unless min_monthly_budget_currency_code.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['view'] = view unless view.nil? + command.query['address'] = address unless address.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['minMonthlyBudget.units'] = min_monthly_budget_units unless min_monthly_budget_units.nil? + command.query['maxMonthlyBudget.nanos'] = max_monthly_budget_nanos unless max_monthly_budget_nanos.nil? + command.query['services'] = services unless services.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['maxMonthlyBudget.units'] = max_monthly_budget_units unless max_monthly_budget_units.nil? + command.query['minMonthlyBudget.nanos'] = min_monthly_budget_nanos unless min_monthly_budget_nanos.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['companyName'] = company_name unless company_name.nil? + command.query['pageToken'] = page_token unless page_token.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -359,11 +973,11 @@ module Google # @param [String] company_id # The ID of the company to contact. # @param [Google::Apis::PartnersV2::CreateLeadRequest] create_lead_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -376,15 +990,132 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_lead(company_id, create_lead_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def create_lead(company_id, create_lead_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v2/companies/{companyId}/leads', options) command.request_representation = Google::Apis::PartnersV2::CreateLeadRequest::Representation command.request_object = create_lead_request_object command.response_representation = Google::Apis::PartnersV2::CreateLeadResponse::Representation command.response_class = Google::Apis::PartnersV2::CreateLeadResponse command.params['companyId'] = company_id unless company_id.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Logs a user event. + # @param [Google::Apis::PartnersV2::LogUserEventRequest] log_user_event_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::LogUserEventResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::LogUserEventResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def log_user_event(log_user_event_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/userEvents:log', options) + command.request_representation = Google::Apis::PartnersV2::LogUserEventRequest::Representation + command.request_object = log_user_event_request_object + command.response_representation = Google::Apis::PartnersV2::LogUserEventResponse::Representation + command.response_class = Google::Apis::PartnersV2::LogUserEventResponse + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [Google::Apis::PartnersV2::LogMessageRequest] log_message_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::LogMessageResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::LogMessageResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def log_client_message_message(log_message_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/clientMessages:log', options) + command.request_representation = Google::Apis::PartnersV2::LogMessageRequest::Representation + command.request_object = log_message_request_object + command.response_representation = Google::Apis::PartnersV2::LogMessageResponse::Representation + command.response_class = Google::Apis::PartnersV2::LogMessageResponse + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets an Exam Token for a Partner's user to take an exam in the Exams System + # @param [String] exam_type + # The exam type we are requesting a token for. + # @param [String] request_metadata_user_overrides_ip_address + # IP address to use instead of the user's geo-located IP address. + # @param [Array, String] request_metadata_experiment_ids + # Experiment IDs the current request belongs to. + # @param [String] request_metadata_traffic_source_traffic_sub_id + # 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. + # @param [String] request_metadata_user_overrides_user_id + # Logged-in user ID to impersonate instead of the user's ID. + # @param [String] request_metadata_partners_session_id + # Google Partners session ID. + # @param [String] request_metadata_traffic_source_traffic_source_id + # Identifier to indicate where the traffic comes from. + # An identifier has multiple letters created by a team which redirected the + # traffic to us. + # @param [String] request_metadata_locale + # Locale to use for the current request. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PartnersV2::ExamToken] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PartnersV2::ExamToken] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_exam_token(exam_type, request_metadata_user_overrides_ip_address: nil, request_metadata_experiment_ids: nil, request_metadata_traffic_source_traffic_sub_id: nil, request_metadata_user_overrides_user_id: nil, request_metadata_partners_session_id: nil, request_metadata_traffic_source_traffic_source_id: nil, request_metadata_locale: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/exams/{examType}/token', options) + command.response_representation = Google::Apis::PartnersV2::ExamToken::Representation + command.response_class = Google::Apis::PartnersV2::ExamToken + command.params['examType'] = exam_type unless exam_type.nil? + command.query['requestMetadata.userOverrides.ipAddress'] = request_metadata_user_overrides_ip_address unless request_metadata_user_overrides_ip_address.nil? + command.query['requestMetadata.experimentIds'] = request_metadata_experiment_ids unless request_metadata_experiment_ids.nil? + command.query['requestMetadata.trafficSource.trafficSubId'] = request_metadata_traffic_source_traffic_sub_id unless request_metadata_traffic_source_traffic_sub_id.nil? + command.query['requestMetadata.userOverrides.userId'] = request_metadata_user_overrides_user_id unless request_metadata_user_overrides_user_id.nil? + command.query['requestMetadata.partnersSessionId'] = request_metadata_partners_session_id unless request_metadata_partners_session_id.nil? + command.query['requestMetadata.trafficSource.trafficSourceId'] = request_metadata_traffic_source_traffic_source_id unless request_metadata_traffic_source_traffic_source_id.nil? + command.query['requestMetadata.locale'] = request_metadata_locale unless request_metadata_locale.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index c19b11a72..310a980d3 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -20,40 +20,39 @@ module Google module Apis # Google People API # - # The Google People API service gives access to information about profiles and - # contacts. + # Provides access to information about profiles and contacts. # # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20160210' + REVISION = '20170326' - # Manage your contacts - AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' - - # View your contacts - AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' - - # Know your basic profile info and list of people in your circles. + # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' + # View your basic profile info + AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' + # View your street addresses AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read' - # View your complete date of birth - AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read' + # Manage your contacts + AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' # View your email addresses AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read' - # View your phone numbers - AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read' - # View your email address AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' - # View your basic profile info - AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile' + # View your phone numbers + AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read' + + # View your contacts + AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly' + + # View your complete date of birth + AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read' end end end diff --git a/generated/google/apis/people_v1/classes.rb b/generated/google/apis/people_v1/classes.rb index 4aef9ee7f..4248daf8d 100644 --- a/generated/google/apis/people_v1/classes.rb +++ b/generated/google/apis/people_v1/classes.rb @@ -22,268 +22,6 @@ module Google module Apis module PeopleV1 - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. Fields other than IDs, - # metadata, and group memberships are user-edited. Most fields can have multiple - # items. The items in a field have no guaranteed order, but each non-empty field - # is guaranteed to have exactly one field with `metadata.primary` set to true. - class Person - include Google::Apis::Core::Hashable - - # The resource name for the person, assigned by the server. An ASCII string with - # a max length of 27 characters. Always starts with `people/`. - # Corresponds to the JSON property `resourceName` - # @return [String] - attr_accessor :resource_name - - # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the resource. - # Used for web cache validation. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - # Metadata about a person. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::PersonMetadata] - attr_accessor :metadata - - # The person's locale preferences. - # Corresponds to the JSON property `locales` - # @return [Array] - attr_accessor :locales - - # The person's names. - # Corresponds to the JSON property `names` - # @return [Array] - attr_accessor :names - - # The person's nicknames. - # Corresponds to the JSON property `nicknames` - # @return [Array] - attr_accessor :nicknames - - # The person's cover photos. - # Corresponds to the JSON property `coverPhotos` - # @return [Array] - attr_accessor :cover_photos - - # The person's photos. - # Corresponds to the JSON property `photos` - # @return [Array] - attr_accessor :photos - - # The person's genders. - # Corresponds to the JSON property `genders` - # @return [Array] - attr_accessor :genders - - # The person's age range. - # Corresponds to the JSON property `ageRange` - # @return [String] - attr_accessor :age_range - - # The person's birthdays. - # Corresponds to the JSON property `birthdays` - # @return [Array] - attr_accessor :birthdays - - # The person's events. - # Corresponds to the JSON property `events` - # @return [Array] - attr_accessor :events - - # The person's street addresses. - # Corresponds to the JSON property `addresses` - # @return [Array] - attr_accessor :addresses - - # The person's residences. - # Corresponds to the JSON property `residences` - # @return [Array] - attr_accessor :residences - - # The person's email addresses. - # Corresponds to the JSON property `emailAddresses` - # @return [Array] - attr_accessor :email_addresses - - # The person's phone numbers. - # Corresponds to the JSON property `phoneNumbers` - # @return [Array] - attr_accessor :phone_numbers - - # The person's instant messaging clients. - # Corresponds to the JSON property `imClients` - # @return [Array] - attr_accessor :im_clients - - # The person's taglines. - # Corresponds to the JSON property `taglines` - # @return [Array] - attr_accessor :taglines - - # The person's biographies. - # Corresponds to the JSON property `biographies` - # @return [Array] - attr_accessor :biographies - - # The person's associated URLs. - # Corresponds to the JSON property `urls` - # @return [Array] - attr_accessor :urls - - # The person's past or current organizations. - # Corresponds to the JSON property `organizations` - # @return [Array] - attr_accessor :organizations - - # The person's occupations. - # Corresponds to the JSON property `occupations` - # @return [Array] - attr_accessor :occupations - - # The person's interests. - # Corresponds to the JSON property `interests` - # @return [Array] - attr_accessor :interests - - # The person's skills. - # Corresponds to the JSON property `skills` - # @return [Array] - attr_accessor :skills - - # The person's bragging rights. - # Corresponds to the JSON property `braggingRights` - # @return [Array] - attr_accessor :bragging_rights - - # The person's relations. - # Corresponds to the JSON property `relations` - # @return [Array] - attr_accessor :relations - - # The kind of relationship the person is looking for. - # Corresponds to the JSON property `relationshipInterests` - # @return [Array] - attr_accessor :relationship_interests - - # The person's relationship statuses. - # Corresponds to the JSON property `relationshipStatuses` - # @return [Array] - attr_accessor :relationship_statuses - - # The person's group memberships. - # Corresponds to the JSON property `memberships` - # @return [Array] - attr_accessor :memberships - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @resource_name = args[:resource_name] if args.key?(:resource_name) - @etag = args[:etag] if args.key?(:etag) - @metadata = args[:metadata] if args.key?(:metadata) - @locales = args[:locales] if args.key?(:locales) - @names = args[:names] if args.key?(:names) - @nicknames = args[:nicknames] if args.key?(:nicknames) - @cover_photos = args[:cover_photos] if args.key?(:cover_photos) - @photos = args[:photos] if args.key?(:photos) - @genders = args[:genders] if args.key?(:genders) - @age_range = args[:age_range] if args.key?(:age_range) - @birthdays = args[:birthdays] if args.key?(:birthdays) - @events = args[:events] if args.key?(:events) - @addresses = args[:addresses] if args.key?(:addresses) - @residences = args[:residences] if args.key?(:residences) - @email_addresses = args[:email_addresses] if args.key?(:email_addresses) - @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) - @im_clients = args[:im_clients] if args.key?(:im_clients) - @taglines = args[:taglines] if args.key?(:taglines) - @biographies = args[:biographies] if args.key?(:biographies) - @urls = args[:urls] if args.key?(:urls) - @organizations = args[:organizations] if args.key?(:organizations) - @occupations = args[:occupations] if args.key?(:occupations) - @interests = args[:interests] if args.key?(:interests) - @skills = args[:skills] if args.key?(:skills) - @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) - @relations = args[:relations] if args.key?(:relations) - @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) - @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) - @memberships = args[:memberships] if args.key?(:memberships) - end - end - - # Metadata about a person. - class PersonMetadata - include Google::Apis::Core::Hashable - - # The sources of data for the person. - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources - - # Any former resource names this person has had. Populated only for [` - # connections.list`](/people/api/rest/v1/people.connections/list) requests that - # include a sync token. The resource name may change when adding or removing - # fields that link a contact and profile such as a verified email, verified - # phone number, or profile URL. - # Corresponds to the JSON property `previousResourceNames` - # @return [Array] - attr_accessor :previous_resource_names - - # True if the person resource has been deleted. Populated only for [`connections. - # list`](/people/api/rest/v1/people.connections/list) requests that include a - # sync token. - # Corresponds to the JSON property `deleted` - # @return [Boolean] - attr_accessor :deleted - alias_method :deleted?, :deleted - - # The type of the person object. - # Corresponds to the JSON property `objectType` - # @return [String] - attr_accessor :object_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sources = args[:sources] if args.key?(:sources) - @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) - @deleted = args[:deleted] if args.key?(:deleted) - @object_type = args[:object_type] if args.key?(:object_type) - end - end - - # The source of a field. - class Source - include Google::Apis::Core::Hashable - - # The source type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # A unique identifier within the source type generated by the server. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @id = args[:id] if args.key?(:id) - end - end - # A person's locale preference. class Locale include Google::Apis::Core::Hashable @@ -293,8 +31,8 @@ module Google # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata - # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) language tag - # representing the locale. + # The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47) + # language tag representing the locale. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value @@ -310,6 +48,181 @@ module Google end end + # A person's past or current organization. Overlapping date ranges are + # permitted. + class Organization + include Google::Apis::Core::Hashable + + # The read-only type of the organization translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `startDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :start_date + + # The domain name associated with the organization; for example, `google.com`. + # Corresponds to the JSON property `domain` + # @return [String] + attr_accessor :domain + + # The person's department at the organization. + # Corresponds to the JSON property `department` + # @return [String] + attr_accessor :department + + # The type of the organization. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `work` + # * `school` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The phonetic name of the organization. + # Corresponds to the JSON property `phoneticName` + # @return [String] + attr_accessor :phonetic_name + + # The person's job description at the organization. + # Corresponds to the JSON property `jobDescription` + # @return [String] + attr_accessor :job_description + + # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `endDate` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :end_date + + # The symbol associated with the organization; for example, a stock ticker + # symbol, abbreviation, or acronym. + # Corresponds to the JSON property `symbol` + # @return [String] + attr_accessor :symbol + + # The name of the organization. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The person's job title at the organization. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The location of the organization office the person works at. + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # True if the organization is the person's current organization; + # false if the organization is a past organization. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @start_date = args[:start_date] if args.key?(:start_date) + @domain = args[:domain] if args.key?(:domain) + @department = args[:department] if args.key?(:department) + @type = args[:type] if args.key?(:type) + @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) + @job_description = args[:job_description] if args.key?(:job_description) + @end_date = args[:end_date] if args.key?(:end_date) + @symbol = args[:symbol] if args.key?(:symbol) + @name = args[:name] if args.key?(:name) + @metadata = args[:metadata] if args.key?(:metadata) + @title = args[:title] if args.key?(:title) + @location = args[:location] if args.key?(:location) + @current = args[:current] if args.key?(:current) + end + end + + # A person's short biography. + class Biography + include Google::Apis::Core::Hashable + + # The short biography. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The content type of the biography. + # Corresponds to the JSON property `contentType` + # @return [String] + attr_accessor :content_type + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @content_type = args[:content_type] if args.key?(:content_type) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's age range. + class AgeRangeType + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @age_range = args[:age_range] if args.key?(:age_range) + end + end + # Metadata about a field. class FieldMetadata include Google::Apis::Core::Hashable @@ -321,19 +234,19 @@ module Google attr_accessor :primary alias_method :primary?, :primary - # True if the field is verified; false if the field is unverified. A verified - # field is typically a name, email address, phone number, or website that has - # been confirmed to be owned by the person. - # Corresponds to the JSON property `verified` - # @return [Boolean] - attr_accessor :verified - alias_method :verified?, :verified - # The source of a field. # Corresponds to the JSON property `source` # @return [Google::Apis::PeopleV1::Source] attr_accessor :source + # True if the field is verified; false if the field is unverified. A + # verified field is typically a name, email address, phone number, or + # website that has been confirmed to be owned by the person. + # Corresponds to the JSON property `verified` + # @return [Boolean] + attr_accessor :verified + alias_method :verified?, :verified + def initialize(**args) update!(**args) end @@ -341,75 +254,39 @@ module Google # Update properties of this object def update!(**args) @primary = args[:primary] if args.key?(:primary) - @verified = args[:verified] if args.key?(:verified) @source = args[:source] if args.key?(:source) + @verified = args[:verified] if args.key?(:verified) end end - # A person's name. If the name is a mononym, the family name is empty. - class Name + # The response for a single person + class PersonResponse include Google::Apis::Core::Hashable - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. + # Most fields can have multiple items. The items in a field have no guaranteed + # order, but each non-empty field is guaranteed to have exactly one field with + # `metadata.primary` set to true. + # NEXT_ID: 31 + # Corresponds to the JSON property `person` + # @return [Google::Apis::PeopleV1::Person] + attr_accessor :person - # The display name formatted according to the locale specified by the viewer's - # account or the Accept-Language HTTP header. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name + # [HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). + # Corresponds to the JSON property `httpStatusCode` + # @return [Fixnum] + attr_accessor :http_status_code - # The family name. - # Corresponds to the JSON property `familyName` + # The original requested resource name. May be different than the resource + # name on the returned person. + # The resource name can change when adding or removing fields that link a + # contact and profile such as a verified email, verified phone number, or a + # profile URL. + # Corresponds to the JSON property `requestedResourceName` # @return [String] - attr_accessor :family_name - - # The given name. - # Corresponds to the JSON property `givenName` - # @return [String] - attr_accessor :given_name - - # The middle name(s). - # Corresponds to the JSON property `middleName` - # @return [String] - attr_accessor :middle_name - - # The honorific prefixes, such as `Mrs.` or `Dr.` - # Corresponds to the JSON property `honorificPrefix` - # @return [String] - attr_accessor :honorific_prefix - - # The honorific suffixes, such as `Jr.` - # Corresponds to the JSON property `honorificSuffix` - # @return [String] - attr_accessor :honorific_suffix - - # The family name spelled as it sounds. - # Corresponds to the JSON property `phoneticFamilyName` - # @return [String] - attr_accessor :phonetic_family_name - - # The given name spelled as it sounds. - # Corresponds to the JSON property `phoneticGivenName` - # @return [String] - attr_accessor :phonetic_given_name - - # The middle name(s) spelled as they sound. - # Corresponds to the JSON property `phoneticMiddleName` - # @return [String] - attr_accessor :phonetic_middle_name - - # The honorific prefixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificPrefix` - # @return [String] - attr_accessor :phonetic_honorific_prefix - - # The honorific suffixes spelled as they sound. - # Corresponds to the JSON property `phoneticHonorificSuffix` - # @return [String] - attr_accessor :phonetic_honorific_suffix + attr_accessor :requested_resource_name def initialize(**args) update!(**args) @@ -417,569 +294,76 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @display_name = args[:display_name] if args.key?(:display_name) - @family_name = args[:family_name] if args.key?(:family_name) - @given_name = args[:given_name] if args.key?(:given_name) - @middle_name = args[:middle_name] if args.key?(:middle_name) - @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) - @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) - @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) - @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) - @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) - @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) - @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) + @person = args[:person] if args.key?(:person) + @http_status_code = args[:http_status_code] if args.key?(:http_status_code) + @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) end end - # A person's nickname. - class Nickname + # A person's read-only relationship interest . + class RelationshipInterest include Google::Apis::Core::Hashable - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The nickname. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The type of the nickname. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @type = args[:type] if args.key?(:type) - end - end - - # A person's cover photo. A large image shown on the person's profile page that - # represents who they are or what they care about. - class CoverPhoto - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The URL of the cover photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - # True if the cover photo is the default cover photo; false if the cover photo - # is a user-provided cover photo. - # Corresponds to the JSON property `default` - # @return [Boolean] - attr_accessor :default - alias_method :default?, :default - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @url = args[:url] if args.key?(:url) - @default = args[:default] if args.key?(:default) - end - end - - # A person's photo. A picture shown next to the person's name to help others - # recognize the person. - class Photo - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The URL of the photo. - # Corresponds to the JSON property `url` - # @return [String] - attr_accessor :url - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @url = args[:url] if args.key?(:url) - end - end - - # A person's gender. - class Gender - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The gender for the person. The gender can be custom or predefined. Possible - # values include, but are not limited to, the following: * `male` * `female` * ` - # other` * `unknown` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only value of the gender translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. + # The value of the relationship interest translated and formatted in the + # viewer's account locale or the locale specified in the Accept-Language + # HTTP header. # Corresponds to the JSON property `formattedValue` # @return [String] attr_accessor :formatted_value + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The kind of relationship the person is looking for. The value can be custom + # or predefined. Possible values include, but are not limited to, the + # following values: + # * `friend` + # * `date` + # * `relationship` + # * `networking` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - end - end - - # A person's birthday. At least one of the `date` and `text` fields are - # specified. The `date` and `text` fields typically represent the same date, but - # are not guaranteed to. - class Birthday - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `date` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :date - - # A free-form string representing the user's birthday. - # Corresponds to the JSON property `text` - # @return [String] - attr_accessor :text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @date = args[:date] if args.key?(:date) - @text = args[:text] if args.key?(:text) - end - end - - # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - class Date - include Google::Apis::Core::Hashable - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - # 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. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) - @day = args[:day] if args.key?(:day) - end - end - - # An event related to the person. - class Event - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `date` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :date - - # The type of the event. The type can be custom or predefined. Possible values - # include, but are not limited to, the following: * `anniversary` * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the event translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @date = args[:date] if args.key?(:date) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A person's physical address. May be a P.O. box or street address. All fields - # are optional. - class Address - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The read-only value of the address formatted in the viewer's account locale or - # the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # The type of the address. The type can be custom or predefined. Possible values - # include, but are not limited to, the following: * `home` * `work` * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the address translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # The P.O. box of the address. - # Corresponds to the JSON property `poBox` - # @return [String] - attr_accessor :po_box - - # The street address. - # Corresponds to the JSON property `streetAddress` - # @return [String] - attr_accessor :street_address - - # The extended address of the address; for example, the apartment number. - # Corresponds to the JSON property `extendedAddress` - # @return [String] - attr_accessor :extended_address - - # The city of the address. - # Corresponds to the JSON property `city` - # @return [String] - attr_accessor :city - - # The region of the address; for example, the state or province. - # Corresponds to the JSON property `region` - # @return [String] - attr_accessor :region - - # The postal code of the address. - # Corresponds to the JSON property `postalCode` - # @return [String] - attr_accessor :postal_code - - # The country of the address. - # Corresponds to the JSON property `country` - # @return [String] - attr_accessor :country - - # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country - # code of the address. - # Corresponds to the JSON property `countryCode` - # @return [String] - attr_accessor :country_code - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @po_box = args[:po_box] if args.key?(:po_box) - @street_address = args[:street_address] if args.key?(:street_address) - @extended_address = args[:extended_address] if args.key?(:extended_address) - @city = args[:city] if args.key?(:city) - @region = args[:region] if args.key?(:region) - @postal_code = args[:postal_code] if args.key?(:postal_code) - @country = args[:country] if args.key?(:country) - @country_code = args[:country_code] if args.key?(:country_code) - end - end - - # A person's past or current residence. - class Residence - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The address of the residence. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # True if the residence is the person's current residence; false if the - # residence is a past residence. - # Corresponds to the JSON property `current` - # @return [Boolean] - attr_accessor :current - alias_method :current?, :current - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @current = args[:current] if args.key?(:current) - end - end - - # A person's email address. - class EmailAddress - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The email address. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The type of the email address. The type can be custom or predefined. Possible - # values include, but are not limited to, the following: * `home` * `work` * ` - # other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the email address translated and formatted in the viewer' - # s account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A person's phone number. - class PhoneNumber - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The phone number. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ - # ibr/004/itu-t.E.164.1.2008.pdf) form of the phone number. - # Corresponds to the JSON property `canonicalForm` - # @return [String] - attr_accessor :canonical_form - - # The type of the phone number. The type can be custom or predefined. Possible - # values include, but are not limited to, the following: * `home` * `work` * ` - # mobile` * `homeFax` * `workFax` * `otherFax` * `pager` * `workMobile` * ` - # workPager` * `main` * `googleVoice` * `other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the phone number translated and formatted in the viewer' - # s account locale or the the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @canonical_form = args[:canonical_form] if args.key?(:canonical_form) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - end - end - - # A person's instant messaging client. - class ImClient - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The user name used in the IM client. - # Corresponds to the JSON property `username` - # @return [String] - attr_accessor :username - - # The type of the IM client. The type can be custom or predefined. Possible - # values include, but are not limited to, the following: * `home` * `work` * ` - # other` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the IM client translated and formatted in the viewer's - # account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # The protocol of the IM client. The protocol can be custom or predefined. - # Possible values include, but are not limited to, the following: * `aim` * `msn` - # * `yahoo` * `skype` * `qq` * `googleTalk` * `icq` * `jabber` * `netMeeting` - # Corresponds to the JSON property `protocol` - # @return [String] - attr_accessor :protocol - - # The read-only protocol of the IM client formatted in the viewer's account - # locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedProtocol` - # @return [String] - attr_accessor :formatted_protocol - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @username = args[:username] if args.key?(:username) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @protocol = args[:protocol] if args.key?(:protocol) - @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) - end - end - - # A brief one-line description of the person. - class Tagline - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The tagline. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) end end - # A person's short biography. - class Biography + # The source of a field. + class Source include Google::Apis::Core::Hashable - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The short biography. - # Corresponds to the JSON property `value` + # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + # source. Used for web cache validation. Only populated in + # person.metadata.sources. + # Corresponds to the JSON property `etag` # @return [String] - attr_accessor :value + attr_accessor :etag + + # The unique identifier within the source type generated by the server. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The read-only metadata about a profile. + # Corresponds to the JSON property `profileMetadata` + # @return [Google::Apis::PeopleV1::ProfileMetadata] + attr_accessor :profile_metadata + + # The source type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type def initialize(**args) update!(**args) @@ -987,13 +371,15 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) + @etag = args[:etag] if args.key?(:etag) + @id = args[:id] if args.key?(:id) + @profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata) + @type = args[:type] if args.key?(:type) end end - # A person's associated URLs. - class Url + # A person's relation to another person. + class Relation include Google::Apis::Core::Hashable # Metadata about a field. @@ -1001,21 +387,34 @@ module Google # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata - # The URL. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The type of the URL. The type can be custom or predefined. Possible values - # include, but are not limited to, the following: * `home` * `work` * `blog` * ` - # profile` * `homePage` * `ftp` * `reservations` * `appInstallPage`: website for - # a Google+ application. * `other` + # The person's relation to the other person. The type can be custom or + # predefined. + # Possible values include, but are not limited to, the following values: + # * `spouse` + # * `child` + # * `mother` + # * `father` + # * `parent` + # * `brother` + # * `sister` + # * `friend` + # * `relative` + # * `domesticPartner` + # * `manager` + # * `assistant` + # * `referredBy` + # * `partner` # Corresponds to the JSON property `type` # @return [String] attr_accessor :type - # The read-only type of the URL translated and formatted in the viewer's account - # locale or the `Accept-Language` HTTP header locale. + # The name of the other person this relation refers to. + # Corresponds to the JSON property `person` + # @return [String] + attr_accessor :person + + # The type of the relation translated and formatted in the viewer's account + # locale or the locale specified in the Accept-Language HTTP header. # Corresponds to the JSON property `formattedType` # @return [String] attr_accessor :formatted_type @@ -1027,124 +426,12 @@ module Google # Update properties of this object def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) @type = args[:type] if args.key?(:type) + @person = args[:person] if args.key?(:person) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) end end - # A person's past or current organization. Overlapping date ranges are permitted. - class Organization - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The type of the organization. The type can be custom or predefined. Possible - # values include, but are not limited to, the following: * `work` * `school` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The read-only type of the organization translated and formatted in the viewer' - # s account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type - - # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `startDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :start_date - - # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/ - # wiki/Proleptic_Gregorian_calendar). The day may be 0 to represent a year and - # month where the day is not significant. The year may be 0 to represent a month - # and day independent of year; for example, anniversary date. - # Corresponds to the JSON property `endDate` - # @return [Google::Apis::PeopleV1::Date] - attr_accessor :end_date - - # True if the organization is the person's current organization; false if the - # organization is a past organization. - # Corresponds to the JSON property `current` - # @return [Boolean] - attr_accessor :current - alias_method :current?, :current - - # The name of the organization. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The phonetic name of the organization. - # Corresponds to the JSON property `phoneticName` - # @return [String] - attr_accessor :phonetic_name - - # The person's department at the organization. - # Corresponds to the JSON property `department` - # @return [String] - attr_accessor :department - - # The person's job title at the organization. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The person's job description at the organization. - # Corresponds to the JSON property `jobDescription` - # @return [String] - attr_accessor :job_description - - # The symbol associated with the organization; for example, a stock ticker - # symbol, abbreviation, or acronym. - # Corresponds to the JSON property `symbol` - # @return [String] - attr_accessor :symbol - - # The domain name associated with the organization; for example, `google.com`. - # Corresponds to the JSON property `domain` - # @return [String] - attr_accessor :domain - - # The location of the organization office the person works at. - # Corresponds to the JSON property `location` - # @return [String] - attr_accessor :location - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) - @start_date = args[:start_date] if args.key?(:start_date) - @end_date = args[:end_date] if args.key?(:end_date) - @current = args[:current] if args.key?(:current) - @name = args[:name] if args.key?(:name) - @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name) - @department = args[:department] if args.key?(:department) - @title = args[:title] if args.key?(:title) - @job_description = args[:job_description] if args.key?(:job_description) - @symbol = args[:symbol] if args.key?(:symbol) - @domain = args[:domain] if args.key?(:domain) - @location = args[:location] if args.key?(:location) - end - end - # A person's occupation. class Occupation include Google::Apis::Core::Hashable @@ -1170,6 +457,777 @@ module Google end end + # Information about a person merged from various data sources such as the + # authenticated user's contacts and profile data. Fields other than IDs, + # metadata, and group memberships are user-edited. + # Most fields can have multiple items. The items in a field have no guaranteed + # order, but each non-empty field is guaranteed to have exactly one field with + # `metadata.primary` set to true. + # NEXT_ID: 31 + class Person + include Google::Apis::Core::Hashable + + # The person's relations. + # Corresponds to the JSON property `relations` + # @return [Array] + attr_accessor :relations + + # The person's names. + # Corresponds to the JSON property `names` + # @return [Array] + attr_accessor :names + + # The person's occupations. + # Corresponds to the JSON property `occupations` + # @return [Array] + attr_accessor :occupations + + # The person's email addresses. + # Corresponds to the JSON property `emailAddresses` + # @return [Array] + attr_accessor :email_addresses + + # The person's past or current organizations. + # Corresponds to the JSON property `organizations` + # @return [Array] + attr_accessor :organizations + + # The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the + # resource. Used for web cache validation. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The person's bragging rights. + # Corresponds to the JSON property `braggingRights` + # @return [Array] + attr_accessor :bragging_rights + + # The read-only metadata about a person. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::PersonMetadata] + attr_accessor :metadata + + # The person's residences. + # Corresponds to the JSON property `residences` + # @return [Array] + attr_accessor :residences + + # The person's genders. + # Corresponds to the JSON property `genders` + # @return [Array] + attr_accessor :genders + + # The resource name for the person, assigned by the server. An ASCII string + # with a max length of 27 characters. Always starts with `people/`. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + # The person's interests. + # Corresponds to the JSON property `interests` + # @return [Array] + attr_accessor :interests + + # The person's biographies. + # Corresponds to the JSON property `biographies` + # @return [Array] + attr_accessor :biographies + + # The person's skills. + # Corresponds to the JSON property `skills` + # @return [Array] + attr_accessor :skills + + # The person's relationship statuses. + # Corresponds to the JSON property `relationshipStatuses` + # @return [Array] + attr_accessor :relationship_statuses + + # The person's photos. + # Corresponds to the JSON property `photos` + # @return [Array] + attr_accessor :photos + + # DEPRECATED(Please read person.age_ranges instead). The person's age range. + # Corresponds to the JSON property `ageRange` + # @return [String] + attr_accessor :age_range + + # The person's taglines. + # Corresponds to the JSON property `taglines` + # @return [Array] + attr_accessor :taglines + + # The person's age ranges. + # Corresponds to the JSON property `ageRanges` + # @return [Array] + attr_accessor :age_ranges + + # The person's street addresses. + # Corresponds to the JSON property `addresses` + # @return [Array] + attr_accessor :addresses + + # The person's events. + # Corresponds to the JSON property `events` + # @return [Array] + attr_accessor :events + + # The person's group memberships. + # Corresponds to the JSON property `memberships` + # @return [Array] + attr_accessor :memberships + + # The person's phone numbers. + # Corresponds to the JSON property `phoneNumbers` + # @return [Array] + attr_accessor :phone_numbers + + # The person's cover photos. + # Corresponds to the JSON property `coverPhotos` + # @return [Array] + attr_accessor :cover_photos + + # The person's instant messaging clients. + # Corresponds to the JSON property `imClients` + # @return [Array] + attr_accessor :im_clients + + # The person's birthdays. + # Corresponds to the JSON property `birthdays` + # @return [Array] + attr_accessor :birthdays + + # The person's locale preferences. + # Corresponds to the JSON property `locales` + # @return [Array] + attr_accessor :locales + + # The kind of relationship the person is looking for. + # Corresponds to the JSON property `relationshipInterests` + # @return [Array] + attr_accessor :relationship_interests + + # The person's associated URLs. + # Corresponds to the JSON property `urls` + # @return [Array] + attr_accessor :urls + + # The person's nicknames. + # Corresponds to the JSON property `nicknames` + # @return [Array] + attr_accessor :nicknames + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @relations = args[:relations] if args.key?(:relations) + @names = args[:names] if args.key?(:names) + @occupations = args[:occupations] if args.key?(:occupations) + @email_addresses = args[:email_addresses] if args.key?(:email_addresses) + @organizations = args[:organizations] if args.key?(:organizations) + @etag = args[:etag] if args.key?(:etag) + @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights) + @metadata = args[:metadata] if args.key?(:metadata) + @residences = args[:residences] if args.key?(:residences) + @genders = args[:genders] if args.key?(:genders) + @resource_name = args[:resource_name] if args.key?(:resource_name) + @interests = args[:interests] if args.key?(:interests) + @biographies = args[:biographies] if args.key?(:biographies) + @skills = args[:skills] if args.key?(:skills) + @relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses) + @photos = args[:photos] if args.key?(:photos) + @age_range = args[:age_range] if args.key?(:age_range) + @taglines = args[:taglines] if args.key?(:taglines) + @age_ranges = args[:age_ranges] if args.key?(:age_ranges) + @addresses = args[:addresses] if args.key?(:addresses) + @events = args[:events] if args.key?(:events) + @memberships = args[:memberships] if args.key?(:memberships) + @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers) + @cover_photos = args[:cover_photos] if args.key?(:cover_photos) + @im_clients = args[:im_clients] if args.key?(:im_clients) + @birthdays = args[:birthdays] if args.key?(:birthdays) + @locales = args[:locales] if args.key?(:locales) + @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests) + @urls = args[:urls] if args.key?(:urls) + @nicknames = args[:nicknames] if args.key?(:nicknames) + end + end + + # + class GetPeopleResponse + include Google::Apis::Core::Hashable + + # The response for each requested resource name. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @responses = args[:responses] if args.key?(:responses) + end + end + + # A person's read-only photo. A picture shown next to the person's name to + # help others recognize the person. + class Photo + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The URL of the photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @url = args[:url] if args.key?(:url) + end + end + + # A person's phone number. + class PhoneNumber + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the phone number. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `mobile` + # * `homeFax` + # * `workFax` + # * `otherFax` + # * `pager` + # * `workMobile` + # * `workPager` + # * `main` + # * `googleVoice` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The phone number. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the phone number translated and formatted in the + # viewer's account locale or the the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/ + # ibr/004/itu-t.E.164.1.2008.pdf) + # form of the phone number. + # Corresponds to the JSON property `canonicalForm` + # @return [String] + attr_accessor :canonical_form + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @canonical_form = args[:canonical_form] if args.key?(:canonical_form) + end + end + + # + class ListConnectionsResponse + include Google::Apis::Core::Hashable + + # The token that can be used to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The list of people that the requestor is connected to. + # Corresponds to the JSON property `connections` + # @return [Array] + attr_accessor :connections + + # The token that can be used to retrieve changes since the last request. + # Corresponds to the JSON property `nextSyncToken` + # @return [String] + attr_accessor :next_sync_token + + # The total number of people in the list without pagination. + # Corresponds to the JSON property `totalPeople` + # @return [Fixnum] + attr_accessor :total_people + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @connections = args[:connections] if args.key?(:connections) + @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) + @total_people = args[:total_people] if args.key?(:total_people) + end + end + + # A person's birthday. At least one of the `date` and `text` fields are + # specified. The `date` and `text` fields typically represent the same + # date, but are not guaranteed to. + class Birthday + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # A free-form string representing the user's birthday. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @text = args[:text] if args.key?(:text) + @date = args[:date] if args.key?(:date) + end + end + + # A person's past or current residence. + class Residence + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # True if the residence is the person's current residence; + # false if the residence is a past residence. + # Corresponds to the JSON property `current` + # @return [Boolean] + attr_accessor :current + alias_method :current?, :current + + # The address of the residence. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @current = args[:current] if args.key?(:current) + @value = args[:value] if args.key?(:value) + end + end + + # A person's physical address. May be a P.O. box or street address. All fields + # are optional. + class Address + include Google::Apis::Core::Hashable + + # The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country + # code of the address. + # Corresponds to the JSON property `countryCode` + # @return [String] + attr_accessor :country_code + + # The read-only type of the address translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The city of the address. + # Corresponds to the JSON property `city` + # @return [String] + attr_accessor :city + + # The unstructured value of the address. If this is not set by the user it + # will be automatically constructed from structured values. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # The country of the address. + # Corresponds to the JSON property `country` + # @return [String] + attr_accessor :country + + # The type of the address. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The extended address of the address; for example, the apartment number. + # Corresponds to the JSON property `extendedAddress` + # @return [String] + attr_accessor :extended_address + + # The P.O. box of the address. + # Corresponds to the JSON property `poBox` + # @return [String] + attr_accessor :po_box + + # The postal code of the address. + # Corresponds to the JSON property `postalCode` + # @return [String] + attr_accessor :postal_code + + # The region of the address; for example, the state or province. + # Corresponds to the JSON property `region` + # @return [String] + attr_accessor :region + + # The street address. + # Corresponds to the JSON property `streetAddress` + # @return [String] + attr_accessor :street_address + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @country_code = args[:country_code] if args.key?(:country_code) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @city = args[:city] if args.key?(:city) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @country = args[:country] if args.key?(:country) + @type = args[:type] if args.key?(:type) + @extended_address = args[:extended_address] if args.key?(:extended_address) + @po_box = args[:po_box] if args.key?(:po_box) + @postal_code = args[:postal_code] if args.key?(:postal_code) + @region = args[:region] if args.key?(:region) + @street_address = args[:street_address] if args.key?(:street_address) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A Google contact group membership. + class ContactGroupMembership + include Google::Apis::Core::Hashable + + # The contact group ID for the contact group membership. The contact group + # ID can be custom or predefined. Possible values include, but are not + # limited to, the following: + # * `myContacts` + # * `starred` + # * A numerical ID for user-created groups. + # Corresponds to the JSON property `contactGroupId` + # @return [String] + attr_accessor :contact_group_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) + end + end + + # An event related to the person. + class Event + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the event. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `anniversary` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + # Corresponds to the JSON property `date` + # @return [Google::Apis::PeopleV1::Date] + attr_accessor :date + + # The read-only type of the event translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @date = args[:date] if args.key?(:date) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # The read-only metadata about a person. + class PersonMetadata + include Google::Apis::Core::Hashable + + # DEPRECATED(Please read person.metadata.sources.profile_metadata instead). + # The type of the person object. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + # Resource names of people linked to this resource. + # Corresponds to the JSON property `linkedPeopleResourceNames` + # @return [Array] + attr_accessor :linked_people_resource_names + + # The sources of data for the person. + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + # Any former resource names this person has had. Populated only for + # [`connections.list`](/people/api/rest/v1/people.connections/list) requests + # that include a sync token. + # The resource name may change when adding or removing fields that link a + # contact and profile such as a verified email, verified phone number, or + # profile URL. + # Corresponds to the JSON property `previousResourceNames` + # @return [Array] + attr_accessor :previous_resource_names + + # True if the person resource has been deleted. Populated only for + # [`connections.list`](/people/api/rest/v1/people.connections/list) requests + # that include a sync token. + # Corresponds to the JSON property `deleted` + # @return [Boolean] + attr_accessor :deleted + alias_method :deleted?, :deleted + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_type = args[:object_type] if args.key?(:object_type) + @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names) + @sources = args[:sources] if args.key?(:sources) + @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names) + @deleted = args[:deleted] if args.key?(:deleted) + end + end + + # The read-only metadata about a profile. + class ProfileMetadata + include Google::Apis::Core::Hashable + + # The profile object type. + # Corresponds to the JSON property `objectType` + # @return [String] + attr_accessor :object_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_type = args[:object_type] if args.key?(:object_type) + end + end + + # A person's gender. + class Gender + include Google::Apis::Core::Hashable + + # The read-only value of the gender translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The gender for the person. The gender can be custom or predefined. + # Possible values include, but are not limited to, the + # following: + # * `male` + # * `female` + # * `other` + # * `unknown` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) + end + end + + # A person's associated URLs. + class Url + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the URL. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `blog` + # * `profile` + # * `homePage` + # * `ftp` + # * `reservations` + # * `appInstallPage`: website for a Google+ application. + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The URL. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the URL translated and formatted in the viewer's + # account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + end + end + + # A person's read-only cover photo. A large image shown on the person's + # profile page that represents who they are or what they care about. + class CoverPhoto + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # True if the cover photo is the default cover photo; + # false if the cover photo is a user-provided cover photo. + # Corresponds to the JSON property `default` + # @return [Boolean] + attr_accessor :default + alias_method :default?, :default + + # The URL of the cover photo. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @default = args[:default] if args.key?(:default) + @url = args[:url] if args.key?(:url) + end + end + # One of the person's interests. class Interest include Google::Apis::Core::Hashable @@ -1195,84 +1253,184 @@ module Google end end - # A skill that the person has. - class Skill + # A person's instant messaging client. + class ImClient include Google::Apis::Core::Hashable + # The read-only protocol of the IM client formatted in the viewer's account + # locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedProtocol` + # @return [String] + attr_accessor :formatted_protocol + + # The read-only type of the IM client translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata + # The type of the IM client. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The protocol of the IM client. The protocol can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `aim` + # * `msn` + # * `yahoo` + # * `skype` + # * `qq` + # * `googleTalk` + # * `icq` + # * `jabber` + # * `netMeeting` + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The user name used in the IM client. + # Corresponds to the JSON property `username` + # @return [String] + attr_accessor :username + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + @protocol = args[:protocol] if args.key?(:protocol) + @username = args[:username] if args.key?(:username) + end + end + + # A person's email address. + class EmailAddress + include Google::Apis::Core::Hashable + + # The email address. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # The read-only type of the email address translated and formatted in the + # viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedType` + # @return [String] + attr_accessor :formatted_type + + # The display name of the email. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the email address. The type can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `home` + # * `work` + # * `other` + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @display_name = args[:display_name] if args.key?(:display_name) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A person's nickname. + class Nickname + include Google::Apis::Core::Hashable + + # The nickname. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The type of the nickname. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + @type = args[:type] if args.key?(:type) + end + end + + # A skill that the person has. + class Skill + include Google::Apis::Core::Hashable + # The skill; for example, `underwater basket weaving`. # Corresponds to the JSON property `value` # @return [String] attr_accessor :value - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - end - end - - # A person's bragging rights. - class BraggingRights - include Google::Apis::Core::Hashable - # Metadata about a field. # Corresponds to the JSON property `metadata` # @return [Google::Apis::PeopleV1::FieldMetadata] attr_accessor :metadata - # The bragging rights; for example, `climbed mount everest`. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) end end - # A person's relation to another person. - class Relation + # A Google Apps Domain membership. + class DomainMembership include Google::Apis::Core::Hashable - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The name of the other person this relation refers to. - # Corresponds to the JSON property `person` - # @return [String] - attr_accessor :person - - # The person's relation to the other person. The type can be custom or - # predefined. Possible values include, but are not limited to, the following - # values: * `spouse` * `child` * `mother` * `father` * `parent` * `brother` * ` - # sister` * `friend` * `relative` * `domesticPartner` * `manager` * `assistant` * - # `referredBy` * `partner` - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # The type of the relation translated and formatted in the viewer's account - # locale or the locale specified in the Accept-Language HTTP header. - # Corresponds to the JSON property `formattedType` - # @return [String] - attr_accessor :formatted_type + # True if the person is in the viewer's Google Apps domain. + # Corresponds to the JSON property `inViewerDomain` + # @return [Boolean] + attr_accessor :in_viewer_domain + alias_method :in_viewer_domain?, :in_viewer_domain def initialize(**args) update!(**args) @@ -1280,83 +1438,11 @@ module Google # Update properties of this object def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @person = args[:person] if args.key?(:person) - @type = args[:type] if args.key?(:type) - @formatted_type = args[:formatted_type] if args.key?(:formatted_type) + @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) end end - # The kind of relationship the person is looking for. - class RelationshipInterest - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The kind of relationship the person is looking for. The value can be custom or - # predefined. Possible values include, but are not limited to, the following - # values: * `friend` * `date` * `relationship` * `networking` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The value of the relationship interest translated and formatted in the viewer' - # s account locale or the locale specified in the Accept-Language HTTP header. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - end - end - - # A person's relationship status. - class RelationshipStatus - include Google::Apis::Core::Hashable - - # Metadata about a field. - # Corresponds to the JSON property `metadata` - # @return [Google::Apis::PeopleV1::FieldMetadata] - attr_accessor :metadata - - # The relationship status. The value can be custom or predefined. Possible - # values include, but are not limited to, the following: * `single` * ` - # inARelationship` * `engaged` * `married` * `itsComplicated` * ` - # openRelationship` * `widowed` * `inDomesticPartnership` * `inCivilUnion` - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # The read-only value of the relationship status translated and formatted in the - # viewer's account locale or the `Accept-Language` HTTP header locale. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @metadata = args[:metadata] if args.key?(:metadata) - @value = args[:value] if args.key?(:value) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - end - end - - # A person's membership in a group. + # A person's read-only membership in a group. class Membership include Google::Apis::Core::Hashable @@ -1387,17 +1473,35 @@ module Google end end - # A Google contact group membership. - class ContactGroupMembership + # A person's read-only relationship status. + class RelationshipStatus include Google::Apis::Core::Hashable - # The contact group ID for the contact group membership. The contact group ID - # can be custom or predefined. Possible values include, but are not limited to, - # the following: * `myContacts` * `starred` * A numerical ID for user-created - # groups. - # Corresponds to the JSON property `contactGroupId` + # The read-only value of the relationship status translated and formatted in + # the viewer's account locale or the `Accept-Language` HTTP header locale. + # Corresponds to the JSON property `formattedValue` # @return [String] - attr_accessor :contact_group_id + attr_accessor :formatted_value + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The relationship status. The value can be custom or predefined. + # Possible values include, but are not limited to, the following: + # * `single` + # * `inARelationship` + # * `engaged` + # * `married` + # * `itsComplicated` + # * `openRelationship` + # * `widowed` + # * `inDomesticPartnership` + # * `inCivilUnion` + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value def initialize(**args) update!(**args) @@ -1405,74 +1509,39 @@ module Google # Update properties of this object def update!(**args) - @contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) end end - # A Google Apps Domain membership. - class DomainMembership + # Represents a whole calendar date, for example a 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](https://en.wikipedia.org/wiki/ + # Proleptic_Gregorian_calendar). + # The day may be 0 to represent a year and month where the day is not + # significant. The year may be 0 to represent a month and day independent + # of year; for example, anniversary date. + class Date include Google::Apis::Core::Hashable - # True if the person is in the viewer's Google Apps domain. - # Corresponds to the JSON property `inViewerDomain` - # @return [Boolean] - attr_accessor :in_viewer_domain - alias_method :in_viewer_domain?, :in_viewer_domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain) - end - end - - # - class GetPeopleResponse - include Google::Apis::Core::Hashable - - # The response for each requested resource name. - # Corresponds to the JSON property `responses` - # @return [Array] - attr_accessor :responses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @responses = args[:responses] if args.key?(:responses) - end - end - - # The response for a single person - class PersonResponse - include Google::Apis::Core::Hashable - - # [HTTP 1.1 status code](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). - # Corresponds to the JSON property `httpStatusCode` + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` # @return [Fixnum] - attr_accessor :http_status_code + attr_accessor :year - # Information about a person merged from various data sources such as the - # authenticated user's contacts and profile data. Fields other than IDs, - # metadata, and group memberships are user-edited. Most fields can have multiple - # items. The items in a field have no guaranteed order, but each non-empty field - # is guaranteed to have exactly one field with `metadata.primary` set to true. - # Corresponds to the JSON property `person` - # @return [Google::Apis::PeopleV1::Person] - attr_accessor :person + # 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. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day - # The original requested resource name. May be different than the resource name - # on the returned person. The resource name can change when adding or removing - # fields that link a contact and profile such as a verified email, verified - # phone number, or a profile URL. - # Corresponds to the JSON property `requestedResourceName` - # @return [String] - attr_accessor :requested_resource_name + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month def initialize(**args) update!(**args) @@ -1480,30 +1549,25 @@ module Google # Update properties of this object def update!(**args) - @http_status_code = args[:http_status_code] if args.key?(:http_status_code) - @person = args[:person] if args.key?(:person) - @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) end end - # - class ListConnectionsResponse + # A read-only brief one-line description of the person. + class Tagline include Google::Apis::Core::Hashable - # The list of people that the requestor is connected to. - # Corresponds to the JSON property `connections` - # @return [Array] - attr_accessor :connections - - # The token that can be used to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` + # The tagline. + # Corresponds to the JSON property `value` # @return [String] - attr_accessor :next_page_token + attr_accessor :value - # The token that can be used to retrieve changes since the last request. - # Corresponds to the JSON property `nextSyncToken` - # @return [String] - attr_accessor :next_sync_token + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata def initialize(**args) update!(**args) @@ -1511,9 +1575,133 @@ module Google # Update properties of this object def update!(**args) - @connections = args[:connections] if args.key?(:connections) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token) + @value = args[:value] if args.key?(:value) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # A person's name. If the name is a mononym, the family name is empty. + class Name + include Google::Apis::Core::Hashable + + # The honorific prefixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificPrefix` + # @return [String] + attr_accessor :phonetic_honorific_prefix + + # The given name spelled as it sounds. + # Corresponds to the JSON property `phoneticGivenName` + # @return [String] + attr_accessor :phonetic_given_name + + # The family name spelled as it sounds. + # Corresponds to the JSON property `phoneticFamilyName` + # @return [String] + attr_accessor :phonetic_family_name + + # The family name. + # Corresponds to the JSON property `familyName` + # @return [String] + attr_accessor :family_name + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The middle name(s) spelled as they sound. + # Corresponds to the JSON property `phoneticMiddleName` + # @return [String] + attr_accessor :phonetic_middle_name + + # The full name spelled as it sounds. + # Corresponds to the JSON property `phoneticFullName` + # @return [String] + attr_accessor :phonetic_full_name + + # The read-only display name with the last name first formatted according to + # the locale specified by the viewer's account or the + # Accept-Language HTTP header. + # Corresponds to the JSON property `displayNameLastFirst` + # @return [String] + attr_accessor :display_name_last_first + + # The read-only display name formatted according to the locale specified by + # the viewer's account or the Accept-Language HTTP header. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # The honorific suffixes, such as `Jr.` + # Corresponds to the JSON property `honorificSuffix` + # @return [String] + attr_accessor :honorific_suffix + + # The honorific prefixes, such as `Mrs.` or `Dr.` + # Corresponds to the JSON property `honorificPrefix` + # @return [String] + attr_accessor :honorific_prefix + + # The honorific suffixes spelled as they sound. + # Corresponds to the JSON property `phoneticHonorificSuffix` + # @return [String] + attr_accessor :phonetic_honorific_suffix + + # The middle name(s). + # Corresponds to the JSON property `middleName` + # @return [String] + attr_accessor :middle_name + + # The given name. + # Corresponds to the JSON property `givenName` + # @return [String] + attr_accessor :given_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix) + @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name) + @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name) + @family_name = args[:family_name] if args.key?(:family_name) + @metadata = args[:metadata] if args.key?(:metadata) + @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name) + @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name) + @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first) + @display_name = args[:display_name] if args.key?(:display_name) + @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix) + @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix) + @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix) + @middle_name = args[:middle_name] if args.key?(:middle_name) + @given_name = args[:given_name] if args.key?(:given_name) + end + end + + # A person's bragging rights. + class BraggingRights + include Google::Apis::Core::Hashable + + # Metadata about a field. + # Corresponds to the JSON property `metadata` + # @return [Google::Apis::PeopleV1::FieldMetadata] + attr_accessor :metadata + + # The bragging rights; for example, `climbed mount everest`. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metadata = args[:metadata] if args.key?(:metadata) + @value = args[:value] if args.key?(:value) end end end diff --git a/generated/google/apis/people_v1/representations.rb b/generated/google/apis/people_v1/representations.rb index 7bd61f145..89e2554ae 100644 --- a/generated/google/apis/people_v1/representations.rb +++ b/generated/google/apis/people_v1/representations.rb @@ -22,199 +22,31 @@ module Google module Apis module PeopleV1 - class Person - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PersonMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Source - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Locale class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class FieldMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Name - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Nickname - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CoverPhoto - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Photo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Gender - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Birthday - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Event - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Address - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Residence - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EmailAddress - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PhoneNumber - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImClient - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Tagline - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Biography - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Url - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Organization class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Occupation + class Biography class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Interest + class AgeRangeType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Skill - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BraggingRights - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Relation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RelationshipInterest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RelationshipStatus - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Membership - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ContactGroupMembership - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DomainMembership - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GetPeopleResponse + class FieldMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -226,90 +58,190 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ListConnectionsResponse + class RelationshipInterest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Source + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Relation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Occupation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class Person - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :resource_name, as: 'resourceName' - property :etag, as: 'etag' - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation + class GetPeopleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + class Photo + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation + class PhoneNumber + class Representation < Google::Apis::Core::JsonRepresentation; end - property :age_range, as: 'ageRange' - collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + class ListConnectionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation + class Birthday + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + class Residence + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation + class Address + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation + class ContactGroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation + include Google::Apis::Core::JsonObjectSupport + end - collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation + class Event + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation - - collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation - - collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation - - collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation - - collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation - - collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation - - collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation - - end + include Google::Apis::Core::JsonObjectSupport end class PersonMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - collection :previous_resource_names, as: 'previousResourceNames' - property :deleted, as: 'deleted' - property :object_type, as: 'objectType' - end + include Google::Apis::Core::JsonObjectSupport end - class Source - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :id, as: 'id' - end + class ProfileMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Gender + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Url + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CoverPhoto + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Interest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImClient + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmailAddress + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Nickname + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Skill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DomainMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Membership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RelationshipStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Tagline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Name + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BraggingRights + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Locale @@ -321,220 +253,97 @@ module Google end end - class FieldMetadata + class Organization # @private class Representation < Google::Apis::Core::JsonRepresentation - property :primary, as: 'primary' - property :verified, as: 'verified' - property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation - - end - end - - class Name - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :display_name, as: 'displayName' - property :family_name, as: 'familyName' - property :given_name, as: 'givenName' - property :middle_name, as: 'middleName' - property :honorific_prefix, as: 'honorificPrefix' - property :honorific_suffix, as: 'honorificSuffix' - property :phonetic_family_name, as: 'phoneticFamilyName' - property :phonetic_given_name, as: 'phoneticGivenName' - property :phonetic_middle_name, as: 'phoneticMiddleName' - property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' - property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' - end - end - - class Nickname - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :type, as: 'type' - end - end - - class CoverPhoto - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :url, as: 'url' - property :default, as: 'default' - end - end - - class Photo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :url, as: 'url' - end - end - - class Gender - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :formatted_value, as: 'formattedValue' - end - end - - class Birthday - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :text, as: 'text' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :year, as: 'year' - property :month, as: 'month' - property :day, as: 'day' - end - end - - class Event - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :type, as: 'type' property :formatted_type, as: 'formattedType' - end - end + property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - class Address - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :formatted_value, as: 'formattedValue' + property :domain, as: 'domain' + property :department, as: 'department' property :type, as: 'type' - property :formatted_type, as: 'formattedType' - property :po_box, as: 'poBox' - property :street_address, as: 'streetAddress' - property :extended_address, as: 'extendedAddress' - property :city, as: 'city' - property :region, as: 'region' - property :postal_code, as: 'postalCode' - property :country, as: 'country' - property :country_code, as: 'countryCode' - end - end + property :phonetic_name, as: 'phoneticName' + property :job_description, as: 'jobDescription' + property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - class Residence - # @private - class Representation < Google::Apis::Core::JsonRepresentation + property :symbol, as: 'symbol' + property :name, as: 'name' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :value, as: 'value' + property :title, as: 'title' + property :location, as: 'location' property :current, as: 'current' end end - class EmailAddress - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :type, as: 'type' - property :formatted_type, as: 'formattedType' - end - end - - class PhoneNumber - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :canonical_form, as: 'canonicalForm' - property :type, as: 'type' - property :formatted_type, as: 'formattedType' - end - end - - class ImClient - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :username, as: 'username' - property :type, as: 'type' - property :formatted_type, as: 'formattedType' - property :protocol, as: 'protocol' - property :formatted_protocol, as: 'formattedProtocol' - end - end - - class Tagline - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - class Biography # @private class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :content_type, as: 'contentType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class AgeRangeType + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :age_range, as: 'ageRange' + end + end + + class FieldMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :primary, as: 'primary' + property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + property :verified, as: 'verified' + end + end + + class PersonResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + + property :http_status_code, as: 'httpStatusCode' + property :requested_resource_name, as: 'requestedResourceName' + end + end + + class RelationshipInterest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_value, as: 'formattedValue' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :value, as: 'value' end end - class Url + class Source # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + property :etag, as: 'etag' + property :id, as: 'id' + property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation - property :value, as: 'value' property :type, as: 'type' - property :formatted_type, as: 'formattedType' end end - class Organization + class Relation # @private class Representation < Google::Apis::Core::JsonRepresentation property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation property :type, as: 'type' + property :person, as: 'person' property :formatted_type, as: 'formattedType' - property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation - - property :current, as: 'current' - property :name, as: 'name' - property :phonetic_name, as: 'phoneticName' - property :department, as: 'department' - property :title, as: 'title' - property :job_description, as: 'jobDescription' - property :symbol, as: 'symbol' - property :domain, as: 'domain' - property :location, as: 'location' end end @@ -547,6 +356,218 @@ module Google end end + class Person + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation + + collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation + + collection :occupations, as: 'occupations', class: Google::Apis::PeopleV1::Occupation, decorator: Google::Apis::PeopleV1::Occupation::Representation + + collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation + + collection :organizations, as: 'organizations', class: Google::Apis::PeopleV1::Organization, decorator: Google::Apis::PeopleV1::Organization::Representation + + property :etag, as: 'etag' + collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation + + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation + + collection :residences, as: 'residences', class: Google::Apis::PeopleV1::Residence, decorator: Google::Apis::PeopleV1::Residence::Representation + + collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation + + property :resource_name, as: 'resourceName' + collection :interests, as: 'interests', class: Google::Apis::PeopleV1::Interest, decorator: Google::Apis::PeopleV1::Interest::Representation + + collection :biographies, as: 'biographies', class: Google::Apis::PeopleV1::Biography, decorator: Google::Apis::PeopleV1::Biography::Representation + + collection :skills, as: 'skills', class: Google::Apis::PeopleV1::Skill, decorator: Google::Apis::PeopleV1::Skill::Representation + + collection :relationship_statuses, as: 'relationshipStatuses', class: Google::Apis::PeopleV1::RelationshipStatus, decorator: Google::Apis::PeopleV1::RelationshipStatus::Representation + + collection :photos, as: 'photos', class: Google::Apis::PeopleV1::Photo, decorator: Google::Apis::PeopleV1::Photo::Representation + + property :age_range, as: 'ageRange' + collection :taglines, as: 'taglines', class: Google::Apis::PeopleV1::Tagline, decorator: Google::Apis::PeopleV1::Tagline::Representation + + collection :age_ranges, as: 'ageRanges', class: Google::Apis::PeopleV1::AgeRangeType, decorator: Google::Apis::PeopleV1::AgeRangeType::Representation + + collection :addresses, as: 'addresses', class: Google::Apis::PeopleV1::Address, decorator: Google::Apis::PeopleV1::Address::Representation + + collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation + + collection :memberships, as: 'memberships', class: Google::Apis::PeopleV1::Membership, decorator: Google::Apis::PeopleV1::Membership::Representation + + collection :phone_numbers, as: 'phoneNumbers', class: Google::Apis::PeopleV1::PhoneNumber, decorator: Google::Apis::PeopleV1::PhoneNumber::Representation + + collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation + + collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation + + collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation + + collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation + + collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation + + collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation + + collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation + + end + end + + class GetPeopleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation + + end + end + + class Photo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :url, as: 'url' + end + end + + class PhoneNumber + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :canonical_form, as: 'canonicalForm' + end + end + + class ListConnectionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + + property :next_sync_token, as: 'nextSyncToken' + property :total_people, as: 'totalPeople' + end + end + + class Birthday + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :text, as: 'text' + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + end + end + + class Residence + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :current, as: 'current' + property :value, as: 'value' + end + end + + class Address + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :country_code, as: 'countryCode' + property :formatted_type, as: 'formattedType' + property :city, as: 'city' + property :formatted_value, as: 'formattedValue' + property :country, as: 'country' + property :type, as: 'type' + property :extended_address, as: 'extendedAddress' + property :po_box, as: 'poBox' + property :postal_code, as: 'postalCode' + property :region, as: 'region' + property :street_address, as: 'streetAddress' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + end + end + + class ContactGroupMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :contact_group_id, as: 'contactGroupId' + end + end + + class Event + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation + + property :formatted_type, as: 'formattedType' + end + end + + class PersonMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_type, as: 'objectType' + collection :linked_people_resource_names, as: 'linkedPeopleResourceNames' + collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation + + collection :previous_resource_names, as: 'previousResourceNames' + property :deleted, as: 'deleted' + end + end + + class ProfileMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_type, as: 'objectType' + end + end + + class Gender + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_value, as: 'formattedValue' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' + end + end + + class Url + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + end + end + + class CoverPhoto + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :default, as: 'default' + property :url, as: 'url' + end + end + class Interest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -556,52 +577,54 @@ module Google end end + class ImClient + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :formatted_protocol, as: 'formattedProtocol' + property :formatted_type, as: 'formattedType' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + property :protocol, as: 'protocol' + property :username, as: 'username' + end + end + + class EmailAddress + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :formatted_type, as: 'formattedType' + property :display_name, as: 'displayName' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + + class Nickname + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :type, as: 'type' + end + end + class Skill # @private class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :value, as: 'value' end end - class BraggingRights + class DomainMembership # @private class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - end - end - - class Relation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :person, as: 'person' - property :type, as: 'type' - property :formatted_type, as: 'formattedType' - end - end - - class RelationshipInterest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :formatted_value, as: 'formattedValue' - end - end - - class RelationshipStatus - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - - property :value, as: 'value' - property :formatted_value, as: 'formattedValue' + property :in_viewer_domain, as: 'inViewerDomain' end end @@ -617,45 +640,61 @@ module Google end end - class ContactGroupMembership + class RelationshipStatus # @private class Representation < Google::Apis::Core::JsonRepresentation - property :contact_group_id, as: 'contactGroupId' + property :formatted_value, as: 'formattedValue' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation + + property :value, as: 'value' end end - class DomainMembership + class Date # @private class Representation < Google::Apis::Core::JsonRepresentation - property :in_viewer_domain, as: 'inViewerDomain' + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' end end - class GetPeopleResponse + class Tagline # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :responses, as: 'responses', class: Google::Apis::PeopleV1::PersonResponse, decorator: Google::Apis::PeopleV1::PersonResponse::Representation + property :value, as: 'value' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation end end - class PersonResponse + class Name # @private class Representation < Google::Apis::Core::JsonRepresentation - property :http_status_code, as: 'httpStatusCode' - property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix' + property :phonetic_given_name, as: 'phoneticGivenName' + property :phonetic_family_name, as: 'phoneticFamilyName' + property :family_name, as: 'familyName' + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :requested_resource_name, as: 'requestedResourceName' + property :phonetic_middle_name, as: 'phoneticMiddleName' + property :phonetic_full_name, as: 'phoneticFullName' + property :display_name_last_first, as: 'displayNameLastFirst' + property :display_name, as: 'displayName' + property :honorific_suffix, as: 'honorificSuffix' + property :honorific_prefix, as: 'honorificPrefix' + property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix' + property :middle_name, as: 'middleName' + property :given_name, as: 'givenName' end end - class ListConnectionsResponse + class BraggingRights # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :connections, as: 'connections', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation + property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation - property :next_page_token, as: 'nextPageToken' - property :next_sync_token, as: 'nextSyncToken' + property :value, as: 'value' end end end diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index 7d1de99a8..830e66732 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -22,8 +22,7 @@ module Google module PeopleV1 # Google People API # - # The Google People API service gives access to information about profiles and - # contacts. + # Provides access to information about profiles and contacts. # # @example # require 'google/apis/people_v1' @@ -47,62 +46,26 @@ module Google super('https://people.googleapis.com/', '') end - # Provides information about a person resource for a resource name. Use `people/ - # me` to indicate the authenticated user. - # @param [String] resource_name - # The resource name of the person to provide information about. - To get - # information about the authenticated user, specify `people/me`. - To get - # information about any user, specify the resource name that identifies the user, - # such as the resource names returned by [`people.connections.list`](/people/ - # api/rest/v1/people.connections/list). + # Provides information about a list of specific people by specifying a list + # of requested resource names. Use `people/me` to indicate the authenticated + # user. # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting this - # field will include all fields. Each path should start with `person.`: for - # example, `person.names` or `person.photos`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PeopleV1::Person] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_person(resource_name, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resourceName}', options) - command.response_representation = Google::Apis::PeopleV1::Person::Representation - command.response_class = Google::Apis::PeopleV1::Person - command.params['resourceName'] = resource_name unless resource_name.nil? - command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Provides information about a list of specific people by specifying a list of - # requested resource names. Use `people/me` to indicate the authenticated user. + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields except for connections.list requests, + # which have a default mask that includes common fields like metadata, name, + # photo, and profile url. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. # @param [Array, String] resource_names - # The resource name, such as one returned by [`people.connections.list`](/people/ - # api/rest/v1/people.connections/list), of one of the people to provide - # information about. You can include this parameter up to 50 times in one - # request. - # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting this - # field will include all fields. Each path should start with `person.`: for - # example, `person.names` or `person.photos`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The resource name, such as one returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list), + # of one of the people to provide information about. You can include this + # parameter up to 50 times in one request. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -115,41 +78,90 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) + def get_people(request_mask_include_field: nil, resource_names: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/people:batchGet', options) command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation command.response_class = Google::Apis::PeopleV1::GetPeopleResponse - command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['fields'] = fields unless fields.nil? + command.query['resourceNames'] = resource_names unless resource_names.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Provides a list of the authenticated user's contacts merged with any linked - # profiles. + # Provides information about a person resource for a resource name. Use + # `people/me` to indicate the authenticated user. # @param [String] resource_name - # The resource name to return connections for. Only `people/me` is valid. - # @param [String] page_token - # The token of the page to be returned. - # @param [Fixnum] page_size - # The number of connections to include in the response. Valid values are between - # 1 and 500, inclusive. Defaults to 100. - # @param [String] sort_order - # The order in which the connections should be sorted. Defaults to ` - # LAST_MODIFIED_ASCENDING`. - # @param [String] sync_token - # A sync token, returned by a previous call to `people.connections.list`. Only - # resources changed since the sync token was created are returned. + # The resource name of the person to provide information about. + # - To get information about the authenticated user, specify `people/me`. + # - To get information about any user, specify the resource name that + # identifies the user, such as the resource names returned by + # [`people.connections.list`](/people/api/rest/v1/people.connections/list). # @param [String] request_mask_include_field - # Comma-separated list of fields to be included in the response. Omitting this - # field will include all fields. Each path should start with `person.`: for - # example, `person.names` or `person.photos`. - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields except for connections.list requests, + # which have a default mask that includes common fields like metadata, name, + # photo, and profile url. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PeopleV1::Person] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_person(resource_name, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resourceName}', options) + command.response_representation = Google::Apis::PeopleV1::Person::Representation + command.response_class = Google::Apis::PeopleV1::Person + command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Provides a list of the authenticated user's contacts merged with any + # linked profiles. + # @param [String] resource_name + # The resource name to return connections for. Only `people/me` is valid. + # @param [String] sync_token + # A sync token, returned by a previous call to `people.connections.list`. + # Only resources changed since the sync token was created will be returned. + # @param [String] sort_order + # The order in which the connections should be sorted. Defaults to + # `LAST_MODIFIED_ASCENDING`. + # @param [Boolean] request_sync_token + # Whether the response should include a sync token, which can be used to get + # all changes since the last request. + # @param [String] page_token + # The token of the page to be returned. + # @param [Fixnum] page_size + # The number of connections to include in the response. Valid values are + # between 1 and 500, inclusive. Defaults to 100. + # @param [String] request_mask_include_field + # Comma-separated list of fields to be included in the response. Omitting + # this field will include all fields except for connections.list requests, + # which have a default mask that includes common fields like metadata, name, + # photo, and profile url. + # Each path should start with `person.`: for example, `person.names` or + # `person.photos`. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -162,18 +174,19 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_person_connections(resource_name, page_token: nil, page_size: nil, sort_order: nil, sync_token: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_person_connections(resource_name, sync_token: nil, sort_order: nil, request_sync_token: nil, page_token: nil, page_size: nil, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+resourceName}/connections', options) command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse command.params['resourceName'] = resource_name unless resource_name.nil? + command.query['syncToken'] = sync_token unless sync_token.nil? + command.query['sortOrder'] = sort_order unless sort_order.nil? + command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['pageSize'] = page_size unless page_size.nil? - command.query['sortOrder'] = sort_order unless sort_order.nil? - command.query['syncToken'] = sync_token unless sync_token.nil? command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/plus_domains_v1.rb b/generated/google/apis/plus_domains_v1.rb index a9cab1f95..080a0b57f 100644 --- a/generated/google/apis/plus_domains_v1.rb +++ b/generated/google/apis/plus_domains_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/domains/ module PlusDomainsV1 VERSION = 'V1' - REVISION = '20160815' + REVISION = '20170322' # View your circles and the people and pages in them AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read' diff --git a/generated/google/apis/plus_v1.rb b/generated/google/apis/plus_v1.rb index 03db771c7..70a39cc30 100644 --- a/generated/google/apis/plus_v1.rb +++ b/generated/google/apis/plus_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/+/api/ module PlusV1 VERSION = 'V1' - REVISION = '20160815' + REVISION = '20170322' # Know the list of people in your circles, your age range, and language AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login' diff --git a/generated/google/apis/proximitybeacon_v1beta1.rb b/generated/google/apis/proximitybeacon_v1beta1.rb index b15ed0319..c08dc24c9 100644 --- a/generated/google/apis/proximitybeacon_v1beta1.rb +++ b/generated/google/apis/proximitybeacon_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/beacons/proximity/ module ProximitybeaconV1beta1 VERSION = 'V1beta1' - REVISION = '20160429' + REVISION = '20170320' # View and modify your beacons AUTH_USERLOCATION_BEACON_REGISTRY = 'https://www.googleapis.com/auth/userlocation.beacon.registry' diff --git a/generated/google/apis/proximitybeacon_v1beta1/classes.rb b/generated/google/apis/proximitybeacon_v1beta1/classes.rb index 04534b9b2..14c113c8a 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/classes.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/classes.rb @@ -22,153 +22,97 @@ module Google module Apis module ProximitybeaconV1beta1 - # Details of a beacon device. - class Beacon + # Response that contains list beacon results and pagination help. + class ListBeaconsResponse include Google::Apis::Core::Hashable - # 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. + # An opaque pagination token that the client may provide in their next + # request to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The beacons that matched the search criteria. + # Corresponds to the JSON property `beacons` + # @return [Array] + attr_accessor :beacons + + # Estimate of the total number of beacons matched by the query. Higher + # values may be less accurate. + # Corresponds to the JSON property `totalCount` + # @return [String] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @beacons = args[:beacons] if args.key?(:beacons) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + + # Diagnostics for a single beacon. + class Diagnostics + include Google::Apis::Core::Hashable + + # An unordered list of Alerts that the beacon has. + # Corresponds to the JSON property `alerts` + # @return [Array] + attr_accessor :alerts + + # 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`. + # Corresponds to the JSON property `estimatedLowBatteryDate` + # @return [Google::Apis::ProximitybeaconV1beta1::Date] + attr_accessor :estimated_low_battery_date + + # Resource name of the beacon. For Eddystone-EID beacons, this may + # be the beacon's current EID, or the beacon's "stable" Eddystone-UID. # Corresponds to the JSON property `beaconName` # @return [String] attr_accessor :beacon_name - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - # Current status of the beacon. Required. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # 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. - # Corresponds to the JSON property `placeId` - # @return [String] - attr_accessor :place_id - - # 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) - # Corresponds to the JSON property `latLng` - # @return [Google::Apis::ProximitybeaconV1beta1::LatLng] - attr_accessor :lat_lng - - # 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. - # Corresponds to the JSON property `indoorLevel` - # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel] - attr_accessor :indoor_level - - # Expected location stability. This is set when the beacon is registered or - # updated, not automatically detected in any way. Optional. - # Corresponds to the JSON property `expectedStability` - # @return [String] - attr_accessor :expected_stability - - # Free text used to identify and describe the beacon. Maximum length 140 - # characters. Optional. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # Properties of the beacon device, for example battery type or firmware version. - # Optional. - # Corresponds to the JSON property `properties` - # @return [Hash] - attr_accessor :properties - - # 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. - # Corresponds to the JSON property `ephemeralIdRegistration` - # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration] - attr_accessor :ephemeral_id_registration - - # 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. - # Corresponds to the JSON property `provisioningKey` - # @return [String] - attr_accessor :provisioning_key - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @alerts = args[:alerts] if args.key?(:alerts) + @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @status = args[:status] if args.key?(:status) - @place_id = args[:place_id] if args.key?(:place_id) - @lat_lng = args[:lat_lng] if args.key?(:lat_lng) - @indoor_level = args[:indoor_level] if args.key?(:indoor_level) - @expected_stability = args[:expected_stability] if args.key?(:expected_stability) - @description = args[:description] if args.key?(:description) - @properties = args[:properties] if args.key?(:properties) - @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration) - @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) end end - # Defines a unique identifier of a beacon as broadcast by the device. - class AdvertisedId + # Request for beacon and attachment information about beacons that + # a mobile client has encountered "in the wild". + class GetInfoForObservedBeaconsRequest include Google::Apis::Core::Hashable - # Specifies the identifier type. Required. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type + # The beacons that the client has encountered. + # At least one must be given. + # Corresponds to the JSON property `observations` + # @return [Array] + attr_accessor :observations - # 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. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id + # 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 owned by the client. + # Optional. + # Corresponds to the JSON property `namespacedTypes` + # @return [Array] + attr_accessor :namespaced_types def initialize(**args) update!(**args) @@ -176,30 +120,202 @@ module Google # Update properties of this object def update!(**args) - @type = args[:type] if args.key?(:type) - @id = args[:id] if args.key?(:id) + @observations = args[:observations] if args.key?(:observations) + @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Project-specific data associated with a beacon. + class BeaconAttachment + include Google::Apis::Core::Hashable + + # Resource name of this attachment. Attachment names have the format: + # beacons/beacon_id/attachments/attachment_id. + # Leave this empty on creation. + # Corresponds to the JSON property `attachmentName` + # @return [String] + attr_accessor :attachment_name + + # 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. + # Corresponds to the JSON property `namespacedType` + # @return [String] + attr_accessor :namespaced_type + + # 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. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # The UTC time when this attachment was created, in milliseconds since the + # UNIX epoch. + # Corresponds to the JSON property `creationTimeMs` + # @return [String] + attr_accessor :creation_time_ms + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachment_name = args[:attachment_name] if args.key?(:attachment_name) + @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) + @data = args[:data] if args.key?(:data) + @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms) + end + end + + # 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. + class EphemeralIdRegistration + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `initialClockValue` + # @return [String] + attr_accessor :initial_clock_value + + # 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. + # Corresponds to the JSON property `beaconEcdhPublicKey` + # @return [String] + attr_accessor :beacon_ecdh_public_key + + # 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. + # Corresponds to the JSON property `rotationPeriodExponent` + # @return [Fixnum] + attr_accessor :rotation_period_exponent + + # 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. + # Corresponds to the JSON property `serviceEcdhPublicKey` + # @return [String] + attr_accessor :service_ecdh_public_key + + # The private key of the beacon. If this field is populated, + # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be + # populated. + # Corresponds to the JSON property `beaconIdentityKey` + # @return [String] + attr_accessor :beacon_identity_key + + # 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. + # Corresponds to the JSON property `initialEid` + # @return [String] + attr_accessor :initial_eid + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value) + @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key) + @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) + @initial_eid = args[:initial_eid] if args.key?(:initial_eid) end end # 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 + # 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 <= 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 include Google::Apis::Core::Hashable @@ -224,197 +340,7 @@ module Google end end - # 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 - include Google::Apis::Core::Hashable - - # The name of this level. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - end - end - - # 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. - class EphemeralIdRegistration - include Google::Apis::Core::Hashable - - # 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. - # Corresponds to the JSON property `beaconEcdhPublicKey` - # @return [String] - attr_accessor :beacon_ecdh_public_key - - # 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. - # Corresponds to the JSON property `serviceEcdhPublicKey` - # @return [String] - attr_accessor :service_ecdh_public_key - - # The private key of the beacon. If this field is populated, ` - # beacon_ecdh_public_key` and `service_ecdh_public_key` must not be populated. - # Corresponds to the JSON property `beaconIdentityKey` - # @return [String] - attr_accessor :beacon_identity_key - - # 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. - # Corresponds to the JSON property `rotationPeriodExponent` - # @return [Fixnum] - attr_accessor :rotation_period_exponent - - # 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. - # Corresponds to the JSON property `initialClockValue` - # @return [String] - attr_accessor :initial_clock_value - - # 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. - # Corresponds to the JSON property `initialEid` - # @return [String] - attr_accessor :initial_eid - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key) - @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent) - @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value) - @initial_eid = args[:initial_eid] if args.key?(:initial_eid) - end - end - - # 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 - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - - # Response that contains list beacon results and pagination help. - class ListBeaconsResponse - include Google::Apis::Core::Hashable - - # The beacons that matched the search criteria. - # Corresponds to the JSON property `beacons` - # @return [Array] - attr_accessor :beacons - - # An opaque pagination token that the client may provide in their next request - # to retrieve the next page of results. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - # Estimate of the total number of beacons matched by the query. Higher values - # may be less accurate. - # Corresponds to the JSON property `totalCount` - # @return [String] - attr_accessor :total_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacons = args[:beacons] if args.key?(:beacons) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - @total_count = args[:total_count] if args.key?(:total_count) - end - end - - # Project-specific data associated with a beacon. - class BeaconAttachment - include Google::Apis::Core::Hashable - - # Resource name of this attachment. Attachment names have the format: beacons/ - # beacon_id/attachments/attachment_id. Leave this empty on creation. - # Corresponds to the JSON property `attachmentName` - # @return [String] - attr_accessor :attachment_name - - # 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. - # Corresponds to the JSON property `namespacedType` - # @return [String] - attr_accessor :namespaced_type - - # 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. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @attachment_name = args[:attachment_name] if args.key?(:attachment_name) - @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) - @data = args[:data] if args.key?(:data) - end - end - - # Response to ListBeaconAttachments that contains the requested attachments. + # Response to `ListBeaconAttachments` that contains the requested attachments. class ListBeaconAttachmentsResponse include Google::Apis::Core::Hashable @@ -433,6 +359,135 @@ module Google end end + # 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. + class Namespace + include Google::Apis::Core::Hashable + + # Resource name of this namespace. Namespaces names have the format: + # namespaces/namespace. + # Corresponds to the JSON property `namespaceName` + # @return [String] + attr_accessor :namespace_name + + # Specifies what clients may receive attachments under this namespace + # via `beaconinfo.getforobserved`. + # Corresponds to the JSON property `servingVisibility` + # @return [String] + attr_accessor :serving_visibility + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespace_name = args[:namespace_name] if args.key?(:namespace_name) + @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility) + end + end + + # A subset of attachment information served via the + # `beaconinfo.getforobserved` method, used when your users encounter your + # beacons. + class AttachmentInfo + include Google::Apis::Core::Hashable + + # 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 + # Corresponds to the JSON property `namespacedType` + # @return [String] + attr_accessor :namespaced_type + + # An opaque data container for client-provided data. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) + @data = args[:data] if args.key?(:data) + end + end + + # A subset of beacon information served via the `beaconinfo.getforobserved` + # method, which you call when users of your app encounter your beacons. + class BeaconInfo + include Google::Apis::Core::Hashable + + # The name under which the beacon is registered. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + + # Attachments matching the type(s) requested. + # May be empty if no attachment types were requested. + # Corresponds to the JSON property `attachments` + # @return [Array] + attr_accessor :attachments + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) + @attachments = args[:attachments] if args.key?(:attachments) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # The beacon service's public key for use by a beacon to derive its + # Identity Key using Elliptic Curve Diffie-Hellman key exchange. + # Corresponds to the JSON property `serviceEcdhPublicKey` + # @return [String] + attr_accessor :service_ecdh_public_key + + # Indicates the minimum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `minRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :min_rotation_period_exponent + + # Indicates the maximum rotation period supported by the service. + # See EddystoneEidRegistration.rotation_period_exponent + # Corresponds to the JSON property `maxRotationPeriodExponent` + # @return [Fixnum] + attr_accessor :max_rotation_period_exponent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) + @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) + @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) + end + end + # Response for a request to delete attachments. class DeleteAttachmentsResponse include Google::Apis::Core::Hashable @@ -452,6 +507,333 @@ module Google end end + # Represents one beacon observed once. + class Observation + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `telemetry` + # @return [String] + attr_accessor :telemetry + + # Time when the beacon was observed. + # Corresponds to the JSON property `timestampMs` + # @return [String] + attr_accessor :timestamp_ms + + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @telemetry = args[:telemetry] if args.key?(:telemetry) + @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) + end + end + + # Response that contains the requested diagnostics. + class ListDiagnosticsResponse + include Google::Apis::Core::Hashable + + # The diagnostics matching the given request. + # Corresponds to the JSON property `diagnostics` + # @return [Array] + attr_accessor :diagnostics + + # Token that can be used for pagination. Returned only if the + # request matches more beacons than can be returned in this response. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @diagnostics = args[:diagnostics] if args.key?(:diagnostics) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Information about the requested beacons, optionally including attachment + # data. + class GetInfoForObservedBeaconsResponse + include Google::Apis::Core::Hashable + + # Public information about beacons. + # May be empty if the request matched no beacons. + # Corresponds to the JSON property `beacons` + # @return [Array] + attr_accessor :beacons + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @beacons = args[:beacons] if args.key?(:beacons) + end + end + + # Details of a beacon device. + class Beacon + include Google::Apis::Core::Hashable + + # Defines a unique identifier of a beacon as broadcast by the device. + # Corresponds to the JSON property `advertisedId` + # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] + attr_accessor :advertised_id + + # 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. + # Corresponds to the JSON property `ephemeralIdRegistration` + # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration] + attr_accessor :ephemeral_id_registration + + # 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. + # Corresponds to the JSON property `provisioningKey` + # @return [String] + attr_accessor :provisioning_key + + # Free text used to identify and describe the beacon. Maximum length 140 + # characters. + # Optional. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :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 <= 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. + # Corresponds to the JSON property `latLng` + # @return [Google::Apis::ProximitybeaconV1beta1::LatLng] + attr_accessor :lat_lng + + # 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. + # Corresponds to the JSON property `placeId` + # @return [String] + attr_accessor :place_id + + # Properties of the beacon device, for example battery type or firmware + # version. + # Optional. + # Corresponds to the JSON property `properties` + # @return [Hash] + attr_accessor :properties + + # Current status of the beacon. + # Required. + # Corresponds to the JSON property `status` + # @return [String] + attr_accessor :status + + # 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. + # Corresponds to the JSON property `indoorLevel` + # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel] + attr_accessor :indoor_level + + # 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. + # Corresponds to the JSON property `beaconName` + # @return [String] + attr_accessor :beacon_name + + # Expected location stability. This is set when the beacon is registered or + # updated, not automatically detected in any way. + # Optional. + # Corresponds to the JSON property `expectedStability` + # @return [String] + attr_accessor :expected_stability + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @advertised_id = args[:advertised_id] if args.key?(:advertised_id) + @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration) + @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key) + @description = args[:description] if args.key?(:description) + @lat_lng = args[:lat_lng] if args.key?(:lat_lng) + @place_id = args[:place_id] if args.key?(:place_id) + @properties = args[:properties] if args.key?(:properties) + @status = args[:status] if args.key?(:status) + @indoor_level = args[:indoor_level] if args.key?(:indoor_level) + @beacon_name = args[:beacon_name] if args.key?(:beacon_name) + @expected_stability = args[:expected_stability] if args.key?(:expected_stability) + end + end + + # Defines a unique identifier of a beacon as broadcast by the device. + class AdvertisedId + include Google::Apis::Core::Hashable + + # Specifies the identifier type. + # Required. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # 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. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @id = args[:id] if args.key?(:id) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # Year of date. Must be from 1 to 9999, or 0 if specifying a date without + # a year. + # Corresponds to the JSON property `year` + # @return [Fixnum] + attr_accessor :year + + # 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. + # Corresponds to the JSON property `day` + # @return [Fixnum] + attr_accessor :day + + # Month of year. Must be from 1 to 12. + # Corresponds to the JSON property `month` + # @return [Fixnum] + attr_accessor :month + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @year = args[:year] if args.key?(:year) + @day = args[:day] if args.key?(:day) + @month = args[:month] if args.key?(:month) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # The name of this level. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + # Response to ListNamespacesRequest that contains all the project's namespaces. class ListNamespacesResponse include Google::Apis::Core::Hashable @@ -470,317 +852,6 @@ module Google @namespaces = args[:namespaces] if args.key?(:namespaces) end end - - # 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. - class Namespace - include Google::Apis::Core::Hashable - - # Resource name of this namespace. Namespaces names have the format: namespaces/ - # namespace. - # Corresponds to the JSON property `namespaceName` - # @return [String] - attr_accessor :namespace_name - - # Specifies what clients may receive attachments under this namespace via ` - # beaconinfo.getforobserved`. - # Corresponds to the JSON property `servingVisibility` - # @return [String] - attr_accessor :serving_visibility - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @namespace_name = args[:namespace_name] if args.key?(:namespace_name) - @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility) - end - end - - # 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 - include Google::Apis::Core::Hashable - - # The beacon service's public key for use by a beacon to derive its Identity Key - # using Elliptic Curve Diffie-Hellman key exchange. - # Corresponds to the JSON property `serviceEcdhPublicKey` - # @return [String] - attr_accessor :service_ecdh_public_key - - # Indicates the minimum rotation period supported by the service. See - # EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `minRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :min_rotation_period_exponent - - # Indicates the maximum rotation period supported by the service. See - # EddystoneEidRegistration.rotation_period_exponent - # Corresponds to the JSON property `maxRotationPeriodExponent` - # @return [Fixnum] - attr_accessor :max_rotation_period_exponent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key) - @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent) - @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent) - end - end - - # Response that contains the requested diagnostics. - class ListDiagnosticsResponse - include Google::Apis::Core::Hashable - - # The diagnostics matching the given request. - # Corresponds to the JSON property `diagnostics` - # @return [Array] - attr_accessor :diagnostics - - # Token that can be used for pagination. Returned only if the request matches - # more beacons than can be returned in this response. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @diagnostics = args[:diagnostics] if args.key?(:diagnostics) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Diagnostics for a single beacon. - class Diagnostics - include Google::Apis::Core::Hashable - - # Resource name of the beacon. For Eddystone-EID beacons, this may be the beacon' - # s current EID, or the beacon's "stable" Eddystone-UID. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - # 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`. - # Corresponds to the JSON property `estimatedLowBatteryDate` - # @return [Google::Apis::ProximitybeaconV1beta1::Date] - attr_accessor :estimated_low_battery_date - - # An unordered list of Alerts that the beacon has. - # Corresponds to the JSON property `alerts` - # @return [Array] - attr_accessor :alerts - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date) - @alerts = args[:alerts] if args.key?(:alerts) - end - end - - # 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 - include Google::Apis::Core::Hashable - - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. - # Corresponds to the JSON property `year` - # @return [Fixnum] - attr_accessor :year - - # Month of year. Must be from 1 to 12. - # Corresponds to the JSON property `month` - # @return [Fixnum] - attr_accessor :month - - # 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. - # Corresponds to the JSON property `day` - # @return [Fixnum] - attr_accessor :day - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @year = args[:year] if args.key?(:year) - @month = args[:month] if args.key?(:month) - @day = args[:day] if args.key?(:day) - end - end - - # Request for beacon and attachment information about beacons that a mobile - # client has encountered "in the wild". - class GetInfoForObservedBeaconsRequest - include Google::Apis::Core::Hashable - - # The beacons that the client has encountered. At least one must be given. - # Corresponds to the JSON property `observations` - # @return [Array] - attr_accessor :observations - - # 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. - # Corresponds to the JSON property `namespacedTypes` - # @return [Array] - attr_accessor :namespaced_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @observations = args[:observations] if args.key?(:observations) - @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types) - end - end - - # Represents one beacon observed once. - class Observation - include Google::Apis::Core::Hashable - - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - # 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. - # Corresponds to the JSON property `telemetry` - # @return [String] - attr_accessor :telemetry - - # Time when the beacon was observed. - # Corresponds to the JSON property `timestampMs` - # @return [String] - attr_accessor :timestamp_ms - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @telemetry = args[:telemetry] if args.key?(:telemetry) - @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms) - end - end - - # Information about the requested beacons, optionally including attachment data. - class GetInfoForObservedBeaconsResponse - include Google::Apis::Core::Hashable - - # Public information about beacons. May be empty if the request matched no - # beacons. - # Corresponds to the JSON property `beacons` - # @return [Array] - attr_accessor :beacons - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @beacons = args[:beacons] if args.key?(:beacons) - end - end - - # A subset of beacon information served via the `beaconinfo.getforobserved` - # method, which you call when users of your app encounter your beacons. - class BeaconInfo - include Google::Apis::Core::Hashable - - # Defines a unique identifier of a beacon as broadcast by the device. - # Corresponds to the JSON property `advertisedId` - # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId] - attr_accessor :advertised_id - - # The name under which the beacon is registered. - # Corresponds to the JSON property `beaconName` - # @return [String] - attr_accessor :beacon_name - - # Attachments matching the type(s) requested. May be empty if no attachment - # types were requested, or if none matched. - # Corresponds to the JSON property `attachments` - # @return [Array] - attr_accessor :attachments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @advertised_id = args[:advertised_id] if args.key?(:advertised_id) - @beacon_name = args[:beacon_name] if args.key?(:beacon_name) - @attachments = args[:attachments] if args.key?(:attachments) - end - end - - # A subset of attachment information served via the `beaconinfo.getforobserved` - # method, used when your users encounter your beacons. - class AttachmentInfo - include Google::Apis::Core::Hashable - - # 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 - # Corresponds to the JSON property `namespacedType` - # @return [String] - attr_accessor :namespaced_type - - # An opaque data container for client-provided data. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type) - @data = args[:data] if args.key?(:data) - end - end end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/representations.rb b/generated/google/apis/proximitybeacon_v1beta1/representations.rb index c26c59d25..dc0e7cb79 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/representations.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/representations.rb @@ -22,121 +22,55 @@ module Google module Apis module ProximitybeaconV1beta1 - class Beacon - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AdvertisedId - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LatLng - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class IndoorLevel - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EphemeralIdRegistration - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Empty - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListBeaconsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BeaconAttachment - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListBeaconAttachmentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteAttachmentsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListNamespacesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Namespace - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EphemeralIdRegistrationParams - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListDiagnosticsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Diagnostics class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Date - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GetInfoForObservedBeaconsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Observation + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GetInfoForObservedBeaconsResponse + class BeaconAttachment class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BeaconInfo + class EphemeralIdRegistration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LatLng + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListBeaconAttachmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Namespace class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -148,152 +82,89 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class BeaconInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EphemeralIdRegistrationParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteAttachmentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Observation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListDiagnosticsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GetInfoForObservedBeaconsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Beacon - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :beacon_name, as: 'beaconName' - property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - property :status, as: 'status' - property :place_id, as: 'placeId' - property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation - - property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation - - property :expected_stability, as: 'expectedStability' - property :description, as: 'description' - hash :properties, as: 'properties' - property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation - - property :provisioning_key, :base64 => true, as: 'provisioningKey' - end + include Google::Apis::Core::JsonObjectSupport end class AdvertisedId - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :id, :base64 => true, as: 'id' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end + class Date + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class IndoorLevel - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end - class EphemeralIdRegistration - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' - property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' - property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey' - property :rotation_period_exponent, as: 'rotationPeriodExponent' - property :initial_clock_value, as: 'initialClockValue' - property :initial_eid, :base64 => true, as: 'initialEid' - end - end + class ListNamespacesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end + include Google::Apis::Core::JsonObjectSupport end class ListBeaconsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - property :next_page_token, as: 'nextPageToken' property :total_count, as: 'totalCount' end end - class BeaconAttachment - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :attachment_name, as: 'attachmentName' - property :namespaced_type, as: 'namespacedType' - property :data, :base64 => true, as: 'data' - end - end - - class ListBeaconAttachmentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation - - end - end - - class DeleteAttachmentsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :num_deleted, as: 'numDeleted' - end - end - - class ListNamespacesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation - - end - end - - class Namespace - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :namespace_name, as: 'namespaceName' - property :serving_visibility, as: 'servingVisibility' - end - end - - class EphemeralIdRegistrationParams - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' - property :min_rotation_period_exponent, as: 'minRotationPeriodExponent' - property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent' - end - end - - class ListDiagnosticsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - class Diagnostics # @private class Representation < Google::Apis::Core::JsonRepresentation - property :beacon_name, as: 'beaconName' + collection :alerts, as: 'alerts' property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation - collection :alerts, as: 'alerts' - end - end - - class Date - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :year, as: 'year' - property :month, as: 'month' - property :day, as: 'day' + property :beacon_name, as: 'beaconName' end end @@ -306,13 +177,109 @@ module Google end end + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class BeaconAttachment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attachment_name, as: 'attachmentName' + property :namespaced_type, as: 'namespacedType' + property :data, :base64 => true, as: 'data' + property :creation_time_ms, as: 'creationTimeMs' + end + end + + class EphemeralIdRegistration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :initial_clock_value, as: 'initialClockValue' + property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey' + property :rotation_period_exponent, as: 'rotationPeriodExponent' + property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' + property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey' + property :initial_eid, :base64 => true, as: 'initialEid' + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class ListBeaconAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation + + end + end + + class Namespace + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespace_name, as: 'namespaceName' + property :serving_visibility, as: 'servingVisibility' + end + end + + class AttachmentInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :namespaced_type, as: 'namespacedType' + property :data, :base64 => true, as: 'data' + end + end + + class BeaconInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :beacon_name, as: 'beaconName' + property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + + collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation + + end + end + + class EphemeralIdRegistrationParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey' + property :min_rotation_period_exponent, as: 'minRotationPeriodExponent' + property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent' + end + end + + class DeleteAttachmentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_deleted, as: 'numDeleted' + end + end + class Observation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation - property :telemetry, :base64 => true, as: 'telemetry' property :timestamp_ms, as: 'timestampMs' + property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation + + end + end + + class ListDiagnosticsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation + + property :next_page_token, as: 'nextPageToken' end end @@ -324,22 +291,56 @@ module Google end end - class BeaconInfo + class Beacon # @private class Representation < Google::Apis::Core::JsonRepresentation property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation - property :beacon_name, as: 'beaconName' - collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation + property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation + property :provisioning_key, :base64 => true, as: 'provisioningKey' + property :description, as: 'description' + property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation + + property :place_id, as: 'placeId' + hash :properties, as: 'properties' + property :status, as: 'status' + property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation + + property :beacon_name, as: 'beaconName' + property :expected_stability, as: 'expectedStability' end end - class AttachmentInfo + class AdvertisedId # @private class Representation < Google::Apis::Core::JsonRepresentation - property :namespaced_type, as: 'namespacedType' - property :data, :base64 => true, as: 'data' + property :type, as: 'type' + property :id, :base64 => true, as: 'id' + end + end + + class Date + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :year, as: 'year' + property :day, as: 'day' + property :month, as: 'month' + end + end + + class IndoorLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class ListNamespacesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation + end end end diff --git a/generated/google/apis/proximitybeacon_v1beta1/service.rb b/generated/google/apis/proximitybeacon_v1beta1/service.rb index 2e5926fab..9996d173d 100644 --- a/generated/google/apis/proximitybeacon_v1beta1/service.rb +++ b/generated/google/apis/proximitybeacon_v1beta1/service.rb @@ -46,15 +46,12 @@ module Google super('https://proximitybeacon.googleapis.com/', '') end - # 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. - # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object - # @param [String] project_id - # 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. + # 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. + # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -64,604 +61,35 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # @return [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/beacons:register', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.request_object = beacon_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def decommission_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}:decommission', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] 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` - # @param [String] page_token - # A pagination token obtained from a previous request to list beacons. - # @param [Fixnum] page_size - # The maximum number of records to return for this request, up to a server- - # defined upper limit. - # @param [String] project_id - # The project id to list beacons under. If not present then the project - # credential that made the request is used as the project. Optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacons(q: nil, page_token: nil, page_size: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/beacons', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse - command.query['q'] = q unless q.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1beta1/{+beaconName}', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.request_object = beacon_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def activate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] beacon_attachment_object - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation - command.request_object = beacon_attachment_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] namespaced_type - # Specifies the namespace and type of attachment to include in response in - # namespace/type format. Accepts `*/*` to specify "all types in all namespaces". - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] attachment_name - # 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. - # @param [String] project_id - # The project id of the attachment to delete. If not provided, the project that - # is making the request is used. Optional. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty - command.params['attachmentName'] = attachment_name unless attachment_name.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # 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. - # @param [String] namespaced_type - # Specifies the namespace and type of attachments to delete in `namespace/type` - # format. Accepts `*/*` to specify "all types in all namespaces". Optional. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments:batchDelete', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? - command.query['projectId'] = project_id unless project_id.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # 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. - # @param [String] beacon_name - # Beacon that the diagnostics are for. - # @param [Fixnum] page_size - # Specifies the maximum number of results to return. Defaults to 10. Maximum - # 1000. Optional. - # @param [String] page_token - # Requests results that occur after the `page_token`, obtained from the response - # to a previous request. Optional. - # @param [String] alert_filter - # Requests only beacons that have the given alert. For example, to find beacons - # that have low batteries use `alert_filter=LOW_BATTERY`. - # @param [String] project_id - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_beacon_diagnostics(beacon_name, page_size: nil, page_token: nil, alert_filter: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options) - command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse - command.params['beaconName'] = beacon_name unless beacon_name.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['alertFilter'] = alert_filter unless alert_filter.nil? - command.query['projectId'] = project_id unless project_id.nil? + def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/beaconinfo:getforobserved', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest::Representation + command.request_object = get_info_for_observed_beacons_request_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end # 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) + # 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. # @param [String] project_id - # The project id to list namespaces under. Optional. + # The project id to list namespaces under. + # Optional. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -692,13 +120,14 @@ module Google # Updates the information about the specified namespace. Only the namespace # visibility can be updated. # @param [String] namespace_name - # Resource name of this namespace. Namespaces names have the format: namespaces/ - # namespace. + # Resource name of this namespace. Namespaces names have the format: + # namespaces/namespace. # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object # @param [String] project_id - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -729,12 +158,13 @@ module Google execute_or_queue_command(command, &block) end - # 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. + # 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. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -761,11 +191,86 @@ module Google execute_or_queue_command(command, &block) end - # 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. - # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object + # 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. + # @param [String] 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: <, >, <=, 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:` 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. + # * **indoor\_level:`""`** + # 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` + # @param [Fixnum] page_size + # The maximum number of records to return for this request, up to a + # server-defined upper limit. + # @param [String] project_id + # The project id to list beacons under. If not present then the project + # credential that made the request is used as the project. + # Optional. + # @param [String] page_token + # A pagination token obtained from a previous request to list beacons. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -775,20 +280,639 @@ module Google # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] parsed result object + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse] + # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1beta1/beaconinfo:getforobserved', options) - command.request_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest::Representation - command.request_object = get_info_for_observed_beacons_request_object - command.response_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse::Representation - command.response_class = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse + def list_beacons(q: nil, page_size: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/beacons', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse + command.query['q'] = q unless q.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/beacons:register', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.request_object = beacon_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def activate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Beacon] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v1beta1/{+beaconName}', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.request_object = beacon_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def decommission_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}:decommission', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] project_id + # The project id of the beacon to delete. If not provided, the project + # that is making the request is used. + # Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+beaconName}', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # Beacon that the diagnostics are for. + # @param [Fixnum] page_size + # Specifies the maximum number of results to return. Defaults to + # 10. Maximum 1000. Optional. + # @param [String] alert_filter + # Requests only beacons that have the given alert. For example, to find + # beacons that have low batteries use `alert_filter=LOW_BATTERY`. + # @param [String] project_id + # 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. + # @param [String] page_token + # Requests results that occur after the `page_token`, obtained from the + # response to a previous request. Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_beacon_diagnostics(beacon_name, page_size: nil, alert_filter: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['alertFilter'] = alert_filter unless alert_filter.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] namespaced_type + # Specifies the namespace and type of attachment to include in response in + # namespace/type format. Accepts `*/*` to specify + # "all types in all namespaces". + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] beacon_attachment_object + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::BeaconAttachment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments', options) + command.request_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation + command.request_object = beacon_attachment_object + command.response_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] beacon_name + # 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. + # @param [String] namespaced_type + # Specifies the namespace and type of attachments to delete in + # `namespace/type` format. Accepts `*/*` to specify + # "all types in all namespaces". + # Optional. + # @param [String] project_id + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments:batchDelete', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse + command.params['beaconName'] = beacon_name unless beacon_name.nil? + command.query['namespacedType'] = namespaced_type unless namespaced_type.nil? + command.query['projectId'] = project_id unless project_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] attachment_name + # 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. + # @param [String] project_id + # The project id of the attachment to delete. If not provided, the project + # that is making the request is used. + # Optional. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ProximitybeaconV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options) + command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation + command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty + command.params['attachmentName'] = attachment_name unless attachment_name.nil? + command.query['projectId'] = project_id unless project_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) diff --git a/generated/google/apis/pubsub_v1.rb b/generated/google/apis/pubsub_v1.rb index 5eff2c4b3..5476a6109 100644 --- a/generated/google/apis/pubsub_v1.rb +++ b/generated/google/apis/pubsub_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/pubsub/docs module PubsubV1 VERSION = 'V1' - REVISION = '20160317' + REVISION = '20170308' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/pubsub_v1/classes.rb b/generated/google/apis/pubsub_v1/classes.rb index 84ed56fe5..3b8665d07 100644 --- a/generated/google/apis/pubsub_v1/classes.rb +++ b/generated/google/apis/pubsub_v1/classes.rb @@ -22,263 +22,43 @@ module Google module Apis module PubsubV1 - # Request message for `SetIamPolicy` method. - class SetIamPolicyRequest - include Google::Apis::Core::Hashable - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - # Corresponds to the JSON property `policy` - # @return [Google::Apis::PubsubV1::Policy] - attr_accessor :policy - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @policy = args[:policy] if args.key?(:policy) - end - end - - # Defines an Identity and Access Management (IAM) policy. It is used to specify - # access control policies for Cloud Platform resources. A `Policy` consists of a - # list of `bindings`. A `Binding` binds a list of `members` to a `role`, where - # the members can be user accounts, Google groups, Google domains, and service - # accounts. A `role` is a named list of permissions defined by IAM. **Example** ` - # "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com", " - # group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@ - # appspot.gserviceaccount.com", ] `, ` "role": "roles/viewer", "members": ["user: - # sean@example.com"] ` ] ` For a description of IAM and its features, see the [ - # IAM developer's guide](https://cloud.google.com/iam). - class Policy - include Google::Apis::Core::Hashable - - # Version of the `Policy`. The default version is 0. - # Corresponds to the JSON property `version` - # @return [Fixnum] - attr_accessor :version - - # Associates a list of `members` to a `role`. Multiple `bindings` must not be - # specified for the same `role`. `bindings` with no members will result in an - # error. - # Corresponds to the JSON property `bindings` - # @return [Array] - attr_accessor :bindings - - # `etag` is used for optimistic concurrency control as a way to help prevent - # simultaneous updates of a policy from overwriting each other. It is strongly - # suggested that systems make use of the `etag` in the read-modify-write cycle - # to perform policy updates in order to avoid race conditions: An `etag` is - # returned in the response to `getIamPolicy`, and systems are expected to put - # that etag in the request to `setIamPolicy` to ensure that their change will be - # applied to the same version of the policy. If no `etag` is provided in the - # call to `setIamPolicy`, then the existing policy is overwritten blindly. - # Corresponds to the JSON property `etag` - # @return [String] - attr_accessor :etag - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @version = args[:version] if args.key?(:version) - @bindings = args[:bindings] if args.key?(:bindings) - @etag = args[:etag] if args.key?(:etag) - end - end - # Associates `members` with a `role`. class Binding include Google::Apis::Core::Hashable - # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor` - # , or `roles/owner`. Required - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - - # Specifies the identities requesting access for a Cloud Platform resource. ` - # members` can have the following values: * `allUsers`: A special identifier - # that represents anyone who is on the internet; with or without a Google - # account. * `allAuthenticatedUsers`: A special identifier that represents - # anyone who is authenticated with a Google account or a service account. * ` - # user:`emailid``: An email address that represents a specific Google account. - # For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:` - # emailid``: An email address that represents a service account. For example, ` - # my-other-app@appspot.gserviceaccount.com`. * `group:`emailid``: An email - # address that represents a Google group. For example, `admins@example.com`. * ` - # domain:`domain``: A Google Apps domain name that represents all the users of - # that domain. For example, `google.com` or `example.com`. + # Specifies the identities requesting access for a Cloud Platform resource. + # `members` can have the following values: + # * `allUsers`: A special identifier that represents anyone who is + # on the internet; with or without a Google account. + # * `allAuthenticatedUsers`: A special identifier that represents anyone + # who is authenticated with a Google account or a service account. + # * `user:`emailid``: An email address that represents a specific Google + # account. For example, `alice@gmail.com` or `joe@example.com`. + # * `serviceAccount:`emailid``: An email address that represents a service + # account. For example, `my-other-app@appspot.gserviceaccount.com`. + # * `group:`emailid``: An email address that represents a Google group. + # For example, `admins@example.com`. + # * `domain:`domain``: A Google Apps domain name that represents all the + # users of that domain. For example, `google.com` or `example.com`. # Corresponds to the JSON property `members` # @return [Array] attr_accessor :members + # Role that is assigned to `members`. + # For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + # Required + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @role = args[:role] if args.key?(:role) @members = args[:members] if args.key?(:members) - end - end - - # Request message for `TestIamPermissions` method. - class TestIamPermissionsRequest - include Google::Apis::Core::Hashable - - # The set of permissions to check for the `resource`. Permissions with wildcards - # (such as '*' or 'storage.*') are not allowed. For more information see IAM - # Overview. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # Response message for `TestIamPermissions` method. - class TestIamPermissionsResponse - include Google::Apis::Core::Hashable - - # A subset of `TestPermissionsRequest.permissions` that the caller is allowed. - # Corresponds to the JSON property `permissions` - # @return [Array] - attr_accessor :permissions - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @permissions = args[:permissions] if args.key?(:permissions) - end - end - - # A topic resource. - class Topic - include Google::Apis::Core::Hashable - - # The name of the topic. It must have the format `"projects/`project`/topics/` - # topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za- - # z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), - # tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 - # characters in length, and it must not start with `"goog"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - end - end - - # Request for the Publish method. - class PublishRequest - include Google::Apis::Core::Hashable - - # The messages to publish. - # Corresponds to the JSON property `messages` - # @return [Array] - attr_accessor :messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @messages = args[:messages] if args.key?(:messages) - end - end - - # A message data and its attributes. The message payload must not be empty; it - # must contain either a non-empty data field, or at least one attribute. - class Message - include Google::Apis::Core::Hashable - - # The message payload. For JSON requests, the value of this field must be base64- - # encoded. - # Corresponds to the JSON property `data` - # @return [String] - attr_accessor :data - - # Optional attributes for this message. - # Corresponds to the JSON property `attributes` - # @return [Hash] - attr_accessor :attributes - - # ID of this message, assigned by the server when the message is published. - # Guaranteed to be unique within the topic. This value may be read by a - # subscriber that receives a `PubsubMessage` via a `Pull` call or a push - # delivery. It must not be populated by the publisher in a `Publish` call. - # Corresponds to the JSON property `messageId` - # @return [String] - attr_accessor :message_id - - # The time at which the message was published, populated by the server when it - # receives the `Publish` call. It must not be populated by the publisher in a ` - # Publish` call. - # Corresponds to the JSON property `publishTime` - # @return [String] - attr_accessor :publish_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data = args[:data] if args.key?(:data) - @attributes = args[:attributes] if args.key?(:attributes) - @message_id = args[:message_id] if args.key?(:message_id) - @publish_time = args[:publish_time] if args.key?(:publish_time) - end - end - - # Response for the `Publish` method. - class PublishResponse - include Google::Apis::Core::Hashable - - # The server-assigned ID of each published message, in the same order as the - # messages in the request. IDs are guaranteed to be unique within the topic. - # Corresponds to the JSON property `messageIds` - # @return [Array] - attr_accessor :message_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @message_ids = args[:message_ids] if args.key?(:message_ids) + @role = args[:role] if args.key?(:role) end end @@ -286,43 +66,37 @@ module Google class ListTopicsResponse include Google::Apis::Core::Hashable + # If not empty, indicates that there may be more topics that match the + # request; this value should be passed in a new `ListTopicsRequest`. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + # The resulting topics. # Corresponds to the JSON property `topics` # @return [Array] attr_accessor :topics - # If not empty, indicates that there may be more topics that match the request; - # this value should be passed in a new `ListTopicsRequest`. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @topics = args[:topics] if args.key?(:topics) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @topics = args[:topics] if args.key?(:topics) end end - # Response for the `ListTopicSubscriptions` method. - class ListTopicSubscriptionsResponse + # Request for the Acknowledge method. + class AcknowledgeRequest include Google::Apis::Core::Hashable - # The names of the subscriptions that match the request. - # Corresponds to the JSON property `subscriptions` + # The acknowledgment ID for the messages being acknowledged that was returned + # by the Pub/Sub system in the `Pull` response. Must not be empty. + # Corresponds to the JSON property `ackIds` # @return [Array] - attr_accessor :subscriptions - - # If not empty, indicates that there may be more subscriptions that match the - # request; this value should be passed in a new `ListTopicSubscriptionsRequest` - # to get more subscriptions. - # Corresponds to the JSON property `nextPageToken` - # @return [String] - attr_accessor :next_page_token + attr_accessor :ack_ids def initialize(**args) update!(**args) @@ -330,16 +104,17 @@ module Google # Update properties of this object def update!(**args) - @subscriptions = args[:subscriptions] if args.key?(:subscriptions) - @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @ack_ids = args[:ack_ids] if args.key?(:ack_ids) end end - # 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 ````. + # 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 include Google::Apis::Core::Hashable @@ -352,202 +127,30 @@ module Google end end - # A subscription resource. - class Subscription + # Response for the `ListTopicSubscriptions` method. + class ListTopicSubscriptionsResponse include Google::Apis::Core::Hashable - # The name of the subscription. It must have the format `"projects/`project`/ - # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and - # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`% - # `). It must be between 3 and 255 characters in length, and it must not start - # with `"goog"`. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The name of the topic from which this subscription is receiving messages. The - # value of this field will be `_deleted-topic_` if the topic has been deleted. - # Corresponds to the JSON property `topic` - # @return [String] - attr_accessor :topic - - # Configuration for a push delivery endpoint. - # Corresponds to the JSON property `pushConfig` - # @return [Google::Apis::PubsubV1::PushConfig] - attr_accessor :push_config - - # This value is the maximum time after a subscriber receives a message before - # the subscriber should acknowledge the message. After message delivery but - # before the ack deadline expires and before the message is acknowledged, it is - # an outstanding message and will not be delivered again during that time (on a - # best-effort basis). For pull subscriptions, this value is used as the initial - # value for the ack deadline. To override this value for a given message, call ` - # ModifyAckDeadline` with the corresponding `ack_id` if using pull. For push - # delivery, this value is also used to set the request timeout for the call to - # the push endpoint. If the subscriber never acknowledges the message, the Pub/ - # Sub system will eventually redeliver the message. If this parameter is not set, - # the default value of 10 seconds is used. - # Corresponds to the JSON property `ackDeadlineSeconds` - # @return [Fixnum] - attr_accessor :ack_deadline_seconds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @topic = args[:topic] if args.key?(:topic) - @push_config = args[:push_config] if args.key?(:push_config) - @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) - end - end - - # Configuration for a push delivery endpoint. - class PushConfig - include Google::Apis::Core::Hashable - - # A URL locating the endpoint to which messages should be pushed. For example, a - # Webhook endpoint might use "https://example.com/push". - # Corresponds to the JSON property `pushEndpoint` - # @return [String] - attr_accessor :push_endpoint - - # Endpoint configuration attributes. Every endpoint has a set of API supported - # attributes that can be used to 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 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. 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 `ModifyPushConfig` call, its value will not be changed. ` - # GetSubscription` calls will always return a valid version, even if the - # subscription was created without this attribute. The possible values for this - # attribute are: * `v1beta1`: uses the push format defined in the v1beta1 Pub/ - # Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub - # API. - # Corresponds to the JSON property `attributes` - # @return [Hash] - attr_accessor :attributes - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) - @attributes = args[:attributes] if args.key?(:attributes) - end - end - - # Response for the `ListSubscriptions` method. - class ListSubscriptionsResponse - include Google::Apis::Core::Hashable - - # The subscriptions that match the request. - # Corresponds to the JSON property `subscriptions` - # @return [Array] - attr_accessor :subscriptions - - # If not empty, indicates that there may be more subscriptions that match the - # request; this value should be passed in a new `ListSubscriptionsRequest` to - # get more subscriptions. + # If not empty, indicates that there may be more subscriptions that match + # the request; this value should be passed in a new + # `ListTopicSubscriptionsRequest` to get more subscriptions. # Corresponds to the JSON property `nextPageToken` # @return [String] attr_accessor :next_page_token + # The names of the subscriptions that match the request. + # Corresponds to the JSON property `subscriptions` + # @return [Array] + attr_accessor :subscriptions + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @subscriptions = args[:subscriptions] if args.key?(:subscriptions) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) - end - end - - # Request for the ModifyAckDeadline method. - class ModifyAckDeadlineRequest - include Google::Apis::Core::Hashable - - # List of acknowledgment IDs. - # Corresponds to the JSON property `ackIds` - # @return [Array] - attr_accessor :ack_ids - - # The new ack deadline with respect to the time this request was sent to the Pub/ - # Sub system. Must be >= 0. For example, if the value is 10, the new ack - # deadline will expire 10 seconds after the `ModifyAckDeadline` call was made. - # Specifying zero may immediately make the message available for another pull - # request. - # Corresponds to the JSON property `ackDeadlineSeconds` - # @return [Fixnum] - attr_accessor :ack_deadline_seconds - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ack_ids = args[:ack_ids] if args.key?(:ack_ids) - @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) - end - end - - # Request for the Acknowledge method. - class AcknowledgeRequest - include Google::Apis::Core::Hashable - - # The acknowledgment ID for the messages being acknowledged that was returned by - # the Pub/Sub system in the `Pull` response. Must not be empty. - # Corresponds to the JSON property `ackIds` - # @return [Array] - attr_accessor :ack_ids - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @ack_ids = args[:ack_ids] if args.key?(:ack_ids) - end - end - - # Request for the `Pull` method. - class PullRequest - include Google::Apis::Core::Hashable - - # If this is specified as true the system will respond immediately even if it is - # not able to return a message in the `Pull` response. Otherwise the system is - # allowed to wait until at least one message is available rather than returning - # no messages. The client may cancel the request if it does not wish to wait any - # longer for the response. - # Corresponds to the JSON property `returnImmediately` - # @return [Boolean] - attr_accessor :return_immediately - alias_method :return_immediately?, :return_immediately - - # The maximum number of messages returned for this request. The Pub/Sub system - # may return fewer than the number specified. - # Corresponds to the JSON property `maxMessages` - # @return [Fixnum] - attr_accessor :max_messages - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @return_immediately = args[:return_immediately] if args.key?(:return_immediately) - @max_messages = args[:max_messages] if args.key?(:max_messages) + @subscriptions = args[:subscriptions] if args.key?(:subscriptions) end end @@ -577,25 +180,475 @@ module Google class ReceivedMessage include Google::Apis::Core::Hashable + # A message data and its attributes. The message payload must not be empty; + # it must contain either a non-empty data field, or at least one attribute. + # Corresponds to the JSON property `message` + # @return [Google::Apis::PubsubV1::Message] + attr_accessor :message + # This ID can be used to acknowledge the received message. # Corresponds to the JSON property `ackId` # @return [String] attr_accessor :ack_id - # A message data and its attributes. The message payload must not be empty; it - # must contain either a non-empty data field, or at least one attribute. - # Corresponds to the JSON property `message` - # @return [Google::Apis::PubsubV1::Message] - attr_accessor :message - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @ack_id = args[:ack_id] if args.key?(:ack_id) @message = args[:message] if args.key?(:message) + @ack_id = args[:ack_id] if args.key?(:ack_id) + end + end + + # Configuration for a push delivery endpoint. + class PushConfig + include Google::Apis::Core::Hashable + + # A URL locating the endpoint to which messages should be pushed. + # For example, a Webhook endpoint might use "https://example.com/push". + # Corresponds to the JSON property `pushEndpoint` + # @return [String] + attr_accessor :push_endpoint + + # Endpoint configuration attributes. + # Every endpoint has a set of API supported attributes that can be used to + # 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 pushed message. This attribute + # indicates the version of the data expected by the endpoint. This + # 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 + # `ModifyPushConfig` call, its value will not be changed. `GetSubscription` + # calls will always return a valid version, even if the subscription was + # created without this attribute. + # The possible values for this attribute are: + # * `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API. + # * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API. + # Corresponds to the JSON property `attributes` + # @return [Hash] + attr_accessor :attributes + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @push_endpoint = args[:push_endpoint] if args.key?(:push_endpoint) + @attributes = args[:attributes] if args.key?(:attributes) + end + end + + # Response message for `TestIamPermissions` method. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # A subset of `TestPermissionsRequest.permissions` that the caller is + # allowed. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Request for the `Pull` method. + class PullRequest + include Google::Apis::Core::Hashable + + # If this field set to true, the system will respond immediately even if + # it there are no messages available to return in the `Pull` response. + # Otherwise, the system may wait (for a bounded amount of time) until at + # least one message is available, rather than returning no messages. The + # client may cancel the request if it does not wish to wait any longer for + # the response. + # Corresponds to the JSON property `returnImmediately` + # @return [Boolean] + attr_accessor :return_immediately + alias_method :return_immediately?, :return_immediately + + # The maximum number of messages returned for this request. The Pub/Sub + # system may return fewer than the number specified. + # Corresponds to the JSON property `maxMessages` + # @return [Fixnum] + attr_accessor :max_messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @return_immediately = args[:return_immediately] if args.key?(:return_immediately) + @max_messages = args[:max_messages] if args.key?(:max_messages) + end + end + + # Response for the `ListSubscriptions` method. + class ListSubscriptionsResponse + include Google::Apis::Core::Hashable + + # The subscriptions that match the request. + # Corresponds to the JSON property `subscriptions` + # @return [Array] + attr_accessor :subscriptions + + # If not empty, indicates that there may be more subscriptions that match + # the request; this value should be passed in a new + # `ListSubscriptionsRequest` to get more subscriptions. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @subscriptions = args[:subscriptions] if args.key?(:subscriptions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + + # Request for the Publish method. + class PublishRequest + include Google::Apis::Core::Hashable + + # The messages to publish. + # Corresponds to the JSON property `messages` + # @return [Array] + attr_accessor :messages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @messages = args[:messages] if args.key?(:messages) + end + end + + # Response for the `Publish` method. + class PublishResponse + include Google::Apis::Core::Hashable + + # The server-assigned ID of each published message, in the same order as + # the messages in the request. IDs are guaranteed to be unique within + # the topic. + # Corresponds to the JSON property `messageIds` + # @return [Array] + attr_accessor :message_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_ids = args[:message_ids] if args.key?(:message_ids) + end + end + + # A subscription resource. + class Subscription + include Google::Apis::Core::Hashable + + # Configuration for a push delivery endpoint. + # Corresponds to the JSON property `pushConfig` + # @return [Google::Apis::PubsubV1::PushConfig] + attr_accessor :push_config + + # This value is the maximum time after a subscriber receives a message + # before the subscriber should acknowledge the message. After message + # delivery but before the ack deadline expires and before the message is + # acknowledged, it is an outstanding message and will not be delivered + # again during that time (on a best-effort basis). + # For pull subscriptions, this value is used as the initial value for the ack + # deadline. To override this value for a given message, call + # `ModifyAckDeadline` with the corresponding `ack_id` if using + # pull. + # The minimum custom deadline you can specify is 10 seconds. + # The maximum custom deadline you can specify is 600 seconds (10 minutes). + # If this parameter is 0, a default value of 10 seconds is used. + # For push delivery, this value is also used to set the request timeout for + # the call to the push endpoint. + # If the subscriber never acknowledges the message, the Pub/Sub + # system will eventually redeliver the message. + # Corresponds to the JSON property `ackDeadlineSeconds` + # @return [Fixnum] + attr_accessor :ack_deadline_seconds + + # The name of the subscription. It must have the format + # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must + # start with a letter, and contain only letters (`[A-Za-z]`), numbers + # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), + # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters + # in length, and it must not start with `"goog"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The name of the topic from which this subscription is receiving messages. + # Format is `projects/`project`/topics/`topic``. + # The value of this field will be `_deleted-topic_` if the topic has been + # deleted. + # Corresponds to the JSON property `topic` + # @return [String] + attr_accessor :topic + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @push_config = args[:push_config] if args.key?(:push_config) + @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) + @name = args[:name] if args.key?(:name) + @topic = args[:topic] if args.key?(:topic) + end + end + + # Request message for `TestIamPermissions` method. + class TestIamPermissionsRequest + include Google::Apis::Core::Hashable + + # The set of permissions to check for the `resource`. Permissions with + # wildcards (such as '*' or 'storage.*') are not allowed. For more + # information see + # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @permissions = args[:permissions] if args.key?(:permissions) + end + end + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + class Policy + include Google::Apis::Core::Hashable + + # Version of the `Policy`. The default version is 0. + # Corresponds to the JSON property `version` + # @return [Fixnum] + attr_accessor :version + + # Associates a list of `members` to a `role`. + # Multiple `bindings` must not be specified for the same `role`. + # `bindings` with no members will result in an error. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # `etag` is used for optimistic concurrency control as a way to help + # prevent simultaneous updates of a policy from overwriting each other. + # It is strongly suggested that systems make use of the `etag` in the + # read-modify-write cycle to perform policy updates in order to avoid race + # conditions: An `etag` is returned in the response to `getIamPolicy`, and + # systems are expected to put that etag in the request to `setIamPolicy` to + # ensure that their change will be applied to the same version of the policy. + # If no `etag` is provided in the call to `setIamPolicy`, then the existing + # policy is overwritten blindly. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @version = args[:version] if args.key?(:version) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + end + end + + # A topic resource. + class Topic + include Google::Apis::Core::Hashable + + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @name = args[:name] if args.key?(:name) + end + end + + # Request for the ModifyAckDeadline method. + class ModifyAckDeadlineRequest + include Google::Apis::Core::Hashable + + # The new ack deadline with respect to the time this request was sent to + # the Pub/Sub system. For example, if the value is 10, the new + # ack deadline will expire 10 seconds after the `ModifyAckDeadline` call + # was made. Specifying zero may immediately make the message available for + # another pull request. + # The minimum deadline you can specify is 0 seconds. + # The maximum deadline you can specify is 600 seconds (10 minutes). + # Corresponds to the JSON property `ackDeadlineSeconds` + # @return [Fixnum] + attr_accessor :ack_deadline_seconds + + # List of acknowledgment IDs. + # Corresponds to the JSON property `ackIds` + # @return [Array] + attr_accessor :ack_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ack_deadline_seconds = args[:ack_deadline_seconds] if args.key?(:ack_deadline_seconds) + @ack_ids = args[:ack_ids] if args.key?(:ack_ids) + end + end + + # Request message for `SetIamPolicy` method. + class SetIamPolicyRequest + include Google::Apis::Core::Hashable + + # Defines an Identity and Access Management (IAM) policy. It is used to + # specify access control policies for Cloud Platform resources. + # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of + # `members` to a `role`, where the members can be user accounts, Google groups, + # Google domains, and service accounts. A `role` is a named list of permissions + # defined by IAM. + # **Example** + # ` + # "bindings": [ + # ` + # "role": "roles/owner", + # "members": [ + # "user:mike@example.com", + # "group:admins@example.com", + # "domain:google.com", + # "serviceAccount:my-other-app@appspot.gserviceaccount.com", + # ] + # `, + # ` + # "role": "roles/viewer", + # "members": ["user:sean@example.com"] + # ` + # ] + # ` + # For a description of IAM and its features, see the + # [IAM developer's guide](https://cloud.google.com/iam). + # Corresponds to the JSON property `policy` + # @return [Google::Apis::PubsubV1::Policy] + attr_accessor :policy + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @policy = args[:policy] if args.key?(:policy) + end + end + + # A message data and its attributes. The message payload must not be empty; + # it must contain either a non-empty data field, or at least one attribute. + class Message + include Google::Apis::Core::Hashable + + # The time at which the message was published, populated by the server when + # it receives the `Publish` call. It must not be populated by the + # publisher in a `Publish` call. + # Corresponds to the JSON property `publishTime` + # @return [String] + attr_accessor :publish_time + + # The message payload. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # Optional attributes for this message. + # Corresponds to the JSON property `attributes` + # @return [Hash] + attr_accessor :attributes + + # ID of this message, assigned by the server when the message is published. + # Guaranteed to be unique within the topic. This value may be read by a + # subscriber that receives a `PubsubMessage` via a `Pull` call or a push + # delivery. It must not be populated by the publisher in a `Publish` call. + # Corresponds to the JSON property `messageId` + # @return [String] + attr_accessor :message_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @publish_time = args[:publish_time] if args.key?(:publish_time) + @data = args[:data] if args.key?(:data) + @attributes = args[:attributes] if args.key?(:attributes) + @message_id = args[:message_id] if args.key?(:message_id) end end diff --git a/generated/google/apis/pubsub_v1/representations.rb b/generated/google/apis/pubsub_v1/representations.rb index 384755cbb..1c9356bfb 100644 --- a/generated/google/apis/pubsub_v1/representations.rb +++ b/generated/google/apis/pubsub_v1/representations.rb @@ -22,67 +22,19 @@ module Google module Apis module PubsubV1 - class SetIamPolicyRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Policy - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Binding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class TestIamPermissionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TestIamPermissionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Topic - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublishRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Message - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PublishResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class ListTopicsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListTopicSubscriptionsResponse + class AcknowledgeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -94,37 +46,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Subscription - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PushConfig - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ListSubscriptionsResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ModifyAckDeadlineRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AcknowledgeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PullRequest + class ListTopicSubscriptionsResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -142,140 +64,104 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ModifyPushConfigRequest + class PushConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PullRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListSubscriptionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PublishRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PublishResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Subscription + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TestIamPermissionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Topic + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ModifyAckDeadlineRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class SetIamPolicyRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class Policy - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :version, as: 'version' - collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation + class Message + class Representation < Google::Apis::Core::JsonRepresentation; end - property :etag, :base64 => true, as: 'etag' - end + include Google::Apis::Core::JsonObjectSupport + end + + class ModifyPushConfigRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class Binding # @private class Representation < Google::Apis::Core::JsonRepresentation - property :role, as: 'role' collection :members, as: 'members' - end - end - - class TestIamPermissionsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class TestIamPermissionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :permissions, as: 'permissions' - end - end - - class Topic - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - end - end - - class PublishRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :messages, as: 'messages', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation - - end - end - - class Message - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, :base64 => true, as: 'data' - hash :attributes, as: 'attributes' - property :message_id, as: 'messageId' - property :publish_time, as: 'publishTime' - end - end - - class PublishResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :message_ids, as: 'messageIds' + property :role, as: 'role' end end class ListTopicsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' collection :topics, as: 'topics', class: Google::Apis::PubsubV1::Topic, decorator: Google::Apis::PubsubV1::Topic::Representation - property :next_page_token, as: 'nextPageToken' - end - end - - class ListTopicSubscriptionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :subscriptions, as: 'subscriptions' - property :next_page_token, as: 'nextPageToken' - end - end - - class Empty - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - - class Subscription - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - property :topic, as: 'topic' - property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation - - property :ack_deadline_seconds, as: 'ackDeadlineSeconds' - end - end - - class PushConfig - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :push_endpoint, as: 'pushEndpoint' - hash :attributes, as: 'attributes' - end - end - - class ListSubscriptionsResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :subscriptions, as: 'subscriptions', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation - - property :next_page_token, as: 'nextPageToken' - end - end - - class ModifyAckDeadlineRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :ack_ids, as: 'ackIds' - property :ack_deadline_seconds, as: 'ackDeadlineSeconds' end end @@ -286,11 +172,17 @@ module Google end end - class PullRequest + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation - property :return_immediately, as: 'returnImmediately' - property :max_messages, as: 'maxMessages' + end + end + + class ListTopicSubscriptionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :subscriptions, as: 'subscriptions' end end @@ -305,9 +197,117 @@ module Google class ReceivedMessage # @private class Representation < Google::Apis::Core::JsonRepresentation - property :ack_id, as: 'ackId' property :message, as: 'message', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation + property :ack_id, as: 'ackId' + end + end + + class PushConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :push_endpoint, as: 'pushEndpoint' + hash :attributes, as: 'attributes' + end + end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class PullRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :return_immediately, as: 'returnImmediately' + property :max_messages, as: 'maxMessages' + end + end + + class ListSubscriptionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :subscriptions, as: 'subscriptions', class: Google::Apis::PubsubV1::Subscription, decorator: Google::Apis::PubsubV1::Subscription::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + + class PublishRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :messages, as: 'messages', class: Google::Apis::PubsubV1::Message, decorator: Google::Apis::PubsubV1::Message::Representation + + end + end + + class PublishResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :message_ids, as: 'messageIds' + end + end + + class Subscription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :push_config, as: 'pushConfig', class: Google::Apis::PubsubV1::PushConfig, decorator: Google::Apis::PubsubV1::PushConfig::Representation + + property :ack_deadline_seconds, as: 'ackDeadlineSeconds' + property :name, as: 'name' + property :topic, as: 'topic' + end + end + + class TestIamPermissionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :permissions, as: 'permissions' + end + end + + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :version, as: 'version' + collection :bindings, as: 'bindings', class: Google::Apis::PubsubV1::Binding, decorator: Google::Apis::PubsubV1::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + end + end + + class Topic + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class ModifyAckDeadlineRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :ack_deadline_seconds, as: 'ackDeadlineSeconds' + collection :ack_ids, as: 'ackIds' + end + end + + class SetIamPolicyRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :policy, as: 'policy', class: Google::Apis::PubsubV1::Policy, decorator: Google::Apis::PubsubV1::Policy::Representation + + end + end + + class Message + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :publish_time, as: 'publishTime' + property :data, :base64 => true, as: 'data' + hash :attributes, as: 'attributes' + property :message_id, as: 'messageId' end end diff --git a/generated/google/apis/pubsub_v1/service.rb b/generated/google/apis/pubsub_v1/service.rb index c7442c084..f779248a2 100644 --- a/generated/google/apis/pubsub_v1/service.rb +++ b/generated/google/apis/pubsub_v1/service.rb @@ -46,623 +46,21 @@ module Google super('https://pubsub.googleapis.com/', '') end - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. - # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_topic_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a `resource`. Returns an empty policy if - # the resource exists and does not have a policy set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_topic_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. - # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates the given topic with the given name. - # @param [String] name - # The name of the topic. It must have the format `"projects/`project`/topics/` - # topic`"`. ``topic`` must start with a letter, and contain only letters (`[A-Za- - # z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), - # tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 - # characters in length, and it must not start with `"goog"`. - # @param [Google::Apis::PubsubV1::Topic] topic_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Topic] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_topic(name, topic_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::PubsubV1::Topic::Representation - command.request_object = topic_object - command.response_representation = Google::Apis::PubsubV1::Topic::Representation - command.response_class = Google::Apis::PubsubV1::Topic - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does - # not exist. The message payload must not be empty; it must contain either a non- - # empty data field, or at least one attribute. - # @param [String] topic - # The messages in the request will be published on this topic. - # @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::PublishResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::PublishResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def publish_topic(topic, publish_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+topic}:publish', options) - command.request_representation = Google::Apis::PubsubV1::PublishRequest::Representation - command.request_object = publish_request_object - command.response_representation = Google::Apis::PubsubV1::PublishResponse::Representation - command.response_class = Google::Apis::PubsubV1::PublishResponse - command.params['topic'] = topic unless topic.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration of a topic. - # @param [String] topic - # The name of the topic to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Topic] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_topic(topic, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+topic}', options) - command.response_representation = Google::Apis::PubsubV1::Topic::Representation - command.response_class = Google::Apis::PubsubV1::Topic - command.params['topic'] = topic unless topic.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists matching topics. - # @param [String] project - # The name of the cloud project that topics belong to. - # @param [Fixnum] page_size - # Maximum number of topics to return. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::ListTopicsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::ListTopicsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_topics(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+project}/topics', options) - command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation - command.response_class = Google::Apis::PubsubV1::ListTopicsResponse - command.params['project'] = project unless project.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes the topic with the given name. Returns `NOT_FOUND` if the topic does - # not exist. After a topic is deleted, a new topic may be created with the same - # name; this is an entirely new topic with none of the old configuration or - # subscriptions. Existing subscriptions to this topic are not deleted, but their - # `topic` field is set to `_deleted-topic_`. - # @param [String] topic - # Name of the topic to delete. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_topic(topic, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+topic}', options) - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['topic'] = topic unless topic.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists the name of the subscriptions for this topic. - # @param [String] topic - # The name of the topic that subscriptions are attached to. - # @param [Fixnum] page_size - # Maximum number of subscription names to return. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::ListTopicSubscriptionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::ListTopicSubscriptionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_topic_subscriptions(topic, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+topic}/subscriptions', options) - command.response_representation = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse - command.params['topic'] = topic unless topic.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Sets the access control policy on the specified resource. Replaces any - # existing policy. - # @param [String] resource - # REQUIRED: The resource for which the policy is being specified. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `setIamPolicy` documentation. - # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) - command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation - command.request_object = set_iam_policy_request_object - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the access control policy for a `resource`. Returns an empty policy if - # the resource exists and does not have a policy set. - # @param [String] resource - # REQUIRED: The resource for which the policy is being requested. `resource` is - # usually specified as a path, such as `projects/*project*/zones/*zone*/disks/* - # disk*`. The format for the path specified in this value is resource specific - # and is specified in the `getIamPolicy` documentation. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Policy] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_project_subscription_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) - command.response_representation = Google::Apis::PubsubV1::Policy::Representation - command.response_class = Google::Apis::PubsubV1::Policy - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Returns permissions that a caller has on the specified resource. - # @param [String] resource - # REQUIRED: The resource for which the policy detail is being requested. ` - # resource` is usually specified as a path, such as `projects/*project*/zones/* - # zone*/disks/*disk*`. The format for the path specified in this value is - # resource specific and is specified in the `testIamPermissions` documentation. - # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) - command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation - command.request_object = test_iam_permissions_request_object - command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse - command.params['resource'] = resource unless resource.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Creates a subscription to a given topic. If the subscription already exists, - # returns `ALREADY_EXISTS`. If the corresponding topic doesn't exist, returns ` - # NOT_FOUND`. If the name is not provided in the request, the server will assign - # a random name for this subscription on the same project as the topic. - # @param [String] name - # The name of the subscription. It must have the format `"projects/`project`/ - # subscriptions/`subscription`"`. ``subscription`` must start with a letter, and - # contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), - # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`% - # `). It must be between 3 and 255 characters in length, and it must not start - # with `"goog"`. - # @param [Google::Apis::PubsubV1::Subscription] subscription_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Subscription] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_subscription(name, subscription_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:put, 'v1/{+name}', options) - command.request_representation = Google::Apis::PubsubV1::Subscription::Representation - command.request_object = subscription_object - command.response_representation = Google::Apis::PubsubV1::Subscription::Representation - command.response_class = Google::Apis::PubsubV1::Subscription - command.params['name'] = name unless name.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Gets the configuration details of a subscription. - # @param [String] subscription - # The name of the subscription to get. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Subscription] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+subscription}', options) - command.response_representation = Google::Apis::PubsubV1::Subscription::Representation - command.response_class = Google::Apis::PubsubV1::Subscription - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Lists matching subscriptions. - # @param [String] project - # The name of the cloud project that subscriptions belong to. - # @param [Fixnum] page_size - # Maximum number of subscriptions to return. - # @param [String] page_token - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::ListSubscriptionsResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_subscriptions(project, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:get, 'v1/{+project}/subscriptions', options) - command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation - command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse - command.params['project'] = project unless project.nil? - command.query['pageSize'] = page_size unless page_size.nil? - command.query['pageToken'] = page_token unless page_token.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Deletes an existing subscription. All pending messages in the subscription are - # immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. - # After a subscription is deleted, a new one may be created with the same name, - # but the new one has no association with the old subscription, or its topic - # unless the same topic is specified. - # @param [String] subscription - # The subscription to delete. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def delete_subscription(subscription, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:delete, 'v1/{+subscription}', options) - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Modifies the ack deadline for a specific message. This method is useful to - # indicate that more time is needed to process a message by the subscriber, or - # to make the message available for redelivery if the processing was interrupted. - # @param [String] subscription - # The name of the subscription. - # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::PubsubV1::Empty] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options) - command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation - command.request_object = modify_ack_deadline_request_object - command.response_representation = Google::Apis::PubsubV1::Empty::Representation - command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - execute_or_queue_command(command, &block) - end - - # Acknowledges the messages associated with the `ack_ids` in the ` - # AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages from - # the subscription. Acknowledging a message whose ack deadline has expired may - # succeed, but such a message may be redelivered later. Acknowledging a message - # more than once will not result in an error. + # Acknowledges the messages associated with the `ack_ids` in the + # `AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages + # from the subscription. + # Acknowledging a message whose ack deadline has expired may succeed, + # but such a message may be redelivered later. Acknowledging a message more + # than once will not result in an error. # @param [String] subscription # The subscription whose message is being acknowledged. + # Format is `projects/`project`/subscriptions/`sub``. # @param [Google::Apis::PubsubV1::AcknowledgeRequest] acknowledge_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -675,29 +73,245 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def acknowledge_subscription(subscription, acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def acknowledge_subscription(subscription, acknowledge_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+subscription}:acknowledge', options) command.request_representation = Google::Apis::PubsubV1::AcknowledgeRequest::Representation command.request_object = acknowledge_request_object command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Pulls messages from the server. Returns an empty list if there are no messages - # available in the backlog. The server may return `UNAVAILABLE` if there are too - # many concurrent pull requests pending for the given subscription. + # Modifies the ack deadline for a specific message. This method is useful + # to indicate that more time is needed to process a message by the + # subscriber, or to make the message available for redelivery if the + # processing was interrupted. Note that this does not modify the + # subscription-level `ackDeadlineSeconds` used for subsequent messages. # @param [String] subscription - # The subscription from which messages should be pulled. - # @param [Google::Apis::PubsubV1::PullRequest] pull_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # The name of the subscription. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::ModifyAckDeadlineRequest] modify_ack_deadline_request_object # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def modify_subscription_ack_deadline(subscription, modify_ack_deadline_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:modifyAckDeadline', options) + command.request_representation = Google::Apis::PubsubV1::ModifyAckDeadlineRequest::Representation + command.request_object = modify_ack_deadline_request_object + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_subscription_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration details of a subscription. + # @param [String] subscription + # The name of the subscription to get. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Subscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+subscription}', options) + command.response_representation = Google::Apis::PubsubV1::Subscription::Representation + command.response_class = Google::Apis::PubsubV1::Subscription + command.params['subscription'] = subscription unless subscription.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_subscription_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Modifies the `PushConfig` for a specified subscription. + # This may be used to change a push subscription to a pull one (signified by + # an empty `PushConfig`) or vice versa, or change the endpoint URL and other + # attributes of a push subscription. Messages will accumulate for delivery + # continuously through the call regardless of changes to the `PushConfig`. + # @param [String] subscription + # The name of the subscription. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def modify_subscription_push_config(subscription, modify_push_config_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+subscription}:modifyPushConfig', options) + command.request_representation = Google::Apis::PubsubV1::ModifyPushConfigRequest::Representation + command.request_object = modify_push_config_request_object + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an existing subscription. All messages retained in the subscription + # are immediately dropped. Calls to `Pull` after deletion will return + # `NOT_FOUND`. After a subscription is deleted, a new one may be created with + # the same name, but the new one has no association with the old + # subscription or its topic unless the same topic is specified. + # @param [String] subscription + # The subscription to delete. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_subscription(subscription, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+subscription}', options) + command.response_representation = Google::Apis::PubsubV1::Empty::Representation + command.response_class = Google::Apis::PubsubV1::Empty + command.params['subscription'] = subscription unless subscription.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Pulls messages from the server. Returns an empty list if there are no + # messages available in the backlog. The server may return `UNAVAILABLE` if + # there are too many concurrent pull requests pending for the given + # subscription. + # @param [String] subscription + # The subscription from which messages should be pulled. + # Format is `projects/`project`/subscriptions/`sub``. + # @param [Google::Apis::PubsubV1::PullRequest] pull_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -710,31 +324,258 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def pull_subscription(subscription, pull_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + def pull_subscription(subscription, pull_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) command = make_simple_command(:post, 'v1/{+subscription}:pull', options) command.request_representation = Google::Apis::PubsubV1::PullRequest::Representation command.request_object = pull_request_object command.response_representation = Google::Apis::PubsubV1::PullResponse::Representation command.response_class = Google::Apis::PubsubV1::PullResponse command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end - # Modifies the `PushConfig` for a specified subscription. This may be used to - # change a push subscription to a pull one (signified by an empty `PushConfig`) - # or vice versa, or change the endpoint URL and other attributes of a push - # subscription. Messages will accumulate for delivery continuously through the - # call regardless of changes to the `PushConfig`. - # @param [String] subscription - # The name of the subscription. - # @param [Google::Apis::PubsubV1::ModifyPushConfigRequest] modify_push_config_request_object - # @param [String] fields - # Selector specifying which fields to include in a partial response. + # Lists matching subscriptions. + # @param [String] project + # The name of the cloud project that subscriptions belong to. + # Format is `projects/`project``. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # Maximum number of subscriptions to return. # @param [String] quota_user # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::ListSubscriptionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::ListSubscriptionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_subscriptions(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+project}/subscriptions', options) + command.response_representation = Google::Apis::PubsubV1::ListSubscriptionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::ListSubscriptionsResponse + command.params['project'] = project unless project.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_subscription_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates a subscription to a given topic. + # If the subscription already exists, returns `ALREADY_EXISTS`. + # If the corresponding topic doesn't exist, returns `NOT_FOUND`. + # If the name is not provided in the request, the server will assign a random + # name for this subscription on the same project as the topic, conforming + # to the + # [resource name format](https://cloud.google.com/pubsub/docs/overview#names). + # The generated name is populated in the returned Subscription object. + # Note that for REST API requests, you must specify a name in the request. + # @param [String] name + # The name of the subscription. It must have the format + # `"projects/`project`/subscriptions/`subscription`"`. ``subscription`` must + # start with a letter, and contain only letters (`[A-Za-z]`), numbers + # (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), + # plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters + # in length, and it must not start with `"goog"`. + # @param [Google::Apis::PubsubV1::Subscription] subscription_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Subscription] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Subscription] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_subscription(name, subscription_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::PubsubV1::Subscription::Representation + command.request_object = subscription_object + command.response_representation = Google::Apis::PubsubV1::Subscription::Representation + command.response_class = Google::Apis::PubsubV1::Subscription + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_snapshot_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_snapshot_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_snapshot_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the topic with the given name. Returns `NOT_FOUND` if the topic + # does not exist. After a topic is deleted, a new topic may be created with + # the same name; this is an entirely new topic with none of the old + # configuration or subscriptions. Existing subscriptions to this topic are + # not deleted, but their `topic` field is set to `_deleted-topic_`. + # @param [String] topic + # Name of the topic to delete. + # Format is `projects/`project`/topics/`topic``. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -747,15 +588,303 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def modify_subscription_push_config(subscription, modify_push_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) - command = make_simple_command(:post, 'v1/{+subscription}:modifyPushConfig', options) - command.request_representation = Google::Apis::PubsubV1::ModifyPushConfigRequest::Representation - command.request_object = modify_push_config_request_object + def delete_topic(topic, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+topic}', options) command.response_representation = Google::Apis::PubsubV1::Empty::Representation command.response_class = Google::Apis::PubsubV1::Empty - command.params['subscription'] = subscription unless subscription.nil? - command.query['fields'] = fields unless fields.nil? + command.params['topic'] = topic unless topic.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists matching topics. + # @param [String] project + # The name of the cloud project that topics belong to. + # Format is `projects/`project``. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # Maximum number of topics to return. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::ListTopicsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::ListTopicsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_topics(project, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+project}/topics', options) + command.response_representation = Google::Apis::PubsubV1::ListTopicsResponse::Representation + command.response_class = Google::Apis::PubsubV1::ListTopicsResponse + command.params['project'] = project unless project.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] resource + # REQUIRED: The resource for which the policy is being specified. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::SetIamPolicyRequest] set_iam_policy_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_topic_iam_policy(resource, set_iam_policy_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options) + command.request_representation = Google::Apis::PubsubV1::SetIamPolicyRequest::Representation + command.request_object = set_iam_policy_request_object + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Creates the given topic with the given name. + # @param [String] name + # The name of the topic. It must have the format + # `"projects/`project`/topics/`topic`"`. ``topic`` must start with a letter, + # and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), + # underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent + # signs (`%`). It must be between 3 and 255 characters in length, and it + # must not start with `"goog"`. + # @param [Google::Apis::PubsubV1::Topic] topic_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Topic] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_topic(name, topic_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:put, 'v1/{+name}', options) + command.request_representation = Google::Apis::PubsubV1::Topic::Representation + command.request_object = topic_object + command.response_representation = Google::Apis::PubsubV1::Topic::Representation + command.response_class = Google::Apis::PubsubV1::Topic + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the access control policy for a resource. + # Returns an empty policy if the resource exists and does not have a policy + # set. + # @param [String] resource + # REQUIRED: The resource for which the policy is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_topic_iam_policy(resource, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options) + command.response_representation = Google::Apis::PubsubV1::Policy::Representation + command.response_class = Google::Apis::PubsubV1::Policy + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Gets the configuration of a topic. + # @param [String] topic + # The name of the topic to get. + # Format is `projects/`project`/topics/`topic``. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::Topic] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::Topic] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_topic(topic, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+topic}', options) + command.response_representation = Google::Apis::PubsubV1::Topic::Representation + command.response_class = Google::Apis::PubsubV1::Topic + command.params['topic'] = topic unless topic.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic + # does not exist. The message payload must not be empty; it must contain + # either a non-empty data field, or at least one attribute. + # @param [String] topic + # The messages in the request will be published on this topic. + # Format is `projects/`project`/topics/`topic``. + # @param [Google::Apis::PubsubV1::PublishRequest] publish_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::PublishResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::PublishResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def publish_topic(topic, publish_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+topic}:publish', options) + command.request_representation = Google::Apis::PubsubV1::PublishRequest::Representation + command.request_object = publish_request_object + command.response_representation = Google::Apis::PubsubV1::PublishResponse::Representation + command.response_class = Google::Apis::PubsubV1::PublishResponse + command.params['topic'] = topic unless topic.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Returns permissions that a caller has on the specified resource. + # If the resource does not exist, this will return an empty set of + # permissions, not a NOT_FOUND error. + # Note: This operation is designed to be used for building permission-aware + # UIs and command-line tools, not for authorization checking. This operation + # may "fail open" without warning. + # @param [String] resource + # REQUIRED: The resource for which the policy detail is being requested. + # See the operation documentation for the appropriate value for this field. + # @param [Google::Apis::PubsubV1::TestIamPermissionsRequest] test_iam_permissions_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_topic_iam_permissions(resource, test_iam_permissions_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options) + command.request_representation = Google::Apis::PubsubV1::TestIamPermissionsRequest::Representation + command.request_object = test_iam_permissions_request_object + command.response_representation = Google::Apis::PubsubV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::TestIamPermissionsResponse + command.params['resource'] = resource unless resource.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Lists the name of the subscriptions for this topic. + # @param [String] topic + # The name of the topic that subscriptions are attached to. + # Format is `projects/`project`/topics/`topic``. + # @param [String] page_token + # 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. + # @param [Fixnum] page_size + # Maximum number of subscription names to return. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::PubsubV1::ListTopicSubscriptionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::PubsubV1::ListTopicSubscriptionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_topic_subscriptions(topic, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+topic}/subscriptions', options) + command.response_representation = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse::Representation + command.response_class = Google::Apis::PubsubV1::ListTopicSubscriptionsResponse + command.params['topic'] = topic unless topic.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/replicapoolupdater_v1beta1.rb b/generated/google/apis/replicapoolupdater_v1beta1.rb index fa18d2f63..c7c471641 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1.rb @@ -20,12 +20,14 @@ module Google module Apis # Google Compute Engine Instance Group Updater API # - # Updates groups of Compute Engine instances. + # [Deprecated. Please use compute.instanceGroupManagers.update method. + # replicapoolupdater API will be disabled after December 30th, 2016] Updates + # groups of Compute Engine instances. # # @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service module ReplicapoolupdaterV1beta1 VERSION = 'V1beta1' - REVISION = '20160229' + REVISION = '20161003' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/replicapoolupdater_v1beta1/service.rb b/generated/google/apis/replicapoolupdater_v1beta1/service.rb index 367ee5ea2..005b44861 100644 --- a/generated/google/apis/replicapoolupdater_v1beta1/service.rb +++ b/generated/google/apis/replicapoolupdater_v1beta1/service.rb @@ -22,7 +22,9 @@ module Google module ReplicapoolupdaterV1beta1 # Google Compute Engine Instance Group Updater API # - # Updates groups of Compute Engine instances. + # [Deprecated. Please use compute.instanceGroupManagers.update method. + # replicapoolupdater API will be disabled after December 30th, 2016] Updates + # groups of Compute Engine instances. # # @example # require 'google/apis/replicapoolupdater_v1beta1' diff --git a/generated/google/apis/reseller_v1.rb b/generated/google/apis/reseller_v1.rb index f9a9facdd..cca9ed26c 100644 --- a/generated/google/apis/reseller_v1.rb +++ b/generated/google/apis/reseller_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/google-apps/reseller/ module ResellerV1 VERSION = 'V1' - REVISION = '20160329' + REVISION = '20170228' # Manage users on your domain AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order' diff --git a/generated/google/apis/reseller_v1/classes.rb b/generated/google/apis/reseller_v1/classes.rb index d493c5dbc..0136726e8 100644 --- a/generated/google/apis/reseller_v1/classes.rb +++ b/generated/google/apis/reseller_v1/classes.rb @@ -26,55 +26,56 @@ module Google class Address include Google::Apis::Core::Hashable - # Address line 1 of the address. + # A customer's physical address. An address can be composed of one to three + # lines. The addressline2 and addressLine3 are optional. # Corresponds to the JSON property `addressLine1` # @return [String] attr_accessor :address_line1 - # Address line 2 of the address. + # Line 2 of the address. # Corresponds to the JSON property `addressLine2` # @return [String] attr_accessor :address_line2 - # Address line 3 of the address. + # Line 3 of the address. # Corresponds to the JSON property `addressLine3` # @return [String] attr_accessor :address_line3 - # Name of the contact person. + # The customer contact's name. This is required. # Corresponds to the JSON property `contactName` # @return [String] attr_accessor :contact_name - # ISO 3166 country code. + # For countryCode information, see the ISO 3166 country code elements. Verify + # that country is approved for resale of Google products. This property is + # required when creating a new customer. # Corresponds to the JSON property `countryCode` # @return [String] attr_accessor :country_code - # Identifies the resource as a customer address. + # Identifies the resource as a customer address. Value: customers#address # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the locality. This is in accordance with - http://portablecontacts.net/ - # draft-spec.html#address_element. + # An example of a locality value is the city of San Francisco. # Corresponds to the JSON property `locality` # @return [String] attr_accessor :locality - # Name of the organization. + # The company or company division name. This is required. # Corresponds to the JSON property `organizationName` # @return [String] attr_accessor :organization_name - # The postal code. This is in accordance with - http://portablecontacts.net/ - # draft-spec.html#address_element. + # A postalCode example is a postal zip code such as 94043. This property is + # required when creating a new customer. # Corresponds to the JSON property `postalCode` # @return [String] attr_accessor :postal_code - # Name of the region. This is in accordance with - http://portablecontacts.net/ - # draft-spec.html#address_element. + # An example of a region value is CA for the state of California. # Corresponds to the JSON property `region` # @return [String] attr_accessor :region @@ -102,23 +103,40 @@ module Google class ChangePlanRequest include Google::Apis::Core::Hashable - # External name of the deal code applicable for the subscription. This field is - # optional. If missing, the deal price plan won't be used. + # Google-issued code (100 char max) for discounted pricing on subscription plans. + # Deal code must be included in changePlan request in order to receive + # discounted rate. This property is optional. If a deal code has already been + # added to a subscription, this property may be left empty and the existing + # discounted rate will still apply (if not empty, only provide the deal code + # that is already present on the subscription). If a deal code has never been + # added to a subscription and this property is left blank, regular pricing will + # apply. # Corresponds to the JSON property `dealCode` # @return [String] attr_accessor :deal_code - # Identifies the resource as a subscription change plan request. + # Identifies the resource as a subscription change plan request. Value: + # subscriptions#changePlanRequest # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Name of the plan to change to. + # The planName property is required. This is the name of the subscription's + # payment plan. For more information about the Google payment plans, see API + # concepts. + # Possible values are: + # - ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly payments + # - ANNUAL_YEARLY_PAY - The annual commitment plan with yearly payments + # - FLEXIBLE - The flexible plan + # - TRIAL - The 30-day free trial plan # Corresponds to the JSON property `planName` # @return [String] attr_accessor :plan_name - # Purchase order id for your order tracking purposes. + # This is an optional property. This purchase order (PO) information is for + # resellers to use for their company tracking usage. If a purchaseOrderId value + # is given it appears in the API responses and shows up in the invoice. The + # property accepts up to 80 plain text characters. # Corresponds to the JSON property `purchaseOrderId` # @return [String] attr_accessor :purchase_order_id @@ -146,12 +164,17 @@ module Google class Customer include Google::Apis::Core::Hashable - # The alternate email of the customer. + # Like the "Customer email" in the reseller tools, this email is the secondary + # contact used if something happens to the customer's service such as service + # outage or a security issue. This property is required when creating a new + # customer and should not use the same domain as customerDomain. # Corresponds to the JSON property `alternateEmail` # @return [String] attr_accessor :alternate_email - # The domain name of the customer. + # The customer's primary domain name string. customerDomain is required when + # creating a new customer. Do not include the www prefix in the domain when + # adding a customer. # Corresponds to the JSON property `customerDomain` # @return [String] attr_accessor :customer_domain @@ -162,17 +185,21 @@ module Google attr_accessor :customer_domain_verified alias_method :customer_domain_verified?, :customer_domain_verified - # The id of the customer. + # This property will always be returned in a response as the unique identifier + # generated by Google. In a request, this property can be either the primary + # domain or the unique identifier generated by Google. # Corresponds to the JSON property `customerId` # @return [String] attr_accessor :customer_id - # Identifies the resource as a customer. + # Identifies the resource as a customer. Value: reseller#customer # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # The phone number of the customer. + # Customer contact phone number. This can be continuous numbers, with spaces, + # etc. But it must be a real phone number and not, for example, "123". See phone + # local format conventions. # Corresponds to the JSON property `phoneNumber` # @return [String] attr_accessor :phone_number @@ -182,7 +209,9 @@ module Google # @return [Google::Apis::ResellerV1::Address] attr_accessor :postal_address - # Ui url for customer resource. + # URL to customer's Admin console dashboard. The read-only URL is generated by + # the API service. This is used if your client application requires the customer + # to complete a task in the Admin console. # Corresponds to the JSON property `resourceUiUrl` # @return [String] attr_accessor :resource_ui_url @@ -208,12 +237,15 @@ module Google class RenewalSettings include Google::Apis::Core::Hashable - # Identifies the resource as a subscription renewal setting. + # Identifies the resource as a subscription renewal setting. Value: + # subscriptions#renewalSettings # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Subscription renewal type. + # Renewal settings for the annual commitment plan. For more detailed information, + # see renewal options in the administrator help center. When renewing a + # subscription, the renewalType is a required property. # Corresponds to the JSON property `renewalType` # @return [String] attr_accessor :renewal_type @@ -229,11 +261,56 @@ module Google end end + # JSON template for resellernotify getwatchdetails response. + class ResellernotifyGetwatchdetailsResponse + include Google::Apis::Core::Hashable + + # List of registered service accounts. + # Corresponds to the JSON property `serviceAccountEmailAddresses` + # @return [Array] + attr_accessor :service_account_email_addresses + + # Topic name of the PubSub + # Corresponds to the JSON property `topicName` + # @return [String] + attr_accessor :topic_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account_email_addresses = args[:service_account_email_addresses] if args.key?(:service_account_email_addresses) + @topic_name = args[:topic_name] if args.key?(:topic_name) + end + end + + # JSON template for resellernotify response. + class ResellernotifyResource + include Google::Apis::Core::Hashable + + # Topic name of the PubSub + # Corresponds to the JSON property `topicName` + # @return [String] + attr_accessor :topic_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @topic_name = args[:topic_name] if args.key?(:topic_name) + end + end + # JSON template for subscription seats. class Seats include Google::Apis::Core::Hashable - # Identifies the resource as a subscription change plan request. + # Identifies the resource as a subscription change plan request. Value: + # subscriptions#seats # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind @@ -245,13 +322,40 @@ module Google # @return [Fixnum] attr_accessor :licensed_number_of_seats - # Maximum number of seats that can be purchased. This needs to be provided only - # for a non-commitment plan. For a commitment plan it is decided by the contract. + # The maximumNumberOfSeats property is the maximum number of licenses that the + # customer can purchase. This property applies to plans other than the annual + # commitment plan. How a user's licenses are managed depends on the subscription' + # s payment plan: + # - annual commitment plan (with monthly or yearly payments) — For this plan, a + # reseller is invoiced on the number of user licenses in the numberOfSeats + # property. The maximumNumberOfSeats property is a read-only property in the API' + # s response. + # - flexible plan — For this plan, a reseller is invoiced on the actual number + # of users which is capped by the maximumNumberOfSeats. This is the maximum + # number of user licenses a customer has for user license provisioning. This + # quantity can be increased up to the maximum limit defined in the reseller's + # contract. And the minimum quantity is the current number of users in the + # customer account. + # - 30-day free trial plan — A subscription in a 30-day free trial is restricted + # to maximum 10 seats. # Corresponds to the JSON property `maximumNumberOfSeats` # @return [Fixnum] attr_accessor :maximum_number_of_seats - # Number of seats to purchase. This is applicable only for a commitment plan. + # The numberOfSeats property holds the customer's number of user licenses. How a + # user's licenses are managed depends on the subscription's plan: + # - annual commitment plan (with monthly or yearly pay) — For this plan, a + # reseller is invoiced on the number of user licenses in the numberOfSeats + # property. This is the maximum number of user licenses that a reseller's + # customer can create. The reseller can add more licenses, but once set, the + # numberOfSeats can not be reduced until renewal. The reseller is invoiced based + # on the numberOfSeats value regardless of how many of these user licenses are + # provisioned users. + # - flexible plan — For this plan, a reseller is invoiced on the actual number + # of users which is capped by the maximumNumberOfSeats. The numberOfSeats + # property is not used in the request or response for flexible plan customers. + # - 30-day free trial plan — The numberOfSeats property is not used in the + # request or response for an account in a 30-day trial. # Corresponds to the JSON property `numberOfSeats` # @return [Fixnum] attr_accessor :number_of_seats @@ -273,12 +377,13 @@ module Google class Subscription include Google::Apis::Core::Hashable - # Billing method of this subscription. + # Read-only field that returns the current billing method for a subscription. # Corresponds to the JSON property `billingMethod` # @return [String] attr_accessor :billing_method - # Creation time of this subscription in milliseconds since Unix epoch. + # The creationTime property is the date when subscription was created. It is in + # milliseconds using the Epoch format. See an example Epoch converter. # Corresponds to the JSON property `creationTime` # @return [String] attr_accessor :creation_time @@ -288,28 +393,36 @@ module Google # @return [String] attr_accessor :customer_domain - # The id of the customer to whom the subscription belongs. + # This property will always be returned in a response as the unique identifier + # generated by Google. In a request, this property can be either the primary + # domain or the unique identifier generated by Google. # Corresponds to the JSON property `customerId` # @return [String] attr_accessor :customer_id - # External name of the deal, if this subscription was provisioned under one. - # Otherwise this field will be empty. + # Google-issued code (100 char max) for discounted pricing on subscription plans. + # Deal code must be included in insert requests in order to receive discounted + # rate. This property is optional, regular pricing applies if left empty. # Corresponds to the JSON property `dealCode` # @return [String] attr_accessor :deal_code - # Identifies the resource as a Subscription. + # Identifies the resource as a Subscription. Value: reseller#subscription # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind - # Plan details of the subscription + # The plan property is required. In this version of the API, the G Suite plans + # are the flexible plan, annual commitment plan, and the 30-day free trial plan. + # For more information about the API"s payment plans, see the API concepts. # Corresponds to the JSON property `plan` # @return [Google::Apis::ResellerV1::Subscription::Plan] attr_accessor :plan - # Purchase order id for your order tracking purposes. + # This is an optional property. This purchase order (PO) information is for + # resellers to use for their company tracking usage. If a purchaseOrderId value + # is given it appears in the API responses and shows up in the invoice. The + # property accepts up to 80 plain text characters. # Corresponds to the JSON property `purchaseOrderId` # @return [String] attr_accessor :purchase_order_id @@ -319,7 +432,10 @@ module Google # @return [Google::Apis::ResellerV1::RenewalSettings] attr_accessor :renewal_settings - # Ui url for subscription resource. + # URL to customer's Subscriptions page in the Admin console. The read-only URL + # is generated by the API service. This is used if your client application + # requires the customer to complete a task using the Subscriptions page in the + # Admin console. # Corresponds to the JSON property `resourceUiUrl` # @return [String] attr_accessor :resource_ui_url @@ -329,17 +445,31 @@ module Google # @return [Google::Apis::ResellerV1::Seats] attr_accessor :seats - # Name of the sku for which this subscription is purchased. + # 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. # Corresponds to the JSON property `skuId` # @return [String] attr_accessor :sku_id - # Status of the subscription. + # 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. + # Corresponds to the JSON property `skuName` + # @return [String] + attr_accessor :sku_name + + # This is an optional property. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status - # The id of the subscription. + # The subscriptionId is the subscription identifier and is unique for each + # customer. This is a required property. Since a subscriptionId changes when a + # subscription is updated, we recommend not using this ID as a key for + # persistent data. Use the subscriptionId as described in retrieve all reseller + # subscriptions. # Corresponds to the JSON property `subscriptionId` # @return [String] attr_accessor :subscription_id @@ -347,9 +477,10 @@ module Google # Read-only field containing an enumerable of all the current suspension reasons # for a subscription. It is possible for a subscription to have many concurrent, # overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all - # pending suspensions are removed. Possible options include: - # - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the - # Google Apps Resold Terms of Services. + # pending suspensions are removed. + # Possible options include: + # - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G + # Suite Resold Terms of Services. # - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service # was cancelled at the end of their term. # - RESELLER_INITIATED - A manual suspension invoked by a Reseller. @@ -360,12 +491,14 @@ module Google # @return [Array] attr_accessor :suspension_reasons - # Transfer related information for the subscription. + # Read-only transfer related information for the subscription. For more + # information, see retrieve transferable subscriptions for a customer. # Corresponds to the JSON property `transferInfo` # @return [Google::Apis::ResellerV1::Subscription::TransferInfo] attr_accessor :transfer_info - # Trial Settings of the subscription. + # The G Suite annual commitment and flexible payment plans can be in a 30-day + # free trial. For more information, see the API concepts. # Corresponds to the JSON property `trialSettings` # @return [Google::Apis::ResellerV1::Subscription::TrialSettings] attr_accessor :trial_settings @@ -388,6 +521,7 @@ module Google @resource_ui_url = args[:resource_ui_url] if args.key?(:resource_ui_url) @seats = args[:seats] if args.key?(:seats) @sku_id = args[:sku_id] if args.key?(:sku_id) + @sku_name = args[:sku_name] if args.key?(:sku_name) @status = args[:status] if args.key?(:status) @subscription_id = args[:subscription_id] if args.key?(:subscription_id) @suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons) @@ -395,22 +529,37 @@ module Google @trial_settings = args[:trial_settings] if args.key?(:trial_settings) end - # Plan details of the subscription + # The plan property is required. In this version of the API, the G Suite plans + # are the flexible plan, annual commitment plan, and the 30-day free trial plan. + # For more information about the API"s payment plans, see the API concepts. class Plan include Google::Apis::Core::Hashable - # Interval of the commitment if it is a commitment plan. + # In this version of the API, annual commitment plan's interval is one year. # Corresponds to the JSON property `commitmentInterval` # @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval] attr_accessor :commitment_interval - # Whether the plan is a commitment plan or not. + # The isCommitmentPlan property's boolean value identifies the plan as an annual + # commitment plan: + # - true — The subscription's plan is an annual commitment plan. + # - false — The plan is not an annual commitment plan. # Corresponds to the JSON property `isCommitmentPlan` # @return [Boolean] attr_accessor :is_commitment_plan alias_method :is_commitment_plan?, :is_commitment_plan - # The plan name of this subscription's plan. + # The planName property is required. This is the name of the subscription's plan. + # For more information about the Google payment plans, see the API concepts. + # Possible values are: + # - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments + # - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments + # - FLEXIBLE — The flexible plan + # - TRIAL — The 30-day free trial plan. A subscription in trial will be + # suspended after the 30th free day if no payment plan is assigned. Calling + # changePlan will assign a payment plan to a trial but will not activate the + # plan. A trial will automatically begin its assigned payment plan after its + # 30th free day or immediately after calling startPaidService. # Corresponds to the JSON property `planName` # @return [String] attr_accessor :plan_name @@ -426,16 +575,18 @@ module Google @plan_name = args[:plan_name] if args.key?(:plan_name) end - # Interval of the commitment if it is a commitment plan. + # In this version of the API, annual commitment plan's interval is one year. class CommitmentInterval include Google::Apis::Core::Hashable - # End time of the commitment interval in milliseconds since Unix epoch. + # An annual commitment plan's interval's endTime in milliseconds using the UNIX + # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # Start time of the commitment interval in milliseconds since Unix epoch. + # An annual commitment plan's interval's startTime in milliseconds using UNIX + # Epoch format. See an example Epoch converter. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time @@ -452,16 +603,21 @@ module Google end end - # Transfer related information for the subscription. + # Read-only transfer related information for the subscription. For more + # information, see retrieve transferable subscriptions for a customer. class TransferInfo include Google::Apis::Core::Hashable - # + # When inserting a subscription, this is the minimum number of seats listed in + # the transfer order for this product. For example, if the customer has 20 users, + # the reseller cannot place a transfer order of 15 seats. The minimum is 20 + # seats. # Corresponds to the JSON property `minimumTransferableSeats` # @return [Fixnum] attr_accessor :minimum_transferable_seats - # Time when transfer token or intent to transfer will expire. + # The time when transfer token or intent to transfer will expire. The time is in + # milliseconds using UNIX Epoch format. # Corresponds to the JSON property `transferabilityExpirationTime` # @return [String] attr_accessor :transferability_expiration_time @@ -477,17 +633,21 @@ module Google end end - # Trial Settings of the subscription. + # The G Suite annual commitment and flexible payment plans can be in a 30-day + # free trial. For more information, see the API concepts. class TrialSettings include Google::Apis::Core::Hashable - # Whether the subscription is in trial. + # Determines if a subscription's plan is in a 30-day free trial or not: + # - true — The plan is in trial. + # - false — The plan is not in trial. # Corresponds to the JSON property `isInTrial` # @return [Boolean] attr_accessor :is_in_trial alias_method :is_in_trial?, :is_in_trial - # End time of the trial in milliseconds since Unix epoch. + # Date when the trial ends. The value is in milliseconds using the UNIX Epoch + # format. See an example Epoch converter. # Corresponds to the JSON property `trialEndTime` # @return [String] attr_accessor :trial_end_time @@ -508,7 +668,8 @@ module Google class Subscriptions include Google::Apis::Core::Hashable - # Identifies the resource as a collection of subscriptions. + # Identifies the resource as a collection of subscriptions. Value: reseller# + # subscriptions # Corresponds to the JSON property `kind` # @return [String] attr_accessor :kind diff --git a/generated/google/apis/reseller_v1/representations.rb b/generated/google/apis/reseller_v1/representations.rb index 58ca2af80..30c2aad24 100644 --- a/generated/google/apis/reseller_v1/representations.rb +++ b/generated/google/apis/reseller_v1/representations.rb @@ -46,6 +46,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ResellernotifyGetwatchdetailsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResellernotifyResource + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Seats class Representation < Google::Apis::Core::JsonRepresentation; end @@ -139,6 +151,21 @@ module Google end end + class ResellernotifyGetwatchdetailsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :service_account_email_addresses, as: 'serviceAccountEmailAddresses' + property :topic_name, as: 'topicName' + end + end + + class ResellernotifyResource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :topic_name, as: 'topicName' + end + end + class Seats # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -167,6 +194,7 @@ module Google property :seats, as: 'seats', class: Google::Apis::ResellerV1::Seats, decorator: Google::Apis::ResellerV1::Seats::Representation property :sku_id, as: 'skuId' + property :sku_name, as: 'skuName' property :status, as: 'status' property :subscription_id, as: 'subscriptionId' collection :suspension_reasons, as: 'suspensionReasons' diff --git a/generated/google/apis/reseller_v1/service.rb b/generated/google/apis/reseller_v1/service.rb index 84e439c01..8a6aea9e0 100644 --- a/generated/google/apis/reseller_v1/service.rb +++ b/generated/google/apis/reseller_v1/service.rb @@ -52,9 +52,12 @@ module Google super('https://www.googleapis.com/', 'apps/reseller/v1/') end - # Gets a customer resource if one exists and is owned by the reseller. + # Get a customer account. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -87,11 +90,14 @@ module Google execute_or_queue_command(command, &block) end - # Creates a customer resource if one does not already exist. + # Order a new customer's account. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] customer_auth_token - # An auth token needed for inserting a customer for which domain already exists. - # Can be generated at https://admin.google.com/TransferToken. Optional. + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal + # authentication token needed to complete the subscription transfer. For more + # information, see the administrator help center. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -126,10 +132,12 @@ module Google execute_or_queue_command(command, &block) end - # Update a customer resource if one it exists and is owned by the reseller. This - # method supports patch semantics. + # Update a customer account's settings. This method supports patch semantics. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -165,9 +173,12 @@ module Google execute_or_queue_command(command, &block) end - # Update a customer resource if one it exists and is owned by the reseller. + # Update a customer account's settings. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Customer] customer_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -203,11 +214,120 @@ module Google execute_or_queue_command(command, &block) end + # Returns all the details of the watch corresponding to the reseller. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'resellernotify/getwatchdetails', options) + command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation + command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Registers a Reseller for receiving notifications. + # @param [String] service_account_email_address + # The service account which will own the created Cloud-PubSub topic. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ResellerV1::ResellernotifyResource] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'resellernotify/register', options) + command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation + command.response_class = Google::Apis::ResellerV1::ResellernotifyResource + command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Unregisters a Reseller for receiving notifications. + # @param [String] service_account_email_address + # The service account which owns the Cloud-PubSub topic. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ResellerV1::ResellernotifyResource] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'resellernotify/unregister', options) + command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation + command.response_class = Google::Apis::ResellerV1::ResellernotifyResource + command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Activates a subscription previously suspended by the reseller # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -241,11 +361,20 @@ module Google execute_or_queue_command(command, &block) end - # Changes the plan of a subscription + # Update a subscription plan. Use this method to update a plan for a 30-day + # trial or a flexible plan subscription to an annual commitment plan with + # monthly or yearly payments. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -282,11 +411,19 @@ module Google execute_or_queue_command(command, &block) end - # Changes the renewal settings of a subscription + # Update a user license's renewal settings. This is applicable for accounts with + # annual commitment plans only. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -323,11 +460,18 @@ module Google execute_or_queue_command(command, &block) end - # Changes the seats configuration of a subscription + # Update a subscription's user license settings. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [Google::Apis::ResellerV1::Seats] seats_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -364,13 +508,21 @@ module Google execute_or_queue_command(command, &block) end - # Cancels/Downgrades a subscription. + # Cancel, suspend or transfer a subscription to direct. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] deletion_type - # Whether the subscription is to be fully cancelled or downgraded + # The deletionType query string enables the cancellation, downgrade, or + # suspension of a subscription. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -403,11 +555,18 @@ module Google execute_or_queue_command(command, &block) end - # Gets a subscription of the customer. + # Get a specific subscription. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -441,13 +600,19 @@ module Google execute_or_queue_command(command, &block) end - # Creates/Transfers a subscription for the customer. + # Create or transfer a subscription. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [Google::Apis::ResellerV1::Subscription] subscription_object # @param [String] customer_auth_token - # An auth token needed for transferring a subscription. Can be generated at - # https://www.google.com/a/cpanel/customer-domain/TransferToken. Optional. + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal + # authentication token needed to complete the subscription transfer. For more + # information, see the administrator help center. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -483,19 +648,32 @@ module Google execute_or_queue_command(command, &block) end - # Lists subscriptions of a reseller, optionally filtered by a customer name - # prefix. + # List of subscriptions managed by the reseller. The list can be all + # subscriptions, all of a customer's subscriptions, or all of a customer's + # transferable subscriptions. # @param [String] customer_auth_token - # An auth token needed if the customer is not a resold customer of this reseller. - # Can be generated at https://www.google.com/a/cpanel/customer-domain/ - # TransferToken.Optional. + # The customerAuthToken query string is required when creating a resold account + # that transfers a direct customer's subscription or transfers another reseller + # customer's subscription to your reseller management. This is a hexadecimal + # authentication token needed to complete the subscription transfer. For more + # information, see the administrator help center. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] customer_name_prefix - # Prefix of the customer's domain name by which the subscriptions should be - # filtered. Optional + # When retrieving all of your subscriptions and filtering for specific customers, + # you can enter a prefix for a customer name. Using an example customer group + # that includes exam.com, example20.com and example.com: + # - exa -- Returns all customer names that start with 'exa' which could include + # exam.com, example20.com, and example.com. A name prefix is similar to using a + # regular expression's asterisk, exa*. + # - example -- Returns example20.com and example.com. # @param [Fixnum] max_results - # Maximum number of results to return + # When retrieving a large list, the maxResults is the maximum number of results + # per page. The nextPageToken value takes you to the next page. The default is + # 20. # @param [String] page_token # Token to specify next page in the list # @param [String] fields @@ -534,11 +712,19 @@ module Google execute_or_queue_command(command, &block) end - # Starts paid service of a trial subscription + # Immediately move a 30-day free trial subscription to a paid service + # subscription. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -572,11 +758,18 @@ module Google execute_or_queue_command(command, &block) end - # Suspends an active subscription + # Suspends an active subscription. # @param [String] customer_id - # Id of the Customer + # Either the customer's primary domain name or the customer's unique identifier. + # If using the domain name, we do not recommend using a customerId as a key for + # persistent data. If the domain name for a customerId is changed, the Google + # system automatically updates. # @param [String] subscription_id - # Id of the subscription, which is unique for a customer + # This is a required property. The subscriptionId is the subscription identifier + # and is unique for each customer. Since a subscriptionId changes when a + # subscription is updated, we recommend to not use this ID as a key for + # persistent data. And the subscriptionId can be found using the retrieve all + # reseller subscriptions method. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/script_v1.rb b/generated/google/apis/script_v1.rb index c27820306..97bc30eaf 100644 --- a/generated/google/apis/script_v1.rb +++ b/generated/google/apis/script_v1.rb @@ -25,16 +25,28 @@ module Google # @see https://developers.google.com/apps-script/execution/rest/v1/scripts/run module ScriptV1 VERSION = 'V1' - REVISION = '20160801' + REVISION = '20170321' - # View and manage your mail - AUTH_SCOPE = 'https://mail.google.com/' + # View your email address + AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' # Manage your calendars CALENDAR_FEEDS = 'https://www.google.com/calendar/feeds' - # Manage your contacts - M8_FEEDS = 'https://www.google.com/m8/feeds' + # View and manage your Google Groups + AUTH_GROUPS = 'https://www.googleapis.com/auth/groups' + + # View and manage forms that this application has been installed in + AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly' + + # View and manage the files in your Google Drive + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' + + # Read, send, delete, and manage your email + AUTH_SCOPE = 'https://mail.google.com/' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' # View and manage the provisioning of groups on your domain AUTH_ADMIN_DIRECTORY_GROUP = 'https://www.googleapis.com/auth/admin.directory.group' @@ -42,23 +54,11 @@ module Google # View and manage the provisioning of users on your domain AUTH_ADMIN_DIRECTORY_USER = 'https://www.googleapis.com/auth/admin.directory.user' - # View and manage the files in your Google Drive - AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' - # View and manage your forms in Google Drive AUTH_FORMS = 'https://www.googleapis.com/auth/forms' - # View and manage forms that this application has been installed in - AUTH_FORMS_CURRENTONLY = 'https://www.googleapis.com/auth/forms.currentonly' - - # View and manage your Google Groups - AUTH_GROUPS = 'https://www.googleapis.com/auth/groups' - - # View and manage your spreadsheets in Google Drive - AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' - - # View your email address - AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email' + # Manage your contacts + M8_FEEDS = 'https://www.google.com/m8/feeds' end end end diff --git a/generated/google/apis/script_v1/classes.rb b/generated/google/apis/script_v1/classes.rb index 7ff4709a9..1c31129e3 100644 --- a/generated/google/apis/script_v1/classes.rb +++ b/generated/google/apis/script_v1/classes.rb @@ -22,188 +22,6 @@ module Google module Apis module ScriptV1 - # A request to run the function in a script. The script is identified by the - # specified `script_id`. Executing a function on a script will return results - # based on the implementation of the script. - class ExecutionRequest - include Google::Apis::Core::Hashable - - # The name of the function to execute in the given script. The name does not - # include parentheses or parameters. - # Corresponds to the JSON property `function` - # @return [String] - attr_accessor :function - - # The parameters to be passed to the function being executed. The type for each - # parameter should match the expected type in Apps Script. Parameters cannot be - # Apps Script-specific objects (such as a `Document` or `Calendar`); they can - # only be primitive types such as a `string`, `number`, `array`, `object`, or ` - # boolean`. Optional. - # Corresponds to the JSON property `parameters` - # @return [Array] - attr_accessor :parameters - - # This field is not used. - # Corresponds to the JSON property `sessionState` - # @return [String] - attr_accessor :session_state - - # If `true` and the user is an owner of the script, the script runs at the most - # recently saved version rather than the version deployed for use with the - # Execution API. Optional; default is `false`. - # Corresponds to the JSON property `devMode` - # @return [Boolean] - attr_accessor :dev_mode - alias_method :dev_mode?, :dev_mode - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @function = args[:function] if args.key?(:function) - @parameters = args[:parameters] if args.key?(:parameters) - @session_state = args[:session_state] if args.key?(:session_state) - @dev_mode = args[:dev_mode] if args.key?(:dev_mode) - end - end - - # 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). - # 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. - # 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. - # 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. - class Operation - include Google::Apis::Core::Hashable - - # This field is not used. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # This field is not used. - # Corresponds to the JSON property `metadata` - # @return [Hash] - attr_accessor :metadata - - # This field is not used. - # Corresponds to the JSON property `done` - # @return [Boolean] - attr_accessor :done - alias_method :done?, :done - - # 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. - # Corresponds to the JSON property `error` - # @return [Google::Apis::ScriptV1::Status] - attr_accessor :error - - # 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. - # Corresponds to the JSON property `response` - # @return [Hash] - attr_accessor :response - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @name = args[:name] if args.key?(:name) - @metadata = args[:metadata] if args.key?(:metadata) - @done = args[:done] if args.key?(:done) - @error = args[:error] if args.key?(:error) - @response = args[:response] if args.key?(:response) - end - end - - # 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. - class Status - include Google::Apis::Core::Hashable - - # The status code, which should be an enum value of google.rpc.Code. - # Corresponds to the JSON property `code` - # @return [Fixnum] - attr_accessor :code - - # 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. - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - # An array that contains a single `ExecutionError` object that provides - # information about the nature of the error. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code = args[:code] if args.key?(:code) - @message = args[:message] if args.key?(:message) - @details = args[:details] if args.key?(:details) - end - end - - # An object that provides information about the nature of an error in the Apps - # Script Execution API. If an `run` call succeeds but the script function (or - # Apps Script itself) throws an exception, the response body's `error` field - # will contain a `Status` object. The `Status` object's `details` field will - # contain an array with a single one of these `ExecutionError` objects. - class ExecutionError - include Google::Apis::Core::Hashable - - # An array of objects that provide a stack trace through the script to show - # where the execution failed, with the deepest call first. - # Corresponds to the JSON property `scriptStackTraceElements` - # @return [Array] - attr_accessor :script_stack_trace_elements - - # The error message thrown by Apps Script, usually localized into the user's - # language. - # Corresponds to the JSON property `errorMessage` - # @return [String] - attr_accessor :error_message - - # The error type, for example `TypeError` or `ReferenceError`. If the error type - # is unavailable, this field is not included. - # Corresponds to the JSON property `errorType` - # @return [String] - attr_accessor :error_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements) - @error_message = args[:error_message] if args.key?(:error_message) - @error_type = args[:error_type] if args.key?(:error_type) - end - end - # A stack trace through the script that shows where the execution failed. class ScriptStackTraceElement include Google::Apis::Core::Hashable @@ -229,27 +47,157 @@ module Google end end + # An object that provides information about the nature of an error in the Apps + # Script Execution API. If an + # `run` call succeeds but the + # script function (or Apps Script itself) throws an exception, the response + # body's `error` field contains a + # `Status` object. The `Status` object's `details` field + # contains an array with a single one of these `ExecutionError` objects. + class ExecutionError + include Google::Apis::Core::Hashable + + # The error type, for example `TypeError` or `ReferenceError`. If the error + # type is unavailable, this field is not included. + # Corresponds to the JSON property `errorType` + # @return [String] + attr_accessor :error_type + + # The error message thrown by Apps Script, usually localized into the user's + # language. + # Corresponds to the JSON property `errorMessage` + # @return [String] + attr_accessor :error_message + + # An array of objects that provide a stack trace through the script to show + # where the execution failed, with the deepest call first. + # Corresponds to the JSON property `scriptStackTraceElements` + # @return [Array] + attr_accessor :script_stack_trace_elements + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error_type = args[:error_type] if args.key?(:error_type) + @error_message = args[:error_message] if args.key?(:error_message) + @script_stack_trace_elements = args[:script_stack_trace_elements] if args.key?(:script_stack_trace_elements) + end + end + + # 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. + class Status + include Google::Apis::Core::Hashable + + # An array that contains a single `ExecutionError` object that provides + # information about the nature of the error. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code. For this API, this value will always be 3, corresponding to + # an INVALID_ARGUMENT error. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # A request to run the function in a script. The script is identified by the + # specified `script_id`. Executing a function on a script returns results + # based on the implementation of the script. + class ExecutionRequest + include Google::Apis::Core::Hashable + + # The name of the function to execute in the given script. The name does not + # include parentheses or parameters. + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # If `true` and the user is an owner of the script, the script runs at the + # most recently saved version rather than the version deployed for use with + # the Execution API. Optional; default is `false`. + # Corresponds to the JSON property `devMode` + # @return [Boolean] + attr_accessor :dev_mode + alias_method :dev_mode?, :dev_mode + + # The parameters to be passed to the function being executed. The object type + # for each parameter should match the expected type in Apps Script. + # Parameters cannot be Apps Script-specific object types (such as a + # `Document` or a `Calendar`); they can only be primitive types such as + # `string`, `number`, `array`, `object`, or `boolean`. Optional. + # Corresponds to the JSON property `parameters` + # @return [Array] + attr_accessor :parameters + + # For Android add-ons only. An ID that represents the user's current session + # in the Android app for Google Docs or Sheets, included as extra data in the + # [`Intent`](https://developer.android.com/guide/components/intents-filters.html) + # that launches the add-on. When an Android add-on is run with a session + # state, it gains the privileges of a + # [bound](https://developers.google.com/apps-script/guides/bound) script — + # that is, it can access information like the user's current cursor position + # (in Docs) or selected cell (in Sheets). To retrieve the state, call + # `Intent.getStringExtra("com.google.android.apps.docs.addons.SessionState")`. + # Optional. + # Corresponds to the JSON property `sessionState` + # @return [String] + attr_accessor :session_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @function = args[:function] if args.key?(:function) + @dev_mode = args[:dev_mode] if args.key?(:dev_mode) + @parameters = args[:parameters] if args.key?(:parameters) + @session_state = args[:session_state] if args.key?(:session_state) + end + end + # An object that provides the return value of a function executed through the - # Apps Script Execution API. If an `run` call succeeds and the script function - # returns successfully, the response body's `response` field will contain this ` - # ExecutionResponse` object. + # Apps Script Execution API. If a + # `run` call succeeds and the + # script function returns successfully, the response body's + # `response` field contains this + # `ExecutionResponse` object. class ExecutionResponse include Google::Apis::Core::Hashable - # The return value of the script function. The type will match the type returned - # in Apps Script. Functions called through the Execution API cannot return Apps - # Script-specific objects (such as a `Document` or `Calendar`); they can only - # return primitive types such as a `string`, `number`, `array`, `object`, or ` - # boolean`. + # The return value of the script function. The type matches the object type + # returned in Apps Script. Functions called through the Execution API cannot + # return Apps Script-specific objects (such as a `Document` or a `Calendar`); + # they can only return primitive types such as a `string`, `number`, `array`, + # `object`, or `boolean`. # Corresponds to the JSON property `result` # @return [Object] attr_accessor :result - # - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - def initialize(**args) update!(**args) end @@ -257,7 +205,67 @@ module Google # Update properties of this object def update!(**args) @result = args[:result] if args.key?(:result) - @status = args[:status] if args.key?(:status) + end + end + + # 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). + #

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.

+ #

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.

+ #

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.

+ class Operation + include Google::Apis::Core::Hashable + + # This field is not used. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # 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. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # This field is not used. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::ScriptV1::Status] + attr_accessor :error + + # This field is not used. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) end end end diff --git a/generated/google/apis/script_v1/representations.rb b/generated/google/apis/script_v1/representations.rb index 23d1149f5..b6b34a08b 100644 --- a/generated/google/apis/script_v1/representations.rb +++ b/generated/google/apis/script_v1/representations.rb @@ -22,19 +22,7 @@ module Google module Apis module ScriptV1 - class ExecutionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Operation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Status + class ScriptStackTraceElement class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -46,7 +34,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ScriptStackTraceElement + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExecutionRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -58,45 +52,10 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ExecutionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :function, as: 'function' - collection :parameters, as: 'parameters' - property :session_state, as: 'sessionState' - property :dev_mode, as: 'devMode' - end - end - class Operation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :name, as: 'name' - hash :metadata, as: 'metadata' - property :done, as: 'done' - property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation + class Representation < Google::Apis::Core::JsonRepresentation; end - hash :response, as: 'response' - end - end - - class Status - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code, as: 'code' - property :message, as: 'message' - collection :details, as: 'details' - end - end - - class ExecutionError - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :script_stack_trace_elements, as: 'scriptStackTraceElements', class: Google::Apis::ScriptV1::ScriptStackTraceElement, decorator: Google::Apis::ScriptV1::ScriptStackTraceElement::Representation - - property :error_message, as: 'errorMessage' - property :error_type, as: 'errorType' - end + include Google::Apis::Core::JsonObjectSupport end class ScriptStackTraceElement @@ -107,11 +66,51 @@ module Google end end + class ExecutionError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error_type, as: 'errorType' + property :error_message, as: 'errorMessage' + collection :script_stack_trace_elements, as: 'scriptStackTraceElements', class: Google::Apis::ScriptV1::ScriptStackTraceElement, decorator: Google::Apis::ScriptV1::ScriptStackTraceElement::Representation + + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end + end + + class ExecutionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :function, as: 'function' + property :dev_mode, as: 'devMode' + collection :parameters, as: 'parameters' + property :session_state, as: 'sessionState' + end + end + class ExecutionResponse # @private class Representation < Google::Apis::Core::JsonRepresentation property :result, as: 'result' - property :status, as: 'status' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::ScriptV1::Status, decorator: Google::Apis::ScriptV1::Status::Representation + + hash :metadata, as: 'metadata' end end end diff --git a/generated/google/apis/script_v1/service.rb b/generated/google/apis/script_v1/service.rb index 58bef3e94..797bd98b6 100644 --- a/generated/google/apis/script_v1/service.rb +++ b/generated/google/apis/script_v1/service.rb @@ -46,16 +46,17 @@ module Google super('https://script.googleapis.com/', '') end - # Runs a function in an Apps Script project that has been deployed for use with - # the Apps Script Execution API. This method requires authorization with an - # OAuth 2.0 token that includes at least one of the scopes listed in the [ - # Authentication](#authentication) section; script projects that do not require - # authorization cannot be executed through this API. To find the correct scopes - # to include in the authentication token, open the project in the script editor, - # then select **File > Project properties** and click the **Scopes** tab. + # Runs a function in an Apps Script project. The project must be deployed + # for use with the Apps Script Execution API. + # This method requires authorization with an OAuth 2.0 token that includes at + # least one of the scopes listed in the [Authorization](#authorization) + # section; script projects that do not require authorization cannot be + # executed through this API. To find the correct scopes to include in the + # authentication token, open the project in the script editor, then select + # **File > Project properties** and click the **Scopes** tab. # @param [String] script_id # The project key of the script to be executed. To find the project key, open - # the project in the script editor, then select **File > Project properties**. + # the project in the script editor and select **File > Project properties**. # @param [Google::Apis::ScriptV1::ExecutionRequest] execution_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. diff --git a/generated/google/apis/sheets_v4.rb b/generated/google/apis/sheets_v4.rb index d29053a03..b6b7a265f 100644 --- a/generated/google/apis/sheets_v4.rb +++ b/generated/google/apis/sheets_v4.rb @@ -25,19 +25,19 @@ module Google # @see https://developers.google.com/sheets/ module SheetsV4 VERSION = 'V4' - REVISION = '20160815' + REVISION = '20170323' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View and manage the files in your Google Drive + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' # View the files in your Google Drive AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' # View your Google Spreadsheets AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' - - # View and manage the files in your Google Drive - AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' - - # View and manage your spreadsheets in Google Drive - AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' end end end diff --git a/generated/google/apis/sheets_v4/classes.rb b/generated/google/apis/sheets_v4/classes.rb index 4ca2b1d5b..59e1a9289 100644 --- a/generated/google/apis/sheets_v4/classes.rb +++ b/generated/google/apis/sheets_v4/classes.rb @@ -22,14 +22,164 @@ module Google module Apis module SheetsV4 - # The result of adding a named range. - class AddNamedRangeResponse + # The format of a cell. + class CellFormat include Google::Apis::Core::Hashable - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :background_color + + # The vertical alignment of the value in the cell. + # Corresponds to the JSON property `verticalAlignment` + # @return [String] + attr_accessor :vertical_alignment + + # The amount of padding around the cell, in pixels. + # When updating padding, every field must be specified. + # Corresponds to the JSON property `padding` + # @return [Google::Apis::SheetsV4::Padding] + attr_accessor :padding + + # The borders of the cell. + # Corresponds to the JSON property `borders` + # @return [Google::Apis::SheetsV4::Borders] + attr_accessor :borders + + # The direction of the text in the cell. + # Corresponds to the JSON property `textDirection` + # @return [String] + attr_accessor :text_direction + + # The wrap strategy for the value in the cell. + # Corresponds to the JSON property `wrapStrategy` + # @return [String] + attr_accessor :wrap_strategy + + # The rotation applied to text in a cell. + # Corresponds to the JSON property `textRotation` + # @return [Google::Apis::SheetsV4::TextRotation] + attr_accessor :text_rotation + + # The number format of a cell. + # Corresponds to the JSON property `numberFormat` + # @return [Google::Apis::SheetsV4::NumberFormat] + attr_accessor :number_format + + # The horizontal alignment of the value in the cell. + # Corresponds to the JSON property `horizontalAlignment` + # @return [String] + attr_accessor :horizontal_alignment + + # How a hyperlink, if it exists, should be displayed in the cell. + # Corresponds to the JSON property `hyperlinkDisplayType` + # @return [String] + attr_accessor :hyperlink_display_type + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `textFormat` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :text_format def initialize(**args) update!(**args) @@ -37,62 +187,313 @@ module Google # Update properties of this object def update!(**args) - @named_range = args[:named_range] if args.key?(:named_range) + @background_color = args[:background_color] if args.key?(:background_color) + @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment) + @padding = args[:padding] if args.key?(:padding) + @borders = args[:borders] if args.key?(:borders) + @text_direction = args[:text_direction] if args.key?(:text_direction) + @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy) + @text_rotation = args[:text_rotation] if args.key?(:text_rotation) + @number_format = args[:number_format] if args.key?(:number_format) + @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) + @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type) + @text_format = args[:text_format] if args.key?(:text_format) end end - # Updates an existing protected range with the specified - # protectedRangeId. - class UpdateProtectedRangeRequest + # The response when clearing a range of values in a spreadsheet. + class ClearValuesResponse include Google::Apis::Core::Hashable - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range + # The range (in A1 notation) that was cleared. + # (If the request was for an unbounded range or a ranger larger + # than the bounds of the sheet, this will be the actual range + # that was cleared, bounded to the sheet's limits.) + # Corresponds to the JSON property `clearedRange` + # @return [String] + attr_accessor :cleared_range + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cleared_range = args[:cleared_range] if args.key?(:cleared_range) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # Deletes a conditional format rule at the given index. + # All subsequent rules' indexes are decremented. + class DeleteConditionalFormatRuleRequest + include Google::Apis::Core::Hashable + + # The zero-based index of the rule to be deleted. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # The sheet the rule is being deleted from. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @index = args[:index] if args.key?(:index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Removes the named range with the given ID from the spreadsheet. + class DeleteNamedRangeRequest + include Google::Apis::Core::Hashable + + # The ID of the named range to delete. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + end + end + + # The result of adding a banded range. + class AddBandingResponse + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + end + end + + # The data included in a domain or series. + class ChartData + include Google::Apis::Core::Hashable + + # Source ranges for a chart. + # Corresponds to the JSON property `sourceRange` + # @return [Google::Apis::SheetsV4::ChartSourceRange] + attr_accessor :source_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source_range = args[:source_range] if args.key?(:source_range) + end + end + + # The response when retrieving more than one range of values in a spreadsheet. + class BatchGetValuesResponse + include Google::Apis::Core::Hashable + + # The requested values. The order of the ValueRanges is the same as the + # order of the requested ranges. + # Corresponds to the JSON property `valueRanges` + # @return [Array] + attr_accessor :value_ranges + + # The ID of the spreadsheet the data was retrieved from. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @value_ranges = args[:value_ranges] if args.key?(:value_ranges) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # Updates properties of the supplied banded range. + class UpdateBandingRequest + include Google::Apis::Core::Hashable # The fields that should be updated. At least one field must be specified. - # The root `protectedRange` is implied and should not be specified. + # The root `bandedRange` is implied and should not be specified. # A single `"*"` can be used as short-hand for listing every field. # Corresponds to the JSON property `fields` # @return [String] attr_accessor :fields + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @protected_range = args[:protected_range] if args.key?(:protected_range) @fields = args[:fields] if args.key?(:fields) + @banded_range = args[:banded_range] if args.key?(:banded_range) end end - # The amount of padding around the cell, in pixels. - # When updating padding, every field must be specified. - class Padding + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + class Color include Google::Apis::Core::Hashable - # The right padding of the cell. - # Corresponds to the JSON property `right` - # @return [Fixnum] - attr_accessor :right + # The amount of red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red - # The left padding of the cell. - # Corresponds to the JSON property `left` - # @return [Fixnum] - attr_accessor :left + # The amount of green in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green - # The top padding of the cell. - # Corresponds to the JSON property `top` - # @return [Fixnum] - attr_accessor :top + # The amount of blue in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue - # The bottom padding of the cell. - # Corresponds to the JSON property `bottom` - # @return [Fixnum] - attr_accessor :bottom + # The fraction of this color that should be applied to the pixel. That is, + # the final pixel color is defined by the equation: + # pixel color = alpha * (this color) + (1.0 - alpha) * (background color) + # This means that a value of 1.0 corresponds to a solid color, whereas + # a value of 0.0 corresponds to a completely transparent color. This + # uses a wrapper message rather than a simple float scalar so that it is + # possible to distinguish between a default value and the value being unset. + # If omitted, this color object is to be rendered as a solid color + # (as if the alpha value had been explicitly given with a value of 1.0). + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha def initialize(**args) update!(**args) @@ -100,21 +501,368 @@ module Google # Update properties of this object def update!(**args) - @right = args[:right] if args.key?(:right) - @left = args[:left] if args.key?(:left) - @top = args[:top] if args.key?(:top) - @bottom = args[:bottom] if args.key?(:bottom) + @red = args[:red] if args.key?(:red) + @green = args[:green] if args.key?(:green) + @blue = args[:blue] if args.key?(:blue) + @alpha = args[:alpha] if args.key?(:alpha) end end - # Merges all cells in the range. - class MergeCellsRequest + # A single grouping (either row or column) in a pivot table. + class PivotGroup include Google::Apis::Core::Hashable - # How the cells should be merged. - # Corresponds to the JSON property `mergeType` + # The order the values in this group should be sorted. + # Corresponds to the JSON property `sortOrder` # @return [String] - attr_accessor :merge_type + attr_accessor :sort_order + + # Information about which values in a pivot group should be used for sorting. + # Corresponds to the JSON property `valueBucket` + # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket] + attr_accessor :value_bucket + + # The column offset of the source range that this grouping is based on. + # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + # means this group refers to column `C`, whereas the offset `1` would refer + # to column `D`. + # Corresponds to the JSON property `sourceColumnOffset` + # @return [Fixnum] + attr_accessor :source_column_offset + + # True if the pivot table should include the totals for this grouping. + # Corresponds to the JSON property `showTotals` + # @return [Boolean] + attr_accessor :show_totals + alias_method :show_totals?, :show_totals + + # Metadata about values in the grouping. + # Corresponds to the JSON property `valueMetadata` + # @return [Array] + attr_accessor :value_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sort_order = args[:sort_order] if args.key?(:sort_order) + @value_bucket = args[:value_bucket] if args.key?(:value_bucket) + @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) + @show_totals = args[:show_totals] if args.key?(:show_totals) + @value_metadata = args[:value_metadata] if args.key?(:value_metadata) + end + end + + # A pivot table. + class PivotTable + include Google::Apis::Core::Hashable + + # An optional mapping of filters per source column offset. + # The filters will be applied before aggregating data into the pivot table. + # The map's key is the column offset of the source range that you want to + # filter, and the value is the criteria for that column. + # For example, if the source was `C10:E15`, a key of `0` will have the filter + # for column `C`, whereas the key `1` is for column `D`. + # Corresponds to the JSON property `criteria` + # @return [Hash] + attr_accessor :criteria + + # Each row grouping in the pivot table. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # Whether values should be listed horizontally (as columns) + # or vertically (as rows). + # Corresponds to the JSON property `valueLayout` + # @return [String] + attr_accessor :value_layout + + # Each column grouping in the pivot table. + # Corresponds to the JSON property `columns` + # @return [Array] + attr_accessor :columns + + # A list of values to include in the pivot table. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @criteria = args[:criteria] if args.key?(:criteria) + @rows = args[:rows] if args.key?(:rows) + @value_layout = args[:value_layout] if args.key?(:value_layout) + @columns = args[:columns] if args.key?(:columns) + @values = args[:values] if args.key?(:values) + @source = args[:source] if args.key?(:source) + end + end + + # Source ranges for a chart. + class ChartSourceRange + include Google::Apis::Core::Hashable + + # The ranges of data for a series or domain. + # Exactly one dimension must have a length of 1, + # and all sources in the list must have the same dimension + # with length 1. + # The domain (if it exists) & all series must have the same number + # of source ranges. If using more than one source range, then the source + # range at a given offset must be contiguous across the domain and series. + # For example, these are valid configurations: + # domain sources: A1:A5 + # series1 sources: B1:B5 + # series2 sources: D6:D10 + # domain sources: A1:A5, C10:C12 + # series1 sources: B1:B5, D10:D12 + # series2 sources: C1:C5, E10:E12 + # Corresponds to the JSON property `sources` + # @return [Array] + attr_accessor :sources + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sources = args[:sources] if args.key?(:sources) + end + end + + # Data within a range of the spreadsheet. + class ValueRange + include Google::Apis::Core::Hashable + + # The range the values cover, in A1 notation. + # For output, this range indicates the entire requested range, + # even though the values will exclude trailing rows and columns. + # When appending values, this field represents the range to search for a + # table, after which values will be appended. + # Corresponds to the JSON property `range` + # @return [String] + attr_accessor :range + + # The major dimension of the values. + # For output, 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]]`. + # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` + # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` + # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. + # When writing, if this field is not set, it defaults to ROWS. + # Corresponds to the JSON property `majorDimension` + # @return [String] + attr_accessor :major_dimension + + # The data that was read or to be written. This is an array of arrays, + # the outer array representing all the data and each inner array + # representing a major dimension. Each item in the inner array + # corresponds with one cell. + # For output, empty trailing rows and columns will not be included. + # For input, supported value types are: bool, string, and double. + # Null values will be skipped. + # To set a cell to an empty value, set the string value to an empty string. + # Corresponds to the JSON property `values` + # @return [Array>] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @major_dimension = args[:major_dimension] if args.key?(:major_dimension) + @values = args[:values] if args.key?(:values) + end + end + + # Adds new cells after the last row with data in a sheet, + # inserting new rows into the sheet if necessary. + class AppendCellsRequest + include Google::Apis::Core::Hashable + + # The data to append. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # The fields of CellData that should be updated. + # At least one field must be specified. + # The root is the CellData; 'row.values.' should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The sheet ID to append the data to. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rows = args[:rows] if args.key?(:rows) + @fields = args[:fields] if args.key?(:fields) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Adds a new banded range to the spreadsheet. + class AddBandingRequest + include Google::Apis::Core::Hashable + + # A banded (alternating colors) range in a sheet. + # Corresponds to the JSON property `bandedRange` + # @return [Google::Apis::SheetsV4::BandedRange] + attr_accessor :banded_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range = args[:banded_range] if args.key?(:banded_range) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of adding a new protected range. + # Corresponds to the JSON property `addProtectedRange` + # @return [Google::Apis::SheetsV4::AddProtectedRangeResponse] + attr_accessor :add_protected_range + + # The result of duplicating a sheet. + # Corresponds to the JSON property `duplicateSheet` + # @return [Google::Apis::SheetsV4::DuplicateSheetResponse] + attr_accessor :duplicate_sheet + + # The result of deleting a conditional format rule. + # Corresponds to the JSON property `deleteConditionalFormatRule` + # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse] + attr_accessor :delete_conditional_format_rule + + # The result of updating an embedded object's position. + # Corresponds to the JSON property `updateEmbeddedObjectPosition` + # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse] + attr_accessor :update_embedded_object_position + + # The result of a filter view being duplicated. + # Corresponds to the JSON property `duplicateFilterView` + # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse] + attr_accessor :duplicate_filter_view + + # The result of adding a chart to a spreadsheet. + # Corresponds to the JSON property `addChart` + # @return [Google::Apis::SheetsV4::AddChartResponse] + attr_accessor :add_chart + + # The result of the find/replace. + # Corresponds to the JSON property `findReplace` + # @return [Google::Apis::SheetsV4::FindReplaceResponse] + attr_accessor :find_replace + + # The result of adding a sheet. + # Corresponds to the JSON property `addSheet` + # @return [Google::Apis::SheetsV4::AddSheetResponse] + attr_accessor :add_sheet + + # The result of updating a conditional format rule. + # Corresponds to the JSON property `updateConditionalFormatRule` + # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse] + attr_accessor :update_conditional_format_rule + + # The result of adding a named range. + # Corresponds to the JSON property `addNamedRange` + # @return [Google::Apis::SheetsV4::AddNamedRangeResponse] + attr_accessor :add_named_range + + # The result of adding a filter view. + # Corresponds to the JSON property `addFilterView` + # @return [Google::Apis::SheetsV4::AddFilterViewResponse] + attr_accessor :add_filter_view + + # The result of adding a banded range. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingResponse] + attr_accessor :add_banding + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) + @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) + @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) + @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) + @add_chart = args[:add_chart] if args.key?(:add_chart) + @find_replace = args[:find_replace] if args.key?(:find_replace) + @add_sheet = args[:add_sheet] if args.key?(:add_sheet) + @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @add_named_range = args[:add_named_range] if args.key?(:add_named_range) + @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) + @add_banding = args[:add_banding] if args.key?(:add_banding) + end + end + + # Inserts cells into a range, shifting the existing cells over or down. + class InsertRangeRequest + include Google::Apis::Core::Hashable + + # The dimension which will be shifted when inserting cells. + # If ROWS, existing cells will be shifted down. + # If COLUMNS, existing cells will be shifted right. + # Corresponds to the JSON property `shiftDimension` + # @return [String] + attr_accessor :shift_dimension # A range on a sheet. # All indexes are zero-based. @@ -148,13 +896,422 @@ module Google # Update properties of this object def update!(**args) - @merge_type = args[:merge_type] if args.key?(:merge_type) + @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) @range = args[:range] if args.key?(:range) end end - # The result of adding a sheet. - class AddSheetResponse + # A run of a text format. The format of this run continues until the start + # index of the next run. + # When updating, all fields must be set. + class TextFormatRun + include Google::Apis::Core::Hashable + + # The character index where this run starts. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :format + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_index = args[:start_index] if args.key?(:start_index) + @format = args[:format] if args.key?(:format) + end + end + + # A chart embedded in a sheet. + class EmbeddedChart + include Google::Apis::Core::Hashable + + # The ID of the chart. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The position of an embedded object such as a chart. + # Corresponds to the JSON property `position` + # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] + attr_accessor :position + + # The specifications of a chart. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::SheetsV4::ChartSpec] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @position = args[:position] if args.key?(:position) + @spec = args[:spec] if args.key?(:spec) + end + end + + # The result of adding a named range. + class AddNamedRangeResponse + include Google::Apis::Core::Hashable + + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range = args[:named_range] if args.key?(:named_range) + end + end + + # Data about each cell in a row. + class RowData + include Google::Apis::Core::Hashable + + # The values in the row, one per column. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + + # A border along a cell. + class Border + include Google::Apis::Core::Hashable + + # The width of the border, in pixels. + # Deprecated; the width is determined by the "style" field. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # The style of the border. + # Corresponds to the JSON property `style` + # @return [String] + attr_accessor :style + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `color` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @style = args[:style] if args.key?(:style) + @color = args[:color] if args.key?(:color) + end + end + + # Data in the grid, as well as metadata about the dimensions. + class GridData + include Google::Apis::Core::Hashable + + # The first row this GridData refers to, zero-based. + # Corresponds to the JSON property `startRow` + # @return [Fixnum] + attr_accessor :start_row + + # Metadata about the requested columns in the grid, starting with the column + # in start_column. + # Corresponds to the JSON property `columnMetadata` + # @return [Array] + attr_accessor :column_metadata + + # The first column this GridData refers to, zero-based. + # Corresponds to the JSON property `startColumn` + # @return [Fixnum] + attr_accessor :start_column + + # Metadata about the requested rows in the grid, starting with the row + # in start_row. + # Corresponds to the JSON property `rowMetadata` + # @return [Array] + attr_accessor :row_metadata + + # The data in the grid, one entry per row, + # starting with the row in startRow. + # The values in RowData will correspond to columns starting + # at start_column. + # Corresponds to the JSON property `rowData` + # @return [Array] + attr_accessor :row_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_row = args[:start_row] if args.key?(:start_row) + @column_metadata = args[:column_metadata] if args.key?(:column_metadata) + @start_column = args[:start_column] if args.key?(:start_column) + @row_metadata = args[:row_metadata] if args.key?(:row_metadata) + @row_data = args[:row_data] if args.key?(:row_data) + end + end + + # Finds and replaces data in cells over a range, sheet, or all sheets. + class FindReplaceRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The sheet to find/replace over. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # True if the search is case sensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + # True to find/replace over all sheets. + # Corresponds to the JSON property `allSheets` + # @return [Boolean] + attr_accessor :all_sheets + alias_method :all_sheets?, :all_sheets + + # True if the search should include cells with formulas. + # False to skip cells with formulas. + # Corresponds to the JSON property `includeFormulas` + # @return [Boolean] + attr_accessor :include_formulas + alias_method :include_formulas?, :include_formulas + + # True if the find value should match the entire cell. + # Corresponds to the JSON property `matchEntireCell` + # @return [Boolean] + attr_accessor :match_entire_cell + alias_method :match_entire_cell?, :match_entire_cell + + # The value to search. + # Corresponds to the JSON property `find` + # @return [String] + attr_accessor :find + + # True if the find value is a regex. + # The regular expression and replacement should follow Java regex rules + # at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. + # The replacement string is allowed to refer to capturing groups. + # For example, if one cell has the contents `"Google Sheets"` and another + # has `"Google Docs"`, then searching for `"o.* (.*)"` with a replacement of + # `"$1 Rocks"` would change the contents of the cells to + # `"GSheets Rocks"` and `"GDocs Rocks"` respectively. + # Corresponds to the JSON property `searchByRegex` + # @return [Boolean] + attr_accessor :search_by_regex + alias_method :search_by_regex?, :search_by_regex + + # The value to use as the replacement. + # Corresponds to the JSON property `replacement` + # @return [String] + attr_accessor :replacement + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @match_case = args[:match_case] if args.key?(:match_case) + @all_sheets = args[:all_sheets] if args.key?(:all_sheets) + @include_formulas = args[:include_formulas] if args.key?(:include_formulas) + @match_entire_cell = args[:match_entire_cell] if args.key?(:match_entire_cell) + @find = args[:find] if args.key?(:find) + @search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex) + @replacement = args[:replacement] if args.key?(:replacement) + end + end + + # Updates properties of the named range with the specified + # namedRangeId. + class UpdateNamedRangeRequest + include Google::Apis::Core::Hashable + + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range + + # The fields that should be updated. At least one field must be specified. + # The root `namedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range = args[:named_range] if args.key?(:named_range) + @fields = args[:fields] if args.key?(:fields) + end + end + + # Adds a new sheet. + # When a sheet is added at a given index, + # all subsequent sheets' indexes are incremented. + # To add an object sheet, use AddChartRequest instead and specify + # EmbeddedObjectPosition.sheetId or + # EmbeddedObjectPosition.newSheet. + class AddSheetRequest include Google::Apis::Core::Hashable # Properties of a sheet. @@ -172,20 +1329,54 @@ module Google end end - # Metadata about a value in a pivot grouping. - class PivotGroupValueMetadata + # Updates all cells in a range with new data. + class UpdateCellsRequest include Google::Apis::Core::Hashable - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `value` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :value + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `start` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :start - # True if the data corresponding to the value is collapsed. - # Corresponds to the JSON property `collapsed` - # @return [Boolean] - attr_accessor :collapsed - alias_method :collapsed?, :collapsed + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The data to write. + # Corresponds to the JSON property `rows` + # @return [Array] + attr_accessor :rows + + # The fields of CellData that should be updated. + # At least one field must be specified. + # The root is the CellData; 'row.values.' should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields def initialize(**args) update!(**args) @@ -193,8 +1384,321 @@ module Google # Update properties of this object def update!(**args) - @value = args[:value] if args.key?(:value) - @collapsed = args[:collapsed] if args.key?(:collapsed) + @start = args[:start] if args.key?(:start) + @range = args[:range] if args.key?(:range) + @rows = args[:rows] if args.key?(:rows) + @fields = args[:fields] if args.key?(:fields) + end + end + + # The result of deleting a conditional format rule. + class DeleteConditionalFormatRuleResponse + include Google::Apis::Core::Hashable + + # A rule describing a conditional format. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rule = args[:rule] if args.key?(:rule) + end + end + + # Deletes a range of cells, shifting other cells into the deleted area. + class DeleteRangeRequest + include Google::Apis::Core::Hashable + + # The dimension from which deleted cells will be replaced with. + # If ROWS, existing cells will be shifted upward to + # replace the deleted cells. If COLUMNS, existing cells + # will be shifted left to replace the deleted cells. + # Corresponds to the JSON property `shiftDimension` + # @return [String] + attr_accessor :shift_dimension + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shift_dimension = args[:shift_dimension] if args.key?(:shift_dimension) + @range = args[:range] if args.key?(:range) + end + end + + # A coordinate in a sheet. + # All indexes are zero-based. + class GridCoordinate + include Google::Apis::Core::Hashable + + # The row index of the coordinate. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + # The column index of the coordinate. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + # The sheet this coordinate is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_index = args[:row_index] if args.key?(:row_index) + @column_index = args[:column_index] if args.key?(:column_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Updates properties of the sheet with the specified + # sheetId. + class UpdateSheetPropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. At least one field must be specified. + # The root `properties` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @properties = args[:properties] if args.key?(:properties) + end + end + + # Unmerges cells in the given range. + class UnmergeCellsRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Properties of a grid. + class GridProperties + include Google::Apis::Core::Hashable + + # The number of rows in the grid. + # Corresponds to the JSON property `rowCount` + # @return [Fixnum] + attr_accessor :row_count + + # The number of rows that are frozen in the grid. + # Corresponds to the JSON property `frozenRowCount` + # @return [Fixnum] + attr_accessor :frozen_row_count + + # True if the grid isn't showing gridlines in the UI. + # Corresponds to the JSON property `hideGridlines` + # @return [Boolean] + attr_accessor :hide_gridlines + alias_method :hide_gridlines?, :hide_gridlines + + # The number of columns in the grid. + # Corresponds to the JSON property `columnCount` + # @return [Fixnum] + attr_accessor :column_count + + # The number of columns that are frozen in the grid. + # Corresponds to the JSON property `frozenColumnCount` + # @return [Fixnum] + attr_accessor :frozen_column_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_count = args[:row_count] if args.key?(:row_count) + @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count) + @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines) + @column_count = args[:column_count] if args.key?(:column_count) + @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count) + end + end + + # A sheet in a spreadsheet. + class Sheet + include Google::Apis::Core::Hashable + + # The default filter associated with a sheet. + # Corresponds to the JSON property `basicFilter` + # @return [Google::Apis::SheetsV4::BasicFilter] + attr_accessor :basic_filter + + # The ranges that are merged together. + # Corresponds to the JSON property `merges` + # @return [Array] + attr_accessor :merges + + # Data in the grid, if this is a grid sheet. + # The number of GridData objects returned is dependent on the number of + # ranges requested on this sheet. For example, if this is representing + # `Sheet1`, and the spreadsheet was requested with ranges + # `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a + # startRow/startColumn of `0`, + # while the second one will have `startRow 14` (zero-based row 15), + # and `startColumn 3` (zero-based column D). + # Corresponds to the JSON property `data` + # @return [Array] + attr_accessor :data + + # The banded (i.e. alternating colors) ranges on this sheet. + # Corresponds to the JSON property `bandedRanges` + # @return [Array] + attr_accessor :banded_ranges + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + # The specifications of every chart on this sheet. + # Corresponds to the JSON property `charts` + # @return [Array] + attr_accessor :charts + + # The filter views in this sheet. + # Corresponds to the JSON property `filterViews` + # @return [Array] + attr_accessor :filter_views + + # The conditional format rules in this sheet. + # Corresponds to the JSON property `conditionalFormats` + # @return [Array] + attr_accessor :conditional_formats + + # The protected ranges in this sheet. + # Corresponds to the JSON property `protectedRanges` + # @return [Array] + attr_accessor :protected_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @basic_filter = args[:basic_filter] if args.key?(:basic_filter) + @merges = args[:merges] if args.key?(:merges) + @data = args[:data] if args.key?(:data) + @banded_ranges = args[:banded_ranges] if args.key?(:banded_ranges) + @properties = args[:properties] if args.key?(:properties) + @charts = args[:charts] if args.key?(:charts) + @filter_views = args[:filter_views] if args.key?(:filter_views) + @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats) + @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges) + end + end + + # A sort order associated with a specific column or row. + class SortSpec + include Google::Apis::Core::Hashable + + # The dimension the sort should be applied to. + # Corresponds to the JSON property `dimensionIndex` + # @return [Fixnum] + attr_accessor :dimension_index + + # The order data should be sorted. + # Corresponds to the JSON property `sortOrder` + # @return [String] + attr_accessor :sort_order + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dimension_index = args[:dimension_index] if args.key?(:dimension_index) + @sort_order = args[:sort_order] if args.key?(:sort_order) end end @@ -217,16 +1721,128 @@ module Google end end + # A rule that may or may not match, depending on the condition. + class BooleanRule + include Google::Apis::Core::Hashable + + # The format of a cell. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :format + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @format = args[:format] if args.key?(:format) + @condition = args[:condition] if args.key?(:condition) + end + end + + # Criteria for showing/hiding rows in a filter or filter view. + class FilterCriteria + include Google::Apis::Core::Hashable + + # Values that should be hidden. + # Corresponds to the JSON property `hiddenValues` + # @return [Array] + attr_accessor :hidden_values + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @hidden_values = args[:hidden_values] if args.key?(:hidden_values) + @condition = args[:condition] if args.key?(:condition) + end + end + + # Metadata about a value in a pivot grouping. + class PivotGroupValueMetadata + include Google::Apis::Core::Hashable + + # True if the data corresponding to the value is collapsed. + # Corresponds to the JSON property `collapsed` + # @return [Boolean] + attr_accessor :collapsed + alias_method :collapsed?, :collapsed + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `value` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @collapsed = args[:collapsed] if args.key?(:collapsed) + @value = args[:value] if args.key?(:value) + end + end + + # The editors of a protected range. + class Editors + include Google::Apis::Core::Hashable + + # The email addresses of users with edit access to the protected range. + # Corresponds to the JSON property `users` + # @return [Array] + attr_accessor :users + + # The email addresses of groups with edit access to the protected range. + # Corresponds to the JSON property `groups` + # @return [Array] + attr_accessor :groups + + # True if anyone in the document's domain has edit access to the protected + # range. Domain protection is only supported on documents within a domain. + # Corresponds to the JSON property `domainUsersCanEdit` + # @return [Boolean] + attr_accessor :domain_users_can_edit + alias_method :domain_users_can_edit?, :domain_users_can_edit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @users = args[:users] if args.key?(:users) + @groups = args[:groups] if args.key?(:groups) + @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit) + end + end + # Updates a conditional format rule at the given index, # or moves a conditional format rule to another index. class UpdateConditionalFormatRuleRequest include Google::Apis::Core::Hashable - # The sheet of the rule to move. Required if new_index is set, - # unused otherwise. - # Corresponds to the JSON property `sheetId` + # The zero-based new index the rule should end up at. + # Corresponds to the JSON property `newIndex` # @return [Fixnum] - attr_accessor :sheet_id + attr_accessor :new_index # A rule describing a conditional format. # Corresponds to the JSON property `rule` @@ -238,10 +1854,1481 @@ module Google # @return [Fixnum] attr_accessor :index - # The zero-based new index the rule should end up at. - # Corresponds to the JSON property `newIndex` + # The sheet of the rule to move. Required if new_index is set, + # unused otherwise. + # Corresponds to the JSON property `sheetId` # @return [Fixnum] - attr_accessor :new_index + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_index = args[:new_index] if args.key?(:new_index) + @rule = args[:rule] if args.key?(:rule) + @index = args[:index] if args.key?(:index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The domain of a chart. + # For example, if charting stock prices over time, this would be the date. + class BasicChartDomain + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `domain` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :domain + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + end + end + + # A data validation rule. + class DataValidationRule + include Google::Apis::Core::Hashable + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + # Corresponds to the JSON property `condition` + # @return [Google::Apis::SheetsV4::BooleanCondition] + attr_accessor :condition + + # True if the UI should be customized based on the kind of condition. + # If true, "List" conditions will show a dropdown. + # Corresponds to the JSON property `showCustomUi` + # @return [Boolean] + attr_accessor :show_custom_ui + alias_method :show_custom_ui?, :show_custom_ui + + # True if invalid data should be rejected. + # Corresponds to the JSON property `strict` + # @return [Boolean] + attr_accessor :strict + alias_method :strict?, :strict + + # A message to show the user when adding data to the cell. + # Corresponds to the JSON property `inputMessage` + # @return [String] + attr_accessor :input_message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @condition = args[:condition] if args.key?(:condition) + @show_custom_ui = args[:show_custom_ui] if args.key?(:show_custom_ui) + @strict = args[:strict] if args.key?(:strict) + @input_message = args[:input_message] if args.key?(:input_message) + end + end + + # Inserts data into the spreadsheet starting at the specified coordinate. + class PasteDataRequest + include Google::Apis::Core::Hashable + + # How the data should be pasted. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # True if the data is HTML. + # Corresponds to the JSON property `html` + # @return [Boolean] + attr_accessor :html + alias_method :html?, :html + + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `coordinate` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :coordinate + + # The data to insert. + # Corresponds to the JSON property `data` + # @return [String] + attr_accessor :data + + # The delimiter in the data. + # Corresponds to the JSON property `delimiter` + # @return [String] + attr_accessor :delimiter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @html = args[:html] if args.key?(:html) + @coordinate = args[:coordinate] if args.key?(:coordinate) + @data = args[:data] if args.key?(:data) + @delimiter = args[:delimiter] if args.key?(:delimiter) + end + end + + # Appends rows or columns to the end of a sheet. + class AppendDimensionRequest + include Google::Apis::Core::Hashable + + # The number of rows or columns to append. + # Corresponds to the JSON property `length` + # @return [Fixnum] + attr_accessor :length + + # The sheet to append rows or columns to. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # Whether rows or columns should be appended. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @length = args[:length] if args.key?(:length) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @dimension = args[:dimension] if args.key?(:dimension) + end + end + + # Adds a named range to the spreadsheet. + class AddNamedRangeRequest + include Google::Apis::Core::Hashable + + # A named range. + # Corresponds to the JSON property `namedRange` + # @return [Google::Apis::SheetsV4::NamedRange] + attr_accessor :named_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range = args[:named_range] if args.key?(:named_range) + end + end + + # Update an embedded object's position (such as a moving or resizing a + # chart or image). + class UpdateEmbeddedObjectPositionRequest + include Google::Apis::Core::Hashable + + # The ID of the object to moved. + # Corresponds to the JSON property `objectId` + # @return [Fixnum] + attr_accessor :object_id_prop + + # The position of an embedded object such as a chart. + # Corresponds to the JSON property `newPosition` + # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] + attr_accessor :new_position + + # The fields of OverlayPosition + # that should be updated when setting a new position. Used only if + # newPosition.overlayPosition + # is set, in which case at least one field must + # be specified. The root `newPosition.overlayPosition` is implied and + # should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @new_position = args[:new_position] if args.key?(:new_position) + @fields = args[:fields] if args.key?(:fields) + end + end + + # The rotation applied to text in a cell. + class TextRotation + include Google::Apis::Core::Hashable + + # 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 + # Corresponds to the JSON property `angle` + # @return [Fixnum] + attr_accessor :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 | + # Corresponds to the JSON property `vertical` + # @return [Boolean] + attr_accessor :vertical + alias_method :vertical?, :vertical + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @vertical = args[:vertical] if args.key?(:vertical) + end + end + + # A pie chart. + class PieChartSpec + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `domain` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :domain + + # True if the pie is three dimensional. + # Corresponds to the JSON property `threeDimensional` + # @return [Boolean] + attr_accessor :three_dimensional + alias_method :three_dimensional?, :three_dimensional + + # The data included in a domain or series. + # Corresponds to the JSON property `series` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :series + + # Where the legend of the pie chart should be drawn. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # The size of the hole in the pie chart. + # Corresponds to the JSON property `pieHole` + # @return [Float] + attr_accessor :pie_hole + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @domain = args[:domain] if args.key?(:domain) + @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) + @series = args[:series] if args.key?(:series) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @pie_hole = args[:pie_hole] if args.key?(:pie_hole) + end + end + + # Updates properties of the filter view. + class UpdateFilterViewRequest + include Google::Apis::Core::Hashable + + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter + + # The fields that should be updated. At least one field must be specified. + # The root `filter` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + @fields = args[:fields] if args.key?(:fields) + end + end + + # A rule describing a conditional format. + class ConditionalFormatRule + include Google::Apis::Core::Hashable + + # The ranges that will be formatted if the condition is true. + # All the ranges must be on the same grid. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges + + # A rule that applies a gradient color scale format, based on + # the interpolation points listed. The format of a cell will vary + # based on its contents as compared to the values of the interpolation + # points. + # Corresponds to the JSON property `gradientRule` + # @return [Google::Apis::SheetsV4::GradientRule] + attr_accessor :gradient_rule + + # A rule that may or may not match, depending on the condition. + # Corresponds to the JSON property `booleanRule` + # @return [Google::Apis::SheetsV4::BooleanRule] + attr_accessor :boolean_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ranges = args[:ranges] if args.key?(:ranges) + @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule) + @boolean_rule = args[:boolean_rule] if args.key?(:boolean_rule) + end + end + + # Copies data from the source to the destination. + class CopyPasteRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `destination` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :destination + + # How that data should be oriented when pasting. + # Corresponds to the JSON property `pasteOrientation` + # @return [String] + attr_accessor :paste_orientation + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + # What kind of data to paste. + # Corresponds to the JSON property `pasteType` + # @return [String] + attr_accessor :paste_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination = args[:destination] if args.key?(:destination) + @paste_orientation = args[:paste_orientation] if args.key?(:paste_orientation) + @source = args[:source] if args.key?(:source) + @paste_type = args[:paste_type] if args.key?(:paste_type) + end + end + + # A single kind of update to apply to a spreadsheet. + class Request + include Google::Apis::Core::Hashable + + # Deletes the embedded object with the given ID. + # Corresponds to the JSON property `deleteEmbeddedObject` + # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest] + attr_accessor :delete_embedded_object + + # Updates properties of the filter view. + # Corresponds to the JSON property `updateFilterView` + # @return [Google::Apis::SheetsV4::UpdateFilterViewRequest] + attr_accessor :update_filter_view + + # Adds a new banded range to the spreadsheet. + # Corresponds to the JSON property `addBanding` + # @return [Google::Apis::SheetsV4::AddBandingRequest] + attr_accessor :add_banding + + # Automatically resizes one or more dimensions based on the contents + # of the cells in that dimension. + # Corresponds to the JSON property `autoResizeDimensions` + # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest] + attr_accessor :auto_resize_dimensions + + # Adds new cells after the last row with data in a sheet, + # inserting new rows into the sheet if necessary. + # Corresponds to the JSON property `appendCells` + # @return [Google::Apis::SheetsV4::AppendCellsRequest] + attr_accessor :append_cells + + # Moves data from the source to the destination. + # Corresponds to the JSON property `cutPaste` + # @return [Google::Apis::SheetsV4::CutPasteRequest] + attr_accessor :cut_paste + + # Merges all cells in the range. + # Corresponds to the JSON property `mergeCells` + # @return [Google::Apis::SheetsV4::MergeCellsRequest] + attr_accessor :merge_cells + + # Updates properties of the named range with the specified + # namedRangeId. + # Corresponds to the JSON property `updateNamedRange` + # @return [Google::Apis::SheetsV4::UpdateNamedRangeRequest] + attr_accessor :update_named_range + + # Updates properties of the sheet with the specified + # sheetId. + # Corresponds to the JSON property `updateSheetProperties` + # @return [Google::Apis::SheetsV4::UpdateSheetPropertiesRequest] + attr_accessor :update_sheet_properties + + # Deletes the dimensions from the sheet. + # Corresponds to the JSON property `deleteDimension` + # @return [Google::Apis::SheetsV4::DeleteDimensionRequest] + attr_accessor :delete_dimension + + # Fills in more data based on existing data. + # Corresponds to the JSON property `autoFill` + # @return [Google::Apis::SheetsV4::AutoFillRequest] + attr_accessor :auto_fill + + # Sorts data in rows based on a sort order per column. + # Corresponds to the JSON property `sortRange` + # @return [Google::Apis::SheetsV4::SortRangeRequest] + attr_accessor :sort_range + + # Deletes the protected range with the given ID. + # Corresponds to the JSON property `deleteProtectedRange` + # @return [Google::Apis::SheetsV4::DeleteProtectedRangeRequest] + attr_accessor :delete_protected_range + + # Duplicates a particular filter view. + # Corresponds to the JSON property `duplicateFilterView` + # @return [Google::Apis::SheetsV4::DuplicateFilterViewRequest] + attr_accessor :duplicate_filter_view + + # Adds a chart to a sheet in the spreadsheet. + # Corresponds to the JSON property `addChart` + # @return [Google::Apis::SheetsV4::AddChartRequest] + attr_accessor :add_chart + + # Finds and replaces data in cells over a range, sheet, or all sheets. + # Corresponds to the JSON property `findReplace` + # @return [Google::Apis::SheetsV4::FindReplaceRequest] + attr_accessor :find_replace + + # Splits a column of text into multiple columns, + # based on a delimiter in each cell. + # Corresponds to the JSON property `textToColumns` + # @return [Google::Apis::SheetsV4::TextToColumnsRequest] + attr_accessor :text_to_columns + + # Updates a chart's specifications. + # (This does not move or resize a chart. To move or resize a chart, use + # UpdateEmbeddedObjectPositionRequest.) + # Corresponds to the JSON property `updateChartSpec` + # @return [Google::Apis::SheetsV4::UpdateChartSpecRequest] + attr_accessor :update_chart_spec + + # Updates an existing protected range with the specified + # protectedRangeId. + # Corresponds to the JSON property `updateProtectedRange` + # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest] + attr_accessor :update_protected_range + + # Adds a new sheet. + # When a sheet is added at a given index, + # all subsequent sheets' indexes are incremented. + # To add an object sheet, use AddChartRequest instead and specify + # EmbeddedObjectPosition.sheetId or + # EmbeddedObjectPosition.newSheet. + # Corresponds to the JSON property `addSheet` + # @return [Google::Apis::SheetsV4::AddSheetRequest] + attr_accessor :add_sheet + + # Copies data from the source to the destination. + # Corresponds to the JSON property `copyPaste` + # @return [Google::Apis::SheetsV4::CopyPasteRequest] + attr_accessor :copy_paste + + # Deletes a particular filter view. + # Corresponds to the JSON property `deleteFilterView` + # @return [Google::Apis::SheetsV4::DeleteFilterViewRequest] + attr_accessor :delete_filter_view + + # Inserts rows or columns in a sheet at a particular index. + # Corresponds to the JSON property `insertDimension` + # @return [Google::Apis::SheetsV4::InsertDimensionRequest] + attr_accessor :insert_dimension + + # Deletes a range of cells, shifting other cells into the deleted area. + # Corresponds to the JSON property `deleteRange` + # @return [Google::Apis::SheetsV4::DeleteRangeRequest] + attr_accessor :delete_range + + # Removes the banded range with the given ID from the spreadsheet. + # Corresponds to the JSON property `deleteBanding` + # @return [Google::Apis::SheetsV4::DeleteBandingRequest] + attr_accessor :delete_banding + + # Adds a filter view. + # Corresponds to the JSON property `addFilterView` + # @return [Google::Apis::SheetsV4::AddFilterViewRequest] + attr_accessor :add_filter_view + + # Sets a data validation rule to every cell in the range. + # To clear validation in a range, call this with no rule specified. + # Corresponds to the JSON property `setDataValidation` + # @return [Google::Apis::SheetsV4::SetDataValidationRequest] + attr_accessor :set_data_validation + + # Updates the borders of a range. + # If a field is not set in the request, that means the border remains as-is. + # For example, with two subsequent UpdateBordersRequest: + # 1. range: A1:A5 `` top: RED, bottom: WHITE `` + # 2. range: A1:A5 `` left: BLUE `` + # That would result in A1:A5 having a borders of + # `` top: RED, bottom: WHITE, left: BLUE ``. + # If you want to clear a border, explicitly set the style to + # NONE. + # Corresponds to the JSON property `updateBorders` + # @return [Google::Apis::SheetsV4::UpdateBordersRequest] + attr_accessor :update_borders + + # Deletes a conditional format rule at the given index. + # All subsequent rules' indexes are decremented. + # Corresponds to the JSON property `deleteConditionalFormatRule` + # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] + attr_accessor :delete_conditional_format_rule + + # Updates all cells in the range to the values in the given Cell object. + # Only the fields listed in the fields field are updated; others are + # unchanged. + # If writing a cell with a formula, the formula's ranges will automatically + # increment for each field in the range. + # For example, if writing a cell with formula `=A1` into range B2:C4, + # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, + # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. + # To keep the formula's ranges static, use the `$` indicator. + # For example, use the formula `=$A$1` to prevent both the row and the + # column from incrementing. + # Corresponds to the JSON property `repeatCell` + # @return [Google::Apis::SheetsV4::RepeatCellRequest] + attr_accessor :repeat_cell + + # Clears the basic filter, if any exists on the sheet. + # Corresponds to the JSON property `clearBasicFilter` + # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest] + attr_accessor :clear_basic_filter + + # Appends rows or columns to the end of a sheet. + # Corresponds to the JSON property `appendDimension` + # @return [Google::Apis::SheetsV4::AppendDimensionRequest] + attr_accessor :append_dimension + + # Updates a conditional format rule at the given index, + # or moves a conditional format rule to another index. + # Corresponds to the JSON property `updateConditionalFormatRule` + # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest] + attr_accessor :update_conditional_format_rule + + # Inserts cells into a range, shifting the existing cells over or down. + # Corresponds to the JSON property `insertRange` + # @return [Google::Apis::SheetsV4::InsertRangeRequest] + attr_accessor :insert_range + + # Moves one or more rows or columns. + # Corresponds to the JSON property `moveDimension` + # @return [Google::Apis::SheetsV4::MoveDimensionRequest] + attr_accessor :move_dimension + + # Updates properties of the supplied banded range. + # Corresponds to the JSON property `updateBanding` + # @return [Google::Apis::SheetsV4::UpdateBandingRequest] + attr_accessor :update_banding + + # Removes the named range with the given ID from the spreadsheet. + # Corresponds to the JSON property `deleteNamedRange` + # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest] + attr_accessor :delete_named_range + + # Adds a new protected range. + # Corresponds to the JSON property `addProtectedRange` + # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest] + attr_accessor :add_protected_range + + # Duplicates the contents of a sheet. + # Corresponds to the JSON property `duplicateSheet` + # @return [Google::Apis::SheetsV4::DuplicateSheetRequest] + attr_accessor :duplicate_sheet + + # Unmerges cells in the given range. + # Corresponds to the JSON property `unmergeCells` + # @return [Google::Apis::SheetsV4::UnmergeCellsRequest] + attr_accessor :unmerge_cells + + # Deletes the requested sheet. + # Corresponds to the JSON property `deleteSheet` + # @return [Google::Apis::SheetsV4::DeleteSheetRequest] + attr_accessor :delete_sheet + + # Update an embedded object's position (such as a moving or resizing a + # chart or image). + # Corresponds to the JSON property `updateEmbeddedObjectPosition` + # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest] + attr_accessor :update_embedded_object_position + + # Updates properties of dimensions within the specified range. + # Corresponds to the JSON property `updateDimensionProperties` + # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest] + attr_accessor :update_dimension_properties + + # Inserts data into the spreadsheet starting at the specified coordinate. + # Corresponds to the JSON property `pasteData` + # @return [Google::Apis::SheetsV4::PasteDataRequest] + attr_accessor :paste_data + + # Sets the basic filter associated with a sheet. + # Corresponds to the JSON property `setBasicFilter` + # @return [Google::Apis::SheetsV4::SetBasicFilterRequest] + attr_accessor :set_basic_filter + + # Adds a new conditional format rule at the given index. + # All subsequent rules' indexes are incremented. + # Corresponds to the JSON property `addConditionalFormatRule` + # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] + attr_accessor :add_conditional_format_rule + + # Adds a named range to the spreadsheet. + # Corresponds to the JSON property `addNamedRange` + # @return [Google::Apis::SheetsV4::AddNamedRangeRequest] + attr_accessor :add_named_range + + # Updates all cells in a range with new data. + # Corresponds to the JSON property `updateCells` + # @return [Google::Apis::SheetsV4::UpdateCellsRequest] + attr_accessor :update_cells + + # Updates properties of a spreadsheet. + # Corresponds to the JSON property `updateSpreadsheetProperties` + # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest] + attr_accessor :update_spreadsheet_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) + @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) + @add_banding = args[:add_banding] if args.key?(:add_banding) + @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions) + @append_cells = args[:append_cells] if args.key?(:append_cells) + @cut_paste = args[:cut_paste] if args.key?(:cut_paste) + @merge_cells = args[:merge_cells] if args.key?(:merge_cells) + @update_named_range = args[:update_named_range] if args.key?(:update_named_range) + @update_sheet_properties = args[:update_sheet_properties] if args.key?(:update_sheet_properties) + @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) + @auto_fill = args[:auto_fill] if args.key?(:auto_fill) + @sort_range = args[:sort_range] if args.key?(:sort_range) + @delete_protected_range = args[:delete_protected_range] if args.key?(:delete_protected_range) + @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) + @add_chart = args[:add_chart] if args.key?(:add_chart) + @find_replace = args[:find_replace] if args.key?(:find_replace) + @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns) + @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) + @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range) + @add_sheet = args[:add_sheet] if args.key?(:add_sheet) + @copy_paste = args[:copy_paste] if args.key?(:copy_paste) + @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) + @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension) + @delete_range = args[:delete_range] if args.key?(:delete_range) + @delete_banding = args[:delete_banding] if args.key?(:delete_banding) + @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) + @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) + @update_borders = args[:update_borders] if args.key?(:update_borders) + @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) + @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) + @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter) + @append_dimension = args[:append_dimension] if args.key?(:append_dimension) + @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) + @insert_range = args[:insert_range] if args.key?(:insert_range) + @move_dimension = args[:move_dimension] if args.key?(:move_dimension) + @update_banding = args[:update_banding] if args.key?(:update_banding) + @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) + @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) + @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) + @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells) + @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet) + @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) + @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) + @paste_data = args[:paste_data] if args.key?(:paste_data) + @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) + @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) + @add_named_range = args[:add_named_range] if args.key?(:add_named_range) + @update_cells = args[:update_cells] if args.key?(:update_cells) + @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties) + end + end + + # A condition that can evaluate to true or false. + # BooleanConditions are used by conditional formatting, + # data validation, and the criteria in filters. + class BooleanCondition + include Google::Apis::Core::Hashable + + # The type of condition. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The values of the condition. The number of supported values depends + # on the condition type. Some support zero values, + # others one or two values, + # and ConditionType.ONE_OF_LIST supports an arbitrary number of values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @values = args[:values] if args.key?(:values) + end + end + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + class GridRange + include Google::Apis::Core::Hashable + + # The start column (inclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `startColumnIndex` + # @return [Fixnum] + attr_accessor :start_column_index + + # The sheet this range is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The end row (exclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `endRowIndex` + # @return [Fixnum] + attr_accessor :end_row_index + + # The end column (exclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `endColumnIndex` + # @return [Fixnum] + attr_accessor :end_column_index + + # The start row (inclusive) of the range, or not set if unbounded. + # Corresponds to the JSON property `startRowIndex` + # @return [Fixnum] + attr_accessor :start_row_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_column_index = args[:start_column_index] if args.key?(:start_column_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @end_row_index = args[:end_row_index] if args.key?(:end_row_index) + @end_column_index = args[:end_column_index] if args.key?(:end_column_index) + @start_row_index = args[:start_row_index] if args.key?(:start_row_index) + end + end + + # The specification for a basic chart. See BasicChartType for the list + # of charts this supports. + class BasicChartSpec + include Google::Apis::Core::Hashable + + # The type of the chart. + # Corresponds to the JSON property `chartType` + # @return [String] + attr_accessor :chart_type + + # The data this chart is visualizing. + # Corresponds to the JSON property `series` + # @return [Array] + attr_accessor :series + + # The position of the chart legend. + # Corresponds to the JSON property `legendPosition` + # @return [String] + attr_accessor :legend_position + + # The domain of data this is charting. + # Only a single domain is currently supported. + # Corresponds to the JSON property `domains` + # @return [Array] + attr_accessor :domains + + # The number of rows or columns in the data that are "headers". + # If not set, Google Sheets will guess how many rows are headers based + # on the data. + # (Note that BasicChartAxis.title may override the axis title + # inferred from the header values.) + # Corresponds to the JSON property `headerCount` + # @return [Fixnum] + attr_accessor :header_count + + # The axis on the chart. + # Corresponds to the JSON property `axis` + # @return [Array] + attr_accessor :axis + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_type = args[:chart_type] if args.key?(:chart_type) + @series = args[:series] if args.key?(:series) + @legend_position = args[:legend_position] if args.key?(:legend_position) + @domains = args[:domains] if args.key?(:domains) + @header_count = args[:header_count] if args.key?(:header_count) + @axis = args[:axis] if args.key?(:axis) + end + end + + # Sets a data validation rule to every cell in the range. + # To clear validation in a range, call this with no rule specified. + class SetDataValidationRequest + include Google::Apis::Core::Hashable + + # A data validation rule. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::DataValidationRule] + attr_accessor :rule + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rule = args[:rule] if args.key?(:rule) + @range = args[:range] if args.key?(:range) + end + end + + # Data about a specific cell. + class CellData + include Google::Apis::Core::Hashable + + # A pivot table. + # Corresponds to the JSON property `pivotTable` + # @return [Google::Apis::SheetsV4::PivotTable] + attr_accessor :pivot_table + + # The format of a cell. + # Corresponds to the JSON property `userEnteredFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :user_entered_format + + # Any note on the cell. + # Corresponds to the JSON property `note` + # @return [String] + attr_accessor :note + + # The format of a cell. + # Corresponds to the JSON property `effectiveFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :effective_format + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `userEnteredValue` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :user_entered_value + + # A data validation rule. + # Corresponds to the JSON property `dataValidation` + # @return [Google::Apis::SheetsV4::DataValidationRule] + attr_accessor :data_validation + + # The kinds of value that a cell in a spreadsheet can have. + # Corresponds to the JSON property `effectiveValue` + # @return [Google::Apis::SheetsV4::ExtendedValue] + attr_accessor :effective_value + + # The formatted value of the cell. + # This is the value as it's shown to the user. + # This field is read-only. + # Corresponds to the JSON property `formattedValue` + # @return [String] + attr_accessor :formatted_value + + # Runs of rich text applied to subsections of the cell. Runs are only valid + # on user entered strings, not formulas, bools, or numbers. + # Runs start at specific indexes in the text and continue until the next + # run. Properties of a run will continue unless explicitly changed + # in a subsequent run (and properties of the first run will continue + # the properties of the cell unless explicitly changed). + # When writing, the new runs will overwrite any prior runs. When writing a + # new user_entered_value, previous runs will be erased. + # Corresponds to the JSON property `textFormatRuns` + # @return [Array] + attr_accessor :text_format_runs + + # A hyperlink this cell points to, if any. + # This field is read-only. (To set it, use a `=HYPERLINK` formula.) + # Corresponds to the JSON property `hyperlink` + # @return [String] + attr_accessor :hyperlink + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pivot_table = args[:pivot_table] if args.key?(:pivot_table) + @user_entered_format = args[:user_entered_format] if args.key?(:user_entered_format) + @note = args[:note] if args.key?(:note) + @effective_format = args[:effective_format] if args.key?(:effective_format) + @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) + @data_validation = args[:data_validation] if args.key?(:data_validation) + @effective_value = args[:effective_value] if args.key?(:effective_value) + @formatted_value = args[:formatted_value] if args.key?(:formatted_value) + @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs) + @hyperlink = args[:hyperlink] if args.key?(:hyperlink) + end + end + + # The request for updating any aspect of a spreadsheet. + class BatchUpdateSpreadsheetRequest + include Google::Apis::Core::Hashable + + # A list of updates to apply to the spreadsheet. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + # Determines if the update response should include the spreadsheet + # resource. + # Corresponds to the JSON property `includeSpreadsheetInResponse` + # @return [Boolean] + attr_accessor :include_spreadsheet_in_response + alias_method :include_spreadsheet_in_response?, :include_spreadsheet_in_response + + # Limits the ranges included in the response spreadsheet. + # Meaningful only if include_spreadsheet_response is 'true'. + # Corresponds to the JSON property `responseRanges` + # @return [Array] + attr_accessor :response_ranges + + # True if grid data should be returned. Meaningful only if + # if include_spreadsheet_response is 'true'. + # This parameter is ignored if a field mask was set in the request. + # Corresponds to the JSON property `responseIncludeGridData` + # @return [Boolean] + attr_accessor :response_include_grid_data + alias_method :response_include_grid_data?, :response_include_grid_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response) + @response_ranges = args[:response_ranges] if args.key?(:response_ranges) + @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data) + end + end + + # An axis of the chart. + # A chart may not have more than one axis per + # axis position. + class BasicChartAxis + include Google::Apis::Core::Hashable + + # The format of a run of text in a cell. + # Absent values indicate that the field isn't specified. + # Corresponds to the JSON property `format` + # @return [Google::Apis::SheetsV4::TextFormat] + attr_accessor :format + + # The position of this axis. + # Corresponds to the JSON property `position` + # @return [String] + attr_accessor :position + + # The title of this axis. If set, this overrides any title inferred + # from headers of the data. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @format = args[:format] if args.key?(:format) + @position = args[:position] if args.key?(:position) + @title = args[:title] if args.key?(:title) + end + end + + # The amount of padding around the cell, in pixels. + # When updating padding, every field must be specified. + class Padding + include Google::Apis::Core::Hashable + + # The right padding of the cell. + # Corresponds to the JSON property `right` + # @return [Fixnum] + attr_accessor :right + + # The bottom padding of the cell. + # Corresponds to the JSON property `bottom` + # @return [Fixnum] + attr_accessor :bottom + + # The top padding of the cell. + # Corresponds to the JSON property `top` + # @return [Fixnum] + attr_accessor :top + + # The left padding of the cell. + # Corresponds to the JSON property `left` + # @return [Fixnum] + attr_accessor :left + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @right = args[:right] if args.key?(:right) + @bottom = args[:bottom] if args.key?(:bottom) + @top = args[:top] if args.key?(:top) + @left = args[:left] if args.key?(:left) + end + end + + # Deletes the dimensions from the sheet. + class DeleteDimensionRequest + include Google::Apis::Core::Hashable + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + end + end + + # Updates a chart's specifications. + # (This does not move or resize a chart. To move or resize a chart, use + # UpdateEmbeddedObjectPositionRequest.) + class UpdateChartSpecRequest + include Google::Apis::Core::Hashable + + # The ID of the chart to update. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The specifications of a chart. + # Corresponds to the JSON property `spec` + # @return [Google::Apis::SheetsV4::ChartSpec] + attr_accessor :spec + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @spec = args[:spec] if args.key?(:spec) + end + end + + # Deletes a particular filter view. + class DeleteFilterViewRequest + include Google::Apis::Core::Hashable + + # The ID of the filter to delete. + # Corresponds to the JSON property `filterId` + # @return [Fixnum] + attr_accessor :filter_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter_id = args[:filter_id] if args.key?(:filter_id) + end + end + + # The response when updating a range of values in a spreadsheet. + class BatchUpdateValuesResponse + include Google::Apis::Core::Hashable + + # The total number of rows where at least one cell in the row was updated. + # Corresponds to the JSON property `totalUpdatedRows` + # @return [Fixnum] + attr_accessor :total_updated_rows + + # One UpdateValuesResponse per requested range, in the same order as + # the requests appeared. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + # The total number of sheets where at least one cell in the sheet was + # updated. + # Corresponds to the JSON property `totalUpdatedSheets` + # @return [Fixnum] + attr_accessor :total_updated_sheets + + # The total number of cells updated. + # Corresponds to the JSON property `totalUpdatedCells` + # @return [Fixnum] + attr_accessor :total_updated_cells + + # The total number of columns where at least one cell in the column was + # updated. + # Corresponds to the JSON property `totalUpdatedColumns` + # @return [Fixnum] + attr_accessor :total_updated_columns + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) + @responses = args[:responses] if args.key?(:responses) + @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) + @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) + @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # Sorts data in rows based on a sort order per column. + class SortRangeRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + end + end + + # Merges all cells in the range. + class MergeCellsRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # How the cells should be merged. + # Corresponds to the JSON property `mergeType` + # @return [String] + attr_accessor :merge_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @merge_type = args[:merge_type] if args.key?(:merge_type) + end + end + + # Adds a new protected range. + class AddProtectedRangeRequest + include Google::Apis::Core::Hashable + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range = args[:protected_range] if args.key?(:protected_range) + end + end + + # The request for clearing more than one range of values in a spreadsheet. + class BatchClearValuesRequest + include Google::Apis::Core::Hashable + + # The ranges to clear, in A1 notation. + # Corresponds to the JSON property `ranges` + # @return [Array] + attr_accessor :ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @ranges = args[:ranges] if args.key?(:ranges) + end + end + + # The result of a filter view being duplicated. + class DuplicateFilterViewResponse + include Google::Apis::Core::Hashable + + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + + # The result of duplicating a sheet. + class DuplicateSheetResponse + include Google::Apis::Core::Hashable + + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + end + end + + # Clears the basic filter, if any exists on the sheet. + class ClearBasicFilterRequest + include Google::Apis::Core::Hashable + + # The sheet ID on which the basic filter should be cleared. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id def initialize(**args) update!(**args) @@ -250,9 +3337,2114 @@ module Google # Update properties of this object def update!(**args) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # Splits a column of text into multiple columns, + # based on a delimiter in each cell. + class TextToColumnsRequest + include Google::Apis::Core::Hashable + + # The delimiter to use. Used only if delimiterType is + # CUSTOM. + # Corresponds to the JSON property `delimiter` + # @return [String] + attr_accessor :delimiter + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + # The delimiter type to use. + # Corresponds to the JSON property `delimiterType` + # @return [String] + attr_accessor :delimiter_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @delimiter = args[:delimiter] if args.key?(:delimiter) + @source = args[:source] if args.key?(:source) + @delimiter_type = args[:delimiter_type] if args.key?(:delimiter_type) + end + end + + # Removes the banded range with the given ID from the spreadsheet. + class DeleteBandingRequest + include Google::Apis::Core::Hashable + + # The ID of the banded range to delete. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + end + end + + # The reply for batch updating a spreadsheet. + class BatchUpdateSpreadsheetResponse + include Google::Apis::Core::Hashable + + # The reply of the updates. This maps 1:1 with the updates, although + # replies to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + # Resource that represents a spreadsheet. + # Corresponds to the JSON property `updatedSpreadsheet` + # @return [Google::Apis::SheetsV4::Spreadsheet] + attr_accessor :updated_spreadsheet + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replies = args[:replies] if args.key?(:replies) + @updated_spreadsheet = args[:updated_spreadsheet] if args.key?(:updated_spreadsheet) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # The response when updating a range of values in a spreadsheet. + class AppendValuesResponse + include Google::Apis::Core::Hashable + + # The response when updating a range of values in a spreadsheet. + # Corresponds to the JSON property `updates` + # @return [Google::Apis::SheetsV4::UpdateValuesResponse] + attr_accessor :updates + + # The range (in A1 notation) of the table that values are being appended to + # (before the values were appended). + # Empty if no table was found. + # Corresponds to the JSON property `tableRange` + # @return [String] + attr_accessor :table_range + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @updates = args[:updates] if args.key?(:updates) + @table_range = args[:table_range] if args.key?(:table_range) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # Adds a filter view. + class AddFilterViewRequest + include Google::Apis::Core::Hashable + + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + + # Criteria for showing/hiding rows in a pivot table. + class PivotFilterCriteria + include Google::Apis::Core::Hashable + + # Values that should be included. Values not listed here are excluded. + # Corresponds to the JSON property `visibleValues` + # @return [Array] + attr_accessor :visible_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @visible_values = args[:visible_values] if args.key?(:visible_values) + end + end + + # Moves one or more rows or columns. + class MoveDimensionRequest + include Google::Apis::Core::Hashable + + # The zero-based start index of where to move the source data to, + # based on the coordinates *before* the source data is removed + # from the grid. Existing data will be shifted down or right + # (depending on the dimension) to make room for the moved dimensions. + # The source dimensions are removed from the grid, so the + # the data may end up in a different index than specified. + # For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move + # `"1"` and `"2"` to between `"3"` and `"4"`, the source would be + # `ROWS [1..3)`,and the destination index would be `"4"` + # (the zero-based index of row 5). + # The end result would be `A1..A5` of `0, 3, 1, 2, 4`. + # Corresponds to the JSON property `destinationIndex` + # @return [Fixnum] + attr_accessor :destination_index + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination_index = args[:destination_index] if args.key?(:destination_index) + @source = args[:source] if args.key?(:source) + end + end + + # Adds a new conditional format rule at the given index. + # All subsequent rules' indexes are incremented. + class AddConditionalFormatRuleRequest + include Google::Apis::Core::Hashable + + # A rule describing a conditional format. + # Corresponds to the JSON property `rule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :rule + + # The zero-based index where the rule should be inserted. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) @rule = args[:rule] if args.key?(:rule) @index = args[:index] if args.key?(:index) + end + end + + # The specifications of a chart. + class ChartSpec + include Google::Apis::Core::Hashable + + # A pie chart. + # Corresponds to the JSON property `pieChart` + # @return [Google::Apis::SheetsV4::PieChartSpec] + attr_accessor :pie_chart + + # The specification for a basic chart. See BasicChartType for the list + # of charts this supports. + # Corresponds to the JSON property `basicChart` + # @return [Google::Apis::SheetsV4::BasicChartSpec] + attr_accessor :basic_chart + + # Determines how the charts will use hidden rows or columns. + # Corresponds to the JSON property `hiddenDimensionStrategy` + # @return [String] + attr_accessor :hidden_dimension_strategy + + # The title of the chart. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pie_chart = args[:pie_chart] if args.key?(:pie_chart) + @basic_chart = args[:basic_chart] if args.key?(:basic_chart) + @hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy) + @title = args[:title] if args.key?(:title) + end + end + + # The number format of a cell. + class NumberFormat + include Google::Apis::Core::Hashable + + # The type of the number format. + # When writing, this field must be set. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # 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/api/guides/formats) for more + # information about the supported patterns. + # Corresponds to the JSON property `pattern` + # @return [String] + attr_accessor :pattern + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @pattern = args[:pattern] if args.key?(:pattern) + end + end + + # Properties of a sheet. + class SheetProperties + include Google::Apis::Core::Hashable + + # The name of the sheet. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The index of the sheet within the spreadsheet. + # When adding or updating sheet properties, if this field + # is excluded then the sheet will be added or moved to the end + # of the sheet list. When updating sheet indices or inserting + # sheets, movement is considered in "before the move" indexes. + # For example, if there were 3 sheets (S1, S2, S3) in order to + # move S1 ahead of S2 the index would have to be set to 2. A sheet + # index update request will be ignored if the requested index is + # identical to the sheets current index or if the requested new + # index is equal to the current sheet index + 1. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `tabColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :tab_color + + # The ID of the sheet. Must be non-negative. + # This field cannot be changed once set. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # True if the sheet is an RTL sheet instead of an LTR sheet. + # Corresponds to the JSON property `rightToLeft` + # @return [Boolean] + attr_accessor :right_to_left + alias_method :right_to_left?, :right_to_left + + # True if the sheet is hidden in the UI, false if it's visible. + # Corresponds to the JSON property `hidden` + # @return [Boolean] + attr_accessor :hidden + alias_method :hidden?, :hidden + + # The type of sheet. Defaults to GRID. + # This field cannot be changed once set. + # Corresponds to the JSON property `sheetType` + # @return [String] + attr_accessor :sheet_type + + # Properties of a grid. + # Corresponds to the JSON property `gridProperties` + # @return [Google::Apis::SheetsV4::GridProperties] + attr_accessor :grid_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @title = args[:title] if args.key?(:title) + @index = args[:index] if args.key?(:index) + @tab_color = args[:tab_color] if args.key?(:tab_color) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @right_to_left = args[:right_to_left] if args.key?(:right_to_left) + @hidden = args[:hidden] if args.key?(:hidden) + @sheet_type = args[:sheet_type] if args.key?(:sheet_type) + @grid_properties = args[:grid_properties] if args.key?(:grid_properties) + end + end + + # Updates properties of dimensions within the specified range. + class UpdateDimensionPropertiesRequest + include Google::Apis::Core::Hashable + + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::DimensionRange] + attr_accessor :range + + # The fields that should be updated. At least one field must be specified. + # The root `properties` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # Properties about a dimension. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::DimensionProperties] + attr_accessor :properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @fields = args[:fields] if args.key?(:fields) + @properties = args[:properties] if args.key?(:properties) + end + end + + # A combination of a source range and how to extend that source. + class SourceAndDestination + include Google::Apis::Core::Hashable + + # The number of rows or columns that data should be filled into. + # Positive numbers expand beyond the last row or last column + # of the source. Negative numbers expand before the first row + # or first column of the source. + # Corresponds to the JSON property `fillLength` + # @return [Fixnum] + attr_accessor :fill_length + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source + + # The dimension that data should be filled into. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fill_length = args[:fill_length] if args.key?(:fill_length) + @source = args[:source] if args.key?(:source) + @dimension = args[:dimension] if args.key?(:dimension) + end + end + + # A filter view. + class FilterView + include Google::Apis::Core::Hashable + + # The named range this filter view is backed by, if any. + # When writing, only one of range or named_range_id + # may be set. + # Corresponds to the JSON property `namedRangeId` + # @return [String] + attr_accessor :named_range_id + + # The ID of the filter view. + # Corresponds to the JSON property `filterViewId` + # @return [Fixnum] + attr_accessor :filter_view_id + + # The criteria for showing/hiding values per column. + # The map's key is the column index, and the value is the criteria for + # that column. + # Corresponds to the JSON property `criteria` + # @return [Hash] + attr_accessor :criteria + + # The name of the filter view. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) + @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id) + @criteria = args[:criteria] if args.key?(:criteria) + @title = args[:title] if args.key?(:title) + @range = args[:range] if args.key?(:range) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + end + end + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + class BandingProperties + include Google::Apis::Core::Hashable + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `firstBandColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :first_band_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `secondBandColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :second_band_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `footerColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :footer_color + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `headerColor` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :header_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first_band_color = args[:first_band_color] if args.key?(:first_band_color) + @second_band_color = args[:second_band_color] if args.key?(:second_band_color) + @footer_color = args[:footer_color] if args.key?(:footer_color) + @header_color = args[:header_color] if args.key?(:header_color) + end + end + + # The result of adding a new protected range. + class AddProtectedRangeResponse + include Google::Apis::Core::Hashable + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range = args[:protected_range] if args.key?(:protected_range) + end + end + + # The default filter associated with a sheet. + class BasicFilter + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The criteria for showing/hiding values per column. + # The map's key is the column index, and the value is the criteria for + # that column. + # Corresponds to the JSON property `criteria` + # @return [Hash] + attr_accessor :criteria + + # The sort order per column. Later specifications are used when values + # are equal in the earlier specifications. + # Corresponds to the JSON property `sortSpecs` + # @return [Array] + attr_accessor :sort_specs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @criteria = args[:criteria] if args.key?(:criteria) + @sort_specs = args[:sort_specs] if args.key?(:sort_specs) + end + end + + # The response when updating a range of values in a spreadsheet. + class UpdateValuesResponse + include Google::Apis::Core::Hashable + + # The number of rows where at least one cell in the row was updated. + # Corresponds to the JSON property `updatedRows` + # @return [Fixnum] + attr_accessor :updated_rows + + # Data within a range of the spreadsheet. + # Corresponds to the JSON property `updatedData` + # @return [Google::Apis::SheetsV4::ValueRange] + attr_accessor :updated_data + + # The number of columns where at least one cell in the column was updated. + # Corresponds to the JSON property `updatedColumns` + # @return [Fixnum] + attr_accessor :updated_columns + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The range (in A1 notation) that updates were applied to. + # Corresponds to the JSON property `updatedRange` + # @return [String] + attr_accessor :updated_range + + # The number of cells updated. + # Corresponds to the JSON property `updatedCells` + # @return [Fixnum] + attr_accessor :updated_cells + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @updated_rows = args[:updated_rows] if args.key?(:updated_rows) + @updated_data = args[:updated_data] if args.key?(:updated_data) + @updated_columns = args[:updated_columns] if args.key?(:updated_columns) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @updated_range = args[:updated_range] if args.key?(:updated_range) + @updated_cells = args[:updated_cells] if args.key?(:updated_cells) + end + end + + # The definition of how a value in a pivot table should be calculated. + class PivotValue + include Google::Apis::Core::Hashable + + # A function to summarize the value. + # If formula is set, the only supported values are + # SUM and + # CUSTOM. + # If sourceColumnOffset is set, then `CUSTOM` + # is not supported. + # Corresponds to the JSON property `summarizeFunction` + # @return [String] + attr_accessor :summarize_function + + # The column offset of the source range that this value reads from. + # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` + # means this value refers to column `C`, whereas the offset `1` would + # refer to column `D`. + # Corresponds to the JSON property `sourceColumnOffset` + # @return [Fixnum] + attr_accessor :source_column_offset + + # A name to use for the value. This is only used if formula was set. + # Otherwise, the column name is used. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # A custom formula to calculate the value. The formula must start + # with an `=` character. + # Corresponds to the JSON property `formula` + # @return [String] + attr_accessor :formula + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @summarize_function = args[:summarize_function] if args.key?(:summarize_function) + @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) + @name = args[:name] if args.key?(:name) + @formula = args[:formula] if args.key?(:formula) + end + end + + # An error in a cell. + class ErrorValue + include Google::Apis::Core::Hashable + + # The type of error. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # A message with more information about the error + # (in the spreadsheet's locale). + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @message = args[:message] if args.key?(:message) + end + end + + # The request to copy a sheet across spreadsheets. + class CopySheetToAnotherSpreadsheetRequest + include Google::Apis::Core::Hashable + + # The ID of the spreadsheet to copy the sheet to. + # Corresponds to the JSON property `destinationSpreadsheetId` + # @return [String] + attr_accessor :destination_spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @destination_spreadsheet_id = args[:destination_spreadsheet_id] if args.key?(:destination_spreadsheet_id) + end + end + + # Information about which values in a pivot group should be used for sorting. + class PivotGroupSortValueBucket + include Google::Apis::Core::Hashable + + # Determines the bucket from which values are chosen to sort. + # For example, in a pivot table with one row group & two column groups, + # the row group can list up to two values. The first value corresponds + # to a value within the first column group, and the second value + # corresponds to a value in the second column group. If no values + # are listed, this would indicate that the row should be sorted according + # to the "Grand Total" over the column groups. If a single value is listed, + # this would correspond to using the "Total" of that bucket. + # Corresponds to the JSON property `buckets` + # @return [Array] + attr_accessor :buckets + + # The offset in the PivotTable.values list which the values in this + # grouping should be sorted by. + # Corresponds to the JSON property `valuesIndex` + # @return [Fixnum] + attr_accessor :values_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @buckets = args[:buckets] if args.key?(:buckets) + @values_index = args[:values_index] if args.key?(:values_index) + end + end + + # The position of an embedded object such as a chart. + class EmbeddedObjectPosition + include Google::Apis::Core::Hashable + + # If true, the embedded object will be put on a new sheet whose ID + # is chosen for you. Used only when writing. + # Corresponds to the JSON property `newSheet` + # @return [Boolean] + attr_accessor :new_sheet + alias_method :new_sheet?, :new_sheet + + # The sheet this is on. Set only if the embedded object + # is on its own sheet. Must be non-negative. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The location an object is overlaid on top of a grid. + # Corresponds to the JSON property `overlayPosition` + # @return [Google::Apis::SheetsV4::OverlayPosition] + attr_accessor :overlay_position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @new_sheet = args[:new_sheet] if args.key?(:new_sheet) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @overlay_position = args[:overlay_position] if args.key?(:overlay_position) + end + end + + # Deletes the protected range with the given ID. + class DeleteProtectedRangeRequest + include Google::Apis::Core::Hashable + + # The ID of the protected range to delete. + # Corresponds to the JSON property `protectedRangeId` + # @return [Fixnum] + attr_accessor :protected_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) + end + end + + # Fills in more data based on existing data. + class AutoFillRequest + include Google::Apis::Core::Hashable + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # True if we should generate data with the "alternate" series. + # This differs based on the type and amount of source data. + # Corresponds to the JSON property `useAlternateSeries` + # @return [Boolean] + attr_accessor :use_alternate_series + alias_method :use_alternate_series?, :use_alternate_series + + # A combination of a source range and how to extend that source. + # Corresponds to the JSON property `sourceAndDestination` + # @return [Google::Apis::SheetsV4::SourceAndDestination] + attr_accessor :source_and_destination + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @range = args[:range] if args.key?(:range) + @use_alternate_series = args[:use_alternate_series] if args.key?(:use_alternate_series) + @source_and_destination = args[:source_and_destination] if args.key?(:source_and_destination) + end + end + + # A rule that applies a gradient color scale format, based on + # the interpolation points listed. The format of a cell will vary + # based on its contents as compared to the values of the interpolation + # points. + class GradientRule + include Google::Apis::Core::Hashable + + # A single interpolation point on a gradient conditional format. + # These pin the gradient color scale according to the color, + # type and value chosen. + # Corresponds to the JSON property `midpoint` + # @return [Google::Apis::SheetsV4::InterpolationPoint] + attr_accessor :midpoint + + # A single interpolation point on a gradient conditional format. + # These pin the gradient color scale according to the color, + # type and value chosen. + # Corresponds to the JSON property `minpoint` + # @return [Google::Apis::SheetsV4::InterpolationPoint] + attr_accessor :minpoint + + # A single interpolation point on a gradient conditional format. + # These pin the gradient color scale according to the color, + # type and value chosen. + # Corresponds to the JSON property `maxpoint` + # @return [Google::Apis::SheetsV4::InterpolationPoint] + attr_accessor :maxpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @midpoint = args[:midpoint] if args.key?(:midpoint) + @minpoint = args[:minpoint] if args.key?(:minpoint) + @maxpoint = args[:maxpoint] if args.key?(:maxpoint) + end + end + + # The request for clearing a range of values in a spreadsheet. + class ClearValuesRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + + # Sets the basic filter associated with a sheet. + class SetBasicFilterRequest + include Google::Apis::Core::Hashable + + # The default filter associated with a sheet. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::BasicFilter] + attr_accessor :filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter = args[:filter] if args.key?(:filter) + end + end + + # A single interpolation point on a gradient conditional format. + # These pin the gradient color scale according to the color, + # type and value chosen. + class InterpolationPoint + include Google::Apis::Core::Hashable + + # How the value should be interpreted. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The value this interpolation point uses. May be a formula. + # Unused if type is MIN or + # MAX. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `color` + # @return [Google::Apis::SheetsV4::Color] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @value = args[:value] if args.key?(:value) + @color = args[:color] if args.key?(:color) + end + end + + # Deletes the embedded object with the given ID. + class DeleteEmbeddedObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the embedded object to delete. + # Corresponds to the JSON property `objectId` + # @return [Fixnum] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The result of the find/replace. + class FindReplaceResponse + include Google::Apis::Core::Hashable + + # The number of occurrences (possibly multiple within a cell) changed. + # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would + # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + # The number of rows changed. + # Corresponds to the JSON property `rowsChanged` + # @return [Fixnum] + attr_accessor :rows_changed + + # The number of sheets changed. + # Corresponds to the JSON property `sheetsChanged` + # @return [Fixnum] + attr_accessor :sheets_changed + + # The number of formula cells changed. + # Corresponds to the JSON property `formulasChanged` + # @return [Fixnum] + attr_accessor :formulas_changed + + # The number of non-formula cells changed. + # Corresponds to the JSON property `valuesChanged` + # @return [Fixnum] + attr_accessor :values_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + @rows_changed = args[:rows_changed] if args.key?(:rows_changed) + @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed) + @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed) + @values_changed = args[:values_changed] if args.key?(:values_changed) + end + end + + # Duplicates a particular filter view. + class DuplicateFilterViewRequest + include Google::Apis::Core::Hashable + + # The ID of the filter being duplicated. + # Corresponds to the JSON property `filterId` + # @return [Fixnum] + attr_accessor :filter_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filter_id = args[:filter_id] if args.key?(:filter_id) + end + end + + # Deletes the requested sheet. + class DeleteSheetRequest + include Google::Apis::Core::Hashable + + # The ID of the sheet to delete. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + end + end + + # The result of updating a conditional format rule. + class UpdateConditionalFormatRuleResponse + include Google::Apis::Core::Hashable + + # The index of the new rule. + # Corresponds to the JSON property `newIndex` + # @return [Fixnum] + attr_accessor :new_index + + # The old index of the rule. Not set if a rule was replaced + # (because it is the same as new_index). + # Corresponds to the JSON property `oldIndex` + # @return [Fixnum] + attr_accessor :old_index + + # A rule describing a conditional format. + # Corresponds to the JSON property `newRule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :new_rule + + # A rule describing a conditional format. + # Corresponds to the JSON property `oldRule` + # @return [Google::Apis::SheetsV4::ConditionalFormatRule] + attr_accessor :old_rule + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) @new_index = args[:new_index] if args.key?(:new_index) + @old_index = args[:old_index] if args.key?(:old_index) + @new_rule = args[:new_rule] if args.key?(:new_rule) + @old_rule = args[:old_rule] if args.key?(:old_rule) + end + end + + # Duplicates the contents of a sheet. + class DuplicateSheetRequest + include Google::Apis::Core::Hashable + + # The zero-based index where the new sheet should be inserted. + # The index of all sheets after this are incremented. + # Corresponds to the JSON property `insertSheetIndex` + # @return [Fixnum] + attr_accessor :insert_sheet_index + + # The name of the new sheet. If empty, a new name is chosen for you. + # Corresponds to the JSON property `newSheetName` + # @return [String] + attr_accessor :new_sheet_name + + # The sheet to duplicate. + # Corresponds to the JSON property `sourceSheetId` + # @return [Fixnum] + attr_accessor :source_sheet_id + + # If set, the ID of the new sheet. If not set, an ID is chosen. + # If set, the ID must not conflict with any existing sheet ID. + # If set, it must be non-negative. + # Corresponds to the JSON property `newSheetId` + # @return [Fixnum] + attr_accessor :new_sheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index) + @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name) + @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id) + @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id) + end + end + + # The value of the condition. + class ConditionValue + include Google::Apis::Core::Hashable + + # A relative date (based on the current date). + # Valid only if the type is + # DATE_BEFORE, + # DATE_AFTER, + # DATE_ON_OR_BEFORE or + # DATE_ON_OR_AFTER. + # Relative dates are not supported in data validation. + # They are supported only in conditional formatting and + # conditional filters. + # Corresponds to the JSON property `relativeDate` + # @return [String] + attr_accessor :relative_date + + # A value the condition is based on. + # The value will be parsed as if the user typed into a cell. + # Formulas are supported (and must begin with an `=`). + # Corresponds to the JSON property `userEnteredValue` + # @return [String] + attr_accessor :user_entered_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @relative_date = args[:relative_date] if args.key?(:relative_date) + @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) + end + end + + # The kinds of value that a cell in a spreadsheet can have. + class ExtendedValue + include Google::Apis::Core::Hashable + + # Represents a double value. + # Note: Dates, Times and DateTimes are represented as doubles in + # "serial number" format. + # Corresponds to the JSON property `numberValue` + # @return [Float] + attr_accessor :number_value + + # An error in a cell. + # Corresponds to the JSON property `errorValue` + # @return [Google::Apis::SheetsV4::ErrorValue] + attr_accessor :error_value + + # Represents a string value. + # Leading single quotes are not included. For example, if the user typed + # `'123` into the UI, this would be represented as a `stringValue` of + # `"123"`. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # Represents a boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Represents a formula. + # Corresponds to the JSON property `formulaValue` + # @return [String] + attr_accessor :formula_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @number_value = args[:number_value] if args.key?(:number_value) + @error_value = args[:error_value] if args.key?(:error_value) + @string_value = args[:string_value] if args.key?(:string_value) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @formula_value = args[:formula_value] if args.key?(:formula_value) + end + end + + # Adds a chart to a sheet in the spreadsheet. + class AddChartRequest + include Google::Apis::Core::Hashable + + # A chart embedded in a sheet. + # Corresponds to the JSON property `chart` + # @return [Google::Apis::SheetsV4::EmbeddedChart] + attr_accessor :chart + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart = args[:chart] if args.key?(:chart) + end + end + + # Resource that represents a spreadsheet. + class Spreadsheet + include Google::Apis::Core::Hashable + + # Properties of a spreadsheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SpreadsheetProperties] + attr_accessor :properties + + # The ID of the spreadsheet. + # This field is read-only. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The sheets that are part of a spreadsheet. + # Corresponds to the JSON property `sheets` + # @return [Array] + attr_accessor :sheets + + # The named ranges defined in a spreadsheet. + # Corresponds to the JSON property `namedRanges` + # @return [Array] + attr_accessor :named_ranges + + # The url of the spreadsheet. + # This field is read-only. + # Corresponds to the JSON property `spreadsheetUrl` + # @return [String] + attr_accessor :spreadsheet_url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @properties = args[:properties] if args.key?(:properties) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @sheets = args[:sheets] if args.key?(:sheets) + @named_ranges = args[:named_ranges] if args.key?(:named_ranges) + @spreadsheet_url = args[:spreadsheet_url] if args.key?(:spreadsheet_url) + end + end + + # The response when updating a range of values in a spreadsheet. + class BatchClearValuesResponse + include Google::Apis::Core::Hashable + + # The ranges that were cleared, in A1 notation. + # (If the requests were for an unbounded range or a ranger larger + # than the bounds of the sheet, this will be the actual ranges + # that were cleared, bounded to the sheet's limits.) + # Corresponds to the JSON property `clearedRanges` + # @return [Array] + attr_accessor :cleared_ranges + + # The spreadsheet the updates were applied to. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cleared_ranges = args[:cleared_ranges] if args.key?(:cleared_ranges) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # A banded (alternating colors) range in a sheet. + class BandedRange + include Google::Apis::Core::Hashable + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `rowProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :row_properties + + # Properties referring a single dimension (either row or column). If both + # BandedRange.row_properties and BandedRange.column_properties are + # set, the fill colors are applied to cells according to the following rules: + # * header_color and footer_color take priority over band colors. + # * first_band_color takes priority over second_band_color. + # * row_properties takes priority over column_properties. + # For example, the first row color takes priority over the first column + # color, but the first column color takes priority over the second row color. + # Similarly, the row header takes priority over the column header in the + # top left cell, but the column header takes priority over the first row + # color if the row header is not set. + # Corresponds to the JSON property `columnProperties` + # @return [Google::Apis::SheetsV4::BandingProperties] + attr_accessor :column_properties + + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `range` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :range + + # The id of the banded range. + # Corresponds to the JSON property `bandedRangeId` + # @return [Fixnum] + attr_accessor :banded_range_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_properties = args[:row_properties] if args.key?(:row_properties) + @column_properties = args[:column_properties] if args.key?(:column_properties) + @range = args[:range] if args.key?(:range) + @banded_range_id = args[:banded_range_id] if args.key?(:banded_range_id) + end + end + + # Updates an existing protected range with the specified + # protectedRangeId. + class UpdateProtectedRangeRequest + include Google::Apis::Core::Hashable + + # A protected range. + # Corresponds to the JSON property `protectedRange` + # @return [Google::Apis::SheetsV4::ProtectedRange] + attr_accessor :protected_range + + # The fields that should be updated. At least one field must be specified. + # The root `protectedRange` is implied and should not be specified. + # A single `"*"` can be used as short-hand for listing every field. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @protected_range = args[:protected_range] if args.key?(:protected_range) + @fields = args[:fields] if args.key?(:fields) end end @@ -261,18 +5453,18 @@ module Google class TextFormat include Google::Apis::Core::Hashable + # True if the text is underlined. + # Corresponds to the JSON property `underline` + # @return [Boolean] + attr_accessor :underline + alias_method :underline?, :underline + # True if the text is bold. # Corresponds to the JSON property `bold` # @return [Boolean] attr_accessor :bold alias_method :bold?, :bold - # True if the text is italicized. - # Corresponds to the JSON property `italic` - # @return [Boolean] - attr_accessor :italic - alias_method :italic?, :italic - # Represents a color in the RGBA color space. This representation is designed # for simplicity of conversion to/from color representations in various # languages over compactness; for example, the fields of this representation @@ -387,48 +5579,41 @@ module Google attr_accessor :strikethrough alias_method :strikethrough?, :strikethrough + # True if the text is italicized. + # Corresponds to the JSON property `italic` + # @return [Boolean] + attr_accessor :italic + alias_method :italic?, :italic + # The size of the font. # Corresponds to the JSON property `fontSize` # @return [Fixnum] attr_accessor :font_size - # True if the text is underlined. - # Corresponds to the JSON property `underline` - # @return [Boolean] - attr_accessor :underline - alias_method :underline?, :underline - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @underline = args[:underline] if args.key?(:underline) @bold = args[:bold] if args.key?(:bold) - @italic = args[:italic] if args.key?(:italic) @foreground_color = args[:foreground_color] if args.key?(:foreground_color) @font_family = args[:font_family] if args.key?(:font_family) @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @italic = args[:italic] if args.key?(:italic) @font_size = args[:font_size] if args.key?(:font_size) - @underline = args[:underline] if args.key?(:underline) end end - # Updates a chart's specifications. - # (This does not move or resize a chart. To move or resize a chart, use - # UpdateEmbeddedObjectPositionRequest.) - class UpdateChartSpecRequest + # The result of adding a sheet. + class AddSheetResponse include Google::Apis::Core::Hashable - # The ID of the chart to update. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - # The specifications of a chart. - # Corresponds to the JSON property `spec` - # @return [Google::Apis::SheetsV4::ChartSpec] - attr_accessor :spec + # Properties of a sheet. + # Corresponds to the JSON property `properties` + # @return [Google::Apis::SheetsV4::SheetProperties] + attr_accessor :properties def initialize(**args) update!(**args) @@ -436,30 +5621,18 @@ module Google # Update properties of this object def update!(**args) - @chart_id = args[:chart_id] if args.key?(:chart_id) - @spec = args[:spec] if args.key?(:spec) + @properties = args[:properties] if args.key?(:properties) end end - # A coordinate in a sheet. - # All indexes are zero-based. - class GridCoordinate + # The result of adding a filter view. + class AddFilterViewResponse include Google::Apis::Core::Hashable - # The sheet this coordinate is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The row index of the coordinate. - # Corresponds to the JSON property `rowIndex` - # @return [Fixnum] - attr_accessor :row_index - - # The column index of the coordinate. - # Corresponds to the JSON property `columnIndex` - # @return [Fixnum] - attr_accessor :column_index + # A filter view. + # Corresponds to the JSON property `filter` + # @return [Google::Apis::SheetsV4::FilterView] + attr_accessor :filter def initialize(**args) update!(**args) @@ -467,20 +5640,26 @@ module Google # Update properties of this object def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @row_index = args[:row_index] if args.key?(:row_index) - @column_index = args[:column_index] if args.key?(:column_index) + @filter = args[:filter] if args.key?(:filter) end end - # Deletes a particular filter view. - class DeleteFilterViewRequest + # Settings to control how circular dependencies are resolved with iterative + # calculation. + class IterativeCalculationSettings include Google::Apis::Core::Hashable - # The ID of the filter to delete. - # Corresponds to the JSON property `filterId` + # When iterative calculation is enabled and successive results differ by + # less than this threshold value, the calculation rounds stop. + # Corresponds to the JSON property `convergenceThreshold` + # @return [Float] + attr_accessor :convergence_threshold + + # When iterative calculation is enabled, the maximum number of calculation + # rounds to perform. + # Corresponds to the JSON property `maxIterations` # @return [Fixnum] - attr_accessor :filter_id + attr_accessor :max_iterations def initialize(**args) update!(**args) @@ -488,46 +5667,42 @@ module Google # Update properties of this object def update!(**args) - @filter_id = args[:filter_id] if args.key?(:filter_id) + @convergence_threshold = args[:convergence_threshold] if args.key?(:convergence_threshold) + @max_iterations = args[:max_iterations] if args.key?(:max_iterations) end end - # The response when updating a range of values in a spreadsheet. - class BatchUpdateValuesResponse + # The location an object is overlaid on top of a grid. + class OverlayPosition include Google::Apis::Core::Hashable - # The total number of sheets where at least one cell in the sheet was - # updated. - # Corresponds to the JSON property `totalUpdatedSheets` + # The width of the object, in pixels. Defaults to 600. + # Corresponds to the JSON property `widthPixels` # @return [Fixnum] - attr_accessor :total_updated_sheets + attr_accessor :width_pixels - # The total number of columns where at least one cell in the column was - # updated. - # Corresponds to the JSON property `totalUpdatedColumns` + # The horizontal offset, in pixels, that the object is offset + # from the anchor cell. + # Corresponds to the JSON property `offsetXPixels` # @return [Fixnum] - attr_accessor :total_updated_columns + attr_accessor :offset_x_pixels - # One UpdateValuesResponse per requested range, in the same order as - # the requests appeared. - # Corresponds to the JSON property `responses` - # @return [Array] - attr_accessor :responses + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `anchorCell` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :anchor_cell - # The total number of cells updated. - # Corresponds to the JSON property `totalUpdatedCells` + # The vertical offset, in pixels, that the object is offset + # from the anchor cell. + # Corresponds to the JSON property `offsetYPixels` # @return [Fixnum] - attr_accessor :total_updated_cells + attr_accessor :offset_y_pixels - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The total number of rows where at least one cell in the row was updated. - # Corresponds to the JSON property `totalUpdatedRows` + # The height of the object, in pixels. Defaults to 371. + # Corresponds to the JSON property `heightPixels` # @return [Fixnum] - attr_accessor :total_updated_rows + attr_accessor :height_pixels def initialize(**args) update!(**args) @@ -535,83 +5710,11 @@ module Google # Update properties of this object def update!(**args) - @total_updated_sheets = args[:total_updated_sheets] if args.key?(:total_updated_sheets) - @total_updated_columns = args[:total_updated_columns] if args.key?(:total_updated_columns) - @responses = args[:responses] if args.key?(:responses) - @total_updated_cells = args[:total_updated_cells] if args.key?(:total_updated_cells) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @total_updated_rows = args[:total_updated_rows] if args.key?(:total_updated_rows) - end - end - - # Updates properties of the named range with the specified - # namedRangeId. - class UpdateNamedRangeRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root `namedRange` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @named_range = args[:named_range] if args.key?(:named_range) - end - end - - # The response when updating a range of values in a spreadsheet. - class UpdateValuesResponse - include Google::Apis::Core::Hashable - - # The range (in A1 notation) that updates were applied to. - # Corresponds to the JSON property `updatedRange` - # @return [String] - attr_accessor :updated_range - - # The number of columns where at least one cell in the column was updated. - # Corresponds to the JSON property `updatedColumns` - # @return [Fixnum] - attr_accessor :updated_columns - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The number of rows where at least one cell in the row was updated. - # Corresponds to the JSON property `updatedRows` - # @return [Fixnum] - attr_accessor :updated_rows - - # The number of cells updated. - # Corresponds to the JSON property `updatedCells` - # @return [Fixnum] - attr_accessor :updated_cells - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @updated_range = args[:updated_range] if args.key?(:updated_range) - @updated_columns = args[:updated_columns] if args.key?(:updated_columns) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @updated_rows = args[:updated_rows] if args.key?(:updated_rows) - @updated_cells = args[:updated_cells] if args.key?(:updated_cells) + @width_pixels = args[:width_pixels] if args.key?(:width_pixels) + @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels) + @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell) + @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels) + @height_pixels = args[:height_pixels] if args.key?(:height_pixels) end end @@ -619,6 +5722,21 @@ module Google class SpreadsheetProperties include Google::Apis::Core::Hashable + # The format of a cell. + # Corresponds to the JSON property `defaultFormat` + # @return [Google::Apis::SheetsV4::CellFormat] + attr_accessor :default_format + + # The amount of time to wait before volatile functions are recalculated. + # Corresponds to the JSON property `autoRecalc` + # @return [String] + attr_accessor :auto_recalc + + # The title of the spreadsheet. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + # The time zone of the spreadsheet, in CLDR format such as # `America/New_York`. If the time zone isn't recognized, this may # be a custom time zone such as `GMT-07:00`. @@ -626,11 +5744,6 @@ module Google # @return [String] attr_accessor :time_zone - # The amount of time to wait before volatile functions are recalculated. - # Corresponds to the JSON property `autoRecalc` - # @return [String] - attr_accessor :auto_recalc - # The locale of the spreadsheet in one of the following formats: # * an ISO 639-1 language code such as `en` # * an ISO 639-2 language code such as `fil`, if no 639-1 code exists @@ -640,15 +5753,11 @@ module Google # @return [String] attr_accessor :locale - # The title of the spreadsheet. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The format of a cell. - # Corresponds to the JSON property `defaultFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :default_format + # Settings to control how circular dependencies are resolved with iterative + # calculation. + # Corresponds to the JSON property `iterativeCalculationSettings` + # @return [Google::Apis::SheetsV4::IterativeCalculationSettings] + attr_accessor :iterative_calculation_settings def initialize(**args) update!(**args) @@ -656,504 +5765,34 @@ module Google # Update properties of this object def update!(**args) - @time_zone = args[:time_zone] if args.key?(:time_zone) - @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc) - @locale = args[:locale] if args.key?(:locale) - @title = args[:title] if args.key?(:title) @default_format = args[:default_format] if args.key?(:default_format) - end - end - - # Data about a specific cell. - class CellData - include Google::Apis::Core::Hashable - - # A hyperlink this cell points to, if any. - # This field is read-only. (To set it, use a `=HYPERLINK` formula.) - # Corresponds to the JSON property `hyperlink` - # @return [String] - attr_accessor :hyperlink - - # The format of a cell. - # Corresponds to the JSON property `effectiveFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :effective_format - - # Any note on the cell. - # Corresponds to the JSON property `note` - # @return [String] - attr_accessor :note - - # The formatted value of the cell. - # This is the value as it's shown to the user. - # This field is read-only. - # Corresponds to the JSON property `formattedValue` - # @return [String] - attr_accessor :formatted_value - - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `userEnteredValue` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :user_entered_value - - # A data validation rule. - # Corresponds to the JSON property `dataValidation` - # @return [Google::Apis::SheetsV4::DataValidationRule] - attr_accessor :data_validation - - # The format of a cell. - # Corresponds to the JSON property `userEnteredFormat` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :user_entered_format - - # A pivot table. - # Corresponds to the JSON property `pivotTable` - # @return [Google::Apis::SheetsV4::PivotTable] - attr_accessor :pivot_table - - # Runs of rich text applied to subsections of the cell. Runs are only valid - # on user entered strings, not formulas, bools, or numbers. - # Runs start at specific indexes in the text and continue until the next - # run. Properties of a run will continue unless explicitly changed - # in a subsequent run (and properties of the first run will continue - # the properties of the cell unless explicitly changed). - # When writing, the new runs will overwrite any prior runs. When writing a - # new user_entered_value, previous runs will be erased. - # Corresponds to the JSON property `textFormatRuns` - # @return [Array] - attr_accessor :text_format_runs - - # The kinds of value that a cell in a spreadsheet can have. - # Corresponds to the JSON property `effectiveValue` - # @return [Google::Apis::SheetsV4::ExtendedValue] - attr_accessor :effective_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hyperlink = args[:hyperlink] if args.key?(:hyperlink) - @effective_format = args[:effective_format] if args.key?(:effective_format) - @note = args[:note] if args.key?(:note) - @formatted_value = args[:formatted_value] if args.key?(:formatted_value) - @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) - @data_validation = args[:data_validation] if args.key?(:data_validation) - @user_entered_format = args[:user_entered_format] if args.key?(:user_entered_format) - @pivot_table = args[:pivot_table] if args.key?(:pivot_table) - @text_format_runs = args[:text_format_runs] if args.key?(:text_format_runs) - @effective_value = args[:effective_value] if args.key?(:effective_value) - end - end - - # Unmerges cells in the given range. - class UnmergeCellsRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - end - end - - # Splits a column of text into multiple columns, - # based on a delimiter in each cell. - class TextToColumnsRequest - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # The delimiter to use. Used only if delimiterType is - # CUSTOM. - # Corresponds to the JSON property `delimiter` - # @return [String] - attr_accessor :delimiter - - # The delimiter type to use. - # Corresponds to the JSON property `delimiterType` - # @return [String] - attr_accessor :delimiter_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @delimiter = args[:delimiter] if args.key?(:delimiter) - @delimiter_type = args[:delimiter_type] if args.key?(:delimiter_type) - end - end - - # The result of adding a new protected range. - class AddProtectedRangeResponse - include Google::Apis::Core::Hashable - - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @protected_range = args[:protected_range] if args.key?(:protected_range) - end - end - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - class BooleanCondition - include Google::Apis::Core::Hashable - - # The values of the condition. The number of supported values depends - # on the condition type. Some support zero values, - # others one or two values, - # and ConditionType.ONE_OF_LIST supports an arbitrary number of values. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # The type of condition. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - @type = args[:type] if args.key?(:type) - end - end - - # Deletes the protected range with the given ID. - class DeleteProtectedRangeRequest - include Google::Apis::Core::Hashable - - # The ID of the protected range to delete. - # Corresponds to the JSON property `protectedRangeId` - # @return [Fixnum] - attr_accessor :protected_range_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) - end - end - - # The domain of a chart. - # For example, if charting stock prices over time, this would be the date. - class BasicChartDomain - include Google::Apis::Core::Hashable - - # The data included in a domain or series. - # Corresponds to the JSON property `domain` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @domain = args[:domain] if args.key?(:domain) - end - end - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - class DimensionRange - include Google::Apis::Core::Hashable - - # The sheet this span is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The end (exclusive) of the span, or not set if unbounded. - # Corresponds to the JSON property `endIndex` - # @return [Fixnum] - attr_accessor :end_index - - # The start (inclusive) of the span, or not set if unbounded. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - # The dimension of the span. - # Corresponds to the JSON property `dimension` - # @return [String] - attr_accessor :dimension - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @end_index = args[:end_index] if args.key?(:end_index) - @start_index = args[:start_index] if args.key?(:start_index) - @dimension = args[:dimension] if args.key?(:dimension) - end - end - - # A single response from an update. - class Response - include Google::Apis::Core::Hashable - - # The result of updating an embedded object's position. - # Corresponds to the JSON property `updateEmbeddedObjectPosition` - # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse] - attr_accessor :update_embedded_object_position - - # The result of adding a filter view. - # Corresponds to the JSON property `addFilterView` - # @return [Google::Apis::SheetsV4::AddFilterViewResponse] - attr_accessor :add_filter_view - - # The result of adding a sheet. - # Corresponds to the JSON property `addSheet` - # @return [Google::Apis::SheetsV4::AddSheetResponse] - attr_accessor :add_sheet - - # The result of the find/replace. - # Corresponds to the JSON property `findReplace` - # @return [Google::Apis::SheetsV4::FindReplaceResponse] - attr_accessor :find_replace - - # The result of adding a new protected range. - # Corresponds to the JSON property `addProtectedRange` - # @return [Google::Apis::SheetsV4::AddProtectedRangeResponse] - attr_accessor :add_protected_range - - # The result of updating a conditional format rule. - # Corresponds to the JSON property `updateConditionalFormatRule` - # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse] - attr_accessor :update_conditional_format_rule - - # The result of adding a chart to a spreadsheet. - # Corresponds to the JSON property `addChart` - # @return [Google::Apis::SheetsV4::AddChartResponse] - attr_accessor :add_chart - - # The result of deleting a conditional format rule. - # Corresponds to the JSON property `deleteConditionalFormatRule` - # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse] - attr_accessor :delete_conditional_format_rule - - # The result of duplicating a sheet. - # Corresponds to the JSON property `duplicateSheet` - # @return [Google::Apis::SheetsV4::DuplicateSheetResponse] - attr_accessor :duplicate_sheet - - # The result of a filter view being duplicated. - # Corresponds to the JSON property `duplicateFilterView` - # @return [Google::Apis::SheetsV4::DuplicateFilterViewResponse] - attr_accessor :duplicate_filter_view - - # The result of adding a named range. - # Corresponds to the JSON property `addNamedRange` - # @return [Google::Apis::SheetsV4::AddNamedRangeResponse] - attr_accessor :add_named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) - @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) - @add_sheet = args[:add_sheet] if args.key?(:add_sheet) - @find_replace = args[:find_replace] if args.key?(:find_replace) - @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) - @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) - @add_chart = args[:add_chart] if args.key?(:add_chart) - @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) - @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) - @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) - @add_named_range = args[:add_named_range] if args.key?(:add_named_range) - end - end - - # Adds a new conditional format rule at the given index. - # All subsequent rules' indexes are incremented. - class AddConditionalFormatRuleRequest - include Google::Apis::Core::Hashable - - # A rule describing a conditional format. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :rule - - # The zero-based index where the rule should be inserted. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - @index = args[:index] if args.key?(:index) - end - end - - # A filter view. - class FilterView - include Google::Apis::Core::Hashable - - # The name of the filter view. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The named range this filter view is backed by, if any. - # When writing, only one of range or named_range_id - # may be set. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The criteria for showing/hiding values per column. - # The map's key is the column index, and the value is the criteria for - # that column. - # Corresponds to the JSON property `criteria` - # @return [Hash] - attr_accessor :criteria - - # The ID of the filter view. - # Corresponds to the JSON property `filterViewId` - # @return [Fixnum] - attr_accessor :filter_view_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) + @auto_recalc = args[:auto_recalc] if args.key?(:auto_recalc) @title = args[:title] if args.key?(:title) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) - @range = args[:range] if args.key?(:range) - @criteria = args[:criteria] if args.key?(:criteria) - @filter_view_id = args[:filter_view_id] if args.key?(:filter_view_id) + @time_zone = args[:time_zone] if args.key?(:time_zone) + @locale = args[:locale] if args.key?(:locale) + @iterative_calculation_settings = args[:iterative_calculation_settings] if args.key?(:iterative_calculation_settings) end end - # Sorts data in rows based on a sort order per column. - class SortRangeRequest + # Updates all cells in the range to the values in the given Cell object. + # Only the fields listed in the fields field are updated; others are + # unchanged. + # If writing a cell with a formula, the formula's ranges will automatically + # increment for each field in the range. + # For example, if writing a cell with formula `=A1` into range B2:C4, + # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, + # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. + # To keep the formula's ranges static, use the `$` indicator. + # For example, use the formula `=$A$1` to prevent both the row and the + # column from incrementing. + class RepeatCellRequest include Google::Apis::Core::Hashable + # Data about a specific cell. + # Corresponds to the JSON property `cell` + # @return [Google::Apis::SheetsV4::CellData] + attr_accessor :cell + # A range on a sheet. # All indexes are zero-based. # Indexes are half open, e.g the start index is inclusive @@ -1180,62 +5819,8 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @range = args[:range] if args.key?(:range) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) - end - end - - # A run of a text format. The format of this run continues until the start - # index of the next run. - # When updating, all fields must be set. - class TextFormatRun - include Google::Apis::Core::Hashable - - # The character index where this run starts. - # Corresponds to the JSON property `startIndex` - # @return [Fixnum] - attr_accessor :start_index - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @start_index = args[:start_index] if args.key?(:start_index) - @format = args[:format] if args.key?(:format) - end - end - - # Updates properties of the filter view. - class UpdateFilterViewRequest - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - # The fields that should be updated. At least one field must be specified. - # The root `filter` is implied and should not be specified. + # The root `cell` is implied and should not be specified. # A single `"*"` can be used as short-hand for listing every field. # Corresponds to the JSON property `fields` # @return [String] @@ -1247,35 +5832,20 @@ module Google # Update properties of this object def update!(**args) - @filter = args[:filter] if args.key?(:filter) + @cell = args[:cell] if args.key?(:cell) + @range = args[:range] if args.key?(:range) @fields = args[:fields] if args.key?(:fields) end end - # The result of updating a conditional format rule. - class UpdateConditionalFormatRuleResponse + # The result of adding a chart to a spreadsheet. + class AddChartResponse include Google::Apis::Core::Hashable - # The old index of the rule. Not set if a rule was replaced - # (because it is the same as new_index). - # Corresponds to the JSON property `oldIndex` - # @return [Fixnum] - attr_accessor :old_index - - # A rule describing a conditional format. - # Corresponds to the JSON property `newRule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :new_rule - - # A rule describing a conditional format. - # Corresponds to the JSON property `oldRule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :old_rule - - # The index of the new rule. - # Corresponds to the JSON property `newIndex` - # @return [Fixnum] - attr_accessor :new_index + # A chart embedded in a sheet. + # Corresponds to the JSON property `chart` + # @return [Google::Apis::SheetsV4::EmbeddedChart] + attr_accessor :chart def initialize(**args) update!(**args) @@ -1283,42 +5853,12 @@ module Google # Update properties of this object def update!(**args) - @old_index = args[:old_index] if args.key?(:old_index) - @new_rule = args[:new_rule] if args.key?(:new_rule) - @old_rule = args[:old_rule] if args.key?(:old_rule) - @new_index = args[:new_index] if args.key?(:new_index) + @chart = args[:chart] if args.key?(:chart) end end - # Criteria for showing/hiding rows in a filter or filter view. - class FilterCriteria - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # Values that should be hidden. - # Corresponds to the JSON property `hiddenValues` - # @return [Array] - attr_accessor :hidden_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @hidden_values = args[:hidden_values] if args.key?(:hidden_values) - end - end - - # Deletes the dimensions from the sheet. - class DeleteDimensionRequest + # Inserts rows or columns in a sheet at a particular index. + class InsertDimensionRequest include Google::Apis::Core::Hashable # A range along a single dimension on a sheet. @@ -1330,6 +5870,22 @@ module Google # @return [Google::Apis::SheetsV4::DimensionRange] attr_accessor :range + # Whether dimension properties should be extended from the dimensions + # before or after the newly inserted dimensions. + # True to inherit from the dimensions before (in which case the start + # index must be greater than 0), and false to inherit from the dimensions + # after. + # For example, if row index 0 has red background and row index 1 + # has a green background, then inserting 2 rows at index 1 can inherit + # either the green or red background. If `inheritFromBefore` is true, + # the two new rows will be red (because the row before the insertion point + # was red), whereas if `inheritFromBefore` is false, the two new rows will + # be green (because the row after the insertion point was green). + # Corresponds to the JSON property `inheritFromBefore` + # @return [Boolean] + attr_accessor :inherit_from_before + alias_method :inherit_from_before?, :inherit_from_before + def initialize(**args) update!(**args) end @@ -1337,124 +5893,7 @@ module Google # Update properties of this object def update!(**args) @range = args[:range] if args.key?(:range) - end - end - - # A pivot table. - class PivotTable - include Google::Apis::Core::Hashable - - # Whether values should be listed horizontally (as columns) - # or vertically (as rows). - # Corresponds to the JSON property `valueLayout` - # @return [String] - attr_accessor :value_layout - - # Each column grouping in the pivot table. - # Corresponds to the JSON property `columns` - # @return [Array] - attr_accessor :columns - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # Each row grouping in the pivot table. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # A list of values to include in the pivot table. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - # An optional mapping of filters per source column offset. - # The filters will be applied before aggregating data into the pivot table. - # The map's key is the column offset of the source range that you want to - # filter, and the value is the criteria for that column. - # For example, if the source was `C10:E15`, a key of `0` will have the filter - # for column `C`, whereas the key `1` is for column `D`. - # Corresponds to the JSON property `criteria` - # @return [Hash] - attr_accessor :criteria - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value_layout = args[:value_layout] if args.key?(:value_layout) - @columns = args[:columns] if args.key?(:columns) - @source = args[:source] if args.key?(:source) - @rows = args[:rows] if args.key?(:rows) - @values = args[:values] if args.key?(:values) - @criteria = args[:criteria] if args.key?(:criteria) - end - end - - # A data validation rule. - class DataValidationRule - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # A message to show the user when adding data to the cell. - # Corresponds to the JSON property `inputMessage` - # @return [String] - attr_accessor :input_message - - # True if the UI should be customized based on the kind of condition. - # If true, "List" conditions will show a dropdown. - # Corresponds to the JSON property `showCustomUi` - # @return [Boolean] - attr_accessor :show_custom_ui - alias_method :show_custom_ui?, :show_custom_ui - - # True if invalid data should be rejected. - # Corresponds to the JSON property `strict` - # @return [Boolean] - attr_accessor :strict - alias_method :strict?, :strict - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @input_message = args[:input_message] if args.key?(:input_message) - @show_custom_ui = args[:show_custom_ui] if args.key?(:show_custom_ui) - @strict = args[:strict] if args.key?(:strict) + @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before) end end @@ -1485,148 +5924,17 @@ module Google end end - # Source ranges for a chart. - class ChartSourceRange + # A protected range. + class ProtectedRange include Google::Apis::Core::Hashable - # The ranges of data for a series or domain. - # Exactly one dimension must have a length of 1, - # and all sources in the list must have the same dimension - # with length 1. - # The domain (if it exists) & all series must have the same number - # of source ranges. If using more than one source range, then the source - # range at a given offset must be contiguous across the domain and series. - # For example, these are valid configurations: - # domain sources: A1:A5 - # series1 sources: B1:B5 - # series2 sources: D6:D10 - # domain sources: A1:A5, C10:C12 - # series1 sources: B1:B5, D10:D12 - # series2 sources: C1:C5, E10:E12 - # Corresponds to the JSON property `sources` - # @return [Array] - attr_accessor :sources - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sources = args[:sources] if args.key?(:sources) - end - end - - # The request for updating more than one range of values in a spreadsheet. - class BatchUpdateValuesRequest - include Google::Apis::Core::Hashable - - # How the input data should be interpreted. - # Corresponds to the JSON property `valueInputOption` - # @return [String] - attr_accessor :value_input_option - - # The new values to apply to the spreadsheet. - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value_input_option = args[:value_input_option] if args.key?(:value_input_option) - @data = args[:data] if args.key?(:data) - end - end - - # Clears the basic filter, if any exists on the sheet. - class ClearBasicFilterRequest - include Google::Apis::Core::Hashable - - # The sheet ID on which the basic filter should be cleared. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # A rule describing a conditional format. - class ConditionalFormatRule - include Google::Apis::Core::Hashable - - # A rule that applies a gradient color scale format, based on - # the interpolation points listed. The format of a cell will vary - # based on its contents as compared to the values of the interpolation - # points. - # Corresponds to the JSON property `gradientRule` - # @return [Google::Apis::SheetsV4::GradientRule] - attr_accessor :gradient_rule - - # A rule that may or may not match, depending on the condition. - # Corresponds to the JSON property `booleanRule` - # @return [Google::Apis::SheetsV4::BooleanRule] - attr_accessor :boolean_rule - - # The ranges that will be formatted if the condition is true. - # All the ranges must be on the same grid. - # Corresponds to the JSON property `ranges` - # @return [Array] - attr_accessor :ranges - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gradient_rule = args[:gradient_rule] if args.key?(:gradient_rule) - @boolean_rule = args[:boolean_rule] if args.key?(:boolean_rule) - @ranges = args[:ranges] if args.key?(:ranges) - end - end - - # Updates the borders of a range. - # If a field is not set in the request, that means the border remains as-is. - # For example, with two subsequent UpdateBordersRequest: - # 1. range: A1:A5 `` top: RED, bottom: WHITE `` - # 2. range: A1:A5 `` left: BLUE `` - # That would result in A1:A5 having a borders of - # `` top: RED, bottom: WHITE, left: BLUE ``. - # If you want to clear a border, explicitly set the style to - # NONE. - class UpdateBordersRequest - include Google::Apis::Core::Hashable - - # A border along a cell. - # Corresponds to the JSON property `right` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :right - - # A border along a cell. - # Corresponds to the JSON property `innerVertical` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :inner_vertical - - # A border along a cell. - # Corresponds to the JSON property `top` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :top - - # A border along a cell. - # Corresponds to the JSON property `innerHorizontal` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :inner_horizontal + # True if the user who requested this protected range can edit the + # protected area. + # This field is read-only. + # Corresponds to the JSON property `requestingUserCanEdit` + # @return [Boolean] + attr_accessor :requesting_user_can_edit + alias_method :requesting_user_can_edit?, :requesting_user_can_edit # A range on a sheet. # All indexes are zero-based. @@ -1654,1148 +5962,15 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range - # A border along a cell. - # Corresponds to the JSON property `bottom` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :bottom + # The editors of a protected range. + # Corresponds to the JSON property `editors` + # @return [Google::Apis::SheetsV4::Editors] + attr_accessor :editors - # A border along a cell. - # Corresponds to the JSON property `left` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :left - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @right = args[:right] if args.key?(:right) - @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical) - @top = args[:top] if args.key?(:top) - @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal) - @range = args[:range] if args.key?(:range) - @bottom = args[:bottom] if args.key?(:bottom) - @left = args[:left] if args.key?(:left) - end - end - - # Criteria for showing/hiding rows in a pivot table. - class PivotFilterCriteria - include Google::Apis::Core::Hashable - - # Values that should be included. Values not listed here are excluded. - # Corresponds to the JSON property `visibleValues` - # @return [Array] - attr_accessor :visible_values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @visible_values = args[:visible_values] if args.key?(:visible_values) - end - end - - # The borders of the cell. - class Borders - include Google::Apis::Core::Hashable - - # A border along a cell. - # Corresponds to the JSON property `left` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :left - - # A border along a cell. - # Corresponds to the JSON property `right` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :right - - # A border along a cell. - # Corresponds to the JSON property `top` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :top - - # A border along a cell. - # Corresponds to the JSON property `bottom` - # @return [Google::Apis::SheetsV4::Border] - attr_accessor :bottom - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @left = args[:left] if args.key?(:left) - @right = args[:right] if args.key?(:right) - @top = args[:top] if args.key?(:top) - @bottom = args[:bottom] if args.key?(:bottom) - end - end - - # A chart embedded in a sheet. - class EmbeddedChart - include Google::Apis::Core::Hashable - - # The ID of the chart. - # Corresponds to the JSON property `chartId` - # @return [Fixnum] - attr_accessor :chart_id - - # The position of an embedded object such as a chart. - # Corresponds to the JSON property `position` - # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] - attr_accessor :position - - # The specifications of a chart. - # Corresponds to the JSON property `spec` - # @return [Google::Apis::SheetsV4::ChartSpec] - attr_accessor :spec - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart_id = args[:chart_id] if args.key?(:chart_id) - @position = args[:position] if args.key?(:position) - @spec = args[:spec] if args.key?(:spec) - end - end - - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - class Color - include Google::Apis::Core::Hashable - - # The amount of green in the color as a value in the interval [0, 1]. - # Corresponds to the JSON property `green` - # @return [Float] - attr_accessor :green - - # The amount of blue in the color as a value in the interval [0, 1]. - # Corresponds to the JSON property `blue` - # @return [Float] - attr_accessor :blue - - # The amount of red in the color as a value in the interval [0, 1]. - # Corresponds to the JSON property `red` - # @return [Float] - attr_accessor :red - - # The fraction of this color that should be applied to the pixel. That is, - # the final pixel color is defined by the equation: - # pixel color = alpha * (this color) + (1.0 - alpha) * (background color) - # This means that a value of 1.0 corresponds to a solid color, whereas - # a value of 0.0 corresponds to a completely transparent color. This - # uses a wrapper message rather than a simple float scalar so that it is - # possible to distinguish between a default value and the value being unset. - # If omitted, this color object is to be rendered as a solid color - # (as if the alpha value had been explicitly given with a value of 1.0). - # Corresponds to the JSON property `alpha` - # @return [Float] - attr_accessor :alpha - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @green = args[:green] if args.key?(:green) - @blue = args[:blue] if args.key?(:blue) - @red = args[:red] if args.key?(:red) - @alpha = args[:alpha] if args.key?(:alpha) - end - end - - # Adds a new sheet. - # When a sheet is added at a given index, - # all subsequent sheets' indexes are incremented. - # To add an object sheet, use AddChartRequest instead and specify - # EmbeddedObjectPosition.sheetId or - # EmbeddedObjectPosition.newSheet. - class AddSheetRequest - include Google::Apis::Core::Hashable - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - end - end - - # Adds a new protected range. - class AddProtectedRangeRequest - include Google::Apis::Core::Hashable - - # A protected range. - # Corresponds to the JSON property `protectedRange` - # @return [Google::Apis::SheetsV4::ProtectedRange] - attr_accessor :protected_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @protected_range = args[:protected_range] if args.key?(:protected_range) - end - end - - # Data within a range of the spreadsheet. - class ValueRange - include Google::Apis::Core::Hashable - - # The data that was read or to be written. This is an array of arrays, - # the outer array representing all the data and each inner array - # representing a major dimension. Each item in the inner array - # corresponds with one cell. - # For output, empty trailing rows and columns will not be included. - # For input, supported value types are: bool, string, and double. - # Null values will be skipped. - # To set a cell to an empty value, set the string value to an empty string. - # Corresponds to the JSON property `values` - # @return [Array>] - attr_accessor :values - - # The range the values cover, in A1 notation. - # For output, this range indicates the entire requested range, - # even though the values will exclude trailing rows and columns. - # When appending values, this field represents the range to search for a - # table, after which values will be appended. - # Corresponds to the JSON property `range` + # The description of this protected range. + # Corresponds to the JSON property `description` # @return [String] - attr_accessor :range - - # The major dimension of the values. - # For output, 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]]`. - # For input, with `range=A1:B2,majorDimension=ROWS` then `[[1,2],[3,4]]` - # will set `A1=1,B1=2,A2=3,B2=4`. With `range=A1:B2,majorDimension=COLUMNS` - # then `[[1,2],[3,4]]` will set `A1=1,B1=3,A2=2,B2=4`. - # When writing, if this field is not set, it defaults to ROWS. - # Corresponds to the JSON property `majorDimension` - # @return [String] - attr_accessor :major_dimension - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - @range = args[:range] if args.key?(:range) - @major_dimension = args[:major_dimension] if args.key?(:major_dimension) - end - end - - # The result of the find/replace. - class FindReplaceResponse - include Google::Apis::Core::Hashable - - # The number of non-formula cells changed. - # Corresponds to the JSON property `valuesChanged` - # @return [Fixnum] - attr_accessor :values_changed - - # The number of rows changed. - # Corresponds to the JSON property `rowsChanged` - # @return [Fixnum] - attr_accessor :rows_changed - - # The number of occurrences (possibly multiple within a cell) changed. - # For example, if replacing `"e"` with `"o"` in `"Google Sheets"`, this would - # be `"3"` because `"Google Sheets"` -> `"Googlo Shoots"`. - # Corresponds to the JSON property `occurrencesChanged` - # @return [Fixnum] - attr_accessor :occurrences_changed - - # The number of formula cells changed. - # Corresponds to the JSON property `formulasChanged` - # @return [Fixnum] - attr_accessor :formulas_changed - - # The number of sheets changed. - # Corresponds to the JSON property `sheetsChanged` - # @return [Fixnum] - attr_accessor :sheets_changed - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values_changed = args[:values_changed] if args.key?(:values_changed) - @rows_changed = args[:rows_changed] if args.key?(:rows_changed) - @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) - @formulas_changed = args[:formulas_changed] if args.key?(:formulas_changed) - @sheets_changed = args[:sheets_changed] if args.key?(:sheets_changed) - end - end - - # The response when updating a range of values in a spreadsheet. - class AppendValuesResponse - include Google::Apis::Core::Hashable - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The range (in A1 notation) of the table that values are being appended to - # (before the values were appended). - # Empty if no table was found. - # Corresponds to the JSON property `tableRange` - # @return [String] - attr_accessor :table_range - - # The response when updating a range of values in a spreadsheet. - # Corresponds to the JSON property `updates` - # @return [Google::Apis::SheetsV4::UpdateValuesResponse] - attr_accessor :updates - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @table_range = args[:table_range] if args.key?(:table_range) - @updates = args[:updates] if args.key?(:updates) - end - end - - # The format of a cell. - class CellFormat - include Google::Apis::Core::Hashable - - # The horizontal alignment of the value in the cell. - # Corresponds to the JSON property `horizontalAlignment` - # @return [String] - attr_accessor :horizontal_alignment - - # How a hyperlink, if it exists, should be displayed in the cell. - # Corresponds to the JSON property `hyperlinkDisplayType` - # @return [String] - attr_accessor :hyperlink_display_type - - # The borders of the cell. - # Corresponds to the JSON property `borders` - # @return [Google::Apis::SheetsV4::Borders] - attr_accessor :borders - - # The direction of the text in the cell. - # Corresponds to the JSON property `textDirection` - # @return [String] - attr_accessor :text_direction - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `textFormat` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :text_format - - # The amount of padding around the cell, in pixels. - # When updating padding, every field must be specified. - # Corresponds to the JSON property `padding` - # @return [Google::Apis::SheetsV4::Padding] - attr_accessor :padding - - # The number format of a cell. - # Corresponds to the JSON property `numberFormat` - # @return [Google::Apis::SheetsV4::NumberFormat] - attr_accessor :number_format - - # The wrap strategy for the value in the cell. - # Corresponds to the JSON property `wrapStrategy` - # @return [String] - attr_accessor :wrap_strategy - - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - # Corresponds to the JSON property `backgroundColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :background_color - - # The vertical alignment of the value in the cell. - # Corresponds to the JSON property `verticalAlignment` - # @return [String] - attr_accessor :vertical_alignment - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) - @hyperlink_display_type = args[:hyperlink_display_type] if args.key?(:hyperlink_display_type) - @borders = args[:borders] if args.key?(:borders) - @text_direction = args[:text_direction] if args.key?(:text_direction) - @text_format = args[:text_format] if args.key?(:text_format) - @padding = args[:padding] if args.key?(:padding) - @number_format = args[:number_format] if args.key?(:number_format) - @wrap_strategy = args[:wrap_strategy] if args.key?(:wrap_strategy) - @background_color = args[:background_color] if args.key?(:background_color) - @vertical_alignment = args[:vertical_alignment] if args.key?(:vertical_alignment) - end - end - - # Moves one or more rows or columns. - class MoveDimensionRequest - include Google::Apis::Core::Hashable - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :source - - # The zero-based start index of where to move the source data to, - # based on the coordinates *before* the source data is removed - # from the grid. Existing data will be shifted down or right - # (depending on the dimension) to make room for the moved dimensions. - # The source dimensions are removed from the grid, so the - # the data may end up in a different index than specified. - # For example, given `A1..A5` of `0, 1, 2, 3, 4` and wanting to move - # `"1"` and `"2"` to between `"3"` and `"4"`, the source would be - # `ROWS [1..3)`,and the destination index would be `"4"` - # (the zero-based index of row 5). - # The end result would be `A1..A5` of `0, 3, 1, 2, 4`. - # Corresponds to the JSON property `destinationIndex` - # @return [Fixnum] - attr_accessor :destination_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @destination_index = args[:destination_index] if args.key?(:destination_index) - end - end - - # An axis of the chart. - # A chart may not have more than one axis per - # axis position. - class BasicChartAxis - include Google::Apis::Core::Hashable - - # The position of this axis. - # Corresponds to the JSON property `position` - # @return [String] - attr_accessor :position - - # The title of this axis. If set, this overrides any title inferred - # from headers of the data. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The format of a run of text in a cell. - # Absent values indicate that the field isn't specified. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::TextFormat] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @title = args[:title] if args.key?(:title) - @format = args[:format] if args.key?(:format) - end - end - - # Information about which values in a pivot group should be used for sorting. - class PivotGroupSortValueBucket - include Google::Apis::Core::Hashable - - # Determines the bucket from which values are chosen to sort. - # For example, in a pivot table with one row group & two column groups, - # the row group can list up to two values. The first value corresponds - # to a value within the first column group, and the second value - # corresponds to a value in the second column group. If no values - # are listed, this would indicate that the row should be sorted according - # to the "Grand Total" over the column groups. If a single value is listed, - # this would correspond to using the "Total" of that bucket. - # Corresponds to the JSON property `buckets` - # @return [Array] - attr_accessor :buckets - - # The offset in the PivotTable.values list which the values in this - # grouping should be sorted by. - # Corresponds to the JSON property `valuesIndex` - # @return [Fixnum] - attr_accessor :values_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @buckets = args[:buckets] if args.key?(:buckets) - @values_index = args[:values_index] if args.key?(:values_index) - end - end - - # Properties about a dimension. - class DimensionProperties - include Google::Apis::Core::Hashable - - # True if this dimension is explicitly hidden. - # Corresponds to the JSON property `hiddenByUser` - # @return [Boolean] - attr_accessor :hidden_by_user - alias_method :hidden_by_user?, :hidden_by_user - - # The height (if a row) or width (if a column) of the dimension in pixels. - # Corresponds to the JSON property `pixelSize` - # @return [Fixnum] - attr_accessor :pixel_size - - # True if this dimension is being filtered. - # This field is read-only. - # Corresponds to the JSON property `hiddenByFilter` - # @return [Boolean] - attr_accessor :hidden_by_filter - alias_method :hidden_by_filter?, :hidden_by_filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user) - @pixel_size = args[:pixel_size] if args.key?(:pixel_size) - @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter) - end - end - - # The position of an embedded object such as a chart. - class EmbeddedObjectPosition - include Google::Apis::Core::Hashable - - # The sheet this is on. Set only if the embedded object - # is on its own sheet. Must be non-negative. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The location an object is overlaid on top of a grid. - # Corresponds to the JSON property `overlayPosition` - # @return [Google::Apis::SheetsV4::OverlayPosition] - attr_accessor :overlay_position - - # If true, the embedded object will be put on a new sheet whose ID - # is chosen for you. Used only when writing. - # Corresponds to the JSON property `newSheet` - # @return [Boolean] - attr_accessor :new_sheet - alias_method :new_sheet?, :new_sheet - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @overlay_position = args[:overlay_position] if args.key?(:overlay_position) - @new_sheet = args[:new_sheet] if args.key?(:new_sheet) - end - end - - # A single interpolation point on a gradient conditional format. - # These pin the gradient color scale according to the color, - # type and value chosen. - class InterpolationPoint - include Google::Apis::Core::Hashable - - # The value this interpolation point uses. May be a formula. - # Unused if type is MIN or - # MAX. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - # Corresponds to the JSON property `color` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :color - - # How the value should be interpreted. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @color = args[:color] if args.key?(:color) - @type = args[:type] if args.key?(:type) - end - end - - # An error in a cell. - class ErrorValue - include Google::Apis::Core::Hashable - - # The type of error. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # A message with more information about the error - # (in the spreadsheet's locale). - # Corresponds to the JSON property `message` - # @return [String] - attr_accessor :message - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @message = args[:message] if args.key?(:message) - end - end - - # Duplicates a particular filter view. - class DuplicateFilterViewRequest - include Google::Apis::Core::Hashable - - # The ID of the filter being duplicated. - # Corresponds to the JSON property `filterId` - # @return [Fixnum] - attr_accessor :filter_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter_id = args[:filter_id] if args.key?(:filter_id) - end - end - - # The request for updating any aspect of a spreadsheet. - class BatchUpdateSpreadsheetRequest - include Google::Apis::Core::Hashable - - # A list of updates to apply to the spreadsheet. - # Corresponds to the JSON property `requests` - # @return [Array] - attr_accessor :requests - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requests = args[:requests] if args.key?(:requests) - end - end - - # Properties of a sheet. - class SheetProperties - include Google::Apis::Core::Hashable - - # The name of the sheet. - # Corresponds to the JSON property `title` - # @return [String] - attr_accessor :title - - # The index of the sheet within the spreadsheet. - # When adding or updating sheet properties, if this field - # is excluded then the sheet will be added or moved to the end - # of the sheet list. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - # True if the sheet is hidden in the UI, false if it's visible. - # Corresponds to the JSON property `hidden` - # @return [Boolean] - attr_accessor :hidden - alias_method :hidden?, :hidden - - # Properties of a grid. - # Corresponds to the JSON property `gridProperties` - # @return [Google::Apis::SheetsV4::GridProperties] - attr_accessor :grid_properties - - # The ID of the sheet. Must be non-negative. - # This field cannot be changed once set. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # True if the sheet is an RTL sheet instead of an LTR sheet. - # Corresponds to the JSON property `rightToLeft` - # @return [Boolean] - attr_accessor :right_to_left - alias_method :right_to_left?, :right_to_left - - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - # Corresponds to the JSON property `tabColor` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :tab_color - - # The type of sheet. Defaults to GRID. - # This field cannot be changed once set. - # Corresponds to the JSON property `sheetType` - # @return [String] - attr_accessor :sheet_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @title = args[:title] if args.key?(:title) - @index = args[:index] if args.key?(:index) - @hidden = args[:hidden] if args.key?(:hidden) - @grid_properties = args[:grid_properties] if args.key?(:grid_properties) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @right_to_left = args[:right_to_left] if args.key?(:right_to_left) - @tab_color = args[:tab_color] if args.key?(:tab_color) - @sheet_type = args[:sheet_type] if args.key?(:sheet_type) - end - end - - # A protected range. - class ProtectedRange - include Google::Apis::Core::Hashable + attr_accessor :description # The list of unprotected ranges within a protected sheet. # Unprotected ranges are only supported on protected sheets. @@ -2803,11 +5978,6 @@ module Google # @return [Array] attr_accessor :unprotected_ranges - # The description of this protected range. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - # The named range this protected range is backed by, if any. # When writing, only one of range or named_range_id # may be set. @@ -2815,19 +5985,6 @@ module Google # @return [String] attr_accessor :named_range_id - # True if the user who requested this protected range can edit the - # protected area. - # This field is read-only. - # Corresponds to the JSON property `requestingUserCanEdit` - # @return [Boolean] - attr_accessor :requesting_user_can_edit - alias_method :requesting_user_can_edit?, :requesting_user_can_edit - - # The editors of a protected range. - # Corresponds to the JSON property `editors` - # @return [Google::Apis::SheetsV4::Editors] - attr_accessor :editors - # The ID of the protected range. # This field is read-only. # Corresponds to the JSON property `protectedRangeId` @@ -2847,233 +6004,62 @@ module Google attr_accessor :warning_only alias_method :warning_only?, :warning_only - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges) - @description = args[:description] if args.key?(:description) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) @requesting_user_can_edit = args[:requesting_user_can_edit] if args.key?(:requesting_user_can_edit) + @range = args[:range] if args.key?(:range) @editors = args[:editors] if args.key?(:editors) + @description = args[:description] if args.key?(:description) + @unprotected_ranges = args[:unprotected_ranges] if args.key?(:unprotected_ranges) + @named_range_id = args[:named_range_id] if args.key?(:named_range_id) @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) @warning_only = args[:warning_only] if args.key?(:warning_only) - @range = args[:range] if args.key?(:range) end end - # Deletes a conditional format rule at the given index. - # All subsequent rules' indexes are decremented. - class DeleteConditionalFormatRuleRequest + # The request for updating more than one range of values in a spreadsheet. + class BatchUpdateValuesRequest include Google::Apis::Core::Hashable - # The sheet the rule is being deleted from. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The zero-based index of the rule to be deleted. - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @index = args[:index] if args.key?(:index) - end - end - - # The specifications of a chart. - class ChartSpec - include Google::Apis::Core::Hashable - - # Determines how the charts will use hidden rows or columns. - # Corresponds to the JSON property `hiddenDimensionStrategy` + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # Corresponds to the JSON property `responseValueRenderOption` # @return [String] - attr_accessor :hidden_dimension_strategy + attr_accessor :response_value_render_option - # The specification for a basic chart. See BasicChartType for the list - # of charts this supports. - # Corresponds to the JSON property `basicChart` - # @return [Google::Apis::SheetsV4::BasicChartSpec] - attr_accessor :basic_chart + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. The `updatedData` field within + # each of the BatchUpdateValuesResponse.responses will contain + # the updated values. If the range to write was larger than than the range + # actually written, the response will include all values in the requested + # range (excluding trailing empty rows and columns). + # Corresponds to the JSON property `includeValuesInResponse` + # @return [Boolean] + attr_accessor :include_values_in_response + alias_method :include_values_in_response?, :include_values_in_response - # The title of the chart. - # Corresponds to the JSON property `title` + # How the input data should be interpreted. + # Corresponds to the JSON property `valueInputOption` # @return [String] - attr_accessor :title + attr_accessor :value_input_option - # A pie chart. - # Corresponds to the JSON property `pieChart` - # @return [Google::Apis::SheetsV4::PieChartSpec] - attr_accessor :pie_chart - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @hidden_dimension_strategy = args[:hidden_dimension_strategy] if args.key?(:hidden_dimension_strategy) - @basic_chart = args[:basic_chart] if args.key?(:basic_chart) - @title = args[:title] if args.key?(:title) - @pie_chart = args[:pie_chart] if args.key?(:pie_chart) - end - end - - # A combination of a source range and how to extend that source. - class SourceAndDestination - include Google::Apis::Core::Hashable - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # The number of rows or columns that data should be filled into. - # Positive numbers expand beyond the last row or last column - # of the source. Negative numbers expand before the first row - # or first column of the source. - # Corresponds to the JSON property `fillLength` - # @return [Fixnum] - attr_accessor :fill_length - - # The dimension that data should be filled into. - # Corresponds to the JSON property `dimension` - # @return [String] - attr_accessor :dimension - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @fill_length = args[:fill_length] if args.key?(:fill_length) - @dimension = args[:dimension] if args.key?(:dimension) - end - end - - # The value of the condition. - class ConditionValue - include Google::Apis::Core::Hashable - - # A relative date (based on the current date). - # Valid only if the type is - # DATE_BEFORE, - # DATE_AFTER, - # DATE_ON_OR_BEFORE or - # DATE_ON_OR_AFTER. - # Relative dates are not supported in data validation. - # They are supported only in conditional formatting and - # conditional filters. - # Corresponds to the JSON property `relativeDate` - # @return [String] - attr_accessor :relative_date - - # A value the condition is based on. - # The value will be parsed as if the user typed into a cell. - # Formulas are supported (and must begin with an `=`). - # Corresponds to the JSON property `userEnteredValue` - # @return [String] - attr_accessor :user_entered_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @relative_date = args[:relative_date] if args.key?(:relative_date) - @user_entered_value = args[:user_entered_value] if args.key?(:user_entered_value) - end - end - - # Inserts data into the spreadsheet starting at the specified coordinate. - class PasteDataRequest - include Google::Apis::Core::Hashable - - # The data to insert. + # The new values to apply to the spreadsheet. # Corresponds to the JSON property `data` - # @return [String] + # @return [Array] attr_accessor :data - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `coordinate` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :coordinate - - # The delimiter in the data. - # Corresponds to the JSON property `delimiter` + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # Corresponds to the JSON property `responseDateTimeRenderOption` # @return [String] - attr_accessor :delimiter - - # How the data should be pasted. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # True if the data is HTML. - # Corresponds to the JSON property `html` - # @return [Boolean] - attr_accessor :html - alias_method :html?, :html + attr_accessor :response_date_time_render_option def initialize(**args) update!(**args) @@ -3081,280 +6067,35 @@ module Google # Update properties of this object def update!(**args) + @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option) + @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response) + @value_input_option = args[:value_input_option] if args.key?(:value_input_option) @data = args[:data] if args.key?(:data) - @coordinate = args[:coordinate] if args.key?(:coordinate) - @delimiter = args[:delimiter] if args.key?(:delimiter) - @type = args[:type] if args.key?(:type) - @html = args[:html] if args.key?(:html) + @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option) end end - # Finds and replaces data in cells over a range, sheet, or all sheets. - class FindReplaceRequest + # Properties about a dimension. + class DimensionProperties include Google::Apis::Core::Hashable - # The value to search. - # Corresponds to the JSON property `find` - # @return [String] - attr_accessor :find - - # The value to use as the replacement. - # Corresponds to the JSON property `replacement` - # @return [String] - attr_accessor :replacement - - # True if the find value is a regex. - # The regular expression and replacement should follow Java regex rules - # at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. - # The replacement string is allowed to refer to capturing groups. - # For example, if one cell has the contents `"Google Sheets"` and another - # has `"Google Docs"`, then searching for `"o.* (.*)"` with a replacement of - # `"$1 Rocks"` would change the contents of the cells to - # `"GSheets Rocks"` and `"GDocs Rocks"` respectively. - # Corresponds to the JSON property `searchByRegex` - # @return [Boolean] - attr_accessor :search_by_regex - alias_method :search_by_regex?, :search_by_regex - - # The sheet to find/replace over. - # Corresponds to the JSON property `sheetId` + # The height (if a row) or width (if a column) of the dimension in pixels. + # Corresponds to the JSON property `pixelSize` # @return [Fixnum] - attr_accessor :sheet_id + attr_accessor :pixel_size - # True to find/replace over all sheets. - # Corresponds to the JSON property `allSheets` - # @return [Boolean] - attr_accessor :all_sheets - alias_method :all_sheets?, :all_sheets - - # True if the search is case sensitive. - # Corresponds to the JSON property `matchCase` - # @return [Boolean] - attr_accessor :match_case - alias_method :match_case?, :match_case - - # True if the search should include cells with formulas. - # False to skip cells with formulas. - # Corresponds to the JSON property `includeFormulas` - # @return [Boolean] - attr_accessor :include_formulas - alias_method :include_formulas?, :include_formulas - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # True if the find value should match the entire cell. - # Corresponds to the JSON property `matchEntireCell` - # @return [Boolean] - attr_accessor :match_entire_cell - alias_method :match_entire_cell?, :match_entire_cell - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @find = args[:find] if args.key?(:find) - @replacement = args[:replacement] if args.key?(:replacement) - @search_by_regex = args[:search_by_regex] if args.key?(:search_by_regex) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @all_sheets = args[:all_sheets] if args.key?(:all_sheets) - @match_case = args[:match_case] if args.key?(:match_case) - @include_formulas = args[:include_formulas] if args.key?(:include_formulas) - @range = args[:range] if args.key?(:range) - @match_entire_cell = args[:match_entire_cell] if args.key?(:match_entire_cell) - end - end - - # A sort order associated with a specific column or row. - class SortSpec - include Google::Apis::Core::Hashable - - # The order data should be sorted. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - # The dimension the sort should be applied to. - # Corresponds to the JSON property `dimensionIndex` - # @return [Fixnum] - attr_accessor :dimension_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sort_order = args[:sort_order] if args.key?(:sort_order) - @dimension_index = args[:dimension_index] if args.key?(:dimension_index) - end - end - - # The request to copy a sheet across spreadsheets. - class CopySheetToAnotherSpreadsheetRequest - include Google::Apis::Core::Hashable - - # The ID of the spreadsheet to copy the sheet to. - # Corresponds to the JSON property `destinationSpreadsheetId` - # @return [String] - attr_accessor :destination_spreadsheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @destination_spreadsheet_id = args[:destination_spreadsheet_id] if args.key?(:destination_spreadsheet_id) - end - end - - # The number format of a cell. - class NumberFormat - include Google::Apis::Core::Hashable - - # 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. - # Corresponds to the JSON property `pattern` - # @return [String] - attr_accessor :pattern - - # The type of the number format. - # When writing, this field must be set. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @pattern = args[:pattern] if args.key?(:pattern) - @type = args[:type] if args.key?(:type) - end - end - - # Updates properties of dimensions within the specified range. - class UpdateDimensionPropertiesRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root `properties` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :range - - # Properties about a dimension. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::DimensionProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @range = args[:range] if args.key?(:range) - @properties = args[:properties] if args.key?(:properties) - end - end - - # The editors of a protected range. - class Editors - include Google::Apis::Core::Hashable - - # The email addresses of users with edit access to the protected range. - # Corresponds to the JSON property `users` - # @return [Array] - attr_accessor :users - - # The email addresses of groups with edit access to the protected range. - # Corresponds to the JSON property `groups` - # @return [Array] - attr_accessor :groups - - # True if anyone in the document's domain has edit access to the protected - # range. Domain protection is only supported on documents within a domain. - # Corresponds to the JSON property `domainUsersCanEdit` - # @return [Boolean] - attr_accessor :domain_users_can_edit - alias_method :domain_users_can_edit?, :domain_users_can_edit - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @users = args[:users] if args.key?(:users) - @groups = args[:groups] if args.key?(:groups) - @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit) - end - end - - # Resource that represents a spreadsheet. - class Spreadsheet - include Google::Apis::Core::Hashable - - # The ID of the spreadsheet. + # True if this dimension is being filtered. # This field is read-only. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id + # Corresponds to the JSON property `hiddenByFilter` + # @return [Boolean] + attr_accessor :hidden_by_filter + alias_method :hidden_by_filter?, :hidden_by_filter - # Properties of a spreadsheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SpreadsheetProperties] - attr_accessor :properties - - # The sheets that are part of a spreadsheet. - # Corresponds to the JSON property `sheets` - # @return [Array] - attr_accessor :sheets - - # The named ranges defined in a spreadsheet. - # Corresponds to the JSON property `namedRanges` - # @return [Array] - attr_accessor :named_ranges + # True if this dimension is explicitly hidden. + # Corresponds to the JSON property `hiddenByUser` + # @return [Boolean] + attr_accessor :hidden_by_user + alias_method :hidden_by_user?, :hidden_by_user def initialize(**args) update!(**args) @@ -3362,623 +6103,9 @@ module Google # Update properties of this object def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @properties = args[:properties] if args.key?(:properties) - @sheets = args[:sheets] if args.key?(:sheets) - @named_ranges = args[:named_ranges] if args.key?(:named_ranges) - end - end - - # Data in the grid, as well as metadata about the dimensions. - class GridData - include Google::Apis::Core::Hashable - - # Metadata about the requested columns in the grid, starting with the column - # in start_column. - # Corresponds to the JSON property `columnMetadata` - # @return [Array] - attr_accessor :column_metadata - - # The data in the grid, one entry per row, - # starting with the row in startRow. - # The values in RowData will correspond to columns starting - # at start_column. - # Corresponds to the JSON property `rowData` - # @return [Array] - attr_accessor :row_data - - # The first row this GridData refers to, zero-based. - # Corresponds to the JSON property `startRow` - # @return [Fixnum] - attr_accessor :start_row - - # Metadata about the requested rows in the grid, starting with the row - # in start_row. - # Corresponds to the JSON property `rowMetadata` - # @return [Array] - attr_accessor :row_metadata - - # The first column this GridData refers to, zero-based. - # Corresponds to the JSON property `startColumn` - # @return [Fixnum] - attr_accessor :start_column - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @column_metadata = args[:column_metadata] if args.key?(:column_metadata) - @row_data = args[:row_data] if args.key?(:row_data) - @start_row = args[:start_row] if args.key?(:start_row) - @row_metadata = args[:row_metadata] if args.key?(:row_metadata) - @start_column = args[:start_column] if args.key?(:start_column) - end - end - - # The definition of how a value in a pivot table should be calculated. - class PivotValue - include Google::Apis::Core::Hashable - - # A custom formula to calculate the value. The formula must start - # with an `=` character. - # Corresponds to the JSON property `formula` - # @return [String] - attr_accessor :formula - - # The column offset of the source range that this value reads from. - # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` - # means this value refers to column `C`, whereas the offset `1` would - # refer to column `D`. - # Corresponds to the JSON property `sourceColumnOffset` - # @return [Fixnum] - attr_accessor :source_column_offset - - # A function to summarize the value. - # If formula is set, the only supported values are - # SUM and - # CUSTOM. - # If sourceColumnOffset is set, then `CUSTOM` - # is not supported. - # Corresponds to the JSON property `summarizeFunction` - # @return [String] - attr_accessor :summarize_function - - # A name to use for the value. This is only used if formula was set. - # Otherwise, the column name is used. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formula = args[:formula] if args.key?(:formula) - @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) - @summarize_function = args[:summarize_function] if args.key?(:summarize_function) - @name = args[:name] if args.key?(:name) - end - end - - # The default filter associated with a sheet. - class BasicFilter - include Google::Apis::Core::Hashable - - # The criteria for showing/hiding values per column. - # The map's key is the column index, and the value is the criteria for - # that column. - # Corresponds to the JSON property `criteria` - # @return [Hash] - attr_accessor :criteria - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # The sort order per column. Later specifications are used when values - # are equal in the earlier specifications. - # Corresponds to the JSON property `sortSpecs` - # @return [Array] - attr_accessor :sort_specs - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @criteria = args[:criteria] if args.key?(:criteria) - @range = args[:range] if args.key?(:range) - @sort_specs = args[:sort_specs] if args.key?(:sort_specs) - end - end - - # Duplicates the contents of a sheet. - class DuplicateSheetRequest - include Google::Apis::Core::Hashable - - # The sheet to duplicate. - # Corresponds to the JSON property `sourceSheetId` - # @return [Fixnum] - attr_accessor :source_sheet_id - - # If set, the ID of the new sheet. If not set, an ID is chosen. - # If set, the ID must not conflict with any existing sheet ID. - # If set, it must be non-negative. - # Corresponds to the JSON property `newSheetId` - # @return [Fixnum] - attr_accessor :new_sheet_id - - # The zero-based index where the new sheet should be inserted. - # The index of all sheets after this are incremented. - # Corresponds to the JSON property `insertSheetIndex` - # @return [Fixnum] - attr_accessor :insert_sheet_index - - # The name of the new sheet. If empty, a new name is chosen for you. - # Corresponds to the JSON property `newSheetName` - # @return [String] - attr_accessor :new_sheet_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_sheet_id = args[:source_sheet_id] if args.key?(:source_sheet_id) - @new_sheet_id = args[:new_sheet_id] if args.key?(:new_sheet_id) - @insert_sheet_index = args[:insert_sheet_index] if args.key?(:insert_sheet_index) - @new_sheet_name = args[:new_sheet_name] if args.key?(:new_sheet_name) - end - end - - # The result of adding a filter view. - class AddFilterViewResponse - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - - # The result of duplicating a sheet. - class DuplicateSheetResponse - include Google::Apis::Core::Hashable - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - end - end - - # A border along a cell. - class Border - include Google::Apis::Core::Hashable - - # The style of the border. - # Corresponds to the JSON property `style` - # @return [String] - attr_accessor :style - - # The width of the border, in pixels. - # Border widths must be between 0 and 3 pixels, inclusive. - # Corresponds to the JSON property `width` - # @return [Fixnum] - attr_accessor :width - - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - # Corresponds to the JSON property `color` - # @return [Google::Apis::SheetsV4::Color] - attr_accessor :color - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @style = args[:style] if args.key?(:style) - @width = args[:width] if args.key?(:width) - @color = args[:color] if args.key?(:color) - end - end - - # Adds a named range to the spreadsheet. - class AddNamedRangeRequest - include Google::Apis::Core::Hashable - - # A named range. - # Corresponds to the JSON property `namedRange` - # @return [Google::Apis::SheetsV4::NamedRange] - attr_accessor :named_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range = args[:named_range] if args.key?(:named_range) - end - end - - # The result of adding a chart to a spreadsheet. - class AddChartResponse - include Google::Apis::Core::Hashable - - # A chart embedded in a sheet. - # Corresponds to the JSON property `chart` - # @return [Google::Apis::SheetsV4::EmbeddedChart] - attr_accessor :chart - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart = args[:chart] if args.key?(:chart) - end - end - - # Adds new cells after the last row with data in a sheet, - # inserting new rows into the sheet if necessary. - class AppendCellsRequest - include Google::Apis::Core::Hashable - - # The sheet ID to append the data to. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The data to append. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # The fields of CellData that should be updated. - # At least one field must be specified. - # The root is the CellData; 'row.values.' should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @rows = args[:rows] if args.key?(:rows) - @fields = args[:fields] if args.key?(:fields) - end - end - - # Data about each cell in a row. - class RowData - include Google::Apis::Core::Hashable - - # The values in the row, one per column. - # Corresponds to the JSON property `values` - # @return [Array] - attr_accessor :values - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @values = args[:values] if args.key?(:values) - end - end - - # A single series of data in a chart. - # For example, if charting stock prices over time, multiple series may exist, - # one for the "Open Price", "High Price", "Low Price" and "Close Price". - class BasicChartSeries - include Google::Apis::Core::Hashable - - # The data included in a domain or series. - # Corresponds to the JSON property `series` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :series - - # The minor axis that will specify the range of values for this series. - # For example, if charting stocks over time, the "Volume" series - # may want to be pinned to the right with the prices pinned to the left, - # because the scale of trading volume is different than the scale of - # prices. - # It is an error to specify an axis that isn't a valid minor axis - # for the chart's type. - # Corresponds to the JSON property `targetAxis` - # @return [String] - attr_accessor :target_axis - - # The type of this series. Valid only if the - # chartType is - # COMBO. - # Different types will change the way the series is visualized. - # Only LINE, AREA, - # and COLUMN are supported. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @series = args[:series] if args.key?(:series) - @target_axis = args[:target_axis] if args.key?(:target_axis) - @type = args[:type] if args.key?(:type) - end - end - - # Updates all cells in the range to the values in the given Cell object. - # Only the fields listed in the fields field are updated; others are - # unchanged. - # If writing a cell with a formula, the formula's ranges will automatically - # increment for each field in the range. - # For example, if writing a cell with formula `=A1` into range B2:C4, - # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, - # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. - # To keep the formula's ranges static, use the `$` indicator. - # For example, use the formula `=$A$1` to prevent both the row and the - # column from incrementing. - class RepeatCellRequest - include Google::Apis::Core::Hashable - - # Data about a specific cell. - # Corresponds to the JSON property `cell` - # @return [Google::Apis::SheetsV4::CellData] - attr_accessor :cell - - # The fields that should be updated. At least one field must be specified. - # The root `cell` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @cell = args[:cell] if args.key?(:cell) - @fields = args[:fields] if args.key?(:fields) - @range = args[:range] if args.key?(:range) - end - end - - # The specification for a basic chart. See BasicChartType for the list - # of charts this supports. - class BasicChartSpec - include Google::Apis::Core::Hashable - - # The type of the chart. - # Corresponds to the JSON property `chartType` - # @return [String] - attr_accessor :chart_type - - # The domain of data this is charting. - # Only a single domain is currently supported. - # Corresponds to the JSON property `domains` - # @return [Array] - attr_accessor :domains - - # The number of rows or columns in the data that are "headers". - # If not set, Google Sheets will guess how many rows are headers based - # on the data. - # (Note that BasicChartAxis.title may override the axis title - # inferred from the header values.) - # Corresponds to the JSON property `headerCount` - # @return [Fixnum] - attr_accessor :header_count - - # The data this chart is visualizing. - # Corresponds to the JSON property `series` - # @return [Array] - attr_accessor :series - - # The position of the chart legend. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # The axis on the chart. - # Corresponds to the JSON property `axis` - # @return [Array] - attr_accessor :axis - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart_type = args[:chart_type] if args.key?(:chart_type) - @domains = args[:domains] if args.key?(:domains) - @header_count = args[:header_count] if args.key?(:header_count) - @series = args[:series] if args.key?(:series) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @axis = args[:axis] if args.key?(:axis) + @pixel_size = args[:pixel_size] if args.key?(:pixel_size) + @hidden_by_filter = args[:hidden_by_filter] if args.key?(:hidden_by_filter) + @hidden_by_user = args[:hidden_by_user] if args.key?(:hidden_by_user) end end @@ -4034,14 +6161,33 @@ module Google end end - # Sets the basic filter associated with a sheet. - class SetBasicFilterRequest + # A range along a single dimension on a sheet. + # All indexes are zero-based. + # Indexes are half open: the start index is inclusive + # and the end index is exclusive. + # Missing indexes indicate the range is unbounded on that side. + class DimensionRange include Google::Apis::Core::Hashable - # The default filter associated with a sheet. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::BasicFilter] - attr_accessor :filter + # The start (inclusive) of the span, or not set if unbounded. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The end (exclusive) of the span, or not set if unbounded. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The sheet this span is on. + # Corresponds to the JSON property `sheetId` + # @return [Fixnum] + attr_accessor :sheet_id + + # The dimension of the span. + # Corresponds to the JSON property `dimension` + # @return [String] + attr_accessor :dimension def initialize(**args) update!(**args) @@ -4049,35 +6195,54 @@ module Google # Update properties of this object def update!(**args) - @filter = args[:filter] if args.key?(:filter) + @start_index = args[:start_index] if args.key?(:start_index) + @end_index = args[:end_index] if args.key?(:end_index) + @sheet_id = args[:sheet_id] if args.key?(:sheet_id) + @dimension = args[:dimension] if args.key?(:dimension) end end - # Update an embedded object's position (such as a moving or resizing a - # chart or image). - class UpdateEmbeddedObjectPositionRequest + # Moves data from the source to the destination. + class CutPasteRequest include Google::Apis::Core::Hashable - # The position of an embedded object such as a chart. - # Corresponds to the JSON property `newPosition` - # @return [Google::Apis::SheetsV4::EmbeddedObjectPosition] - attr_accessor :new_position + # A coordinate in a sheet. + # All indexes are zero-based. + # Corresponds to the JSON property `destination` + # @return [Google::Apis::SheetsV4::GridCoordinate] + attr_accessor :destination - # The ID of the object to moved. - # Corresponds to the JSON property `objectId` - # @return [Fixnum] - attr_accessor :object_id_prop + # A range on a sheet. + # All indexes are zero-based. + # Indexes are half open, e.g the start index is inclusive + # and the end index is exclusive -- [start_index, end_index). + # Missing indexes indicate the range is unbounded on that side. + # For example, if `"Sheet1"` is sheet ID 0, then: + # `Sheet1!A1:A1 == sheet_id: 0, + # start_row_index: 0, end_row_index: 1, + # start_column_index: 0, end_column_index: 1` + # `Sheet1!A3:B4 == sheet_id: 0, + # start_row_index: 2, end_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A:B == sheet_id: 0, + # start_column_index: 0, end_column_index: 2` + # `Sheet1!A5:B == sheet_id: 0, + # start_row_index: 4, + # start_column_index: 0, end_column_index: 2` + # `Sheet1 == sheet_id:0` + # The start index must always be less than or equal to the end index. + # If the start index equals the end index, then the range is empty. + # Empty ranges are typically not meaningful and are usually rendered in the + # UI as `#REF!`. + # Corresponds to the JSON property `source` + # @return [Google::Apis::SheetsV4::GridRange] + attr_accessor :source - # The fields of OverlayPosition - # that should be updated when setting a new position. Used only if - # newPosition.overlayPosition - # is set, in which case at least one field must - # be specified. The root `newPosition.overlayPosition` is implied and - # should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` + # What kind of data to paste. All the source data will be cut, regardless + # of what is pasted. + # Corresponds to the JSON property `pasteType` # @return [String] - attr_accessor :fields + attr_accessor :paste_type def initialize(**args) update!(**args) @@ -4085,9 +6250,90 @@ module Google # Update properties of this object def update!(**args) - @new_position = args[:new_position] if args.key?(:new_position) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - @fields = args[:fields] if args.key?(:fields) + @destination = args[:destination] if args.key?(:destination) + @source = args[:source] if args.key?(:source) + @paste_type = args[:paste_type] if args.key?(:paste_type) + end + end + + # The borders of the cell. + class Borders + include Google::Apis::Core::Hashable + + # A border along a cell. + # Corresponds to the JSON property `top` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :top + + # A border along a cell. + # Corresponds to the JSON property `left` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :left + + # A border along a cell. + # Corresponds to the JSON property `right` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :right + + # A border along a cell. + # Corresponds to the JSON property `bottom` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :bottom + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @top = args[:top] if args.key?(:top) + @left = args[:left] if args.key?(:left) + @right = args[:right] if args.key?(:right) + @bottom = args[:bottom] if args.key?(:bottom) + end + end + + # A single series of data in a chart. + # For example, if charting stock prices over time, multiple series may exist, + # one for the "Open Price", "High Price", "Low Price" and "Close Price". + class BasicChartSeries + include Google::Apis::Core::Hashable + + # The data included in a domain or series. + # Corresponds to the JSON property `series` + # @return [Google::Apis::SheetsV4::ChartData] + attr_accessor :series + + # The type of this series. Valid only if the + # chartType is + # COMBO. + # Different types will change the way the series is visualized. + # Only LINE, AREA, + # and COLUMN are supported. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The minor axis that will specify the range of values for this series. + # For example, if charting stocks over time, the "Volume" series + # may want to be pinned to the right with the prices pinned to the left, + # because the scale of trading volume is different than the scale of + # prices. + # It is an error to specify an axis that isn't a valid minor axis + # for the chart's type. + # Corresponds to the JSON property `targetAxis` + # @return [String] + attr_accessor :target_axis + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @series = args[:series] if args.key?(:series) + @type = args[:type] if args.key?(:type) + @target_axis = args[:target_axis] if args.key?(:target_axis) end end @@ -4115,343 +6361,42 @@ module Google end end - # The result of a filter view being duplicated. - class DuplicateFilterViewResponse + # Updates the borders of a range. + # If a field is not set in the request, that means the border remains as-is. + # For example, with two subsequent UpdateBordersRequest: + # 1. range: A1:A5 `` top: RED, bottom: WHITE `` + # 2. range: A1:A5 `` left: BLUE `` + # That would result in A1:A5 having a borders of + # `` top: RED, bottom: WHITE, left: BLUE ``. + # If you want to clear a border, explicitly set the style to + # NONE. + class UpdateBordersRequest include Google::Apis::Core::Hashable - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter + # A border along a cell. + # Corresponds to the JSON property `top` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :top - def initialize(**args) - update!(**args) - end + # A border along a cell. + # Corresponds to the JSON property `left` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :left - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end + # A border along a cell. + # Corresponds to the JSON property `bottom` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :bottom - # A single grouping (either row or column) in a pivot table. - class PivotGroup - include Google::Apis::Core::Hashable + # A border along a cell. + # Corresponds to the JSON property `innerVertical` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :inner_vertical - # The order the values in this group should be sorted. - # Corresponds to the JSON property `sortOrder` - # @return [String] - attr_accessor :sort_order - - # The column offset of the source range that this grouping is based on. - # For example, if the source was `C10:E15`, a `sourceColumnOffset` of `0` - # means this group refers to column `C`, whereas the offset `1` would refer - # to column `D`. - # Corresponds to the JSON property `sourceColumnOffset` - # @return [Fixnum] - attr_accessor :source_column_offset - - # True if the pivot table should include the totals for this grouping. - # Corresponds to the JSON property `showTotals` - # @return [Boolean] - attr_accessor :show_totals - alias_method :show_totals?, :show_totals - - # Information about which values in a pivot group should be used for sorting. - # Corresponds to the JSON property `valueBucket` - # @return [Google::Apis::SheetsV4::PivotGroupSortValueBucket] - attr_accessor :value_bucket - - # Metadata about values in the grouping. - # Corresponds to the JSON property `valueMetadata` - # @return [Array] - attr_accessor :value_metadata - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sort_order = args[:sort_order] if args.key?(:sort_order) - @source_column_offset = args[:source_column_offset] if args.key?(:source_column_offset) - @show_totals = args[:show_totals] if args.key?(:show_totals) - @value_bucket = args[:value_bucket] if args.key?(:value_bucket) - @value_metadata = args[:value_metadata] if args.key?(:value_metadata) - end - end - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - class GridRange - include Google::Apis::Core::Hashable - - # The sheet this range is on. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The start column (inclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `startColumnIndex` - # @return [Fixnum] - attr_accessor :start_column_index - - # The start row (inclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `startRowIndex` - # @return [Fixnum] - attr_accessor :start_row_index - - # The end row (exclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `endRowIndex` - # @return [Fixnum] - attr_accessor :end_row_index - - # The end column (exclusive) of the range, or not set if unbounded. - # Corresponds to the JSON property `endColumnIndex` - # @return [Fixnum] - attr_accessor :end_column_index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @start_column_index = args[:start_column_index] if args.key?(:start_column_index) - @start_row_index = args[:start_row_index] if args.key?(:start_row_index) - @end_row_index = args[:end_row_index] if args.key?(:end_row_index) - @end_column_index = args[:end_column_index] if args.key?(:end_column_index) - end - end - - # Deletes the requested sheet. - class DeleteSheetRequest - include Google::Apis::Core::Hashable - - # The ID of the sheet to delete. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - end - end - - # The data included in a domain or series. - class ChartData - include Google::Apis::Core::Hashable - - # Source ranges for a chart. - # Corresponds to the JSON property `sourceRange` - # @return [Google::Apis::SheetsV4::ChartSourceRange] - attr_accessor :source_range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source_range = args[:source_range] if args.key?(:source_range) - end - end - - # A sheet in a spreadsheet. - class Sheet - include Google::Apis::Core::Hashable - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - # The specifications of every chart on this sheet. - # Corresponds to the JSON property `charts` - # @return [Array] - attr_accessor :charts - - # The filter views in this sheet. - # Corresponds to the JSON property `filterViews` - # @return [Array] - attr_accessor :filter_views - - # The conditional format rules in this sheet. - # Corresponds to the JSON property `conditionalFormats` - # @return [Array] - attr_accessor :conditional_formats - - # The protected ranges in this sheet. - # Corresponds to the JSON property `protectedRanges` - # @return [Array] - attr_accessor :protected_ranges - - # The default filter associated with a sheet. - # Corresponds to the JSON property `basicFilter` - # @return [Google::Apis::SheetsV4::BasicFilter] - attr_accessor :basic_filter - - # The ranges that are merged together. - # Corresponds to the JSON property `merges` - # @return [Array] - attr_accessor :merges - - # Data in the grid, if this is a grid sheet. - # The number of GridData objects returned is dependent on the number of - # ranges requested on this sheet. For example, if this is representing - # `Sheet1`, and the spreadsheet was requested with ranges - # `Sheet1!A1:C10` and `Sheet1!D15:E20`, then the first GridData will have a - # startRow/startColumn of `0`, - # while the second one will have `startRow 14` (zero-based row 15), - # and `startColumn 3` (zero-based column D). - # Corresponds to the JSON property `data` - # @return [Array] - attr_accessor :data - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @properties = args[:properties] if args.key?(:properties) - @charts = args[:charts] if args.key?(:charts) - @filter_views = args[:filter_views] if args.key?(:filter_views) - @conditional_formats = args[:conditional_formats] if args.key?(:conditional_formats) - @protected_ranges = args[:protected_ranges] if args.key?(:protected_ranges) - @basic_filter = args[:basic_filter] if args.key?(:basic_filter) - @merges = args[:merges] if args.key?(:merges) - @data = args[:data] if args.key?(:data) - end - end - - # Copies data from the source to the destination. - class CopyPasteRequest - include Google::Apis::Core::Hashable - - # What kind of data to paste. - # Corresponds to the JSON property `pasteType` - # @return [String] - attr_accessor :paste_type - - # How that data should be oriented when pasting. - # Corresponds to the JSON property `pasteOrientation` - # @return [String] - attr_accessor :paste_orientation - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `destination` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :destination - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @paste_type = args[:paste_type] if args.key?(:paste_type) - @paste_orientation = args[:paste_orientation] if args.key?(:paste_orientation) - @source = args[:source] if args.key?(:source) - @destination = args[:destination] if args.key?(:destination) - end - end - - # Updates all cells in a range with new data. - class UpdateCellsRequest - include Google::Apis::Core::Hashable - - # The data to write. - # Corresponds to the JSON property `rows` - # @return [Array] - attr_accessor :rows - - # The fields of CellData that should be updated. - # At least one field must be specified. - # The root is the CellData; 'row.values.' should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `start` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :start + # A border along a cell. + # Corresponds to the JSON property `right` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :right # A range on a sheet. # All indexes are zero-based. @@ -4479,980 +6424,24 @@ module Google # @return [Google::Apis::SheetsV4::GridRange] attr_accessor :range + # A border along a cell. + # Corresponds to the JSON property `innerHorizontal` + # @return [Google::Apis::SheetsV4::Border] + attr_accessor :inner_horizontal + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) - @rows = args[:rows] if args.key?(:rows) - @fields = args[:fields] if args.key?(:fields) - @start = args[:start] if args.key?(:start) + @top = args[:top] if args.key?(:top) + @left = args[:left] if args.key?(:left) + @bottom = args[:bottom] if args.key?(:bottom) + @inner_vertical = args[:inner_vertical] if args.key?(:inner_vertical) + @right = args[:right] if args.key?(:right) @range = args[:range] if args.key?(:range) - end - end - - # The kinds of value that a cell in a spreadsheet can have. - class ExtendedValue - include Google::Apis::Core::Hashable - - # Represents a formula. - # Corresponds to the JSON property `formulaValue` - # @return [String] - attr_accessor :formula_value - - # An error in a cell. - # Corresponds to the JSON property `errorValue` - # @return [Google::Apis::SheetsV4::ErrorValue] - attr_accessor :error_value - - # Represents a boolean value. - # Corresponds to the JSON property `boolValue` - # @return [Boolean] - attr_accessor :bool_value - alias_method :bool_value?, :bool_value - - # Represents a double value. - # Note: Dates, Times and DateTimes are represented as doubles in - # "serial number" format. - # Corresponds to the JSON property `numberValue` - # @return [Float] - attr_accessor :number_value - - # Represents a string value. - # Leading single quotes are not included. For example, if the user typed - # `'123` into the UI, this would be represented as a `stringValue` of - # `"123"`. - # Corresponds to the JSON property `stringValue` - # @return [String] - attr_accessor :string_value - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @formula_value = args[:formula_value] if args.key?(:formula_value) - @error_value = args[:error_value] if args.key?(:error_value) - @bool_value = args[:bool_value] if args.key?(:bool_value) - @number_value = args[:number_value] if args.key?(:number_value) - @string_value = args[:string_value] if args.key?(:string_value) - end - end - - # The reply for batch updating a spreadsheet. - class BatchUpdateSpreadsheetResponse - include Google::Apis::Core::Hashable - - # The spreadsheet the updates were applied to. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - # The reply of the updates. This maps 1:1 with the updates, although - # replies to some requests may be empty. - # Corresponds to the JSON property `replies` - # @return [Array] - attr_accessor :replies - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - @replies = args[:replies] if args.key?(:replies) - end - end - - # A rule that applies a gradient color scale format, based on - # the interpolation points listed. The format of a cell will vary - # based on its contents as compared to the values of the interpolation - # points. - class GradientRule - include Google::Apis::Core::Hashable - - # A single interpolation point on a gradient conditional format. - # These pin the gradient color scale according to the color, - # type and value chosen. - # Corresponds to the JSON property `maxpoint` - # @return [Google::Apis::SheetsV4::InterpolationPoint] - attr_accessor :maxpoint - - # A single interpolation point on a gradient conditional format. - # These pin the gradient color scale according to the color, - # type and value chosen. - # Corresponds to the JSON property `midpoint` - # @return [Google::Apis::SheetsV4::InterpolationPoint] - attr_accessor :midpoint - - # A single interpolation point on a gradient conditional format. - # These pin the gradient color scale according to the color, - # type and value chosen. - # Corresponds to the JSON property `minpoint` - # @return [Google::Apis::SheetsV4::InterpolationPoint] - attr_accessor :minpoint - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @maxpoint = args[:maxpoint] if args.key?(:maxpoint) - @midpoint = args[:midpoint] if args.key?(:midpoint) - @minpoint = args[:minpoint] if args.key?(:minpoint) - end - end - - # Moves data from the source to the destination. - class CutPasteRequest - include Google::Apis::Core::Hashable - - # What kind of data to paste. All the source data will be cut, regardless - # of what is pasted. - # Corresponds to the JSON property `pasteType` - # @return [String] - attr_accessor :paste_type - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `source` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :source - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `destination` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :destination - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @paste_type = args[:paste_type] if args.key?(:paste_type) - @source = args[:source] if args.key?(:source) - @destination = args[:destination] if args.key?(:destination) - end - end - - # The location an object is overlaid on top of a grid. - class OverlayPosition - include Google::Apis::Core::Hashable - - # The width of the object, in pixels. Defaults to 600. - # Corresponds to the JSON property `widthPixels` - # @return [Fixnum] - attr_accessor :width_pixels - - # A coordinate in a sheet. - # All indexes are zero-based. - # Corresponds to the JSON property `anchorCell` - # @return [Google::Apis::SheetsV4::GridCoordinate] - attr_accessor :anchor_cell - - # The horizontal offset, in pixels, that the object is offset - # from the anchor cell. - # Corresponds to the JSON property `offsetXPixels` - # @return [Fixnum] - attr_accessor :offset_x_pixels - - # The height of the object, in pixels. Defaults to 371. - # Corresponds to the JSON property `heightPixels` - # @return [Fixnum] - attr_accessor :height_pixels - - # The vertical offset, in pixels, that the object is offset - # from the anchor cell. - # Corresponds to the JSON property `offsetYPixels` - # @return [Fixnum] - attr_accessor :offset_y_pixels - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @width_pixels = args[:width_pixels] if args.key?(:width_pixels) - @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell) - @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels) - @height_pixels = args[:height_pixels] if args.key?(:height_pixels) - @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels) - end - end - - # Fills in more data based on existing data. - class AutoFillRequest - include Google::Apis::Core::Hashable - - # True if we should generate data with the "alternate" series. - # This differs based on the type and amount of source data. - # Corresponds to the JSON property `useAlternateSeries` - # @return [Boolean] - attr_accessor :use_alternate_series - alias_method :use_alternate_series?, :use_alternate_series - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - # A combination of a source range and how to extend that source. - # Corresponds to the JSON property `sourceAndDestination` - # @return [Google::Apis::SheetsV4::SourceAndDestination] - attr_accessor :source_and_destination - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @use_alternate_series = args[:use_alternate_series] if args.key?(:use_alternate_series) - @range = args[:range] if args.key?(:range) - @source_and_destination = args[:source_and_destination] if args.key?(:source_and_destination) - end - end - - # A pie chart. - class PieChartSpec - include Google::Apis::Core::Hashable - - # Where the legend of the pie chart should be drawn. - # Corresponds to the JSON property `legendPosition` - # @return [String] - attr_accessor :legend_position - - # The data included in a domain or series. - # Corresponds to the JSON property `series` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :series - - # The size of the hole in the pie chart. - # Corresponds to the JSON property `pieHole` - # @return [Float] - attr_accessor :pie_hole - - # True if the pie is three dimensional. - # Corresponds to the JSON property `threeDimensional` - # @return [Boolean] - attr_accessor :three_dimensional - alias_method :three_dimensional?, :three_dimensional - - # The data included in a domain or series. - # Corresponds to the JSON property `domain` - # @return [Google::Apis::SheetsV4::ChartData] - attr_accessor :domain - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @legend_position = args[:legend_position] if args.key?(:legend_position) - @series = args[:series] if args.key?(:series) - @pie_hole = args[:pie_hole] if args.key?(:pie_hole) - @three_dimensional = args[:three_dimensional] if args.key?(:three_dimensional) - @domain = args[:domain] if args.key?(:domain) - end - end - - # Updates properties of the sheet with the specified - # sheetId. - class UpdateSheetPropertiesRequest - include Google::Apis::Core::Hashable - - # The fields that should be updated. At least one field must be specified. - # The root `properties` is implied and should not be specified. - # A single `"*"` can be used as short-hand for listing every field. - # Corresponds to the JSON property `fields` - # @return [String] - attr_accessor :fields - - # Properties of a sheet. - # Corresponds to the JSON property `properties` - # @return [Google::Apis::SheetsV4::SheetProperties] - attr_accessor :properties - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @fields = args[:fields] if args.key?(:fields) - @properties = args[:properties] if args.key?(:properties) - end - end - - # A rule that may or may not match, depending on the condition. - class BooleanRule - include Google::Apis::Core::Hashable - - # A condition that can evaluate to true or false. - # BooleanConditions are used by conditional formatting, - # data validation, and the criteria in filters. - # Corresponds to the JSON property `condition` - # @return [Google::Apis::SheetsV4::BooleanCondition] - attr_accessor :condition - - # The format of a cell. - # Corresponds to the JSON property `format` - # @return [Google::Apis::SheetsV4::CellFormat] - attr_accessor :format - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @condition = args[:condition] if args.key?(:condition) - @format = args[:format] if args.key?(:format) - end - end - - # Appends rows or columns to the end of a sheet. - class AppendDimensionRequest - include Google::Apis::Core::Hashable - - # The sheet to append rows or columns to. - # Corresponds to the JSON property `sheetId` - # @return [Fixnum] - attr_accessor :sheet_id - - # The number of rows or columns to append. - # Corresponds to the JSON property `length` - # @return [Fixnum] - attr_accessor :length - - # Whether rows or columns should be appended. - # Corresponds to the JSON property `dimension` - # @return [String] - attr_accessor :dimension - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @sheet_id = args[:sheet_id] if args.key?(:sheet_id) - @length = args[:length] if args.key?(:length) - @dimension = args[:dimension] if args.key?(:dimension) - end - end - - # Adds a filter view. - class AddFilterViewRequest - include Google::Apis::Core::Hashable - - # A filter view. - # Corresponds to the JSON property `filter` - # @return [Google::Apis::SheetsV4::FilterView] - attr_accessor :filter - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @filter = args[:filter] if args.key?(:filter) - end - end - - # Properties of a grid. - class GridProperties - include Google::Apis::Core::Hashable - - # The number of rows in the grid. - # Corresponds to the JSON property `rowCount` - # @return [Fixnum] - attr_accessor :row_count - - # The number of columns in the grid. - # Corresponds to the JSON property `columnCount` - # @return [Fixnum] - attr_accessor :column_count - - # The number of rows that are frozen in the grid. - # Corresponds to the JSON property `frozenRowCount` - # @return [Fixnum] - attr_accessor :frozen_row_count - - # The number of columns that are frozen in the grid. - # Corresponds to the JSON property `frozenColumnCount` - # @return [Fixnum] - attr_accessor :frozen_column_count - - # True if the grid isn't showing gridlines in the UI. - # Corresponds to the JSON property `hideGridlines` - # @return [Boolean] - attr_accessor :hide_gridlines - alias_method :hide_gridlines?, :hide_gridlines - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @row_count = args[:row_count] if args.key?(:row_count) - @column_count = args[:column_count] if args.key?(:column_count) - @frozen_row_count = args[:frozen_row_count] if args.key?(:frozen_row_count) - @frozen_column_count = args[:frozen_column_count] if args.key?(:frozen_column_count) - @hide_gridlines = args[:hide_gridlines] if args.key?(:hide_gridlines) - end - end - - # Removes the named range with the given ID from the spreadsheet. - class DeleteNamedRangeRequest - include Google::Apis::Core::Hashable - - # The ID of the named range to delete. - # Corresponds to the JSON property `namedRangeId` - # @return [String] - attr_accessor :named_range_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @named_range_id = args[:named_range_id] if args.key?(:named_range_id) - end - end - - # Adds a chart to a sheet in the spreadsheet. - class AddChartRequest - include Google::Apis::Core::Hashable - - # A chart embedded in a sheet. - # Corresponds to the JSON property `chart` - # @return [Google::Apis::SheetsV4::EmbeddedChart] - attr_accessor :chart - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @chart = args[:chart] if args.key?(:chart) - end - end - - # Sets a data validation rule to every cell in the range. - # To clear validation in a range, call this with no rule specified. - class SetDataValidationRequest - include Google::Apis::Core::Hashable - - # A data validation rule. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::DataValidationRule] - attr_accessor :rule - - # A range on a sheet. - # All indexes are zero-based. - # Indexes are half open, e.g the start index is inclusive - # and the end index is exclusive -- [start_index, end_index). - # Missing indexes indicate the range is unbounded on that side. - # For example, if `"Sheet1"` is sheet ID 0, then: - # `Sheet1!A1:A1 == sheet_id: 0, - # start_row_index: 0, end_row_index: 1, - # start_column_index: 0, end_column_index: 1` - # `Sheet1!A3:B4 == sheet_id: 0, - # start_row_index: 2, end_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A:B == sheet_id: 0, - # start_column_index: 0, end_column_index: 2` - # `Sheet1!A5:B == sheet_id: 0, - # start_row_index: 4, - # start_column_index: 0, end_column_index: 2` - # `Sheet1 == sheet_id:0` - # The start index must always be less than or equal to the end index. - # If the start index equals the end index, then the range is empty. - # Empty ranges are typically not meaningful and are usually rendered in the - # UI as `#REF!`. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::GridRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) - @range = args[:range] if args.key?(:range) - end - end - - # A single kind of update to apply to a spreadsheet. - class Request - include Google::Apis::Core::Hashable - - # Update an embedded object's position (such as a moving or resizing a - # chart or image). - # Corresponds to the JSON property `updateEmbeddedObjectPosition` - # @return [Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest] - attr_accessor :update_embedded_object_position - - # Removes the named range with the given ID from the spreadsheet. - # Corresponds to the JSON property `deleteNamedRange` - # @return [Google::Apis::SheetsV4::DeleteNamedRangeRequest] - attr_accessor :delete_named_range - - # Updates properties of the named range with the specified - # namedRangeId. - # Corresponds to the JSON property `updateNamedRange` - # @return [Google::Apis::SheetsV4::UpdateNamedRangeRequest] - attr_accessor :update_named_range - - # Adds a filter view. - # Corresponds to the JSON property `addFilterView` - # @return [Google::Apis::SheetsV4::AddFilterViewRequest] - attr_accessor :add_filter_view - - # Updates properties of a spreadsheet. - # Corresponds to the JSON property `updateSpreadsheetProperties` - # @return [Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest] - attr_accessor :update_spreadsheet_properties - - # Appends rows or columns to the end of a sheet. - # Corresponds to the JSON property `appendDimension` - # @return [Google::Apis::SheetsV4::AppendDimensionRequest] - attr_accessor :append_dimension - - # Unmerges cells in the given range. - # Corresponds to the JSON property `unmergeCells` - # @return [Google::Apis::SheetsV4::UnmergeCellsRequest] - attr_accessor :unmerge_cells - - # Updates an existing protected range with the specified - # protectedRangeId. - # Corresponds to the JSON property `updateProtectedRange` - # @return [Google::Apis::SheetsV4::UpdateProtectedRangeRequest] - attr_accessor :update_protected_range - - # Deletes a particular filter view. - # Corresponds to the JSON property `deleteFilterView` - # @return [Google::Apis::SheetsV4::DeleteFilterViewRequest] - attr_accessor :delete_filter_view - - # Clears the basic filter, if any exists on the sheet. - # Corresponds to the JSON property `clearBasicFilter` - # @return [Google::Apis::SheetsV4::ClearBasicFilterRequest] - attr_accessor :clear_basic_filter - - # Sorts data in rows based on a sort order per column. - # Corresponds to the JSON property `sortRange` - # @return [Google::Apis::SheetsV4::SortRangeRequest] - attr_accessor :sort_range - - # Updates all cells in the range to the values in the given Cell object. - # Only the fields listed in the fields field are updated; others are - # unchanged. - # If writing a cell with a formula, the formula's ranges will automatically - # increment for each field in the range. - # For example, if writing a cell with formula `=A1` into range B2:C4, - # B2 would be `=A1`, B3 would be `=A2`, B4 would be `=A3`, - # C2 would be `=B1`, C3 would be `=B2`, C4 would be `=B3`. - # To keep the formula's ranges static, use the `$` indicator. - # For example, use the formula `=$A$1` to prevent both the row and the - # column from incrementing. - # Corresponds to the JSON property `repeatCell` - # @return [Google::Apis::SheetsV4::RepeatCellRequest] - attr_accessor :repeat_cell - - # Sets a data validation rule to every cell in the range. - # To clear validation in a range, call this with no rule specified. - # Corresponds to the JSON property `setDataValidation` - # @return [Google::Apis::SheetsV4::SetDataValidationRequest] - attr_accessor :set_data_validation - - # Updates all cells in a range with new data. - # Corresponds to the JSON property `updateCells` - # @return [Google::Apis::SheetsV4::UpdateCellsRequest] - attr_accessor :update_cells - - # Adds a new sheet. - # When a sheet is added at a given index, - # all subsequent sheets' indexes are incremented. - # To add an object sheet, use AddChartRequest instead and specify - # EmbeddedObjectPosition.sheetId or - # EmbeddedObjectPosition.newSheet. - # Corresponds to the JSON property `addSheet` - # @return [Google::Apis::SheetsV4::AddSheetRequest] - attr_accessor :add_sheet - - # Updates properties of the filter view. - # Corresponds to the JSON property `updateFilterView` - # @return [Google::Apis::SheetsV4::UpdateFilterViewRequest] - attr_accessor :update_filter_view - - # Updates properties of the sheet with the specified - # sheetId. - # Corresponds to the JSON property `updateSheetProperties` - # @return [Google::Apis::SheetsV4::UpdateSheetPropertiesRequest] - attr_accessor :update_sheet_properties - - # Updates properties of dimensions within the specified range. - # Corresponds to the JSON property `updateDimensionProperties` - # @return [Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest] - attr_accessor :update_dimension_properties - - # Deletes the requested sheet. - # Corresponds to the JSON property `deleteSheet` - # @return [Google::Apis::SheetsV4::DeleteSheetRequest] - attr_accessor :delete_sheet - - # Finds and replaces data in cells over a range, sheet, or all sheets. - # Corresponds to the JSON property `findReplace` - # @return [Google::Apis::SheetsV4::FindReplaceRequest] - attr_accessor :find_replace - - # Adds a new protected range. - # Corresponds to the JSON property `addProtectedRange` - # @return [Google::Apis::SheetsV4::AddProtectedRangeRequest] - attr_accessor :add_protected_range - - # Deletes the protected range with the given ID. - # Corresponds to the JSON property `deleteProtectedRange` - # @return [Google::Apis::SheetsV4::DeleteProtectedRangeRequest] - attr_accessor :delete_protected_range - - # Updates a conditional format rule at the given index, - # or moves a conditional format rule to another index. - # Corresponds to the JSON property `updateConditionalFormatRule` - # @return [Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest] - attr_accessor :update_conditional_format_rule - - # Sets the basic filter associated with a sheet. - # Corresponds to the JSON property `setBasicFilter` - # @return [Google::Apis::SheetsV4::SetBasicFilterRequest] - attr_accessor :set_basic_filter - - # Merges all cells in the range. - # Corresponds to the JSON property `mergeCells` - # @return [Google::Apis::SheetsV4::MergeCellsRequest] - attr_accessor :merge_cells - - # Adds a chart to a sheet in the spreadsheet. - # Corresponds to the JSON property `addChart` - # @return [Google::Apis::SheetsV4::AddChartRequest] - attr_accessor :add_chart - - # Deletes a conditional format rule at the given index. - # All subsequent rules' indexes are decremented. - # Corresponds to the JSON property `deleteConditionalFormatRule` - # @return [Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest] - attr_accessor :delete_conditional_format_rule - - # Updates a chart's specifications. - # (This does not move or resize a chart. To move or resize a chart, use - # UpdateEmbeddedObjectPositionRequest.) - # Corresponds to the JSON property `updateChartSpec` - # @return [Google::Apis::SheetsV4::UpdateChartSpecRequest] - attr_accessor :update_chart_spec - - # Deletes the dimensions from the sheet. - # Corresponds to the JSON property `deleteDimension` - # @return [Google::Apis::SheetsV4::DeleteDimensionRequest] - attr_accessor :delete_dimension - - # Deletes the embedded object with the given ID. - # Corresponds to the JSON property `deleteEmbeddedObject` - # @return [Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest] - attr_accessor :delete_embedded_object - - # Inserts data into the spreadsheet starting at the specified coordinate. - # Corresponds to the JSON property `pasteData` - # @return [Google::Apis::SheetsV4::PasteDataRequest] - attr_accessor :paste_data - - # Adds a new conditional format rule at the given index. - # All subsequent rules' indexes are incremented. - # Corresponds to the JSON property `addConditionalFormatRule` - # @return [Google::Apis::SheetsV4::AddConditionalFormatRuleRequest] - attr_accessor :add_conditional_format_rule - - # Updates the borders of a range. - # If a field is not set in the request, that means the border remains as-is. - # For example, with two subsequent UpdateBordersRequest: - # 1. range: A1:A5 `` top: RED, bottom: WHITE `` - # 2. range: A1:A5 `` left: BLUE `` - # That would result in A1:A5 having a borders of - # `` top: RED, bottom: WHITE, left: BLUE ``. - # If you want to clear a border, explicitly set the style to - # NONE. - # Corresponds to the JSON property `updateBorders` - # @return [Google::Apis::SheetsV4::UpdateBordersRequest] - attr_accessor :update_borders - - # Automatically resizes one or more dimensions based on the contents - # of the cells in that dimension. - # Corresponds to the JSON property `autoResizeDimensions` - # @return [Google::Apis::SheetsV4::AutoResizeDimensionsRequest] - attr_accessor :auto_resize_dimensions - - # Duplicates the contents of a sheet. - # Corresponds to the JSON property `duplicateSheet` - # @return [Google::Apis::SheetsV4::DuplicateSheetRequest] - attr_accessor :duplicate_sheet - - # Duplicates a particular filter view. - # Corresponds to the JSON property `duplicateFilterView` - # @return [Google::Apis::SheetsV4::DuplicateFilterViewRequest] - attr_accessor :duplicate_filter_view - - # Moves data from the source to the destination. - # Corresponds to the JSON property `cutPaste` - # @return [Google::Apis::SheetsV4::CutPasteRequest] - attr_accessor :cut_paste - - # Adds new cells after the last row with data in a sheet, - # inserting new rows into the sheet if necessary. - # Corresponds to the JSON property `appendCells` - # @return [Google::Apis::SheetsV4::AppendCellsRequest] - attr_accessor :append_cells - - # Adds a named range to the spreadsheet. - # Corresponds to the JSON property `addNamedRange` - # @return [Google::Apis::SheetsV4::AddNamedRangeRequest] - attr_accessor :add_named_range - - # Fills in more data based on existing data. - # Corresponds to the JSON property `autoFill` - # @return [Google::Apis::SheetsV4::AutoFillRequest] - attr_accessor :auto_fill - - # Moves one or more rows or columns. - # Corresponds to the JSON property `moveDimension` - # @return [Google::Apis::SheetsV4::MoveDimensionRequest] - attr_accessor :move_dimension - - # Splits a column of text into multiple columns, - # based on a delimiter in each cell. - # Corresponds to the JSON property `textToColumns` - # @return [Google::Apis::SheetsV4::TextToColumnsRequest] - attr_accessor :text_to_columns - - # Inserts rows or columns in a sheet at a particular index. - # Corresponds to the JSON property `insertDimension` - # @return [Google::Apis::SheetsV4::InsertDimensionRequest] - attr_accessor :insert_dimension - - # Copies data from the source to the destination. - # Corresponds to the JSON property `copyPaste` - # @return [Google::Apis::SheetsV4::CopyPasteRequest] - attr_accessor :copy_paste - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @update_embedded_object_position = args[:update_embedded_object_position] if args.key?(:update_embedded_object_position) - @delete_named_range = args[:delete_named_range] if args.key?(:delete_named_range) - @update_named_range = args[:update_named_range] if args.key?(:update_named_range) - @add_filter_view = args[:add_filter_view] if args.key?(:add_filter_view) - @update_spreadsheet_properties = args[:update_spreadsheet_properties] if args.key?(:update_spreadsheet_properties) - @append_dimension = args[:append_dimension] if args.key?(:append_dimension) - @unmerge_cells = args[:unmerge_cells] if args.key?(:unmerge_cells) - @update_protected_range = args[:update_protected_range] if args.key?(:update_protected_range) - @delete_filter_view = args[:delete_filter_view] if args.key?(:delete_filter_view) - @clear_basic_filter = args[:clear_basic_filter] if args.key?(:clear_basic_filter) - @sort_range = args[:sort_range] if args.key?(:sort_range) - @repeat_cell = args[:repeat_cell] if args.key?(:repeat_cell) - @set_data_validation = args[:set_data_validation] if args.key?(:set_data_validation) - @update_cells = args[:update_cells] if args.key?(:update_cells) - @add_sheet = args[:add_sheet] if args.key?(:add_sheet) - @update_filter_view = args[:update_filter_view] if args.key?(:update_filter_view) - @update_sheet_properties = args[:update_sheet_properties] if args.key?(:update_sheet_properties) - @update_dimension_properties = args[:update_dimension_properties] if args.key?(:update_dimension_properties) - @delete_sheet = args[:delete_sheet] if args.key?(:delete_sheet) - @find_replace = args[:find_replace] if args.key?(:find_replace) - @add_protected_range = args[:add_protected_range] if args.key?(:add_protected_range) - @delete_protected_range = args[:delete_protected_range] if args.key?(:delete_protected_range) - @update_conditional_format_rule = args[:update_conditional_format_rule] if args.key?(:update_conditional_format_rule) - @set_basic_filter = args[:set_basic_filter] if args.key?(:set_basic_filter) - @merge_cells = args[:merge_cells] if args.key?(:merge_cells) - @add_chart = args[:add_chart] if args.key?(:add_chart) - @delete_conditional_format_rule = args[:delete_conditional_format_rule] if args.key?(:delete_conditional_format_rule) - @update_chart_spec = args[:update_chart_spec] if args.key?(:update_chart_spec) - @delete_dimension = args[:delete_dimension] if args.key?(:delete_dimension) - @delete_embedded_object = args[:delete_embedded_object] if args.key?(:delete_embedded_object) - @paste_data = args[:paste_data] if args.key?(:paste_data) - @add_conditional_format_rule = args[:add_conditional_format_rule] if args.key?(:add_conditional_format_rule) - @update_borders = args[:update_borders] if args.key?(:update_borders) - @auto_resize_dimensions = args[:auto_resize_dimensions] if args.key?(:auto_resize_dimensions) - @duplicate_sheet = args[:duplicate_sheet] if args.key?(:duplicate_sheet) - @duplicate_filter_view = args[:duplicate_filter_view] if args.key?(:duplicate_filter_view) - @cut_paste = args[:cut_paste] if args.key?(:cut_paste) - @append_cells = args[:append_cells] if args.key?(:append_cells) - @add_named_range = args[:add_named_range] if args.key?(:add_named_range) - @auto_fill = args[:auto_fill] if args.key?(:auto_fill) - @move_dimension = args[:move_dimension] if args.key?(:move_dimension) - @text_to_columns = args[:text_to_columns] if args.key?(:text_to_columns) - @insert_dimension = args[:insert_dimension] if args.key?(:insert_dimension) - @copy_paste = args[:copy_paste] if args.key?(:copy_paste) - end - end - - # The response when retrieving more than one range of values in a spreadsheet. - class BatchGetValuesResponse - include Google::Apis::Core::Hashable - - # The requested values. The order of the ValueRanges is the same as the - # order of the requested ranges. - # Corresponds to the JSON property `valueRanges` - # @return [Array] - attr_accessor :value_ranges - - # The ID of the spreadsheet the data was retrieved from. - # Corresponds to the JSON property `spreadsheetId` - # @return [String] - attr_accessor :spreadsheet_id - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value_ranges = args[:value_ranges] if args.key?(:value_ranges) - @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) - end - end - - # Inserts rows or columns in a sheet at a particular index. - class InsertDimensionRequest - include Google::Apis::Core::Hashable - - # Whether dimension properties should be extended from the dimensions - # before or after the newly inserted dimensions. - # True to inherit from the dimensions before (in which case the start - # index must be greater than 0), and false to inherit from the dimensions - # after. - # For example, if row index 0 has red background and row index 1 - # has a green background, then inserting 2 rows at index 1 can inherit - # either the green or red background. If `inheritFromBefore` is true, - # the two new rows will be red (because the row before the insertion point - # was red), whereas if `inheritFromBefore` is false, the two new rows will - # be green (because the row after the insertion point was green). - # Corresponds to the JSON property `inheritFromBefore` - # @return [Boolean] - attr_accessor :inherit_from_before - alias_method :inherit_from_before?, :inherit_from_before - - # A range along a single dimension on a sheet. - # All indexes are zero-based. - # Indexes are half open: the start index is inclusive - # and the end index is exclusive. - # Missing indexes indicate the range is unbounded on that side. - # Corresponds to the JSON property `range` - # @return [Google::Apis::SheetsV4::DimensionRange] - attr_accessor :range - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @inherit_from_before = args[:inherit_from_before] if args.key?(:inherit_from_before) - @range = args[:range] if args.key?(:range) - end - end - - # Deletes the embedded object with the given ID. - class DeleteEmbeddedObjectRequest - include Google::Apis::Core::Hashable - - # The ID of the embedded object to delete. - # Corresponds to the JSON property `objectId` - # @return [Fixnum] - attr_accessor :object_id_prop - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) - end - end - - # The result of deleting a conditional format rule. - class DeleteConditionalFormatRuleResponse - include Google::Apis::Core::Hashable - - # A rule describing a conditional format. - # Corresponds to the JSON property `rule` - # @return [Google::Apis::SheetsV4::ConditionalFormatRule] - attr_accessor :rule - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @rule = args[:rule] if args.key?(:rule) + @inner_horizontal = args[:inner_horizontal] if args.key?(:inner_horizontal) end end end diff --git a/generated/google/apis/sheets_v4/representations.rb b/generated/google/apis/sheets_v4/representations.rb index 36176b9c0..ec89d4944 100644 --- a/generated/google/apis/sheets_v4/representations.rb +++ b/generated/google/apis/sheets_v4/representations.rb @@ -22,373 +22,13 @@ module Google module Apis module SheetsV4 - class AddNamedRangeResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateProtectedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Padding - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class MergeCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddSheetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotGroupValueMetadata - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateEmbeddedObjectPositionResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateConditionalFormatRuleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextFormat - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateChartSpecRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridCoordinate - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateNamedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SpreadsheetProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CellData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UnmergeCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextToColumnsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddProtectedRangeResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BooleanCondition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteProtectedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartDomain - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Response - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddConditionalFormatRuleRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilterView - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SortRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TextFormatRun - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateConditionalFormatRuleResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FilterCriteria - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotTable - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DataValidationRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateSpreadsheetPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ChartSourceRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateValuesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ClearBasicFilterRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConditionalFormatRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateBordersRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotFilterCriteria - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Borders - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EmbeddedChart - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Color - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddSheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddProtectedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ValueRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FindReplaceResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendValuesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class CellFormat class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class MoveDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartAxis - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotGroupSortValueBucket - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DimensionProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EmbeddedObjectPosition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class InterpolationPoint - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ErrorValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateFilterViewRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchUpdateSpreadsheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SheetProperties - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ProtectedRange + class ClearValuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -400,199 +40,13 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ChartSpec + class DeleteNamedRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SourceAndDestination - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ConditionValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PasteDataRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class FindReplaceRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SortSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CopySheetToAnotherSpreadsheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NumberFormat - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateDimensionPropertiesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Editors - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Spreadsheet - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotValue - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicFilter - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateSheetRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddFilterViewResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateSheetResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Border - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddNamedRangeRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddChartResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendCellsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RowData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartSeries - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class RepeatCellRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BasicChartSpec - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class NamedRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SetBasicFilterRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class UpdateEmbeddedObjectPositionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AutoResizeDimensionsRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DuplicateFilterViewResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PivotGroup - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GridRange - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DeleteSheetRequest + class AddBandingResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -604,13 +58,121 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Sheet + class BatchGetValuesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class CopyPasteRequest + class UpdateBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotTable + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartSourceRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ValueRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppendCellsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Response + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextFormatRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedChart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddNamedRangeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RowData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Border + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GridData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FindReplaceRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddSheetRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -622,43 +184,19 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class ExtendedValue + class DeleteConditionalFormatRuleResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class BatchUpdateSpreadsheetResponse + class DeleteRangeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GradientRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class CutPasteRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class OverlayPosition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AutoFillRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class PieChartSpec + class GridCoordinate class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -670,19 +208,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BooleanRule - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AppendDimensionRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class AddFilterViewRequest + class UnmergeCellsRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -694,19 +220,115 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DeleteNamedRangeRequest + class Sheet class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AddChartRequest + class SortSpec class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class SetDataValidationRequest + class UpdateEmbeddedObjectPositionResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BooleanRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilterCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroupValueMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Editors + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateConditionalFormatRuleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartDomain + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DataValidationRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PasteDataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppendDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddNamedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateEmbeddedObjectPositionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextRotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PieChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConditionalFormatRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CopyPasteRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -718,13 +340,289 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BatchGetValuesResponse + class BooleanCondition class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class InsertDimensionRequest + class GridRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetDataValidationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CellData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateSpreadsheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartAxis + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Padding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateChartSpecRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SortRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MergeCellsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddProtectedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchClearValuesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateFilterViewResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateSheetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClearBasicFilterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextToColumnsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteBandingRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateSpreadsheetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AppendValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotFilterCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MoveDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddConditionalFormatRuleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ChartSpec + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NumberFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateDimensionPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SourceAndDestination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FilterView + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BandingProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddProtectedRangeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ErrorValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CopySheetToAnotherSpreadsheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PivotGroupSortValueBucket + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EmbeddedObjectPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteProtectedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoFillRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GradientRule + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ClearValuesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SetBasicFilterRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InterpolationPoint class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -736,356 +634,297 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class DeleteConditionalFormatRuleResponse + class FindReplaceResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AddNamedRangeResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + class DuplicateFilterViewRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - end + include Google::Apis::Core::JsonObjectSupport end - class UpdateProtectedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + class DeleteSheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end - property :fields, as: 'fields' - end - end - - class Padding - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :right, as: 'right' - property :left, as: 'left' - property :top, as: 'top' - property :bottom, as: 'bottom' - end - end - - class MergeCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :merge_type, as: 'mergeType' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class AddSheetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class PivotGroupValueMetadata - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - property :collapsed, as: 'collapsed' - end - end - - class UpdateEmbeddedObjectPositionResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation - - end - end - - class UpdateConditionalFormatRuleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :index, as: 'index' - property :new_index, as: 'newIndex' - end - end - - class TextFormat - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :bold, as: 'bold' - property :italic, as: 'italic' - property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :font_family, as: 'fontFamily' - property :strikethrough, as: 'strikethrough' - property :font_size, as: 'fontSize' - property :underline, as: 'underline' - end - end - - class UpdateChartSpecRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chart_id, as: 'chartId' - property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation - - end - end - - class GridCoordinate - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :row_index, as: 'rowIndex' - property :column_index, as: 'columnIndex' - end - end - - class DeleteFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter_id, as: 'filterId' - end - end - - class BatchUpdateValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :total_updated_sheets, as: 'totalUpdatedSheets' - property :total_updated_columns, as: 'totalUpdatedColumns' - collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation - - property :total_updated_cells, as: 'totalUpdatedCells' - property :spreadsheet_id, as: 'spreadsheetId' - property :total_updated_rows, as: 'totalUpdatedRows' - end - end - - class UpdateNamedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation - - end - end - - class UpdateValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :updated_range, as: 'updatedRange' - property :updated_columns, as: 'updatedColumns' - property :spreadsheet_id, as: 'spreadsheetId' - property :updated_rows, as: 'updatedRows' - property :updated_cells, as: 'updatedCells' - end - end - - class SpreadsheetProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :time_zone, as: 'timeZone' - property :auto_recalc, as: 'autoRecalc' - property :locale, as: 'locale' - property :title, as: 'title' - property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - - end - end - - class CellData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :hyperlink, as: 'hyperlink' - property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - - property :note, as: 'note' - property :formatted_value, as: 'formattedValue' - property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation - - property :user_entered_format, as: 'userEnteredFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - - property :pivot_table, as: 'pivotTable', class: Google::Apis::SheetsV4::PivotTable, decorator: Google::Apis::SheetsV4::PivotTable::Representation - - collection :text_format_runs, as: 'textFormatRuns', class: Google::Apis::SheetsV4::TextFormatRun, decorator: Google::Apis::SheetsV4::TextFormatRun::Representation - - property :effective_value, as: 'effectiveValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - end - end - - class UnmergeCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class TextToColumnsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :delimiter, as: 'delimiter' - property :delimiter_type, as: 'delimiterType' - end - end - - class AddProtectedRangeResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation - - end - end - - class BooleanCondition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation - - property :type, as: 'type' - end - end - - class DeleteProtectedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range_id, as: 'protectedRangeId' - end - end - - class BasicChartDomain - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class DimensionRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :end_index, as: 'endIndex' - property :start_index, as: 'startIndex' - property :dimension, as: 'dimension' - end - end - - class Response - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation - - property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation - - property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation - - property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation - - property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeResponse, decorator: Google::Apis::SheetsV4::AddProtectedRangeResponse::Representation - - property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation - - property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation - - property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation - - property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation - - property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation - - property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation - - end - end - - class AddConditionalFormatRuleRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - property :index, as: 'index' - end - end - - class FilterView - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :named_range_id, as: 'namedRangeId' - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation - - property :filter_view_id, as: 'filterViewId' - end - end - - class SortRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - end - end - - class TextFormatRun - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :start_index, as: 'startIndex' - property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - end - end - - class UpdateFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - property :fields, as: 'fields' - end + include Google::Apis::Core::JsonObjectSupport end class UpdateConditionalFormatRuleResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateSheetRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConditionValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExtendedValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Spreadsheet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchClearValuesResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BandedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateProtectedRangeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddSheetResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddFilterViewResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class IterativeCalculationSettings + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OverlayPosition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpreadsheetProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RepeatCellRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AddChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertDimensionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSpreadsheetPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ProtectedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdateValuesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NamedRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DimensionRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CutPasteRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Borders + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BasicChartSeries + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoResizeDimensionsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateBordersRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CellFormat # @private class Representation < Google::Apis::Core::JsonRepresentation - property :old_index, as: 'oldIndex' - property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + property :vertical_alignment, as: 'verticalAlignment' + property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation + + property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation + + property :text_direction, as: 'textDirection' + property :wrap_strategy, as: 'wrapStrategy' + property :text_rotation, as: 'textRotation', class: Google::Apis::SheetsV4::TextRotation, decorator: Google::Apis::SheetsV4::TextRotation::Representation + + property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation + + property :horizontal_alignment, as: 'horizontalAlignment' + property :hyperlink_display_type, as: 'hyperlinkDisplayType' + property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - property :new_index, as: 'newIndex' end end - class FilterCriteria + class ClearValuesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - - collection :hidden_values, as: 'hiddenValues' + property :cleared_range, as: 'clearedRange' + property :spreadsheet_id, as: 'spreadsheetId' end end - class DeleteDimensionRequest + class DeleteConditionalFormatRuleRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + property :index, as: 'index' + property :sheet_id, as: 'sheetId' + end + end + + class DeleteNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range_id, as: 'namedRangeId' + end + end + + class AddBandingResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + end + end + + class ChartData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation + + end + end + + class BatchGetValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class UpdateBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + end + end + + class Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :red, as: 'red' + property :green, as: 'green' + property :blue, as: 'blue' + property :alpha, as: 'alpha' + end + end + + class PivotGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sort_order, as: 'sortOrder' + property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation + + property :source_column_offset, as: 'sourceColumnOffset' + property :show_totals, as: 'showTotals' + collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation end end @@ -1093,36 +932,16 @@ module Google class PivotTable # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value_layout, as: 'valueLayout' - collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation - - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation collection :rows, as: 'rows', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation + property :value_layout, as: 'valueLayout' + collection :columns, as: 'columns', class: Google::Apis::SheetsV4::PivotGroup, decorator: Google::Apis::SheetsV4::PivotGroup::Representation + collection :values, as: 'values', class: Google::Apis::SheetsV4::PivotValue, decorator: Google::Apis::SheetsV4::PivotValue::Representation - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::PivotFilterCriteria, decorator: Google::Apis::SheetsV4::PivotFilterCriteria::Representation - - end - end - - class DataValidationRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - - property :input_message, as: 'inputMessage' - property :show_custom_ui, as: 'showCustomUi' - property :strict, as: 'strict' - end - end - - class UpdateSpreadsheetPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation end end @@ -1135,71 +954,81 @@ module Google end end - class BatchUpdateValuesRequest + class ValueRange # @private class Representation < Google::Apis::Core::JsonRepresentation - property :value_input_option, as: 'valueInputOption' - collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + property :range, as: 'range' + property :major_dimension, as: 'majorDimension' + collection :values, as: 'values', :class => Array do + include Representable::JSON::Collection + items + end end end - class ClearBasicFilterRequest + class AppendCellsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + + property :fields, as: 'fields' property :sheet_id, as: 'sheetId' end end - class ConditionalFormatRule + class AddBandingRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation - - property :boolean_rule, as: 'booleanRule', class: Google::Apis::SheetsV4::BooleanRule, decorator: Google::Apis::SheetsV4::BooleanRule::Representation - - collection :ranges, as: 'ranges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :banded_range, as: 'bandedRange', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation end end - class UpdateBordersRequest + class Response # @private class Representation < Google::Apis::Core::JsonRepresentation - property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeResponse, decorator: Google::Apis::SheetsV4::AddProtectedRangeResponse::Representation - property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation - property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation - property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation + property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation + + property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartResponse, decorator: Google::Apis::SheetsV4::AddChartResponse::Representation + + property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceResponse, decorator: Google::Apis::SheetsV4::FindReplaceResponse::Representation + + property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation + + property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation + + property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeResponse, decorator: Google::Apis::SheetsV4::AddNamedRangeResponse::Representation + + property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewResponse, decorator: Google::Apis::SheetsV4::AddFilterViewResponse::Representation + + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingResponse, decorator: Google::Apis::SheetsV4::AddBandingResponse::Representation + + end + end + + class InsertRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :shift_dimension, as: 'shiftDimension' property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - end end - class PivotFilterCriteria + class TextFormatRun # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :visible_values, as: 'visibleValues' - end - end - - class Borders - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation - - property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + property :start_index, as: 'startIndex' + property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation end end @@ -1215,13 +1044,68 @@ module Google end end - class Color + class AddNamedRangeResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :green, as: 'green' - property :blue, as: 'blue' - property :red, as: 'red' - property :alpha, as: 'alpha' + property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + + end + end + + class RowData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation + + end + end + + class Border + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width' + property :style, as: 'style' + property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + end + end + + class GridData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_row, as: 'startRow' + collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + property :start_column, as: 'startColumn' + collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + + end + end + + class FindReplaceRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :sheet_id, as: 'sheetId' + property :match_case, as: 'matchCase' + property :all_sheets, as: 'allSheets' + property :include_formulas, as: 'includeFormulas' + property :match_entire_cell, as: 'matchEntireCell' + property :find, as: 'find' + property :search_by_regex, as: 'searchByRegex' + property :replacement, as: 'replacement' + end + end + + class UpdateNamedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range, as: 'namedRange', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + + property :fields, as: 'fields' end end @@ -1233,278 +1117,137 @@ module Google end end - class AddProtectedRangeRequest + class UpdateCellsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + property :start, as: 'start', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation + + property :fields, as: 'fields' + end + end + + class DeleteConditionalFormatRuleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation end end - class ValueRange + class DeleteRangeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', :class => Array do - include Representable::JSON::Collection - items - end - - property :range, as: 'range' - property :major_dimension, as: 'majorDimension' - end - end - - class FindReplaceResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :values_changed, as: 'valuesChanged' - property :rows_changed, as: 'rowsChanged' - property :occurrences_changed, as: 'occurrencesChanged' - property :formulas_changed, as: 'formulasChanged' - property :sheets_changed, as: 'sheetsChanged' - end - end - - class AppendValuesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - property :table_range, as: 'tableRange' - property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation - - end - end - - class CellFormat - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :horizontal_alignment, as: 'horizontalAlignment' - property :hyperlink_display_type, as: 'hyperlinkDisplayType' - property :borders, as: 'borders', class: Google::Apis::SheetsV4::Borders, decorator: Google::Apis::SheetsV4::Borders::Representation - - property :text_direction, as: 'textDirection' - property :text_format, as: 'textFormat', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - property :padding, as: 'padding', class: Google::Apis::SheetsV4::Padding, decorator: Google::Apis::SheetsV4::Padding::Representation - - property :number_format, as: 'numberFormat', class: Google::Apis::SheetsV4::NumberFormat, decorator: Google::Apis::SheetsV4::NumberFormat::Representation - - property :wrap_strategy, as: 'wrapStrategy' - property :background_color, as: 'backgroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :vertical_alignment, as: 'verticalAlignment' - end - end - - class MoveDimensionRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - - property :destination_index, as: 'destinationIndex' - end - end - - class BasicChartAxis - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :position, as: 'position' - property :title, as: 'title' - property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - - end - end - - class PivotGroupSortValueBucket - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :buckets, as: 'buckets', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - - property :values_index, as: 'valuesIndex' - end - end - - class DimensionProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :hidden_by_user, as: 'hiddenByUser' - property :pixel_size, as: 'pixelSize' - property :hidden_by_filter, as: 'hiddenByFilter' - end - end - - class EmbeddedObjectPosition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :overlay_position, as: 'overlayPosition', class: Google::Apis::SheetsV4::OverlayPosition, decorator: Google::Apis::SheetsV4::OverlayPosition::Representation - - property :new_sheet, as: 'newSheet' - end - end - - class InterpolationPoint - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :type, as: 'type' - end - end - - class ErrorValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :type, as: 'type' - property :message, as: 'message' - end - end - - class DuplicateFilterViewRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter_id, as: 'filterId' - end - end - - class BatchUpdateSpreadsheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation - - end - end - - class SheetProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :title, as: 'title' - property :index, as: 'index' - property :hidden, as: 'hidden' - property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation - - property :sheet_id, as: 'sheetId' - property :right_to_left, as: 'rightToLeft' - property :tab_color, as: 'tabColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - - property :sheet_type, as: 'sheetType' - end - end - - class ProtectedRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :description, as: 'description' - property :named_range_id, as: 'namedRangeId' - property :requesting_user_can_edit, as: 'requestingUserCanEdit' - property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation - - property :protected_range_id, as: 'protectedRangeId' - property :warning_only, as: 'warningOnly' + property :shift_dimension, as: 'shiftDimension' property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation end end - class DeleteConditionalFormatRuleRequest + class GridCoordinate # @private class Representation < Google::Apis::Core::JsonRepresentation + property :row_index, as: 'rowIndex' + property :column_index, as: 'columnIndex' property :sheet_id, as: 'sheetId' - property :index, as: 'index' end end - class ChartSpec + class UpdateSheetPropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy' - property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation - - property :title, as: 'title' - property :pie_chart, as: 'pieChart', class: Google::Apis::SheetsV4::PieChartSpec, decorator: Google::Apis::SheetsV4::PieChartSpec::Representation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation end end - class SourceAndDestination + class UnmergeCellsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :fill_length, as: 'fillLength' - property :dimension, as: 'dimension' - end - end - - class ConditionValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :relative_date, as: 'relativeDate' - property :user_entered_value, as: 'userEnteredValue' - end - end - - class PasteDataRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data' - property :coordinate, as: 'coordinate', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :delimiter, as: 'delimiter' - property :type, as: 'type' - property :html, as: 'html' - end - end - - class FindReplaceRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :find, as: 'find' - property :replacement, as: 'replacement' - property :search_by_regex, as: 'searchByRegex' - property :sheet_id, as: 'sheetId' - property :all_sheets, as: 'allSheets' - property :match_case, as: 'matchCase' - property :include_formulas, as: 'includeFormulas' property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - property :match_entire_cell, as: 'matchEntireCell' + end + end + + class GridProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_count, as: 'rowCount' + property :frozen_row_count, as: 'frozenRowCount' + property :hide_gridlines, as: 'hideGridlines' + property :column_count, as: 'columnCount' + property :frozen_column_count, as: 'frozenColumnCount' + end + end + + class Sheet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :basic_filter, as: 'basicFilter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation + + collection :merges, as: 'merges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation + + collection :banded_ranges, as: 'bandedRanges', class: Google::Apis::SheetsV4::BandedRange, decorator: Google::Apis::SheetsV4::BandedRange::Representation + + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + + collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + end end class SortSpec # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sort_order, as: 'sortOrder' property :dimension_index, as: 'dimensionIndex' + property :sort_order, as: 'sortOrder' end end - class CopySheetToAnotherSpreadsheetRequest + class UpdateEmbeddedObjectPositionResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :destination_spreadsheet_id, as: 'destinationSpreadsheetId' + property :position, as: 'position', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation + end end - class NumberFormat + class BooleanRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :pattern, as: 'pattern' - property :type, as: 'type' + property :format, as: 'format', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation + end end - class UpdateDimensionPropertiesRequest + class FilterCriteria # @private class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + collection :hidden_values, as: 'hiddenValues' + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + end + end + + class PivotGroupValueMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :collapsed, as: 'collapsed' + property :value, as: 'value', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation end end @@ -1518,88 +1261,54 @@ module Google end end - class Spreadsheet + class UpdateConditionalFormatRuleRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + property :new_index, as: 'newIndex' + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation + property :index, as: 'index' + property :sheet_id, as: 'sheetId' + end + end - collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + class BasicChartDomain + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation end end - class GridData + class DataValidationRule # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - collection :row_data, as: 'rowData', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation - - property :start_row, as: 'startRow' - collection :row_metadata, as: 'rowMetadata', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation - - property :start_column, as: 'startColumn' + property :show_custom_ui, as: 'showCustomUi' + property :strict, as: 'strict' + property :input_message, as: 'inputMessage' end end - class PivotValue + class PasteDataRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :formula, as: 'formula' - property :source_column_offset, as: 'sourceColumnOffset' - property :summarize_function, as: 'summarizeFunction' - property :name, as: 'name' + property :type, as: 'type' + property :html, as: 'html' + property :coordinate, as: 'coordinate', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :data, as: 'data' + property :delimiter, as: 'delimiter' end end - class BasicFilter + class AppendDimensionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation - - end - end - - class DuplicateSheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source_sheet_id, as: 'sourceSheetId' - property :new_sheet_id, as: 'newSheetId' - property :insert_sheet_index, as: 'insertSheetIndex' - property :new_sheet_name, as: 'newSheetName' - end - end - - class AddFilterViewResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - end - end - - class DuplicateSheetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class Border - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :style, as: 'style' - property :width, as: 'width' - property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation - + property :length, as: 'length' + property :sheet_id, as: 'sheetId' + property :dimension, as: 'dimension' end end @@ -1611,169 +1320,54 @@ module Google end end - class AddChartResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation - - end - end - - class AppendCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation - - property :fields, as: 'fields' - end - end - - class RowData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :values, as: 'values', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation - - end - end - - class BasicChartSeries - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :target_axis, as: 'targetAxis' - property :type, as: 'type' - end - end - - class RepeatCellRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation - - property :fields, as: 'fields' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class BasicChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chart_type, as: 'chartType' - collection :domains, as: 'domains', class: Google::Apis::SheetsV4::BasicChartDomain, decorator: Google::Apis::SheetsV4::BasicChartDomain::Representation - - property :header_count, as: 'headerCount' - collection :series, as: 'series', class: Google::Apis::SheetsV4::BasicChartSeries, decorator: Google::Apis::SheetsV4::BasicChartSeries::Representation - - property :legend_position, as: 'legendPosition' - collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation - - end - end - - class NamedRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range_id, as: 'namedRangeId' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :name, as: 'name' - end - end - - class SetBasicFilterRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation - - end - end - class UpdateEmbeddedObjectPositionRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' property :new_position, as: 'newPosition', class: Google::Apis::SheetsV4::EmbeddedObjectPosition, decorator: Google::Apis::SheetsV4::EmbeddedObjectPosition::Representation - property :object_id_prop, as: 'objectId' property :fields, as: 'fields' end end - class AutoResizeDimensionsRequest + class TextRotation # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation - + property :angle, as: 'angle' + property :vertical, as: 'vertical' end end - class DuplicateFilterViewResponse + class PieChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :three_dimensional, as: 'threeDimensional' + property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :legend_position, as: 'legendPosition' + property :pie_hole, as: 'pieHole' + end + end + + class UpdateFilterViewRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + property :fields, as: 'fields' end end - class PivotGroup + class ConditionalFormatRule # @private class Representation < Google::Apis::Core::JsonRepresentation - property :sort_order, as: 'sortOrder' - property :source_column_offset, as: 'sourceColumnOffset' - property :show_totals, as: 'showTotals' - property :value_bucket, as: 'valueBucket', class: Google::Apis::SheetsV4::PivotGroupSortValueBucket, decorator: Google::Apis::SheetsV4::PivotGroupSortValueBucket::Representation + collection :ranges, as: 'ranges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - collection :value_metadata, as: 'valueMetadata', class: Google::Apis::SheetsV4::PivotGroupValueMetadata, decorator: Google::Apis::SheetsV4::PivotGroupValueMetadata::Representation + property :gradient_rule, as: 'gradientRule', class: Google::Apis::SheetsV4::GradientRule, decorator: Google::Apis::SheetsV4::GradientRule::Representation - end - end - - class GridRange - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - property :start_column_index, as: 'startColumnIndex' - property :start_row_index, as: 'startRowIndex' - property :end_row_index, as: 'endRowIndex' - property :end_column_index, as: 'endColumnIndex' - end - end - - class DeleteSheetRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :sheet_id, as: 'sheetId' - end - end - - class ChartData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source_range, as: 'sourceRange', class: Google::Apis::SheetsV4::ChartSourceRange, decorator: Google::Apis::SheetsV4::ChartSourceRange::Representation - - end - end - - class Sheet - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - collection :charts, as: 'charts', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation - - collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation - - collection :conditional_formats, as: 'conditionalFormats', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation - - collection :protected_ranges, as: 'protectedRanges', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation - - property :basic_filter, as: 'basicFilter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation - - collection :merges, as: 'merges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation + property :boolean_rule, as: 'booleanRule', class: Google::Apis::SheetsV4::BooleanRule, decorator: Google::Apis::SheetsV4::BooleanRule::Representation end end @@ -1781,166 +1375,150 @@ module Google class CopyPasteRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :paste_type, as: 'pasteType' + property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + property :paste_orientation, as: 'pasteOrientation' property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class UpdateCellsRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :rows, as: 'rows', class: Google::Apis::SheetsV4::RowData, decorator: Google::Apis::SheetsV4::RowData::Representation - - property :fields, as: 'fields' - property :start, as: 'start', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - end - end - - class ExtendedValue - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :formula_value, as: 'formulaValue' - property :error_value, as: 'errorValue', class: Google::Apis::SheetsV4::ErrorValue, decorator: Google::Apis::SheetsV4::ErrorValue::Representation - - property :bool_value, as: 'boolValue' - property :number_value, as: 'numberValue' - property :string_value, as: 'stringValue' - end - end - - class BatchUpdateSpreadsheetResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :spreadsheet_id, as: 'spreadsheetId' - collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation - - end - end - - class GradientRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :maxpoint, as: 'maxpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - property :minpoint, as: 'minpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation - - end - end - - class CutPasteRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation property :paste_type, as: 'pasteType' - property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + end + end - property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation + + property :update_filter_view, as: 'updateFilterView', class: Google::Apis::SheetsV4::UpdateFilterViewRequest, decorator: Google::Apis::SheetsV4::UpdateFilterViewRequest::Representation + + property :add_banding, as: 'addBanding', class: Google::Apis::SheetsV4::AddBandingRequest, decorator: Google::Apis::SheetsV4::AddBandingRequest::Representation + + property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation + + property :append_cells, as: 'appendCells', class: Google::Apis::SheetsV4::AppendCellsRequest, decorator: Google::Apis::SheetsV4::AppendCellsRequest::Representation + + property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation + + property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation + + property :update_named_range, as: 'updateNamedRange', class: Google::Apis::SheetsV4::UpdateNamedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateNamedRangeRequest::Representation + + property :update_sheet_properties, as: 'updateSheetProperties', class: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest::Representation + + property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation + + property :auto_fill, as: 'autoFill', class: Google::Apis::SheetsV4::AutoFillRequest, decorator: Google::Apis::SheetsV4::AutoFillRequest::Representation + + property :sort_range, as: 'sortRange', class: Google::Apis::SheetsV4::SortRangeRequest, decorator: Google::Apis::SheetsV4::SortRangeRequest::Representation + + property :delete_protected_range, as: 'deleteProtectedRange', class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteProtectedRangeRequest::Representation + + property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewRequest, decorator: Google::Apis::SheetsV4::DuplicateFilterViewRequest::Representation + + property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation + + property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceRequest, decorator: Google::Apis::SheetsV4::FindReplaceRequest::Representation + + property :text_to_columns, as: 'textToColumns', class: Google::Apis::SheetsV4::TextToColumnsRequest, decorator: Google::Apis::SheetsV4::TextToColumnsRequest::Representation + + property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation + + property :update_protected_range, as: 'updateProtectedRange', class: Google::Apis::SheetsV4::UpdateProtectedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateProtectedRangeRequest::Representation + + property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation + + property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation + + property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation + + property :insert_dimension, as: 'insertDimension', class: Google::Apis::SheetsV4::InsertDimensionRequest, decorator: Google::Apis::SheetsV4::InsertDimensionRequest::Representation + + property :delete_range, as: 'deleteRange', class: Google::Apis::SheetsV4::DeleteRangeRequest, decorator: Google::Apis::SheetsV4::DeleteRangeRequest::Representation + + property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation + + property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation + + property :set_data_validation, as: 'setDataValidation', class: Google::Apis::SheetsV4::SetDataValidationRequest, decorator: Google::Apis::SheetsV4::SetDataValidationRequest::Representation + + property :update_borders, as: 'updateBorders', class: Google::Apis::SheetsV4::UpdateBordersRequest, decorator: Google::Apis::SheetsV4::UpdateBordersRequest::Representation + + property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation + + property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation + + property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation + + property :append_dimension, as: 'appendDimension', class: Google::Apis::SheetsV4::AppendDimensionRequest, decorator: Google::Apis::SheetsV4::AppendDimensionRequest::Representation + + property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation + + property :insert_range, as: 'insertRange', class: Google::Apis::SheetsV4::InsertRangeRequest, decorator: Google::Apis::SheetsV4::InsertRangeRequest::Representation + + property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation + + property :update_banding, as: 'updateBanding', class: Google::Apis::SheetsV4::UpdateBandingRequest, decorator: Google::Apis::SheetsV4::UpdateBandingRequest::Representation + + property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation + + property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation + + property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation + + property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation + + property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation + + property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation + + property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation + + property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation + + property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation + + property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation + + property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation + + property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation + + property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation end end - class OverlayPosition + class BooleanCondition # @private class Representation < Google::Apis::Core::JsonRepresentation - property :width_pixels, as: 'widthPixels' - property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation - - property :offset_x_pixels, as: 'offsetXPixels' - property :height_pixels, as: 'heightPixels' - property :offset_y_pixels, as: 'offsetYPixels' - end - end - - class AutoFillRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :use_alternate_series, as: 'useAlternateSeries' - property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation - - property :source_and_destination, as: 'sourceAndDestination', class: Google::Apis::SheetsV4::SourceAndDestination, decorator: Google::Apis::SheetsV4::SourceAndDestination::Representation + property :type, as: 'type' + collection :values, as: 'values', class: Google::Apis::SheetsV4::ConditionValue, decorator: Google::Apis::SheetsV4::ConditionValue::Representation end end - class PieChartSpec - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :legend_position, as: 'legendPosition' - property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - property :pie_hole, as: 'pieHole' - property :three_dimensional, as: 'threeDimensional' - property :domain, as: 'domain', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation - - end - end - - class UpdateSheetPropertiesRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :fields, as: 'fields' - property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation - - end - end - - class BooleanRule - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :condition, as: 'condition', class: Google::Apis::SheetsV4::BooleanCondition, decorator: Google::Apis::SheetsV4::BooleanCondition::Representation - - property :format, as: 'format', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - - end - end - - class AppendDimensionRequest + class GridRange # @private class Representation < Google::Apis::Core::JsonRepresentation + property :start_column_index, as: 'startColumnIndex' property :sheet_id, as: 'sheetId' - property :length, as: 'length' - property :dimension, as: 'dimension' + property :end_row_index, as: 'endRowIndex' + property :end_column_index, as: 'endColumnIndex' + property :start_row_index, as: 'startRowIndex' end end - class AddFilterViewRequest + class BasicChartSpec # @private class Representation < Google::Apis::Core::JsonRepresentation - property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + property :chart_type, as: 'chartType' + collection :series, as: 'series', class: Google::Apis::SheetsV4::BasicChartSeries, decorator: Google::Apis::SheetsV4::BasicChartSeries::Representation - end - end + property :legend_position, as: 'legendPosition' + collection :domains, as: 'domains', class: Google::Apis::SheetsV4::BasicChartDomain, decorator: Google::Apis::SheetsV4::BasicChartDomain::Representation - class GridProperties - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :row_count, as: 'rowCount' - property :column_count, as: 'columnCount' - property :frozen_row_count, as: 'frozenRowCount' - property :frozen_column_count, as: 'frozenColumnCount' - property :hide_gridlines, as: 'hideGridlines' - end - end - - class DeleteNamedRangeRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :named_range_id, as: 'namedRangeId' - end - end - - class AddChartRequest - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + property :header_count, as: 'headerCount' + collection :axis, as: 'axis', class: Google::Apis::SheetsV4::BasicChartAxis, decorator: Google::Apis::SheetsV4::BasicChartAxis::Representation end end @@ -1955,115 +1533,439 @@ module Google end end - class Request + class CellData # @private class Representation < Google::Apis::Core::JsonRepresentation - property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation + property :pivot_table, as: 'pivotTable', class: Google::Apis::SheetsV4::PivotTable, decorator: Google::Apis::SheetsV4::PivotTable::Representation - property :delete_named_range, as: 'deleteNamedRange', class: Google::Apis::SheetsV4::DeleteNamedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteNamedRangeRequest::Representation + property :user_entered_format, as: 'userEnteredFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - property :update_named_range, as: 'updateNamedRange', class: Google::Apis::SheetsV4::UpdateNamedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateNamedRangeRequest::Representation + property :note, as: 'note' + property :effective_format, as: 'effectiveFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation - property :add_filter_view, as: 'addFilterView', class: Google::Apis::SheetsV4::AddFilterViewRequest, decorator: Google::Apis::SheetsV4::AddFilterViewRequest::Representation + property :user_entered_value, as: 'userEnteredValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - property :update_spreadsheet_properties, as: 'updateSpreadsheetProperties', class: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSpreadsheetPropertiesRequest::Representation + property :data_validation, as: 'dataValidation', class: Google::Apis::SheetsV4::DataValidationRule, decorator: Google::Apis::SheetsV4::DataValidationRule::Representation - property :append_dimension, as: 'appendDimension', class: Google::Apis::SheetsV4::AppendDimensionRequest, decorator: Google::Apis::SheetsV4::AppendDimensionRequest::Representation + property :effective_value, as: 'effectiveValue', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation - property :unmerge_cells, as: 'unmergeCells', class: Google::Apis::SheetsV4::UnmergeCellsRequest, decorator: Google::Apis::SheetsV4::UnmergeCellsRequest::Representation + property :formatted_value, as: 'formattedValue' + collection :text_format_runs, as: 'textFormatRuns', class: Google::Apis::SheetsV4::TextFormatRun, decorator: Google::Apis::SheetsV4::TextFormatRun::Representation - property :update_protected_range, as: 'updateProtectedRange', class: Google::Apis::SheetsV4::UpdateProtectedRangeRequest, decorator: Google::Apis::SheetsV4::UpdateProtectedRangeRequest::Representation + property :hyperlink, as: 'hyperlink' + end + end - property :delete_filter_view, as: 'deleteFilterView', class: Google::Apis::SheetsV4::DeleteFilterViewRequest, decorator: Google::Apis::SheetsV4::DeleteFilterViewRequest::Representation + class BatchUpdateSpreadsheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :requests, as: 'requests', class: Google::Apis::SheetsV4::Request, decorator: Google::Apis::SheetsV4::Request::Representation - property :clear_basic_filter, as: 'clearBasicFilter', class: Google::Apis::SheetsV4::ClearBasicFilterRequest, decorator: Google::Apis::SheetsV4::ClearBasicFilterRequest::Representation + property :include_spreadsheet_in_response, as: 'includeSpreadsheetInResponse' + collection :response_ranges, as: 'responseRanges' + property :response_include_grid_data, as: 'responseIncludeGridData' + end + end - property :sort_range, as: 'sortRange', class: Google::Apis::SheetsV4::SortRangeRequest, decorator: Google::Apis::SheetsV4::SortRangeRequest::Representation + class BasicChartAxis + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :format, as: 'format', class: Google::Apis::SheetsV4::TextFormat, decorator: Google::Apis::SheetsV4::TextFormat::Representation - property :repeat_cell, as: 'repeatCell', class: Google::Apis::SheetsV4::RepeatCellRequest, decorator: Google::Apis::SheetsV4::RepeatCellRequest::Representation + property :position, as: 'position' + property :title, as: 'title' + end + end - property :set_data_validation, as: 'setDataValidation', class: Google::Apis::SheetsV4::SetDataValidationRequest, decorator: Google::Apis::SheetsV4::SetDataValidationRequest::Representation + class Padding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :right, as: 'right' + property :bottom, as: 'bottom' + property :top, as: 'top' + property :left, as: 'left' + end + end - property :update_cells, as: 'updateCells', class: Google::Apis::SheetsV4::UpdateCellsRequest, decorator: Google::Apis::SheetsV4::UpdateCellsRequest::Representation - - property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetRequest, decorator: Google::Apis::SheetsV4::AddSheetRequest::Representation - - property :update_filter_view, as: 'updateFilterView', class: Google::Apis::SheetsV4::UpdateFilterViewRequest, decorator: Google::Apis::SheetsV4::UpdateFilterViewRequest::Representation - - property :update_sheet_properties, as: 'updateSheetProperties', class: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateSheetPropertiesRequest::Representation - - property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation - - property :delete_sheet, as: 'deleteSheet', class: Google::Apis::SheetsV4::DeleteSheetRequest, decorator: Google::Apis::SheetsV4::DeleteSheetRequest::Representation - - property :find_replace, as: 'findReplace', class: Google::Apis::SheetsV4::FindReplaceRequest, decorator: Google::Apis::SheetsV4::FindReplaceRequest::Representation - - property :add_protected_range, as: 'addProtectedRange', class: Google::Apis::SheetsV4::AddProtectedRangeRequest, decorator: Google::Apis::SheetsV4::AddProtectedRangeRequest::Representation - - property :delete_protected_range, as: 'deleteProtectedRange', class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest, decorator: Google::Apis::SheetsV4::DeleteProtectedRangeRequest::Representation - - property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation - - property :set_basic_filter, as: 'setBasicFilter', class: Google::Apis::SheetsV4::SetBasicFilterRequest, decorator: Google::Apis::SheetsV4::SetBasicFilterRequest::Representation - - property :merge_cells, as: 'mergeCells', class: Google::Apis::SheetsV4::MergeCellsRequest, decorator: Google::Apis::SheetsV4::MergeCellsRequest::Representation - - property :add_chart, as: 'addChart', class: Google::Apis::SheetsV4::AddChartRequest, decorator: Google::Apis::SheetsV4::AddChartRequest::Representation - - property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation - - property :update_chart_spec, as: 'updateChartSpec', class: Google::Apis::SheetsV4::UpdateChartSpecRequest, decorator: Google::Apis::SheetsV4::UpdateChartSpecRequest::Representation - - property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation - - property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation - - property :paste_data, as: 'pasteData', class: Google::Apis::SheetsV4::PasteDataRequest, decorator: Google::Apis::SheetsV4::PasteDataRequest::Representation - - property :add_conditional_format_rule, as: 'addConditionalFormatRule', class: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::AddConditionalFormatRuleRequest::Representation - - property :update_borders, as: 'updateBorders', class: Google::Apis::SheetsV4::UpdateBordersRequest, decorator: Google::Apis::SheetsV4::UpdateBordersRequest::Representation - - property :auto_resize_dimensions, as: 'autoResizeDimensions', class: Google::Apis::SheetsV4::AutoResizeDimensionsRequest, decorator: Google::Apis::SheetsV4::AutoResizeDimensionsRequest::Representation - - property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetRequest, decorator: Google::Apis::SheetsV4::DuplicateSheetRequest::Representation - - property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewRequest, decorator: Google::Apis::SheetsV4::DuplicateFilterViewRequest::Representation - - property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation - - property :append_cells, as: 'appendCells', class: Google::Apis::SheetsV4::AppendCellsRequest, decorator: Google::Apis::SheetsV4::AppendCellsRequest::Representation - - property :add_named_range, as: 'addNamedRange', class: Google::Apis::SheetsV4::AddNamedRangeRequest, decorator: Google::Apis::SheetsV4::AddNamedRangeRequest::Representation - - property :auto_fill, as: 'autoFill', class: Google::Apis::SheetsV4::AutoFillRequest, decorator: Google::Apis::SheetsV4::AutoFillRequest::Representation - - property :move_dimension, as: 'moveDimension', class: Google::Apis::SheetsV4::MoveDimensionRequest, decorator: Google::Apis::SheetsV4::MoveDimensionRequest::Representation - - property :text_to_columns, as: 'textToColumns', class: Google::Apis::SheetsV4::TextToColumnsRequest, decorator: Google::Apis::SheetsV4::TextToColumnsRequest::Representation - - property :insert_dimension, as: 'insertDimension', class: Google::Apis::SheetsV4::InsertDimensionRequest, decorator: Google::Apis::SheetsV4::InsertDimensionRequest::Representation - - property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation + class DeleteDimensionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation end end - class BatchGetValuesResponse + class UpdateChartSpecRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + property :chart_id, as: 'chartId' + property :spec, as: 'spec', class: Google::Apis::SheetsV4::ChartSpec, decorator: Google::Apis::SheetsV4::ChartSpec::Representation + + end + end + + class DeleteFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter_id, as: 'filterId' + end + end + + class BatchUpdateValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :total_updated_rows, as: 'totalUpdatedRows' + collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation + + property :total_updated_sheets, as: 'totalUpdatedSheets' + property :total_updated_cells, as: 'totalUpdatedCells' + property :total_updated_columns, as: 'totalUpdatedColumns' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class SortRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + end + end + + class MergeCellsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :merge_type, as: 'mergeType' + end + end + + class AddProtectedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + + end + end + + class BatchClearValuesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :ranges, as: 'ranges' + end + end + + class DuplicateFilterViewResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + end + end + + class DuplicateSheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + end + end + + class ClearBasicFilterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheet_id, as: 'sheetId' + end + end + + class TextToColumnsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :delimiter, as: 'delimiter' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :delimiter_type, as: 'delimiterType' + end + end + + class DeleteBandingRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :banded_range_id, as: 'bandedRangeId' + end + end + + class BatchUpdateSpreadsheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :replies, as: 'replies', class: Google::Apis::SheetsV4::Response, decorator: Google::Apis::SheetsV4::Response::Representation + + property :updated_spreadsheet, as: 'updatedSpreadsheet', class: Google::Apis::SheetsV4::Spreadsheet, decorator: Google::Apis::SheetsV4::Spreadsheet::Representation property :spreadsheet_id, as: 'spreadsheetId' end end - class InsertDimensionRequest + class AppendValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :updates, as: 'updates', class: Google::Apis::SheetsV4::UpdateValuesResponse, decorator: Google::Apis::SheetsV4::UpdateValuesResponse::Representation + + property :table_range, as: 'tableRange' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class AddFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + end + end + + class PivotFilterCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :visible_values, as: 'visibleValues' + end + end + + class MoveDimensionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_index, as: 'destinationIndex' + property :source, as: 'source', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class AddConditionalFormatRuleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + property :index, as: 'index' + end + end + + class ChartSpec + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pie_chart, as: 'pieChart', class: Google::Apis::SheetsV4::PieChartSpec, decorator: Google::Apis::SheetsV4::PieChartSpec::Representation + + property :basic_chart, as: 'basicChart', class: Google::Apis::SheetsV4::BasicChartSpec, decorator: Google::Apis::SheetsV4::BasicChartSpec::Representation + + property :hidden_dimension_strategy, as: 'hiddenDimensionStrategy' + property :title, as: 'title' + end + end + + class NumberFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :pattern, as: 'pattern' + end + end + + class SheetProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :title, as: 'title' + property :index, as: 'index' + property :tab_color, as: 'tabColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :sheet_id, as: 'sheetId' + property :right_to_left, as: 'rightToLeft' + property :hidden, as: 'hidden' + property :sheet_type, as: 'sheetType' + property :grid_properties, as: 'gridProperties', class: Google::Apis::SheetsV4::GridProperties, decorator: Google::Apis::SheetsV4::GridProperties::Representation + + end + end + + class UpdateDimensionPropertiesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation - property :inherit_from_before, as: 'inheritFromBefore' property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::DimensionProperties, decorator: Google::Apis::SheetsV4::DimensionProperties::Representation + + end + end + + class SourceAndDestination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fill_length, as: 'fillLength' + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :dimension, as: 'dimension' + end + end + + class FilterView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range_id, as: 'namedRangeId' + property :filter_view_id, as: 'filterViewId' + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + + property :title, as: 'title' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + end + end + + class BandingProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :first_band_color, as: 'firstBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :second_band_color, as: 'secondBandColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :footer_color, as: 'footerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :header_color, as: 'headerColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + end + end + + class AddProtectedRangeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + + end + end + + class BasicFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + hash :criteria, as: 'criteria', class: Google::Apis::SheetsV4::FilterCriteria, decorator: Google::Apis::SheetsV4::FilterCriteria::Representation + + collection :sort_specs, as: 'sortSpecs', class: Google::Apis::SheetsV4::SortSpec, decorator: Google::Apis::SheetsV4::SortSpec::Representation + + end + end + + class UpdateValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :updated_rows, as: 'updatedRows' + property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + + property :updated_columns, as: 'updatedColumns' + property :spreadsheet_id, as: 'spreadsheetId' + property :updated_range, as: 'updatedRange' + property :updated_cells, as: 'updatedCells' + end + end + + class PivotValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :summarize_function, as: 'summarizeFunction' + property :source_column_offset, as: 'sourceColumnOffset' + property :name, as: 'name' + property :formula, as: 'formula' + end + end + + class ErrorValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :message, as: 'message' + end + end + + class CopySheetToAnotherSpreadsheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination_spreadsheet_id, as: 'destinationSpreadsheetId' + end + end + + class PivotGroupSortValueBucket + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :buckets, as: 'buckets', class: Google::Apis::SheetsV4::ExtendedValue, decorator: Google::Apis::SheetsV4::ExtendedValue::Representation + + property :values_index, as: 'valuesIndex' + end + end + + class EmbeddedObjectPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_sheet, as: 'newSheet' + property :sheet_id, as: 'sheetId' + property :overlay_position, as: 'overlayPosition', class: Google::Apis::SheetsV4::OverlayPosition, decorator: Google::Apis::SheetsV4::OverlayPosition::Representation + + end + end + + class DeleteProtectedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protected_range_id, as: 'protectedRangeId' + end + end + + class AutoFillRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :use_alternate_series, as: 'useAlternateSeries' + property :source_and_destination, as: 'sourceAndDestination', class: Google::Apis::SheetsV4::SourceAndDestination, decorator: Google::Apis::SheetsV4::SourceAndDestination::Representation + + end + end + + class GradientRule + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :midpoint, as: 'midpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation + + property :minpoint, as: 'minpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation + + property :maxpoint, as: 'maxpoint', class: Google::Apis::SheetsV4::InterpolationPoint, decorator: Google::Apis::SheetsV4::InterpolationPoint::Representation + + end + end + + class ClearValuesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + + class SetBasicFilterRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::BasicFilter, decorator: Google::Apis::SheetsV4::BasicFilter::Representation + + end + end + + class InterpolationPoint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :value, as: 'value' + property :color, as: 'color', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + end end @@ -2074,10 +1976,343 @@ module Google end end - class DeleteConditionalFormatRuleResponse + class FindReplaceResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :rule, as: 'rule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + property :occurrences_changed, as: 'occurrencesChanged' + property :rows_changed, as: 'rowsChanged' + property :sheets_changed, as: 'sheetsChanged' + property :formulas_changed, as: 'formulasChanged' + property :values_changed, as: 'valuesChanged' + end + end + + class DuplicateFilterViewRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter_id, as: 'filterId' + end + end + + class DeleteSheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :sheet_id, as: 'sheetId' + end + end + + class UpdateConditionalFormatRuleResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :new_index, as: 'newIndex' + property :old_index, as: 'oldIndex' + property :new_rule, as: 'newRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + property :old_rule, as: 'oldRule', class: Google::Apis::SheetsV4::ConditionalFormatRule, decorator: Google::Apis::SheetsV4::ConditionalFormatRule::Representation + + end + end + + class DuplicateSheetRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insert_sheet_index, as: 'insertSheetIndex' + property :new_sheet_name, as: 'newSheetName' + property :source_sheet_id, as: 'sourceSheetId' + property :new_sheet_id, as: 'newSheetId' + end + end + + class ConditionValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :relative_date, as: 'relativeDate' + property :user_entered_value, as: 'userEnteredValue' + end + end + + class ExtendedValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :number_value, as: 'numberValue' + property :error_value, as: 'errorValue', class: Google::Apis::SheetsV4::ErrorValue, decorator: Google::Apis::SheetsV4::ErrorValue::Representation + + property :string_value, as: 'stringValue' + property :bool_value, as: 'boolValue' + property :formula_value, as: 'formulaValue' + end + end + + class AddChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + + end + end + + class Spreadsheet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + collection :sheets, as: 'sheets', class: Google::Apis::SheetsV4::Sheet, decorator: Google::Apis::SheetsV4::Sheet::Representation + + collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation + + property :spreadsheet_url, as: 'spreadsheetUrl' + end + end + + class BatchClearValuesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cleared_ranges, as: 'clearedRanges' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class BandedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_properties, as: 'rowProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + property :column_properties, as: 'columnProperties', class: Google::Apis::SheetsV4::BandingProperties, decorator: Google::Apis::SheetsV4::BandingProperties::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :banded_range_id, as: 'bandedRangeId' + end + end + + class UpdateProtectedRangeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :protected_range, as: 'protectedRange', class: Google::Apis::SheetsV4::ProtectedRange, decorator: Google::Apis::SheetsV4::ProtectedRange::Representation + + property :fields, as: 'fields' + end + end + + class TextFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :underline, as: 'underline' + property :bold, as: 'bold' + property :foreground_color, as: 'foregroundColor', class: Google::Apis::SheetsV4::Color, decorator: Google::Apis::SheetsV4::Color::Representation + + property :font_family, as: 'fontFamily' + property :strikethrough, as: 'strikethrough' + property :italic, as: 'italic' + property :font_size, as: 'fontSize' + end + end + + class AddSheetResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SheetProperties, decorator: Google::Apis::SheetsV4::SheetProperties::Representation + + end + end + + class AddFilterViewResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :filter, as: 'filter', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation + + end + end + + class IterativeCalculationSettings + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :convergence_threshold, as: 'convergenceThreshold' + property :max_iterations, as: 'maxIterations' + end + end + + class OverlayPosition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width_pixels, as: 'widthPixels' + property :offset_x_pixels, as: 'offsetXPixels' + property :anchor_cell, as: 'anchorCell', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :offset_y_pixels, as: 'offsetYPixels' + property :height_pixels, as: 'heightPixels' + end + end + + class SpreadsheetProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_format, as: 'defaultFormat', class: Google::Apis::SheetsV4::CellFormat, decorator: Google::Apis::SheetsV4::CellFormat::Representation + + property :auto_recalc, as: 'autoRecalc' + property :title, as: 'title' + property :time_zone, as: 'timeZone' + property :locale, as: 'locale' + property :iterative_calculation_settings, as: 'iterativeCalculationSettings', class: Google::Apis::SheetsV4::IterativeCalculationSettings, decorator: Google::Apis::SheetsV4::IterativeCalculationSettings::Representation + + end + end + + class RepeatCellRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell, as: 'cell', class: Google::Apis::SheetsV4::CellData, decorator: Google::Apis::SheetsV4::CellData::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :fields, as: 'fields' + end + end + + class AddChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart, as: 'chart', class: Google::Apis::SheetsV4::EmbeddedChart, decorator: Google::Apis::SheetsV4::EmbeddedChart::Representation + + end + end + + class InsertDimensionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :range, as: 'range', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + property :inherit_from_before, as: 'inheritFromBefore' + end + end + + class UpdateSpreadsheetPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation + + end + end + + class ProtectedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :requesting_user_can_edit, as: 'requestingUserCanEdit' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :editors, as: 'editors', class: Google::Apis::SheetsV4::Editors, decorator: Google::Apis::SheetsV4::Editors::Representation + + property :description, as: 'description' + collection :unprotected_ranges, as: 'unprotectedRanges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :named_range_id, as: 'namedRangeId' + property :protected_range_id, as: 'protectedRangeId' + property :warning_only, as: 'warningOnly' + end + end + + class BatchUpdateValuesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :response_value_render_option, as: 'responseValueRenderOption' + property :include_values_in_response, as: 'includeValuesInResponse' + property :value_input_option, as: 'valueInputOption' + collection :data, as: 'data', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation + + property :response_date_time_render_option, as: 'responseDateTimeRenderOption' + end + end + + class DimensionProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :pixel_size, as: 'pixelSize' + property :hidden_by_filter, as: 'hiddenByFilter' + property :hidden_by_user, as: 'hiddenByUser' + end + end + + class NamedRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :named_range_id, as: 'namedRangeId' + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :name, as: 'name' + end + end + + class DimensionRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_index, as: 'startIndex' + property :end_index, as: 'endIndex' + property :sheet_id, as: 'sheetId' + property :dimension, as: 'dimension' + end + end + + class CutPasteRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :destination, as: 'destination', class: Google::Apis::SheetsV4::GridCoordinate, decorator: Google::Apis::SheetsV4::GridCoordinate::Representation + + property :source, as: 'source', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :paste_type, as: 'pasteType' + end + end + + class Borders + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + end + end + + class BasicChartSeries + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :series, as: 'series', class: Google::Apis::SheetsV4::ChartData, decorator: Google::Apis::SheetsV4::ChartData::Representation + + property :type, as: 'type' + property :target_axis, as: 'targetAxis' + end + end + + class AutoResizeDimensionsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dimensions, as: 'dimensions', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation + + end + end + + class UpdateBordersRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :top, as: 'top', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :left, as: 'left', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :bottom, as: 'bottom', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :inner_vertical, as: 'innerVertical', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :right, as: 'right', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation + + property :range, as: 'range', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation + + property :inner_horizontal, as: 'innerHorizontal', class: Google::Apis::SheetsV4::Border, decorator: Google::Apis::SheetsV4::Border::Representation end end diff --git a/generated/google/apis/sheets_v4/service.rb b/generated/google/apis/sheets_v4/service.rb index 3e8ace31e..5fe6484d7 100644 --- a/generated/google/apis/sheets_v4/service.rb +++ b/generated/google/apis/sheets_v4/service.rb @@ -46,36 +46,6 @@ module Google super('https://sheets.googleapis.com/', '') end - # Creates a spreadsheet, returning the newly created spreadsheet. - # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_object - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SheetsV4::Spreadsheet] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::Spreadsheet] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def create_spreadsheet(spreadsheet_object = nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets', options) - command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation - command.request_object = spreadsheet_object - command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation - command.response_class = Google::Apis::SheetsV4::Spreadsheet - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - # Returns the spreadsheet at the given ID. # The caller must specify the spreadsheet ID. # By default, data within grids will not be returned. @@ -99,11 +69,11 @@ module Google # @param [Boolean] include_grid_data # True if grid data should be returned. # This parameter is ignored if a field mask was set in the request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -116,15 +86,45 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_spreadsheet(spreadsheet_id, ranges: nil, include_grid_data: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}', options) command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation command.response_class = Google::Apis::SheetsV4::Spreadsheet command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.query['ranges'] = ranges unless ranges.nil? command.query['includeGridData'] = include_grid_data unless include_grid_data.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a spreadsheet, returning the newly created spreadsheet. + # @param [Google::Apis::SheetsV4::Spreadsheet] spreadsheet_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SheetsV4::Spreadsheet] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::Spreadsheet] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_spreadsheet(spreadsheet_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets', options) + command.request_representation = Google::Apis::SheetsV4::Spreadsheet::Representation + command.request_object = spreadsheet_object + command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation + command.response_class = Google::Apis::SheetsV4::Spreadsheet + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -147,11 +147,11 @@ module Google # @param [String] spreadsheet_id # The spreadsheet to apply the updates to. # @param [Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest] batch_update_spreadsheet_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -164,111 +164,15 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_update_spreadsheet(spreadsheet_id, batch_update_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:batchUpdate', options) command.request_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest::Representation command.request_object = batch_update_spreadsheet_request_object command.response_representation = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse::Representation command.response_class = Google::Apis::SheetsV4::BatchUpdateSpreadsheetResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Appends values to a spreadsheet. The input range is used to search for - # 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) - # and - # [sample code](/sheets/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 - # a valueInputOption. The `valueInputOption` only - # controls how the input data will be added to the sheet (column-wise or - # row-wise), it does not influence what cell the data starts being written - # to. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to update. - # @param [String] range - # The A1 notation of a range to search for a logical table of data. - # Values will be appended after the last row of the table. - # @param [Google::Apis::SheetsV4::ValueRange] value_range_object - # @param [String] value_input_option - # How the input data should be interpreted. - # @param [String] insert_data_option - # How the input data should be inserted. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SheetsV4::AppendValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::AppendValuesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, insert_data_option: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options) - command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation - command.request_object = value_range_object - command.response_representation = Google::Apis::SheetsV4::AppendValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::AppendValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['range'] = range unless range.nil? - command.query['valueInputOption'] = value_input_option unless value_input_option.nil? - command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? - execute_or_queue_command(command, &block) - end - - # Sets values in a range of a spreadsheet. - # The caller must specify the spreadsheet ID, range, and - # a valueInputOption. - # @param [String] spreadsheet_id - # The ID of the spreadsheet to update. - # @param [String] range - # The A1 notation of the values to update. - # @param [Google::Apis::SheetsV4::ValueRange] value_range_object - # @param [String] value_input_option - # How the input data should be interpreted. - # @param [String] quota_user - # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::SheetsV4::UpdateValuesResponse] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, value_input_option: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) - command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation - command.request_object = value_range_object - command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse - command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.params['range'] = range unless range.nil? - command.query['valueInputOption'] = value_input_option unless value_input_option.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['fields'] = fields unless fields.nil? execute_or_queue_command(command, &block) end @@ -280,10 +184,12 @@ module Google # The A1 notation of the values to retrieve. # @param [String] value_render_option # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. # @param [String] date_time_render_option # How dates, times, and durations should be represented in the output. # This is ignored if value_render_option is # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. # @param [String] major_dimension # The major dimension that results should use. # For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, @@ -291,11 +197,11 @@ module Google # `[[1,2],[3,4]]`, # whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return # `[[1,3],[2,4]]`. + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -308,7 +214,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def get_spreadsheet_values(spreadsheet_id, range, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block) + def get_spreadsheet_values(spreadsheet_id, range, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) command.response_representation = Google::Apis::SheetsV4::ValueRange::Representation command.response_class = Google::Apis::SheetsV4::ValueRange @@ -317,58 +223,67 @@ module Google command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? command.query['majorDimension'] = major_dimension unless major_dimension.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end - # Returns one or more ranges of values from a spreadsheet. - # The caller must specify the spreadsheet ID and one or more ranges. + # Sets values in a range of a spreadsheet. + # The caller must specify the spreadsheet ID, range, and + # a valueInputOption. # @param [String] spreadsheet_id - # The ID of the spreadsheet to retrieve data from. - # @param [Array, String] ranges - # The A1 notation of the values to retrieve. - # @param [String] value_render_option - # How values should be represented in the output. - # @param [String] date_time_render_option - # How dates, times, and durations should be represented in the output. - # This is ignored if value_render_option is + # The ID of the spreadsheet to update. + # @param [String] range + # The A1 notation of the values to update. + # @param [Google::Apis::SheetsV4::ValueRange] value_range_object + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [String] value_input_option + # How the input data should be interpreted. + # @param [String] response_date_time_render_option + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is # FORMATTED_VALUE. - # @param [String] major_dimension - # 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]]`. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were updated. By default, responses + # do not include the updated values. + # If the range to write was larger than than the range actually written, + # the response will include all values in the requested range (excluding + # trailing empty rows and columns). + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesResponse] parsed result object + # @yieldparam result [Google::Apis::SheetsV4::UpdateValuesResponse] parsed result object # @yieldparam err [StandardError] error object if request failed # - # @return [Google::Apis::SheetsV4::BatchGetValuesResponse] + # @return [Google::Apis::SheetsV4::UpdateValuesResponse] # # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, value_render_option: nil, date_time_render_option: nil, major_dimension: nil, quota_user: nil, fields: nil, options: nil, &block) - command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options) - command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation - command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse + def update_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, response_value_render_option: nil, value_input_option: nil, response_date_time_render_option: nil, include_values_in_response: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:put, 'v4/spreadsheets/{spreadsheetId}/values/{range}', options) + command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation + command.request_object = value_range_object + command.response_representation = Google::Apis::SheetsV4::UpdateValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::UpdateValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['ranges'] = ranges unless ranges.nil? - command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? - command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? - command.query['majorDimension'] = major_dimension unless major_dimension.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? + command.params['range'] = range unless range.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? + command.query['valueInputOption'] = value_input_option unless value_input_option.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -379,11 +294,11 @@ module Google # @param [String] spreadsheet_id # The ID of the spreadsheet to update. # @param [Google::Apis::SheetsV4::BatchUpdateValuesRequest] batch_update_values_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -396,15 +311,212 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def batch_update_values(spreadsheet_id, batch_update_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdate', options) command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesRequest::Representation command.request_object = batch_update_values_request_object command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesResponse::Representation command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesResponse command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Returns one or more ranges of values from a spreadsheet. + # The caller must specify the spreadsheet ID and one or more ranges. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to retrieve data from. + # @param [Array, String] ranges + # The A1 notation of the values to retrieve. + # @param [String] major_dimension + # 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]]`. + # @param [String] value_render_option + # How values should be represented in the output. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [String] date_time_render_option + # How dates, times, and durations should be represented in the output. + # This is ignored if value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::BatchGetValuesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_get_spreadsheet_values(spreadsheet_id, ranges: nil, major_dimension: nil, value_render_option: nil, date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/values:batchGet', options) + command.response_representation = Google::Apis::SheetsV4::BatchGetValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::BatchGetValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.query['ranges'] = ranges unless ranges.nil? + command.query['majorDimension'] = major_dimension unless major_dimension.nil? + command.query['valueRenderOption'] = value_render_option unless value_render_option.nil? + command.query['dateTimeRenderOption'] = date_time_render_option unless date_time_render_option.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears values from a spreadsheet. + # The caller must specify the spreadsheet ID and range. + # Only values are cleared -- all other properties of the cell (such as + # formatting, data validation, etc..) are kept. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [String] range + # The A1 notation of the values to clear. + # @param [Google::Apis::SheetsV4::ClearValuesRequest] clear_values_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SheetsV4::ClearValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::ClearValuesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_values(spreadsheet_id, range, clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:clear', options) + command.request_representation = Google::Apis::SheetsV4::ClearValuesRequest::Representation + command.request_object = clear_values_request_object + command.response_representation = Google::Apis::SheetsV4::ClearValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::ClearValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.params['range'] = range unless range.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Appends values to a spreadsheet. The input range is used to search for + # 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/api/guides/values#appending_values) + # and + # [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 + # a valueInputOption. The `valueInputOption` only + # controls how the input data will be added to the sheet (column-wise or + # row-wise), it does not influence what cell the data starts being written + # to. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [String] range + # The A1 notation of a range to search for a logical table of data. + # Values will be appended after the last row of the table. + # @param [Google::Apis::SheetsV4::ValueRange] value_range_object + # @param [Boolean] include_values_in_response + # Determines if the update response should include the values + # of the cells that were appended. By default, responses + # do not include the updated values. + # @param [String] response_value_render_option + # Determines how values in the response should be rendered. + # The default render option is ValueRenderOption.FORMATTED_VALUE. + # @param [String] insert_data_option + # How the input data should be inserted. + # @param [String] value_input_option + # How the input data should be interpreted. + # @param [String] response_date_time_render_option + # Determines how dates, times, and durations in the response should be + # rendered. This is ignored if response_value_render_option is + # FORMATTED_VALUE. + # The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER]. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SheetsV4::AppendValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::AppendValuesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def append_spreadsheet_value(spreadsheet_id, range, value_range_object = nil, include_values_in_response: nil, response_value_render_option: nil, insert_data_option: nil, value_input_option: nil, response_date_time_render_option: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values/{range}:append', options) + command.request_representation = Google::Apis::SheetsV4::ValueRange::Representation + command.request_object = value_range_object + command.response_representation = Google::Apis::SheetsV4::AppendValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::AppendValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.params['range'] = range unless range.nil? + command.query['includeValuesInResponse'] = include_values_in_response unless include_values_in_response.nil? + command.query['responseValueRenderOption'] = response_value_render_option unless response_value_render_option.nil? + command.query['insertDataOption'] = insert_data_option unless insert_data_option.nil? + command.query['valueInputOption'] = value_input_option unless value_input_option.nil? + command.query['responseDateTimeRenderOption'] = response_date_time_render_option unless response_date_time_render_option.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Clears one or more ranges of values from a spreadsheet. + # The caller must specify the spreadsheet ID and one or more ranges. + # Only values are cleared -- all other properties of the cell (such as + # formatting, data validation, etc..) are kept. + # @param [String] spreadsheet_id + # The ID of the spreadsheet to update. + # @param [Google::Apis::SheetsV4::BatchClearValuesRequest] batch_clear_values_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SheetsV4::BatchClearValuesResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SheetsV4::BatchClearValuesResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_clear_values(spreadsheet_id, batch_clear_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClear', options) + command.request_representation = Google::Apis::SheetsV4::BatchClearValuesRequest::Representation + command.request_object = batch_clear_values_request_object + command.response_representation = Google::Apis::SheetsV4::BatchClearValuesResponse::Representation + command.response_class = Google::Apis::SheetsV4::BatchClearValuesResponse + command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end @@ -415,11 +527,11 @@ module Google # @param [Fixnum] sheet_id # The ID of the sheet to copy. # @param [Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest] copy_sheet_to_another_spreadsheet_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -432,7 +544,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def copy_spreadsheet(spreadsheet_id, sheet_id, copy_sheet_to_another_spreadsheet_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo', options) command.request_representation = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest::Representation command.request_object = copy_sheet_to_another_spreadsheet_request_object @@ -440,8 +552,8 @@ module Google command.response_class = Google::Apis::SheetsV4::SheetProperties command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil? command.params['sheetId'] = sheet_id unless sheet_id.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/site_verification_v1.rb b/generated/google/apis/site_verification_v1.rb index 76d080e3b..58d6bc22c 100644 --- a/generated/google/apis/site_verification_v1.rb +++ b/generated/google/apis/site_verification_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/site-verification/ module SiteVerificationV1 VERSION = 'V1' - REVISION = '20160228' + REVISION = '20161114' # Manage the list of sites and domains you control AUTH_SITEVERIFICATION = 'https://www.googleapis.com/auth/siteverification' diff --git a/generated/google/apis/slides_v1.rb b/generated/google/apis/slides_v1.rb new file mode 100644 index 000000000..41d16fedf --- /dev/null +++ b/generated/google/apis/slides_v1.rb @@ -0,0 +1,49 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/slides_v1/service.rb' +require 'google/apis/slides_v1/classes.rb' +require 'google/apis/slides_v1/representations.rb' + +module Google + module Apis + # Google Slides API + # + # An API for creating and editing Google Slides presentations. + # + # @see https://developers.google.com/slides/ + module SlidesV1 + VERSION = 'V1' + REVISION = '20170323' + + # View your Google Slides presentations + AUTH_PRESENTATIONS_READONLY = 'https://www.googleapis.com/auth/presentations.readonly' + + # View your Google Spreadsheets + AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly' + + # View and manage the files in your Google Drive + AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' + + # View the files in your Google Drive + AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly' + + # View and manage your spreadsheets in Google Drive + AUTH_SPREADSHEETS = 'https://www.googleapis.com/auth/spreadsheets' + + # View and manage your Google Slides presentations + AUTH_PRESENTATIONS = 'https://www.googleapis.com/auth/presentations' + end + end +end diff --git a/generated/google/apis/slides_v1/classes.rb b/generated/google/apis/slides_v1/classes.rb new file mode 100644 index 000000000..624ccc444 --- /dev/null +++ b/generated/google/apis/slides_v1/classes.rb @@ -0,0 +1,4480 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SlidesV1 + + # Creates a new table. + class CreateTableRequest + include Google::Apis::Core::Hashable + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rows = args[:rows] if args.key?(:rows) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @columns = args[:columns] if args.key?(:columns) + @element_properties = args[:element_properties] if args.key?(:element_properties) + end + end + + # The result of creating a table. + class CreateTableResponse + include Google::Apis::Core::Hashable + + # The object ID of the created table. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A PageElement kind representing a + # table. + class Table + include Google::Apis::Core::Hashable + + # Properties and contents of each row. + # Cells that span multiple rows are contained in only one of these rows and + # have a row_span greater + # than 1. + # Corresponds to the JSON property `tableRows` + # @return [Array] + attr_accessor :table_rows + + # Number of rows in the table. + # Corresponds to the JSON property `rows` + # @return [Fixnum] + attr_accessor :rows + + # Properties of each column. + # Corresponds to the JSON property `tableColumns` + # @return [Array] + attr_accessor :table_columns + + # Number of columns in the table. + # Corresponds to the JSON property `columns` + # @return [Fixnum] + attr_accessor :columns + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_rows = args[:table_rows] if args.key?(:table_rows) + @rows = args[:rows] if args.key?(:rows) + @table_columns = args[:table_columns] if args.key?(:table_columns) + @columns = args[:columns] if args.key?(:columns) + end + end + + # The page background fill. + class PageBackgroundFill + include Google::Apis::Core::Hashable + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + # Corresponds to the JSON property `stretchedPictureFill` + # @return [Google::Apis::SlidesV1::StretchedPictureFill] + attr_accessor :stretched_picture_fill + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + # The background fill property state. + # Updating the the fill on a page will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a page, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @stretched_picture_fill = args[:stretched_picture_fill] if args.key?(:stretched_picture_fill) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + @property_state = args[:property_state] if args.key?(:property_state) + end + end + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + class SheetsChart + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet that is + # embedded. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # The properties of the SheetsChart. + # Corresponds to the JSON property `sheetsChartProperties` + # @return [Google::Apis::SlidesV1::SheetsChartProperties] + attr_accessor :sheets_chart_properties + + # The URL of an image of the embedded chart, with 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. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The ID of the Google Sheets spreadsheet that contains the source chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @sheets_chart_properties = args[:sheets_chart_properties] if args.key?(:sheets_chart_properties) + @content_url = args[:content_url] if args.key?(:content_url) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + end + end + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + class SolidFill + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The fraction of this `color` that should be applied to the pixel. + # That is, the final pixel color is defined by the equation: + # pixel color = alpha * (color) + (1.0 - alpha) * (background color) + # This means that a value of 1.0 corresponds to a solid color, whereas + # a value of 0.0 corresponds to a completely transparent color. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @alpha = args[:alpha] if args.key?(:alpha) + end + end + + # A pair mapping a theme color type to the concrete color it represents. + class ThemeColorPair + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::RgbColor] + attr_accessor :color + + # The type of the theme color. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @type = args[:type] if args.key?(:type) + end + end + + # A color that can either be fully opaque or fully transparent. + class OptionalColor + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `opaqueColor` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :opaque_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @opaque_color = args[:opaque_color] if args.key?(:opaque_color) + end + end + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + class PageElementProperties + include Google::Apis::Core::Hashable + + # The object ID of the page where the element is located. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + @size = args[:size] if args.key?(:size) + @transform = args[:transform] if args.key?(:transform) + end + end + + # The properties of the SheetsChart. + class SheetsChartProperties + include Google::Apis::Core::Hashable + + # The properties of the Image. + # Corresponds to the JSON property `chartImageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :chart_image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_image_properties = args[:chart_image_properties] if args.key?(:chart_image_properties) + end + end + + # The stretched picture fill. The page or page element is filled entirely with + # the specified picture. The picture is stretched to fit its container. + class StretchedPictureFill + include Google::Apis::Core::Hashable + + # Reading the content_url: + # An URL to a picture with a default lifetime of 30 minutes. + # This URL is tagged with the account of the requester. Anyone with the URL + # effectively accesses the picture as the original requester. Access to the + # picture may be lost if the presentation's sharing settings change. + # Writing the content_url: + # The picture is fetched once at insertion time and a copy is stored for + # display inside the presentation. Pictures must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @size = args[:size] if args.key?(:size) + end + end + + # Update the styling of text in a Shape or + # Table. + class UpdateTextStyleRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `style` is implied and + # should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example, to update the text style to bold, set `fields` to `"bold"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the shape or table with the text to be styled. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @style = args[:style] if args.key?(:style) + end + end + + # Deletes a column from a table. + class DeleteTableColumnRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The table to delete columns from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # A List describes the look and feel of bullets belonging to paragraphs + # associated with a list. A paragraph that is part of a list has an implicit + # reference to that list's ID. + class List + include Google::Apis::Core::Hashable + + # The ID of the list. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + # A map of nesting levels to the properties of bullets at the associated + # level. A list has at most nine levels of nesting, so the possible values + # for the keys of this map are 0 through 8, inclusive. + # Corresponds to the JSON property `nestingLevel` + # @return [Hash] + attr_accessor :nesting_level + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_id = args[:list_id] if args.key?(:list_id) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + end + end + + # Represents a font family and weight used to style a TextRun. + class WeightedFontFamily + include Google::Apis::Core::Hashable + + # 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`. + # Corresponds to the JSON property `fontFamily` + # @return [String] + attr_accessor :font_family + + # 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 the numerical values described in the CSS 2.1 + # Specification, [section 15.6](https://www.w3.org/TR/CSS21/fonts.html#font- + # boldness), + # with non-numerical values 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"). + # Corresponds to the JSON property `weight` + # @return [Fixnum] + attr_accessor :weight + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @font_family = args[:font_family] if args.key?(:font_family) + @weight = args[:weight] if args.key?(:weight) + end + end + + # A visual element rendered on a page. + class PageElement + include Google::Apis::Core::Hashable + + # A width and height. + # Corresponds to the JSON property `size` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :size + + # The title of the page element. Combined with description to display alt + # text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # A PageElement kind representing + # a linked chart embedded from Google Sheets. + # Corresponds to the JSON property `sheetsChart` + # @return [Google::Apis::SlidesV1::SheetsChart] + attr_accessor :sheets_chart + + # A PageElement kind representing a + # video. + # Corresponds to the JSON property `video` + # @return [Google::Apis::SlidesV1::Video] + attr_accessor :video + + # A PageElement kind representing + # word art. + # Corresponds to the JSON property `wordArt` + # @return [Google::Apis::SlidesV1::WordArt] + attr_accessor :word_art + + # A PageElement kind representing a + # table. + # Corresponds to the JSON property `table` + # @return [Google::Apis::SlidesV1::Table] + attr_accessor :table + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # The object ID for this page element. Object IDs used by + # google.apps.slides.v1.Page and + # google.apps.slides.v1.PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + # Corresponds to the JSON property `shape` + # @return [Google::Apis::SlidesV1::Shape] + attr_accessor :shape + + # A PageElement kind representing a + # line, curved connector, or bent connector. + # Corresponds to the JSON property `line` + # @return [Google::Apis::SlidesV1::Line] + attr_accessor :line + + # The description of the page element. Combined with title to display alt + # text. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # A PageElement kind representing a + # joined collection of PageElements. + # Corresponds to the JSON property `elementGroup` + # @return [Google::Apis::SlidesV1::Group] + attr_accessor :element_group + + # A PageElement kind representing an + # image. + # Corresponds to the JSON property `image` + # @return [Google::Apis::SlidesV1::Image] + attr_accessor :image + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @size = args[:size] if args.key?(:size) + @title = args[:title] if args.key?(:title) + @sheets_chart = args[:sheets_chart] if args.key?(:sheets_chart) + @video = args[:video] if args.key?(:video) + @word_art = args[:word_art] if args.key?(:word_art) + @table = args[:table] if args.key?(:table) + @transform = args[:transform] if args.key?(:transform) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape = args[:shape] if args.key?(:shape) + @line = args[:line] if args.key?(:line) + @description = args[:description] if args.key?(:description) + @element_group = args[:element_group] if args.key?(:element_group) + @image = args[:image] if args.key?(:image) + end + end + + # Creates an image. + class CreateImageRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @url = args[:url] if args.key?(:url) + end + end + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + class CreateParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table containing the text to add bullets to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # The kinds of bullet glyphs to be used. Defaults to the + # `BULLET_DISC_CIRCLE_SQUARE` preset. + # Corresponds to the JSON property `bulletPreset` + # @return [String] + attr_accessor :bullet_preset + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @bullet_preset = args[:bullet_preset] if args.key?(:bullet_preset) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # A width and height. + class Size + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `width` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :width + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `height` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @height = args[:height] if args.key?(:height) + end + end + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + class TextStyle + include Google::Apis::Core::Hashable + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `backgroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :background_color + + # Whether or not the text is underlined. + # Corresponds to the JSON property `underline` + # @return [Boolean] + attr_accessor :underline + alias_method :underline?, :underline + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # Whether or not the text is rendered as bold. + # Corresponds to the JSON property `bold` + # @return [Boolean] + attr_accessor :bold + alias_method :bold?, :bold + + # A color that can either be fully opaque or fully transparent. + # Corresponds to the JSON property `foregroundColor` + # @return [Google::Apis::SlidesV1::OptionalColor] + attr_accessor :foreground_color + + # 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`. + # Some fonts can affect the weight of the text. If an update request + # specifies values for both `font_family` and `bold`, the explicitly-set + # `bold` value is used. + # Corresponds to the JSON property `fontFamily` + # @return [String] + attr_accessor :font_family + + # Whether or not the text is italicized. + # Corresponds to the JSON property `italic` + # @return [Boolean] + attr_accessor :italic + alias_method :italic?, :italic + + # Whether or not the text is struck through. + # Corresponds to the JSON property `strikethrough` + # @return [Boolean] + attr_accessor :strikethrough + alias_method :strikethrough?, :strikethrough + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `fontSize` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :font_size + + # The text's vertical offset from its normal position. + # Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically + # rendered in a smaller font size, computed based on the `font_size` field. + # The `font_size` itself is not affected by changes in this field. + # Corresponds to the JSON property `baselineOffset` + # @return [String] + attr_accessor :baseline_offset + + # Represents a font family and weight used to style a TextRun. + # Corresponds to the JSON property `weightedFontFamily` + # @return [Google::Apis::SlidesV1::WeightedFontFamily] + attr_accessor :weighted_font_family + + # Whether or not the text is in small capital letters. + # Corresponds to the JSON property `smallCaps` + # @return [Boolean] + attr_accessor :small_caps + alias_method :small_caps?, :small_caps + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @background_color = args[:background_color] if args.key?(:background_color) + @underline = args[:underline] if args.key?(:underline) + @link = args[:link] if args.key?(:link) + @bold = args[:bold] if args.key?(:bold) + @foreground_color = args[:foreground_color] if args.key?(:foreground_color) + @font_family = args[:font_family] if args.key?(:font_family) + @italic = args[:italic] if args.key?(:italic) + @strikethrough = args[:strikethrough] if args.key?(:strikethrough) + @font_size = args[:font_size] if args.key?(:font_size) + @baseline_offset = args[:baseline_offset] if args.key?(:baseline_offset) + @weighted_font_family = args[:weighted_font_family] if args.key?(:weighted_font_family) + @small_caps = args[:small_caps] if args.key?(:small_caps) + end + end + + # Update the properties of a Video. + class UpdateVideoPropertiesRequest + include Google::Apis::Core::Hashable + + # The properties of the Video. + # Corresponds to the JSON property `videoProperties` + # @return [Google::Apis::SlidesV1::VideoProperties] + attr_accessor :video_properties + + # The fields that should be updated. + # At least one field must be specified. The root `videoProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the video outline color, set `fields` to + # `"outline.outlineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the video the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @video_properties = args[:video_properties] if args.key?(:video_properties) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A single kind of update to apply to a presentation. + class Request + include Google::Apis::Core::Hashable + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartRequest] + attr_accessor :create_sheets_chart + + # Replaces all shapes that match the given criteria with the provided Google + # Sheets chart. The chart will be scaled and centered to fit within the bounds + # of the original shape. + # NOTE: Replacing shapes with a chart requires at least one of the + # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest] + attr_accessor :replace_all_shapes_with_sheets_chart + + # Updates the transform of a page element. + # Corresponds to the JSON property `updatePageElementTransform` + # @return [Google::Apis::SlidesV1::UpdatePageElementTransformRequest] + attr_accessor :update_page_element_transform + + # Update the styling of text in a Shape or + # Table. + # Corresponds to the JSON property `updateTextStyle` + # @return [Google::Apis::SlidesV1::UpdateTextStyleRequest] + attr_accessor :update_text_style + + # Replaces all shapes that match the given criteria with the provided image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest] + attr_accessor :replace_all_shapes_with_image + + # Replaces all instances of text matching a criteria with replace text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextRequest] + attr_accessor :replace_all_text + + # Update the properties of an Image. + # Corresponds to the JSON property `updateImageProperties` + # @return [Google::Apis::SlidesV1::UpdateImagePropertiesRequest] + attr_accessor :update_image_properties + + # Creates a new slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideRequest] + attr_accessor :create_slide + + # Inserts rows into a table. + # Corresponds to the JSON property `insertTableRows` + # @return [Google::Apis::SlidesV1::InsertTableRowsRequest] + attr_accessor :insert_table_rows + + # Updates the properties of a Line. + # Corresponds to the JSON property `updateLineProperties` + # @return [Google::Apis::SlidesV1::UpdateLinePropertiesRequest] + attr_accessor :update_line_properties + + # Updates the position of slides in the presentation. + # Corresponds to the JSON property `updateSlidesPosition` + # @return [Google::Apis::SlidesV1::UpdateSlidesPositionRequest] + attr_accessor :update_slides_position + + # Deletes a row from a table. + # Corresponds to the JSON property `deleteTableRow` + # @return [Google::Apis::SlidesV1::DeleteTableRowRequest] + attr_accessor :delete_table_row + + # Update the properties of a Shape. + # Corresponds to the JSON property `updateShapeProperties` + # @return [Google::Apis::SlidesV1::UpdateShapePropertiesRequest] + attr_accessor :update_shape_properties + + # Inserts text into a shape or a table cell. + # Corresponds to the JSON property `insertText` + # @return [Google::Apis::SlidesV1::InsertTextRequest] + attr_accessor :insert_text + + # Deletes text from a shape or a table cell. + # Corresponds to the JSON property `deleteText` + # @return [Google::Apis::SlidesV1::DeleteTextRequest] + attr_accessor :delete_text + + # Updates the properties of a Page. + # Corresponds to the JSON property `updatePageProperties` + # @return [Google::Apis::SlidesV1::UpdatePagePropertiesRequest] + attr_accessor :update_page_properties + + # Deletes bullets from all of the paragraphs that overlap with the given text + # index range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + # Corresponds to the JSON property `deleteParagraphBullets` + # @return [Google::Apis::SlidesV1::DeleteParagraphBulletsRequest] + attr_accessor :delete_paragraph_bullets + + # Creates a new shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeRequest] + attr_accessor :create_shape + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + # Corresponds to the JSON property `insertTableColumns` + # @return [Google::Apis::SlidesV1::InsertTableColumnsRequest] + attr_accessor :insert_table_columns + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + # Corresponds to the JSON property `refreshSheetsChart` + # @return [Google::Apis::SlidesV1::RefreshSheetsChartRequest] + attr_accessor :refresh_sheets_chart + + # Creates a new table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableRequest] + attr_accessor :create_table + + # Update the properties of a TableCell. + # Corresponds to the JSON property `updateTableCellProperties` + # @return [Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest] + attr_accessor :update_table_cell_properties + + # Deletes an object, either pages or + # page elements, from the + # presentation. + # Corresponds to the JSON property `deleteObject` + # @return [Google::Apis::SlidesV1::DeleteObjectRequest] + attr_accessor :delete_object + + # Updates the styling for all of the paragraphs within a Shape or Table that + # overlap with the given text index range. + # Corresponds to the JSON property `updateParagraphStyle` + # @return [Google::Apis::SlidesV1::UpdateParagraphStyleRequest] + attr_accessor :update_paragraph_style + + # Deletes a column from a table. + # Corresponds to the JSON property `deleteTableColumn` + # @return [Google::Apis::SlidesV1::DeleteTableColumnRequest] + attr_accessor :delete_table_column + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectRequest] + attr_accessor :duplicate_object + + # Update the properties of a Video. + # Corresponds to the JSON property `updateVideoProperties` + # @return [Google::Apis::SlidesV1::UpdateVideoPropertiesRequest] + attr_accessor :update_video_properties + + # Creates a line. + # Corresponds to the JSON property `createLine` + # @return [Google::Apis::SlidesV1::CreateLineRequest] + attr_accessor :create_line + + # Creates an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageRequest] + attr_accessor :create_image + + # Creates bullets for all of the paragraphs that overlap with the given + # text index range. + # The nesting level of each paragraph will be determined by counting leading + # tabs in front of each paragraph. To avoid excess space between the bullet and + # the corresponding paragraph, these leading tabs are removed by this request. + # This may change the indices of parts of the text. + # If the paragraph immediately before paragraphs being updated is in a list + # with a matching preset, the paragraphs being updated are added to that + # preceding list. + # Corresponds to the JSON property `createParagraphBullets` + # @return [Google::Apis::SlidesV1::CreateParagraphBulletsRequest] + attr_accessor :create_paragraph_bullets + + # Creates a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoRequest] + attr_accessor :create_video + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) + @update_page_element_transform = args[:update_page_element_transform] if args.key?(:update_page_element_transform) + @update_text_style = args[:update_text_style] if args.key?(:update_text_style) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @update_image_properties = args[:update_image_properties] if args.key?(:update_image_properties) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @insert_table_rows = args[:insert_table_rows] if args.key?(:insert_table_rows) + @update_line_properties = args[:update_line_properties] if args.key?(:update_line_properties) + @update_slides_position = args[:update_slides_position] if args.key?(:update_slides_position) + @delete_table_row = args[:delete_table_row] if args.key?(:delete_table_row) + @update_shape_properties = args[:update_shape_properties] if args.key?(:update_shape_properties) + @insert_text = args[:insert_text] if args.key?(:insert_text) + @delete_text = args[:delete_text] if args.key?(:delete_text) + @update_page_properties = args[:update_page_properties] if args.key?(:update_page_properties) + @delete_paragraph_bullets = args[:delete_paragraph_bullets] if args.key?(:delete_paragraph_bullets) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @insert_table_columns = args[:insert_table_columns] if args.key?(:insert_table_columns) + @refresh_sheets_chart = args[:refresh_sheets_chart] if args.key?(:refresh_sheets_chart) + @create_table = args[:create_table] if args.key?(:create_table) + @update_table_cell_properties = args[:update_table_cell_properties] if args.key?(:update_table_cell_properties) + @delete_object = args[:delete_object] if args.key?(:delete_object) + @update_paragraph_style = args[:update_paragraph_style] if args.key?(:update_paragraph_style) + @delete_table_column = args[:delete_table_column] if args.key?(:delete_table_column) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + @update_video_properties = args[:update_video_properties] if args.key?(:update_video_properties) + @create_line = args[:create_line] if args.key?(:create_line) + @create_image = args[:create_image] if args.key?(:create_image) + @create_paragraph_bullets = args[:create_paragraph_bullets] if args.key?(:create_paragraph_bullets) + @create_video = args[:create_video] if args.key?(:create_video) + end + end + + # Update the properties of an Image. + class UpdateImagePropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `imageProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the image outline color, set `fields` to + # `"outline.outlineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The properties of the Image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :image_properties + + # The object ID of the image the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @image_properties = args[:image_properties] if args.key?(:image_properties) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + class ParagraphStyle + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceBelow` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_below + + # The text direction of this paragraph. If unset, the value defaults to + # LEFT_TO_RIGHT + # since text direction is not inherited. + # Corresponds to the JSON property `direction` + # @return [String] + attr_accessor :direction + + # The spacing mode for the paragraph. + # Corresponds to the JSON property `spacingMode` + # @return [String] + attr_accessor :spacing_mode + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentEnd` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_end + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentStart` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_start + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `spaceAbove` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :space_above + + # The text alignment for this paragraph. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # The amount of space between lines, as a percentage of normal, where normal + # is represented as 100.0. If unset, the value is inherited from the parent. + # Corresponds to the JSON property `lineSpacing` + # @return [Float] + attr_accessor :line_spacing + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `indentFirstLine` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :indent_first_line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @space_below = args[:space_below] if args.key?(:space_below) + @direction = args[:direction] if args.key?(:direction) + @spacing_mode = args[:spacing_mode] if args.key?(:spacing_mode) + @indent_end = args[:indent_end] if args.key?(:indent_end) + @indent_start = args[:indent_start] if args.key?(:indent_start) + @space_above = args[:space_above] if args.key?(:space_above) + @alignment = args[:alignment] if args.key?(:alignment) + @line_spacing = args[:line_spacing] if args.key?(:line_spacing) + @indent_first_line = args[:indent_first_line] if args.key?(:indent_first_line) + end + end + + # The result of replacing shapes with a Google Sheets chart. + class ReplaceAllShapesWithSheetsChartResponse + include Google::Apis::Core::Hashable + + # The number of shapes replaced with charts. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # The properties of the TableCell. + class TableCellProperties + include Google::Apis::Core::Hashable + + # The table cell background fill. + # Corresponds to the JSON property `tableCellBackgroundFill` + # @return [Google::Apis::SlidesV1::TableCellBackgroundFill] + attr_accessor :table_cell_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_cell_background_fill = args[:table_cell_background_fill] if args.key?(:table_cell_background_fill) + end + end + + # Refreshes an embedded Google Sheets chart by replacing it with the latest + # version of the chart from Google Sheets. + # NOTE: Refreshing charts requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class RefreshSheetsChartRequest + include Google::Apis::Core::Hashable + + # The object ID of the chart to refresh. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Outline + include Google::Apis::Core::Hashable + + # The outline property state. + # Updating the the outline on a page element will implicitly update this + # field to`RENDERED`, unless another value is specified in the same request. + # To have no outline on a page element, set this field to `NOT_RENDERED`. In + # this case, any other outline fields set in the same request will be + # ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # The fill of the outline. + # Corresponds to the JSON property `outlineFill` + # @return [Google::Apis::SlidesV1::OutlineFill] + attr_accessor :outline_fill + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + # The dash style of the outline. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @outline_fill = args[:outline_fill] if args.key?(:outline_fill) + @weight = args[:weight] if args.key?(:weight) + @dash_style = args[:dash_style] if args.key?(:dash_style) + end + end + + # Properties of each column in a table. + class TableColumnProperties + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `columnWidth` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :column_width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_width = args[:column_width] if args.key?(:column_width) + end + end + + # The properties of Page that are only + # relevant for pages with page_type NOTES. + class NotesProperties + include Google::Apis::Core::Hashable + + # The object ID of the shape on this notes page that contains the speaker + # notes for the corresponding slide. + # The actual shape may not always exist on the notes page. Inserting text + # using this object ID will automatically create the shape. In this case, the + # actual shape may have different object ID. The `GetPresentation` or + # `GetPage` action will always return the latest object ID. + # Corresponds to the JSON property `speakerNotesObjectId` + # @return [String] + attr_accessor :speaker_notes_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @speaker_notes_object_id = args[:speaker_notes_object_id] if args.key?(:speaker_notes_object_id) + end + end + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + class ShapeProperties + include Google::Apis::Core::Hashable + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # The shape background fill. + # Corresponds to the JSON property `shapeBackgroundFill` + # @return [Google::Apis::SlidesV1::ShapeBackgroundFill] + attr_accessor :shape_background_fill + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outline = args[:outline] if args.key?(:outline) + @shape_background_fill = args[:shape_background_fill] if args.key?(:shape_background_fill) + @shadow = args[:shadow] if args.key?(:shadow) + @link = args[:link] if args.key?(:link) + end + end + + # Properties and contents of each row in a table. + class TableRow + include Google::Apis::Core::Hashable + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `rowHeight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :row_height + + # Properties and contents of each cell. + # Cells that span multiple columns are represented only once with a + # column_span greater + # than 1. As a result, the length of this collection does not always match + # the number of columns of the entire table. + # Corresponds to the JSON property `tableCells` + # @return [Array] + attr_accessor :table_cells + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_height = args[:row_height] if args.key?(:row_height) + @table_cells = args[:table_cells] if args.key?(:table_cells) + end + end + + # Update the properties of a TableCell. + class UpdateTableCellPropertiesRequest + include Google::Apis::Core::Hashable + + # The object ID of the table. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + # Corresponds to the JSON property `tableRange` + # @return [Google::Apis::SlidesV1::TableRange] + attr_accessor :table_range + + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + # The fields that should be updated. + # At least one field must be specified. The root `tableCellProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the table cell background solid fill color, set + # `fields` to `"tableCellBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @table_range = args[:table_range] if args.key?(:table_range) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + @fields = args[:fields] if args.key?(:fields) + end + end + + # Creates a new slide. + class CreateSlideRequest + include Google::Apis::Core::Hashable + + # Slide layout reference. This may reference either: + # - A predefined layout + # - One of the layouts in the presentation. + # Corresponds to the JSON property `slideLayoutReference` + # @return [Google::Apis::SlidesV1::LayoutReference] + attr_accessor :slide_layout_reference + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The optional zero-based index indicating where to insert the slides. + # If you don't specify an index, the new slide is created at the end. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # An optional list of object ID mappings from the placeholder(s) on the layout + # to the placeholder(s) + # that will be created on the new slide from that specified layout. Can only + # be used when `slide_layout_reference` is specified. + # Corresponds to the JSON property `placeholderIdMappings` + # @return [Array] + attr_accessor :placeholder_id_mappings + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @slide_layout_reference = args[:slide_layout_reference] if args.key?(:slide_layout_reference) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @placeholder_id_mappings = args[:placeholder_id_mappings] if args.key?(:placeholder_id_mappings) + end + end + + # Request message for PresentationsService.BatchUpdatePresentation. + class BatchUpdatePresentationRequest + include Google::Apis::Core::Hashable + + # A list of updates to apply to the presentation. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + # Provides control over how write requests are executed. + # Corresponds to the JSON property `writeControl` + # @return [Google::Apis::SlidesV1::WriteControl] + attr_accessor :write_control + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + @write_control = args[:write_control] if args.key?(:write_control) + end + end + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + class TextContent + include Google::Apis::Core::Hashable + + # The text contents broken down into its component parts, including styling + # information. This property is read-only. + # Corresponds to the JSON property `textElements` + # @return [Array] + attr_accessor :text_elements + + # The bulleted lists contained in this text, keyed by list ID. + # Corresponds to the JSON property `lists` + # @return [Hash] + attr_accessor :lists + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text_elements = args[:text_elements] if args.key?(:text_elements) + @lists = args[:lists] if args.key?(:lists) + end + end + + # The result of creating an embedded Google Sheets chart. + class CreateSheetsChartResponse + include Google::Apis::Core::Hashable + + # The object ID of the created chart. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Provides control over how write requests are executed. + class WriteControl + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `requiredRevisionId` + # @return [String] + attr_accessor :required_revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @required_revision_id = args[:required_revision_id] if args.key?(:required_revision_id) + end + end + + # Deletes bullets from all of the paragraphs that overlap with the given text + # index range. + # The nesting level of each paragraph will be visually preserved by adding + # indent to the start of the corresponding paragraph. + class DeleteParagraphBulletsRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table containing the text to delete bullets + # from. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # A TextElement kind that represents the beginning of a new paragraph. + class ParagraphMarker + include Google::Apis::Core::Hashable + + # Describes the bullet of a paragraph. + # Corresponds to the JSON property `bullet` + # @return [Google::Apis::SlidesV1::Bullet] + attr_accessor :bullet + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::ParagraphStyle] + attr_accessor :style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet = args[:bullet] if args.key?(:bullet) + @style = args[:style] if args.key?(:style) + end + end + + # Inserts columns into a table. + # Other columns in the table will be resized to fit the new column. + class InsertTableColumnsRequest + include Google::Apis::Core::Hashable + + # The number of columns to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # Whether to insert new columns to the right of the reference cell location. + # - `True`: insert to the right. + # - `False`: insert to the left. + # Corresponds to the JSON property `insertRight` + # @return [Boolean] + attr_accessor :insert_right + alias_method :insert_right?, :insert_right + + # The table to insert columns into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @number = args[:number] if args.key?(:number) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @insert_right = args[:insert_right] if args.key?(:insert_right) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + end + end + + # The thumbnail of a page. + class Thumbnail + include Google::Apis::Core::Hashable + + # The positive height in pixels of the thumbnail image. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + # 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`. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The positive width in pixels of the thumbnail image. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @height = args[:height] if args.key?(:height) + @content_url = args[:content_url] if args.key?(:content_url) + @width = args[:width] if args.key?(:width) + end + end + + # The user-specified ID mapping for a placeholder that will be created on a + # slide from a specified layout. + class LayoutPlaceholderIdMapping + include Google::Apis::Core::Hashable + + # The placeholder information that uniquely identifies a placeholder shape. + # Corresponds to the JSON property `layoutPlaceholder` + # @return [Google::Apis::SlidesV1::Placeholder] + attr_accessor :layout_placeholder + + # The object ID of the placeholder on a layout that will be applied + # to a slide. + # Corresponds to the JSON property `layoutPlaceholderObjectId` + # @return [String] + attr_accessor :layout_placeholder_object_id + + # A user-supplied object ID for the placeholder identified above that to be + # created onto a slide. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @layout_placeholder = args[:layout_placeholder] if args.key?(:layout_placeholder) + @layout_placeholder_object_id = args[:layout_placeholder_object_id] if args.key?(:layout_placeholder_object_id) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Update the properties of a Shape. + class UpdateShapePropertiesRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape the updates are applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + # Corresponds to the JSON property `shapeProperties` + # @return [Google::Apis::SlidesV1::ShapeProperties] + attr_accessor :shape_properties + + # The fields that should be updated. + # At least one field must be specified. The root `shapeProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the shape background solid fill color, set `fields` + # to `"shapeBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape_properties = args[:shape_properties] if args.key?(:shape_properties) + @fields = args[:fields] if args.key?(:fields) + end + end + + # A PageElement kind representing + # word art. + class WordArt + include Google::Apis::Core::Hashable + + # The text rendered as word art. + # Corresponds to the JSON property `renderedText` + # @return [String] + attr_accessor :rendered_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rendered_text = args[:rendered_text] if args.key?(:rendered_text) + end + end + + # A recolor effect applied on an image. + class Recolor + include Google::Apis::Core::Hashable + + # The recolor effect is represented by a gradient, which is a list of color + # stops. + # The colors in the gradient will replace the corresponding colors at + # the same position in the color palette and apply to the image. This + # property is read-only. + # Corresponds to the JSON property `recolorStops` + # @return [Array] + attr_accessor :recolor_stops + + # The name of the recolor effect. + # The name is determined from the `recolor_stops` by matching the gradient + # against the colors in the page's current color scheme. This property is + # read-only. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @recolor_stops = args[:recolor_stops] if args.key?(:recolor_stops) + @name = args[:name] if args.key?(:name) + end + end + + # A hypertext link. + class Link + include Google::Apis::Core::Hashable + + # If set, indicates this is a link to the specific page in this + # presentation with this ID. A page with this ID may not exist. + # Corresponds to the JSON property `pageObjectId` + # @return [String] + attr_accessor :page_object_id + + # If set, indicates this is a link to the external web page at this URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # If set, indicates this is a link to a slide in this presentation, + # addressed by its position. + # Corresponds to the JSON property `relativeLink` + # @return [String] + attr_accessor :relative_link + + # If set, indicates this is a link to the slide at this zero-based index + # in the presentation. There may not be a slide at this index. + # Corresponds to the JSON property `slideIndex` + # @return [Fixnum] + attr_accessor :slide_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_object_id = args[:page_object_id] if args.key?(:page_object_id) + @url = args[:url] if args.key?(:url) + @relative_link = args[:relative_link] if args.key?(:relative_link) + @slide_index = args[:slide_index] if args.key?(:slide_index) + end + end + + # An RGB color. + class RgbColor + include Google::Apis::Core::Hashable + + # The red component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + + # The green component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `green` + # @return [Float] + attr_accessor :green + + # The blue component of the color, from 0.0 to 1.0. + # Corresponds to the JSON property `blue` + # @return [Float] + attr_accessor :blue + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @red = args[:red] if args.key?(:red) + @green = args[:green] if args.key?(:green) + @blue = args[:blue] if args.key?(:blue) + end + end + + # The result of creating a shape. + class CreateShapeResponse + include Google::Apis::Core::Hashable + + # The object ID of the created shape. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a line. + class CreateLineRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The category of line to be created. + # Corresponds to the JSON property `lineCategory` + # @return [String] + attr_accessor :line_category + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @line_category = args[:line_category] if args.key?(:line_category) + end + end + + # The result of creating a slide. + class CreateSlideResponse + include Google::Apis::Core::Hashable + + # The object ID of the created slide. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Creates a new shape. + class CreateShapeRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The shape type. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @shape_type = args[:shape_type] if args.key?(:shape_type) + @element_properties = args[:element_properties] if args.key?(:element_properties) + end + end + + # A PageElement kind representing a + # video. + class Video + include Google::Apis::Core::Hashable + + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + # An URL to a video. The URL is valid as long as the source video + # exists and sharing settings do not change. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + # The video source's unique identifier for this video. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The properties of the Video. + # Corresponds to the JSON property `videoProperties` + # @return [Google::Apis::SlidesV1::VideoProperties] + attr_accessor :video_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @source = args[:source] if args.key?(:source) + @url = args[:url] if args.key?(:url) + @id = args[:id] if args.key?(:id) + @video_properties = args[:video_properties] if args.key?(:video_properties) + end + end + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + class PageProperties + include Google::Apis::Core::Hashable + + # The palette of predefined colors for a page. + # Corresponds to the JSON property `colorScheme` + # @return [Google::Apis::SlidesV1::ColorScheme] + attr_accessor :color_scheme + + # The page background fill. + # Corresponds to the JSON property `pageBackgroundFill` + # @return [Google::Apis::SlidesV1::PageBackgroundFill] + attr_accessor :page_background_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color_scheme = args[:color_scheme] if args.key?(:color_scheme) + @page_background_fill = args[:page_background_fill] if args.key?(:page_background_fill) + end + end + + # Contains properties describing the look and feel of a list bullet at a given + # level of nesting. + class NestingLevel + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + end + end + + # Properties and contents of each table cell. + class TableCell + include Google::Apis::Core::Hashable + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + # The properties of the TableCell. + # Corresponds to the JSON property `tableCellProperties` + # @return [Google::Apis::SlidesV1::TableCellProperties] + attr_accessor :table_cell_properties + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # Row span of the cell. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + # Column span of the cell. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + @column_span = args[:column_span] if args.key?(:column_span) + end + end + + # Updates the properties of a Line. + class UpdateLinePropertiesRequest + include Google::Apis::Core::Hashable + + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + # Corresponds to the JSON property `lineProperties` + # @return [Google::Apis::SlidesV1::LineProperties] + attr_accessor :line_properties + + # The fields that should be updated. + # At least one field must be specified. The root `lineProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the line solid fill color, set `fields` to + # `"lineFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the line the update is applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_properties = args[:line_properties] if args.key?(:line_properties) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Updates the position of slides in the presentation. + class UpdateSlidesPositionRequest + include Google::Apis::Core::Hashable + + # The index where the slides should be inserted, based on the slide + # arrangement before the move takes place. Must be between zero and the + # number of slides in the presentation, inclusive. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # The IDs of the slides in the presentation that should be moved. + # The slides in this list must be in existing presentation order, without + # duplicates. + # Corresponds to the JSON property `slideObjectIds` + # @return [Array] + attr_accessor :slide_object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @slide_object_ids = args[:slide_object_ids] if args.key?(:slide_object_ids) + end + end + + # The table cell background fill. + class TableCellBackgroundFill + include Google::Apis::Core::Hashable + + # The background fill property state. + # Updating the the fill on a table cell will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no fill on a table cell, set this field to `NOT_RENDERED`. In this + # case, any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property_state = args[:property_state] if args.key?(:property_state) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # Updates the properties of a Page. + class UpdatePagePropertiesRequest + include Google::Apis::Core::Hashable + + # The fields that should be updated. + # At least one field must be specified. The root `pageProperties` is + # implied and should not be specified. A single `"*"` can be used as + # short-hand for listing every field. + # For example to update the page background solid fill color, set `fields` + # to `"pageBackgroundFill.solidFill.color"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the page the update is applied to. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @page_properties = args[:page_properties] if args.key?(:page_properties) + end + end + + # A PageElement kind representing a + # joined collection of PageElements. + class Group + include Google::Apis::Core::Hashable + + # The collection of elements in the group. The minimum size of a group is 2. + # Corresponds to the JSON property `children` + # @return [Array] + attr_accessor :children + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @children = args[:children] if args.key?(:children) + end + end + + # The placeholder information that uniquely identifies a placeholder shape. + class Placeholder + include Google::Apis::Core::Hashable + + # The type of the placeholder. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The object ID of this shape's parent placeholder. + # If unset, the parent placeholder shape does not exist, so the shape does + # not inherit properties from any other shape. + # Corresponds to the JSON property `parentObjectId` + # @return [String] + attr_accessor :parent_object_id + + # The index of the placeholder. If the same placeholder types are present in + # the same page, they would have different index values. + # Corresponds to the JSON property `index` + # @return [Fixnum] + attr_accessor :index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @parent_object_id = args[:parent_object_id] if args.key?(:parent_object_id) + @index = args[:index] if args.key?(:index) + end + end + + # Duplicates a slide or page element. + # When duplicating a slide, the duplicate slide will be created immediately + # following the specified slide. When duplicating a page element, the duplicate + # will be placed on the same page at the same position as the original. + class DuplicateObjectRequest + include Google::Apis::Core::Hashable + + # The ID of the object to duplicate. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The object being duplicated may contain other objects, for example when + # duplicating a slide or a group page element. This map defines how the IDs + # of duplicated objects are generated: the keys are the IDs of the original + # objects and its values are the IDs that will be assigned to the + # corresponding duplicate object. The ID of the source object's duplicate + # may be specified in this map as well, using the same value of the + # `object_id` field as a key and the newly desired ID as the value. + # All keys must correspond to existing IDs in the presentation. All values + # must be unique in the presentation and must start with an alphanumeric + # character or an underscore (matches regex `[a-zA-Z0-9_]`); remaining + # characters may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). The length of the new ID must not be less than 5 or + # greater than 50. + # If any IDs of source objects are omitted from the map, a new random ID will + # be assigned. If the map is empty or unset, all duplicate objects will + # receive a new random ID. + # Corresponds to the JSON property `objectIds` + # @return [Hash] + attr_accessor :object_ids + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @object_ids = args[:object_ids] if args.key?(:object_ids) + end + end + + # Replaces all instances of text matching a criteria with replace text. + class ReplaceAllTextRequest + include Google::Apis::Core::Hashable + + # The text that will replace the matched text. + # Corresponds to the JSON property `replaceText` + # @return [String] + attr_accessor :replace_text + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @replace_text = args[:replace_text] if args.key?(:replace_text) + @contains_text = args[:contains_text] if args.key?(:contains_text) + end + end + + # A page in a presentation. + class Page + include Google::Apis::Core::Hashable + + # The object ID for this page. Object IDs used by + # Page and + # PageElement share the same namespace. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # 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. If the + # revision ID is unchanged between calls, then the presentation has not + # changed. Conversely, a changed ID (for the same presentation and user) + # usually means the presentation has been updated; however, a changed ID can + # also be due to internal factors such as ID format changes. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + # Corresponds to the JSON property `layoutProperties` + # @return [Google::Apis::SlidesV1::LayoutProperties] + attr_accessor :layout_properties + + # The page elements rendered on the page. + # Corresponds to the JSON property `pageElements` + # @return [Array] + attr_accessor :page_elements + + # The type of the page. + # Corresponds to the JSON property `pageType` + # @return [String] + attr_accessor :page_type + + # The properties of Page that are only + # relevant for pages with page_type NOTES. + # Corresponds to the JSON property `notesProperties` + # @return [Google::Apis::SlidesV1::NotesProperties] + attr_accessor :notes_properties + + # The properties of the Page. + # The page will inherit properties from the parent page. Depending on the page + # type the hierarchy is defined in either + # SlideProperties or + # LayoutProperties. + # Corresponds to the JSON property `pageProperties` + # @return [Google::Apis::SlidesV1::PageProperties] + attr_accessor :page_properties + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + # Corresponds to the JSON property `slideProperties` + # @return [Google::Apis::SlidesV1::SlideProperties] + attr_accessor :slide_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @layout_properties = args[:layout_properties] if args.key?(:layout_properties) + @page_elements = args[:page_elements] if args.key?(:page_elements) + @page_type = args[:page_type] if args.key?(:page_type) + @notes_properties = args[:notes_properties] if args.key?(:notes_properties) + @page_properties = args[:page_properties] if args.key?(:page_properties) + @slide_properties = args[:slide_properties] if args.key?(:slide_properties) + end + end + + # The shape background fill. + class ShapeBackgroundFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + # The background fill property state. + # Updating the the fill on a shape will implicitly update this field to + # `RENDERED`, unless another value is specified in the same request. To + # have no fill on a shape, set this field to `NOT_RENDERED`. In this case, + # any other fill fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + @property_state = args[:property_state] if args.key?(:property_state) + end + end + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + class CropProperties + include Google::Apis::Core::Hashable + + # The rotation angle of the crop window around its center, in radians. + # Rotation angle is applied after the offset. + # Corresponds to the JSON property `angle` + # @return [Float] + attr_accessor :angle + + # The offset specifies the top edge of the crop rectangle that is located + # below the original bounding rectangle top edge, relative to the object's + # original height. + # Corresponds to the JSON property `topOffset` + # @return [Float] + attr_accessor :top_offset + + # The offset specifies the left edge of the crop rectangle that is located to + # the right of the original bounding rectangle left edge, relative to the + # object's original width. + # Corresponds to the JSON property `leftOffset` + # @return [Float] + attr_accessor :left_offset + + # The offset specifies the right edge of the crop rectangle that is located + # to the left of the original bounding rectangle right edge, relative to the + # object's original width. + # Corresponds to the JSON property `rightOffset` + # @return [Float] + attr_accessor :right_offset + + # The offset specifies the bottom edge of the crop rectangle that is located + # above the original bounding rectangle bottom edge, relative to the object's + # original height. + # Corresponds to the JSON property `bottomOffset` + # @return [Float] + attr_accessor :bottom_offset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @angle = args[:angle] if args.key?(:angle) + @top_offset = args[:top_offset] if args.key?(:top_offset) + @left_offset = args[:left_offset] if args.key?(:left_offset) + @right_offset = args[:right_offset] if args.key?(:right_offset) + @bottom_offset = args[:bottom_offset] if args.key?(:bottom_offset) + end + end + + # Replaces all shapes that match the given criteria with the provided Google + # Sheets chart. The chart will be scaled and centered to fit within the bounds + # of the original shape. + # NOTE: Replacing shapes with a chart requires at least one of the + # spreadsheets.readonly, spreadsheets, drive.readonly, or drive OAuth scopes. + class ReplaceAllShapesWithSheetsChartRequest + include Google::Apis::Core::Hashable + + # The ID of the Google Sheets spreadsheet that contains the chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The mode with which the chart is linked to the source spreadsheet. When + # not specified, the chart will be an image that is not linked. + # Corresponds to the JSON property `linkingMode` + # @return [String] + attr_accessor :linking_mode + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + # The ID of the specific chart in the Google Sheets spreadsheet. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @linking_mode = args[:linking_mode] if args.key?(:linking_mode) + @contains_text = args[:contains_text] if args.key?(:contains_text) + @chart_id = args[:chart_id] if args.key?(:chart_id) + end + end + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + class Range + include Google::Apis::Core::Hashable + + # The optional zero-based index of the beginning of the collection. + # Required for `SPECIFIC_RANGE` and `FROM_START_INDEX` ranges. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The optional zero-based index of the end of the collection. + # Required for `SPECIFIC_RANGE` delete mode. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + # The type of range. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @start_index = args[:start_index] if args.key?(:start_index) + @end_index = args[:end_index] if args.key?(:end_index) + @type = args[:type] if args.key?(:type) + end + end + + # A color and position in a gradient band. + class ColorStop + include Google::Apis::Core::Hashable + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # The alpha value of this color in the gradient band. Defaults to 1.0, + # fully opaque. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # The relative position of the color stop in the gradient band measured + # in percentage. The value should be in the interval [0.0, 1.0]. + # Corresponds to the JSON property `position` + # @return [Float] + attr_accessor :position + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @color = args[:color] if args.key?(:color) + @alpha = args[:alpha] if args.key?(:alpha) + @position = args[:position] if args.key?(:position) + end + end + + # Creates a video. + class CreateVideoRequest + include Google::Apis::Core::Hashable + + # A user-supplied object ID. + # If you specify an ID, it must be unique among all pages and page elements + # in the presentation. The ID must start with an alphanumeric character or an + # underscore (matches regex `[a-zA-Z0-9_]`); remaining characters + # may include those as well as a hyphen or colon (matches regex + # `[a-zA-Z0-9_-:]`). + # The length of the ID must not be less than 5 or greater than 50. + # If you don't specify an ID, a unique one is generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The video source. + # Corresponds to the JSON property `source` + # @return [String] + attr_accessor :source + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The video source's unique identifier for this video. + # e.g. For YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, + # the ID is 7U3axjORYZ0. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @source = args[:source] if args.key?(:source) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @id = args[:id] if args.key?(:id) + end + end + + # The response of duplicating an object. + class DuplicateObjectResponse + include Google::Apis::Core::Hashable + + # The ID of the new duplicate object. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Replaces all shapes that match the given criteria with the provided image. + class ReplaceAllShapesWithImageRequest + include Google::Apis::Core::Hashable + + # The image URL. + # The image is fetched once at insertion time and a copy is stored for + # display inside the presentation. Images must be less than 50MB in size, + # cannot exceed 25 megapixels, and must be in either in PNG, JPEG, or GIF + # format. + # Corresponds to the JSON property `imageUrl` + # @return [String] + attr_accessor :image_url + + # The replace method. + # Corresponds to the JSON property `replaceMethod` + # @return [String] + attr_accessor :replace_method + + # A criteria that matches a specific string of text in a shape or table. + # Corresponds to the JSON property `containsText` + # @return [Google::Apis::SlidesV1::SubstringMatchCriteria] + attr_accessor :contains_text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_url = args[:image_url] if args.key?(:image_url) + @replace_method = args[:replace_method] if args.key?(:replace_method) + @contains_text = args[:contains_text] if args.key?(:contains_text) + end + end + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + class Shadow + include Google::Apis::Core::Hashable + + # The type of the shadow. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # The alignment point of the shadow, that sets the origin for translate, + # scale and skew of the shadow. + # Corresponds to the JSON property `alignment` + # @return [String] + attr_accessor :alignment + + # The alpha of the shadow's color, from 0.0 to 1.0. + # Corresponds to the JSON property `alpha` + # @return [Float] + attr_accessor :alpha + + # A themeable solid color value. + # Corresponds to the JSON property `color` + # @return [Google::Apis::SlidesV1::OpaqueColor] + attr_accessor :color + + # Whether the shadow should rotate with the shape. + # Corresponds to the JSON property `rotateWithShape` + # @return [Boolean] + attr_accessor :rotate_with_shape + alias_method :rotate_with_shape?, :rotate_with_shape + + # The shadow property state. + # Updating the the shadow on a page element will implicitly update this field + # to `RENDERED`, unless another value is specified in the same request. To + # have no shadow on a page element, set this field to `NOT_RENDERED`. In this + # case, any other shadow fields set in the same request will be ignored. + # Corresponds to the JSON property `propertyState` + # @return [String] + attr_accessor :property_state + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `blurRadius` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :blur_radius + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @transform = args[:transform] if args.key?(:transform) + @alignment = args[:alignment] if args.key?(:alignment) + @alpha = args[:alpha] if args.key?(:alpha) + @color = args[:color] if args.key?(:color) + @rotate_with_shape = args[:rotate_with_shape] if args.key?(:rotate_with_shape) + @property_state = args[:property_state] if args.key?(:property_state) + @blur_radius = args[:blur_radius] if args.key?(:blur_radius) + end + end + + # Deletes a row from a table. + class DeleteTableRowRequest + include Google::Apis::Core::Hashable + + # The table to delete rows from. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # Describes the bullet of a paragraph. + class Bullet + include Google::Apis::Core::Hashable + + # The ID of the list this paragraph belongs to. + # Corresponds to the JSON property `listId` + # @return [String] + attr_accessor :list_id + + # The rendered bullet glyph for this paragraph. + # Corresponds to the JSON property `glyph` + # @return [String] + attr_accessor :glyph + + # The nesting level of this paragraph in the list. + # Corresponds to the JSON property `nestingLevel` + # @return [Fixnum] + attr_accessor :nesting_level + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `bulletStyle` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :bullet_style + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @list_id = args[:list_id] if args.key?(:list_id) + @glyph = args[:glyph] if args.key?(:glyph) + @nesting_level = args[:nesting_level] if args.key?(:nesting_level) + @bullet_style = args[:bullet_style] if args.key?(:bullet_style) + end + end + + # The fill of the outline. + class OutlineFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # The result of creating a line. + class CreateLineResponse + include Google::Apis::Core::Hashable + + # The object ID of the created line. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A location of a single table cell within a table. + class TableCellLocation + include Google::Apis::Core::Hashable + + # The 0-based row index. + # Corresponds to the JSON property `rowIndex` + # @return [Fixnum] + attr_accessor :row_index + + # The 0-based column index. + # Corresponds to the JSON property `columnIndex` + # @return [Fixnum] + attr_accessor :column_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @row_index = args[:row_index] if args.key?(:row_index) + @column_index = args[:column_index] if args.key?(:column_index) + end + end + + # The result of replacing text. + class ReplaceAllTextResponse + include Google::Apis::Core::Hashable + + # The number of occurrences changed by replacing all text. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # Updates the styling for all of the paragraphs within a Shape or Table that + # overlap with the given text index range. + class UpdateParagraphStyleRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # Styles that apply to a whole paragraph. + # If this text is contained in a shape with a parent placeholder, then these + # paragraph styles may be + # inherited from the parent. Which paragraph styles are inherited depend on the + # nesting level of lists: + # * A paragraph not in a list will inherit its paragraph style from the + # paragraph at the 0 nesting level of the list inside the parent placeholder. + # * A paragraph in a list will inherit its paragraph style from the paragraph + # at its corresponding nesting level of the list inside the parent + # placeholder. + # Inherited paragraph styles are represented as unset fields in this message. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::ParagraphStyle] + attr_accessor :style + + # The fields that should be updated. + # At least one field must be specified. The root `style` is implied and + # should not be specified. A single `"*"` can be used as short-hand for + # listing every field. + # For example, to update the paragraph alignment, set `fields` to + # `"alignment"`. + # To reset a property to its default value, include its field name in the + # field mask but leave the field itself unset. + # Corresponds to the JSON property `fields` + # @return [String] + attr_accessor :fields + + # The object ID of the shape or table with the text to be styled. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @style = args[:style] if args.key?(:style) + @fields = args[:fields] if args.key?(:fields) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + end + end + + # The palette of predefined colors for a page. + class ColorScheme + include Google::Apis::Core::Hashable + + # The ThemeColorType and corresponding concrete color pairs. + # Corresponds to the JSON property `colors` + # @return [Array] + attr_accessor :colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @colors = args[:colors] if args.key?(:colors) + end + end + + # A PageElement kind representing a + # generic shape that does not have a more specific classification. + class Shape + include Google::Apis::Core::Hashable + + # The type of the shape. + # Corresponds to the JSON property `shapeType` + # @return [String] + attr_accessor :shape_type + + # The general text content. The text must reside in a compatible shape (e.g. + # text box or rectangle) or a table cell in a page. + # Corresponds to the JSON property `text` + # @return [Google::Apis::SlidesV1::TextContent] + attr_accessor :text + + # The placeholder information that uniquely identifies a placeholder shape. + # Corresponds to the JSON property `placeholder` + # @return [Google::Apis::SlidesV1::Placeholder] + attr_accessor :placeholder + + # The properties of a Shape. + # If the shape is a placeholder shape as determined by the + # placeholder field, then these + # properties may be inherited from a parent placeholder shape. + # Determining the rendered value of the property depends on the corresponding + # property_state field value. + # Corresponds to the JSON property `shapeProperties` + # @return [Google::Apis::SlidesV1::ShapeProperties] + attr_accessor :shape_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shape_type = args[:shape_type] if args.key?(:shape_type) + @text = args[:text] if args.key?(:text) + @placeholder = args[:placeholder] if args.key?(:placeholder) + @shape_properties = args[:shape_properties] if args.key?(:shape_properties) + end + end + + # A PageElement kind representing an + # image. + class Image + include Google::Apis::Core::Hashable + + # An URL to an image with 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. + # Corresponds to the JSON property `contentUrl` + # @return [String] + attr_accessor :content_url + + # The properties of the Image. + # Corresponds to the JSON property `imageProperties` + # @return [Google::Apis::SlidesV1::ImageProperties] + attr_accessor :image_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content_url = args[:content_url] if args.key?(:content_url) + @image_properties = args[:image_properties] if args.key?(:image_properties) + end + end + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + class AffineTransform + include Google::Apis::Core::Hashable + + # The Y coordinate shearing element. + # Corresponds to the JSON property `shearY` + # @return [Float] + attr_accessor :shear_y + + # The units for translate elements. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + # The X coordinate scaling element. + # Corresponds to the JSON property `scaleX` + # @return [Float] + attr_accessor :scale_x + + # The X coordinate shearing element. + # Corresponds to the JSON property `shearX` + # @return [Float] + attr_accessor :shear_x + + # The Y coordinate scaling element. + # Corresponds to the JSON property `scaleY` + # @return [Float] + attr_accessor :scale_y + + # The Y coordinate translation element. + # Corresponds to the JSON property `translateY` + # @return [Float] + attr_accessor :translate_y + + # The X coordinate translation element. + # Corresponds to the JSON property `translateX` + # @return [Float] + attr_accessor :translate_x + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shear_y = args[:shear_y] if args.key?(:shear_y) + @unit = args[:unit] if args.key?(:unit) + @scale_x = args[:scale_x] if args.key?(:scale_x) + @shear_x = args[:shear_x] if args.key?(:shear_x) + @scale_y = args[:scale_y] if args.key?(:scale_y) + @translate_y = args[:translate_y] if args.key?(:translate_y) + @translate_x = args[:translate_x] if args.key?(:translate_x) + end + end + + # Inserts text into a shape or a table cell. + class InsertTextRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table where the text will be inserted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # The text to be inserted. + # Inserting a newline character will implicitly create a new + # ParagraphMarker at that index. + # The paragraph style of the new paragraph will be copied from the paragraph + # at the current insertion index, including lists and bullets. + # Text styles for inserted text will be determined automatically, generally + # preserving the styling of neighboring text. In most cases, the text will be + # added to the TextRun that exists at the + # insertion index. + # Some control characters (U+0000-U+0008, U+000C-U+001F) and characters + # from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) + # will be stripped out of the inserted text. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # The index where the text will be inserted, in Unicode code units, based + # on TextElement indexes. + # The index is zero-based and is computed from the start of the string. + # The index may be adjusted to prevent insertions inside Unicode grapheme + # clusters. In these cases, the text will be inserted immediately after the + # grapheme cluster. + # Corresponds to the JSON property `insertionIndex` + # @return [Fixnum] + attr_accessor :insertion_index + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text = args[:text] if args.key?(:text) + @insertion_index = args[:insertion_index] if args.key?(:insertion_index) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # A TextElement kind that represents auto text. + class AutoText + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The type of this auto text. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # The rendered content of this auto text, if available. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @style = args[:style] if args.key?(:style) + @type = args[:type] if args.key?(:type) + @content = args[:content] if args.key?(:content) + end + end + + # The result of creating a video. + class CreateVideoResponse + include Google::Apis::Core::Hashable + + # The object ID of the created video. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # Updates the transform of a page element. + class UpdatePageElementTransformRequest + include Google::Apis::Core::Hashable + + # The object ID of the page element to update. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # AffineTransform uses a 3x3 matrix with an implied last row of [ 0 0 1 ] + # to transform source coordinates (x,y) into destination coordinates (x', y') + # according to: + # x' x = shear_y scale_y translate_y + # 1 [ 1 ] + # After transformation, + # x' = scale_x * x + shear_x * y + translate_x; + # y' = scale_y * y + shear_y * x + translate_y; + # This message is therefore composed of these six matrix elements. + # Corresponds to the JSON property `transform` + # @return [Google::Apis::SlidesV1::AffineTransform] + attr_accessor :transform + + # The apply mode of the transform update. + # Corresponds to the JSON property `applyMode` + # @return [String] + attr_accessor :apply_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @transform = args[:transform] if args.key?(:transform) + @apply_mode = args[:apply_mode] if args.key?(:apply_mode) + end + end + + # Deletes text from a shape or a table cell. + class DeleteTextRequest + include Google::Apis::Core::Hashable + + # The object ID of the shape or table from which the text will be deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Specifies a contiguous range of an indexed collection, such as characters in + # text. + # Corresponds to the JSON property `textRange` + # @return [Google::Apis::SlidesV1::Range] + attr_accessor :text_range + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @text_range = args[:text_range] if args.key?(:text_range) + @cell_location = args[:cell_location] if args.key?(:cell_location) + end + end + + # Deletes an object, either pages or + # page elements, from the + # presentation. + class DeleteObjectRequest + include Google::Apis::Core::Hashable + + # The object ID of the page or page element to delete. + # If after a delete operation a group contains + # only 1 or no page elements, the group is also deleted. + # If a placeholder is deleted on a layout, any empty inheriting shapes are + # also deleted. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # A TextElement describes the content of a range of indices in the text content + # of a Shape or TableCell. + class TextElement + include Google::Apis::Core::Hashable + + # A TextElement kind that represents a run of text that all has the same + # styling. + # Corresponds to the JSON property `textRun` + # @return [Google::Apis::SlidesV1::TextRun] + attr_accessor :text_run + + # A TextElement kind that represents auto text. + # Corresponds to the JSON property `autoText` + # @return [Google::Apis::SlidesV1::AutoText] + attr_accessor :auto_text + + # A TextElement kind that represents the beginning of a new paragraph. + # Corresponds to the JSON property `paragraphMarker` + # @return [Google::Apis::SlidesV1::ParagraphMarker] + attr_accessor :paragraph_marker + + # The zero-based start index of this text element, in Unicode code units. + # Corresponds to the JSON property `startIndex` + # @return [Fixnum] + attr_accessor :start_index + + # The zero-based end index of this text element, exclusive, in Unicode code + # units. + # Corresponds to the JSON property `endIndex` + # @return [Fixnum] + attr_accessor :end_index + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text_run = args[:text_run] if args.key?(:text_run) + @auto_text = args[:auto_text] if args.key?(:auto_text) + @paragraph_marker = args[:paragraph_marker] if args.key?(:paragraph_marker) + @start_index = args[:start_index] if args.key?(:start_index) + @end_index = args[:end_index] if args.key?(:end_index) + end + end + + # A magnitude in a single direction in the specified units. + class Dimension + include Google::Apis::Core::Hashable + + # The magnitude. + # Corresponds to the JSON property `magnitude` + # @return [Float] + attr_accessor :magnitude + + # The units for magnitude. + # Corresponds to the JSON property `unit` + # @return [String] + attr_accessor :unit + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @magnitude = args[:magnitude] if args.key?(:magnitude) + @unit = args[:unit] if args.key?(:unit) + end + end + + # The fill of the line. + class LineFill + include Google::Apis::Core::Hashable + + # A solid color fill. The page or page element is filled entirely with the + # specified color value. + # If any field is unset, its value may be inherited from a parent placeholder + # if it exists. + # Corresponds to the JSON property `solidFill` + # @return [Google::Apis::SlidesV1::SolidFill] + attr_accessor :solid_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @solid_fill = args[:solid_fill] if args.key?(:solid_fill) + end + end + + # The properties of the Video. + class VideoProperties + include Google::Apis::Core::Hashable + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @outline = args[:outline] if args.key?(:outline) + end + end + + # Inserts rows into a table. + class InsertTableRowsRequest + include Google::Apis::Core::Hashable + + # A location of a single table cell within a table. + # Corresponds to the JSON property `cellLocation` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :cell_location + + # The table to insert rows into. + # Corresponds to the JSON property `tableObjectId` + # @return [String] + attr_accessor :table_object_id + + # Whether to insert new rows below the reference cell location. + # - `True`: insert below the cell. + # - `False`: insert above the cell. + # Corresponds to the JSON property `insertBelow` + # @return [Boolean] + attr_accessor :insert_below + alias_method :insert_below?, :insert_below + + # The number of rows to be inserted. Maximum 20 per request. + # Corresponds to the JSON property `number` + # @return [Fixnum] + attr_accessor :number + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cell_location = args[:cell_location] if args.key?(:cell_location) + @table_object_id = args[:table_object_id] if args.key?(:table_object_id) + @insert_below = args[:insert_below] if args.key?(:insert_below) + @number = args[:number] if args.key?(:number) + end + end + + # The properties of Page are only + # relevant for pages with page_type LAYOUT. + class LayoutProperties + include Google::Apis::Core::Hashable + + # The object ID of the master that this layout is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + # The name of the layout. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The human readable name of the layout in the presentation's locale. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + @name = args[:name] if args.key?(:name) + @display_name = args[:display_name] if args.key?(:display_name) + end + end + + # A Google Slides presentation. + class Presentation + include Google::Apis::Core::Hashable + + # A width and height. + # Corresponds to the JSON property `pageSize` + # @return [Google::Apis::SlidesV1::Size] + attr_accessor :page_size + + # The ID of the presentation. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The slides in the presentation. + # A slide inherits properties from a slide layout. + # Corresponds to the JSON property `slides` + # @return [Array] + attr_accessor :slides + + # 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. If the + # revision ID is unchanged between calls, then the presentation has not + # changed. Conversely, a changed ID (for the same presentation and user) + # usually means the presentation has been updated; however, a changed ID can + # also be due to internal factors such as ID format changes. + # Corresponds to the JSON property `revisionId` + # @return [String] + attr_accessor :revision_id + + # A page in a presentation. + # Corresponds to the JSON property `notesMaster` + # @return [Google::Apis::SlidesV1::Page] + attr_accessor :notes_master + + # The layouts in the presentation. A layout is a template that determines + # how content is arranged and styled on the slides that inherit from that + # layout. + # Corresponds to the JSON property `layouts` + # @return [Array] + attr_accessor :layouts + + # The title of the presentation. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + # The slide masters in the presentation. A slide master contains all common + # page elements and the common properties for a set of layouts. They serve + # three purposes: + # - Placeholder shapes on a master contain the default text styles and shape + # properties of all placeholder shapes on pages that use that master. + # - The master page properties define the common page properties inherited by + # its layouts. + # - Any other shapes on the master slide will appear on all slides using that + # master, regardless of their layout. + # Corresponds to the JSON property `masters` + # @return [Array] + attr_accessor :masters + + # The locale of the presentation, as an IETF BCP 47 language tag. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @page_size = args[:page_size] if args.key?(:page_size) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @slides = args[:slides] if args.key?(:slides) + @revision_id = args[:revision_id] if args.key?(:revision_id) + @notes_master = args[:notes_master] if args.key?(:notes_master) + @layouts = args[:layouts] if args.key?(:layouts) + @title = args[:title] if args.key?(:title) + @masters = args[:masters] if args.key?(:masters) + @locale = args[:locale] if args.key?(:locale) + end + end + + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + class LineProperties + include Google::Apis::Core::Hashable + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # The dash style of the line. + # Corresponds to the JSON property `dashStyle` + # @return [String] + attr_accessor :dash_style + + # The style of the arrow at the beginning of the line. + # Corresponds to the JSON property `startArrow` + # @return [String] + attr_accessor :start_arrow + + # The style of the arrow at the end of the line. + # Corresponds to the JSON property `endArrow` + # @return [String] + attr_accessor :end_arrow + + # A magnitude in a single direction in the specified units. + # Corresponds to the JSON property `weight` + # @return [Google::Apis::SlidesV1::Dimension] + attr_accessor :weight + + # The fill of the line. + # Corresponds to the JSON property `lineFill` + # @return [Google::Apis::SlidesV1::LineFill] + attr_accessor :line_fill + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @link = args[:link] if args.key?(:link) + @dash_style = args[:dash_style] if args.key?(:dash_style) + @start_arrow = args[:start_arrow] if args.key?(:start_arrow) + @end_arrow = args[:end_arrow] if args.key?(:end_arrow) + @weight = args[:weight] if args.key?(:weight) + @line_fill = args[:line_fill] if args.key?(:line_fill) + end + end + + # A themeable solid color value. + class OpaqueColor + include Google::Apis::Core::Hashable + + # An RGB color. + # Corresponds to the JSON property `rgbColor` + # @return [Google::Apis::SlidesV1::RgbColor] + attr_accessor :rgb_color + + # An opaque theme color. + # Corresponds to the JSON property `themeColor` + # @return [String] + attr_accessor :theme_color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @rgb_color = args[:rgb_color] if args.key?(:rgb_color) + @theme_color = args[:theme_color] if args.key?(:theme_color) + end + end + + # The properties of the Image. + class ImageProperties + include Google::Apis::Core::Hashable + + # The shadow properties of a page element. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `shadow` + # @return [Google::Apis::SlidesV1::Shadow] + attr_accessor :shadow + + # The contrast effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `contrast` + # @return [Float] + attr_accessor :contrast + + # A hypertext link. + # Corresponds to the JSON property `link` + # @return [Google::Apis::SlidesV1::Link] + attr_accessor :link + + # A recolor effect applied on an image. + # Corresponds to the JSON property `recolor` + # @return [Google::Apis::SlidesV1::Recolor] + attr_accessor :recolor + + # The crop properties of an object enclosed in a container. For example, an + # Image. + # The crop properties is represented by the offsets of four edges which define + # a crop rectangle. The offsets are measured in percentage from the + # corresponding edges of the object's original bounding rectangle towards + # inside, relative to the object's original dimensions. + # - If the offset is in the interval (0, 1), the corresponding edge of crop + # rectangle is positioned inside of the object's original bounding rectangle. + # - If the offset is negative or greater than 1, the corresponding edge of crop + # rectangle is positioned outside of the object's original bounding rectangle. + # - If the left edge of the crop rectangle is on the right side of its right + # edge, the object will be flipped horizontally. + # - If the top edge of the crop rectangle is below its bottom edge, the object + # will be flipped vertically. + # - If all offsets and rotation angle is 0, the object is not cropped. + # After cropping, the content in the crop rectangle will be stretched to fit + # its container. + # Corresponds to the JSON property `cropProperties` + # @return [Google::Apis::SlidesV1::CropProperties] + attr_accessor :crop_properties + + # The outline of a PageElement. + # If these fields are unset, they may be inherited from a parent placeholder + # if it exists. If there is no parent, the fields will default to the value + # used for new page elements created in the Slides editor, which may depend on + # the page element kind. + # Corresponds to the JSON property `outline` + # @return [Google::Apis::SlidesV1::Outline] + attr_accessor :outline + + # The brightness effect of the image. The value should be in the interval + # [-1.0, 1.0], where 0 means no effect. This property is read-only. + # Corresponds to the JSON property `brightness` + # @return [Float] + attr_accessor :brightness + + # The transparency effect of the image. The value should be in the interval + # [0.0, 1.0], where 0 means no effect and 1 means completely transparent. + # This property is read-only. + # Corresponds to the JSON property `transparency` + # @return [Float] + attr_accessor :transparency + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @shadow = args[:shadow] if args.key?(:shadow) + @contrast = args[:contrast] if args.key?(:contrast) + @link = args[:link] if args.key?(:link) + @recolor = args[:recolor] if args.key?(:recolor) + @crop_properties = args[:crop_properties] if args.key?(:crop_properties) + @outline = args[:outline] if args.key?(:outline) + @brightness = args[:brightness] if args.key?(:brightness) + @transparency = args[:transparency] if args.key?(:transparency) + end + end + + # The result of replacing shapes with an image. + class ReplaceAllShapesWithImageResponse + include Google::Apis::Core::Hashable + + # The number of shapes replaced with images. + # Corresponds to the JSON property `occurrencesChanged` + # @return [Fixnum] + attr_accessor :occurrences_changed + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @occurrences_changed = args[:occurrences_changed] if args.key?(:occurrences_changed) + end + end + + # A PageElement kind representing a + # line, curved connector, or bent connector. + class Line + include Google::Apis::Core::Hashable + + # The type of the line. + # Corresponds to the JSON property `lineType` + # @return [String] + attr_accessor :line_type + + # The properties of the Line. + # When unset, these fields default to values that match the appearance of + # new lines created in the Slides editor. + # Corresponds to the JSON property `lineProperties` + # @return [Google::Apis::SlidesV1::LineProperties] + attr_accessor :line_properties + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @line_type = args[:line_type] if args.key?(:line_type) + @line_properties = args[:line_properties] if args.key?(:line_properties) + end + end + + # Creates an embedded Google Sheets chart. + # NOTE: Chart creation requires at least one of the spreadsheets.readonly, + # spreadsheets, drive.readonly, or drive OAuth scopes. + class CreateSheetsChartRequest + include Google::Apis::Core::Hashable + + # The ID of the specific chart in the Google Sheets spreadsheet. + # Corresponds to the JSON property `chartId` + # @return [Fixnum] + attr_accessor :chart_id + + # A user-supplied object ID. + # If specified, the ID must be unique among all pages and page elements in + # the presentation. The ID should start with a word character [a-zA-Z0-9_] + # and then followed by any number of the following characters [a-zA-Z0-9_-:]. + # The length of the ID should not be less than 5 or greater than 50. + # If empty, a unique identifier will be generated. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + # Common properties for a page element. + # Note: When you initially create a + # PageElement, the API may modify + # the values of both `size` and `transform`, but the + # visual size will be unchanged. + # Corresponds to the JSON property `elementProperties` + # @return [Google::Apis::SlidesV1::PageElementProperties] + attr_accessor :element_properties + + # The ID of the Google Sheets spreadsheet that contains the chart. + # Corresponds to the JSON property `spreadsheetId` + # @return [String] + attr_accessor :spreadsheet_id + + # The mode with which the chart is linked to the source spreadsheet. When + # not specified, the chart will be an image that is not linked. + # Corresponds to the JSON property `linkingMode` + # @return [String] + attr_accessor :linking_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @chart_id = args[:chart_id] if args.key?(:chart_id) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + @element_properties = args[:element_properties] if args.key?(:element_properties) + @spreadsheet_id = args[:spreadsheet_id] if args.key?(:spreadsheet_id) + @linking_mode = args[:linking_mode] if args.key?(:linking_mode) + end + end + + # Response message from a batch update. + class BatchUpdatePresentationResponse + include Google::Apis::Core::Hashable + + # The presentation the updates were applied to. + # Corresponds to the JSON property `presentationId` + # @return [String] + attr_accessor :presentation_id + + # The reply of the updates. This maps 1:1 with the updates, although + # replies to some requests may be empty. + # Corresponds to the JSON property `replies` + # @return [Array] + attr_accessor :replies + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @presentation_id = args[:presentation_id] if args.key?(:presentation_id) + @replies = args[:replies] if args.key?(:replies) + end + end + + # The result of creating an image. + class CreateImageResponse + include Google::Apis::Core::Hashable + + # The object ID of the created image. + # Corresponds to the JSON property `objectId` + # @return [String] + attr_accessor :object_id_prop + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) + end + end + + # The properties of Page that are only + # relevant for pages with page_type SLIDE. + class SlideProperties + include Google::Apis::Core::Hashable + + # A page in a presentation. + # Corresponds to the JSON property `notesPage` + # @return [Google::Apis::SlidesV1::Page] + attr_accessor :notes_page + + # The object ID of the layout that this slide is based on. + # Corresponds to the JSON property `layoutObjectId` + # @return [String] + attr_accessor :layout_object_id + + # The object ID of the master that this slide is based on. + # Corresponds to the JSON property `masterObjectId` + # @return [String] + attr_accessor :master_object_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @notes_page = args[:notes_page] if args.key?(:notes_page) + @layout_object_id = args[:layout_object_id] if args.key?(:layout_object_id) + @master_object_id = args[:master_object_id] if args.key?(:master_object_id) + end + end + + # A single response from an update. + class Response + include Google::Apis::Core::Hashable + + # The result of creating an image. + # Corresponds to the JSON property `createImage` + # @return [Google::Apis::SlidesV1::CreateImageResponse] + attr_accessor :create_image + + # The result of creating a video. + # Corresponds to the JSON property `createVideo` + # @return [Google::Apis::SlidesV1::CreateVideoResponse] + attr_accessor :create_video + + # The result of replacing shapes with a Google Sheets chart. + # Corresponds to the JSON property `replaceAllShapesWithSheetsChart` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse] + attr_accessor :replace_all_shapes_with_sheets_chart + + # The result of creating an embedded Google Sheets chart. + # Corresponds to the JSON property `createSheetsChart` + # @return [Google::Apis::SlidesV1::CreateSheetsChartResponse] + attr_accessor :create_sheets_chart + + # The result of replacing shapes with an image. + # Corresponds to the JSON property `replaceAllShapesWithImage` + # @return [Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse] + attr_accessor :replace_all_shapes_with_image + + # The result of creating a table. + # Corresponds to the JSON property `createTable` + # @return [Google::Apis::SlidesV1::CreateTableResponse] + attr_accessor :create_table + + # The result of replacing text. + # Corresponds to the JSON property `replaceAllText` + # @return [Google::Apis::SlidesV1::ReplaceAllTextResponse] + attr_accessor :replace_all_text + + # The result of creating a slide. + # Corresponds to the JSON property `createSlide` + # @return [Google::Apis::SlidesV1::CreateSlideResponse] + attr_accessor :create_slide + + # The result of creating a shape. + # Corresponds to the JSON property `createShape` + # @return [Google::Apis::SlidesV1::CreateShapeResponse] + attr_accessor :create_shape + + # The response of duplicating an object. + # Corresponds to the JSON property `duplicateObject` + # @return [Google::Apis::SlidesV1::DuplicateObjectResponse] + attr_accessor :duplicate_object + + # The result of creating a line. + # Corresponds to the JSON property `createLine` + # @return [Google::Apis::SlidesV1::CreateLineResponse] + attr_accessor :create_line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_image = args[:create_image] if args.key?(:create_image) + @create_video = args[:create_video] if args.key?(:create_video) + @replace_all_shapes_with_sheets_chart = args[:replace_all_shapes_with_sheets_chart] if args.key?(:replace_all_shapes_with_sheets_chart) + @create_sheets_chart = args[:create_sheets_chart] if args.key?(:create_sheets_chart) + @replace_all_shapes_with_image = args[:replace_all_shapes_with_image] if args.key?(:replace_all_shapes_with_image) + @create_table = args[:create_table] if args.key?(:create_table) + @replace_all_text = args[:replace_all_text] if args.key?(:replace_all_text) + @create_slide = args[:create_slide] if args.key?(:create_slide) + @create_shape = args[:create_shape] if args.key?(:create_shape) + @duplicate_object = args[:duplicate_object] if args.key?(:duplicate_object) + @create_line = args[:create_line] if args.key?(:create_line) + end + end + + # A criteria that matches a specific string of text in a shape or table. + class SubstringMatchCriteria + include Google::Apis::Core::Hashable + + # The text to search for in the shape or table. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + # Indicates whether the search should respect case: + # - `True`: the search is case sensitive. + # - `False`: the search is case insensitive. + # Corresponds to the JSON property `matchCase` + # @return [Boolean] + attr_accessor :match_case + alias_method :match_case?, :match_case + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @text = args[:text] if args.key?(:text) + @match_case = args[:match_case] if args.key?(:match_case) + end + end + + # Slide layout reference. This may reference either: + # - A predefined layout + # - One of the layouts in the presentation. + class LayoutReference + include Google::Apis::Core::Hashable + + # Predefined layout. + # Corresponds to the JSON property `predefinedLayout` + # @return [String] + attr_accessor :predefined_layout + + # Layout ID: the object ID of one of the layouts in the presentation. + # Corresponds to the JSON property `layoutId` + # @return [String] + attr_accessor :layout_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @predefined_layout = args[:predefined_layout] if args.key?(:predefined_layout) + @layout_id = args[:layout_id] if args.key?(:layout_id) + end + end + + # A TextElement kind that represents a run of text that all has the same + # styling. + class TextRun + include Google::Apis::Core::Hashable + + # Represents the styling that can be applied to a TextRun. + # If this text is contained in a shape with a parent placeholder, then these + # text styles may be + # inherited from the parent. Which text styles are inherited depend on the + # nesting level of lists: + # * A text run in a paragraph that is not in a list will inherit its text style + # from the the newline character in the paragraph at the 0 nesting level of + # the list inside the parent placeholder. + # * A text run in a paragraph that is in a list will inherit its text style + # from the newline character in the paragraph at its corresponding nesting + # level of the list inside the parent placeholder. + # Inherited text styles are represented as unset fields in this message. If + # text is contained in a shape without a parent placeholder, unsetting these + # fields will revert the style to a value matching the defaults in the Slides + # editor. + # Corresponds to the JSON property `style` + # @return [Google::Apis::SlidesV1::TextStyle] + attr_accessor :style + + # The text of this run. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @style = args[:style] if args.key?(:style) + @content = args[:content] if args.key?(:content) + end + end + + # A table range represents a reference to a subset of a table. + # It's important to note that the cells specified by a table range do not + # necessarily form a rectangle. For example, let's say we have a 3 x 3 table + # where all the cells of the last row are merged together. The table looks + # like this: + # + # [ ] + # A table range with location = (0, 0), row span = 3 and column span = 2 + # specifies the following cells: + # x x + # [ x ] + class TableRange + include Google::Apis::Core::Hashable + + # The column span of the table range. + # Corresponds to the JSON property `columnSpan` + # @return [Fixnum] + attr_accessor :column_span + + # A location of a single table cell within a table. + # Corresponds to the JSON property `location` + # @return [Google::Apis::SlidesV1::TableCellLocation] + attr_accessor :location + + # The row span of the table range. + # Corresponds to the JSON property `rowSpan` + # @return [Fixnum] + attr_accessor :row_span + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @column_span = args[:column_span] if args.key?(:column_span) + @location = args[:location] if args.key?(:location) + @row_span = args[:row_span] if args.key?(:row_span) + end + end + end + end +end diff --git a/generated/google/apis/slides_v1/representations.rb b/generated/google/apis/slides_v1/representations.rb new file mode 100644 index 000000000..f5847d596 --- /dev/null +++ b/generated/google/apis/slides_v1/representations.rb @@ -0,0 +1,1926 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SlidesV1 + + class CreateTableRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Table + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SolidFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ThemeColorPair + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OptionalColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElementProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SheetsChartProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class StretchedPictureFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTextStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableColumnRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class List + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WeightedFontFamily + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Size + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateVideoPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Request + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateImagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphStyle + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RefreshSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Outline + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableColumnProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NotesProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateTableCellPropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePresentationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextContent + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WriteControl + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteParagraphBulletsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ParagraphMarker + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableColumnsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Thumbnail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutPlaceholderIdMapping + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateShapePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WordArt + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Recolor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Link + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RgbColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLineRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSlideResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateShapeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Video + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class NestingLevel + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCell + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateLinePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateSlidesPositionRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePagePropertiesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Group + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Placeholder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ShapeBackgroundFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Range + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorStop + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateVideoRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DuplicateObjectResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shadow + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTableRowRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Bullet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OutlineFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateLineResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableCellLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllTextResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdateParagraphStyleRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorScheme + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Shape + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AffineTransform + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AutoText + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateVideoResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class UpdatePageElementTransformRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteTextRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DeleteObjectRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextElement + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Dimension + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LineFill + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VideoProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class InsertTableRowsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Presentation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LineProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class OpaqueColor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReplaceAllShapesWithImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Line + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateSheetsChartRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchUpdatePresentationResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SlideProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Response + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SubstringMatchCriteria + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LayoutReference + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextRun + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TableRange + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CreateTableRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rows, as: 'rows' + property :object_id_prop, as: 'objectId' + property :columns, as: 'columns' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + end + end + + class CreateTableResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Table + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :table_rows, as: 'tableRows', class: Google::Apis::SlidesV1::TableRow, decorator: Google::Apis::SlidesV1::TableRow::Representation + + property :rows, as: 'rows' + collection :table_columns, as: 'tableColumns', class: Google::Apis::SlidesV1::TableColumnProperties, decorator: Google::Apis::SlidesV1::TableColumnProperties::Representation + + property :columns, as: 'columns' + end + end + + class PageBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :stretched_picture_fill, as: 'stretchedPictureFill', class: Google::Apis::SlidesV1::StretchedPictureFill, decorator: Google::Apis::SlidesV1::StretchedPictureFill::Representation + + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + property :property_state, as: 'propertyState' + end + end + + class SheetsChart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :sheets_chart_properties, as: 'sheetsChartProperties', class: Google::Apis::SlidesV1::SheetsChartProperties, decorator: Google::Apis::SlidesV1::SheetsChartProperties::Representation + + property :content_url, as: 'contentUrl' + property :spreadsheet_id, as: 'spreadsheetId' + end + end + + class SolidFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :alpha, as: 'alpha' + end + end + + class ThemeColorPair + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :type, as: 'type' + end + end + + class OptionalColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :opaque_color, as: 'opaqueColor', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + end + end + + class PageElementProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_object_id, as: 'pageObjectId' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + end + end + + class SheetsChartProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_image_properties, as: 'chartImageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class StretchedPictureFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + end + end + + class UpdateTextStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + end + end + + class DeleteTableColumnRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :table_object_id, as: 'tableObjectId' + end + end + + class List + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_id, as: 'listId' + hash :nesting_level, as: 'nestingLevel', class: Google::Apis::SlidesV1::NestingLevel, decorator: Google::Apis::SlidesV1::NestingLevel::Representation + + end + end + + class WeightedFontFamily + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :font_family, as: 'fontFamily' + property :weight, as: 'weight' + end + end + + class PageElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :size, as: 'size', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :title, as: 'title' + property :sheets_chart, as: 'sheetsChart', class: Google::Apis::SlidesV1::SheetsChart, decorator: Google::Apis::SlidesV1::SheetsChart::Representation + + property :video, as: 'video', class: Google::Apis::SlidesV1::Video, decorator: Google::Apis::SlidesV1::Video::Representation + + property :word_art, as: 'wordArt', class: Google::Apis::SlidesV1::WordArt, decorator: Google::Apis::SlidesV1::WordArt::Representation + + property :table, as: 'table', class: Google::Apis::SlidesV1::Table, decorator: Google::Apis::SlidesV1::Table::Representation + + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :object_id_prop, as: 'objectId' + property :shape, as: 'shape', class: Google::Apis::SlidesV1::Shape, decorator: Google::Apis::SlidesV1::Shape::Representation + + property :line, as: 'line', class: Google::Apis::SlidesV1::Line, decorator: Google::Apis::SlidesV1::Line::Representation + + property :description, as: 'description' + property :element_group, as: 'elementGroup', class: Google::Apis::SlidesV1::Group, decorator: Google::Apis::SlidesV1::Group::Representation + + property :image, as: 'image', class: Google::Apis::SlidesV1::Image, decorator: Google::Apis::SlidesV1::Image::Representation + + end + end + + class CreateImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :url, as: 'url' + end + end + + class CreateParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :bullet_preset, as: 'bulletPreset' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class Size + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :width, as: 'width', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :height, as: 'height', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class TextStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :background_color, as: 'backgroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :underline, as: 'underline' + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :bold, as: 'bold' + property :foreground_color, as: 'foregroundColor', class: Google::Apis::SlidesV1::OptionalColor, decorator: Google::Apis::SlidesV1::OptionalColor::Representation + + property :font_family, as: 'fontFamily' + property :italic, as: 'italic' + property :strikethrough, as: 'strikethrough' + property :font_size, as: 'fontSize', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :baseline_offset, as: 'baselineOffset' + property :weighted_font_family, as: 'weightedFontFamily', class: Google::Apis::SlidesV1::WeightedFontFamily, decorator: Google::Apis::SlidesV1::WeightedFontFamily::Representation + + property :small_caps, as: 'smallCaps' + end + end + + class UpdateVideoPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + end + end + + class Request + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartRequest, decorator: Google::Apis::SlidesV1::CreateSheetsChartRequest::Representation + + property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartRequest::Representation + + property :update_page_element_transform, as: 'updatePageElementTransform', class: Google::Apis::SlidesV1::UpdatePageElementTransformRequest, decorator: Google::Apis::SlidesV1::UpdatePageElementTransformRequest::Representation + + property :update_text_style, as: 'updateTextStyle', class: Google::Apis::SlidesV1::UpdateTextStyleRequest, decorator: Google::Apis::SlidesV1::UpdateTextStyleRequest::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageRequest::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextRequest, decorator: Google::Apis::SlidesV1::ReplaceAllTextRequest::Representation + + property :update_image_properties, as: 'updateImageProperties', class: Google::Apis::SlidesV1::UpdateImagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateImagePropertiesRequest::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideRequest, decorator: Google::Apis::SlidesV1::CreateSlideRequest::Representation + + property :insert_table_rows, as: 'insertTableRows', class: Google::Apis::SlidesV1::InsertTableRowsRequest, decorator: Google::Apis::SlidesV1::InsertTableRowsRequest::Representation + + property :update_line_properties, as: 'updateLineProperties', class: Google::Apis::SlidesV1::UpdateLinePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateLinePropertiesRequest::Representation + + property :update_slides_position, as: 'updateSlidesPosition', class: Google::Apis::SlidesV1::UpdateSlidesPositionRequest, decorator: Google::Apis::SlidesV1::UpdateSlidesPositionRequest::Representation + + property :delete_table_row, as: 'deleteTableRow', class: Google::Apis::SlidesV1::DeleteTableRowRequest, decorator: Google::Apis::SlidesV1::DeleteTableRowRequest::Representation + + property :update_shape_properties, as: 'updateShapeProperties', class: Google::Apis::SlidesV1::UpdateShapePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateShapePropertiesRequest::Representation + + property :insert_text, as: 'insertText', class: Google::Apis::SlidesV1::InsertTextRequest, decorator: Google::Apis::SlidesV1::InsertTextRequest::Representation + + property :delete_text, as: 'deleteText', class: Google::Apis::SlidesV1::DeleteTextRequest, decorator: Google::Apis::SlidesV1::DeleteTextRequest::Representation + + property :update_page_properties, as: 'updatePageProperties', class: Google::Apis::SlidesV1::UpdatePagePropertiesRequest, decorator: Google::Apis::SlidesV1::UpdatePagePropertiesRequest::Representation + + property :delete_paragraph_bullets, as: 'deleteParagraphBullets', class: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::DeleteParagraphBulletsRequest::Representation + + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeRequest, decorator: Google::Apis::SlidesV1::CreateShapeRequest::Representation + + property :insert_table_columns, as: 'insertTableColumns', class: Google::Apis::SlidesV1::InsertTableColumnsRequest, decorator: Google::Apis::SlidesV1::InsertTableColumnsRequest::Representation + + property :refresh_sheets_chart, as: 'refreshSheetsChart', class: Google::Apis::SlidesV1::RefreshSheetsChartRequest, decorator: Google::Apis::SlidesV1::RefreshSheetsChartRequest::Representation + + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableRequest, decorator: Google::Apis::SlidesV1::CreateTableRequest::Representation + + property :update_table_cell_properties, as: 'updateTableCellProperties', class: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateTableCellPropertiesRequest::Representation + + property :delete_object, as: 'deleteObject', class: Google::Apis::SlidesV1::DeleteObjectRequest, decorator: Google::Apis::SlidesV1::DeleteObjectRequest::Representation + + property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::SlidesV1::UpdateParagraphStyleRequest, decorator: Google::Apis::SlidesV1::UpdateParagraphStyleRequest::Representation + + property :delete_table_column, as: 'deleteTableColumn', class: Google::Apis::SlidesV1::DeleteTableColumnRequest, decorator: Google::Apis::SlidesV1::DeleteTableColumnRequest::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectRequest, decorator: Google::Apis::SlidesV1::DuplicateObjectRequest::Representation + + property :update_video_properties, as: 'updateVideoProperties', class: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest, decorator: Google::Apis::SlidesV1::UpdateVideoPropertiesRequest::Representation + + property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineRequest, decorator: Google::Apis::SlidesV1::CreateLineRequest::Representation + + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageRequest, decorator: Google::Apis::SlidesV1::CreateImageRequest::Representation + + property :create_paragraph_bullets, as: 'createParagraphBullets', class: Google::Apis::SlidesV1::CreateParagraphBulletsRequest, decorator: Google::Apis::SlidesV1::CreateParagraphBulletsRequest::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoRequest, decorator: Google::Apis::SlidesV1::CreateVideoRequest::Representation + + end + end + + class UpdateImagePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + property :object_id_prop, as: 'objectId' + end + end + + class ParagraphStyle + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :space_below, as: 'spaceBelow', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :direction, as: 'direction' + property :spacing_mode, as: 'spacingMode' + property :indent_end, as: 'indentEnd', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :indent_start, as: 'indentStart', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :space_above, as: 'spaceAbove', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :alignment, as: 'alignment' + property :line_spacing, as: 'lineSpacing' + property :indent_first_line, as: 'indentFirstLine', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class ReplaceAllShapesWithSheetsChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class TableCellProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_cell_background_fill, as: 'tableCellBackgroundFill', class: Google::Apis::SlidesV1::TableCellBackgroundFill, decorator: Google::Apis::SlidesV1::TableCellBackgroundFill::Representation + + end + end + + class RefreshSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class Outline + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_state, as: 'propertyState' + property :outline_fill, as: 'outlineFill', class: Google::Apis::SlidesV1::OutlineFill, decorator: Google::Apis::SlidesV1::OutlineFill::Representation + + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :dash_style, as: 'dashStyle' + end + end + + class TableColumnProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_width, as: 'columnWidth', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class NotesProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :speaker_notes_object_id, as: 'speakerNotesObjectId' + end + end + + class ShapeProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :shape_background_fill, as: 'shapeBackgroundFill', class: Google::Apis::SlidesV1::ShapeBackgroundFill, decorator: Google::Apis::SlidesV1::ShapeBackgroundFill::Representation + + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + end + end + + class TableRow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_height, as: 'rowHeight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + collection :table_cells, as: 'tableCells', class: Google::Apis::SlidesV1::TableCell, decorator: Google::Apis::SlidesV1::TableCell::Representation + + end + end + + class UpdateTableCellPropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :table_range, as: 'tableRange', class: Google::Apis::SlidesV1::TableRange, decorator: Google::Apis::SlidesV1::TableRange::Representation + + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + property :fields, as: 'fields' + end + end + + class CreateSlideRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :slide_layout_reference, as: 'slideLayoutReference', class: Google::Apis::SlidesV1::LayoutReference, decorator: Google::Apis::SlidesV1::LayoutReference::Representation + + property :object_id_prop, as: 'objectId' + property :insertion_index, as: 'insertionIndex' + collection :placeholder_id_mappings, as: 'placeholderIdMappings', class: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping, decorator: Google::Apis::SlidesV1::LayoutPlaceholderIdMapping::Representation + + end + end + + class BatchUpdatePresentationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :requests, as: 'requests', class: Google::Apis::SlidesV1::Request, decorator: Google::Apis::SlidesV1::Request::Representation + + property :write_control, as: 'writeControl', class: Google::Apis::SlidesV1::WriteControl, decorator: Google::Apis::SlidesV1::WriteControl::Representation + + end + end + + class TextContent + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :text_elements, as: 'textElements', class: Google::Apis::SlidesV1::TextElement, decorator: Google::Apis::SlidesV1::TextElement::Representation + + hash :lists, as: 'lists', class: Google::Apis::SlidesV1::List, decorator: Google::Apis::SlidesV1::List::Representation + + end + end + + class CreateSheetsChartResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class WriteControl + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :required_revision_id, as: 'requiredRevisionId' + end + end + + class DeleteParagraphBulletsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class ParagraphMarker + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet, as: 'bullet', class: Google::Apis::SlidesV1::Bullet, decorator: Google::Apis::SlidesV1::Bullet::Representation + + property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation + + end + end + + class InsertTableColumnsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :number, as: 'number' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :insert_right, as: 'insertRight' + property :table_object_id, as: 'tableObjectId' + end + end + + class Thumbnail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :height, as: 'height' + property :content_url, as: 'contentUrl' + property :width, as: 'width' + end + end + + class LayoutPlaceholderIdMapping + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :layout_placeholder, as: 'layoutPlaceholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + + property :layout_placeholder_object_id, as: 'layoutPlaceholderObjectId' + property :object_id_prop, as: 'objectId' + end + end + + class UpdateShapePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + + property :fields, as: 'fields' + end + end + + class WordArt + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rendered_text, as: 'renderedText' + end + end + + class Recolor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :recolor_stops, as: 'recolorStops', class: Google::Apis::SlidesV1::ColorStop, decorator: Google::Apis::SlidesV1::ColorStop::Representation + + property :name, as: 'name' + end + end + + class Link + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_object_id, as: 'pageObjectId' + property :url, as: 'url' + property :relative_link, as: 'relativeLink' + property :slide_index, as: 'slideIndex' + end + end + + class RgbColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :red, as: 'red' + property :green, as: 'green' + property :blue, as: 'blue' + end + end + + class CreateShapeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateLineRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :line_category, as: 'lineCategory' + end + end + + class CreateSlideResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class CreateShapeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :shape_type, as: 'shapeType' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + end + end + + class Video + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :source, as: 'source' + property :url, as: 'url' + property :id, as: 'id' + property :video_properties, as: 'videoProperties', class: Google::Apis::SlidesV1::VideoProperties, decorator: Google::Apis::SlidesV1::VideoProperties::Representation + + end + end + + class PageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color_scheme, as: 'colorScheme', class: Google::Apis::SlidesV1::ColorScheme, decorator: Google::Apis::SlidesV1::ColorScheme::Representation + + property :page_background_fill, as: 'pageBackgroundFill', class: Google::Apis::SlidesV1::PageBackgroundFill, decorator: Google::Apis::SlidesV1::PageBackgroundFill::Representation + + end + end + + class NestingLevel + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + end + end + + class TableCell + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + + property :table_cell_properties, as: 'tableCellProperties', class: Google::Apis::SlidesV1::TableCellProperties, decorator: Google::Apis::SlidesV1::TableCellProperties::Representation + + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :row_span, as: 'rowSpan' + property :column_span, as: 'columnSpan' + end + end + + class UpdateLinePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + end + end + + class UpdateSlidesPositionRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :insertion_index, as: 'insertionIndex' + collection :slide_object_ids, as: 'slideObjectIds' + end + end + + class TableCellBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property_state, as: 'propertyState' + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class UpdatePagePropertiesRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + end + end + + class Group + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :children, as: 'children', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + end + end + + class Placeholder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :parent_object_id, as: 'parentObjectId' + property :index, as: 'index' + end + end + + class DuplicateObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + hash :object_ids, as: 'objectIds' + end + end + + class ReplaceAllTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :replace_text, as: 'replaceText' + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + end + end + + class Page + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :revision_id, as: 'revisionId' + property :layout_properties, as: 'layoutProperties', class: Google::Apis::SlidesV1::LayoutProperties, decorator: Google::Apis::SlidesV1::LayoutProperties::Representation + + collection :page_elements, as: 'pageElements', class: Google::Apis::SlidesV1::PageElement, decorator: Google::Apis::SlidesV1::PageElement::Representation + + property :page_type, as: 'pageType' + property :notes_properties, as: 'notesProperties', class: Google::Apis::SlidesV1::NotesProperties, decorator: Google::Apis::SlidesV1::NotesProperties::Representation + + property :page_properties, as: 'pageProperties', class: Google::Apis::SlidesV1::PageProperties, decorator: Google::Apis::SlidesV1::PageProperties::Representation + + property :slide_properties, as: 'slideProperties', class: Google::Apis::SlidesV1::SlideProperties, decorator: Google::Apis::SlidesV1::SlideProperties::Representation + + end + end + + class ShapeBackgroundFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + property :property_state, as: 'propertyState' + end + end + + class CropProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :angle, as: 'angle' + property :top_offset, as: 'topOffset' + property :left_offset, as: 'leftOffset' + property :right_offset, as: 'rightOffset' + property :bottom_offset, as: 'bottomOffset' + end + end + + class ReplaceAllShapesWithSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :spreadsheet_id, as: 'spreadsheetId' + property :linking_mode, as: 'linkingMode' + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + property :chart_id, as: 'chartId' + end + end + + class Range + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :start_index, as: 'startIndex' + property :end_index, as: 'endIndex' + property :type, as: 'type' + end + end + + class ColorStop + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :alpha, as: 'alpha' + property :position, as: 'position' + end + end + + class CreateVideoRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :source, as: 'source' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :id, as: 'id' + end + end + + class DuplicateObjectResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class ReplaceAllShapesWithImageRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_url, as: 'imageUrl' + property :replace_method, as: 'replaceMethod' + property :contains_text, as: 'containsText', class: Google::Apis::SlidesV1::SubstringMatchCriteria, decorator: Google::Apis::SlidesV1::SubstringMatchCriteria::Representation + + end + end + + class Shadow + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :alignment, as: 'alignment' + property :alpha, as: 'alpha' + property :color, as: 'color', class: Google::Apis::SlidesV1::OpaqueColor, decorator: Google::Apis::SlidesV1::OpaqueColor::Representation + + property :rotate_with_shape, as: 'rotateWithShape' + property :property_state, as: 'propertyState' + property :blur_radius, as: 'blurRadius', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + end + end + + class DeleteTableRowRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :table_object_id, as: 'tableObjectId' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class Bullet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :list_id, as: 'listId' + property :glyph, as: 'glyph' + property :nesting_level, as: 'nestingLevel' + property :bullet_style, as: 'bulletStyle', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + end + end + + class OutlineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class CreateLineResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class TableCellLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :row_index, as: 'rowIndex' + property :column_index, as: 'columnIndex' + end + end + + class ReplaceAllTextResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class UpdateParagraphStyleRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :style, as: 'style', class: Google::Apis::SlidesV1::ParagraphStyle, decorator: Google::Apis::SlidesV1::ParagraphStyle::Representation + + property :fields, as: 'fields' + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + end + end + + class ColorScheme + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :colors, as: 'colors', class: Google::Apis::SlidesV1::ThemeColorPair, decorator: Google::Apis::SlidesV1::ThemeColorPair::Representation + + end + end + + class Shape + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :shape_type, as: 'shapeType' + property :text, as: 'text', class: Google::Apis::SlidesV1::TextContent, decorator: Google::Apis::SlidesV1::TextContent::Representation + + property :placeholder, as: 'placeholder', class: Google::Apis::SlidesV1::Placeholder, decorator: Google::Apis::SlidesV1::Placeholder::Representation + + property :shape_properties, as: 'shapeProperties', class: Google::Apis::SlidesV1::ShapeProperties, decorator: Google::Apis::SlidesV1::ShapeProperties::Representation + + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content_url, as: 'contentUrl' + property :image_properties, as: 'imageProperties', class: Google::Apis::SlidesV1::ImageProperties, decorator: Google::Apis::SlidesV1::ImageProperties::Representation + + end + end + + class AffineTransform + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :shear_y, as: 'shearY' + property :unit, as: 'unit' + property :scale_x, as: 'scaleX' + property :shear_x, as: 'shearX' + property :scale_y, as: 'scaleY' + property :translate_y, as: 'translateY' + property :translate_x, as: 'translateX' + end + end + + class InsertTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text, as: 'text' + property :insertion_index, as: 'insertionIndex' + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class AutoText + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :type, as: 'type' + property :content, as: 'content' + end + end + + class CreateVideoResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class UpdatePageElementTransformRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :transform, as: 'transform', class: Google::Apis::SlidesV1::AffineTransform, decorator: Google::Apis::SlidesV1::AffineTransform::Representation + + property :apply_mode, as: 'applyMode' + end + end + + class DeleteTextRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + property :text_range, as: 'textRange', class: Google::Apis::SlidesV1::Range, decorator: Google::Apis::SlidesV1::Range::Representation + + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + end + end + + class DeleteObjectRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class TextElement + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text_run, as: 'textRun', class: Google::Apis::SlidesV1::TextRun, decorator: Google::Apis::SlidesV1::TextRun::Representation + + property :auto_text, as: 'autoText', class: Google::Apis::SlidesV1::AutoText, decorator: Google::Apis::SlidesV1::AutoText::Representation + + property :paragraph_marker, as: 'paragraphMarker', class: Google::Apis::SlidesV1::ParagraphMarker, decorator: Google::Apis::SlidesV1::ParagraphMarker::Representation + + property :start_index, as: 'startIndex' + property :end_index, as: 'endIndex' + end + end + + class Dimension + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :magnitude, as: 'magnitude' + property :unit, as: 'unit' + end + end + + class LineFill + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :solid_fill, as: 'solidFill', class: Google::Apis::SlidesV1::SolidFill, decorator: Google::Apis::SlidesV1::SolidFill::Representation + + end + end + + class VideoProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + end + end + + class InsertTableRowsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cell_location, as: 'cellLocation', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :table_object_id, as: 'tableObjectId' + property :insert_below, as: 'insertBelow' + property :number, as: 'number' + end + end + + class LayoutProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :master_object_id, as: 'masterObjectId' + property :name, as: 'name' + property :display_name, as: 'displayName' + end + end + + class Presentation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :page_size, as: 'pageSize', class: Google::Apis::SlidesV1::Size, decorator: Google::Apis::SlidesV1::Size::Representation + + property :presentation_id, as: 'presentationId' + collection :slides, as: 'slides', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :revision_id, as: 'revisionId' + property :notes_master, as: 'notesMaster', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + collection :layouts, as: 'layouts', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :title, as: 'title' + collection :masters, as: 'masters', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :locale, as: 'locale' + end + end + + class LineProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :dash_style, as: 'dashStyle' + property :start_arrow, as: 'startArrow' + property :end_arrow, as: 'endArrow' + property :weight, as: 'weight', class: Google::Apis::SlidesV1::Dimension, decorator: Google::Apis::SlidesV1::Dimension::Representation + + property :line_fill, as: 'lineFill', class: Google::Apis::SlidesV1::LineFill, decorator: Google::Apis::SlidesV1::LineFill::Representation + + end + end + + class OpaqueColor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :rgb_color, as: 'rgbColor', class: Google::Apis::SlidesV1::RgbColor, decorator: Google::Apis::SlidesV1::RgbColor::Representation + + property :theme_color, as: 'themeColor' + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :shadow, as: 'shadow', class: Google::Apis::SlidesV1::Shadow, decorator: Google::Apis::SlidesV1::Shadow::Representation + + property :contrast, as: 'contrast' + property :link, as: 'link', class: Google::Apis::SlidesV1::Link, decorator: Google::Apis::SlidesV1::Link::Representation + + property :recolor, as: 'recolor', class: Google::Apis::SlidesV1::Recolor, decorator: Google::Apis::SlidesV1::Recolor::Representation + + property :crop_properties, as: 'cropProperties', class: Google::Apis::SlidesV1::CropProperties, decorator: Google::Apis::SlidesV1::CropProperties::Representation + + property :outline, as: 'outline', class: Google::Apis::SlidesV1::Outline, decorator: Google::Apis::SlidesV1::Outline::Representation + + property :brightness, as: 'brightness' + property :transparency, as: 'transparency' + end + end + + class ReplaceAllShapesWithImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :occurrences_changed, as: 'occurrencesChanged' + end + end + + class Line + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :line_type, as: 'lineType' + property :line_properties, as: 'lineProperties', class: Google::Apis::SlidesV1::LineProperties, decorator: Google::Apis::SlidesV1::LineProperties::Representation + + end + end + + class CreateSheetsChartRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :chart_id, as: 'chartId' + property :object_id_prop, as: 'objectId' + property :element_properties, as: 'elementProperties', class: Google::Apis::SlidesV1::PageElementProperties, decorator: Google::Apis::SlidesV1::PageElementProperties::Representation + + property :spreadsheet_id, as: 'spreadsheetId' + property :linking_mode, as: 'linkingMode' + end + end + + class BatchUpdatePresentationResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :presentation_id, as: 'presentationId' + collection :replies, as: 'replies', class: Google::Apis::SlidesV1::Response, decorator: Google::Apis::SlidesV1::Response::Representation + + end + end + + class CreateImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :object_id_prop, as: 'objectId' + end + end + + class SlideProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :notes_page, as: 'notesPage', class: Google::Apis::SlidesV1::Page, decorator: Google::Apis::SlidesV1::Page::Representation + + property :layout_object_id, as: 'layoutObjectId' + property :master_object_id, as: 'masterObjectId' + end + end + + class Response + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_image, as: 'createImage', class: Google::Apis::SlidesV1::CreateImageResponse, decorator: Google::Apis::SlidesV1::CreateImageResponse::Representation + + property :create_video, as: 'createVideo', class: Google::Apis::SlidesV1::CreateVideoResponse, decorator: Google::Apis::SlidesV1::CreateVideoResponse::Representation + + property :replace_all_shapes_with_sheets_chart, as: 'replaceAllShapesWithSheetsChart', class: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithSheetsChartResponse::Representation + + property :create_sheets_chart, as: 'createSheetsChart', class: Google::Apis::SlidesV1::CreateSheetsChartResponse, decorator: Google::Apis::SlidesV1::CreateSheetsChartResponse::Representation + + property :replace_all_shapes_with_image, as: 'replaceAllShapesWithImage', class: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse, decorator: Google::Apis::SlidesV1::ReplaceAllShapesWithImageResponse::Representation + + property :create_table, as: 'createTable', class: Google::Apis::SlidesV1::CreateTableResponse, decorator: Google::Apis::SlidesV1::CreateTableResponse::Representation + + property :replace_all_text, as: 'replaceAllText', class: Google::Apis::SlidesV1::ReplaceAllTextResponse, decorator: Google::Apis::SlidesV1::ReplaceAllTextResponse::Representation + + property :create_slide, as: 'createSlide', class: Google::Apis::SlidesV1::CreateSlideResponse, decorator: Google::Apis::SlidesV1::CreateSlideResponse::Representation + + property :create_shape, as: 'createShape', class: Google::Apis::SlidesV1::CreateShapeResponse, decorator: Google::Apis::SlidesV1::CreateShapeResponse::Representation + + property :duplicate_object, as: 'duplicateObject', class: Google::Apis::SlidesV1::DuplicateObjectResponse, decorator: Google::Apis::SlidesV1::DuplicateObjectResponse::Representation + + property :create_line, as: 'createLine', class: Google::Apis::SlidesV1::CreateLineResponse, decorator: Google::Apis::SlidesV1::CreateLineResponse::Representation + + end + end + + class SubstringMatchCriteria + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :match_case, as: 'matchCase' + end + end + + class LayoutReference + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :predefined_layout, as: 'predefinedLayout' + property :layout_id, as: 'layoutId' + end + end + + class TextRun + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :style, as: 'style', class: Google::Apis::SlidesV1::TextStyle, decorator: Google::Apis::SlidesV1::TextStyle::Representation + + property :content, as: 'content' + end + end + + class TableRange + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :column_span, as: 'columnSpan' + property :location, as: 'location', class: Google::Apis::SlidesV1::TableCellLocation, decorator: Google::Apis::SlidesV1::TableCellLocation::Representation + + property :row_span, as: 'rowSpan' + end + end + end + end +end diff --git a/generated/google/apis/slides_v1/service.rb b/generated/google/apis/slides_v1/service.rb new file mode 100644 index 000000000..6b37870ea --- /dev/null +++ b/generated/google/apis/slides_v1/service.rb @@ -0,0 +1,245 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SlidesV1 + # Google Slides API + # + # An API for creating and editing Google Slides presentations. + # + # @example + # require 'google/apis/slides_v1' + # + # Slides = Google::Apis::SlidesV1 # Alias the module + # service = Slides::SlidesService.new + # + # @see https://developers.google.com/slides/ + class SlidesService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://slides.googleapis.com/', '') + end + + # Gets the latest version of the specified presentation. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Presentation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Presentation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_presentation(presentation_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{+presentationId}', options) + command.response_representation = Google::Apis::SlidesV1::Presentation::Representation + command.response_class = Google::Apis::SlidesV1::Presentation + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Creates a new presentation using the title given in the request. Other + # fields in the request are ignored. + # Returns the created presentation. + # @param [Google::Apis::SlidesV1::Presentation] presentation_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Presentation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Presentation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_presentation(presentation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/presentations', options) + command.request_representation = Google::Apis::SlidesV1::Presentation::Representation + command.request_object = presentation_object + command.response_representation = Google::Apis::SlidesV1::Presentation::Representation + command.response_class = Google::Apis::SlidesV1::Presentation + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Applies one or more updates to the presentation. + # Each request is validated before + # being applied. If any request is not valid, then the entire request will + # fail and nothing will be applied. + # Some requests have replies to + # give you some information about how they are applied. Other requests do + # not need to return information; these each return an empty reply. + # The order of replies matches that of the requests. + # For example, suppose you call batchUpdate with four updates, and only the + # third one returns information. The response would have two empty replies: + # the reply to the third request, and another empty reply, in that order. + # Because other users may be editing the presentation, the presentation + # might not exactly reflect your changes: your changes may + # be altered with respect to collaborator changes. If there are no + # collaborators, the presentation should reflect your changes. In any case, + # the updates in your request are guaranteed to be applied together + # atomically. + # @param [String] presentation_id + # The presentation to apply the updates to. + # @param [Google::Apis::SlidesV1::BatchUpdatePresentationRequest] batch_update_presentation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::BatchUpdatePresentationResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::BatchUpdatePresentationResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def batch_update_presentation(presentation_id, batch_update_presentation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/presentations/{presentationId}:batchUpdate', options) + command.request_representation = Google::Apis::SlidesV1::BatchUpdatePresentationRequest::Representation + command.request_object = batch_update_presentation_request_object + command.response_representation = Google::Apis::SlidesV1::BatchUpdatePresentationResponse::Representation + command.response_class = Google::Apis::SlidesV1::BatchUpdatePresentationResponse + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Generates a thumbnail of the latest version of the specified page in the + # presentation and returns a URL to the thumbnail image. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @param [String] page_object_id + # The object ID of the page whose thumbnail to retrieve. + # @param [String] thumbnail_properties_mime_type + # The optional mime type of the thumbnail image. + # If you don't specify the mime type, the default mime type will be PNG. + # @param [String] thumbnail_properties_thumbnail_size + # The optional thumbnail image size. + # If you don't specify the size, the server chooses a default size of the + # image. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Thumbnail] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Thumbnail] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_presentation_page_thumbnail(presentation_id, page_object_id, thumbnail_properties_mime_type: nil, thumbnail_properties_thumbnail_size: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail', options) + command.response_representation = Google::Apis::SlidesV1::Thumbnail::Representation + command.response_class = Google::Apis::SlidesV1::Thumbnail + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.params['pageObjectId'] = page_object_id unless page_object_id.nil? + command.query['thumbnailProperties.mimeType'] = thumbnail_properties_mime_type unless thumbnail_properties_mime_type.nil? + command.query['thumbnailProperties.thumbnailSize'] = thumbnail_properties_thumbnail_size unless thumbnail_properties_thumbnail_size.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the latest version of the specified page in the presentation. + # @param [String] presentation_id + # The ID of the presentation to retrieve. + # @param [String] page_object_id + # The object ID of the page to retrieve. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SlidesV1::Page] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SlidesV1::Page] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_presentation_page(presentation_id, page_object_id, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/presentations/{presentationId}/pages/{pageObjectId}', options) + command.response_representation = Google::Apis::SlidesV1::Page::Representation + command.response_class = Google::Apis::SlidesV1::Page + command.params['presentationId'] = presentation_id unless presentation_id.nil? + command.params['pageObjectId'] = page_object_id unless page_object_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/speech_v1beta1.rb b/generated/google/apis/speech_v1beta1.rb new file mode 100644 index 000000000..03a17a176 --- /dev/null +++ b/generated/google/apis/speech_v1beta1.rb @@ -0,0 +1,34 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/speech_v1beta1/service.rb' +require 'google/apis/speech_v1beta1/classes.rb' +require 'google/apis/speech_v1beta1/representations.rb' + +module Google + module Apis + # Google Cloud Speech API + # + # Google Cloud Speech API. + # + # @see https://cloud.google.com/speech/ + module SpeechV1beta1 + VERSION = 'V1beta1' + REVISION = '20170323' + + # View and manage your data across Google Cloud Platform services + AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' + end + end +end diff --git a/generated/google/apis/speech_v1beta1/classes.rb b/generated/google/apis/speech_v1beta1/classes.rb new file mode 100644 index 000000000..97b11a714 --- /dev/null +++ b/generated/google/apis/speech_v1beta1/classes.rb @@ -0,0 +1,498 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SpeechV1beta1 + + # Alternative hypotheses (a.k.a. n-best list). + class SpeechRecognitionAlternative + include Google::Apis::Core::Hashable + + # *Output-only* The confidence estimate between 0.0 and 1.0. A higher number + # indicates an estimated greater likelihood that the recognized words are + # correct. This field is typically provided only for the top hypothesis, and + # only for `is_final=true` results. Clients should not rely on the + # `confidence` field as it is not guaranteed to be accurate, or even set, in + # any of the results. + # The default of 0.0 is a sentinel value indicating `confidence` was not set. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # *Output-only* Transcript text representing the words that the user spoke. + # Corresponds to the JSON property `transcript` + # @return [String] + attr_accessor :transcript + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @transcript = args[:transcript] if args.key?(:transcript) + end + end + + # Provides "hints" to the speech recognizer to favor specific words and phrases + # in the results. + class SpeechContext + include Google::Apis::Core::Hashable + + # *Optional* A list of strings containing words and phrases "hints" so that + # the speech recognition is more likely to recognize them. This can be used + # to improve the accuracy for specific words and phrases, for example, if + # specific commands are typically spoken by the user. This can also be used + # to add additional words to the vocabulary of the recognizer. See + # [usage limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `phrases` + # @return [Array] + attr_accessor :phrases + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @phrases = args[:phrases] if args.key?(:phrases) + end + end + + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + + # A speech recognition result corresponding to a portion of the audio. + class SpeechRecognitionResult + include Google::Apis::Core::Hashable + + # *Output-only* May contain one or more recognition hypotheses (up to the + # maximum specified in `max_alternatives`). + # Corresponds to the JSON property `alternatives` + # @return [Array] + attr_accessor :alternatives + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @alternatives = args[:alternatives] if args.key?(:alternatives) + end + end + + # The top-level message sent by the client for the `AsyncRecognize` method. + class AsyncRecognizeRequest + include Google::Apis::Core::Hashable + + # Provides information to the recognizer that specifies how to process the + # request. + # Corresponds to the JSON property `config` + # @return [Google::Apis::SpeechV1beta1::RecognitionConfig] + attr_accessor :config + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `audio` + # @return [Google::Apis::SpeechV1beta1::RecognitionAudio] + attr_accessor :audio + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config = args[:config] if args.key?(:config) + @audio = args[:audio] if args.key?(:audio) + end + end + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + class RecognitionAudio + include Google::Apis::Core::Hashable + + # The audio data bytes encoded as specified in + # `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a + # pure binary representation, whereas JSON representations use base64. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # URI that points to a file that contains audio data bytes as specified in + # `RecognitionConfig`. Currently, only Google Cloud Storage URIs are + # supported, which must be specified in the following format: + # `gs://bucket_name/object_name` (other URI formats return + # google.rpc.Code.INVALID_ARGUMENT). For more information, see + # [Request URIs](https://cloud.google.com/storage/docs/reference-uris). + # Corresponds to the JSON property `uri` + # @return [String] + attr_accessor :uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @uri = args[:uri] if args.key?(:uri) + end + end + + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # 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`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + # 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`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::SpeechV1beta1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically + # contains progress information and common metadata such as create time. + # Some services might not provide such metadata. Any method that returns a + # long-running operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @response = args[:response] if args.key?(:response) + @name = args[:name] if args.key?(:name) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + end + end + + # Provides information to the recognizer that specifies how to process the + # request. + class RecognitionConfig + include Google::Apis::Core::Hashable + + # *Optional* Maximum number of recognition hypotheses to be returned. + # Specifically, the maximum number of `SpeechRecognitionAlternative` messages + # within each `SpeechRecognitionResult`. + # The server may return fewer than `max_alternatives`. + # Valid values are `0`-`30`. A value of `0` or `1` will return a maximum of + # one. If omitted, will return a maximum of one. + # Corresponds to the JSON property `maxAlternatives` + # @return [Fixnum] + attr_accessor :max_alternatives + + # *Required* Sample rate in Hertz of the audio data sent in all + # `RecognitionAudio` messages. Valid values are: 8000-48000. + # 16000 is optimal. For best results, set the sampling rate of the audio + # source to 16000 Hz. If that's not possible, use the native sample rate of + # the audio source (instead of re-sampling). + # Corresponds to the JSON property `sampleRate` + # @return [Fixnum] + attr_accessor :sample_rate + + # *Optional* The language of the supplied audio as a BCP-47 language tag. + # Example: "en-GB" https://www.rfc-editor.org/rfc/bcp/bcp47.txt + # If omitted, defaults to "en-US". See + # [Language Support](https://cloud.google.com/speech/docs/languages) + # for a list of the currently supported language codes. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + # Provides "hints" to the speech recognizer to favor specific words and phrases + # in the results. + # Corresponds to the JSON property `speechContext` + # @return [Google::Apis::SpeechV1beta1::SpeechContext] + attr_accessor :speech_context + + # *Required* Encoding of audio data sent in all `RecognitionAudio` messages. + # Corresponds to the JSON property `encoding` + # @return [String] + attr_accessor :encoding + + # *Optional* If set to `true`, the server will attempt to filter out + # profanities, replacing all but the initial character in each filtered word + # with asterisks, e.g. "f***". If set to `false` or omitted, profanities + # won't be filtered out. + # Corresponds to the JSON property `profanityFilter` + # @return [Boolean] + attr_accessor :profanity_filter + alias_method :profanity_filter?, :profanity_filter + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @max_alternatives = args[:max_alternatives] if args.key?(:max_alternatives) + @sample_rate = args[:sample_rate] if args.key?(:sample_rate) + @language_code = args[:language_code] if args.key?(:language_code) + @speech_context = args[:speech_context] if args.key?(:speech_context) + @encoding = args[:encoding] if args.key?(:encoding) + @profanity_filter = args[:profanity_filter] if args.key?(:profanity_filter) + end + end + + # The top-level message sent by the client for the `SyncRecognize` method. + class SyncRecognizeRequest + include Google::Apis::Core::Hashable + + # Provides information to the recognizer that specifies how to process the + # request. + # Corresponds to the JSON property `config` + # @return [Google::Apis::SpeechV1beta1::RecognitionConfig] + attr_accessor :config + + # Contains audio data in the encoding specified in the `RecognitionConfig`. + # Either `content` or `uri` must be supplied. Supplying both or neither + # returns google.rpc.Code.INVALID_ARGUMENT. See + # [audio limits](https://cloud.google.com/speech/limits#content). + # Corresponds to the JSON property `audio` + # @return [Google::Apis::SpeechV1beta1::RecognitionAudio] + attr_accessor :audio + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @config = args[:config] if args.key?(:config) + @audio = args[:audio] if args.key?(:audio) + end + end + + # 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 + include Google::Apis::Core::Hashable + + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + + # The status code, which should be an enum value of google.rpc.Code. + # Corresponds to the JSON property `code` + # @return [Fixnum] + attr_accessor :code + + # 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. + # Corresponds to the JSON property `message` + # @return [String] + attr_accessor :message + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @details = args[:details] if args.key?(:details) + @code = args[:code] if args.key?(:code) + @message = args[:message] if args.key?(:message) + end + end + + # The only message returned to the client by `SyncRecognize`. method. It + # contains the result as zero or more sequential `SpeechRecognitionResult` + # messages. + class SyncRecognizeResponse + include Google::Apis::Core::Hashable + + # *Output-only* Sequential list of transcription results corresponding to + # sequential portions of audio. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + + # 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 + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + end + end +end diff --git a/generated/google/apis/speech_v1beta1/representations.rb b/generated/google/apis/speech_v1beta1/representations.rb new file mode 100644 index 000000000..e6ce8beae --- /dev/null +++ b/generated/google/apis/speech_v1beta1/representations.rb @@ -0,0 +1,206 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'date' +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SpeechV1beta1 + + class SpeechRecognitionAlternative + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechRecognitionResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AsyncRecognizeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecognitionAudio + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class RecognitionConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SyncRecognizeRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Status + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SyncRecognizeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Empty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SpeechRecognitionAlternative + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :transcript, as: 'transcript' + end + end + + class SpeechContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :phrases, as: 'phrases' + end + end + + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::SpeechV1beta1::Operation, decorator: Google::Apis::SpeechV1beta1::Operation::Representation + + end + end + + class SpeechRecognitionResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionAlternative::Representation + + end + end + + class AsyncRecognizeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation + + property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation + + end + end + + class RecognitionAudio + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :uri, as: 'uri' + end + end + + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + hash :response, as: 'response' + property :name, as: 'name' + property :error, as: 'error', class: Google::Apis::SpeechV1beta1::Status, decorator: Google::Apis::SpeechV1beta1::Status::Representation + + hash :metadata, as: 'metadata' + end + end + + class RecognitionConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :max_alternatives, as: 'maxAlternatives' + property :sample_rate, as: 'sampleRate' + property :language_code, as: 'languageCode' + property :speech_context, as: 'speechContext', class: Google::Apis::SpeechV1beta1::SpeechContext, decorator: Google::Apis::SpeechV1beta1::SpeechContext::Representation + + property :encoding, as: 'encoding' + property :profanity_filter, as: 'profanityFilter' + end + end + + class SyncRecognizeRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :config, as: 'config', class: Google::Apis::SpeechV1beta1::RecognitionConfig, decorator: Google::Apis::SpeechV1beta1::RecognitionConfig::Representation + + property :audio, as: 'audio', class: Google::Apis::SpeechV1beta1::RecognitionAudio, decorator: Google::Apis::SpeechV1beta1::RecognitionAudio::Representation + + end + end + + class Status + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :details, as: 'details' + property :code, as: 'code' + property :message, as: 'message' + end + end + + class SyncRecognizeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::SpeechV1beta1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1beta1::SpeechRecognitionResult::Representation + + end + end + + class Empty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + end + end +end diff --git a/generated/google/apis/speech_v1beta1/service.rb b/generated/google/apis/speech_v1beta1/service.rb new file mode 100644 index 000000000..00f4124d2 --- /dev/null +++ b/generated/google/apis/speech_v1beta1/service.rb @@ -0,0 +1,270 @@ +# Copyright 2015 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'google/apis/core/base_service' +require 'google/apis/core/json_representation' +require 'google/apis/core/hashable' +require 'google/apis/errors' + +module Google + module Apis + module SpeechV1beta1 + # Google Cloud Speech API + # + # Google Cloud Speech API. + # + # @example + # require 'google/apis/speech_v1beta1' + # + # Speech = Google::Apis::SpeechV1beta1 # Alias the module + # service = Speech::SpeechService.new + # + # @see https://cloud.google.com/speech/ + class SpeechService < Google::Apis::Core::BaseService + # @return [String] + # 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. + attr_accessor :key + + # @return [String] + # 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. + attr_accessor :quota_user + + def initialize + super('https://speech.googleapis.com/', '') + end + + # 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`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def cancel_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/operations/{+name}:cancel', options) + command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation + command.response_class = Google::Apis::SpeechV1beta1::Empty + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] name + # The name of the operation resource to be deleted. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::Empty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/operations/{+name}', options) + command.response_representation = Google::Apis::SpeechV1beta1::Empty::Representation + command.response_class = Google::Apis::SpeechV1beta1::Empty + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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`. + # @param [String] filter + # The standard list filter. + # @param [String] name + # The name of the operation collection. + # @param [String] page_token + # The standard list page token. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::ListOperationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_operations(filter: nil, name: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/operations', options) + command.response_representation = Google::Apis::SpeechV1beta1::ListOperationsResponse::Representation + command.response_class = Google::Apis::SpeechV1beta1::ListOperationsResponse + command.query['filter'] = filter unless filter.nil? + command.query['name'] = name unless name.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # 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. + # @param [String] name + # The name of the operation resource. + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_operation(name, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/operations/{+name}', options) + command.response_representation = Google::Apis::SpeechV1beta1::Operation::Representation + command.response_class = Google::Apis::SpeechV1beta1::Operation + command.params['name'] = name unless name.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Performs asynchronous speech recognition: receive results via the + # [google.longrunning.Operations] + # (/speech/reference/rest/v1beta1/operations#Operation) + # interface. Returns either an + # `Operation.error` or an `Operation.response` which contains + # an `AsyncRecognizeResponse` message. + # @param [Google::Apis::SpeechV1beta1::AsyncRecognizeRequest] async_recognize_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def async_recognize_speech(async_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/speech:asyncrecognize', options) + command.request_representation = Google::Apis::SpeechV1beta1::AsyncRecognizeRequest::Representation + command.request_object = async_recognize_request_object + command.response_representation = Google::Apis::SpeechV1beta1::Operation::Representation + command.response_class = Google::Apis::SpeechV1beta1::Operation + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + # Performs synchronous speech recognition: receive results after all audio + # has been sent and processed. + # @param [Google::Apis::SpeechV1beta1::SyncRecognizeRequest] sync_recognize_request_object + # @param [String] quota_user + # 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. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SpeechV1beta1::SyncRecognizeResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def sync_recognize_speech(sync_recognize_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/speech:syncrecognize', options) + command.request_representation = Google::Apis::SpeechV1beta1::SyncRecognizeRequest::Representation + command.request_object = sync_recognize_request_object + command.response_representation = Google::Apis::SpeechV1beta1::SyncRecognizeResponse::Representation + command.response_class = Google::Apis::SpeechV1beta1::SyncRecognizeResponse + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['fields'] = fields unless fields.nil? + execute_or_queue_command(command, &block) + end + + protected + + def apply_command_defaults(command) + command.query['key'] = key unless key.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + end + end + end + end +end diff --git a/generated/google/apis/sqladmin_v1beta4.rb b/generated/google/apis/sqladmin_v1beta4.rb index f67aa3f20..baea89ea7 100644 --- a/generated/google/apis/sqladmin_v1beta4.rb +++ b/generated/google/apis/sqladmin_v1beta4.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/sql/docs/reference/latest module SqladminV1beta4 VERSION = 'V1beta4' - REVISION = '20160712' + REVISION = '20170217' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/sqladmin_v1beta4/classes.rb b/generated/google/apis/sqladmin_v1beta4/classes.rb index fa419ccca..29c8255d1 100644 --- a/generated/google/apis/sqladmin_v1beta4/classes.rb +++ b/generated/google/apis/sqladmin_v1beta4/classes.rb @@ -389,6 +389,11 @@ module Google # @return [String] attr_accessor :backend_type + # Connection name of the Cloud SQL instance used in connection strings. + # Corresponds to the JSON property `connectionName` + # @return [String] + attr_accessor :connection_name + # The current disk usage of the instance in bytes. This property has been # deprecated. Users should use the "cloudsql.googleapis.com/database/disk/ # bytes_used" metric in Cloud Monitoring API instead. Please see https://groups. @@ -530,6 +535,7 @@ module Google # Update properties of this object def update!(**args) @backend_type = args[:backend_type] if args.key?(:backend_type) + @connection_name = args[:connection_name] if args.key?(:connection_name) @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size) @database_version = args[:database_version] if args.key?(:database_version) @etag = args[:etag] if args.key?(:etag) @@ -1035,6 +1041,25 @@ module Google end end + # Instance truncate log request. + class InstancesTruncateLogRequest + include Google::Apis::Core::Hashable + + # Database Instance truncate log context. + # Corresponds to the JSON property `truncateLogContext` + # @return [Google::Apis::SqladminV1beta4::TruncateLogContext] + attr_accessor :truncate_log_context + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @truncate_log_context = args[:truncate_log_context] if args.key?(:truncate_log_context) + end + end + # IP Management configuration. class IpConfiguration include Google::Apis::Core::Hashable @@ -1087,6 +1112,13 @@ module Google # @return [DateTime] attr_accessor :time_to_retire + # The type of this IP address. A PRIMARY address is an address that can accept + # incoming connections. An OUTGOING address is the source address of connections + # originating from the instance, if supported. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + def initialize(**args) update!(**args) end @@ -1095,6 +1127,32 @@ module Google def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @time_to_retire = args[:time_to_retire] if args.key?(:time_to_retire) + @type = args[:type] if args.key?(:type) + end + end + + # User defined labels for Cloud SQL instances. + class Labels + include Google::Apis::Core::Hashable + + # The key of the label. + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # The value of the label. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @value = args[:value] if args.key?(:value) end end @@ -1576,6 +1634,11 @@ module Google # @return [Array] attr_accessor :authorized_gae_applications + # Reserved for future use. + # Corresponds to the JSON property `availabilityType` + # @return [String] + attr_accessor :availability_type + # Database instance backup configuration. # Corresponds to the JSON property `backupConfiguration` # @return [Google::Apis::SqladminV1beta4::BackupConfiguration] @@ -1623,6 +1686,11 @@ module Google # @return [String] attr_accessor :kind + # User defined labels. + # Corresponds to the JSON property `labels` + # @return [Array] + attr_accessor :labels + # Preferred location. This specifies where a Cloud SQL instance should # preferably be located, either in a specific Compute Engine zone, or co-located # with an App Engine application. Note that if the preferred location is not @@ -1665,6 +1733,13 @@ module Google attr_accessor :storage_auto_resize alias_method :storage_auto_resize?, :storage_auto_resize + # The maximum size to which storage capacity can be automatically increased. The + # default value is 0, which specifies that there is no limit. Applies only to + # Second Generation instances. + # Corresponds to the JSON property `storageAutoResizeLimit` + # @return [String] + attr_accessor :storage_auto_resize_limit + # The tier of service for this instance, for example D1, D2. For more # information, see pricing. # Corresponds to the JSON property `tier` @@ -1679,6 +1754,7 @@ module Google def update!(**args) @activation_policy = args[:activation_policy] if args.key?(:activation_policy) @authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications) + @availability_type = args[:availability_type] if args.key?(:availability_type) @backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration) @crash_safe_replication_enabled = args[:crash_safe_replication_enabled] if args.key?(:crash_safe_replication_enabled) @data_disk_size_gb = args[:data_disk_size_gb] if args.key?(:data_disk_size_gb) @@ -1687,12 +1763,14 @@ module Google @database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled) @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration) @kind = args[:kind] if args.key?(:kind) + @labels = args[:labels] if args.key?(:labels) @location_preference = args[:location_preference] if args.key?(:location_preference) @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window) @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan) @replication_type = args[:replication_type] if args.key?(:replication_type) @settings_version = args[:settings_version] if args.key?(:settings_version) @storage_auto_resize = args[:storage_auto_resize] if args.key?(:storage_auto_resize) + @storage_auto_resize_limit = args[:storage_auto_resize_limit] if args.key?(:storage_auto_resize_limit) @tier = args[:tier] if args.key?(:tier) end end @@ -1915,8 +1993,7 @@ module Google # @return [String] attr_accessor :kind - # The applicable regions for this tier. Can be us-east1, europe-west1 or asia- - # east1. + # The applicable regions for this tier. # Corresponds to the JSON property `region` # @return [Array] attr_accessor :region @@ -1966,6 +2043,32 @@ module Google end end + # Database Instance truncate log context. + class TruncateLogContext + include Google::Apis::Core::Hashable + + # This is always sql#truncateLogContext. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The type of log to truncate. Valid values are MYSQL_GENERAL_TABLE and + # MYSQL_SLOW_TABLE. + # Corresponds to the JSON property `logType` + # @return [String] + attr_accessor :log_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @log_type = args[:log_type] if args.key?(:log_type) + end + end + # A Cloud SQL user resource. class User include Google::Apis::Core::Hashable diff --git a/generated/google/apis/sqladmin_v1beta4/representations.rb b/generated/google/apis/sqladmin_v1beta4/representations.rb index 40d79b3b3..ec97e975d 100644 --- a/generated/google/apis/sqladmin_v1beta4/representations.rb +++ b/generated/google/apis/sqladmin_v1beta4/representations.rb @@ -172,6 +172,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class InstancesTruncateLogRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IpConfiguration class Representation < Google::Apis::Core::JsonRepresentation; end @@ -184,6 +190,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Labels + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LocationPreference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -298,6 +310,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TruncateLogContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class User class Representation < Google::Apis::Core::JsonRepresentation; end @@ -409,6 +427,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :backend_type, as: 'backendType' + property :connection_name, as: 'connectionName' property :current_disk_size, as: 'currentDiskSize' property :database_version, as: 'databaseVersion' property :etag, as: 'etag' @@ -587,6 +606,14 @@ module Google end end + class InstancesTruncateLogRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :truncate_log_context, as: 'truncateLogContext', class: Google::Apis::SqladminV1beta4::TruncateLogContext, decorator: Google::Apis::SqladminV1beta4::TruncateLogContext::Representation + + end + end + class IpConfiguration # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -603,6 +630,15 @@ module Google property :ip_address, as: 'ipAddress' property :time_to_retire, as: 'timeToRetire', type: DateTime + property :type, as: 'type' + end + end + + class Labels + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :value, as: 'value' end end @@ -729,6 +765,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :activation_policy, as: 'activationPolicy' collection :authorized_gae_applications, as: 'authorizedGaeApplications' + property :availability_type, as: 'availabilityType' property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1beta4::BackupConfiguration, decorator: Google::Apis::SqladminV1beta4::BackupConfiguration::Representation property :crash_safe_replication_enabled, as: 'crashSafeReplicationEnabled' @@ -740,6 +777,8 @@ module Google property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation property :kind, as: 'kind' + collection :labels, as: 'labels', class: Google::Apis::SqladminV1beta4::Labels, decorator: Google::Apis::SqladminV1beta4::Labels::Representation + property :location_preference, as: 'locationPreference', class: Google::Apis::SqladminV1beta4::LocationPreference, decorator: Google::Apis::SqladminV1beta4::LocationPreference::Representation property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation @@ -748,6 +787,7 @@ module Google property :replication_type, as: 'replicationType' property :settings_version, as: 'settingsVersion' property :storage_auto_resize, as: 'storageAutoResize' + property :storage_auto_resize_limit, as: 'storageAutoResizeLimit' property :tier, as: 'tier' end end @@ -834,6 +874,14 @@ module Google end end + class TruncateLogContext + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :log_type, as: 'logType' + end + end + class User # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/sqladmin_v1beta4/service.rb b/generated/google/apis/sqladmin_v1beta4/service.rb index e050ef722..2a3456f10 100644 --- a/generated/google/apis/sqladmin_v1beta4/service.rb +++ b/generated/google/apis/sqladmin_v1beta4/service.rb @@ -136,7 +136,8 @@ module Google execute_or_queue_command(command, &block) end - # Creates a new backup run on demand. + # Creates a new backup run on demand. This method is applicable only to Second + # Generation instances. # @param [String] project # Project ID of the project that contains the instance. # @param [String] instance @@ -477,6 +478,9 @@ module Google end # List all available database flags for Google Cloud SQL instances. + # @param [String] database_version + # Database version for flag retrieval. Flags are specific to the database + # version. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -498,10 +502,11 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_flags(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_flags(database_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'flags', options) command.response_representation = Google::Apis::SqladminV1beta4::ListFlagsResponse::Representation command.response_class = Google::Apis::SqladminV1beta4::ListFlagsResponse + command.query['databaseVersion'] = database_version unless database_version.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -795,6 +800,8 @@ module Google # instance name. # @param [String] project # Project ID of the project for which to list Cloud SQL instances. + # @param [String] filter + # A filter expression for filtering listed instances. # @param [Fixnum] max_results # The maximum number of results to return per response. # @param [String] page_token @@ -821,11 +828,12 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_instances(project, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def list_instances(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'projects/{project}/instances', options) command.response_representation = Google::Apis::SqladminV1beta4::ListInstancesResponse::Representation command.response_class = Google::Apis::SqladminV1beta4::ListInstancesResponse command.params['project'] = project unless project.nil? + command.query['filter'] = filter unless filter.nil? command.query['maxResults'] = max_results unless max_results.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -1111,6 +1119,47 @@ module Google execute_or_queue_command(command, &block) end + # Truncate MySQL general and slow query log tables + # @param [String] project + # Project ID of the Cloud SQL project. + # @param [String] instance + # Cloud SQL instance ID. This does not include the project ID. + # @param [Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest] instances_truncate_log_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::SqladminV1beta4::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def truncate_instance_log(project, instance, instances_truncate_log_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/instances/{instance}/truncateLog', options) + command.request_representation = Google::Apis::SqladminV1beta4::InstancesTruncateLogRequest::Representation + command.request_object = instances_truncate_log_request_object + command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation + command.response_class = Google::Apis::SqladminV1beta4::Operation + command.params['project'] = project unless project.nil? + command.params['instance'] = instance unless instance.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates settings of a Cloud SQL instance. Caution: This is not a partial # update, so you must include values for all the settings that you want to # retain. For partial updates, use patch. diff --git a/generated/google/apis/storage_v1.rb b/generated/google/apis/storage_v1.rb index 060f89842..c4c25ca37 100644 --- a/generated/google/apis/storage_v1.rb +++ b/generated/google/apis/storage_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/storage/docs/json_api/ module StorageV1 VERSION = 'V1' - REVISION = '20160802' + REVISION = '20170308' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/storage_v1/classes.rb b/generated/google/apis/storage_v1/classes.rb index 7779ab430..1dea3431d 100644 --- a/generated/google/apis/storage_v1/classes.rb +++ b/generated/google/apis/storage_v1/classes.rb @@ -41,18 +41,12 @@ module Google # @return [Array] attr_accessor :default_object_acl - # Encryption configuration used by default for newly inserted objects, when no - # encryption config is specified. - # Corresponds to the JSON property `encryption` - # @return [Google::Apis::StorageV1::Bucket::Encryption] - attr_accessor :encryption - # HTTP 1.1 Entity tag for the bucket. # Corresponds to the JSON property `etag` # @return [String] attr_accessor :etag - # The ID of the bucket. + # The ID of the bucket. For buckets, the id and name properities are the same. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -106,10 +100,12 @@ module Google # @return [String] attr_accessor :self_link - # The bucket's storage class. This defines how objects in the bucket are stored - # and determines the SLA and the cost of storage. Values include STANDARD, - # NEARLINE and DURABLE_REDUCED_AVAILABILITY. Defaults to STANDARD. For more - # information, see storage classes. + # The bucket's default storage class, used whenever no storageClass is specified + # for a newly-created object. This defines how objects in the bucket are stored + # and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, + # REGIONAL, STANDARD, NEARLINE, COLDLINE, and DURABLE_REDUCED_AVAILABILITY. If + # this value is not specified when the bucket is created, it will default to + # STANDARD. For more information, see storage classes. # Corresponds to the JSON property `storageClass` # @return [String] attr_accessor :storage_class @@ -145,7 +141,6 @@ module Google @acl = args[:acl] if args.key?(:acl) @cors_configurations = args[:cors_configurations] if args.key?(:cors_configurations) @default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl) - @encryption = args[:encryption] if args.key?(:encryption) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @@ -206,26 +201,6 @@ module Google end end - # Encryption configuration used by default for newly inserted objects, when no - # encryption config is specified. - class Encryption - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `default_kms_key_name` - # @return [String] - attr_accessor :default_kms_key_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @default_kms_key_name = args[:default_kms_key_name] if args.key?(:default_kms_key_name) - end - end - # The bucket's lifecycle configuration. See lifecycle management for more # information. class Lifecycle @@ -274,7 +249,12 @@ module Google class Action include Google::Apis::Core::Hashable - # Type of the action. Currently, only Delete is supported. + # Target storage class. Required iff the type of the action is SetStorageClass. + # Corresponds to the JSON property `storageClass` + # @return [String] + attr_accessor :storage_class + + # Type of the action. Currently, only Delete and SetStorageClass are supported. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -285,6 +265,7 @@ module Google # Update properties of this object def update!(**args) + @storage_class = args[:storage_class] if args.key?(:storage_class) @type = args[:type] if args.key?(:type) end end @@ -313,6 +294,13 @@ module Google attr_accessor :is_live alias_method :is_live?, :is_live + # Objects having any of the storage classes specified by this condition will be + # matched. Values include MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, STANDARD, + # and DURABLE_REDUCED_AVAILABILITY. + # Corresponds to the JSON property `matchesStorageClass` + # @return [Array] + attr_accessor :matches_storage_class + # Relevant only for versioned objects. If the value is N, this condition is # satisfied when there are at least N versions (including the live version) # newer than this version of the object. @@ -329,6 +317,7 @@ module Google @age = args[:age] if args.key?(:age) @created_before = args[:created_before] if args.key?(:created_before) @is_live = args[:is_live] if args.key?(:is_live) + @matches_storage_class = args[:matches_storage_class] if args.key?(:matches_storage_class) @num_newer_versions = args[:num_newer_versions] if args.key?(:num_newer_versions) end end @@ -846,7 +835,8 @@ module Google # @return [String] attr_accessor :generation - # The ID of the object. + # The ID of the object, including the bucket name, object name, and generation + # number. # Corresponds to the JSON property `id` # @return [String] attr_accessor :id @@ -856,12 +846,6 @@ module Google # @return [String] attr_accessor :kind - # Cloud KMS Key used to encrypt this object, if the object is encrypted by such - # a key. - # Corresponds to the JSON property `kmsKeyName` - # @return [String] - attr_accessor :kms_key_name - # MD5 hash of the data; encoded using base64. For more information about using # the MD5 hash, see Hashes and ETags: Best Practices. # Corresponds to the JSON property `md5Hash` @@ -886,7 +870,7 @@ module Google # @return [String] attr_accessor :metageneration - # The name of this object. Required if not specified by URL parameter. + # The name of the object. Required if not specified by URL parameter. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -922,6 +906,12 @@ module Google # @return [DateTime] attr_accessor :time_deleted + # The time at which the object's storage class was last changed. When the object + # is initially created, it will be set to timeCreated. + # Corresponds to the JSON property `timeStorageClassUpdated` + # @return [DateTime] + attr_accessor :time_storage_class_updated + # The modification time of the object metadata in RFC 3339 format. # Corresponds to the JSON property `updated` # @return [DateTime] @@ -947,7 +937,6 @@ module Google @generation = args[:generation] if args.key?(:generation) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) - @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name) @md5_hash = args[:md5_hash] if args.key?(:md5_hash) @media_link = args[:media_link] if args.key?(:media_link) @metadata = args[:metadata] if args.key?(:metadata) @@ -959,6 +948,7 @@ module Google @storage_class = args[:storage_class] if args.key?(:storage_class) @time_created = args[:time_created] if args.key?(:time_created) @time_deleted = args[:time_deleted] if args.key?(:time_deleted) + @time_storage_class_updated = args[:time_storage_class_updated] if args.key?(:time_storage_class_updated) @updated = args[:updated] if args.key?(:updated) end @@ -1060,7 +1050,7 @@ module Google # @return [String] attr_accessor :etag - # The content generation of the object. + # The content generation of the object, if applied to an object. # Corresponds to the JSON property `generation` # @return [String] attr_accessor :generation @@ -1076,7 +1066,7 @@ module Google # @return [String] attr_accessor :kind - # The name of the object. + # The name of the object, if applied to an object. # Corresponds to the JSON property `object` # @return [String] attr_accessor :object @@ -1149,7 +1139,7 @@ module Google # The list of items. # Corresponds to the JSON property `items` - # @return [Array] + # @return [Array] attr_accessor :items # The kind of item this is. For lists of object access control entries, this is @@ -1208,6 +1198,116 @@ module Google end end + # A bucket/object IAM policy. + class Policy + include Google::Apis::Core::Hashable + + # An association between a role, which comes with a set of permissions, and + # members who may assume that role. + # Corresponds to the JSON property `bindings` + # @return [Array] + attr_accessor :bindings + + # HTTP 1.1 Entity tag for the policy. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The kind of item this is. For policies, this is always storage#policy. This + # field is ignored on input. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `resourceId` + # @return [String] + attr_accessor :resource_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bindings = args[:bindings] if args.key?(:bindings) + @etag = args[:etag] if args.key?(:etag) + @kind = args[:kind] if args.key?(:kind) + @resource_id = args[:resource_id] if args.key?(:resource_id) + end + + # + class Binding + include Google::Apis::Core::Hashable + + # 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 + # Corresponds to the JSON property `members` + # @return [Array] + attr_accessor :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. + # Corresponds to the JSON property `role` + # @return [String] + attr_accessor :role + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @members = args[:members] if args.key?(:members) + @role = args[:role] if args.key?(:role) + end + end + end + # A rewrite response. class RewriteResponse include Google::Apis::Core::Hashable @@ -1261,6 +1361,47 @@ module Google @total_bytes_rewritten = args[:total_bytes_rewritten] if args.key?(:total_bytes_rewritten) end end + + # A storage.(buckets|objects).testIamPermissions response. + class TestIamPermissionsResponse + include Google::Apis::Core::Hashable + + # The kind of item this is. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :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. + # Corresponds to the JSON property `permissions` + # @return [Array] + attr_accessor :permissions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @permissions = args[:permissions] if args.key?(:permissions) + end + end end end end diff --git a/generated/google/apis/storage_v1/representations.rb b/generated/google/apis/storage_v1/representations.rb index 422f90f1b..41de24be7 100644 --- a/generated/google/apis/storage_v1/representations.rb +++ b/generated/google/apis/storage_v1/representations.rb @@ -31,12 +31,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Encryption - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Lifecycle class Representation < Google::Apis::Core::JsonRepresentation; end @@ -178,12 +172,30 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Policy + class Representation < Google::Apis::Core::JsonRepresentation; end + + class Binding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + include Google::Apis::Core::JsonObjectSupport + end + class RewriteResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TestIamPermissionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Bucket # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -193,8 +205,6 @@ module Google collection :default_object_acl, as: 'defaultObjectAcl', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation - property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation - property :etag, as: 'etag' property :id, as: 'id' property :kind, as: 'kind' @@ -230,13 +240,6 @@ module Google end end - class Encryption - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :default_kms_key_name, as: 'default_kms_key_name' - end - end - class Lifecycle # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -256,6 +259,7 @@ module Google class Action # @private class Representation < Google::Apis::Core::JsonRepresentation + property :storage_class, as: 'storageClass' property :type, as: 'type' end end @@ -267,6 +271,7 @@ module Google property :created_before, as: 'createdBefore', type: Date property :is_live, as: 'isLive' + collection :matches_storage_class, as: 'matchesStorageClass' property :num_newer_versions, as: 'numNewerVersions' end end @@ -413,7 +418,6 @@ module Google property :generation, as: 'generation' property :id, as: 'id' property :kind, as: 'kind' - property :kms_key_name, as: 'kmsKeyName' property :md5_hash, as: 'md5Hash' property :media_link, as: 'mediaLink' hash :metadata, as: 'metadata' @@ -428,6 +432,8 @@ module Google property :time_deleted, as: 'timeDeleted', type: DateTime + property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime + property :updated, as: 'updated', type: DateTime end @@ -480,7 +486,8 @@ module Google class ObjectAccessControls # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :items, as: 'items' + collection :items, as: 'items', class: Google::Apis::StorageV1::ObjectAccessControl, decorator: Google::Apis::StorageV1::ObjectAccessControl::Representation + property :kind, as: 'kind' end end @@ -496,6 +503,25 @@ module Google end end + class Policy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bindings, as: 'bindings', class: Google::Apis::StorageV1::Policy::Binding, decorator: Google::Apis::StorageV1::Policy::Binding::Representation + + property :etag, :base64 => true, as: 'etag' + property :kind, as: 'kind' + property :resource_id, as: 'resourceId' + end + + class Binding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :members, as: 'members' + property :role, as: 'role' + end + end + end + class RewriteResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -508,6 +534,14 @@ module Google property :total_bytes_rewritten, as: 'totalBytesRewritten' end end + + class TestIamPermissionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + collection :permissions, as: 'permissions' + end + end end end end diff --git a/generated/google/apis/storage_v1/service.rb b/generated/google/apis/storage_v1/service.rb index afcd1c0c3..ec5306b7d 100644 --- a/generated/google/apis/storage_v1/service.rb +++ b/generated/google/apis/storage_v1/service.rb @@ -373,6 +373,41 @@ module Google execute_or_queue_command(command, &block) end + # Returns an IAM policy for the specified bucket. + # @param [String] bucket + # Name of a bucket. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_bucket_iam_policy(bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'b/{bucket}/iam', options) + command.response_representation = Google::Apis::StorageV1::Policy::Representation + command.response_class = Google::Apis::StorageV1::Policy + command.params['bucket'] = bucket unless bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a new bucket. # @param [String] project # A valid API project identifier. @@ -425,7 +460,8 @@ module Google # @param [String] project # A valid API project identifier. # @param [Fixnum] max_results - # Maximum number of buckets to return. + # Maximum number of buckets to return in a single response. The service will use + # this parameter or 1,000 items, whichever is smaller. # @param [String] page_token # A previously-returned page token representing part of the larger set of # results to view. @@ -469,7 +505,9 @@ module Google execute_or_queue_command(command, &block) end - # Updates a bucket. This method supports patch semantics. + # Updates a bucket. Changes to the bucket will be readable immediately after + # writing, but configuration changes may take time to propagate. This method + # supports patch semantics. # @param [String] bucket # Name of a bucket. # @param [Google::Apis::StorageV1::Bucket] bucket_object @@ -524,7 +562,85 @@ module Google execute_or_queue_command(command, &block) end - # Updates a bucket. + # Updates an IAM policy for the specified bucket. + # @param [String] bucket + # Name of a bucket. + # @param [Google::Apis::StorageV1::Policy] policy_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_bucket_iam_policy(bucket, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'b/{bucket}/iam', options) + command.request_representation = Google::Apis::StorageV1::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::StorageV1::Policy::Representation + command.response_class = Google::Apis::StorageV1::Policy + command.params['bucket'] = bucket unless bucket.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Tests a set of permissions on the given bucket to see which, if any, are held + # by the caller. + # @param [String] bucket + # Name of a bucket. + # @param [Array, String] permissions + # Permissions to test. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_bucket_iam_permissions(bucket, permissions, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'b/{bucket}/iam/testPermissions', options) + command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse + command.params['bucket'] = bucket unless bucket.nil? + command.query['permissions'] = permissions unless permissions.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Updates a bucket. Changes to the bucket will be readable immediately after + # writing, but configuration changes may take time to propagate. # @param [String] bucket # Name of a bucket. # @param [Google::Apis::StorageV1::Bucket] bucket_object @@ -1154,10 +1270,6 @@ module Google # @param [String] if_metageneration_match # Makes the operation conditional on whether the object's current metageneration # matches the given value. - # @param [String] kms_key_name - # Resource name of the Cloud KMS key, of the form projects/my-project/locations/ - # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the - # object. Overrides the object metadata's kms_key_name value, if any. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1181,7 +1293,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) + def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block) if download_dest.nil? command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options) else @@ -1197,7 +1309,6 @@ module Google command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil? command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil? command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil? - command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? @@ -1432,6 +1543,49 @@ module Google execute_or_queue_command(command, &block) end + # Returns an IAM policy for the specified object. + # @param [String] bucket + # Name of the bucket in which the object resides. + # @param [String] object + # Name of the object. For information about how to URL encode object names to be + # path safe, see Encoding URI Path Parts. + # @param [String] generation + # If present, selects a specific revision of this object (as opposed to the + # latest version, the default). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_object_iam_policy(bucket, object, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam', options) + command.response_representation = Google::Apis::StorageV1::Policy::Representation + command.response_class = Google::Apis::StorageV1::Policy + command.params['bucket'] = bucket unless bucket.nil? + command.params['object'] = object unless object.nil? + command.query['generation'] = generation unless generation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Stores a new object and metadata. # @param [String] bucket # Name of the bucket in which to store the new object. Overrides the provided @@ -1454,10 +1608,6 @@ module Google # @param [String] if_metageneration_not_match # Makes the operation conditional on whether the object's current metageneration # does not match the given value. - # @param [String] kms_key_name - # Resource name of the Cloud KMS key, of the form projects/my-project/locations/ - # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the - # object. Overrides the object metadata's kms_key_name value, if any. # @param [String] name # Name of the object. Required when the object metadata is not otherwise # provided. Overrides the object metadata's name value, if any. For information @@ -1493,7 +1643,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) + def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, name: nil, predefined_acl: nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block) if upload_source.nil? command = make_simple_command(:post, 'b/{bucket}/o', options) else @@ -1511,7 +1661,6 @@ module Google command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil? command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil? command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil? - command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil? command.query['name'] = name unless name.nil? command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil? command.query['projection'] = projection unless projection.nil? @@ -1531,9 +1680,10 @@ module Google # truncated after the delimiter, returned in prefixes. Duplicate prefixes are # omitted. # @param [Fixnum] max_results - # Maximum number of items plus prefixes to return. As duplicate prefixes are - # omitted, fewer total results may be returned than requested. The default value - # of this parameter is 1,000 items. + # Maximum number of items plus prefixes to return in a single page of responses. + # As duplicate prefixes are omitted, fewer total results may be returned than + # requested. The service will use this parameter or 1,000 items, whichever is + # smaller. # @param [String] page_token # A previously-returned page token representing part of the larger set of # results to view. @@ -1666,10 +1816,6 @@ module Google # about how to URL encode object names to be path safe, see Encoding URI Path # Parts. # @param [Google::Apis::StorageV1::Object] object_object - # @param [String] destination_kms_key_name - # Resource name of the Cloud KMS key, of the form projects/my-project/locations/ - # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the - # object. Overrides the object metadata's kms_key_name value, if any. # @param [String] destination_predefined_acl # Apply a predefined set of access controls to the destination object. # @param [String] if_generation_match @@ -1736,7 +1882,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options) command.request_representation = Google::Apis::StorageV1::Object::Representation command.request_object = object_object @@ -1746,7 +1892,6 @@ module Google command.params['sourceObject'] = source_object unless source_object.nil? command.params['destinationBucket'] = destination_bucket unless destination_bucket.nil? command.params['destinationObject'] = destination_object unless destination_object.nil? - command.query['destinationKmsKeyName'] = destination_kms_key_name unless destination_kms_key_name.nil? command.query['destinationPredefinedAcl'] = destination_predefined_acl unless destination_predefined_acl.nil? command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil? command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil? @@ -1766,6 +1911,99 @@ module Google execute_or_queue_command(command, &block) end + # Updates an IAM policy for the specified object. + # @param [String] bucket + # Name of the bucket in which the object resides. + # @param [String] object + # Name of the object. For information about how to URL encode object names to be + # path safe, see Encoding URI Path Parts. + # @param [Google::Apis::StorageV1::Policy] policy_object + # @param [String] generation + # If present, selects a specific revision of this object (as opposed to the + # latest version, the default). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:put, 'b/{bucket}/o/{object}/iam', options) + command.request_representation = Google::Apis::StorageV1::Policy::Representation + command.request_object = policy_object + command.response_representation = Google::Apis::StorageV1::Policy::Representation + command.response_class = Google::Apis::StorageV1::Policy + command.params['bucket'] = bucket unless bucket.nil? + command.params['object'] = object unless object.nil? + command.query['generation'] = generation unless generation.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + + # Tests a set of permissions on the given object to see which, if any, are held + # by the caller. + # @param [String] bucket + # Name of the bucket in which the object resides. + # @param [String] object + # Name of the object. For information about how to URL encode object names to be + # path safe, see Encoding URI Path Parts. + # @param [Array, String] permissions + # Permissions to test. + # @param [String] generation + # If present, selects a specific revision of this object (as opposed to the + # latest version, the default). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::StorageV1::TestIamPermissionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::StorageV1::TestIamPermissionsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def test_object_iam_permissions(bucket, object, permissions, generation: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam/testPermissions', options) + command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation + command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse + command.params['bucket'] = bucket unless bucket.nil? + command.params['object'] = object unless object.nil? + command.query['generation'] = generation unless generation.nil? + command.query['permissions'] = permissions unless permissions.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Updates an object's metadata. # @param [String] bucket # Name of the bucket in which the object resides. @@ -1852,9 +2090,10 @@ module Google # truncated after the delimiter, returned in prefixes. Duplicate prefixes are # omitted. # @param [Fixnum] max_results - # Maximum number of items plus prefixes to return. As duplicate prefixes are - # omitted, fewer total results may be returned than requested. The default value - # of this parameter is 1,000 items. + # Maximum number of items plus prefixes to return in a single page of responses. + # As duplicate prefixes are omitted, fewer total results may be returned than + # requested. The service will use this parameter or 1,000 items, whichever is + # smaller. # @param [String] page_token # A previously-returned page token representing part of the larger set of # results to view. diff --git a/generated/google/apis/tagmanager_v1.rb b/generated/google/apis/tagmanager_v1.rb index 5a4805689..8228090de 100644 --- a/generated/google/apis/tagmanager_v1.rb +++ b/generated/google/apis/tagmanager_v1.rb @@ -30,22 +30,22 @@ module Google # Delete your Google Tag Manager containers AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers' - # Manage your Google Tag Manager containers + # Manage your Google Tag Manager container and its subcomponents, excluding versioning and publishing AUTH_TAGMANAGER_EDIT_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.edit.containers' # Manage your Google Tag Manager container versions AUTH_TAGMANAGER_EDIT_CONTAINERVERSIONS = 'https://www.googleapis.com/auth/tagmanager.edit.containerversions' - # Manage your Google Tag Manager accounts + # View and manage your Google Tag Manager accounts AUTH_TAGMANAGER_MANAGE_ACCOUNTS = 'https://www.googleapis.com/auth/tagmanager.manage.accounts' - # Manage user permissions of your Google Tag Manager data + # Manage user permissions of your Google Tag Manager account and container AUTH_TAGMANAGER_MANAGE_USERS = 'https://www.googleapis.com/auth/tagmanager.manage.users' - # Publish your Google Tag Manager containers + # Publish your Google Tag Manager container versions AUTH_TAGMANAGER_PUBLISH = 'https://www.googleapis.com/auth/tagmanager.publish' - # View your Google Tag Manager containers + # View your Google Tag Manager container and its subcomponents AUTH_TAGMANAGER_READONLY = 'https://www.googleapis.com/auth/tagmanager.readonly' end end diff --git a/generated/google/apis/vision_v1.rb b/generated/google/apis/vision_v1.rb index d00e17399..0b1992c12 100644 --- a/generated/google/apis/vision_v1.rb +++ b/generated/google/apis/vision_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/vision/ module VisionV1 VERSION = 'V1' - REVISION = '20160726' + REVISION = '20170321' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/vision_v1/classes.rb b/generated/google/apis/vision_v1/classes.rb index ff35d0075..191a74b87 100644 --- a/generated/google/apis/vision_v1/classes.rb +++ b/generated/google/apis/vision_v1/classes.rb @@ -22,28 +22,6 @@ module Google module Apis module VisionV1 - # External image source (Google Cloud Storage image location). - class ImageSource - include Google::Apis::Core::Hashable - - # Google Cloud Storage image URI. It must be in the following form: - # `gs://bucket_name/object_name`. For more - # details, please see: https://cloud.google.com/storage/docs/reference-uris. - # NOTE: Cloud Storage object versioning is not supported! - # Corresponds to the JSON property `gcsImageUri` - # @return [String] - attr_accessor :gcs_image_uri - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri) - end - end - # Request for performing Google Cloud Vision API tasks over a user-provided # image, with user-requested features. class AnnotateImageRequest @@ -54,16 +32,16 @@ module Google # @return [Google::Apis::VisionV1::Image] attr_accessor :image - # Image context. - # Corresponds to the JSON property `imageContext` - # @return [Google::Apis::VisionV1::ImageContext] - attr_accessor :image_context - # Requested features. # Corresponds to the JSON property `features` # @return [Array] attr_accessor :features + # Image context and/or feature-specific parameters. + # Corresponds to the JSON property `imageContext` + # @return [Google::Apis::VisionV1::ImageContext] + attr_accessor :image_context + def initialize(**args) update!(**args) end @@ -71,202 +49,8 @@ module Google # Update properties of this object def update!(**args) @image = args[:image] if args.key?(:image) - @image_context = args[:image_context] if args.key?(:image_context) @features = args[:features] if args.key?(:features) - end - end - - # Response to an image annotation request. - class AnnotateImageResponse - include Google::Apis::Core::Hashable - - # If present, label detection completed successfully. - # Corresponds to the JSON property `labelAnnotations` - # @return [Array] - attr_accessor :label_annotations - - # If present, landmark detection completed successfully. - # Corresponds to the JSON property `landmarkAnnotations` - # @return [Array] - attr_accessor :landmark_annotations - - # Set of features pertaining to the image, computed by various computer vision - # methods over safe-search verticals (for example, adult, spoof, medical, - # violence). - # Corresponds to the JSON property `safeSearchAnnotation` - # @return [Google::Apis::VisionV1::SafeSearchAnnotation] - attr_accessor :safe_search_annotation - - # Stores image properties (e.g. dominant colors). - # Corresponds to the JSON property `imagePropertiesAnnotation` - # @return [Google::Apis::VisionV1::ImageProperties] - attr_accessor :image_properties_annotation - - # If present, text (OCR) detection completed successfully. - # Corresponds to the JSON property `textAnnotations` - # @return [Array] - attr_accessor :text_annotations - - # If present, logo detection completed successfully. - # Corresponds to the JSON property `logoAnnotations` - # @return [Array] - attr_accessor :logo_annotations - - # If present, face detection completed successfully. - # Corresponds to the JSON property `faceAnnotations` - # @return [Array] - attr_accessor :face_annotations - - # 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. - # Corresponds to the JSON property `error` - # @return [Google::Apis::VisionV1::Status] - attr_accessor :error - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @label_annotations = args[:label_annotations] if args.key?(:label_annotations) - @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations) - @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation) - @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation) - @text_annotations = args[:text_annotations] if args.key?(:text_annotations) - @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations) - @face_annotations = args[:face_annotations] if args.key?(:face_annotations) - @error = args[:error] if args.key?(:error) - end - end - - # Rectangle determined by min and max LatLng pairs. - class LatLongRect - include Google::Apis::Core::Hashable - - # 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 <= 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) - # Corresponds to the JSON property `maxLatLng` - # @return [Google::Apis::VisionV1::LatLng] - attr_accessor :max_lat_lng - - # 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 <= 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) - # Corresponds to the JSON property `minLatLng` - # @return [Google::Apis::VisionV1::LatLng] - attr_accessor :min_lat_lng - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @max_lat_lng = args[:max_lat_lng] if args.key?(:max_lat_lng) - @min_lat_lng = args[:min_lat_lng] if args.key?(:min_lat_lng) + @image_context = args[:image_context] if args.key?(:image_context) end end @@ -317,12 +101,6 @@ module Google # @return [Fixnum] attr_accessor :code - # A list of messages that carry the error details. There will be a - # common set of message types for APIs to use. - # Corresponds to the JSON property `details` - # @return [Array>] - attr_accessor :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. @@ -330,6 +108,12 @@ module Google # @return [String] attr_accessor :message + # A list of messages that carry the error details. There will be a + # common set of message types for APIs to use. + # Corresponds to the JSON property `details` + # @return [Array>] + attr_accessor :details + def initialize(**args) update!(**args) end @@ -337,96 +121,126 @@ module Google # Update properties of this object def update!(**args) @code = args[:code] if args.key?(:code) - @details = args[:details] if args.key?(:details) @message = args[:message] if args.key?(:message) + @details = args[:details] if args.key?(:details) end end - # A face annotation object contains the results of face detection. - class FaceAnnotation + # Rectangle determined by min and max `LatLng` pairs. + class LatLongRect include Google::Apis::Core::Hashable - # Pitch angle. Indicates the upwards/downwards angle that the face is - # pointing - # relative to the image's horizontal plane. Range [-180,180]. - # Corresponds to the JSON property `tiltAngle` - # @return [Float] - attr_accessor :tilt_angle + # 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 <= 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. + # Corresponds to the JSON property `minLatLng` + # @return [Google::Apis::VisionV1::LatLng] + attr_accessor :min_lat_lng - # Under-exposed likelihood. - # Corresponds to the JSON property `underExposedLikelihood` + # 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 <= 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. + # Corresponds to the JSON property `maxLatLng` + # @return [Google::Apis::VisionV1::LatLng] + attr_accessor :max_lat_lng + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @min_lat_lng = args[:min_lat_lng] if args.key?(:min_lat_lng) + @max_lat_lng = args[:max_lat_lng] if args.key?(:max_lat_lng) + end + end + + # A single symbol representation. + class Symbol + include Google::Apis::Core::Hashable + + # The actual UTF-8 representation of the symbol. + # Corresponds to the JSON property `text` # @return [String] - attr_accessor :under_exposed_likelihood + attr_accessor :text + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `fdBoundingPoly` + # Corresponds to the JSON property `boundingBox` # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :fd_bounding_poly - - # Face landmarking confidence. Range [0, 1]. - # Corresponds to the JSON property `landmarkingConfidence` - # @return [Float] - attr_accessor :landmarking_confidence - - # Joy likelihood. - # Corresponds to the JSON property `joyLikelihood` - # @return [String] - attr_accessor :joy_likelihood - - # Detection confidence. Range [0, 1]. - # Corresponds to the JSON property `detectionConfidence` - # @return [Float] - attr_accessor :detection_confidence - - # Surprise likelihood. - # Corresponds to the JSON property `surpriseLikelihood` - # @return [String] - attr_accessor :surprise_likelihood - - # Anger likelihood. - # Corresponds to the JSON property `angerLikelihood` - # @return [String] - attr_accessor :anger_likelihood - - # Headwear likelihood. - # Corresponds to the JSON property `headwearLikelihood` - # @return [String] - attr_accessor :headwear_likelihood - - # Yaw angle. Indicates the leftward/rightward angle that the face is - # pointing, relative to the vertical plane perpendicular to the image. Range - # [-180,180]. - # Corresponds to the JSON property `panAngle` - # @return [Float] - attr_accessor :pan_angle - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingPoly` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_poly - - # Detected face landmarks. - # Corresponds to the JSON property `landmarks` - # @return [Array] - attr_accessor :landmarks - - # Blurred likelihood. - # Corresponds to the JSON property `blurredLikelihood` - # @return [String] - attr_accessor :blurred_likelihood - - # Roll angle. Indicates the amount of clockwise/anti-clockwise rotation of - # the - # face relative to the image vertical, about the axis perpendicular to the - # face. Range [-180,180]. - # Corresponds to the JSON property `rollAngle` - # @return [Float] - attr_accessor :roll_angle - - # Sorrow likelihood. - # Corresponds to the JSON property `sorrowLikelihood` - # @return [String] - attr_accessor :sorrow_likelihood + attr_accessor :bounding_box def initialize(**args) update!(**args) @@ -434,38 +248,20 @@ module Google # Update properties of this object def update!(**args) - @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle) - @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood) - @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly) - @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) - @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood) - @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence) - @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) - @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood) - @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood) - @pan_angle = args[:pan_angle] if args.key?(:pan_angle) - @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) - @landmarks = args[:landmarks] if args.key?(:landmarks) - @blurred_likelihood = args[:blurred_likelihood] if args.key?(:blurred_likelihood) - @roll_angle = args[:roll_angle] if args.key?(:roll_angle) - @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood) + @text = args[:text] if args.key?(:text) + @property = args[:property] if args.key?(:property) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) end end - # A vertex represents a 2D point in the image. - # NOTE: the vertex coordinates are in the same scale as the original image. - class Vertex + # Set of crop hints that are used to generate new crops when serving images. + class CropHintsAnnotation include Google::Apis::Core::Hashable - # Y coordinate. - # Corresponds to the JSON property `y` - # @return [Fixnum] - attr_accessor :y - - # X coordinate. - # Corresponds to the JSON property `x` - # @return [Fixnum] - attr_accessor :x + # Crop hint results. + # Corresponds to the JSON property `cropHints` + # @return [Array] + attr_accessor :crop_hints def initialize(**args) update!(**args) @@ -473,129 +269,59 @@ module Google # Update properties of this object def update!(**args) - @y = args[:y] if args.key?(:y) - @x = args[:x] if args.key?(:x) + @crop_hints = args[:crop_hints] if args.key?(:crop_hints) end end - # Color information consists of RGB channels, score and fraction of - # image the color occupies in the image. - class ColorInfo + # 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 <= 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 include Google::Apis::Core::Hashable - # Stores the fraction of pixels the color occupies in the image. - # Value in range [0, 1]. - # Corresponds to the JSON property `pixelFraction` + # The latitude in degrees. It must be in the range [-90.0, +90.0]. + # Corresponds to the JSON property `latitude` # @return [Float] - attr_accessor :pixel_fraction + attr_accessor :latitude - # Represents a color in the RGBA color space. This representation is designed - # for simplicity of conversion to/from color representations in various - # languages over compactness; for example, the fields of this representation - # can be trivially provided to the constructor of "java.awt.Color" in Java; it - # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" - # method in iOS; and, with just a little work, it can be easily formatted into - # a CSS "rgba()" string in JavaScript, as well. Here are some examples: - # Example (Java): - # import com.google.type.Color; - # // ... - # public static java.awt.Color fromProto(Color protocolor) ` - # float alpha = protocolor.hasAlpha() - # ? protocolor.getAlpha().getValue() - # : 1.0; - # return new java.awt.Color( - # protocolor.getRed(), - # protocolor.getGreen(), - # protocolor.getBlue(), - # alpha); - # ` - # public static Color toProto(java.awt.Color color) ` - # float red = (float) color.getRed(); - # float green = (float) color.getGreen(); - # float blue = (float) color.getBlue(); - # float denominator = 255.0; - # Color.Builder resultBuilder = - # Color - # .newBuilder() - # .setRed(red / denominator) - # .setGreen(green / denominator) - # .setBlue(blue / denominator); - # int alpha = color.getAlpha(); - # if (alpha != 255) ` - # result.setAlpha( - # FloatValue - # .newBuilder() - # .setValue(((float) alpha) / denominator) - # .build()); - # ` - # return resultBuilder.build(); - # ` - # // ... - # Example (iOS / Obj-C): - # // ... - # static UIColor* fromProto(Color* protocolor) ` - # float red = [protocolor red]; - # float green = [protocolor green]; - # float blue = [protocolor blue]; - # FloatValue* alpha_wrapper = [protocolor alpha]; - # float alpha = 1.0; - # if (alpha_wrapper != nil) ` - # alpha = [alpha_wrapper value]; - # ` - # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; - # ` - # static Color* toProto(UIColor* color) ` - # CGFloat red, green, blue, alpha; - # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` - # return nil; - # ` - # Color* result = [Color alloc] init]; - # [result setRed:red]; - # [result setGreen:green]; - # [result setBlue:blue]; - # if (alpha <= 0.9999) ` - # [result setAlpha:floatWrapperWithValue(alpha)]; - # ` - # [result autorelease]; - # return result; - # ` - # // ... - # Example (JavaScript): - # // ... - # var protoToCssColor = function(rgb_color) ` - # var redFrac = rgb_color.red || 0.0; - # var greenFrac = rgb_color.green || 0.0; - # var blueFrac = rgb_color.blue || 0.0; - # var red = Math.floor(redFrac * 255); - # var green = Math.floor(greenFrac * 255); - # var blue = Math.floor(blueFrac * 255); - # if (!('alpha' in rgb_color)) ` - # return rgbToCssColor_(red, green, blue); - # ` - # var alphaFrac = rgb_color.alpha.value || 0.0; - # var rgbParams = [red, green, blue].join(','); - # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); - # `; - # var rgbToCssColor_ = function(red, green, blue) ` - # var rgbNumber = new Number((red << 16) | (green << 8) | blue); - # var hexString = rgbNumber.toString(16); - # var missingZeros = 6 - hexString.length; - # var resultBuilder = ['#']; - # for (var i = 0; i < missingZeros; i++) ` - # resultBuilder.push('0'); - # ` - # resultBuilder.push(hexString); - # return resultBuilder.join(''); - # `; - # // ... - # Corresponds to the JSON property `color` - # @return [Google::Apis::VisionV1::Color] - attr_accessor :color - - # Image-specific score for this color. Value in range [0, 1]. - # Corresponds to the JSON property `score` + # The longitude in degrees. It must be in the range [-180.0, +180.0]. + # Corresponds to the JSON property `longitude` # @return [Float] - attr_accessor :score + attr_accessor :longitude def initialize(**args) update!(**args) @@ -603,216 +329,8 @@ module Google # Update properties of this object def update!(**args) - @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction) - @color = args[:color] if args.key?(:color) - @score = args[:score] if args.key?(:score) - end - end - - # A bounding polygon for the detected image annotation. - class BoundingPoly - include Google::Apis::Core::Hashable - - # The bounding polygon vertices. - # Corresponds to the JSON property `vertices` - # @return [Array] - attr_accessor :vertices - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @vertices = args[:vertices] if args.key?(:vertices) - end - end - - # A face-specific landmark (for example, a face feature). - # Landmark positions may fall outside the bounds of the image - # when the face is near one or more edges of the image. - # Therefore it is NOT guaranteed that 0 <= x < width or 0 <= y < height. - class Landmark - include Google::Apis::Core::Hashable - - # A 3D position in the image, used primarily for Face detection landmarks. - # A valid Position must have both x and y coordinates. - # The position coordinates are in the same scale as the original image. - # Corresponds to the JSON property `position` - # @return [Google::Apis::VisionV1::Position] - attr_accessor :position - - # Face landmark type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @position = args[:position] if args.key?(:position) - @type = args[:type] if args.key?(:type) - end - end - - # Image context. - class ImageContext - include Google::Apis::Core::Hashable - - # Rectangle determined by min and max LatLng pairs. - # Corresponds to the JSON property `latLongRect` - # @return [Google::Apis::VisionV1::LatLongRect] - attr_accessor :lat_long_rect - - # List of languages to use for TEXT_DETECTION. In most cases, an empty value - # yields the best results since it enables automatic language detection. For - # languages based on the Latin alphabet, setting `language_hints` is not - # needed. In rare cases, when the language of the text in the image is known, - # setting a hint will help get better results (although it will be a - # significant hindrance if the hint is wrong). Text detection returns an - # error if one or more of the specified languages is not one of the - # [supported - # languages](/translate/v2/translate-reference#supported_languages). - # Corresponds to the JSON property `languageHints` - # @return [Array] - attr_accessor :language_hints - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @lat_long_rect = args[:lat_long_rect] if args.key?(:lat_long_rect) - @language_hints = args[:language_hints] if args.key?(:language_hints) - end - end - - # Multiple image annotation requests are batched into a single service call. - class BatchAnnotateImagesRequest - include Google::Apis::Core::Hashable - - # Individual image annotation requests for this batch. - # Corresponds to the JSON property `requests` - # @return [Array] - attr_accessor :requests - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @requests = args[:requests] if args.key?(:requests) - end - end - - # Set of detected entity features. - class EntityAnnotation - include Google::Apis::Core::Hashable - - # Opaque entity ID. Some IDs might be available in Knowledge Graph(KG). - # For more details on KG please see: - # https://developers.google.com/knowledge-graph/ - # Corresponds to the JSON property `mid` - # @return [String] - attr_accessor :mid - - # Entity textual description, expressed in its locale language. - # Corresponds to the JSON property `description` - # @return [String] - attr_accessor :description - - # The relevancy of the ICA (Image Content Annotation) label to the - # image. For example, the relevancy of 'tower' to an image containing - # 'Eiffel Tower' is likely higher than an image containing a distant towering - # building, though the confidence that there is a tower may be the same. - # Range [0, 1]. - # Corresponds to the JSON property `topicality` - # @return [Float] - attr_accessor :topicality - - # The language code for the locale in which the entity textual - # description (next field) is expressed. - # Corresponds to the JSON property `locale` - # @return [String] - attr_accessor :locale - - # Some entities can have additional optional Property fields. - # For example a different kind of score or string that qualifies the entity. - # Corresponds to the JSON property `properties` - # @return [Array] - attr_accessor :properties - - # Overall score of the result. Range [0, 1]. - # Corresponds to the JSON property `score` - # @return [Float] - attr_accessor :score - - # A bounding polygon for the detected image annotation. - # Corresponds to the JSON property `boundingPoly` - # @return [Google::Apis::VisionV1::BoundingPoly] - attr_accessor :bounding_poly - - # The location information for the detected entity. Multiple - # LocationInfo elements can be present since one location may - # indicate the location of the scene in the query image, and another the - # location of the place where the query image was taken. Location information - # is usually present for landmarks. - # Corresponds to the JSON property `locations` - # @return [Array] - attr_accessor :locations - - # The accuracy of the entity detection in an image. - # For example, for an image containing 'Eiffel Tower,' this field represents - # the confidence that there is a tower in the query image. Range [0, 1]. - # Corresponds to the JSON property `confidence` - # @return [Float] - attr_accessor :confidence - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @mid = args[:mid] if args.key?(:mid) - @description = args[:description] if args.key?(:description) - @topicality = args[:topicality] if args.key?(:topicality) - @locale = args[:locale] if args.key?(:locale) - @properties = args[:properties] if args.key?(:properties) - @score = args[:score] if args.key?(:score) - @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) - @locations = args[:locations] if args.key?(:locations) - @confidence = args[:confidence] if args.key?(:confidence) - end - end - - # Arbitrary name/value pair. - class Property - include Google::Apis::Core::Hashable - - # Value of the property. - # Corresponds to the JSON property `value` - # @return [String] - attr_accessor :value - - # Name of the property. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @value = args[:value] if args.key?(:value) - @name = args[:name] if args.key?(:name) + @latitude = args[:latitude] if args.key?(:latitude) + @longitude = args[:longitude] if args.key?(:longitude) end end @@ -928,11 +446,6 @@ module Google # @return [Float] attr_accessor :blue - # The amount of red in the color as a value in the interval [0, 1]. - # Corresponds to the JSON property `red` - # @return [Float] - attr_accessor :red - # The fraction of this color that should be applied to the pixel. That is, # the final pixel color is defined by the equation: # pixel color = alpha * (this color) + (1.0 - alpha) * (background color) @@ -946,6 +459,11 @@ module Google # @return [Float] attr_accessor :alpha + # The amount of red in the color as a value in the interval [0, 1]. + # Corresponds to the JSON property `red` + # @return [Float] + attr_accessor :red + def initialize(**args) update!(**args) end @@ -954,8 +472,566 @@ module Google def update!(**args) @green = args[:green] if args.key?(:green) @blue = args[:blue] if args.key?(:blue) - @red = args[:red] if args.key?(:red) @alpha = args[:alpha] if args.key?(:alpha) + @red = args[:red] if args.key?(:red) + end + end + + # Stores image properties, such as dominant colors. + class ImageProperties + include Google::Apis::Core::Hashable + + # Set of dominant colors and their corresponding scores. + # Corresponds to the JSON property `dominantColors` + # @return [Google::Apis::VisionV1::DominantColorsAnnotation] + attr_accessor :dominant_colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors) + end + end + + # Users describe the type of Google Cloud Vision API tasks to perform over + # images by using *Feature*s. Each Feature indicates a type of image + # detection task to perform. Features encode the Cloud Vision API + # vertical to operate on and the number of top-scoring results to return. + class Feature + include Google::Apis::Core::Hashable + + # The feature type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # Maximum number of results of this type. + # Corresponds to the JSON property `maxResults` + # @return [Fixnum] + attr_accessor :max_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @max_results = args[:max_results] if args.key?(:max_results) + end + end + + # Set of features pertaining to the image, computed by computer vision + # methods over safe-search verticals (for example, adult, spoof, medical, + # violence). + class SafeSearchAnnotation + include Google::Apis::Core::Hashable + + # Represents the adult content likelihood for the image. + # Corresponds to the JSON property `adult` + # @return [String] + attr_accessor :adult + + # Spoof likelihood. The likelihood that an modification + # was made to the image's canonical version to make it appear + # funny or offensive. + # Corresponds to the JSON property `spoof` + # @return [String] + attr_accessor :spoof + + # Likelihood that this is a medical image. + # Corresponds to the JSON property `medical` + # @return [String] + attr_accessor :medical + + # Violence likelihood. + # Corresponds to the JSON property `violence` + # @return [String] + attr_accessor :violence + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adult = args[:adult] if args.key?(:adult) + @spoof = args[:spoof] if args.key?(:spoof) + @medical = args[:medical] if args.key?(:medical) + @violence = args[:violence] if args.key?(:violence) + end + end + + # Set of dominant colors and their corresponding scores. + class DominantColorsAnnotation + include Google::Apis::Core::Hashable + + # RGB color values with their score and pixel fraction. + # Corresponds to the JSON property `colors` + # @return [Array] + attr_accessor :colors + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @colors = args[:colors] if args.key?(:colors) + end + end + + # TextAnnotation contains a structured representation of OCR extracted text. + # The hierarchy of an OCR extracted text structure is like this: + # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol + # Each structural component, starting from Page, may further have their own + # properties. Properties describe detected languages, breaks etc.. Please + # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message + # definition below for more detail. + class TextAnnotation + include Google::Apis::Core::Hashable + + # List of pages detected by OCR. + # Corresponds to the JSON property `pages` + # @return [Array] + attr_accessor :pages + + # UTF-8 text detected on the pages. + # Corresponds to the JSON property `text` + # @return [String] + attr_accessor :text + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @pages = args[:pages] if args.key?(:pages) + @text = args[:text] if args.key?(:text) + end + end + + # A vertex represents a 2D point in the image. + # NOTE: the vertex coordinates are in the same scale as the original image. + class Vertex + include Google::Apis::Core::Hashable + + # X coordinate. + # Corresponds to the JSON property `x` + # @return [Fixnum] + attr_accessor :x + + # Y coordinate. + # Corresponds to the JSON property `y` + # @return [Fixnum] + attr_accessor :y + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @x = args[:x] if args.key?(:x) + @y = args[:y] if args.key?(:y) + end + end + + # Detected language for a structural component. + class DetectedLanguage + include Google::Apis::Core::Hashable + + # Confidence of detected language. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # The BCP-47 language code, such as "en-US" or "sr-Latn". For more + # information, see + # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. + # Corresponds to the JSON property `languageCode` + # @return [String] + attr_accessor :language_code + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @language_code = args[:language_code] if args.key?(:language_code) + end + end + + # Entity deduced from similar images on the Internet. + class WebEntity + include Google::Apis::Core::Hashable + + # Opaque entity ID. + # Corresponds to the JSON property `entityId` + # @return [String] + attr_accessor :entity_id + + # Canonical description of the entity, in English. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # Overall relevancy score for the entity. + # Not normalized and not comparable across different image queries. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @entity_id = args[:entity_id] if args.key?(:entity_id) + @description = args[:description] if args.key?(:description) + @score = args[:score] if args.key?(:score) + end + end + + # Additional information detected on the structural component. + class TextProperty + include Google::Apis::Core::Hashable + + # Detected start or end of a structural component. + # Corresponds to the JSON property `detectedBreak` + # @return [Google::Apis::VisionV1::DetectedBreak] + attr_accessor :detected_break + + # A list of detected languages together with confidence. + # Corresponds to the JSON property `detectedLanguages` + # @return [Array] + attr_accessor :detected_languages + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @detected_break = args[:detected_break] if args.key?(:detected_break) + @detected_languages = args[:detected_languages] if args.key?(:detected_languages) + end + end + + # A bounding polygon for the detected image annotation. + class BoundingPoly + include Google::Apis::Core::Hashable + + # The bounding polygon vertices. + # Corresponds to the JSON property `vertices` + # @return [Array] + attr_accessor :vertices + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @vertices = args[:vertices] if args.key?(:vertices) + end + end + + # Response to an image annotation request. + class AnnotateImageResponse + include Google::Apis::Core::Hashable + + # 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. + # Corresponds to the JSON property `error` + # @return [Google::Apis::VisionV1::Status] + attr_accessor :error + + # TextAnnotation contains a structured representation of OCR extracted text. + # The hierarchy of an OCR extracted text structure is like this: + # TextAnnotation -> Page -> Block -> Paragraph -> Word -> Symbol + # Each structural component, starting from Page, may further have their own + # properties. Properties describe detected languages, breaks etc.. Please + # refer to the google.cloud.vision.v1.TextAnnotation.TextProperty message + # definition below for more detail. + # Corresponds to the JSON property `fullTextAnnotation` + # @return [Google::Apis::VisionV1::TextAnnotation] + attr_accessor :full_text_annotation + + # If present, landmark detection has completed successfully. + # Corresponds to the JSON property `landmarkAnnotations` + # @return [Array] + attr_accessor :landmark_annotations + + # If present, text (OCR) detection has completed successfully. + # Corresponds to the JSON property `textAnnotations` + # @return [Array] + attr_accessor :text_annotations + + # If present, face detection has completed successfully. + # Corresponds to the JSON property `faceAnnotations` + # @return [Array] + attr_accessor :face_annotations + + # Stores image properties, such as dominant colors. + # Corresponds to the JSON property `imagePropertiesAnnotation` + # @return [Google::Apis::VisionV1::ImageProperties] + attr_accessor :image_properties_annotation + + # If present, logo detection has completed successfully. + # Corresponds to the JSON property `logoAnnotations` + # @return [Array] + attr_accessor :logo_annotations + + # Relevant information for the image from the Internet. + # Corresponds to the JSON property `webDetection` + # @return [Google::Apis::VisionV1::WebDetection] + attr_accessor :web_detection + + # Set of crop hints that are used to generate new crops when serving images. + # Corresponds to the JSON property `cropHintsAnnotation` + # @return [Google::Apis::VisionV1::CropHintsAnnotation] + attr_accessor :crop_hints_annotation + + # Set of features pertaining to the image, computed by computer vision + # methods over safe-search verticals (for example, adult, spoof, medical, + # violence). + # Corresponds to the JSON property `safeSearchAnnotation` + # @return [Google::Apis::VisionV1::SafeSearchAnnotation] + attr_accessor :safe_search_annotation + + # If present, label detection has completed successfully. + # Corresponds to the JSON property `labelAnnotations` + # @return [Array] + attr_accessor :label_annotations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @error = args[:error] if args.key?(:error) + @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation) + @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations) + @text_annotations = args[:text_annotations] if args.key?(:text_annotations) + @face_annotations = args[:face_annotations] if args.key?(:face_annotations) + @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation) + @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations) + @web_detection = args[:web_detection] if args.key?(:web_detection) + @crop_hints_annotation = args[:crop_hints_annotation] if args.key?(:crop_hints_annotation) + @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation) + @label_annotations = args[:label_annotations] if args.key?(:label_annotations) + end + end + + # Parameters for crop hints annotation request. + class CropHintsParams + include Google::Apis::Core::Hashable + + # Aspect ratios in floats, representing the ratio of the width to the height + # of the image. For example, if the desired aspect ratio is 4/3, the + # corresponding float value should be 1.33333. If not specified, the + # best possible crop is returned. The number of provided aspect ratios is + # limited to a maximum of 16; any aspect ratios provided after the 16th are + # ignored. + # Corresponds to the JSON property `aspectRatios` + # @return [Array] + attr_accessor :aspect_ratios + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @aspect_ratios = args[:aspect_ratios] if args.key?(:aspect_ratios) + end + end + + # Logical element on the page. + class Block + include Google::Apis::Core::Hashable + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # Detected block type (text, image etc) for this block. + # Corresponds to the JSON property `blockType` + # @return [String] + attr_accessor :block_type + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # List of paragraphs in this block (if this blocks is of type text). + # Corresponds to the JSON property `paragraphs` + # @return [Array] + attr_accessor :paragraphs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + @block_type = args[:block_type] if args.key?(:block_type) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @paragraphs = args[:paragraphs] if args.key?(:paragraphs) + end + end + + # Relevant information for the image from the Internet. + class WebDetection + include Google::Apis::Core::Hashable + + # Fully matching images from the Internet. + # They're definite neardups and most often a copy of the query image with + # merely a size change. + # Corresponds to the JSON property `fullMatchingImages` + # @return [Array] + attr_accessor :full_matching_images + + # Deduced entities from similar images on the Internet. + # Corresponds to the JSON property `webEntities` + # @return [Array] + attr_accessor :web_entities + + # Web pages containing the matching images from the Internet. + # Corresponds to the JSON property `pagesWithMatchingImages` + # @return [Array] + attr_accessor :pages_with_matching_images + + # Partial matching images from the Internet. + # Those images are similar enough to share some key-point features. For + # example an original image will likely have partial matching for its crops. + # Corresponds to the JSON property `partialMatchingImages` + # @return [Array] + attr_accessor :partial_matching_images + + # The visually similar image results. + # Corresponds to the JSON property `visuallySimilarImages` + # @return [Array] + attr_accessor :visually_similar_images + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @full_matching_images = args[:full_matching_images] if args.key?(:full_matching_images) + @web_entities = args[:web_entities] if args.key?(:web_entities) + @pages_with_matching_images = args[:pages_with_matching_images] if args.key?(:pages_with_matching_images) + @partial_matching_images = args[:partial_matching_images] if args.key?(:partial_matching_images) + @visually_similar_images = args[:visually_similar_images] if args.key?(:visually_similar_images) + end + end + + # Response to a batch image annotation request. + class BatchAnnotateImagesResponse + include Google::Apis::Core::Hashable + + # Individual responses to image annotation requests within the batch. + # Corresponds to the JSON property `responses` + # @return [Array] + attr_accessor :responses + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @responses = args[:responses] if args.key?(:responses) + end + end + + # External image source (Google Cloud Storage image location). + class ImageSource + include Google::Apis::Core::Hashable + + # Image URI which supports: + # 1) Google Cloud Storage image URI, which must be in the following form: + # `gs://bucket_name/object_name` (for details, see + # [Google Cloud Storage Request + # URIs](https://cloud.google.com/storage/docs/reference-uris)). + # NOTE: Cloud Storage object versioning is not supported. + # 2) Publicly accessible image HTTP/HTTPS URL. + # This is preferred over the legacy `gcs_image_uri` above. When both + # `gcs_image_uri` and `image_uri` are specified, `image_uri` takes + # precedence. + # Corresponds to the JSON property `imageUri` + # @return [String] + attr_accessor :image_uri + + # NOTE: For new code `image_uri` below is preferred. + # Google Cloud Storage image URI, which must be in the following form: + # `gs://bucket_name/object_name` (for details, see + # [Google Cloud Storage Request + # URIs](https://cloud.google.com/storage/docs/reference-uris)). + # NOTE: Cloud Storage object versioning is not supported. + # Corresponds to the JSON property `gcsImageUri` + # @return [String] + attr_accessor :gcs_image_uri + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @image_uri = args[:image_uri] if args.key?(:image_uri) + @gcs_image_uri = args[:gcs_image_uri] if args.key?(:gcs_image_uri) end end @@ -998,6 +1074,8 @@ module Google # 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. # Corresponds to the JSON property `latLng` # @return [Google::Apis::VisionV1::LatLng] attr_accessor :lat_lng @@ -1012,33 +1090,24 @@ module Google end end - # Set of features pertaining to the image, computed by various computer vision - # methods over safe-search verticals (for example, adult, spoof, medical, - # violence). - class SafeSearchAnnotation + # A `Property` consists of a user-supplied name/value pair. + class Property include Google::Apis::Core::Hashable - # Likelihood this is a medical image. - # Corresponds to the JSON property `medical` + # Value of the property. + # Corresponds to the JSON property `value` # @return [String] - attr_accessor :medical + attr_accessor :value - # Spoof likelihood. The likelihood that an obvious modification - # was made to the image's canonical version to make it appear - # funny or offensive. - # Corresponds to the JSON property `spoof` + # Value of numeric properties. + # Corresponds to the JSON property `uint64Value` # @return [String] - attr_accessor :spoof + attr_accessor :uint64_value - # Violence likelihood. - # Corresponds to the JSON property `violence` + # Name of the property. + # Corresponds to the JSON property `name` # @return [String] - attr_accessor :violence - - # Represents the adult contents likelihood for the image. - # Corresponds to the JSON property `adult` - # @return [String] - attr_accessor :adult + attr_accessor :name def initialize(**args) update!(**args) @@ -1046,181 +1115,9 @@ module Google # Update properties of this object def update!(**args) - @medical = args[:medical] if args.key?(:medical) - @spoof = args[:spoof] if args.key?(:spoof) - @violence = args[:violence] if args.key?(:violence) - @adult = args[:adult] if args.key?(:adult) - end - end - - # Client image to perform Google Cloud Vision API tasks over. - class Image - include Google::Apis::Core::Hashable - - # External image source (Google Cloud Storage image location). - # Corresponds to the JSON property `source` - # @return [Google::Apis::VisionV1::ImageSource] - attr_accessor :source - - # Image content, represented as a stream of bytes. - # Note: as with all `bytes` fields, protobuffers use a pure binary - # representation, whereas JSON representations use base64. - # Corresponds to the JSON property `content` - # @return [String] - attr_accessor :content - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @source = args[:source] if args.key?(:source) - @content = args[:content] if args.key?(:content) - end - end - - # Set of dominant colors and their corresponding scores. - class DominantColorsAnnotation - include Google::Apis::Core::Hashable - - # RGB color values, with their score and pixel fraction. - # Corresponds to the JSON property `colors` - # @return [Array] - attr_accessor :colors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @colors = args[:colors] if args.key?(:colors) - end - end - - # The Feature indicates what type of image detection task to perform. - # Users describe the type of Google Cloud Vision API tasks to perform over - # images by using Features. Features encode the Cloud Vision API - # vertical to operate on and the number of top-scoring results to return. - class Feature - include Google::Apis::Core::Hashable - - # The feature type. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - # Maximum number of results of this type. - # Corresponds to the JSON property `maxResults` - # @return [Fixnum] - attr_accessor :max_results - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @type = args[:type] if args.key?(:type) - @max_results = args[:max_results] if args.key?(:max_results) - end - end - - # Response to a batch image annotation request. - class BatchAnnotateImagesResponse - include Google::Apis::Core::Hashable - - # Individual responses to image annotation requests within the batch. - # Corresponds to the JSON property `responses` - # @return [Array] - attr_accessor :responses - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @responses = args[:responses] if args.key?(:responses) - end - end - - # Stores image properties (e.g. dominant colors). - class ImageProperties - include Google::Apis::Core::Hashable - - # Set of dominant colors and their corresponding scores. - # Corresponds to the JSON property `dominantColors` - # @return [Google::Apis::VisionV1::DominantColorsAnnotation] - attr_accessor :dominant_colors - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @dominant_colors = args[:dominant_colors] if args.key?(:dominant_colors) - end - end - - # 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 <= 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) - class LatLng - include Google::Apis::Core::Hashable - - # The latitude in degrees. It must be in the range [-90.0, +90.0]. - # Corresponds to the JSON property `latitude` - # @return [Float] - attr_accessor :latitude - - # The longitude in degrees. It must be in the range [-180.0, +180.0]. - # Corresponds to the JSON property `longitude` - # @return [Float] - attr_accessor :longitude - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @latitude = args[:latitude] if args.key?(:latitude) - @longitude = args[:longitude] if args.key?(:longitude) + @value = args[:value] if args.key?(:value) + @uint64_value = args[:uint64_value] if args.key?(:uint64_value) + @name = args[:name] if args.key?(:name) end end @@ -1256,6 +1153,652 @@ module Google @z = args[:z] if args.key?(:z) end end + + # Metadata for web pages. + class WebPage + include Google::Apis::Core::Hashable + + # Overall relevancy score for the web page. + # Not normalized and not comparable across different image queries. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The result web page URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @score = args[:score] if args.key?(:score) + @url = args[:url] if args.key?(:url) + end + end + + # Color information consists of RGB channels, score, and the fraction of + # the image that the color occupies in the image. + class ColorInfo + include Google::Apis::Core::Hashable + + # Image-specific score for this color. Value in range [0, 1]. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The fraction of pixels the color occupies in the image. + # Value in range [0, 1]. + # Corresponds to the JSON property `pixelFraction` + # @return [Float] + attr_accessor :pixel_fraction + + # Represents a color in the RGBA color space. This representation is designed + # for simplicity of conversion to/from color representations in various + # languages over compactness; for example, the fields of this representation + # can be trivially provided to the constructor of "java.awt.Color" in Java; it + # can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha" + # method in iOS; and, with just a little work, it can be easily formatted into + # a CSS "rgba()" string in JavaScript, as well. Here are some examples: + # Example (Java): + # import com.google.type.Color; + # // ... + # public static java.awt.Color fromProto(Color protocolor) ` + # float alpha = protocolor.hasAlpha() + # ? protocolor.getAlpha().getValue() + # : 1.0; + # return new java.awt.Color( + # protocolor.getRed(), + # protocolor.getGreen(), + # protocolor.getBlue(), + # alpha); + # ` + # public static Color toProto(java.awt.Color color) ` + # float red = (float) color.getRed(); + # float green = (float) color.getGreen(); + # float blue = (float) color.getBlue(); + # float denominator = 255.0; + # Color.Builder resultBuilder = + # Color + # .newBuilder() + # .setRed(red / denominator) + # .setGreen(green / denominator) + # .setBlue(blue / denominator); + # int alpha = color.getAlpha(); + # if (alpha != 255) ` + # result.setAlpha( + # FloatValue + # .newBuilder() + # .setValue(((float) alpha) / denominator) + # .build()); + # ` + # return resultBuilder.build(); + # ` + # // ... + # Example (iOS / Obj-C): + # // ... + # static UIColor* fromProto(Color* protocolor) ` + # float red = [protocolor red]; + # float green = [protocolor green]; + # float blue = [protocolor blue]; + # FloatValue* alpha_wrapper = [protocolor alpha]; + # float alpha = 1.0; + # if (alpha_wrapper != nil) ` + # alpha = [alpha_wrapper value]; + # ` + # return [UIColor colorWithRed:red green:green blue:blue alpha:alpha]; + # ` + # static Color* toProto(UIColor* color) ` + # CGFloat red, green, blue, alpha; + # if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) ` + # return nil; + # ` + # Color* result = [Color alloc] init]; + # [result setRed:red]; + # [result setGreen:green]; + # [result setBlue:blue]; + # if (alpha <= 0.9999) ` + # [result setAlpha:floatWrapperWithValue(alpha)]; + # ` + # [result autorelease]; + # return result; + # ` + # // ... + # Example (JavaScript): + # // ... + # var protoToCssColor = function(rgb_color) ` + # var redFrac = rgb_color.red || 0.0; + # var greenFrac = rgb_color.green || 0.0; + # var blueFrac = rgb_color.blue || 0.0; + # var red = Math.floor(redFrac * 255); + # var green = Math.floor(greenFrac * 255); + # var blue = Math.floor(blueFrac * 255); + # if (!('alpha' in rgb_color)) ` + # return rgbToCssColor_(red, green, blue); + # ` + # var alphaFrac = rgb_color.alpha.value || 0.0; + # var rgbParams = [red, green, blue].join(','); + # return ['rgba(', rgbParams, ',', alphaFrac, ')'].join(''); + # `; + # var rgbToCssColor_ = function(red, green, blue) ` + # var rgbNumber = new Number((red << 16) | (green << 8) | blue); + # var hexString = rgbNumber.toString(16); + # var missingZeros = 6 - hexString.length; + # var resultBuilder = ['#']; + # for (var i = 0; i < missingZeros; i++) ` + # resultBuilder.push('0'); + # ` + # resultBuilder.push(hexString); + # return resultBuilder.join(''); + # `; + # // ... + # Corresponds to the JSON property `color` + # @return [Google::Apis::VisionV1::Color] + attr_accessor :color + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @score = args[:score] if args.key?(:score) + @pixel_fraction = args[:pixel_fraction] if args.key?(:pixel_fraction) + @color = args[:color] if args.key?(:color) + end + end + + # Set of detected entity features. + class EntityAnnotation + include Google::Apis::Core::Hashable + + # Opaque entity ID. Some IDs may be available in + # [Google Knowledge Graph Search API](https://developers.google.com/knowledge- + # graph/). + # Corresponds to the JSON property `mid` + # @return [String] + attr_accessor :mid + + # The accuracy of the entity detection in an image. + # For example, for an image in which the "Eiffel Tower" entity is detected, + # this field represents the confidence that there is a tower in the query + # image. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # The language code for the locale in which the entity textual + # `description` is expressed. + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # Entity textual description, expressed in its `locale` language. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + + # The relevancy of the ICA (Image Content Annotation) label to the + # image. For example, the relevancy of "tower" is likely higher to an image + # containing the detected "Eiffel Tower" than to an image containing a + # detected distant towering building, even though the confidence that + # there is a tower in each image may be the same. Range [0, 1]. + # Corresponds to the JSON property `topicality` + # @return [Float] + attr_accessor :topicality + + # Some entities may have optional user-supplied `Property` (name/value) + # fields, such a score or string that qualifies the entity. + # Corresponds to the JSON property `properties` + # @return [Array] + attr_accessor :properties + + # Overall score of the result. Range [0, 1]. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The location information for the detected entity. Multiple + # `LocationInfo` elements can be present because one location may + # indicate the location of the scene in the image, and another location + # may indicate the location of the place where the image was taken. + # Location information is usually present for landmarks. + # Corresponds to the JSON property `locations` + # @return [Array] + attr_accessor :locations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @mid = args[:mid] if args.key?(:mid) + @confidence = args[:confidence] if args.key?(:confidence) + @locale = args[:locale] if args.key?(:locale) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @description = args[:description] if args.key?(:description) + @topicality = args[:topicality] if args.key?(:topicality) + @properties = args[:properties] if args.key?(:properties) + @score = args[:score] if args.key?(:score) + @locations = args[:locations] if args.key?(:locations) + end + end + + # Single crop hint that is used to generate a new crop when serving an image. + class CropHint + include Google::Apis::Core::Hashable + + # Confidence of this being a salient region. Range [0, 1]. + # Corresponds to the JSON property `confidence` + # @return [Float] + attr_accessor :confidence + + # Fraction of importance of this salient region with respect to the original + # image. + # Corresponds to the JSON property `importanceFraction` + # @return [Float] + attr_accessor :importance_fraction + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @confidence = args[:confidence] if args.key?(:confidence) + @importance_fraction = args[:importance_fraction] if args.key?(:importance_fraction) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + end + end + + # A face-specific landmark (for example, a face feature). + # Landmark positions may fall outside the bounds of the image + # if the face is near one or more edges of the image. + # Therefore it is NOT guaranteed that `0 <= x < width` or + # `0 <= y < height`. + class Landmark + include Google::Apis::Core::Hashable + + # A 3D position in the image, used primarily for Face detection landmarks. + # A valid Position must have both x and y coordinates. + # The position coordinates are in the same scale as the original image. + # Corresponds to the JSON property `position` + # @return [Google::Apis::VisionV1::Position] + attr_accessor :position + + # Face landmark type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @position = args[:position] if args.key?(:position) + @type = args[:type] if args.key?(:type) + end + end + + # Metadata for online images. + class WebImage + include Google::Apis::Core::Hashable + + # Overall relevancy score for the image. + # Not normalized and not comparable across different image queries. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # The result image URL. + # Corresponds to the JSON property `url` + # @return [String] + attr_accessor :url + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @score = args[:score] if args.key?(:score) + @url = args[:url] if args.key?(:url) + end + end + + # A word representation. + class Word + include Google::Apis::Core::Hashable + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # List of symbols in the word. + # The order of the symbols follows the natural reading order. + # Corresponds to the JSON property `symbols` + # @return [Array] + attr_accessor :symbols + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @symbols = args[:symbols] if args.key?(:symbols) + @property = args[:property] if args.key?(:property) + end + end + + # Structural unit of text representing a number of words in certain order. + class Paragraph + include Google::Apis::Core::Hashable + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingBox` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_box + + # List of words in this paragraph. + # Corresponds to the JSON property `words` + # @return [Array] + attr_accessor :words + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @property = args[:property] if args.key?(:property) + @bounding_box = args[:bounding_box] if args.key?(:bounding_box) + @words = args[:words] if args.key?(:words) + end + end + + # Client image to perform Google Cloud Vision API tasks over. + class Image + include Google::Apis::Core::Hashable + + # Image content, represented as a stream of bytes. + # Note: as with all `bytes` fields, protobuffers use a pure binary + # representation, whereas JSON representations use base64. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # External image source (Google Cloud Storage image location). + # Corresponds to the JSON property `source` + # @return [Google::Apis::VisionV1::ImageSource] + attr_accessor :source + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @source = args[:source] if args.key?(:source) + end + end + + # A face annotation object contains the results of face detection. + class FaceAnnotation + include Google::Apis::Core::Hashable + + # Pitch angle, which indicates the upwards/downwards angle that the face is + # pointing relative to the image's horizontal plane. Range [-180,180]. + # Corresponds to the JSON property `tiltAngle` + # @return [Float] + attr_accessor :tilt_angle + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `fdBoundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :fd_bounding_poly + + # Anger likelihood. + # Corresponds to the JSON property `angerLikelihood` + # @return [String] + attr_accessor :anger_likelihood + + # Detected face landmarks. + # Corresponds to the JSON property `landmarks` + # @return [Array] + attr_accessor :landmarks + + # Surprise likelihood. + # Corresponds to the JSON property `surpriseLikelihood` + # @return [String] + attr_accessor :surprise_likelihood + + # Face landmarking confidence. Range [0, 1]. + # Corresponds to the JSON property `landmarkingConfidence` + # @return [Float] + attr_accessor :landmarking_confidence + + # Joy likelihood. + # Corresponds to the JSON property `joyLikelihood` + # @return [String] + attr_accessor :joy_likelihood + + # Detection confidence. Range [0, 1]. + # Corresponds to the JSON property `detectionConfidence` + # @return [Float] + attr_accessor :detection_confidence + + # Yaw angle, which indicates the leftward/rightward angle that the face is + # pointing relative to the vertical plane perpendicular to the image. Range + # [-180,180]. + # Corresponds to the JSON property `panAngle` + # @return [Float] + attr_accessor :pan_angle + + # Under-exposed likelihood. + # Corresponds to the JSON property `underExposedLikelihood` + # @return [String] + attr_accessor :under_exposed_likelihood + + # Blurred likelihood. + # Corresponds to the JSON property `blurredLikelihood` + # @return [String] + attr_accessor :blurred_likelihood + + # Headwear likelihood. + # Corresponds to the JSON property `headwearLikelihood` + # @return [String] + attr_accessor :headwear_likelihood + + # A bounding polygon for the detected image annotation. + # Corresponds to the JSON property `boundingPoly` + # @return [Google::Apis::VisionV1::BoundingPoly] + attr_accessor :bounding_poly + + # Roll angle, which indicates the amount of clockwise/anti-clockwise rotation + # of the face relative to the image vertical about the axis perpendicular to + # the face. Range [-180,180]. + # Corresponds to the JSON property `rollAngle` + # @return [Float] + attr_accessor :roll_angle + + # Sorrow likelihood. + # Corresponds to the JSON property `sorrowLikelihood` + # @return [String] + attr_accessor :sorrow_likelihood + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @tilt_angle = args[:tilt_angle] if args.key?(:tilt_angle) + @fd_bounding_poly = args[:fd_bounding_poly] if args.key?(:fd_bounding_poly) + @anger_likelihood = args[:anger_likelihood] if args.key?(:anger_likelihood) + @landmarks = args[:landmarks] if args.key?(:landmarks) + @surprise_likelihood = args[:surprise_likelihood] if args.key?(:surprise_likelihood) + @landmarking_confidence = args[:landmarking_confidence] if args.key?(:landmarking_confidence) + @joy_likelihood = args[:joy_likelihood] if args.key?(:joy_likelihood) + @detection_confidence = args[:detection_confidence] if args.key?(:detection_confidence) + @pan_angle = args[:pan_angle] if args.key?(:pan_angle) + @under_exposed_likelihood = args[:under_exposed_likelihood] if args.key?(:under_exposed_likelihood) + @blurred_likelihood = args[:blurred_likelihood] if args.key?(:blurred_likelihood) + @headwear_likelihood = args[:headwear_likelihood] if args.key?(:headwear_likelihood) + @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly) + @roll_angle = args[:roll_angle] if args.key?(:roll_angle) + @sorrow_likelihood = args[:sorrow_likelihood] if args.key?(:sorrow_likelihood) + end + end + + # Multiple image annotation requests are batched into a single service call. + class BatchAnnotateImagesRequest + include Google::Apis::Core::Hashable + + # Individual image annotation requests for this batch. + # Corresponds to the JSON property `requests` + # @return [Array] + attr_accessor :requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @requests = args[:requests] if args.key?(:requests) + end + end + + # Detected start or end of a structural component. + class DetectedBreak + include Google::Apis::Core::Hashable + + # Detected break type. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + # True if break prepends the element. + # Corresponds to the JSON property `isPrefix` + # @return [Boolean] + attr_accessor :is_prefix + alias_method :is_prefix?, :is_prefix + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @type = args[:type] if args.key?(:type) + @is_prefix = args[:is_prefix] if args.key?(:is_prefix) + end + end + + # Image context and/or feature-specific parameters. + class ImageContext + include Google::Apis::Core::Hashable + + # List of languages to use for TEXT_DETECTION. In most cases, an empty value + # yields the best results since it enables automatic language detection. For + # languages based on the Latin alphabet, setting `language_hints` is not + # needed. In rare cases, when the language of the text in the image is known, + # setting a hint will help get better results (although it will be a + # significant hindrance if the hint is wrong). Text detection returns an + # error if one or more of the specified languages is not one of the + # [supported languages](/vision/docs/languages). + # Corresponds to the JSON property `languageHints` + # @return [Array] + attr_accessor :language_hints + + # Rectangle determined by min and max `LatLng` pairs. + # Corresponds to the JSON property `latLongRect` + # @return [Google::Apis::VisionV1::LatLongRect] + attr_accessor :lat_long_rect + + # Parameters for crop hints annotation request. + # Corresponds to the JSON property `cropHintsParams` + # @return [Google::Apis::VisionV1::CropHintsParams] + attr_accessor :crop_hints_params + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @language_hints = args[:language_hints] if args.key?(:language_hints) + @lat_long_rect = args[:lat_long_rect] if args.key?(:lat_long_rect) + @crop_hints_params = args[:crop_hints_params] if args.key?(:crop_hints_params) + end + end + + # Detected page from OCR. + class Page + include Google::Apis::Core::Hashable + + # Page width in pixels. + # Corresponds to the JSON property `width` + # @return [Fixnum] + attr_accessor :width + + # List of blocks of text, images etc on this page. + # Corresponds to the JSON property `blocks` + # @return [Array] + attr_accessor :blocks + + # Additional information detected on the structural component. + # Corresponds to the JSON property `property` + # @return [Google::Apis::VisionV1::TextProperty] + attr_accessor :property + + # Page height in pixels. + # Corresponds to the JSON property `height` + # @return [Fixnum] + attr_accessor :height + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @width = args[:width] if args.key?(:width) + @blocks = args[:blocks] if args.key?(:blocks) + @property = args[:property] if args.key?(:property) + @height = args[:height] if args.key?(:height) + end + end end end end diff --git a/generated/google/apis/vision_v1/representations.rb b/generated/google/apis/vision_v1/representations.rb index eb10df3d0..2763b7dff 100644 --- a/generated/google/apis/vision_v1/representations.rb +++ b/generated/google/apis/vision_v1/representations.rb @@ -22,133 +22,31 @@ module Google module Apis module VisionV1 - class ImageSource - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class AnnotateImageRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class AnnotateImageResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LatLongRect - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class FaceAnnotation + class LatLongRect class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class Vertex + class Symbol class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ColorInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BoundingPoly - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Landmark - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImageContext - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchAnnotateImagesRequest - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class EntityAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Property - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Color - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class LocationInfo - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class SafeSearchAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Image - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class DominantColorsAnnotation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class Feature - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchAnnotateImagesResponse - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class ImageProperties + class CropHintsAnnotation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -160,17 +58,208 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class Position + class Color + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Feature + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class SafeSearchAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DominantColorsAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Vertex + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DetectedLanguage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebEntity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TextProperty + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BoundingPoly + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AnnotateImageResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropHintsParams + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Block + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebDetection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchAnnotateImagesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end class ImageSource - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :gcs_image_uri, as: 'gcsImageUri' - end + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LocationInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Property + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Position + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebPage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ColorInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class EntityAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CropHint + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Landmark + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class WebImage + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Word + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Paragraph + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Image + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class FaceAnnotation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BatchAnnotateImagesRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class DetectedBreak + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ImageContext + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Page + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport end class AnnotateImageRequest @@ -178,41 +267,9 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation - property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation - collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation - end - end - - class AnnotateImageResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation - - property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation - - collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation - - collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation - - property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation - - end - end - - class LatLongRect - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation - - property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation end end @@ -221,53 +278,136 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :code, as: 'code' - collection :details, as: 'details' property :message, as: 'message' + collection :details, as: 'details' end end - class FaceAnnotation + class LatLongRect # @private class Representation < Google::Apis::Core::JsonRepresentation - property :tilt_angle, as: 'tiltAngle' - property :under_exposed_likelihood, as: 'underExposedLikelihood' - property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation - property :landmarking_confidence, as: 'landmarkingConfidence' - property :joy_likelihood, as: 'joyLikelihood' - property :detection_confidence, as: 'detectionConfidence' - property :surprise_likelihood, as: 'surpriseLikelihood' - property :anger_likelihood, as: 'angerLikelihood' - property :headwear_likelihood, as: 'headwearLikelihood' - property :pan_angle, as: 'panAngle' - property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation - collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation + end + end - property :blurred_likelihood, as: 'blurredLikelihood' - property :roll_angle, as: 'rollAngle' - property :sorrow_likelihood, as: 'sorrowLikelihood' + class Symbol + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :text, as: 'text' + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + end + end + + class CropHintsAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation + + end + end + + class LatLng + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :latitude, as: 'latitude' + property :longitude, as: 'longitude' + end + end + + class Color + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :green, as: 'green' + property :blue, as: 'blue' + property :alpha, as: 'alpha' + property :red, as: 'red' + end + end + + class ImageProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation + + end + end + + class Feature + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :type, as: 'type' + property :max_results, as: 'maxResults' + end + end + + class SafeSearchAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adult, as: 'adult' + property :spoof, as: 'spoof' + property :medical, as: 'medical' + property :violence, as: 'violence' + end + end + + class DominantColorsAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation + + end + end + + class TextAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation + + property :text, as: 'text' end end class Vertex # @private class Representation < Google::Apis::Core::JsonRepresentation - property :y, as: 'y' property :x, as: 'x' + property :y, as: 'y' end end - class ColorInfo + class DetectedLanguage # @private class Representation < Google::Apis::Core::JsonRepresentation - property :pixel_fraction, as: 'pixelFraction' - property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation + property :confidence, as: 'confidence' + property :language_code, as: 'languageCode' + end + end + class WebEntity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :entity_id, as: 'entityId' + property :description, as: 'description' property :score, as: 'score' end end + class TextProperty + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation + + collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation + + end + end + class BoundingPoly # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -276,6 +416,158 @@ module Google end end + class AnnotateImageResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation + + property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation + + collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation + + property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation + + collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation + + property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation + + property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation + + collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation + + end + end + + class CropHintsParams + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :aspect_ratios, as: 'aspectRatios' + end + end + + class Block + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + property :block_type, as: 'blockType' + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation + + end + end + + class WebDetection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation + + collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation + + collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation + + end + end + + class BatchAnnotateImagesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation + + end + end + + class ImageSource + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :image_uri, as: 'imageUri' + property :gcs_image_uri, as: 'gcsImageUri' + end + end + + class LocationInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation + + end + end + + class Property + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :value, as: 'value' + property :uint64_value, as: 'uint64Value' + property :name, as: 'name' + end + end + + class Position + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :y, as: 'y' + property :x, as: 'x' + property :z, as: 'z' + end + end + + class WebPage + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :score, as: 'score' + property :url, as: 'url' + end + end + + class ColorInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :score, as: 'score' + property :pixel_fraction, as: 'pixelFraction' + property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation + + end + end + + class EntityAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mid, as: 'mid' + property :confidence, as: 'confidence' + property :locale, as: 'locale' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :description, as: 'description' + property :topicality, as: 'topicality' + collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation + + property :score, as: 'score' + collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation + + end + end + + class CropHint + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + property :importance_fraction, as: 'importanceFraction' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + end + end + class Landmark # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -285,12 +577,68 @@ module Google end end - class ImageContext + class WebImage # @private class Representation < Google::Apis::Core::JsonRepresentation - property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation + property :score, as: 'score' + property :url, as: 'url' + end + end - collection :language_hints, as: 'languageHints' + class Word + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation + + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + end + end + + class Paragraph + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation + + property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation + + end + end + + class Image + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, :base64 => true, as: 'content' + property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation + + end + end + + class FaceAnnotation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :tilt_angle, as: 'tiltAngle' + property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :anger_likelihood, as: 'angerLikelihood' + collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation + + property :surprise_likelihood, as: 'surpriseLikelihood' + property :landmarking_confidence, as: 'landmarkingConfidence' + property :joy_likelihood, as: 'joyLikelihood' + property :detection_confidence, as: 'detectionConfidence' + property :pan_angle, as: 'panAngle' + property :under_exposed_likelihood, as: 'underExposedLikelihood' + property :blurred_likelihood, as: 'blurredLikelihood' + property :headwear_likelihood, as: 'headwearLikelihood' + property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation + + property :roll_angle, as: 'rollAngle' + property :sorrow_likelihood, as: 'sorrowLikelihood' end end @@ -302,115 +650,34 @@ module Google end end - class EntityAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :mid, as: 'mid' - property :description, as: 'description' - property :topicality, as: 'topicality' - property :locale, as: 'locale' - collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation - - property :score, as: 'score' - property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation - - collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation - - property :confidence, as: 'confidence' - end - end - - class Property - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :value, as: 'value' - property :name, as: 'name' - end - end - - class Color - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :green, as: 'green' - property :blue, as: 'blue' - property :red, as: 'red' - property :alpha, as: 'alpha' - end - end - - class LocationInfo - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation - - end - end - - class SafeSearchAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :medical, as: 'medical' - property :spoof, as: 'spoof' - property :violence, as: 'violence' - property :adult, as: 'adult' - end - end - - class Image - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation - - property :content, :base64 => true, as: 'content' - end - end - - class DominantColorsAnnotation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation - - end - end - - class Feature + class DetectedBreak # @private class Representation < Google::Apis::Core::JsonRepresentation property :type, as: 'type' - property :max_results, as: 'maxResults' + property :is_prefix, as: 'isPrefix' end end - class BatchAnnotateImagesResponse + class ImageContext # @private class Representation < Google::Apis::Core::JsonRepresentation - collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation + collection :language_hints, as: 'languageHints' + property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation + + property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation end end - class ImageProperties + class Page # @private class Representation < Google::Apis::Core::JsonRepresentation - property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation + property :width, as: 'width' + collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation - end - end + property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation - class LatLng - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :latitude, as: 'latitude' - property :longitude, as: 'longitude' - end - end - - class Position - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :y, as: 'y' - property :x, as: 'x' - property :z, as: 'z' + property :height, as: 'height' end end end diff --git a/generated/google/apis/vision_v1/service.rb b/generated/google/apis/vision_v1/service.rb index 376460244..08cffdcc1 100644 --- a/generated/google/apis/vision_v1/service.rb +++ b/generated/google/apis/vision_v1/service.rb @@ -50,11 +50,11 @@ module Google # Run image detection and annotation for a batch of images. # @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. # @param [String] quota_user # 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. - # @param [String] fields - # Selector specifying which fields to include in a partial response. # @param [Google::Apis::RequestOptions] options # Request-specific options # @@ -67,14 +67,14 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def annotate_image(batch_annotate_images_request_object = nil, quota_user: nil, fields: nil, options: nil, &block) + def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1/images:annotate', options) command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation command.request_object = batch_annotate_images_request_object command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse - command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end diff --git a/generated/google/apis/webmasters_v3.rb b/generated/google/apis/webmasters_v3.rb index 8324c6aa8..fcc54d297 100644 --- a/generated/google/apis/webmasters_v3.rb +++ b/generated/google/apis/webmasters_v3.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/webmaster-tools/ module WebmastersV3 VERSION = 'V3' - REVISION = '20160317' + REVISION = '20170322' # View and manage Search Console data for your verified sites AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters' diff --git a/generated/google/apis/youtube_analytics_v1.rb b/generated/google/apis/youtube_analytics_v1.rb index f212452ce..6fa76c7af 100644 --- a/generated/google/apis/youtube_analytics_v1.rb +++ b/generated/google/apis/youtube_analytics_v1.rb @@ -25,7 +25,7 @@ module Google # @see http://developers.google.com/youtube/analytics/ module YoutubeAnalyticsV1 VERSION = 'V1' - REVISION = '20160513' + REVISION = '20170322' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_analytics_v1/classes.rb b/generated/google/apis/youtube_analytics_v1/classes.rb index 86dc42734..3236ff490 100644 --- a/generated/google/apis/youtube_analytics_v1/classes.rb +++ b/generated/google/apis/youtube_analytics_v1/classes.rb @@ -22,215 +22,6 @@ module Google module Apis module YoutubeAnalyticsV1 - # Contains single batchReport resource. - class BatchReport - include Google::Apis::Core::Hashable - - # The ID that YouTube assigns and uses to uniquely identify the report. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # This value specifies the type of data of this item. For batch report the kind - # property value is youtubeAnalytics#batchReport. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Report outputs. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs - - # The ID of the the report definition. - # Corresponds to the JSON property `reportId` - # @return [String] - attr_accessor :report_id - - # Period included in the report. For reports containing all entities endTime is - # not set. Both startTime and endTime are inclusive. - # Corresponds to the JSON property `timeSpan` - # @return [Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan] - attr_accessor :time_span - - # The time when the report was updated. - # Corresponds to the JSON property `timeUpdated` - # @return [DateTime] - attr_accessor :time_updated - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @outputs = args[:outputs] if args.key?(:outputs) - @report_id = args[:report_id] if args.key?(:report_id) - @time_span = args[:time_span] if args.key?(:time_span) - @time_updated = args[:time_updated] if args.key?(:time_updated) - end - - # - class Output - include Google::Apis::Core::Hashable - - # Cloud storage URL to download this report. This URL is valid for 30 minutes. - # Corresponds to the JSON property `downloadUrl` - # @return [String] - attr_accessor :download_url - - # Format of the output. - # Corresponds to the JSON property `format` - # @return [String] - attr_accessor :format - - # Type of the output. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @download_url = args[:download_url] if args.key?(:download_url) - @format = args[:format] if args.key?(:format) - @type = args[:type] if args.key?(:type) - end - end - - # Period included in the report. For reports containing all entities endTime is - # not set. Both startTime and endTime are inclusive. - class TimeSpan - include Google::Apis::Core::Hashable - - # End of the period included in the report. Inclusive. For reports containing - # all entities endTime is not set. - # Corresponds to the JSON property `endTime` - # @return [DateTime] - attr_accessor :end_time - - # Start of the period included in the report. Inclusive. - # Corresponds to the JSON property `startTime` - # @return [DateTime] - attr_accessor :start_time - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @end_time = args[:end_time] if args.key?(:end_time) - @start_time = args[:start_time] if args.key?(:start_time) - end - end - end - - # Contains single batchReportDefinition resource. - class BatchReportDefinition - include Google::Apis::Core::Hashable - - # The ID that YouTube assigns and uses to uniquely identify the report - # definition. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # This value specifies the type of data of this item. For batch report - # definition the kind property value is youtubeAnalytics#batchReportDefinition. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - # Name of the report definition. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Status of the report definition. - # Corresponds to the JSON property `status` - # @return [String] - attr_accessor :status - - # Type of the report definition. - # Corresponds to the JSON property `type` - # @return [String] - attr_accessor :type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @id = args[:id] if args.key?(:id) - @kind = args[:kind] if args.key?(:kind) - @name = args[:name] if args.key?(:name) - @status = args[:status] if args.key?(:status) - @type = args[:type] if args.key?(:type) - end - end - - # A paginated list of batchReportDefinition resources returned in response to a - # youtubeAnalytics.batchReportDefinitions.list request. - class BatchReportDefinitionList - include Google::Apis::Core::Hashable - - # A list of batchReportDefinition resources that match the request criteria. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # This value specifies the type of data included in the API response. For the - # list method, the kind property value is youtubeAnalytics# - # batchReportDefinitionList. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - end - end - - # A paginated list of batchReport resources returned in response to a - # youtubeAnalytics.batchReport.list request. - class BatchReportList - include Google::Apis::Core::Hashable - - # A list of batchReport resources that match the request criteria. - # Corresponds to the JSON property `items` - # @return [Array] - attr_accessor :items - - # This value specifies the type of data included in the API response. For the - # list method, the kind property value is youtubeAnalytics#batchReportList. - # Corresponds to the JSON property `kind` - # @return [String] - attr_accessor :kind - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @items = args[:items] if args.key?(:items) - @kind = args[:kind] if args.key?(:kind) - end - end - # class Group include Google::Apis::Core::Hashable diff --git a/generated/google/apis/youtube_analytics_v1/representations.rb b/generated/google/apis/youtube_analytics_v1/representations.rb index c69fc9cb2..d8b48cb9d 100644 --- a/generated/google/apis/youtube_analytics_v1/representations.rb +++ b/generated/google/apis/youtube_analytics_v1/representations.rb @@ -22,42 +22,6 @@ module Google module Apis module YoutubeAnalyticsV1 - class BatchReport - class Representation < Google::Apis::Core::JsonRepresentation; end - - class Output - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class TimeSpan - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchReportDefinition - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchReportDefinitionList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class BatchReportList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class Group class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,69 +76,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class BatchReport - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :kind, as: 'kind' - collection :outputs, as: 'outputs', class: Google::Apis::YoutubeAnalyticsV1::BatchReport::Output, decorator: Google::Apis::YoutubeAnalyticsV1::BatchReport::Output::Representation - - property :report_id, as: 'reportId' - property :time_span, as: 'timeSpan', class: Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan, decorator: Google::Apis::YoutubeAnalyticsV1::BatchReport::TimeSpan::Representation - - property :time_updated, as: 'timeUpdated', type: DateTime - - end - - class Output - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :download_url, as: 'downloadUrl' - property :format, as: 'format' - property :type, as: 'type' - end - end - - class TimeSpan - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :end_time, as: 'endTime', type: DateTime - - property :start_time, as: 'startTime', type: DateTime - - end - end - end - - class BatchReportDefinition - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :id, as: 'id' - property :kind, as: 'kind' - property :name, as: 'name' - property :status, as: 'status' - property :type, as: 'type' - end - end - - class BatchReportDefinitionList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :items, as: 'items', class: Google::Apis::YoutubeAnalyticsV1::BatchReportDefinition, decorator: Google::Apis::YoutubeAnalyticsV1::BatchReportDefinition::Representation - - property :kind, as: 'kind' - end - end - - class BatchReportList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :items, as: 'items', class: Google::Apis::YoutubeAnalyticsV1::BatchReport, decorator: Google::Apis::YoutubeAnalyticsV1::BatchReport::Representation - - property :kind, as: 'kind' - end - end - class Group # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/youtube_analytics_v1/service.rb b/generated/google/apis/youtube_analytics_v1/service.rb index 3a4a9a842..a3cc4bdee 100644 --- a/generated/google/apis/youtube_analytics_v1/service.rb +++ b/generated/google/apis/youtube_analytics_v1/service.rb @@ -52,82 +52,6 @@ module Google super('https://www.googleapis.com/', 'youtube/analytics/v1/') end - # Retrieves a list of available batch report definitions. - # @param [String] on_behalf_of_content_owner - # The onBehalfOfContentOwner parameter identifies the content owner that the - # user is acting on behalf of. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_batch_report_definitions(on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'batchReportDefinitions', options) - command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList::Representation - command.response_class = Google::Apis::YoutubeAnalyticsV1::BatchReportDefinitionList - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - - # Retrieves a list of processed batch reports. - # @param [String] batch_report_definition_id - # The batchReportDefinitionId parameter specifies the ID of the batch reportort - # definition for which you are retrieving reports. - # @param [String] on_behalf_of_content_owner - # The onBehalfOfContentOwner parameter identifies the content owner that the - # user is acting on behalf of. - # @param [String] fields - # Selector specifying which fields to include in a partial response. - # @param [String] quota_user - # 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. - # Overrides userIp if both are provided. - # @param [String] user_ip - # IP address of the site where the request originates. Use this if you want to - # enforce per-user limits. - # @param [Google::Apis::RequestOptions] options - # Request-specific options - # - # @yield [result, err] Result & error if block supplied - # @yieldparam result [Google::Apis::YoutubeAnalyticsV1::BatchReportList] parsed result object - # @yieldparam err [StandardError] error object if request failed - # - # @return [Google::Apis::YoutubeAnalyticsV1::BatchReportList] - # - # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried - # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification - # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_batch_reports(batch_report_definition_id, on_behalf_of_content_owner, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, 'batchReports', options) - command.response_representation = Google::Apis::YoutubeAnalyticsV1::BatchReportList::Representation - command.response_class = Google::Apis::YoutubeAnalyticsV1::BatchReportList - command.query['batchReportDefinitionId'] = batch_report_definition_id unless batch_report_definition_id.nil? - command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? - command.query['fields'] = fields unless fields.nil? - command.query['quotaUser'] = quota_user unless quota_user.nil? - command.query['userIp'] = user_ip unless user_ip.nil? - execute_or_queue_command(command, &block) - end - # Removes an item from a group. # @param [String] id # The id parameter specifies the YouTube group item ID for the group that is @@ -499,6 +423,9 @@ module Google # semicolon (;), and the returned result table will satisfy both filters. For # example, a filters parameter value of video==dMH0bHeiRNg;country==IT restricts # the result set to include data for the given video in Italy. + # @param [Boolean] include_historical_channel_data + # If set to true historical data (i.e. channel data from before the linking of + # the channel to the content owner) will be retrieved. # @param [Fixnum] max_results # The maximum number of rows to include in the response. # @param [String] sort @@ -529,7 +456,7 @@ module Google # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def query_report(ids, start_date, end_date, metrics, currency: nil, dimensions: nil, filters: nil, max_results: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + def query_report(ids, start_date, end_date, metrics, currency: nil, dimensions: nil, filters: nil, include_historical_channel_data: nil, max_results: nil, sort: nil, start_index: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) command = make_simple_command(:get, 'reports', options) command.response_representation = Google::Apis::YoutubeAnalyticsV1::ResultTable::Representation command.response_class = Google::Apis::YoutubeAnalyticsV1::ResultTable @@ -538,6 +465,7 @@ module Google command.query['end-date'] = end_date unless end_date.nil? command.query['filters'] = filters unless filters.nil? command.query['ids'] = ids unless ids.nil? + command.query['include-historical-channel-data'] = include_historical_channel_data unless include_historical_channel_data.nil? command.query['max-results'] = max_results unless max_results.nil? command.query['metrics'] = metrics unless metrics.nil? command.query['sort'] = sort unless sort.nil? diff --git a/generated/google/apis/youtube_partner_v1.rb b/generated/google/apis/youtube_partner_v1.rb index 1c42b8262..0bec9f330 100644 --- a/generated/google/apis/youtube_partner_v1.rb +++ b/generated/google/apis/youtube_partner_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/youtube/partner/ module YoutubePartnerV1 VERSION = 'V1' - REVISION = '20160809' + REVISION = '20170321' # View and manage your assets and associated content on YouTube AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' diff --git a/generated/google/apis/youtube_partner_v1/classes.rb b/generated/google/apis/youtube_partner_v1/classes.rb index f99c3a616..119a118d6 100644 --- a/generated/google/apis/youtube_partner_v1/classes.rb +++ b/generated/google/apis/youtube_partner_v1/classes.rb @@ -482,6 +482,77 @@ module Google end end + # + class AssetShare + include Google::Apis::Core::Hashable + + # The type of the API resource. For this resource, the value is youtubePartner# + # assetShare. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # A value that YouTube assigns and uses to uniquely identify the asset share. + # Corresponds to the JSON property `shareId` + # @return [String] + attr_accessor :share_id + + # A value that YouTube assigns and uses to uniquely identify the asset view. + # Corresponds to the JSON property `viewId` + # @return [String] + attr_accessor :view_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @kind = args[:kind] if args.key?(:kind) + @share_id = args[:share_id] if args.key?(:share_id) + @view_id = args[:view_id] if args.key?(:view_id) + end + end + + # + class AssetShareListResponse + include Google::Apis::Core::Hashable + + # An assetShare resource that matches the request criteria. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # The type of the API response. For this operation, the value is youtubePartner# + # assetShareList. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The token that can be used as the value of the pageToken parameter to retrieve + # the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # The pageInfo object encapsulates paging information for the result set. + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::YoutubePartnerV1::PageInfo] + attr_accessor :page_info + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @page_info = args[:page_info] if args.key?(:page_info) + end + end + # class AssetSnippet include Google::Apis::Core::Hashable @@ -2538,6 +2609,84 @@ module Google end end + # + class Package + include Google::Apis::Core::Hashable + + # The package's metadata file contents. + # Corresponds to the JSON property `content` + # @return [String] + attr_accessor :content + + # An ID that YouTube assigns and uses to uniquely identify the package. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # The type of the API resource. For package resources, this value is + # youtubePartner#package. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The desired locale of the error messages as defined in BCP 47 (http://tools. + # ietf.org/html/bcp47). For example, "en-US" or "de". If not specified we will + # return the error messages in English ("en"). + # Corresponds to the JSON property `locale` + # @return [String] + attr_accessor :locale + + # The uploader name. + # Corresponds to the JSON property `uploaderName` + # @return [String] + attr_accessor :uploader_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @content = args[:content] if args.key?(:content) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @locale = args[:locale] if args.key?(:locale) + @uploader_name = args[:uploader_name] if args.key?(:uploader_name) + end + end + + # + class PackageInsertResponse + include Google::Apis::Core::Hashable + + # The list of errors and/or warnings. + # Corresponds to the JSON property `errors` + # @return [Array] + attr_accessor :errors + + # The type of the API response. For this operation, the value is youtubePartner# + # packageInsert. + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The package resource. + # Corresponds to the JSON property `resource` + # @return [Google::Apis::YoutubePartnerV1::Package] + attr_accessor :resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @errors = args[:errors] if args.key?(:errors) + @kind = args[:kind] if args.key?(:kind) + @resource = args[:resource] if args.key?(:resource) + end + end + # class PageInfo include Google::Apis::Core::Hashable diff --git a/generated/google/apis/youtube_partner_v1/representations.rb b/generated/google/apis/youtube_partner_v1/representations.rb index f0130267d..8d476c77f 100644 --- a/generated/google/apis/youtube_partner_v1/representations.rb +++ b/generated/google/apis/youtube_partner_v1/representations.rb @@ -88,6 +88,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AssetShare + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AssetShareListResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AssetSnippet class Representation < Google::Apis::Core::JsonRepresentation; end @@ -334,6 +346,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Package + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class PackageInsertResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class PageInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -640,6 +664,27 @@ module Google end end + class AssetShare + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :kind, as: 'kind' + property :share_id, as: 'shareId' + property :view_id, as: 'viewId' + end + end + + class AssetShareListResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :items, as: 'items', class: Google::Apis::YoutubePartnerV1::AssetShare, decorator: Google::Apis::YoutubePartnerV1::AssetShare::Representation + + property :kind, as: 'kind' + property :next_page_token, as: 'nextPageToken' + property :page_info, as: 'pageInfo', class: Google::Apis::YoutubePartnerV1::PageInfo, decorator: Google::Apis::YoutubePartnerV1::PageInfo::Representation + + end + end + class AssetSnippet # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1168,6 +1213,28 @@ module Google end end + class Package + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :content, as: 'content' + property :id, as: 'id' + property :kind, as: 'kind' + property :locale, as: 'locale' + property :uploader_name, as: 'uploaderName' + end + end + + class PackageInsertResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :errors, as: 'errors', class: Google::Apis::YoutubePartnerV1::ValidateError, decorator: Google::Apis::YoutubePartnerV1::ValidateError::Representation + + property :kind, as: 'kind' + property :resource, as: 'resource', class: Google::Apis::YoutubePartnerV1::Package, decorator: Google::Apis::YoutubePartnerV1::Package::Representation + + end + end + class PageInfo # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/youtube_partner_v1/service.rb b/generated/google/apis/youtube_partner_v1/service.rb index d1eb0c012..6bc95c3b0 100644 --- a/generated/google/apis/youtube_partner_v1/service.rb +++ b/generated/google/apis/youtube_partner_v1/service.rb @@ -499,6 +499,58 @@ module Google execute_or_queue_command(command, &block) end + # This method either retrieves a list of asset shares the partner owns and that + # map to a specified asset view ID or it retrieves a list of asset views + # associated with a specified asset share ID owned by the partner. + # @param [String] asset_id + # The assetId parameter specifies the asset ID for which you are retrieving data. + # The parameter can be an asset view ID or an asset share ID. + # - If the value is an asset view ID, the API response identifies any asset + # share ids mapped to the asset view. + # - If the value is an asset share ID, the API response identifies any asset + # view ids that maps to that asset share. + # @param [String] on_behalf_of_content_owner + # The onBehalfOfContentOwner parameter identifies the content owner that the + # user is acting on behalf of. This parameter supports users whose accounts are + # associated with multiple content owners. + # @param [String] page_token + # The pageToken parameter specifies a token that identifies a particular page of + # results to return. Set this parameter to the value of the nextPageToken value + # from the previous API response to retrieve the next page of search results. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::YoutubePartnerV1::AssetShareListResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubePartnerV1::AssetShareListResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_asset_shares(asset_id, on_behalf_of_content_owner: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, 'assetShares', options) + command.response_representation = Google::Apis::YoutubePartnerV1::AssetShareListResponse::Representation + command.response_class = Google::Apis::YoutubePartnerV1::AssetShareListResponse + command.query['assetId'] = asset_id unless asset_id.nil? + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves the metadata for the specified asset. Note that if the request # identifies an asset that has been merged with another asset, meaning that # YouTube identified the requested asset as a duplicate, then the request @@ -2167,6 +2219,46 @@ module Google execute_or_queue_command(command, &block) end + # Inserts a metadata-only package. + # @param [Google::Apis::YoutubePartnerV1::Package] package_object + # @param [String] on_behalf_of_content_owner + # The onBehalfOfContentOwner parameter identifies the content owner that the + # user is acting on behalf of. This parameter supports users whose accounts are + # associated with multiple content owners. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # 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. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::YoutubePartnerV1::PackageInsertResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::YoutubePartnerV1::PackageInsertResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def insert_package(package_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'package', options) + command.request_representation = Google::Apis::YoutubePartnerV1::Package::Representation + command.request_object = package_object + command.response_representation = Google::Apis::YoutubePartnerV1::PackageInsertResponse::Representation + command.response_class = Google::Apis::YoutubePartnerV1::PackageInsertResponse + command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Retrieves the specified saved policy. # @param [String] policy_id # The policyId parameter specifies a value that uniquely identifies the policy diff --git a/generated/google/apis/youtube_v3.rb b/generated/google/apis/youtube_v3.rb index beaf2b0c3..00ba605a3 100644 --- a/generated/google/apis/youtube_v3.rb +++ b/generated/google/apis/youtube_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/youtube/v3 module YoutubeV3 VERSION = 'V3' - REVISION = '20160805' + REVISION = '20170130' # Manage your YouTube account AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' diff --git a/generated/google/apis/youtube_v3/classes.rb b/generated/google/apis/youtube_v3/classes.rb index bb598600f..d9d81d923 100644 --- a/generated/google/apis/youtube_v3/classes.rb +++ b/generated/google/apis/youtube_v3/classes.rb @@ -1100,12 +1100,6 @@ module Google class ChannelContentDetails include Google::Apis::Core::Hashable - # The googlePlusUserId object identifies the Google+ profile ID associated with - # this channel. - # Corresponds to the JSON property `googlePlusUserId` - # @return [String] - attr_accessor :google_plus_user_id - # # Corresponds to the JSON property `relatedPlaylists` # @return [Google::Apis::YoutubeV3::ChannelContentDetails::RelatedPlaylists] @@ -1117,7 +1111,6 @@ module Google # Update properties of this object def update!(**args) - @google_plus_user_id = args[:google_plus_user_id] if args.key?(:google_plus_user_id) @related_playlists = args[:related_playlists] if args.key?(:related_playlists) end @@ -1868,6 +1861,11 @@ module Google class ChannelTopicDetails include Google::Apis::Core::Hashable + # A list of Wikipedia URLs that describe the channel's content. + # Corresponds to the JSON property `topicCategories` + # @return [Array] + attr_accessor :topic_categories + # A list of Freebase topic IDs associated with the channel. You can retrieve # information about each topic using the Freebase Topic API. # Corresponds to the JSON property `topicIds` @@ -1880,6 +1878,7 @@ module Google # Update properties of this object def update!(**args) + @topic_categories = args[:topic_categories] if args.key?(:topic_categories) @topic_ids = args[:topic_ids] if args.key?(:topic_ids) end end @@ -2005,11 +2004,6 @@ module Google # @return [String] attr_accessor :author_display_name - # Link to the author's Google+ profile, if any. - # Corresponds to the JSON property `authorGoogleplusProfileUrl` - # @return [String] - attr_accessor :author_googleplus_profile_url - # The URL for the avatar of the user who posted the comment. # Corresponds to the JSON property `authorProfileImageUrl` # @return [String] @@ -2092,7 +2086,6 @@ module Google @author_channel_id = args[:author_channel_id] if args.key?(:author_channel_id) @author_channel_url = args[:author_channel_url] if args.key?(:author_channel_url) @author_display_name = args[:author_display_name] if args.key?(:author_display_name) - @author_googleplus_profile_url = args[:author_googleplus_profile_url] if args.key?(:author_googleplus_profile_url) @author_profile_image_url = args[:author_profile_image_url] if args.key?(:author_profile_image_url) @can_rate = args[:can_rate] if args.key?(:can_rate) @channel_id = args[:channel_id] if args.key?(:channel_id) @@ -2296,7 +2289,7 @@ module Google end # Ratings schemes. The country-specific ratings are mostly for movies and shows. - # NEXT_ID: 68 + # NEXT_ID: 69 class ContentRating include Google::Apis::Core::Hashable @@ -2532,6 +2525,11 @@ module Google # @return [String] attr_accessor :mccyp_rating + # The video's rating system for Vietnam - MCST + # Corresponds to the JSON property `mcstRating` + # @return [String] + attr_accessor :mcst_rating + # The video's rating from Singapore's Media Development Authority (MDA) and, # specifically, it's Board of Film Censors (BFC). # Corresponds to the JSON property `mdaRating` @@ -2714,6 +2712,7 @@ module Google @lsf_rating = args[:lsf_rating] if args.key?(:lsf_rating) @mccaa_rating = args[:mccaa_rating] if args.key?(:mccaa_rating) @mccyp_rating = args[:mccyp_rating] if args.key?(:mccyp_rating) + @mcst_rating = args[:mcst_rating] if args.key?(:mcst_rating) @mda_rating = args[:mda_rating] if args.key?(:mda_rating) @medietilsynet_rating = args[:medietilsynet_rating] if args.key?(:medietilsynet_rating) @meku_rating = args[:meku_rating] if args.key?(:meku_rating) @@ -4500,7 +4499,8 @@ module Google # that funded the broadcast newSponsorEvent - the user that just became a # sponsor messageDeletedEvent - the moderator that took the action # messageRetractedEvent - the author that retracted their message - # userBannedEvent - the moderator that took the action + # userBannedEvent - the moderator that took the action superChatEvent - the user + # that made the purchase # Corresponds to the JSON property `authorChannelId` # @return [String] attr_accessor :author_channel_id @@ -4565,6 +4565,12 @@ module Google # @return [DateTime] attr_accessor :published_at + # Details about the Super Chat event, this is only set if the type is ' + # superChatEvent'. + # Corresponds to the JSON property `superChatDetails` + # @return [Google::Apis::YoutubeV3::LiveChatSuperChatDetails] + attr_accessor :super_chat_details + # Details about the text message, this is only set if the type is ' # textMessageEvent'. # Corresponds to the JSON property `textMessageDetails` @@ -4600,6 +4606,7 @@ module Google @poll_opened_details = args[:poll_opened_details] if args.key?(:poll_opened_details) @poll_voted_details = args[:poll_voted_details] if args.key?(:poll_voted_details) @published_at = args[:published_at] if args.key?(:published_at) + @super_chat_details = args[:super_chat_details] if args.key?(:super_chat_details) @text_message_details = args[:text_message_details] if args.key?(:text_message_details) @type = args[:type] if args.key?(:type) @user_banned_details = args[:user_banned_details] if args.key?(:user_banned_details) @@ -4873,6 +4880,50 @@ module Google end end + # + class LiveChatSuperChatDetails + include Google::Apis::Core::Hashable + + # A rendered string that displays the fund amount and currency to the user. + # Corresponds to the JSON property `amountDisplayString` + # @return [String] + attr_accessor :amount_display_string + + # The amount purchased by the user, in micros (1,750,000 micros = 1.75). + # Corresponds to the JSON property `amountMicros` + # @return [String] + attr_accessor :amount_micros + + # The currency in which the purchase was made. + # Corresponds to the JSON property `currency` + # @return [String] + attr_accessor :currency + + # The tier in which the amount belongs to. Lower amounts belong to lower tiers. + # Starts at 1. + # Corresponds to the JSON property `tier` + # @return [Fixnum] + attr_accessor :tier + + # The comment added by the user to this Super Chat event. + # Corresponds to the JSON property `userComment` + # @return [String] + attr_accessor :user_comment + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string) + @amount_micros = args[:amount_micros] if args.key?(:amount_micros) + @currency = args[:currency] if args.key?(:currency) + @tier = args[:tier] if args.key?(:tier) + @user_comment = args[:user_comment] if args.key?(:user_comment) + end + end + # class LiveChatTextMessageDetails include Google::Apis::Core::Hashable @@ -5551,6 +5602,12 @@ module Google # @return [String] attr_accessor :video_id + # The date and time that the video was published to YouTube. The value is + # specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. + # Corresponds to the JSON property `videoPublishedAt` + # @return [DateTime] + attr_accessor :video_published_at + def initialize(**args) update!(**args) end @@ -5561,6 +5618,7 @@ module Google @note = args[:note] if args.key?(:note) @start_at = args[:start_at] if args.key?(:start_at) @video_id = args[:video_id] if args.key?(:video_id) + @video_published_at = args[:video_published_at] if args.key?(:video_published_at) end end @@ -6648,6 +6706,174 @@ module Google end end + # A superChatEvent resource represents a Super Chat purchase on a YouTube + # channel. + class SuperChatEvent + include Google::Apis::Core::Hashable + + # Etag of this resource. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # The ID that YouTube assigns to uniquely identify the Super Chat event. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Identifies what kind of resource this is. Value: the fixed string "youtube# + # superChatEvent". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The snippet object contains basic details about the Super Chat event. + # Corresponds to the JSON property `snippet` + # @return [Google::Apis::YoutubeV3::SuperChatEventSnippet] + attr_accessor :snippet + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @id = args[:id] if args.key?(:id) + @kind = args[:kind] if args.key?(:kind) + @snippet = args[:snippet] if args.key?(:snippet) + end + end + + # + class SuperChatEventListResponse + include Google::Apis::Core::Hashable + + # Etag of this resource. + # Corresponds to the JSON property `etag` + # @return [String] + attr_accessor :etag + + # Serialized EventId of the request which produced this response. + # Corresponds to the JSON property `eventId` + # @return [String] + attr_accessor :event_id + + # A list of Super Chat purchases that match the request criteria. + # Corresponds to the JSON property `items` + # @return [Array] + attr_accessor :items + + # Identifies what kind of resource this is. Value: the fixed string "youtube# + # superChatEventListResponse". + # Corresponds to the JSON property `kind` + # @return [String] + attr_accessor :kind + + # The token that can be used as the value of the pageToken parameter to retrieve + # the next page in the result set. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # Paging details for lists of resources, including total number of items + # available and number of resources returned in a single page. + # Corresponds to the JSON property `pageInfo` + # @return [Google::Apis::YoutubeV3::PageInfo] + attr_accessor :page_info + + # Stub token pagination template to suppress results. + # Corresponds to the JSON property `tokenPagination` + # @return [Google::Apis::YoutubeV3::TokenPagination] + attr_accessor :token_pagination + + # The visitorId identifies the visitor. + # Corresponds to the JSON property `visitorId` + # @return [String] + attr_accessor :visitor_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @etag = args[:etag] if args.key?(:etag) + @event_id = args[:event_id] if args.key?(:event_id) + @items = args[:items] if args.key?(:items) + @kind = args[:kind] if args.key?(:kind) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @page_info = args[:page_info] if args.key?(:page_info) + @token_pagination = args[:token_pagination] if args.key?(:token_pagination) + @visitor_id = args[:visitor_id] if args.key?(:visitor_id) + end + end + + # + class SuperChatEventSnippet + include Google::Apis::Core::Hashable + + # The purchase amount, in micros of the purchase currency. e.g., 1 is + # represented as 1000000. + # Corresponds to the JSON property `amountMicros` + # @return [String] + attr_accessor :amount_micros + + # Channel id where the event occurred. + # Corresponds to the JSON property `channelId` + # @return [String] + attr_accessor :channel_id + + # The text contents of the comment left by the user. + # Corresponds to the JSON property `commentText` + # @return [String] + attr_accessor :comment_text + + # The date and time when the event occurred. The value is specified in ISO 8601 ( + # YYYY-MM-DDThh:mm:ss.sZ) format. + # Corresponds to the JSON property `createdAt` + # @return [DateTime] + attr_accessor :created_at + + # The currency in which the purchase was made. ISO 4217. + # Corresponds to the JSON property `currency` + # @return [String] + attr_accessor :currency + + # A rendered string that displays the purchase amount and currency (e.g., "$1.00" + # ). The string is rendered for the given language. + # Corresponds to the JSON property `displayString` + # @return [String] + attr_accessor :display_string + + # The tier for the paid message, which is based on the amount of money spent to + # purchase the message. + # Corresponds to the JSON property `messageType` + # @return [Fixnum] + attr_accessor :message_type + + # Details about the supporter. + # Corresponds to the JSON property `supporterDetails` + # @return [Google::Apis::YoutubeV3::ChannelProfileDetails] + attr_accessor :supporter_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @amount_micros = args[:amount_micros] if args.key?(:amount_micros) + @channel_id = args[:channel_id] if args.key?(:channel_id) + @comment_text = args[:comment_text] if args.key?(:comment_text) + @created_at = args[:created_at] if args.key?(:created_at) + @currency = args[:currency] if args.key?(:currency) + @display_string = args[:display_string] if args.key?(:display_string) + @message_type = args[:message_type] if args.key?(:message_type) + @supporter_details = args[:supporter_details] if args.key?(:supporter_details) + end + end + # A thumbnail is an image representing a YouTube resource. class Thumbnail include Google::Apis::Core::Hashable @@ -7280,7 +7506,7 @@ module Google attr_accessor :caption # Ratings schemes. The country-specific ratings are mostly for movies and shows. - # NEXT_ID: 68 + # NEXT_ID: 69 # Corresponds to the JSON property `contentRating` # @return [Google::Apis::YoutubeV3::ContentRating] attr_accessor :content_rating @@ -7311,6 +7537,13 @@ module Google # @return [String] attr_accessor :duration + # Indicates whether the video uploader has provided a custom thumbnail image for + # the video. This property is only visible to the video uploader. + # Corresponds to the JSON property `hasCustomThumbnail` + # @return [Boolean] + attr_accessor :has_custom_thumbnail + alias_method :has_custom_thumbnail?, :has_custom_thumbnail + # The value of is_license_content indicates whether the video is licensed # content. # Corresponds to the JSON property `licensedContent` @@ -7340,6 +7573,7 @@ module Google @definition = args[:definition] if args.key?(:definition) @dimension = args[:dimension] if args.key?(:dimension) @duration = args[:duration] if args.key?(:duration) + @has_custom_thumbnail = args[:has_custom_thumbnail] if args.key?(:has_custom_thumbnail) @licensed_content = args[:licensed_content] if args.key?(:licensed_content) @projection = args[:projection] if args.key?(:projection) @region_restriction = args[:region_restriction] if args.key?(:region_restriction) @@ -7434,11 +7668,6 @@ module Google # @return [String] attr_accessor :file_type - # Geographical coordinates of a point, in WGS84. - # Corresponds to the JSON property `recordingLocation` - # @return [Google::Apis::YoutubeV3::GeoPoint] - attr_accessor :recording_location - # A list of video streams contained in the uploaded video file. Each item in the # list contains detailed metadata about a video stream. # Corresponds to the JSON property `videoStreams` @@ -7459,7 +7688,6 @@ module Google @file_name = args[:file_name] if args.key?(:file_name) @file_size = args[:file_size] if args.key?(:file_size) @file_type = args[:file_type] if args.key?(:file_type) - @recording_location = args[:recording_location] if args.key?(:recording_location) @video_streams = args[:video_streams] if args.key?(:video_streams) end end @@ -7796,18 +8024,30 @@ module Google class VideoPlayer include Google::Apis::Core::Hashable + # + # Corresponds to the JSON property `embedHeight` + # @return [String] + attr_accessor :embed_height + # An